From 089158a64064954d74ff8d5e27f9bb48f64b2838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Mathieu?= Date: Wed, 13 May 2015 20:12:02 +0200 Subject: [PATCH] update to deliteful 0.7.1 --- bower.json | 4 ++-- layer.js | 4 ++-- layer.map | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bower.json b/bower.json index 5a7df58..7b01335 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "deliteful-build", - "version": "0.7.0", + "version": "0.7.1", "dependencies": { "jquery": ">=2.1", "requirejs": "2.1.x", @@ -23,6 +23,6 @@ "CONTRIBUTING.md" ], "devDependencies": { - "deliteful": "0.7.0" + "deliteful": "0.7.1" } } \ No newline at end of file diff --git a/layer.js b/layer.js index fe2207a..25525eb 100644 --- a/layer.js +++ b/layer.js @@ -1,8 +1,8 @@ require.config({"config":{"requirejs-dplugins/i18n":{"bundlesMap":{"deliteful/nls/layer":["deliteful/list/List/nls/Pageable","deliteful/StarRating/nls/StarRating","deliteful/Combobox/nls/Combobox"]},"localesMap":{"deliteful/nls/layer":["root"]}}}});require.config({"config":{"delite/theme":{"layersMap":{"delite/themes/{{theme}}/common.css":"deliteful/themes/layer_{{theme}}.css","deliteful/list/List/themes/{{theme}}/List.css":"deliteful/themes/layer_{{theme}}.css","deliteful/ViewStack/themes/{{theme}}/ViewStack.css":"deliteful/themes/layer_{{theme}}.css","deliteful/ViewIndicator/themes/{{theme}}/ViewIndicator.css":"deliteful/themes/layer_{{theme}}.css","deliteful/ToggleButton/themes/{{theme}}/ToggleButton.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Toaster/themes/{{theme}}/Toaster.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Switch/themes/{{theme}}/Switch.css":"deliteful/themes/layer_{{theme}}.css","deliteful/SwapView/themes/{{theme}}/SwapView.css":"deliteful/themes/layer_{{theme}}.css","deliteful/StarRating/themes/{{theme}}/StarRating.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Slider/themes/{{theme}}/Slider.css":"deliteful/themes/layer_{{theme}}.css","deliteful/SidePane/themes/{{theme}}/SidePane.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Select/themes/{{theme}}/Select.css":"deliteful/themes/layer_{{theme}}.css","deliteful/ResponsiveColumns/themes/{{theme}}/ResponsiveColumns.css":"deliteful/themes/layer_{{theme}}.css","deliteful/RadioButton/themes/{{theme}}/RadioButton.css":"deliteful/themes/layer_{{theme}}.css","deliteful/ProgressIndicator/themes/{{theme}}/ProgressIndicator.css":"deliteful/themes/layer_{{theme}}.css","deliteful/ProgressBar/themes/{{theme}}/ProgressBar.css":"deliteful/themes/layer_{{theme}}.css","deliteful/LinearLayout/themes/{{theme}}/LinearLayout.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Combobox/themes/{{theme}}/Combobox.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Checkbox/themes/{{theme}}/Checkbox.css":"deliteful/themes/layer_{{theme}}.css","deliteful/Button/themes/{{theme}}/Button.css":"deliteful/themes/layer_{{theme}}.css"}}}});require.config({"config":{"requirejs-dplugins/css":{"layersMap":{"deliteful/ViewStack/transitions/slide.css":"deliteful/layer.css","deliteful/ViewStack/transitions/reveal.css":"deliteful/layer.css"}}}}); -define("requirejs-text/text!deliteful/list/List/_LoadingPanel.html",[],function(){return'\n'}),define("deliteful/list/_LoadingPanel",["dcl/dcl","delite/register","delite/Widget","delite/handlebars!./List/_LoadingPanel.html"],function(a,b,c,d){var e=a([c],{message:"",template:d});return b("d-list-loading-panel",[HTMLElement,e])}),define("deliteful/list/Renderer",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","delite/register","delite/Widget"],function(a,b,c,d){return a([d],{item:{},_focusableChildren:null,render:a.after(function(){if(!this.renderNode)throw new Error("render must define a renderNode property on the Renderer. Example using attach-point in a template: ");this.renderNode.tabIndex=-1,b(this.renderNode).addClass("d-list-cell"),this.updateFocusableChildren()}),getFirst:function(){return this._focusableChildren&&this._focusableChildren.length?this._focusableChildren[0]:null},getLast:function(){return this._focusableChildren&&this._focusableChildren.length?this._focusableChildren[this._focusableChildren.length-1]:null},getNext:function(a){return this.getNextFocusableChild(a,1)},getPrev:function(a){return this.getNextFocusableChild(a,-1)},updateFocusableChildren:function(){if(this._focusableChildren)for(var a=0;a=0&&d\n'}),define("deliteful/list/PageableList",["dcl/dcl","delite/register","dojo/string","requirejs-dplugins/Promise!","requirejs-dplugins/jquery!attributes/classes","decor/sniff","./List","./Renderer","delite/handlebars!./List/_PageLoaderRenderer.html","requirejs-dplugins/i18n!./List/nls/Pageable"],function(a,b,c,d,e,f,g,h,i,j){var k=b("d-list-loader",[HTMLElement,h],{baseClass:"d-list-loader",_setItemAttr:function(a){this._set("item",a),this.item&&!this.loading&&(this._label.innerHTML=this.item.loadMessage)},loading:!1,_setLoadingAttr:function(a){this._set("loading",a),a&&this.beforeLoading(),this._destroyed||(e(this).toggleClass("d-loading",a),this._label.innerHTML=a?this.item.loadingMessage:this.item.loadMessage,e(this._progressIndicator).toggleClass("d-hidden"),this._progressIndicator.active=a,a?this._button.setAttribute("aria-disabled","true"):this._button.removeAttribute("aria-disabled")),a||this.afterLoading()},postRender:function(){this.on("click",this._load.bind(this))},template:i,_load:function(){if(!this._list.hasAttribute("aria-busy")){this.loading=!0;var a=this;return new d(function(b,c){a.defer(function(){a.performLoading().then(function(){a.loading=!1,b()}.bind(this),function(b){a.loading=!1,c(b),a._queryError(b)})})})}}});return b("d-pageable-list",[HTMLElement,g],{pageLength:0,maxPages:0,loadPreviousMessage:j["default-load-message"],loadNextMessage:j["default-load-message"],autoPaging:!1,_setAutoPagingAttr:function(a){this._set("autoPaging",a),this._autoPagingHandle&&(this._autoPagingHandle.remove(),this._autoPagingHandle=null),a&&(this._autoPagingHandle=this.on("scroll",this._scrollHandler.bind(this),this))},hideOnPageLoad:!1,_collection:null,_firstLoaded:-1,_lastLoaded:-1,refreshRendering:function(a){this.pageLength>0&&(("store"in a||"query"in a||"_collection"in a)&&(this._dataLoaded&&(this._setBusy(!0,!0),this._empty(),a.pageLength=!0),this._idPages=[],this._loadNextPage().then(function(){this._setBusy(!1),this._dataLoaded=!0}.bind(this),function(a){this._setBusy(!1),this._queryError(a)}.bind(this))),this._previousPageLoader&&(this._previousPageLoader.item={loadMessage:c.substitute(this.loadPreviousMessage,this),loadingMessage:this.loadingMessage}),this._nextPageLoader&&(this._nextPageLoader.item={loadMessage:c.substitute(this.loadNextMessage,this),loadingMessage:this.loadingMessage}))},processCollection:a.superCall(function(a){return function(b){0===this.pageLength&&a.apply(this,arguments),this._collection=b}}),_updateIdPages:function(a,b,c){for(var d=this._firstLoaded,e=0;e=d&&f>=b){a?this._idPages[e].splice(b-d,0,c):this._idPages[e].splice(b-d,1);break}d+=this._idPages[e].length}},_loadNextPage:function(){this._rangeSpec||(this._rangeSpec={start:0,count:this.pageLength},this._firstLoaded=this._rangeSpec.start),this._nextPageLoader&&(this._rangeSpec.start=this._lastLoaded+1,this._rangeSpec.count=this.pageLength);var a=this._collection.fetchRange({start:this._rangeSpec.start,end:this._rangeSpec.start+this._rangeSpec.count});return a.then(function(a){var b=a.map(function(a){return this.itemToRenderItem(a)},this);if(b.length){var c=b.map(function(a){return this.getIdentity(a)},this);this._lastLoaded=this._rangeSpec.start+c.length-1,this._idPages.push(c)}this._nextPageReadyHandler(b)}.bind(this))},_loadPreviousPage:function(){this._rangeSpec.count=this.pageLength,this._rangeSpec.start=this._firstLoaded-this.pageLength,this._rangeSpec.start<0&&(this._rangeSpec.count+=this._rangeSpec.start,this._rangeSpec.start=0);var a=this._collection.fetchRange({start:this._rangeSpec.start,end:this._rangeSpec.start+this._rangeSpec.count});return a.then(function(a){var b=a.map(function(a){return this.itemToRenderItem(a)},this);if(b.length){var c,d=b.map(function(a){return this.getIdentity(a)},this),e=this._idPages[0];for(c=0;c=0&&(b.splice(c,1),d.splice(c,1),c--);this._firstLoaded=this._rangeSpec.start,this._idPages.unshift(d)}this._previousPageReadyHandler(b)}.bind(this))},_unloadPage:function(a){var b,c;if(a){for(b=this._idPages.shift(),this._firstLoaded+=b.length,c=0;cthis.maxPages&&this._unloadPage(!1),0===this._firstLoaded?(this._previousPageLoader.destroy(),this._previousPageLoader=null):this._previousPageLoader.placeAt(this,"first"),b._destroyed&&(b=c),b){var d=b.previousElementSibling;if(d&&d.renderNode){var e=this.navigatedDescendant?null:this.ownerDocument.activeElement;this.navigateTo(d.renderNode),this.scrollBy({y:this.getTopDistance(d)}),e&&e.focus()}}},_nextPageReadyHandler:function(a){var b=this._getLastVisibleRenderer();if(this.navigatedDescendant&&b&&this.navigateTo(b.renderNode),this._renderNewItems(a,!1),this.maxPages&&this._idPages.length>this.maxPages&&this._unloadPage(!0),this._nextPageLoader?a.length!==this._rangeSpec.count?(this._nextPageLoader.destroy(),this._nextPageLoader=null):this._nextPageLoader.placeAt(this):a.length===this._rangeSpec.count&&this._createNextPageLoader(),b){var c=b.nextElementSibling;if(c&&c.renderNode){var d=this.navigatedDescendant?null:this.ownerDocument.activeElement;this.navigateTo(c.renderNode),this.scrollBy({y:this.getBottomDistance(c)}),d&&d.focus()}}},_getLastVisibleRenderer:function(){for(var a=this._getLastRenderer();a&&!(this.getBottomDistance(a)<=0);)a=a.previousElementSibling;return a},_getFirstVisibleRenderer:function(){for(var a=this._getFirstRenderer();a&&!(this.getTopDistance(a)>=0);)a=a.nextElementSibling;return a},_scrollHandler:function(){this.isTopScroll()?(!this._atExtremity&&this._previousPageLoader&&this._previousPageLoader._load(),this._atExtremity=!0):this.isBottomScroll()?(!this._atExtremity&&this._nextPageLoader&&this._nextPageLoader._load(),this._atExtremity=!0):this._atExtremity=!1},_createNextPageLoader:function(){this._nextPageLoader=new k({item:{loadMessage:c.substitute(this.loadNextMessage,this),loadingMessage:this.loadingMessage},beforeLoading:function(){var a=this.hideOnPageLoad&&!this.autoPaging;this._setBusy(!0,a)}.bind(this),afterLoading:function(){this._setBusy(!1)}.bind(this),performLoading:function(){return this._loadNextPage()}.bind(this),_list:this}),this._nextPageLoader.placeAt(this)},_createPreviousPageLoader:function(){this._previousPageLoader=new k({item:{loadMessage:c.substitute(this.loadPreviousMessage,this),loadingMessage:this.loadingMessage},beforeLoading:function(){var a=this.hideOnPageLoad&&!this.autoPaging;this._setBusy(!0,a)}.bind(this),afterLoading:function(){this._setBusy(!1)}.bind(this),performLoading:function(){return this._loadPreviousPage()}.bind(this),_list:this}),this._previousPageLoader.placeAt(this,"first")},itemRemoved:a.superCall(function(a){return function(b){this.pageLength>0?(this._firstLoaded<=b&&b<=this._lastLoaded&&(this._updateIdPages(!1,b),a.call(this,b-this._firstLoaded)),b0?this._firstLoadedthis._lastLoaded&&(this._nextPageLoader||this._createNextPageLoader()):a.apply(this,arguments)}}),_empty:a.superCall(function(a){return function(){a.call(this,arguments),this.pageLength>0&&(this._nextPageLoader=null,this._previousPageLoader=null,this._rangeSpec=null,this._untrack(),this._firstLoaded=this._lastLoaded=-1)}}),_getNextRenderer:a.superCall(function(a){return function(b,c){var d=a.apply(this,arguments);return(this._nextPageLoader&&d===this._nextPageLoader||this._previousPageLoader&&d===this._previousPageLoader)&&(d=null),d}}),_spaceKeydownHandler:a.superCall(function(a){return function(b){this._nextPageLoader&&this._nextPageLoader.contains(b.target)?(b.preventDefault(),this._nextPageLoader._load()):this._previousPageLoader&&this._previousPageLoader.contains(b.target)?(b.preventDefault(),this._previousPageLoader._load()):a.apply(this,arguments)}}),handleSelection:a.superCall(function(a){return function(b){var c=this.getEnclosingRenderer(b.target);c!==this._nextPageLoader&&c!==this._previousPageLoader&&a.apply(this,arguments)}})})}),define("dojo/string",["./_base/kernel","./_base/lang"],function(a,b){var c=/[&<>'"\/]/g,d={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},e={};return b.setObject("dojo.string",e),e.escape=function(a){return a?a.replace(c,function(a){return d[a]}):""},e.rep=function(a,b){if(0>=b||!a)return"";for(var c=[];1&b&&c.push(a),b>>=1;)a+=a;return c.join("")},e.pad=function(a,b,c,d){c||(c="0");var f=String(a),g=e.rep(c,Math.ceil((b-f.length)/c.length));return d?f+g:g+f},e.substitute=function(c,d,e,f){return f=f||a.global,e=e?b.hitch(f,e):function(a){return a},c.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(a,c,g){var h=b.getObject(c,!1,d);return g&&(h=b.getObject(g,!1,f).call(f,h,c)),e(h,c).toString()})},e.trim=String.prototype.trim?b.trim:function(a){a=a.replace(/^\s+/,"");for(var b=a.length-1;b>=0;b--)if(/\S/.test(a.charAt(b))){a=a.substring(0,b+1);break}return a},e}),define("dojo/_base/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: f4fef70 $".match(/[0-9a-f]{7,}/);if(k.version={major:1,minor:10,patch:4,flag:"",revision:n?n[0]:NaN,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),a("host-rhino")?k.exit=function(a){quit(a)}:k.exit=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/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("deliteful/list/List/nls/Pageable",{root:{"default-load-message":"Click to load ${pageLength} more items"}}),define("deliteful/list/List",["dcl/dcl","delite/register","requirejs-dplugins/jquery!attributes/classes","delite/keys","delite/CustomElement","delite/Selection","delite/KeyNav","delite/StoreMap","delite/Scrollable","./ItemRenderer","./CategoryRenderer","./_LoadingPanel","delite/theme!./List/themes/{{theme}}/List.css"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m=a([f,g,h,i],{itemRenderer:j,categoryRenderer:k,labelAttr:"label",iconclassAttr:"iconclass",righttextAttr:"righttext",righticonclassAttr:"righticonclass",categoryAttr:"",categoryFunc:null,baseClass:"d-list",multiCharSearchDuration:0,setAttribute:a.superCall(function(a){return function(b,c){a.apply(this,arguments),"role"===b&&this._applyRole(c)}}),_setScrollDirectionAttr:function(a){if("vertical"!==a&&"none"!==a)throw new TypeError("'"+a+"' not supported for scrollDirection, keeping the previous value of '"+this.scrollDirection+"'");this._set("scrollDirection",a)},_setSelectionModeAttr:a.superCall(function(a){return function(b){if("listbox"===this.getAttribute("role")&&"none"===b)throw new TypeError("selectionMode 'none' is invalid for an aria listbox, keeping the previous value of '"+this.selectionMode+"'");a.apply(this,arguments)}}),selectionMode:"none",loadingMessage:"",_cssClasses:{cell:"d-list-cell",selected:"d-selected",selectable:"d-selectable",multiselectable:"d-multiselectable"},render:function(){var a=this.getAttribute("role");a?this._applyRole(a):this.setAttribute("role","grid"),this.setAttribute("aria-readonly","true")},postRender:function(){this.notifyCurrentValue("selectionMode")},attachedCallback:a.superCall(function(a){return function(){this._setBusy(!0,!0),this.on("query-error",function(){this._setBusy(!1,!0)}.bind(this)),a.call(this)}}),refreshRendering:function(a){if("selectionMode"in a)if(c(this).removeClass(this._cssClasses.selectable),c(this).removeClass(this._cssClasses.multiselectable),this.removeAttribute("aria-multiselectable"),"none"===this.selectionMode)for(var b=0;b=0?this.getItemRenderers().item(a):null},getItemRendererIndex:function(a){var b=-1;if(a.item)for(var c=this.getIdentity(a.item),d=this.getItemRenderers(),e=0;e=f;f++)e=a[f],!this._isCategorized()||d&&e.category===d.category||h.appendChild(this._createCategoryRenderer(e)),h.appendChild(this._createItemRenderer(e)),d=e;return h},_addItemRenderer:function(a,b){var c=this._getInsertSpec(a,b);if(c.nodeRef){if(this.insertBefore(a,c.nodeRef),c.addCategoryAfter){var d=this._createCategoryRenderer(c.nodeRef.item);this.insertBefore(d,c.nodeRef),d.attachedCallback()}}else this.appendChild(a);c.addCategoryBefore&&(d=this._createCategoryRenderer(a.item),this.insertBefore(d,a),d.attachedCallback()),a.attachedCallback()},_getInsertSpec:function(a,b){var c={nodeRef:b>=0?this.getItemRendererByIndex(b):null,addCategoryBefore:!1,addCategoryAfter:!1};if(this._isCategorized()){var d=c.nodeRef?this._getNextRenderer(c.nodeRef,-1):this._getLastRenderer();d?this._sameCategory(a,d)||(this.isCategoryRenderer(d)?(c.nodeRef=d,d=this._getNextRenderer(d,-1),(!d||d&&!this._sameCategory(a,d))&&(c.addCategoryBefore=!0)):c.addCategoryBefore=!0):c.addCategoryBefore=!0,!c.nodeRef||this.isCategoryRenderer(c.nodeRef)||this._sameCategory(c.nodeRef,a)||(c.addCategoryAfter=!0)}return c},_removeRenderer:function(a,b){if(this._isCategorized()&&!this.isCategoryRenderer(a)){var c=this._getNextRenderer(a,-1);if(c&&this.isCategoryRenderer(c)){var d=this._getNextRenderer(a,1);d&&this._sameCategory(a,d)||this._removeRenderer(c)}}if(this._getFocusedRenderer()===a){var e=this._getNextRenderer(a,1)||this._getNextRenderer(a,-1);e&&this.navigateTo(e.renderNode)}b||this.isCategoryRenderer(a)||!this.isSelected(a.item)||this.selectFromEvent(null,a.item,a,!0),this._previousFocusedChild&&this.getEnclosingRenderer(this._previousFocusedChild)===a&&(this._previousFocusedChild=null),this.removeChild(a),a.destroy()},_createItemRenderer:function(a){var b=new this.itemRenderer({item:a,tabindex:"-1"});if("none"!==this.selectionMode){var d=!!this.isSelected(a);b.renderNode.setAttribute("aria-selected",d?"true":"false"),c(b).toggleClass(this._cssClasses.selected,d)}return b},_createCategoryRenderer:function(a){return new this.categoryRenderer({item:a,tabindex:"-1"})},isCategoryRenderer:function(a){return a.tagName.toLowerCase()===this.categoryRenderer.tag},_sameCategory:function(a,b){return a.item.category===b.item.category},_getNextRenderer:function(a,b){return b>=0?a.nextElementSibling:a.previousElementSibling},_getFirstRenderer:function(){return this.querySelector(this.itemRenderer.tag+", "+this.categoryRenderer.tag)},_getLastRenderer:function(){var a=this.querySelectorAll(this.itemRenderer.tag+", "+this.categoryRenderer.tag);return a.length?a.item(a.length-1):null},initItems:function(a){this._empty(),this._renderNewItems(a,!1),this._setBusy(!1,!0),this._dataLoaded=!0,this.emit("query-success",{renderItems:a,cancelable:!1,bubbles:!0})},itemRemoved:function(a,b,c){var d=this.getItemRendererByIndex(a);d&&this._removeRenderer(d,c)},itemAdded:function(a,b,c){var d=this._createItemRenderer(b);this._addItemRenderer(d,a)},itemUpdated:function(a,b,c){var d=this.getItemRendererByIndex(a);d&&(d.item=b)},itemMoved:function(a,b,c,d){this.itemRemoved(a,d,!0),this.itemAdded(b,c,d)},getTopDistance:function(a){return Math.round(a.offsetTop-this.getCurrentScroll().y)},getBottomDistance:function(a){var b=this.getBoundingClientRect();return Math.round(a.offsetTop+a.offsetHeight-this.getCurrentScroll().y-(b.bottom-b.top))},descendantSelector:function(a){var b=this.getEnclosingRenderer(a);return!b||"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(b)?!1:c(a).hasClass(this._cssClasses.cell)||a.hasAttribute("navindex")},_keynavKeyDownHandler:a.before(function(a){a.defaultPrevented||(a.keyCode!==d.SPACE||this._searchTimer?"listbox"!==this.getAttribute("role")&&this._gridKeydownHandler(a):this._spaceKeydownHandler(a))}),focus:function(){if(this._previousFocusedChild)this.navigateTo(this._previousFocusedChild);else{var a=this._getFirst();if(a){for(;a&&!(this.getTopDistance(a)>=0);){var b=a.parentNode.nextElementSibling;a=b?b.renderNode:null}this.navigateTo(a)}}},_keynavDeactivatedHandler:a.superCall(function(a){return function(){this._previousFocusedChild=this.navigatedDescendant,a.call(this)}}),_getFirst:function(){var a=this.querySelector("."+this._cssClasses.cell);return a&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(this.getEnclosingRenderer(a))&&(a=this.getNext(a,1)),a},_getLast:function(){var a=this.querySelectorAll("."+this._cssClasses.cell),b=a.length?a.item(a.length-1):null;return b&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(this.getEnclosingRenderer(b))&&(b=this.getNext(b,-1)),b},downArrowKeyHandler:function(a){if(!this.navigatedDescendant||!this.navigatedDescendant.hasAttribute("navindex")){var b=this._getFocusedRenderer(),c=null;b&&(c=b.nextElementSibling,c&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(c)&&(c=c.nextElementSibling)),this.navigateTo(c?c.renderNode:this._getFirst(),!1,a)}},upArrowKeyHandler:function(a){if(!this.navigatedDescendant||!this.navigatedDescendant.hasAttribute("navindex")){var b=this._getFocusedRenderer(),c=null;b&&(c=b.previousElementSibling,c&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(c)&&(c=c.previousElementSibling)),this.navigateTo(c?c.renderNode:this._getLast(),!1,a)}},pageUpKeyHandler:function(a){this.navigateToFirst(a)},pageDownKeyHandler:function(a){this.navigateToLast(a)},getNext:function(a,b){if(a===this)return b>0?this._getFirst():this._getLast();var c=this.getEnclosingRenderer(a);return b>0?c.nextElementSibling?c.nextElementSibling.renderNode:this._getFirst():c.previousElementSibling?c.previousElementSibling.renderNode:this._getLast()},_spaceKeydownHandler:function(a){"none"!==this.selectionMode&&this.handleSelection(a)&&a.preventDefault()},_gridKeydownHandler:function(a){if(a.keyCode===d.ENTER||a.keyCode===d.F2)this.navigatedDescendant&&!this.navigatedDescendant.hasAttribute("navindex")&&(a.preventDefault(),this._enterActionableMode());else if(a.keyCode===d.TAB){if(this.navigatedDescendant&&this.navigatedDescendant.hasAttribute("navindex")){a.preventDefault();for(var b=this._getFocusedRenderer(),c=b[a.shiftKey?"getPrev":"getNext"](this.navigatedDescendant);!c;)b=b[a.shiftKey?"previousElementSibling":"nextElementSibling"]||this[a.shiftKey?"_getLast":"_getFirst"]().parentNode,c=b[a.shiftKey?"getLast":"getFirst"]();this.navigateTo(c)}}else a.keyCode===d.ESCAPE&&this._leaveActionableMode()},_enterActionableMode:function(){var a=this._getFocusedRenderer();if(a){var b=a.getFirst();b&&this.navigateTo(b)}},_leaveActionableMode:function(){this.navigateTo(this._getFocusedRenderer().renderNode)},_getFocusedRenderer:function(){return this.navigatedDescendant?this.getEnclosingRenderer(this.navigatedDescendant):null}});return b("d-list",[HTMLElement,m])}),define("requirejs-text/text!deliteful/list/List/ItemRenderer.html",[],function(){return'\n\n'}),define("deliteful/list/ItemRenderer",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","delite/register","delite/handlebars!./List/ItemRenderer.html","./Renderer"],function(a,b,c,d,e){var f=a(e,{baseClass:"d-list-item",template:d,attachedCallback:function(){"grid"===this.getParent().getAttribute("role")?(this.setAttribute("role","row"),this.renderNode.setAttribute("role","gridcell")):this.renderNode.setAttribute("role","option")}});return c("d-list-item-renderer",[HTMLElement,f])}),define("requirejs-text/text!deliteful/list/List/CategoryRenderer.html",[],function(){ +define("requirejs-text/text!deliteful/list/List/_LoadingPanel.html",[],function(){return'\n'}),define("deliteful/list/_LoadingPanel",["dcl/dcl","delite/register","delite/Widget","delite/handlebars!./List/_LoadingPanel.html"],function(a,b,c,d){var e=a([c],{message:"",template:d});return b("d-list-loading-panel",[HTMLElement,e])}),define("deliteful/list/Renderer",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","delite/register","delite/Widget"],function(a,b,c,d){return a([d],{item:{},_focusableChildren:null,render:a.after(function(){if(!this.renderNode)throw new Error("render must define a renderNode property on the Renderer. Example using attach-point in a template: ");this.renderNode.tabIndex=-1,b(this.renderNode).addClass("d-list-cell"),this.updateFocusableChildren()}),getFirst:function(){return this._focusableChildren&&this._focusableChildren.length?this._focusableChildren[0]:null},getLast:function(){return this._focusableChildren&&this._focusableChildren.length?this._focusableChildren[this._focusableChildren.length-1]:null},getNext:function(a){return this.getNextFocusableChild(a,1)},getPrev:function(a){return this.getNextFocusableChild(a,-1)},updateFocusableChildren:function(){if(this._focusableChildren)for(var a=0;a=0&&d\n'}),define("deliteful/list/PageableList",["dcl/dcl","delite/register","dojo/string","requirejs-dplugins/Promise!","requirejs-dplugins/jquery!attributes/classes","decor/sniff","./List","./Renderer","delite/handlebars!./List/_PageLoaderRenderer.html","requirejs-dplugins/i18n!./List/nls/Pageable"],function(a,b,c,d,e,f,g,h,i,j){var k=b("d-list-loader",[HTMLElement,h],{baseClass:"d-list-loader",_setItemAttr:function(a){this._set("item",a),this.item&&!this.loading&&(this._label.innerHTML=this.item.loadMessage)},loading:!1,_setLoadingAttr:function(a){this._set("loading",a),a&&this.beforeLoading(),this._destroyed||(e(this).toggleClass("d-loading",a),this._label.innerHTML=a?this.item.loadingMessage:this.item.loadMessage,e(this._progressIndicator).toggleClass("d-hidden"),this._progressIndicator.active=a,a?this._button.setAttribute("aria-disabled","true"):this._button.removeAttribute("aria-disabled")),a||this.afterLoading()},postRender:function(){this.on("click",this._load.bind(this))},template:i,_load:function(){if(!this._list.hasAttribute("aria-busy")){this.loading=!0;var a=this;return new d(function(b,c){a.defer(function(){a.performLoading().then(function(){a.loading=!1,b()}.bind(this),function(b){a.loading=!1,c(b),a._queryError(b)})})})}}});return b("d-pageable-list",[HTMLElement,g],{pageLength:0,maxPages:0,loadPreviousMessage:j["default-load-message"],loadNextMessage:j["default-load-message"],autoPaging:!1,_setAutoPagingAttr:function(a){this._set("autoPaging",a),this._autoPagingHandle&&(this._autoPagingHandle.remove(),this._autoPagingHandle=null),a&&(this._autoPagingHandle=this.on("scroll",this._scrollHandler.bind(this),this))},hideOnPageLoad:!1,_collection:null,_firstLoaded:-1,_lastLoaded:-1,refreshRendering:function(a){this.pageLength>0&&("_collection"in a&&(this._dataLoaded&&(this._setBusy(!0,!0),this._empty(),a.pageLength=!0),this._idPages=[],this._loadNextPage().then(function(){this._setBusy(!1),this._dataLoaded=!0}.bind(this),function(a){this._setBusy(!1),this._queryError(a)}.bind(this))),this._previousPageLoader&&(this._previousPageLoader.item={loadMessage:c.substitute(this.loadPreviousMessage,this),loadingMessage:this.loadingMessage}),this._nextPageLoader&&(this._nextPageLoader.item={loadMessage:c.substitute(this.loadNextMessage,this),loadingMessage:this.loadingMessage}))},processCollection:a.superCall(function(a){return function(b){0===this.pageLength&&a.apply(this,arguments),this._collection=b}}),_updateIdPages:function(a,b,c){for(var d=this._firstLoaded,e=0;e=d&&f>=b){a?this._idPages[e].splice(b-d,0,c):this._idPages[e].splice(b-d,1);break}d+=this._idPages[e].length}},_loadNextPage:function(){this._rangeSpec||(this._rangeSpec={start:0,count:this.pageLength},this._firstLoaded=this._rangeSpec.start),this._nextPageLoader&&(this._rangeSpec.start=this._lastLoaded+1,this._rangeSpec.count=this.pageLength);var a=this._collection.fetchRange({start:this._rangeSpec.start,end:this._rangeSpec.start+this._rangeSpec.count});return a.then(function(a){var b=a.map(function(a){return this.itemToRenderItem(a)},this);if(b.length){var c=b.map(function(a){return this.getIdentity(a)},this);this._lastLoaded=this._rangeSpec.start+c.length-1,this._idPages.push(c)}this._nextPageReadyHandler(b)}.bind(this))},_loadPreviousPage:function(){this._rangeSpec.count=this.pageLength,this._rangeSpec.start=this._firstLoaded-this.pageLength,this._rangeSpec.start<0&&(this._rangeSpec.count+=this._rangeSpec.start,this._rangeSpec.start=0);var a=this._collection.fetchRange({start:this._rangeSpec.start,end:this._rangeSpec.start+this._rangeSpec.count});return a.then(function(a){var b=a.map(function(a){return this.itemToRenderItem(a)},this);if(b.length){var c,d=b.map(function(a){return this.getIdentity(a)},this),e=this._idPages[0];for(c=0;c=0&&(b.splice(c,1),d.splice(c,1),c--);this._firstLoaded=this._rangeSpec.start,this._idPages.unshift(d)}this._previousPageReadyHandler(b)}.bind(this))},_unloadPage:function(a){var b,c;if(a){for(b=this._idPages.shift(),this._firstLoaded+=b.length,c=0;cthis.maxPages&&this._unloadPage(!1),0===this._firstLoaded?(this._previousPageLoader.destroy(),this._previousPageLoader=null):this._previousPageLoader.placeAt(this,"first"),b._destroyed&&(b=c),b){var d=b.previousElementSibling;if(d&&d.renderNode){var e=this.navigatedDescendant?null:this.ownerDocument.activeElement;this.navigateTo(d.renderNode),this.scrollBy({y:this.getTopDistance(d)}),e&&e.focus()}}},_nextPageReadyHandler:function(a){var b=this._getLastVisibleRenderer();if(this.navigatedDescendant&&b&&this.navigateTo(b.renderNode),this._renderNewItems(a,!1),this.maxPages&&this._idPages.length>this.maxPages&&this._unloadPage(!0),this._nextPageLoader?a.length!==this._rangeSpec.count?(this._nextPageLoader.destroy(),this._nextPageLoader=null):this._nextPageLoader.placeAt(this):a.length===this._rangeSpec.count&&this._createNextPageLoader(),b){var c=b.nextElementSibling;if(c&&c.renderNode){var d=this.navigatedDescendant?null:this.ownerDocument.activeElement;this.navigateTo(c.renderNode),this.scrollBy({y:this.getBottomDistance(c)}),d&&d.focus()}}},_getLastVisibleRenderer:function(){for(var a=this._getLastRenderer();a&&!(this.getBottomDistance(a)<=0);)a=a.previousElementSibling;return a},_getFirstVisibleRenderer:function(){for(var a=this._getFirstRenderer();a&&!(this.getTopDistance(a)>=0);)a=a.nextElementSibling;return a},_scrollHandler:function(){this.isTopScroll()?(!this._atExtremity&&this._previousPageLoader&&this._previousPageLoader._load(),this._atExtremity=!0):this.isBottomScroll()?(!this._atExtremity&&this._nextPageLoader&&this._nextPageLoader._load(),this._atExtremity=!0):this._atExtremity=!1},_createNextPageLoader:function(){this._nextPageLoader=new k({item:{loadMessage:c.substitute(this.loadNextMessage,this),loadingMessage:this.loadingMessage},beforeLoading:function(){var a=this.hideOnPageLoad&&!this.autoPaging;this._setBusy(!0,a)}.bind(this),afterLoading:function(){this._setBusy(!1)}.bind(this),performLoading:function(){return this._loadNextPage()}.bind(this),_list:this}),this._nextPageLoader.placeAt(this)},_createPreviousPageLoader:function(){this._previousPageLoader=new k({item:{loadMessage:c.substitute(this.loadPreviousMessage,this),loadingMessage:this.loadingMessage},beforeLoading:function(){var a=this.hideOnPageLoad&&!this.autoPaging;this._setBusy(!0,a)}.bind(this),afterLoading:function(){this._setBusy(!1)}.bind(this),performLoading:function(){return this._loadPreviousPage()}.bind(this),_list:this}),this._previousPageLoader.placeAt(this,"first")},itemRemoved:a.superCall(function(a){return function(b){this.pageLength>0?(this._firstLoaded<=b&&b<=this._lastLoaded&&(this._updateIdPages(!1,b),a.call(this,b-this._firstLoaded)),b0?this._firstLoadedthis._lastLoaded&&(this._nextPageLoader||this._createNextPageLoader()):a.apply(this,arguments)}}),_empty:a.superCall(function(a){return function(){a.call(this,arguments),this.pageLength>0&&(this._nextPageLoader=null,this._previousPageLoader=null,this._rangeSpec=null,this._untrack(),this._firstLoaded=this._lastLoaded=-1)}}),_getNextRenderer:a.superCall(function(a){return function(b,c){var d=a.apply(this,arguments);return(this._nextPageLoader&&d===this._nextPageLoader||this._previousPageLoader&&d===this._previousPageLoader)&&(d=null),d}}),_spaceKeydownHandler:a.superCall(function(a){return function(b){this._nextPageLoader&&this._nextPageLoader.contains(b.target)?(b.preventDefault(),this._nextPageLoader._load()):this._previousPageLoader&&this._previousPageLoader.contains(b.target)?(b.preventDefault(),this._previousPageLoader._load()):a.apply(this,arguments)}}),handleSelection:a.superCall(function(a){return function(b){var c=this.getEnclosingRenderer(b.target);c!==this._nextPageLoader&&c!==this._previousPageLoader&&a.apply(this,arguments)}})})}),define("dojo/string",["./_base/kernel","./_base/lang"],function(a,b){var c=/[&<>'"\/]/g,d={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},e={};return b.setObject("dojo.string",e),e.escape=function(a){return a?a.replace(c,function(a){return d[a]}):""},e.rep=function(a,b){if(0>=b||!a)return"";for(var c=[];1&b&&c.push(a),b>>=1;)a+=a;return c.join("")},e.pad=function(a,b,c,d){c||(c="0");var f=String(a),g=e.rep(c,Math.ceil((b-f.length)/c.length));return d?f+g:g+f},e.substitute=function(c,d,e,f){return f=f||a.global,e=e?b.hitch(f,e):function(a){return a},c.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(a,c,g){var h=b.getObject(c,!1,d);return g&&(h=b.getObject(g,!1,f).call(f,h,c)),e(h,c).toString()})},e.trim=String.prototype.trim?b.trim:function(a){a=a.replace(/^\s+/,"");for(var b=a.length-1;b>=0;b--)if(/\S/.test(a.charAt(b))){a=a.substring(0,b+1);break}return a},e}),define("dojo/_base/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: f4fef70 $".match(/[0-9a-f]{7,}/);if(k.version={major:1,minor:10,patch:4,flag:"",revision:n?n[0]:NaN,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),a("host-rhino")?k.exit=function(a){quit(a)}:k.exit=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/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("deliteful/list/List/nls/Pageable",{root:{"default-load-message":"Click to load ${pageLength} more items"}}),define("deliteful/list/List",["dcl/dcl","delite/register","requirejs-dplugins/jquery!attributes/classes","delite/keys","delite/CustomElement","delite/Selection","delite/KeyNav","delite/StoreMap","delite/Scrollable","./ItemRenderer","./CategoryRenderer","./_LoadingPanel","delite/theme!./List/themes/{{theme}}/List.css"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m=a([f,g,h,i],{itemRenderer:j,categoryRenderer:k,labelAttr:"label",iconclassAttr:"iconclass",righttextAttr:"righttext",righticonclassAttr:"righticonclass",categoryAttr:"",categoryFunc:null,baseClass:"d-list",multiCharSearchDuration:0,setAttribute:a.superCall(function(a){return function(b,c){a.apply(this,arguments),"role"===b&&this._applyRole(c)}}),_setScrollDirectionAttr:function(a){if("vertical"!==a&&"none"!==a)throw new TypeError("'"+a+"' not supported for scrollDirection, keeping the previous value of '"+this.scrollDirection+"'");this._set("scrollDirection",a)},_setSelectionModeAttr:a.superCall(function(a){return function(b){if("listbox"===this.getAttribute("role")&&"none"===b)throw new TypeError("selectionMode 'none' is invalid for an aria listbox, keeping the previous value of '"+this.selectionMode+"'");a.apply(this,arguments)}}),selectionMode:"none",loadingMessage:"",_cssClasses:{cell:"d-list-cell",selected:"d-selected",selectable:"d-selectable",multiselectable:"d-multiselectable"},render:function(){var a=this.getAttribute("role");a?this._applyRole(a):this.setAttribute("role","grid"),this.setAttribute("aria-readonly","true")},postRender:function(){this.notifyCurrentValue("selectionMode")},attachedCallback:a.superCall(function(a){return function(){this._setBusy(!0,!0),this.on("query-error",function(){this._setBusy(!1,!0)}.bind(this)),a.call(this)}}),refreshRendering:function(a){if("selectionMode"in a)if(c(this).removeClass(this._cssClasses.selectable),c(this).removeClass(this._cssClasses.multiselectable),this.removeAttribute("aria-multiselectable"),"none"===this.selectionMode)for(var b=0;b=0?this.getItemRenderers().item(a):null},getItemRendererIndex:function(a){var b=-1;if(a.item)for(var c=this.getIdentity(a.item),d=this.getItemRenderers(),e=0;e=f;f++)e=a[f],!this._isCategorized()||d&&e.category===d.category||h.appendChild(this._createCategoryRenderer(e)),h.appendChild(this._createItemRenderer(e)),d=e;return h},_addItemRenderer:function(a,b){var c=this._getInsertSpec(a,b);if(c.nodeRef){if(this.insertBefore(a,c.nodeRef),c.addCategoryAfter){var d=this._createCategoryRenderer(c.nodeRef.item);this.insertBefore(d,c.nodeRef),d.attachedCallback()}}else this.appendChild(a);c.addCategoryBefore&&(d=this._createCategoryRenderer(a.item),this.insertBefore(d,a),d.attachedCallback()),a.attachedCallback()},_getInsertSpec:function(a,b){var c={nodeRef:b>=0?this.getItemRendererByIndex(b):null,addCategoryBefore:!1,addCategoryAfter:!1};if(this._isCategorized()){var d=c.nodeRef?this._getNextRenderer(c.nodeRef,-1):this._getLastRenderer();d?this._sameCategory(a,d)||(this.isCategoryRenderer(d)?(c.nodeRef=d,d=this._getNextRenderer(d,-1),(!d||d&&!this._sameCategory(a,d))&&(c.addCategoryBefore=!0)):c.addCategoryBefore=!0):c.addCategoryBefore=!0,!c.nodeRef||this.isCategoryRenderer(c.nodeRef)||this._sameCategory(c.nodeRef,a)||(c.addCategoryAfter=!0)}return c},_removeRenderer:function(a,b){if(this._isCategorized()&&!this.isCategoryRenderer(a)){var c=this._getNextRenderer(a,-1);if(c&&this.isCategoryRenderer(c)){var d=this._getNextRenderer(a,1);d&&this._sameCategory(a,d)||this._removeRenderer(c)}}if(this._getFocusedRenderer()===a){var e=this._getNextRenderer(a,1)||this._getNextRenderer(a,-1);e&&this.navigateTo(e.renderNode)}b||this.isCategoryRenderer(a)||!this.isSelected(a.item)||this.selectFromEvent(null,a.item,a,!0),this._previousFocusedChild&&this.getEnclosingRenderer(this._previousFocusedChild)===a&&(this._previousFocusedChild=null),this.removeChild(a),a.destroy()},_createItemRenderer:function(a){var b=new this.itemRenderer({item:a,tabindex:"-1"});if("none"!==this.selectionMode){var d=!!this.isSelected(a);b.renderNode.setAttribute("aria-selected",d?"true":"false"),c(b).toggleClass(this._cssClasses.selected,d)}return b},_createCategoryRenderer:function(a){return new this.categoryRenderer({item:a,tabindex:"-1"})},isCategoryRenderer:function(a){return a.tagName.toLowerCase()===this.categoryRenderer.tag},_sameCategory:function(a,b){return a.item.category===b.item.category},_getNextRenderer:function(a,b){return b>=0?a.nextElementSibling:a.previousElementSibling},_getFirstRenderer:function(){return this.querySelector(this.itemRenderer.tag+", "+this.categoryRenderer.tag)},_getLastRenderer:function(){var a=this.querySelectorAll(this.itemRenderer.tag+", "+this.categoryRenderer.tag);return a.length?a.item(a.length-1):null},initItems:function(a){this._empty(),this._renderNewItems(a,!1),this._setBusy(!1,!0),this._dataLoaded=!0,this.emit("query-success",{renderItems:a,cancelable:!1,bubbles:!0})},itemRemoved:function(a,b,c){var d=this.getItemRendererByIndex(a);d&&this._removeRenderer(d,c)},itemAdded:function(a,b,c){var d=this._createItemRenderer(b);this._addItemRenderer(d,a)},itemUpdated:function(a,b,c){var d=this.getItemRendererByIndex(a);d&&(d.item=b)},itemMoved:function(a,b,c,d){this.itemRemoved(a,d,!0),this.itemAdded(b,c,d)},getTopDistance:function(a){return Math.round(a.offsetTop-this.getCurrentScroll().y)},getBottomDistance:function(a){var b=this.getBoundingClientRect();return Math.round(a.offsetTop+a.offsetHeight-this.getCurrentScroll().y-(b.bottom-b.top))},descendantSelector:function(a){var b=this.getEnclosingRenderer(a);return!b||"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(b)?!1:c(a).hasClass(this._cssClasses.cell)||a.hasAttribute("navindex")},_keynavKeyDownHandler:a.before(function(a){a.defaultPrevented||(a.keyCode!==d.SPACE||this._searchTimer?"listbox"!==this.getAttribute("role")&&this._gridKeydownHandler(a):this._spaceKeydownHandler(a))}),focus:function(){if(this._previousFocusedChild)this.navigateTo(this._previousFocusedChild);else{var a=this._getFirst();if(a){for(;a&&!(this.getTopDistance(a)>=0);){var b=a.parentNode.nextElementSibling;a=b?b.renderNode:null}this.navigateTo(a)}}},_keynavDeactivatedHandler:a.superCall(function(a){return function(){this._previousFocusedChild=this.navigatedDescendant,a.call(this)}}),_getFirst:function(){var a=this.querySelector("."+this._cssClasses.cell);return a&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(this.getEnclosingRenderer(a))&&(a=this.getNext(a,1)),a},_getLast:function(){var a=this.querySelectorAll("."+this._cssClasses.cell),b=a.length?a.item(a.length-1):null;return b&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(this.getEnclosingRenderer(b))&&(b=this.getNext(b,-1)),b},downArrowKeyHandler:function(a){if(!this.navigatedDescendant||!this.navigatedDescendant.hasAttribute("navindex")){var b=this._getFocusedRenderer(),c=null;b&&(c=b.nextElementSibling,c&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(c)&&(c=c.nextElementSibling)),this.navigateTo(c?c.renderNode:this._getFirst(),!1,a)}},upArrowKeyHandler:function(a){if(!this.navigatedDescendant||!this.navigatedDescendant.hasAttribute("navindex")){var b=this._getFocusedRenderer(),c=null;b&&(c=b.previousElementSibling,c&&"listbox"===this.getAttribute("role")&&this.isCategoryRenderer(c)&&(c=c.previousElementSibling)),this.navigateTo(c?c.renderNode:this._getLast(),!1,a)}},pageUpKeyHandler:function(a){this.navigateToFirst(a)},pageDownKeyHandler:function(a){this.navigateToLast(a)},getNext:function(a,b){if(a===this)return b>0?this._getFirst():this._getLast();var c=this.getEnclosingRenderer(a);return b>0?c.nextElementSibling?c.nextElementSibling.renderNode:this._getFirst():c.previousElementSibling?c.previousElementSibling.renderNode:this._getLast()},_spaceKeydownHandler:function(a){"none"!==this.selectionMode&&this.handleSelection(a)&&a.preventDefault()},_gridKeydownHandler:function(a){if(a.keyCode===d.ENTER||a.keyCode===d.F2)this.navigatedDescendant&&!this.navigatedDescendant.hasAttribute("navindex")&&(a.preventDefault(),this._enterActionableMode());else if(a.keyCode===d.TAB){if(this.navigatedDescendant&&this.navigatedDescendant.hasAttribute("navindex")){a.preventDefault();for(var b=this._getFocusedRenderer(),c=b[a.shiftKey?"getPrev":"getNext"](this.navigatedDescendant);!c;)b=b[a.shiftKey?"previousElementSibling":"nextElementSibling"]||this[a.shiftKey?"_getLast":"_getFirst"]().parentNode,c=b[a.shiftKey?"getLast":"getFirst"]();this.navigateTo(c)}}else a.keyCode===d.ESCAPE&&this._leaveActionableMode()},_enterActionableMode:function(){var a=this._getFocusedRenderer();if(a){var b=a.getFirst();b&&this.navigateTo(b)}},_leaveActionableMode:function(){this.navigateTo(this._getFocusedRenderer().renderNode)},_getFocusedRenderer:function(){return this.navigatedDescendant?this.getEnclosingRenderer(this.navigatedDescendant):null}});return b("d-list",[HTMLElement,m])}),define("requirejs-text/text!deliteful/list/List/ItemRenderer.html",[],function(){return'\n\n'}),define("deliteful/list/ItemRenderer",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","delite/register","delite/handlebars!./List/ItemRenderer.html","./Renderer"],function(a,b,c,d,e){var f=a(e,{baseClass:"d-list-item",template:d,attachedCallback:function(){"grid"===this.getParent().getAttribute("role")?(this.setAttribute("role","row"),this.renderNode.setAttribute("role","gridcell")):this.renderNode.setAttribute("role","option")}});return c("d-list-item-renderer",[HTMLElement,f])}),define("requirejs-text/text!deliteful/list/List/CategoryRenderer.html",[],function(){ return'\n'}),define("deliteful/list/CategoryRenderer",["dcl/dcl","delite/register","delite/handlebars!./List/CategoryRenderer.html","./Renderer"],function(a,b,c,d){var e=a(d,{baseClass:"d-list-category",template:c,attachedCallback:function(){"grid"===this.getParent().getAttribute("role")?(this.setAttribute("role","row"),this.renderNode.setAttribute("role","columnheader")):(this.renderNode.removeAttribute("tabindex"),this.renderNode.setAttribute("role","heading"))}});return b("d-list-category-renderer",[HTMLElement,e])}),define("deliteful/features",["requirejs-dplugins/has","deliteful/channelBreakpoints"],function(a,b){if(void 0!==typeof window){var c=window.matchMedia("(min-device-width: "+b.smallScreen+")"),d=window.matchMedia("(min-device-width: "+b.mediumScreen+")");a.add("phone-like-channel",function(){return!c.matches&&!d.matches}),a.add("tablet-like-channel",function(){return c.matches&&!d.matches}),a.add("desktop-like-channel",function(){return c.matches&&d.matches})}return a}),define("deliteful/channelBreakpoints",["module"],function(a){var b=a.config();return{smallScreen:b.smallScreen||"480px",mediumScreen:b.mediumScreen||"1024px"}}),define("deliteful/ViewStack",["dcl/dcl","decor/sniff","requirejs-dplugins/Promise!","requirejs-dplugins/jquery!attributes/classes","delite/register","delite/DisplayContainer","delite/theme!./ViewStack/themes/{{theme}}/ViewStack.css","requirejs-dplugins/css!./ViewStack/transitions/slide.css","requirejs-dplugins/css!./ViewStack/transitions/reveal.css"],function(a,b,c,d,e,f){function g(a,b){a&&(b?(a.style.visibility="visible",a.style.display=""):(a.style.visibility="hidden",a.style.display="none"))}function h(a){a&&d(a).addClass("-d-view-stack-reverse")}function i(a){a&&(a.className=a.className.split(/ +/).filter(function(a){return!/^-d-view-stack/.test(a)}).join(" "))}function j(a){return"-d-view-stack-"+a}return e("d-view-stack",[HTMLElement,f],{baseClass:"d-view-stack",transition:"slide",reverse:!1,selectedChildId:"",_pendingChild:null,_setSelectedChildIdAttr:function(a){this.ownerDocument.getElementById(a)&&(this.attached?this.show(a):this._pendingChild=a)},_getSelectedChildIdAttr:function(){return this._visibleChild?this._visibleChild.id:""},attachedCallback:function(){var a={transition:"none"};this._pendingChild?(this.show(this._pendingChild,a),this._pendingChild=null):this.children.length>0&&this.show(this.children[0],a)},_timing:0,_setChildrenVisibility:function(){var a=this.children;!this._visibleChild&&a.length>0&&(this._visibleChild=a[0]);for(var b=0;b0&&(this._visibleChild=this.children[0]),this._visibleChild){var d=this._visibleChild[a];d&&(c=this.show(d,b))}return c},_doTransition:function(a,b,e,f,i){var k;return"none"!==f?(a&&(k=this._setAfterTransitionHandlers(a),d(a).addClass(j(f))),b&&(k=this._setAfterTransitionHandlers(b),d(b).addClass(j(f)+" -d-view-stack-in")),i&&(h(a),h(b)),this.defer(function(){b&&d(b).addClass("-d-view-stack-transition"),a&&d(a).addClass("-d-view-stack-transition -d-view-stack-out"),i&&(h(a),h(b)),b&&d(b).addClass("-d-view-stack-in")},this._timing)):a!==b&&g(a,!1),c.resolve(k)},changeDisplay:function(a,b){if(!a||a.parentNode!==this)return c.resolve();var d=this._visibleChild;i(d),i(a),g(a,!0),this._visibleChild=a;var e=d===a?"none":b.transition||this.transition,f="ltr"===this.effectiveDir?b.reverse:!b.reverse;return this._doTransition(d,a,b,e,f)},show:a.superCall(function(a){return function(c,d){for(var e=this;e&&"none"!==e.style.display&&e!==this.ownerDocument.body;)e=e.parentNode;return(9===b("ie")||e!==this.ownerDocument.body)&&(d||(d={}),d.transition="none"),this._visibleChild&&this._visibleChild.parentNode!==this&&(this._visibleChild=null),!this._visibleChild&&this.children.length>0&&(this._visibleChild=this.children[0]),a.apply(this,[c,d])}}),_setAfterTransitionHandlers:function(a){var b=this,e={node:a};return e.promise=new c(function(a){e.handle=function(){b._afterTransitionHandle(e,a)}}),d(this).addClass("-d-view-stack-transition"),a.addEventListener("webkitTransitionEnd",e.handle),a.addEventListener("transitionend",e.handle),e.promise},_afterTransitionHandle:function(a,b){if(a.promise.resolved)i(a.node),a.node!==this._visibleChild&&i(this._visibleChild),d(this).removeClass("-d-view-stack-transition");else{a.promise.resolved=!0;for(var c,e=0;ethis.offsetWidth/2;"rtl"===this.effectiveDir&&(b=!b),b?this.viewStack.showNext():this.viewStack.showPrevious({reverse:!0})}}.bind(this))},refreshRendering:function(a){"viewStack"in a&&(this._attachViewStack(),this._refreshDots())},_attachViewStack:function(){this._afterShowHandle&&(this._afterShowHandle.remove(),this._afterShowHandle=null),this.viewStack&&(this._afterShowHandle=this.on("delite-after-show",this._refreshDots.bind(this),this.viewStack))},_refreshDots:function(){this.innerHTML="";for(var a=0;a\n {{this.checked && this.checkedLabel ? this.checkedLabel : this.label}}\n\n'}),define("deliteful/ToggleButton",["dcl/dcl","delite/register","requirejs-dplugins/has","./Button","./Toggle","requirejs-dplugins/has!bidi?./ToggleButton/bidi/ToggleButton","delite/handlebars!./ToggleButton/ToggleButton.html","delite/theme!./ToggleButton/themes/{{theme}}/ToggleButton.css"],function(a,b,c,d,e,f,g){var h=a([d.Impl,e],{baseClass:"d-toggle-button",checkedLabel:"",checkedIconClass:"",template:g});return b("d-toggle-button",c("bidi")?[HTMLButtonElement,h,f]:[HTMLButtonElement,h])}),define("deliteful/Toggle",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","delite/CssState"],function(a,b,c){return a([c],{checked:!1,value:"on",attachedCallback:function(){var a=this.checked;this.valueNode&&this.valueNode.form&&this.on("reset",function(){this.defer(function(){this.checked=a})}.bind(this),this.valueNode.form)},postRender:function(){this.on("focus",function(){b(this).addClass("d-focused")}.bind(this),this.focusNode),this.on("blur",function(){b(this).removeClass("d-focused")}.bind(this),this.focusNode)},toggle:function(){this.disabled||(this.checked=!this.checked)}})}),define("requirejs-text/text!deliteful/Toaster/ToasterMessage.html",[],function(){return'\n'}),define("deliteful/ToasterMessage",["dcl/dcl","delite/Widget","delite/register","requirejs-dplugins/Promise!","requirejs-dplugins/jquery!attributes/classes","dpointer/events","delite/handlebars!./Toaster/ToasterMessage.html"],function(a,b,c,d,e,f,g){function h(a){return s[a]||t}function i(a){return"d-toaster-type-"+a}function j(a){return"number"!=typeof a||isNaN(a)?u:a}function k(a){var b=document.createElement("fakeelement");for(var c in a)if(void 0!==b.style[c])return a[c];return null}function l(a,b){var c=[x,y];c.forEach(function(c){if(c){var d={},e=function(a,c,d){return function(){b(a,c),d.handler.remove()}}(a,c,d);d.handler=a.on(c,e)}else b(a,c)})}var m=function(a,b){function c(b){h.startCapture(b),f.setPointerCapture(a,b.pointerId)}function d(a){h.hasStarted&&!h.hasEnded&&h.keepCapturing(a)}function e(a){h.hasStarted&&h.endCapture(a)}var g=function(a){function c(a){return{x:a.clientX,y:a.clientY}}function d(a,b){return b>a?1-1*a/b:0}function e(a,b){var c=b.distance();c>=0&&(a.style.left=c+"px",a.style.opacity=d(c,a.clientWidth))}function f(a){a.style.left="",a.style.opacity=""}function g(a){a.isExpirable()&&a._timer.pause()}function h(a){a.isExpirable()&&a._timer.resume()}var i=100,j=.85;this.gesture={trajectory:null,startTime:null,endTime:null,first:function(){return this.trajectory[0]},last:function(){var a=this.trajectory.length-1;return this.trajectory[a]},secondLast:function(){var a=this.trajectory.length-2;return this.trajectory[a]},distance:function(){return this.last().x-this.first().x},direction:function(){return this.last().x-this.secondLast().x>0?"right":"left"},duration:function(){return this.startTime&&this.endTime?this.endTime-this.startTime:void 0},speed:function(){return this.distance()/this.duration()},isLongEnough:function(){return this.distance()>i},isFastEnough:function(){return this.speed()>j},isDirectedToRight:function(){return"right"===this.direction()}},this.hasStarted=!1,this.hasEnded=!1,this.startCapture=function(b){this.hasStarted=!0,this.hasEnded=!1;var d=c(b);this.gesture.trajectory=[d],this.gesture.startTime=(new Date).getTime(),this.gesture.endTime=null,g(a)},this.keepCapturing=function(b){var d=c(b);this.gesture.trajectory.push(d),e(a,this.gesture)},this.endCapture=function(){this.hasStarted=!1,this.hasEnded=!0,this.gesture.endTime=(new Date).getTime(),this.gesture.isFastEnough()||this.gesture.isLongEnough()&&this.gesture.isDirectedToRight()?b():(f(a),h(a))}},h=new g(a);this.isEnabled=!1;var i,j,k;this.enable=function(){this.isEnabled=!0,i=a.on("pointerdown",c),j=a.on("pointermove",d),k=a.on("pointerup",e)},this.disable=function(){this.isEnabled&&(this.isEnabled=!1,i.remove(),j.remove(),k.remove())}},n=function(a){var b=new d(function(c,d){function e(a){h=Date.now(),g=setTimeout(function(){j=!0,c()},a)}function f(){var b=a-Date.now()+h;return b>=0?b:0}var g=null,h=null,i=null,j=!1;this.start=function(){return e(a),b},this.pause=function(){null!==g?(clearTimeout(g),g=null,i=f()):i=0},this.resume=function(){return e(i),b},this.destroy=function(){j||d()}}.bind(this))},o=function(a){function b(){d||(d=!0,a._timer.pause())}function c(){d&&(d=!1,a._timer.resume())}var d=!1;this.isEnabled=!1;var e;this.enable=function(){this.isEnabled=!0,e=[a.on("pointerover",b.bind(a)),a.on("pointerleave",c.bind(a)),a.on("pointercancel",c.bind(a))]},this.disable=function(){this.isEnabled&&(this.isEnabled=!1,e.forEach(function(a){a.remove()}),e=null)}},p="d-invisible",q="d-hidden",r="d-toaster-swipeout",s={info:"info",success:"success",warning:"warning",error:"error"},t=s.info,u=2e3,v={animation:"animationend","-webkit-animation":"webkitAnimationEnd","-ms-animation":"MSAnimationEnd"},w={transition:"transitionend","-webkit-transition":"webkitTransitionEnd"},x=k(v),y=k(w),z=a(b,{baseClass:"d-toaster-message",message:null,type:t,_setTypeAttr:function(a){var b=h(a);this.messageTypeClass=i(b),this._set("type",b)},duration:u,_setDurationAttr:function(a){var b=j(a);this._set("duration",b)},_dismissButton:null,dismissible:"auto",messageTypeClass:i(t),dismiss:function(a){var b=this.getParent();this._hideInDom(b,!!a,a)},_isInserted:!1,_hasExpired:!1,_toBeRemoved:!1,_isRemoved:!1,isExpirable:function(){return this.duration>=0},isDismissible:function(){return"auto"===this.dismissible?!this.isExpirable():"on"===this.dismissible},_timer:null,_insertInDom:function(a,b){var c=a._wrapper;if(this._isInserted=!0,b&&e(this).addClass(a.animationInitialClass),a.invertOrder&&c.hasChildNodes()){var d=c.childNodes[0];c.insertBefore(this,d)}else c.appendChild(this);this.attachedCallback(),this.isExpirable()&&(this._timer=new n(this.duration),this.own(this._timer),this._timer.start().then(function(){this._hasExpired=!0,a.notifyCurrentValue("messages")}.bind(this))),e(this._dismissButton).toggleClass(q,!this.isDismissible())},_showInDom:function(a,b){b?this.defer(function(){e(this).removeClass(a.animationInitialClass),e(this).addClass(a.animationEnterClass),l(this,function(b){e(b).removeClass(a.animationEnterClass),b.isDismissible()&&b.swipeToDismiss.enable()})},1):this.isDismissible()&&this.swipeToDismiss.enable(),this.isExpirable()&&this.pauseTimerOnHover.enable()},_hideInDom:function(a,b,c){var d=c||a.animationQuitClass;null!==a&&(this.swipeToDismiss.disable(),b?(e(this).addClass(d),l(this,function(b){b._toBeRemoved=!0,a.notifyCurrentValue("messages")})):(e(this).addClass(p),this._toBeRemoved=!0,a.notifyCurrentValue("messages"))),this.isExpirable()&&this.pauseTimerOnHover.disable()},_removeFromDom:function(a,b){e(this).removeClass(a.animationQuitClass),e(this).addClass(b?a.animationEndClass:q),a._wrapper.removeChild(this),this._isRemoved=!0},template:g,postRender:function(){this.swipeToDismiss=new m(this,function(){this.dismiss(r)}.bind(this)),null!==this._dismissButton&&this.on("pointerdown",function(){this.dismiss()}.bind(this),this._dismissButton),this.pauseTimerOnHover=new o(this)}});return c("d-toaster-message",[HTMLElement,z])}),define("requirejs-text/text!deliteful/Toaster/Toaster.html",[],function(){return'\n'}),define("deliteful/Toaster",["dcl/dcl","delite/Widget","delite/register","decor/sniff","delite/handlebars!./Toaster/Toaster.html","./ToasterMessage","delite/theme!./Toaster/themes/{{theme}}/Toaster.css"],function(a,b,c,d,e,f){function g(a){return a._toBeRemoved&&!a._isRemoved}var h=a(b,{_wrapper:null,baseClass:"d-toaster",placementClass:"d-toaster-placement-default",messages:null,invertOrder:!1,animationInitialClass:"d-toaster-initial",animationEnterClass:"d-toaster-fadein",animationQuitClass:"d-toaster-fadeout",animationEndClass:"d-toaster-fadefinish",_emitExpiration:function(a){this.emit("messageExpired",{message:a})},_emitInsertion:function(a){this.emit("messageInserted",{message:a})},_emitRemoval:function(a){this.emit("messageRemoved",{message:a})},_getRemovableMsg:function(){return this.messages.filter(g)},_allExpAreRemovable:function(){for(var a=0,b=this.messages.length;b>a;a++){var c=this.messages[a];if(c.isExpirable()&&!g(c))return!1}return!0},template:e,refreshRendering:function(a){"messages"in a&&(this.messages.forEach(function(a){a._isInserted?a.isExpirable()&&a._hasExpired&&!a._toBeRemoved&&(a._hideInDom(this,!0),this._emitExpiration(a)):(a._insertInDom(this,!0),a._showInDom(this,!0),this._emitInsertion(a))},this),this._allExpAreRemovable()&&this._getRemovableMsg().forEach(function(a){a._removeFromDom(this,!0),a.destroy(),this.messages.splice(this.messages.indexOf(a),1),this._emitRemoval(a)},this))},preRender:function(){this.messages=[]},postRender:function(){d("ios")||(this.setAttribute("aria-atomic","true"),this.setAttribute("role","alert"))},postMessage:function(b,c){var d;if("string"==typeof b){var e={message:b};a.mix(e,c),d=new f(e)}else d=b;return this._addMessage(d)},_addMessage:function(a){return this.messages.push(a),this.notifyCurrentValue("messages"),a}});return c("d-toaster",[HTMLElement,h])}),define("deliteful/Switch/bidi/Switch",["dcl/dcl","dpointer/events"],function(a){return a(null,{refreshRendering:function(a){("dir"in a||"textDir"in a||"checkedLabel"in a)&&(this._innerNode.firstChild.textContent=this.applyTextDirection(this.checkedLabel)),("dir"in a||"textDir"in a||"uncheckedLabel"in a)&&(this._innerNode.lastChild.textContent=this.applyTextDirection(this.uncheckedLabel)),this.title&&"textDir"in a&&(this.title=this.applyTextDirection(this.title))},postRender:function(){this.on("pointerover",this._pointerOverHandler.bind(this))},_pointerOverHandler:function(){this.title&&(this.title=this.applyTextDirection(this.title))}})}),define("requirejs-text/text!deliteful/Switch/Switch.html",[],function(){return'\n'}),define("deliteful/Switch",["requirejs-dplugins/has","requirejs-dplugins/jquery!attributes/classes","dpointer/events","delite/register","deliteful/Checkbox","delite/handlebars!./Switch/Switch.html","requirejs-dplugins/has!bidi?./Switch/bidi/Switch","delite/theme!./Switch/themes/{{theme}}/Switch.css"],function(a,b,c,d,e,f,g){return d("d-switch",a("bidi")?[HTMLElement,e,g]:[HTMLElement,e],{checkedLabel:"",uncheckedLabel:"",baseClass:"d-switch",template:f,postRender:function(){this.on("pointerdown",this._pointerDownHandler.bind(this),this._knobGlassNode),this.on("click",this._clickPreventer.bind(this),this._knobGlassNode)},destroy:function(){this._cleanHandlers()},_clickPreventer:function(a){a.preventDefault(),a.stopPropagation()},_pointerDownHandler:function(a){this.disabled||(this._startX=this._curX=a.clientX,c.setPointerCapture(this._knobGlassNode,a.pointerId),this._pHandlers||(this._pHandlers=[{e:"pointermove",l:this._pointerMoveHandler.bind(this)},{e:"pointerup",l:this._pointerUpHandler.bind(this)},{e:"lostpointercapture",l:this._lostPointerCaptureHandler.bind(this)}]),this._pHandlers.forEach(function(a){this._knobGlassNode.addEventListener(a.e,a.l)}.bind(this)),a.preventDefault(),a.stopPropagation())},_pointerMoveHandler:function(a){var c=a.clientX-this._curX,d=window.getComputedStyle(this._pushNode),e=parseInt(d.width,10);if(!this._drag&&Math.abs(a.clientX-this._startX)>4&&(this._drag=!0,b(this._innerNode).removeClass("-d-switch-transition"),b(this._pushNode).removeClass("-d-switch-transition"),b(this._innerWrapperNode).removeClass("-d-switch-transition")),this._curX=a.clientX,this._drag){this._knobWidth=parseInt(window.getComputedStyle(this._knobNode).width,10),this._switchWidth=parseInt(window.getComputedStyle(this).width,10);var f="ltr"===this.effectiveDir?e+c:e-c,g=this.checked?this._switchWidth:this._switchWidth-this._knobWidth,h=this.checked?this._knobWidth:0;f=Math.max(h,Math.min(g,f)),this._pushNode.style.width=f+"px"}a.preventDefault(),a.stopPropagation()},_pointerUpHandler:function(a){var b=this.checked;if(this._drag){this._drag=!1;var c=parseInt(window.getComputedStyle(this._pushNode).width,10),d=parseInt(window.getComputedStyle(this._pushNode).marginLeft,10);this.checked=c+d+this._knobWidth/2>=this._switchWidth/2}else this.checked=!this.checked;this.checked!==b&&this.emit("change"),a.preventDefault(),a.stopPropagation()},_lostPointerCaptureHandler:function(){this._cleanHandlers(),this._drag=!1,this._pushNode.style.width="",this._innerNode.style.transform="none",b(this._innerNode).addClass("-d-switch-transition"),b(this._pushNode).addClass("-d-switch-transition"),b(this._innerWrapperNode).addClass("-d-switch-transition")},_cleanHandlers:function(){this._pHandlers.forEach(function(a){this._knobGlassNode.removeEventListener(a.e,a.l)}.bind(this))}})}),define("deliteful/SwapView",["dcl/dcl","delite/register","delite/keys","requirejs-dplugins/jquery!attributes/classes","dpointer/events","./ViewStack","delite/theme!./SwapView/themes/{{theme}}/SwapView.css"],function(a,b,c,d,e,f){return b("d-swap-view",[HTMLElement,f],{baseClass:"d-swap-view",_dragThreshold:10,swapThreshold:.25,render:function(){e.setTouchAction(this,"pan-y")},attachedCallback:function(){this.hasAttribute("tabindex")||(this.tabIndex="0")},preRender:function(){d(this).addClass("d-view-stack")},postRender:function(){this.on("pointerdown",this._pointerDownHandler.bind(this)),this.on("pointermove",this._pointerMoveHandler.bind(this)),this.on("pointerup",this._pointerUpHandler.bind(this)),this.on("lostpointercapture",this._pointerUpHandler.bind(this)),this.on("pointercancel",this._pointerUpHandler.bind(this)),this.on("keydown",this._keyDownHandler.bind(this))},_pointerDownHandler:function(a){this._drag||(this._drag={start:a.clientX},e.setPointerCapture(a.target,a.pointerId))},_pointerMoveHandler:function(a){if(this._drag){var b=a.clientX-this._drag.start;if(!this._drag.started&&Math.abs(b)>this._dragThreshold){var c=this._visibleChild,e=("ltr"===this.effectiveDir?0>b:b>0)?c.nextElementSibling:c.previousElementSibling;e&&(this._drag.childOut=c,this._drag.childIn=e,this._drag.started=!0,this._drag.ended=!1,this._drag.reverse=b>0,d(this).addClass("-d-swap-view-drag"),e.style.visibility="visible",e.style.display="")}if(this._drag.started&&!this._drag.ended){var f=this._drag.rx=b/this.offsetWidth,g=this._drag.reverse?f:-f,h=Math.floor(100*(this._drag.reverse?1-g:g)),i=Math.floor(100*(this._drag.reverse?g:1-g)),j=this._drag.reverse?this._drag.childIn:this._drag.childOut,k=this._drag.reverse?this._drag.childOut:this._drag.childIn;this._setTranslation(j,-h),this._setTranslation(k,i)}}},_pointerUpHandler:function(){this._drag&&(this._drag.started?this._drag.ended||(this._drag.ended=!0,this._setupTransitionEndHandlers(),this._setTransitionProperties(this._drag.childIn),this._setTransitionProperties(this._drag.childOut),this._drag.reverse&&this._drag.rx>this.swapThreshold||!this._drag.reverse&&this._drag.rx<-this.swapThreshold?(this._setTranslation(this._drag.childIn,0),this._setTranslation(this._drag.childOut,this._drag.reverse?100:-100)):(this._drag.slideBack=!0,this._setTranslation(this._drag.childIn,this._drag.reverse?-100:100),this._setTranslation(this._drag.childOut,0))):this._drag=null)},_keyDownHandler:function(a){switch(a.keyCode){case c.PAGE_UP:this.showNext();break;case c.PAGE_DOWN:this.showPrevious({reverse:!0})}},_setupTransitionEndHandlers:function(){this._endTransitionHandler||(this._endTransitionHandler=function(){this._endTransitionHandler&&(this._addTransitionEndHandlers(this._drag.childIn,!1),this._addTransitionEndHandlers(this._drag.childOut,!1),this._endTransitionHandler=null),this._endTransition()}.bind(this),this._addTransitionEndHandlers(this._drag.childIn,!0),this._addTransitionEndHandlers(this._drag.childOut,!0))},_endTransition:function(){this._drag&&(d(this).removeClass("-d-swap-view-drag"),this._drag.slideBack?(this._drag.childIn.style.visibility="hidden",this._drag.childIn.style.display="none"):(this._drag.childOut.style.visibility="hidden",this._drag.childOut.style.display="none",this.show(this._drag.childIn,{transition:"none"})),this._clearTransitionProperties(this._drag.childIn),this._clearTransitionProperties(this._drag.childOut),this._clearTranslation(this._drag.childIn),this._clearTranslation(this._drag.childOut),this._drag=null)},_addTransitionEndHandlers:function(a,b){var c=(b?"add":"remove")+"EventListener";a[c]("webkitTransitionEnd",this._endTransitionHandler),a[c]("transitionend",this._endTransitionHandler)},_setTransitionProperties:function(a){a.style.webkitTransitionProperty="-webkit-transform",a.style.transitionProperty="transform",a.style.webkitTransitionDuration="0.3s",a.style.mozTransitionDuration="0.3s",a.style.transitionDuration="0.3s"},_clearTransitionProperties:function(a){a.style.webkitTransitionProperty="",a.style.transitionProperty="",a.style.webkitTransitionDuration="",a.style.mozTransitionDuration="",a.style.transitionDuration=""},_setTranslation:function(a,b){var c="translate3d("+b+"%, 0, 0)";a.style.webkitTransform=c,a.style.transform=c},_clearTranslation:function(a){a.style.webkitTransform="",a.style.transform=""}})}),define("deliteful/Store",["dcl/dcl","delite/register","delite/CustomElement","dstore/Memory","dstore/Trackable"],function(a,b,c,d,e){var f=d.createSubclass([e],{}),g=["add","remove","put","delete","refresh","update"];return b("d-store",[HTMLElement,c],{createdCallback:function(){this.style.display="none"},attachedCallback:function(){for(var b=new f,c=JSON.parse("["+this.textContent+"]"),d=0;d(this.allowZero?0:this.editHalfValues?.5:1)&&(this.value=this.value-(this.editHalfValues?.5:1))},_updateStars:function(a,b){var c=this.focusNode.querySelectorAll("div");b&&(this._zeroSettingArea=this.ownerDocument.createElement("div"),this._zeroSettingArea.className=this.baseClass+"-zero",this._zeroSettingArea.value=0,this.focusNode.appendChild(this._zeroSettingArea),this._updateZeroArea());for(var d=0;d<2*this.max;d++){var e=this.baseClass+(d%2?"-end ":"-start "); if(e+=a>=.5*(d+1)?this.baseClass+"-full":this.baseClass+"-empty",b){var f=this.ownerDocument.createElement("div");f.value=this.editHalfValues?(d+1)/2:Math.ceil((d+1)/2),this.focusNode.appendChild(f)}else f=c[d+1];f.className=this.baseClass+"-star-icon "+e}},_updateZeroArea:function(){this.readOnly||!this.allowZero?(d(this._zeroSettingArea).addClass("d-hidden"),delete this.focusNode.value):(d(this._zeroSettingArea).removeClass("d-hidden"),this.focusNode.value=0)}})}),define("requirejs-text/text!deliteful/Slider/Slider.html",[],function(){return'\n'}),define("deliteful/Slider",["requirejs-dplugins/jquery!attributes/classes","delite/keys","dpointer/events","delite/register","delite/FormValueWidget","delite/CssState","delite/handlebars!./Slider/Slider.html","delite/theme!./Slider/themes/{{theme}}/Slider.css"],function(a,b,c,d,e,f,g){function h(a){var b=a.getBoundingClientRect();return{x:b.left,y:b.top,w:b.right-b.left,h:b.bottom-b.top}}return d("d-slider",[HTMLElement,e,f],{min:0,max:100,step:1,slideRange:!0,vertical:!1,flip:!1,baseClass:"d-slider",_orientationNames:{"false":{start:"x",size:"w",clientStart:"clientX",progressBarStart:"left",progressBarSize:"width"},"true":{start:"y",size:"h",clientStart:"clientY",progressBarStart:"top",progressBarSize:"height"}},_propNames:null,_reversed:!1,template:g,render:d.superCall(function(a){return function(){this.valueNode=this.querySelector("input")||this.ownerDocument.createElement("input"),a.call(this),this.appendChild(this.valueNode),this.handleMin.setAttribute("aria-valuemin",this.min),this.focusNode.setAttribute("aria-valuemax",this.max),this.tabStops="handleMin,focusNode",this.handleMin._isActive=!0,c.setTouchAction(this,"none")}}),_refreshOrientation:function(){this.focusNode.setAttribute("aria-orientation",this.vertical?"vertical":"horizontal"),this.handleMin._isActive&&this.handleMin.setAttribute("aria-orientation",this.vertical?"vertical":"horizontal"),this._propNames=this._orientationNames[this.vertical]},_refreshCSS:function(){function b(a,b){return a.split(/ /).map(function(a){return a+b}).join(" ")}var c=b(this.baseClass,this.vertical?"-v":"-h"),d=this.baseClass+" "+c;a(this).removeClass(b(this.baseClass+"-v "+this.baseClass+"-h","-htl")+" "+b(this.baseClass+"-v "+this.baseClass+"-h","-lth")+" "+this.baseClass+"-v "+this.baseClass+"-h"),a(this).addClass(c+" "+b(d,this._reversed?"-htl":"-lth")),this.containerNode.className=b(d,"-bar")+" "+b(d,"-container"),this.progressBar.setAttribute("style",""),this.progressBar.className=b(d,"-bar")+" "+b(d,"-progress-bar"),this.focusNode.className=b(d,"-handle")+" "+b(d,"-handle-max"),this.handleMin._isActive&&(this.handleMin.className=b(d,"-handle")+" "+b(d,"-handle-min"))},computeProperties:function(a){if("value"in a||"min"in a||"max"in a||"step"in a){var b=this._getValueAsArray(),c=b.length>1,d=this._convert2Float(b[0],this._calculateDefaultValue(c?.25:.5)),e=this._convert2Float(b[b.length-1],this._calculateDefaultValue(c?.75:.5)),f=Math.max(d,e);d=Math.min(d,e),e=f,d=this._adjustValue(d,this.min),e=this._adjustValue(e,d),this.value=c?d+","+e:String(e)}if("vertical"in a||"flip"in a||"effectiveDir"in a){var g="ltr"===this.effectiveDir;this._reversed=!(!this.vertical&&g!==this.flip||this.vertical&&this.flip)}},refreshRendering:function(a){if("value"in a&&this._refreshValueRendering(),"vertical"in a&&this._refreshOrientation(),"name"in a){var b=this.name;this.removeAttribute("name"),this.valueNode.setAttribute("name",b)}"max"in a&&this.focusNode.setAttribute("aria-valuemax",this.max),"min"in a&&(this.handleMin._isActive?this.handleMin:this.focusNode).setAttribute("aria-valuemin",this.min),("baseClass"in a||"vertical"in a||"_reversed"in a)&&this._refreshCSS(),this._positionHandles()},_positionHandles:function(){var a=this._getValueAsArray();1===a.length&&(a=[this.min,a[0]]);var b=100*(a[1]-this.min)/(this.max=a?1:a)},_convert2Float:function(a,b){var c=parseFloat(a);return isNaN(c)||c===1/0?b:c},_calculateDefaultValue:function(a){return this.maxb?Math.min(this.max,c):c}return a=Math.max(b,a),a=Math.min(this.max>this.min?this.max:this.min,a)},_getValueAsArray:function(){return String(this.value).split(/,/g)},pointerDownHandler:function(a){if(!this._ignoreUserInput(a)){this._pointerCtx.target=null,this._pointerCtx.offsetVal=0,this._pointerCtx.containerBox=h(this.containerNode);var b=this._getValueAsArray(),d=this._selectedValue(a,this._pointerCtx.containerBox);if(this._startSlideRange(a))this._pointerCtx.target=this.progressBar,this._pointerCtx.offsetVal=d-b[0];else{var e=Math.abs(d-b[1])-Math.abs(d-b[0]);0!==e||a.target!==this.focusNode&&a.target!==this.handleMin?(0===e&&(e=b[0]-Math.min(this.max-this.step,Math.max(this.min+this.step,d))),this._pointerCtx.target=e>0?this.handleMin:this.focusNode):this._pointerCtx.target=document.elementFromPoint(a.clientX,a.clientY),this._pointerCtx.target.focus(),a.target!==this.focusNode&&a.target!==this.handleMin&&this.handleOnInput(this._formatSelection(d,this._pointerCtx.target))}(a.target===this.focusNode||a.target===this.handleMin)&&(this._pointerCtx.offsetVal=d-b[this.handleMin._isActive&&this._pointerCtx.target===this.focusNode?1:0]),c.setPointerCapture(this._pointerCtx.target,a.pointerId),a.stopPropagation()}},pointerMoveHandler:function(a){a.target===this._pointerCtx.target&&(this.handleOnInput(this._formatSelection(this._selectedValue(a,this._pointerCtx.containerBox)-this._pointerCtx.offsetVal,a.target)),a.stopPropagation())},lostCaptureHandler:function(){this._pointerCtx.target=null,this.handleOnChange(this.value)},keyDownHandler:function(a){if(!this._ignoreUserInput(a)){var c,d=this._getValueAsArray(),e=a.target===this.focusNode?d.length-1:0,f=1;switch(a.keyCode){case b.HOME:c=[this.min,d[0]][e];break;case b.END:c=a.target===this.handleMin?d[1]:this.max;break;case b.RIGHT_ARROW:f=-1;case b.LEFT_ARROW:c=parseFloat(d[e])+f*(this.flip&&!this.vertical?this.step:-this.step);break;case b.DOWN_ARROW:f=-1;case b.UP_ARROW:c=parseFloat(d[e])+f*(this.flip&&this.vertical?-this.step:this.step);break;default:return}this.handleOnInput(this._formatSelection(c,a.target)),a.preventDefault()}},keyUpHandler:function(a){this._ignoreUserInput(a)||(a.target===this.focusNode||a.target===this.handleMin)&&this.handleOnChange(this.value)},_ignoreUserInput:function(a){return this.disabled||this.readOnly||a.altKey||a.ctrlKey||a.metaKey},_startSlideRange:function(a){if(!this.slideRange||!this.handleMin._isActive||a.target===this.focusNode||a.target===this.handleMin)return!1;var b=h(this.progressBar),c=a[this._propNames.clientStart]-b[this._propNames.start],d=b[this._propNames.size];return c>=0&&d>=c},_selectedValue:function(a,b){function c(a,b,c,d,e){return(a-b)*(e-d)/(c-b)+d}var d=b[this._propNames.size],e=a[this._propNames.clientStart]-b[this._propNames.start];return Math.round(c(e,this._reversed?d:0,this._reversed?0:d,this.min,this.max)/this.step)*this.step},_formatSelection:function(a,b){var c=this._getValueAsArray(),d=a;switch(b){case this.focusNode:d=1===c.length?String(a):Math.min(c[0],a)+","+a;break;case this.handleMin:d=a+","+Math.max(c[1],a);break;case this.progressBar:var e=c[1]-c[0];a=Math.max(this.min,Math.min(a+e,this.max)-e),d=a+","+(a+e)}return d}})}),define("deliteful/SidePane",["dcl/dcl","dpointer/events","requirejs-dplugins/jquery!attributes/classes","decor/sniff","delite/register","delite/DisplayContainer","requirejs-dplugins/Promise!","delite/theme!./SidePane/themes/{{theme}}/SidePane.css"],function(a,b,c,d,e,f,g){function h(a){return"-d-side-pane-"+a}function i(a,b){b?(a.style.visibility="visible",a.style.display="block"):(a.style.visibility="hidden",a.style.display="none")}function j(a){do a=a.nextElementSibling;while(a&&1!==a.nodeType);return a}return e("d-side-pane",[HTMLElement,f],{baseClass:"d-side-pane",mode:"push",position:"start",animate:!0,swipeClosing:!0,_transitionTiming:{"default":0,chrome:50,ios:20,android:100,mozilla:100},_timing:0,_visible:!1,_opening:!1,_originX:NaN,_originY:NaN,attachedCallback:function(){this.parentNode.style.overflow="hidden"},show:a.superCall(function(a){return function(){return arguments.length>0?a.apply(this,arguments).then(function(a){return this._open().then(function(){return a})}.bind(this)):this._open()}}),hide:a.superCall(function(a){return function(){return arguments.length>0?a.apply(this,arguments).then(function(a){return this._close().then(function(){return a})}.bind(this)):this._close()}}),toggle:function(){return this._visible?this.hide():this.show()},_open:function(){var a,b=j(this),e=this.animate&&9!==d("ie");return this._visible||(e&&(c(this).addClass(h("animate")),b&&c(b).addClass(h("animate"))),"reveal"===this.mode?b&&(a=this._setAfterTransitionHandlers(b)):a=this._setAfterTransitionHandlers(this),i(this,!0),e?this.defer(this._openImpl,this._timing):(this._openImpl(),a=new g(function(a){this.defer(a,this._timing)}.bind(this)))),a||g.resolve(!0)},_close:function(){var a;if(this._visible){if("reveal"===this.mode){var b=j(this);b&&(a=this._setAfterTransitionHandlers(b))}else a=this._setAfterTransitionHandlers(this);this.animate&&9!==d("ie")?this.defer(function(){this._hideImpl()},this._timing):(this._hideImpl(),i(this,!1))}return a||g.resolve(!0)},_setAfterTransitionHandlers:function(a){var b=this,c={node:a},d=new g(function(a){c.handle=function(){b._afterTransitionHandle(c,a)}});return a.addEventListener("webkitTransitionEnd",c.handle),a.addEventListener("transitionend",c.handle),d},_afterTransitionHandle:function(a,b){c(this).removeClass(h("under")),this._visible||i(this,!1),a.node.removeEventListener("webkitTransitionEnd",a.handle),a.node.removeEventListener("transitionend",a.handle),b()},postRender:function(){i(this,!1),this.notifyCurrentValue("mode","position")},preRender:function(){this._transitionTiming={"default":0,chrome:20,ios:20,android:100,mozilla:100};for(var a in this._transitionTiming)d(a)&&this._timing=this.ownerDocument.width-10)&&(this._opening=!this._visible,this._pressHandle.remove(),this._moveHandle=this.on("pointermove",this._pointerMoveHandler.bind(this)),this._releaseHandle=this.on("pointerup",this._pointerUpHandler.bind(this)),c(this.ownerDocument.body).addClass(h("no-select")))},_pointerMoveHandler:function(a){if(!this._opening&&Math.abs(a.pageY-this._originY)>10)this._resetInteractions();else{var b=a.pageX;this._isLeft()?this._visible&&(this._originX10&&(this._close(),this._originX=b)):this._visible&&(this._originX>b&&(this._originX=b),(this.swipeClosing&&b-this._originX)>10&&(this._close(),this._originX=b))}},_pointerUpHandler:function(){this._opening=!1,c(this.ownerDocument.body).removeClass(h("no-select")),this._resetInteractions()},_resetInteractions:function(){this._releaseHandle&&this._releaseHandle.remove(),this._moveHandle&&this._moveHandle.remove(),this._pressHandle&&this._pressHandle.remove(),this.swipeClosing&&(this._pressHandle=this.on("pointerdown",this._pointerDownHandler.bind(this))),this._originX=NaN,this._originY=NaN}})}),define("requirejs-text/text!deliteful/Select/Select.html",[],function(){return'\n'}),define("deliteful/Select",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","decor/sniff","delite/register","delite/FormWidget","delite/StoreMap","delite/Selection","delite/handlebars!./Select/Select.html","delite/theme!./Select/themes/{{theme}}/Select.css"],function(a,b,c,d,e,f,g,h){return d("d-select",[HTMLElement,e,f,g],{size:0,textAttr:"text",valueAttr:"value",disabledAttr:"disabled",baseClass:"d-select",template:h,attachedCallback:function(){this.valueNode.form&&this.on("reset",function(){this.defer(function(){this.valueNode.selectedIndex="single"===this.selectionMode?0:-1,this.value=this.valueNode.value})}.bind(this),this.valueNode.form),this.on("focus",function(a){b(this).toggleClass("d-select-focus","focus"===a.type)}.bind(this),this.valueNode),this.on("blur",function(a){b(this).toggleClass("d-select-focus","focus"===a.type)}.bind(this),this.valueNode),this.on("change",function(a){this._duringInteractiveSelection=!0;var b=this.selectedItems,c=this.valueNode.selectedOptions;if(void 0===c){var d=Array.prototype.slice.call(this.valueNode.options);c=d.filter(function(a){return a.selected})}else c=Array.prototype.slice.call(c);var e,f,g,h=b?b.length:0,i=c?c.length:0;for(e=0;h>e;e++)g=b[e],-1===c.indexOf(g.__visualItem)&&this.selectFromEvent(a,g,g.__visualItem,!0);for(e=0;i>e;e++)f=c[e],-1===b.indexOf(f.__dataItem)&&this.selectFromEvent(a,f.__dataItem,f,!0);this._set("value",this.valueNode.value),this._duringInteractiveSelection=!1}.bind(this),this.valueNode)},hasSelectionModifier:function(){return"multiple"===this.selectionMode},refreshRendering:function(a){if("renderItems"in a){var b=this.renderItems,d=b?b.length:0;if(this.valueNode.innerHTML="",d>0){for(var e,f,g=this.ownerDocument.createDocumentFragment(),h=0;d>h;h++)e=b[h],f=this.ownerDocument.createElement("option"),f.__dataItem=e.__item,f.__dataItem.__visualItem=f,void 0!==e.text&&(f.text=e.text),void 0!==e.value?f.setAttribute("value",e.value):c("ie")&&void 0!==e.text&&f.setAttribute("value",e.text),this.isSelected(e.__item)&&f.setAttribute("selected","true"),void 0!==e.disabled&&e.disabled&&"false"!==e.disabled&&f.setAttribute("disabled","true"),g.appendChild(f);this.valueNode.appendChild(g),"single"===this.selectionMode&&(this.selectedItem=this.valueNode.options[this.valueNode.selectedIndex].__dataItem),this._set("value",this.valueNode.value)}}},getIdentity:function(a){return this.store.getIdentity(a)},updateRenderers:function(){this._duringInteractiveSelection||this.notifyCurrentValue("renderItems")},_setValueAttr:function(a){this.valueNode&&(this.valueNode.value=a),this._set("value",a)},_setSelectionModeAttr:a.superCall(function(a){return function(b){if("single"!==b&&"multiple"!==b)throw new TypeError("'"+b+"' not supported for selectionMode; keeping the previous value of '"+this.selectionMode+"'");this._set("selectionMode",b),a.call(this,b)}})})}),define("deliteful/ScrollableContainer",["delite/register","delite/Container","delite/Scrollable"],function(a,b,c){return a("d-scrollable-container",[HTMLElement,b,c],{baseClass:"d-scrollable-container"})}),define("deliteful/ResponsiveColumns",["requirejs-dplugins/jquery!attributes/classes","delite/register","delite/DisplayContainer","./channelBreakpoints","delite/theme!./ResponsiveColumns/themes/{{theme}}/ResponsiveColumns.css"],function(a,b,c,d){return b("d-responsive-columns",[HTMLElement,c],{baseClass:"d-responsive-columns",breakpoints:"{'small': '"+d.smallScreen+"', 'medium': '"+d.mediumScreen+"', 'large': ''}",screenClass:"",preRender:function(){this._breakpoints={},this._layouts=[],this._mqls=[],a(this).addClass("-d-responsive-columns-"+this.widgetId)},postRender:function(){this.notifyCurrentValue("breakpoints")},_removeListeners:function(){for(var a=0;a *:nth-child("+(o+1)+"){",f=this._layouts[o][d[b]],"hidden"===f?j+="display: none;":"fill"===f?(j+="-webkit-box-flex: 1;",j+="-moz-box-flex: 1;",j+="-webkit-flex: 1;",j+="-ms-flex: 1;",j+="flex: 1;"):j+="width: "+f+";",j+="}";j+="}",g=window.matchMedia(k),h=function(a){a.matches&&(this.target.screenClass=this["class"],this.target.emit("change",{screenClass:this["class"],mediaQueryList:g}))}.bind({"class":d[b],mql:g,target:this}),g.addListener(h),this._mqls.push({mql:g,listener:h}),g.matches&&(this.screenClass=d[b])}var p="d-responsive-columns-generated-style-"+this.widgetId,q=this.ownerDocument.getElementById(p);q||(q=this.ownerDocument.createElement("style"),q.id=p,this.ownerDocument.head.appendChild(q)),q.innerHTML=j},onAddChild:function(a){this.notifyCurrentValue("breakpoints")},refreshRendering:function(a){"breakpoints"in a&&this._parseJSONAttrs()&&this._checkConfiguration()&&this._genCSS()}})}),define("requirejs-text/text!deliteful/RadioButton/RadioButton.html",[],function(){return'\n'}),define("deliteful/RadioButton",["delite/register","./Checkbox","delite/handlebars!./RadioButton/RadioButton.html","delite/theme!./RadioButton/themes/{{theme}}/RadioButton.css"],function(a,b,c){return a("d-radio-button",[HTMLElement,b],{baseClass:"d-radio-button",template:c,_inputClickHandler:a.superCall(function(a){return function(b){a.call(this,b),this.deliver()}}),toggle:a.superCall(function(a){return function(){this.checked||a.call(this)}}),refreshRendering:function(a){if("checked"in a&&this.checked){if(!this._related){var b=(this.valueNode.form||this.ownerDocument).querySelectorAll("input[type='radio'][name='"+this.name+"']");this._related=Array.prototype.filter.call(b,function(a){return a!==this.valueNode&&a.form===this.valueNode.form}.bind(this)).map(this.getEnclosingWidget.bind(this))}this._related.forEach(function(a){a.checked=!this.checked}.bind(this))}"name"in a&&delete this._related}})}),define("requirejs-text/text!deliteful/ProgressIndicator/ProgressIndicator.html",[],function(){return'\n\n'}),define("deliteful/ProgressIndicator",["dcl/dcl","delite/register","delite/Widget","delite/handlebars!./ProgressIndicator/ProgressIndicator.html","delite/theme!./ProgressIndicator/themes/{{theme}}/ProgressIndicator.css"],function(a,b,c,d){return b("d-progress-indicator",[HTMLElement,c],{active:!1,value:NaN,speed:"normal",baseClass:"d-progress-indicator",_requestId:0,_lapsTime:1e3,_requestAnimationFunction:window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame&&window.webkitRequestAnimationFrame.bind(window)||function(a){return this.defer(a,1e3/60)},_cancelAnimationFunction:(window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||function(a){a.remove()}).bind(window),_requestRendering:function(a){return this._requestAnimationFunction.call(this,a)},_cancelRequestRendering:function(a){return this._cancelAnimationFunction(a)},_reset:function(){this._requestRendering(function(){this.msgNode.textContent="";for(var a=0;12>a;a++)this.lineNodeList[a].style.opacity=(a+1)*(1/12)}.bind(this))},_stopAnimation:function(){this._requestId&&(this._cancelRequestRendering(this._requestId),this._requestId=0)},_startAnimation:function(){if(!this._requestId){this._reset();var a=16.7/this._lapsTime,b=function(){for(var c,d=0;12>d;d++)c=(parseFloat(this.lineNodeList[d].style.opacity)-a)%1,this.lineNodeList[d].style.opacity=0>c?1:c;this._requestId=this._requestRendering(b)}.bind(this);this._requestId=this._requestRendering(b)}},template:d,render:a.after(function(){this.lineNodeList=this.linesNode.querySelectorAll("line")}),attachedCallback:function(){var a=this.baseClass+"-"+this.widgetId+"-symbol";this.querySelector("symbol").id=a,this.querySelector("use").setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+a),this.svgNode.style.width="100%",this.svgNode.style.height="100%",this.svgNode.style.textAnchor="middle",this.style.color=window.getComputedStyle(this.msgNode).getPropertyValue("fill");var b=window.getComputedStyle(this).getPropertyValue("color");this.style.color!==b&&(this.linesNode.style.stroke=b,this.msgNode.style.fill=b,this.msgNode.textContent=this.msgNode.textContent),this._reset()},computeProperties:function(a){var b=null;"speed"in a&&(b="fast"===this.speed?500:"slow"===this.speed?2e3:1e3,this._lapsTime!==b&&(this._lapsTime=b)),"value"in a&&!isNaN(this.value)&&(b=Math.max(Math.min(this.value,100),0),this.value!==b&&(this.value=b))},refreshRendering:function(a){"value"in a&&(isNaN(this.value)?this.active&&this._startAnimation():(this._stopAnimation(),this._requestRendering(function(){this.msgNode.textContent=Math.floor(this.value);for(var a,b=.2,c=0;12>c;c++)a=Math.min(Math.max(.12*this.value-c,0),1)*(1-b),this.lineNodeList[c].style.opacity=b+a}.bind(this)))),"speed"in a&&this._requestId&&(this._stopAnimation(),this._startAnimation()),"active"in a&&(this.active?isNaN(this.value)&&this._startAnimation():this._stopAnimation(),this._requestRendering(function(){this.style.visibility=this.active?"visible":"hidden"}.bind(this)))},destroy:function(){this._stopAnimation()}})}),define("requirejs-text/text!deliteful/ProgressBar/ProgressBar.html",[],function(){return'\n'}),define("deliteful/ProgressBar",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","ecma402/IntlShim","delite/register","delite/Widget","delite/handlebars!./ProgressBar/ProgressBar.html","delite/theme!./ProgressBar/themes/{{theme}}/ProgressBar.css"],function(a,b,c,d,e,f){return d("d-progress-bar",[HTMLElement,e],{value:NaN,max:1,position:-1,message:"",displayExtMsg:!1,fractionDigits:0,baseClass:"d-progress-bar",template:f,render:a.after(function(){this.setAttribute("aria-valuemin",0)}),computeProperties:function(a){if("max"in a){var b=this._convert2Float(this.max,1);0>=b&&(b=1),b!==this.max&&(this.max=b)}if("value"in a&&!isNaN(this.value)){var c=this._convert2Float(this.value,0);c=Math.max(0,Math.min(this.max,c)),c!==this.value&&(this.value=c)}this.position=isNaN(this.value)?-1:this.value/this.max},refreshRendering:function(a){"max"in a&&this.setAttribute("aria-valuemax",this.max),("value"in a||"max"in a)&&(-1===this.position?(this.indicatorNode.style.removeProperty("width"),this.removeAttribute("aria-valuenow")):(this.indicatorNode.style.width=100*this.position+"%",this.msgInvertNode.style.width=window.getComputedStyle(this.msgNode).getPropertyValue("width"),this.setAttribute("aria-valuenow",this.value))),this.msgNode.innerHTML=this.msgInvertNode.innerHTML=this.formatMessage(this.position,this.value,this.max);var c=this.displayExtMsg&&-1!==this.position;b(this.msgNode).toggleClass(this.baseClass+"-msg-ext",c),c?this.msgNode.setAttribute("msg-ext",this.formatExtMsg(this.position,this.value,this.max)):this.msgNode.removeAttribute("msg-ext"),this.message&&-1===this.position?this.setAttribute("aria-valuetext",this.message):this.removeAttribute("aria-valuetext"),b(this).toggleClass(this.baseClass+"-indeterminate",-1===this.position)},postRender:function(){this.notifyCurrentValue("value","max")},formatMessage:function(a,b,d){if(!this._numberFormat||this._prevLang!==this.lang||this._numberFormat.resolvedOptions().minimumFractionDigits!==this.fractionDigits){var e={style:"percent",minimumFractionDigits:this.fractionDigits,maximumFractionDigits:this.fractionDigits};this._numberFormat=new c.NumberFormat(this.lang||void 0,e),this._prevLang=this.lang}return this.message?this.message:isNaN(b)?"":this._numberFormat.format(a)},formatExtMsg:function(a,b,c){return b+"/"+c},_convert2Float:function(a,b){var c=parseFloat(a);return(isNaN(c)||c===1/0)&&(c=b),c}})}),define("deliteful/LinearLayout",["requirejs-dplugins/jquery!attributes/classes","delite/register","delite/DisplayContainer","delite/theme!./LinearLayout/themes/{{theme}}/LinearLayout.css"],function(a,b,c){return b("d-linear-layout",[HTMLElement,c],{baseClass:"d-linear-layout",vertical:!0,refreshRendering:function(b){"vertical"in b&&(a(this).toggleClass("-d-linear-layout-v",this.vertical),a(this).toggleClass("-d-linear-layout-h",!this.vertical))},postRender:function(){this.notifyCurrentValue("vertical")}})}),define("deliteful/Combobox/nls/Combobox",{root:{"multiple-choice":"multiple choice","multiple-choice-no-selection":"Select option(s)","search-placeholder":"Search","ok-button-label":"OK","cancel-button-label":"Cancel"}}),define("requirejs-text/text!deliteful/Combobox/ComboPopup.html",[],function(){return'\n'; -}),define("deliteful/Combobox/ComboPopup",["delite/register","requirejs-dplugins/jquery!attributes/classes","delite/Widget","delite/handlebars!./ComboPopup.html"],function(a,b,c,d){return a("d-combo-popup",[HTMLElement,c],{baseClass:"d-combo-popup",template:d,combobox:null,refreshRendering:function(a){if("combobox"in a&&this.combobox){var c=this.combobox.list;c&&(c.placeAt(this.listNode,"replace"),b(c).addClass("fill")),this.combobox._prepareInput(this.inputNode)}},okHandler:function(){this.combobox._validateMultiple(this.combobox.inputNode),this.combobox.closeDropDown()},cancelHandler:function(){this.combobox.list.selectedItems=this.combobox._selectedItems,this.combobox.closeDropDown()}})}),define("requirejs-text/text!deliteful/Combobox/Combobox.html",[],function(){return'\n'}),define("deliteful/Combobox",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes,event","dstore/Filter","decor/sniff","delite/register","delite/FormValueWidget","delite/HasDropDown","delite/keys","./list/List","./features!desktop-like-channel?:./Combobox/ComboPopup","delite/handlebars!./Combobox/Combobox.html","requirejs-dplugins/i18n!./Combobox/nls/Combobox","delite/theme!./Combobox/themes/{{theme}}/Combobox.css"],function(a,b,c,d,e,f,g,h,i,j,k,l){return e("d-combobox",[HTMLElement,g,f],{baseClass:"d-combobox",template:k,autoFilter:!1,filterMode:"startsWith",ignoreCase:!0,selectionMode:"single",list:null,_inputReadOnly:!0,searchPlaceHolder:l["search-placeholder"],multipleChoiceMsg:l["multiple-choice"],multipleChoiceNoSelectionMsg:l["multiple-choice-no-selection"],okMsg:l["ok-button-label"],cancelMsg:l["cancel-button-label"],preRender:function(){this.list=new i,this._defaultList=this.list},refreshRendering:function(a){var b=!1;"list"in a&&this._initList(),"selectionMode"in a&&(b=!0,this.list&&(this.list.selectionMode="single"===this.selectionMode?"radio":"multiple")),("autoFilter"in a||"readOnly"in a)&&(b=!0),b&&(this._updateInputReadOnly(),this._setSelectable(this.inputNode,!this.inputNode.readOnly))},_updateInputReadOnly:function(){var a=this._inputReadOnly;this._inputReadOnly=this.readOnly||!this.autoFilter||this._useCenteredDropDown()||"multiple"===this.selectionMode,this._inputReadOnly===a&&this.notifyCurrentValue("_inputReadOnly")},_setSelectable:function(a,c){c?(a.removeAttribute("unselectable"),b(a).css("user-select","").off("selectstart",!1)):(a.setAttribute("unselectable","on"),b(a).css("user-select","none").on("selectstart",!1))},attachedCallback:function(){if(this.valueNode.form&&this.on("reset",function(){this.defer(function(){(this.value!==this.valueNode.value||"multiple"===this.selectionMode)&&this._initValue()})}.bind(this),this.valueNode.form),this.list===this._defaultList){var a=this.querySelector("d-list");a?a.attached?this.list=a:a.addEventListener("customelement-attached",this._attachedlistener=function(){a.removeEventListener("customelement-attached",this._attachedlistener),this.list=a,this.deliver()}.bind(this)):this.notifyCurrentValue("list")}delete this._defaultList},_initList:function(){this.list.attached||this.list.attachedCallback(),b(this.list).addClass("d-combobox-list"),b(this.list).addClass("d-combobox-list-hidden"),this.list.setAttribute("role","listbox"),this.list.focusDescendants=!1,this.list.selectionMode="single"===this.selectionMode?"radio":"multiple";var a=this._createDropDown(),c=this.getAttribute("dir");c&&a.setAttribute("dir",c),this.dropDown=a,this.dropDown.focusOnOpen=!1,this.dropDown.focus=null,this._initHandlers(),this._initValue()},_initHandlers:function(){this._initHandlersDone||(this._initHandlersDone=!0,this.list.on("keynav-child-navigated",function(a){var b=this._popupInput||this.inputNode,c=a.newValue,d=this.list.getEnclosingRenderer(c),e=d.item;b.setAttribute("aria-activedescendant",c.id),"single"!==this.selectionMode||this.list.isSelected(e)||this.list.selectFromEvent(a,e,d,!0),!a.triggerEvent||"keydown"!==a.triggerEvent.type&&"keypress"!==a.triggerEvent.type||this._updateScroll(e,!0)}.bind(this)),this.list.on("click",function(a){if("single"===this.selectionMode){var b=this.list.getEnclosingRenderer(a.target);b&&!this.list.isCategoryRenderer(b)&&this.defer(function(){this.closeDropDown(!0)}.bind(this),100)}}.bind(this)),this.list.on("selection-change",function(){"single"===this.selectionMode&&this._validateSingle(),this.handleOnInput(this.value)}.bind(this)),this.list.observe(function(a){"selectedItems"in a&&("single"===this.selectionMode?this._validateSingle():"multiple"===this.selectionMode&&this._validateMultiple(this._popupInput||this.inputNode))}.bind(this)),this._prepareInput(this.inputNode))},_initValue:function(){if("single"===this.selectionMode){var a=function(){var a,b,c=this.list.selectedItem,d=!1;if(c)b=this._getItemLabel(c),a=this._getItemValue(c),d=!0;else{var e=this.list.getItemRendererByIndex(0);e&&(b=this._getItemRendererLabel(e),a=this._getItemRendererValue(e),this.list.selectedItem=e.item,d=!0)}return d&&(this.inputNode.value=b,this._set("value",a),this.valueNode.value=a),d}.bind(this);a()||this.list.on("query-success",function(){a()})}else this.inputNode.value=this.multipleChoiceNoSelectionMsg,this.value=[],this.valueNode.value=""},_getItemRendererLabel:function(a){return this._getItemLabel(a.item)},_getItemRendererValue:function(a){return this._getItemValue(a.item)},_getItemLabel:function(a){return a.label},_getItemValue:function(a){return"value"in a?a.value:a.label},_useCenteredDropDown:function(){return!!j},_createDropDown:function(){this._updateInputReadOnly();var a=this._useCenteredDropDown(),b=a?this.createCenteredDropDown():this.createAboveBelowDropDown();return this.dropDownPosition=a?["center"]:["below","above"],b},createAboveBelowDropDown:function(){return this.list},createCenteredDropDown:function(){return new j({combobox:this})},_prepareInput:function(a){this.on("input",function(b){this.filter(a.value),this.openDropDown(),b.stopPropagation(),b.preventDefault()}.bind(this),a),this.on("change",function(a){a.stopPropagation(),a.preventDefault()}.bind(this),a),this.on("keydown",function(b){if(a.readOnly&&b.keyCode===h.BACKSPACE)b.stopPropagation(),b.preventDefault();else if(b.keyCode===h.ENTER)b.stopPropagation(),b.preventDefault(),this.opened&&this.closeDropDown(!0);else if(b.keyCode===h.SPACE){if("multiple"===this.selectionMode){var c=this.list.getEnclosingRenderer(this.list.navigatedDescendant);this.list.selectFromEvent(b,c.item,c,!0)}"multiple"!==this.selectionMode&&this.autoFilter||(b.stopPropagation(),b.preventDefault())}else(b.keyCode===h.DOWN_ARROW||b.keyCode===h.UP_ARROW||b.keyCode===h.PAGE_DOWN||b.keyCode===h.PAGE_UP||b.keyCode===h.HOME||b.keyCode===h.END)&&(this._useCenteredDropDown()&&this.list.emit("keydown",b),b.stopPropagation(),b.preventDefault())}.bind(this),a)},_validateSingle:function(){var a=this.list.selectedItem;this.inputNode.value=a?this._getItemLabel(a):"",this.value=a?this._getItemValue(a):""},_validateMultiple:function(a){var b=this.list.selectedItems,c=b?b.length:0,d=[];if(c>1){a.value=this.multipleChoiceMsg;for(var e=0;c>e;e++)d.push(b[e]?this._getItemValue(b[e]):"")}else if(1===c){var f=this.list.selectedItem;a.value=this._getItemLabel(f),d.push(this._getItemValue(f))}else a.value=this.multipleChoiceNoSelectionMsg;this._set("value",d),this.valueNode.value=d,this.handleOnInput(this.value)},filter:function(a){"startsWith"===this.filterMode?a="^"+a:"is"===this.filterMode&&(a="^"+a+"$");var b=new RegExp(a,this.ignoreCase?"i":"");this.list.query=(new c).match(this.list.labelAttr,b)},openDropDown:a.superCall(function(a){return function(){this._selectedItems=this.list.selectedItems,this.opened||this.defer(function(){this.list._hideLoadingPanel(),this.focusNode.focus()}.bind(this),300);var b=a.apply(this,arguments);return b.then(function(){this._updateScroll(void 0,!0)}.bind(this))}}),closeDropDown:a.superCall(function(a){return function(){if(this._selectedItems=null,this.opened&&(this.handleOnChange(this.value),this.list.query={},"single"===this.selectionMode&&this.autoFilter)){var b=this.list.selectedItem;b&&((this._popupInput||this.inputNode).value=this._getItemLabel(this.list.selectedItem))}a.apply(this,arguments)}}),_updateScroll:function(a,b){if(!a){var c=this.list.selectedItems;a=c&&c.length>0?c[0]:null}if(a){var d=this.list.getIdentity(a),e=this.list.getRendererByItemId(d);e&&(this.list.scrollBy({y:this.list.getBottomDistance(e)}),b&&(this.list.navigatedDescendant=e.childNodes[0]))}}})}),define("dstore/Filter",["dojo/_base/declare"],function(a){function b(a){return function(){var c=this.constructor,d=new c;return d.type=a,d.args=arguments,this.type?b("and").call(c.prototype,this,d):d}}var c=a(null,{constructor:function(a){var b=typeof a;switch(b){case"object":var c=this;for(var d in a){var e=a[d];c=e instanceof this.constructor?c[e.type](d,e.args[0]):e&&e.test?c.match(d,e):c.eq(d,e)}this.type=c.type,this.args=c.args;break;case"function":case"string":this.type=b,this.args=[a]}},and:b("and"),or:b("or"),eq:b("eq"),ne:b("ne"),lt:b("lt"),lte:b("lte"),gt:b("gt"),gte:b("gte"),"in":b("in"),match:b("match")});return c.filterCreator=b,c}),define("requirejs-text/text!deliteful/Checkbox/Checkbox.html",[],function(){return'\n'}),define("deliteful/Checkbox",["dcl/dcl","delite/register","delite/FormWidget","./Toggle","delite/handlebars!./Checkbox/Checkbox.html","delite/theme!./Checkbox/themes/{{theme}}/Checkbox.css"],function(a,b,c,d,e){var f;return b("d-checkbox",[HTMLElement,c,d],{baseClass:"d-checkbox",template:e,postRender:function(){this._lbl4=null,this.on("click",this._inputClickHandler.bind(this),this.focusNode),this.on("change",this._inputClickHandler.bind(this),this.focusNode)},_inputClickHandler:function(){this.checked=this.focusNode.checked},attachedCallback:function(){f||(f=function(a){var b;if(/label/i.test(a.target.tagName)&&(b=a.target.getAttribute("for"))){var c=document.getElementById(b);c&&c.render&&void 0!==c._lbl4&&c.focusNode.click()}},this.ownerDocument.addEventListener("click",f))}})}),define("deliteful/Button/bidi/Button",["dcl/dcl","dpointer/events"],function(a){return a(null,{refreshRendering:function(a){("textDir"in a||"label"in a)&&(this.labelNode.textContent=this.applyTextDirection(this.label)),this.title&&"textDir"in a&&(this.title=this.applyTextDirection(this.title))},postRender:function(){this.on("pointerover",this._pointerOverHandler.bind(this))},_pointerOverHandler:function(){this.title&&(this.title=this.applyTextDirection(this.title))}})}),define("requirejs-text/text!deliteful/Button/Button.html",[],function(){return''}),define("deliteful/Button",["dcl/dcl","requirejs-dplugins/has","delite/register","delite/Widget","requirejs-dplugins/has!bidi?./Button/bidi/Button","delite/handlebars!./Button/Button.html","delite/theme!./Button/themes/{{theme}}/Button.css"],function(a,b,c,d,e,f){var g=a(d,{label:"",iconClass:"",baseClass:"d-button",template:f,preRender:function(){this.label||(this.label=this.textContent.trim(),this.innerHTML="")},computeProperties:function(a){("title"in a||"label"in a)&&(this.title=this.title||this.label||"")}}),h=c("d-button",b("bidi")?[HTMLButtonElement,g,e]:[HTMLButtonElement,g]);return h.Impl=g,h}); +}),define("deliteful/Combobox/ComboPopup",["delite/register","requirejs-dplugins/jquery!attributes/classes","delite/Widget","delite/handlebars!./ComboPopup.html"],function(a,b,c,d){return a("d-combo-popup",[HTMLElement,c],{baseClass:"d-combo-popup",template:d,combobox:null,refreshRendering:function(a){if("combobox"in a&&this.combobox){var c=this.combobox.list;c&&(c.placeAt(this.listNode,"replace"),b(c).addClass("fill")),this.combobox._prepareInput(this.inputNode)}},okHandler:function(){this.combobox._validateMultiple(this.combobox.inputNode),this.combobox.closeDropDown()},cancelHandler:function(){this.combobox.list.selectedItems=this.combobox._selectedItems,this.combobox.closeDropDown()}})}),define("requirejs-text/text!deliteful/Combobox/Combobox.html",[],function(){return'\n'}),define("deliteful/Combobox",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes,event","dstore/Filter","decor/sniff","delite/register","delite/FormValueWidget","delite/HasDropDown","delite/keys","./list/List","./features!desktop-like-channel?:./Combobox/ComboPopup","delite/handlebars!./Combobox/Combobox.html","requirejs-dplugins/i18n!./Combobox/nls/Combobox","delite/theme!./Combobox/themes/{{theme}}/Combobox.css"],function(a,b,c,d,e,f,g,h,i,j,k,l){return e("d-combobox",[HTMLElement,g,f],{baseClass:"d-combobox",template:k,autoFilter:!1,filterMode:"startsWith",ignoreCase:!0,selectionMode:"single",list:null,_inputReadOnly:!0,searchPlaceHolder:l["search-placeholder"],multipleChoiceMsg:l["multiple-choice"],multipleChoiceNoSelectionMsg:l["multiple-choice-no-selection"],okMsg:l["ok-button-label"],cancelMsg:l["cancel-button-label"],preRender:function(){this.list=new i,this._defaultList=this.list},refreshRendering:function(a){var b=!1;"list"in a&&this._initList(),"selectionMode"in a&&(b=!0,this.list&&(this.list.selectionMode="single"===this.selectionMode?"radio":"multiple")),("autoFilter"in a||"readOnly"in a)&&(b=!0),b&&(this._updateInputReadOnly(),this._setSelectable(this.inputNode,!this.inputNode.readOnly))},_updateInputReadOnly:function(){var a=this._inputReadOnly;this._inputReadOnly=this.readOnly||!this.autoFilter||this._useCenteredDropDown()||"multiple"===this.selectionMode,this._inputReadOnly===a&&this.notifyCurrentValue("_inputReadOnly")},_setSelectable:function(a,c){c?(a.removeAttribute("unselectable"),b(a).css("user-select","").off("selectstart",!1)):(a.setAttribute("unselectable","on"),b(a).css("user-select","none").on("selectstart",!1))},attachedCallback:function(){if(this.valueNode.form&&this.on("reset",function(){this.defer(function(){(this.value!==this.valueNode.value||"multiple"===this.selectionMode)&&this._initValue()})}.bind(this),this.valueNode.form),this.list===this._defaultList){var a=this.querySelector("d-list");a?a.attached?this.list=a:a.addEventListener("customelement-attached",this._attachedlistener=function(){a.removeEventListener("customelement-attached",this._attachedlistener),this.list=a,this.deliver()}.bind(this)):this.notifyCurrentValue("list")}delete this._defaultList},_initList:function(){this.list.attached||this.list.attachedCallback(),b(this.list).addClass("d-combobox-list"),b(this.list).addClass("d-combobox-list-hidden"),this.list.setAttribute("role","listbox"),this.list.focusDescendants=!1,this.list.selectionMode="single"===this.selectionMode?"radio":"multiple";var a=this._createDropDown(),c=this.getAttribute("dir");c&&a.setAttribute("dir",c),this.dropDown=a,this.dropDown.focusOnOpen=!1,this.dropDown.focus=null,this._initHandlers(),this._initValue()},_initHandlers:function(){this._initHandlersDone||(this._initHandlersDone=!0,this.list.on("keynav-child-navigated",function(a){var b=this._popupInput||this.inputNode,c=a.newValue,d=this.list.getEnclosingRenderer(c),e=d.item;b.setAttribute("aria-activedescendant",c.id),"single"!==this.selectionMode||this.list.isSelected(e)||this.list.selectFromEvent(a,e,d,!0),!a.triggerEvent||"keydown"!==a.triggerEvent.type&&"keypress"!==a.triggerEvent.type||this._updateScroll(e,!0)}.bind(this)),this.list.on("click",function(a){if("single"===this.selectionMode){var b=this.list.getEnclosingRenderer(a.target);b&&!this.list.isCategoryRenderer(b)&&this.defer(function(){this.closeDropDown(!0)}.bind(this),100)}}.bind(this)),this.list.on("selection-change",function(){"single"===this.selectionMode&&this._validateSingle(),this.handleOnInput(this.value)}.bind(this)),this.list.observe(function(a){"selectedItems"in a&&("single"===this.selectionMode?this._validateSingle():"multiple"===this.selectionMode&&this._validateMultiple(this._popupInput||this.inputNode))}.bind(this)),this._prepareInput(this.inputNode))},_initValue:function(){if("single"===this.selectionMode){var a=function(){var a,b,c=this.list.selectedItem,d=!1;if(c)b=this._getItemLabel(c),a=this._getItemValue(c),d=!0;else{var e=this.list.getItemRendererByIndex(0);e&&(b=this._getItemRendererLabel(e),a=this._getItemRendererValue(e),this.list.selectedItem=e.item,d=!0)}return d&&(this.inputNode.value=b,this._set("value",a),this.valueNode.value=a),d}.bind(this);a()||this.list.on("query-success",function(){a()})}else this.inputNode.value=this.multipleChoiceNoSelectionMsg,this.value=[],this.valueNode.value=""},_getItemRendererLabel:function(a){return this._getItemLabel(a.item)},_getItemRendererValue:function(a){return this._getItemValue(a.item)},_getItemLabel:function(a){return a.label},_getItemValue:function(a){return"value"in a?a.value:a.label},_useCenteredDropDown:function(){return!!j},_createDropDown:function(){this._updateInputReadOnly();var a=this._useCenteredDropDown(),b=a?this.createCenteredDropDown():this.createAboveBelowDropDown();return this.dropDownPosition=a?["center"]:["below","above"],b},createAboveBelowDropDown:function(){return this.list},createCenteredDropDown:function(){return new j({combobox:this})},_prepareInput:function(a){this.on("input",function(b){this.filter(a.value),this.openDropDown(),b.stopPropagation(),b.preventDefault()}.bind(this),a),this.on("change",function(a){a.stopPropagation(),a.preventDefault()}.bind(this),a),this.on("keydown",function(b){if(a.readOnly&&b.keyCode===h.BACKSPACE)b.stopPropagation(),b.preventDefault();else if(b.keyCode===h.ENTER)b.stopPropagation(),b.preventDefault(),this.opened&&this.closeDropDown(!0);else if(b.keyCode===h.SPACE){if("multiple"===this.selectionMode){var c=this.list.getEnclosingRenderer(this.list.navigatedDescendant);this.list.selectFromEvent(b,c.item,c,!0)}"multiple"!==this.selectionMode&&this.autoFilter||(b.stopPropagation(),b.preventDefault())}else(b.keyCode===h.DOWN_ARROW||b.keyCode===h.UP_ARROW||b.keyCode===h.PAGE_DOWN||b.keyCode===h.PAGE_UP||b.keyCode===h.HOME||b.keyCode===h.END)&&(this._useCenteredDropDown()&&this.list.emit("keydown",b),b.stopPropagation(),b.preventDefault())}.bind(this),a)},_validateSingle:function(){var a=this.list.selectedItem;this.inputNode.value=a?this._getItemLabel(a):"",this.value=a?this._getItemValue(a):""},_validateMultiple:function(a){var b=this.list.selectedItems,c=b?b.length:0,d=[];if(c>1){a.value=this.multipleChoiceMsg;for(var e=0;c>e;e++)d.push(b[e]?this._getItemValue(b[e]):"")}else if(1===c){var f=this.list.selectedItem;a.value=this._getItemLabel(f),d.push(this._getItemValue(f))}else a.value=this.multipleChoiceNoSelectionMsg;this._set("value",d),this.valueNode.value=d,this.handleOnInput(this.value)},filter:function(a){"startsWith"===this.filterMode?a="^"+a:"is"===this.filterMode&&(a="^"+a+"$");var b=new RegExp(a,this.ignoreCase?"i":"");this.list.query=(new c).match(this.list.labelAttr,b)},openDropDown:a.superCall(function(a){return function(){this._selectedItems=this.list.selectedItems,this.opened||this.defer(function(){this.list._hideLoadingPanel(),this.focusNode.focus()}.bind(this),300);var b=a.apply(this,arguments);return b.then(function(){this._updateScroll(void 0,!0)}.bind(this))}}),closeDropDown:a.superCall(function(a){return function(){if(this._selectedItems=null,this.opened&&(this.handleOnChange(this.value),this.list.query={},"single"===this.selectionMode&&this.autoFilter)){var b=this.list.selectedItem;b&&((this._popupInput||this.inputNode).value=this._getItemLabel(this.list.selectedItem))}a.apply(this,arguments)}}),_updateScroll:function(a,b){if(!a){var c=this.list.selectedItems;a=c&&c.length>0?c[0]:null}if(a){var d=this.list.getIdentity(a),e=this.list.getRendererByItemId(d);e&&(this.list.scrollBy({y:this.list.getBottomDistance(e)}),b&&(this.list.navigatedDescendant=e.childNodes[0]))}}})}),define("requirejs-text/text!deliteful/Checkbox/Checkbox.html",[],function(){return'\n'}),define("deliteful/Checkbox",["dcl/dcl","delite/register","delite/FormWidget","./Toggle","delite/handlebars!./Checkbox/Checkbox.html","delite/theme!./Checkbox/themes/{{theme}}/Checkbox.css"],function(a,b,c,d,e){var f;return b("d-checkbox",[HTMLElement,c,d],{baseClass:"d-checkbox",template:e,postRender:function(){this._lbl4=null,this.on("click",this._inputClickHandler.bind(this),this.focusNode),this.on("change",this._inputClickHandler.bind(this),this.focusNode)},_inputClickHandler:function(){this.checked=this.focusNode.checked},attachedCallback:function(){f||(f=function(a){var b;if(/label/i.test(a.target.tagName)&&(b=a.target.getAttribute("for"))){var c=document.getElementById(b);c&&c.render&&void 0!==c._lbl4&&c.focusNode.click()}},this.ownerDocument.addEventListener("click",f))}})}),define("deliteful/Button/bidi/Button",["dcl/dcl","dpointer/events"],function(a){return a(null,{refreshRendering:function(a){("textDir"in a||"label"in a)&&(this.labelNode.textContent=this.applyTextDirection(this.label)),this.title&&"textDir"in a&&(this.title=this.applyTextDirection(this.title))},postRender:function(){this.on("pointerover",this._pointerOverHandler.bind(this))},_pointerOverHandler:function(){this.title&&(this.title=this.applyTextDirection(this.title))}})}),define("requirejs-text/text!deliteful/Button/Button.html",[],function(){return''}),define("deliteful/Button",["dcl/dcl","requirejs-dplugins/has","delite/register","delite/Widget","requirejs-dplugins/has!bidi?./Button/bidi/Button","delite/handlebars!./Button/Button.html","delite/theme!./Button/themes/{{theme}}/Button.css"],function(a,b,c,d,e,f){var g=a(d,{label:"",iconClass:"",baseClass:"d-button",template:f,preRender:function(){this.label||(this.label=this.textContent.trim(),this.innerHTML="")},computeProperties:function(a){("title"in a||"label"in a)&&(this.title=this.title||this.label||"")}}),h=c("d-button",b("bidi")?[HTMLButtonElement,g,e]:[HTMLButtonElement,g]);return h.Impl=g,h}); //# sourceMappingURL=layer.map var paths = {}; !require.s.contexts._.config.paths["deliteful"] && (paths["deliteful"] = "deliteful-build"); diff --git a/layer.map b/layer.map index 205212c..ed43ae4 100644 --- a/layer.map +++ b/layer.map @@ -1 +1 @@ -{"version":3,"file":"layer.js","sources":["..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\_LoadingPanel.html.js","..\\..\\tmp\\deliteful\\list\\_LoadingPanel.js","..\\..\\tmp\\deliteful\\list\\Renderer.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\_PageLoaderRenderer.html.js","..\\..\\tmp\\deliteful\\list\\PageableList.js","..\\..\\tmp\\dojo\\string.js","..\\..\\tmp\\dojo\\_base\\kernel.js","..\\..\\tmp\\dojo\\_base\\config.js","..\\..\\tmp\\dojo\\has.js","..\\..\\tmp\\deliteful\\list\\List\\nls\\Pageable.js","..\\..\\tmp\\deliteful\\list\\List.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\ItemRenderer.html.js","..\\..\\tmp\\deliteful\\list\\ItemRenderer.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\CategoryRenderer.html.js","..\\..\\tmp\\deliteful\\list\\CategoryRenderer.js","..\\..\\tmp\\deliteful\\features.js","..\\..\\tmp\\deliteful\\channelBreakpoints.js","..\\..\\tmp\\deliteful\\ViewStack.js","..\\..\\tmp\\deliteful\\ViewIndicator.js","..\\..\\tmp\\deliteful\\ToggleButton\\bidi\\ToggleButton.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\ToggleButton\\ToggleButton.html.js","..\\..\\tmp\\deliteful\\ToggleButton.js","..\\..\\tmp\\deliteful\\Toggle.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Toaster\\ToasterMessage.html.js","..\\..\\tmp\\deliteful\\ToasterMessage.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Toaster\\Toaster.html.js","..\\..\\tmp\\deliteful\\Toaster.js","..\\..\\tmp\\deliteful\\Switch\\bidi\\Switch.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Switch\\Switch.html.js","..\\..\\tmp\\deliteful\\Switch.js","..\\..\\tmp\\deliteful\\SwapView.js","..\\..\\tmp\\deliteful\\Store.js","..\\..\\tmp\\deliteful\\StarRating\\nls\\StarRating.js","..\\..\\tmp\\deliteful\\StarRating.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Slider\\Slider.html.js","..\\..\\tmp\\deliteful\\Slider.js","..\\..\\tmp\\deliteful\\SidePane.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Select\\Select.html.js","..\\..\\tmp\\deliteful\\Select.js","..\\..\\tmp\\deliteful\\ScrollableContainer.js","..\\..\\tmp\\deliteful\\ResponsiveColumns.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\RadioButton\\RadioButton.html.js","..\\..\\tmp\\deliteful\\RadioButton.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\ProgressIndicator\\ProgressIndicator.html.js","..\\..\\tmp\\deliteful\\ProgressIndicator.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\ProgressBar\\ProgressBar.html.js","..\\..\\tmp\\deliteful\\ProgressBar.js","..\\..\\tmp\\deliteful\\LinearLayout.js","..\\..\\tmp\\deliteful\\Combobox\\nls\\Combobox.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Combobox\\ComboPopup.html.js","..\\..\\tmp\\deliteful\\Combobox\\ComboPopup.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Combobox\\Combobox.html.js","..\\..\\tmp\\deliteful\\Combobox.js","..\\..\\tmp\\dstore\\Filter.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Checkbox\\Checkbox.html.js","..\\..\\tmp\\deliteful\\Checkbox.js","..\\..\\tmp\\deliteful\\Button\\bidi\\Button.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Button\\Button.html.js","..\\..\\tmp\\deliteful\\Button.js"],"names":["define","dcl","register","Widget","template","_LoadingPanel","message","HTMLElement","$","item","_focusableChildren","render","after","this","renderNode","Error","tabIndex","addClass","updateFocusableChildren","getFirst","length","getLast","getNext","child","getNextFocusableChild","getPrev","i","nodes","Array","prototype","slice","call","querySelectorAll","sort","a","b","navindexA","parseInt","getAttribute","navindexB","indexOf","node","id","fromChild","dir","fromChildIndex","nextChildIndex","string","Promise","has","List","Renderer","messages","_PageLoaderRenderer","baseClass","_setItemAttr","_set","loading","_label","innerHTML","loadMessage","_setLoadingAttr","beforeLoading","_destroyed","toggleClass","loadingMessage","_progressIndicator","active","_button","setAttribute","removeAttribute","afterLoading","postRender","on","_load","bind","_list","hasAttribute","self","resolve","reject","defer","performLoading","then","error","_queryError","pageLength","maxPages","loadPreviousMessage","loadNextMessage","autoPaging","_setAutoPagingAttr","value","_autoPagingHandle","remove","_scrollHandler","hideOnPageLoad","_collection","_firstLoaded","_lastLoaded","refreshRendering","props","_dataLoaded","_setBusy","_empty","_idPages","_loadNextPage","_previousPageLoader","substitute","_nextPageLoader","processCollection","superCall","sup","collection","apply","arguments","_updateIdPages","add","index","identity","pageFirstIndex","pageIndex","pageLastIndex","splice","_rangeSpec","start","count","results","fetchRange","end","items","page","map","itemToRenderItem","idPage","getIdentity","push","_nextPageReadyHandler","_loadPreviousPage","previousPageIds","unshift","_previousPageReadyHandler","_unloadPage","first","shift","_removeRenderer","getItemRendererByIndex","_createPreviousPageLoader","pop","getRendererByItemId","_createNextPageLoader","renderer","_getFirstVisibleRenderer","nextRenderer","nextElementSibling","navigatedDescendant","navigateTo","_renderNewItems","destroy","placeAt","previous","previousElementSibling","currentActiveElement","ownerDocument","activeElement","scrollBy","y","getTopDistance","focus","_getLastVisibleRenderer","next","getBottomDistance","_getLastRenderer","_getFirstRenderer","isTopScroll","_atExtremity","isBottomScroll","showLoadingPanel","itemRemoved","itemAdded","_untrack","_getNextRenderer","_spaceKeydownHandler","event","contains","target","preventDefault","handleSelection","getEnclosingRenderer","kernel","lang","ESCAPE_REGEXP","ESCAPE_MAP","&","<",">","\"","'","/","setObject","escape","str","replace","c","rep","num","buf","join","pad","text","size","ch","out","String","Math","ceil","transform","thisObject","global","hitch","v","match","key","format","getObject","toString","trim","test","charAt","substring","config","require","module","p","dijit","dojox","dojo","scopeMap","packageMap","_scopeName","noGlobals","baseUrl","isAsync","async","locale","rev","version","major","minor","patch","flag","revision","NaN","Function","exit","exitcode","quit","console","tn","cn","tcn","_fake","isDebug","deprecated","experimental","behaviour","extra","removal","warn","moduleName","modulePaths","paths","moduleUrl","url","result","toUrl","_hasResource","src","rawConfig","adviseHas","featureSet","prefix","booting","dojoConfig","djConfig","navigator","language","userLanguage","toLowerCase","isBrowser","window","location","document","doc","element","createElement","cache","name","now","force","process","versions","v8","load","Packages","addEventListener","maxTouchPoints","msMaxTouchPoints","screen","availWidth","innerWidth","form","attributes","clearElement","normalize","toAbsMid","tokens","get","skip","term","parentRequire","loaded","root","default-load-message","keys","CustomElement","Selection","KeyNav","StoreMap","Scrollable","ItemRenderer","CategoryRenderer","LoadingPanel","itemRenderer","categoryRenderer","labelAttr","iconclassAttr","righttextAttr","righticonclassAttr","categoryAttr","categoryFunc","multiCharSearchDuration","attr","_applyRole","_setScrollDirectionAttr","TypeError","scrollDirection","_setSelectionModeAttr","selectionMode","_cssClasses","cell","selected","selectable","multiselectable","currentRole","notifyCurrentValue","attachedCallback","removeClass","children","tagName","tag","computeProperties","_selectionClickHandle","_isCategorized","store","list","_hideLoadingPanel","deliver","renderers","getItemRenderers","getItemRendererIndex","nodeList","currentRenderer","currentNode","parentNode","updateRenderers","currentItem","itemSelected","isSelected","hasSelectionModifier","eventRenderer","isCategoryRenderer","selectFromEvent","role","status","hideContent","_showLoadingPanel","_loadingPanel","undefined","insertBefore","appendChild","findCustomElements","forEach","w","_previousFocusedChild","atTheTop","firstElementChild","firstRenderer","category","_createRenderers","fromIndex","previousItem","currentIndex","toIndex","documentFragment","createDocumentFragment","_createCategoryRenderer","_createItemRenderer","_addItemRenderer","atIndex","spec","_getInsertSpec","nodeRef","addCategoryAfter","addCategoryBefore","previousRenderer","_sameCategory","keepSelection","_getFocusedRenderer","nextFocusRenderer","removeChild","tabindex","renderer1","renderer2","querySelector","initItems","emit","renderItems","cancelable","bubbles","renderItem","newRenderer","itemUpdated","itemMoved","previousIndex","newIndex","round","offsetTop","getCurrentScroll","clientRect","getBoundingClientRect","offsetHeight","bottom","top","descendantSelector","enclosingRenderer","hasClass","_keynavKeyDownHandler","before","evt","defaultPrevented","keyCode","SPACE","_searchTimer","_gridKeydownHandler","_getFirst","_keynavDeactivatedHandler","_getLast","cells","last","downArrowKeyHandler","focusedRenderer","upArrowKeyHandler","pageUpKeyHandler","navigateToFirst","pageDownKeyHandler","navigateToLast","ENTER","F2","_enterActionableMode","TAB","shiftKey","ESCAPE","_leaveActionableMode","getParent","channelBreakpoints","mqAboveSmall","matchMedia","smallScreen","mqAboveMedium","mediumScreen","matches","DisplayContainer","setVisibility","val","style","visibility","display","setReverse","cleanCSS","className","split","filter","x","transitionClass","s","transition","reverse","selectedChildId","_pendingChild","_setSelectedChildIdAttr","getElementById","attached","show","_getSelectedChildIdAttr","_visibleChild","noTransition","_timing","_setChildrenVisibility","cdn","preRender","_transitionTiming","default","chrome","ios","android","mozilla","o","onAddChild","res","showNext","params","_showPreviousNext","showPrevious","args","mix","direction","ret","_doTransition","origin","promise","_setAfterTransitionHandlers","changeDisplay","widget","effectiveDir","dest","parent","body","holder","handle","_afterTransitionHandle","resolved","vb","removeEventListener","dpointer","viewStack","setTouchAction","e","_vsChildIndex","clientX","offsetLeft","offsetWidth","_attachViewStack","_refreshDots","_afterShowHandle","dot","oldVals","checked","checkedLabel","labelNode","textContent","applyTextDirection","label","title","_pointerOverHandler","Button","Toggle","BidiToggleButton","ToggleButton","Impl","checkedIconClass","HTMLButtonElement","CssState","initState","valueNode","focusNode","toggle","disabled","pointer","normalizeType","type","messageTypes","defaultType","messageTypeClass","normalizeDuration","duration","isNaN","defaultDuration","whichEvent","events","fakeElement","listenAnimationEvents","callback","animationendEvent","transitionendEvent","tmp","listener","el","ev","d","handler","SwipeToDismiss","_pointerDownHandler","state","startCapture","setPointerCapture","pointerId","_pointerMoveHandler","hasStarted","hasEnded","keepCapturing","_pointerUpHandler","endCapture","SwipeStateMachine","getEventLocation","clientY","opacity","distance","elementWidth","updateElement","gesture","left","clientWidth","resetElement","setUnderGestureCtrl","isExpirable","_timer","pause","releaseFromGestureCtrl","resume","MIN_HORIZONTAL","MIN_SPEED","trajectory","startTime","endTime","secondLast","speed","isLongEnough","isFastEnough","isDirectedToRight","loc","Date","getTime","isEnabled","signalDown","signalMove","signalUp","enable","disable","Timer","_start","_startDate","timer","setTimeout","_fulfilled","computeRemaining","rt","_remaining","clearTimeout","PauseTimerOnHover","hovering","_pointerLeaveHandler","eventHandlers","eventHandler","D_INVISIBLE","D_HIDDEN","D_SWIPEOUT","info","success","warning","animationendEvents","animation","-webkit-animation","-ms-animation","transitionendEvents","-webkit-transition","ToasterMessage","_setTypeAttr","_setDurationAttr","_dismissButton","dismissible","dismiss","_hideInDom","_isInserted","_hasExpired","_toBeRemoved","_isRemoved","isDismissible","_insertInDom","toaster","animated","wrapper","_wrapper","animationInitialClass","invertOrder","hasChildNodes","childNodes","own","_showInDom","animationEnterClass","swipeToDismiss","pauseTimerOnHover","customAnimation","animationQuitClass","_removeFromDom","animationEndClass","isRemovable","m","Toaster","placementClass","_emitExpiration","_emitInsertion","_emitRemoval","_getRemovableMsg","_allExpAreRemovable","l","postMessage","_addMessage","_innerNode","firstChild","lastChild","uncheckedLabel","Checkbox","BidiSwitch","_knobGlassNode","_clickPreventer","_cleanHandlers","stopPropagation","_startX","_curX","_pHandlers","_lostPointerCaptureHandler","h","dx","cs","getComputedStyle","_pushNode","width","_drag","abs","_innerWrapperNode","_knobWidth","_knobNode","_switchWidth","nw","max","min","oldCheckedValue","marginLeft","ViewStack","_dragThreshold","swapThreshold","_keyDownHandler","started","childOut","childIn","ended","rx","lv","floor","rv","right","_setTranslation","_setupTransitionEndHandlers","_setTransitionProperties","slideBack","PAGE_UP","PAGE_DOWN","_endTransitionHandler","_addTransitionEndHandlers","_endTransition","_clearTransitionProperties","_clearTranslation","webkitTransitionProperty","transitionProperty","webkitTransitionDuration","mozTransitionDuration","transitionDuration","percent","t","webkitTransform","Memory","Trackable","Store","createSubclass","STORE_TYPES","createdCallback","data","JSON","parse","j","idProperty","random","setData","_emit","_on","include","_includePropertyInSubCollection","constructor","_meta","aria-valuetext","FormValueWidget","editHalfValues","allowZero","_hovering","_otherEventsHandles","_mapAttributes","inputs","getElementsByTagName","parseFloat","_refreshStarsRendering","_refreshEditionEventHandlers","_updateZeroArea","createChildren","_updateStars","passive","readOnly","_keyDownHandle","_startHandles","_wireHandlers","_removeEventsHandlers","pointerType","newValue","_hoveredValue","_previousOnChangeValue","handleOnChange","incrementArrow","RIGHT_ARROW","LEFT_ARROW","decrementArrow","UP_ARROW","NUMPAD_PLUS","_incrementValue","DOWN_ARROW","NUMPAD_MINUS","_decrementValue","create","stars","_zeroSettingArea","starClass","boxFromElement","domElt","step","slideRange","vertical","flip","_orientationNames","false","clientStart","progressBarStart","progressBarSize","true","_propNames","_reversed","handleMin","tabStops","_isActive","_refreshOrientation","_refreshCSS","toCSS","modifier","rootBaseClass","containerNode","progressBar","_getValueAsArray","isDual","minValue","_convert2Float","_calculateDefaultValue","maxValue","maxV","_adjustValue","ltr","_refreshValueRendering","_positionHandles","currentVal","toPercent","toPercentMin","_pointerCtx","offsetVal","containerBox","pointerDownHandler","pointerMoveHandler","lostCaptureHandler","keyDownHandler","keyUpHandler","onmousedown","_setMinAttr","_setMaxAttr","_setStepAttr","defaultValue","Infinity","ratio","relativeMin","_ignoreUserInput","selectedVal","_selectedValue","_startSlideRange","relativePos","elementFromPoint","handleOnInput","_formatSelection","idx","multiplier","HOME","END","altKey","ctrlKey","metaKey","uiEvent","progressBarBox","currentPos","maxPos","pixel2value","pixelValue","pixelMin","pixelMax","valMin","valMax","sourceNode","updatedValue","delta","getNextSibling","nodeType","mode","position","animate","swipeClosing","_visible","_opening","_originX","_originY","overflow","_open","hide","_close","nextElement","_openImpl","_hideImpl","_resetInteractions","_refreshMode","_refreshPosition","_isLeft","pageX","pageY","_pressHandle","_moveHandle","_releaseHandle","pos","FormWidget","textAttr","valueAttr","disabledAttr","selectedIndex","_duringInteractiveSelection","selectedItems","selectedOptions","options","option","selectedOption","selectedItem","nSelectedItems","nSelectedOptions","__visualItem","__dataItem","n","fragment","__item","dataItem","_setValueAttr","Container","breakpoints","screenClass","_breakpoints","_layouts","_mqls","widgetId","_removeListeners","mql","removeListener","_checkConfiguration","sc","_parseJSONAttrs","layout","getChildren","_genCSS","thr","thresholds","sizeClasses","content","mqHeader","mediaPart","minPart","maxPart","mediaQueryList","class","addListener","styleBlockId","styleBlock","head","oldValues","_inputClickHandler","_related","input","getEnclosingWidget","r","_requestId","_lapsTime","_requestAnimationFunction","requestAnimationFrame","webkitRequestAnimationFrame","callBack","_cancelAnimationFunction","cancelAnimationFrame","webkitCancelRequestAnimationFrame","_requestRendering","animationFrame","_cancelRequestRendering","requestId","_reset","msgNode","lineNodeList","_stopAnimation","_startAnimation","frameAnimation","linesNode","symbolId","setAttributeNS","svgNode","height","textAnchor","color","getPropertyValue","currentColor","stroke","fill","correctedValue","minOpacity","Intl","displayExtMsg","fractionDigits","newMax","indicatorNode","removeProperty","msgInvertNode","formatMessage","hasExtMsg","formatExtMsg","_numberFormat","_prevLang","resolvedOptions","minimumFractionDigits","maximumFractionDigits","NumberFormat","fallbackValue","multiple-choice","multiple-choice-no-selection","search-placeholder","ok-button-label","cancel-button-label","combobox","listNode","_prepareInput","inputNode","okHandler","_validateMultiple","closeDropDown","cancelHandler","_selectedItems","Filter","HasDropDown","ComboPopup","autoFilter","filterMode","ignoreCase","_inputReadOnly","searchPlaceHolder","multipleChoiceMsg","multipleChoiceNoSelectionMsg","okMsg","cancelMsg","_defaultList","updateReadOnly","_initList","_updateInputReadOnly","_setSelectable","oldValue","_useCenteredDropDown","css","off","_initValue","_attachedlistener","focusDescendants","dropDown","_createDropDown","focusOnOpen","_initHandlers","_initHandlersDone","_popupInput","navigatedChild","rend","triggerEvent","_updateScroll","_validateSingle","observe","initValueSingleMode","done","_getItemLabel","_getItemValue","firstItemRenderer","_getItemRendererLabel","_getItemRendererValue","centeredDropDown","createCenteredDropDown","createAboveBelowDropDown","dropDownPosition","inputElement","openDropDown","BACKSPACE","opened","filterTxt","rexExp","RegExp","query","selItem","navigate","declare","filterCreator","filterArg","argType","eq","and","or","ne","lt","lte","gt","gte","in","labelClickHandler","_lbl4","forId","elt","click","BidiButton","iconClass","ButtonElt"],"mappings":";AAAAA,OAAO,gEAAgE,WAAc,MAAO,oTCI5FA,OAAO,gCACN,UACA,kBACA,gBACA,+CACE,SAAUC,EAAKC,EAAUC,EAAQC,GAQnC,GAAIC,GAAgBJ,GAAKE,IAOxBG,QAAS,GAETF,SAAUA,GAGX,OAAOF,GAAS,wBAAyBK,YAAaF,MC5BvDL,OAAO,2BACN,UACA,+CACA,kBACA,iBACE,SAAUC,EAAKO,EAAGN,EAAUC,GAmB9B,MAAOF,IAAKE,IAOXM,QASAC,mBAAoB,KAIpBC,OAAQV,EAAIW,MAAM,WACjB,IAAKC,KAAKC,WACT,KAAM,IAAIC,OAAM,iKAIjBF,MAAKC,WAAWE,SAAW,GAC3BR,EAAEK,KAAKC,YAAYG,SAAS,eAC5BJ,KAAKK,4BAUNC,SAAU,WACT,MAAIN,MAAKH,oBAAsBG,KAAKH,mBAAmBU,OAC/CP,KAAKH,mBAAmB,GAExB,MASTW,QAAS,WACR,MAAIR,MAAKH,oBAAsBG,KAAKH,mBAAmBU,OAC/CP,KAAKH,mBAAmBG,KAAKH,mBAAmBU,OAAS,GAEzD,MAUTE,QAAS,SAAUC,GAClB,MAAOV,MAAKW,sBAAsBD,EAAO,IAS1CE,QAAS,SAAUF,GAClB,MAAOV,MAAKW,sBAAsBD,EAAO,KAY1CL,wBAAyB,WACxB,GAAIL,KAAKH,mBACR,IAAK,GAAIgB,GAAI,EAAGA,EAAIb,KAAKH,mBAAmBU,OAAQM,UAC5Cb,MAAKH,mBAAmBgB,GAAGV,QAIpC,IAAIW,GAAQC,MAAMC,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RtiB,KAAKsiB,MAAQtiB,KAAKoiB,mBAAmBpiB,KAAKsiB,aC7B9CnjB,OAAO,sDAAsD,WAAc,MAAO,4OCClFA,OAAO,oBACN,UACA,yBACA,kBACA,gBACA,mDACA,yCACA,qDACE,SAAUC,EAAKgD,EAAK/C,EAAUC,EAAQqnC,EAAYpnC,GAkBpD,GAAIijB,GAASpjB,EAAIE,GAOhB+iB,MAAO,GAOPukB,UAAW,GAOXnkC,UAAW,WAEXlD,SAAUA,EAEV0f,UAAW,WAELjf,KAAKqiB,QACTriB,KAAKqiB,MAAQriB,KAAKmiB,YAAY9U,OAC9BrN,KAAK8C,UAAY,KAInB8S,kBAAmB,SAAUpQ,IACxB,SAAWA,IAAS,SAAWA,MAClCxF,KAAKsiB,MAAQtiB,KAAKsiB,OAAStiB,KAAKqiB,OAAS,OAKxCwkB,EAAYxnC,EAAS,WAAY+C,EAAI,SAAW0gB,kBAAmBN,EAAQmkB,IAC7E7jB,kBAAmBN,GAErB,OADAqkB,GAAUjkB,KAAOJ,EACVqkB"} \ No newline at end of file +{"version":3,"file":"layer.js","sources":["..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\_LoadingPanel.html.js","..\\..\\tmp\\deliteful\\list\\_LoadingPanel.js","..\\..\\tmp\\deliteful\\list\\Renderer.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\_PageLoaderRenderer.html.js","..\\..\\tmp\\deliteful\\list\\PageableList.js","..\\..\\tmp\\dojo\\string.js","..\\..\\tmp\\dojo\\_base\\kernel.js","..\\..\\tmp\\dojo\\_base\\config.js","..\\..\\tmp\\dojo\\has.js","..\\..\\tmp\\deliteful\\list\\List\\nls\\Pageable.js","..\\..\\tmp\\deliteful\\list\\List.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\ItemRenderer.html.js","..\\..\\tmp\\deliteful\\list\\ItemRenderer.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\list\\List\\CategoryRenderer.html.js","..\\..\\tmp\\deliteful\\list\\CategoryRenderer.js","..\\..\\tmp\\deliteful\\features.js","..\\..\\tmp\\deliteful\\channelBreakpoints.js","..\\..\\tmp\\deliteful\\ViewStack.js","..\\..\\tmp\\deliteful\\ViewIndicator.js","..\\..\\tmp\\deliteful\\ToggleButton\\bidi\\ToggleButton.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\ToggleButton\\ToggleButton.html.js","..\\..\\tmp\\deliteful\\ToggleButton.js","..\\..\\tmp\\deliteful\\Toggle.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Toaster\\ToasterMessage.html.js","..\\..\\tmp\\deliteful\\ToasterMessage.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Toaster\\Toaster.html.js","..\\..\\tmp\\deliteful\\Toaster.js","..\\..\\tmp\\deliteful\\Switch\\bidi\\Switch.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Switch\\Switch.html.js","..\\..\\tmp\\deliteful\\Switch.js","..\\..\\tmp\\deliteful\\SwapView.js","..\\..\\tmp\\deliteful\\Store.js","..\\..\\tmp\\deliteful\\StarRating\\nls\\StarRating.js","..\\..\\tmp\\deliteful\\StarRating.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Slider\\Slider.html.js","..\\..\\tmp\\deliteful\\Slider.js","..\\..\\tmp\\deliteful\\SidePane.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Select\\Select.html.js","..\\..\\tmp\\deliteful\\Select.js","..\\..\\tmp\\deliteful\\ScrollableContainer.js","..\\..\\tmp\\deliteful\\ResponsiveColumns.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\RadioButton\\RadioButton.html.js","..\\..\\tmp\\deliteful\\RadioButton.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\ProgressIndicator\\ProgressIndicator.html.js","..\\..\\tmp\\deliteful\\ProgressIndicator.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\ProgressBar\\ProgressBar.html.js","..\\..\\tmp\\deliteful\\ProgressBar.js","..\\..\\tmp\\deliteful\\LinearLayout.js","..\\..\\tmp\\deliteful\\Combobox\\nls\\Combobox.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Combobox\\ComboPopup.html.js","..\\..\\tmp\\deliteful\\Combobox\\ComboPopup.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Combobox\\Combobox.html.js","..\\..\\tmp\\deliteful\\Combobox.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Checkbox\\Checkbox.html.js","..\\..\\tmp\\deliteful\\Checkbox.js","..\\..\\tmp\\deliteful\\Button\\bidi\\Button.js","..\\..\\tmp\\requirejs-text\\text!deliteful\\Button\\Button.html.js","..\\..\\tmp\\deliteful\\Button.js"],"names":["define","dcl","register","Widget","template","_LoadingPanel","message","HTMLElement","$","item","_focusableChildren","render","after","this","renderNode","Error","tabIndex","addClass","updateFocusableChildren","getFirst","length","getLast","getNext","child","getNextFocusableChild","getPrev","i","nodes","Array","prototype","slice","call","querySelectorAll","sort","a","b","navindexA","parseInt","getAttribute","navindexB","indexOf","node","id","fromChild","dir","fromChildIndex","nextChildIndex","string","Promise","has","List","Renderer","messages","_PageLoaderRenderer","baseClass","_setItemAttr","_set","loading","_label","innerHTML","loadMessage","_setLoadingAttr","beforeLoading","_destroyed","toggleClass","loadingMessage","_progressIndicator","active","_button","setAttribute","removeAttribute","afterLoading","postRender","on","_load","bind","_list","hasAttribute","self","resolve","reject","defer","performLoading","then","error","_queryError","pageLength","maxPages","loadPreviousMessage","loadNextMessage","autoPaging","_setAutoPagingAttr","value","_autoPagingHandle","remove","_scrollHandler","hideOnPageLoad","_collection","_firstLoaded","_lastLoaded","refreshRendering","props","_dataLoaded","_setBusy","_empty","_idPages","_loadNextPage","_previousPageLoader","substitute","_nextPageLoader","processCollection","superCall","sup","collection","apply","arguments","_updateIdPages","add","index","identity","pageFirstIndex","pageIndex","pageLastIndex","splice","_rangeSpec","start","count","results","fetchRange","end","items","page","map","itemToRenderItem","idPage","getIdentity","push","_nextPageReadyHandler","_loadPreviousPage","previousPageIds","unshift","_previousPageReadyHandler","_unloadPage","first","shift","_removeRenderer","getItemRendererByIndex","_createPreviousPageLoader","pop","getRendererByItemId","_createNextPageLoader","renderer","_getFirstVisibleRenderer","nextRenderer","nextElementSibling","navigatedDescendant","navigateTo","_renderNewItems","destroy","placeAt","previous","previousElementSibling","currentActiveElement","ownerDocument","activeElement","scrollBy","y","getTopDistance","focus","_getLastVisibleRenderer","next","getBottomDistance","_getLastRenderer","_getFirstRenderer","isTopScroll","_atExtremity","isBottomScroll","showLoadingPanel","itemRemoved","itemAdded","_untrack","_getNextRenderer","_spaceKeydownHandler","event","contains","target","preventDefault","handleSelection","getEnclosingRenderer","kernel","lang","ESCAPE_REGEXP","ESCAPE_MAP","&","<",">","\"","'","/","setObject","escape","str","replace","c","rep","num","buf","join","pad","text","size","ch","out","String","Math","ceil","transform","thisObject","global","hitch","v","match","key","format","getObject","toString","trim","test","charAt","substring","config","require","module","p","dijit","dojox","dojo","scopeMap","packageMap","_scopeName","noGlobals","baseUrl","isAsync","async","locale","rev","version","major","minor","patch","flag","revision","NaN","Function","exit","exitcode","quit","console","tn","cn","tcn","_fake","isDebug","deprecated","experimental","behaviour","extra","removal","warn","moduleName","modulePaths","paths","moduleUrl","url","result","toUrl","_hasResource","src","rawConfig","adviseHas","featureSet","prefix","booting","dojoConfig","djConfig","navigator","language","userLanguage","toLowerCase","isBrowser","window","location","document","doc","element","createElement","cache","name","now","force","process","versions","v8","load","Packages","addEventListener","maxTouchPoints","msMaxTouchPoints","screen","availWidth","innerWidth","form","attributes","clearElement","normalize","toAbsMid","tokens","get","skip","term","parentRequire","loaded","root","default-load-message","keys","CustomElement","Selection","KeyNav","StoreMap","Scrollable","ItemRenderer","CategoryRenderer","LoadingPanel","itemRenderer","categoryRenderer","labelAttr","iconclassAttr","righttextAttr","righticonclassAttr","categoryAttr","categoryFunc","multiCharSearchDuration","attr","_applyRole","_setScrollDirectionAttr","TypeError","scrollDirection","_setSelectionModeAttr","selectionMode","_cssClasses","cell","selected","selectable","multiselectable","currentRole","notifyCurrentValue","attachedCallback","removeClass","children","tagName","tag","computeProperties","_selectionClickHandle","_isCategorized","store","list","_hideLoadingPanel","deliver","renderers","getItemRenderers","getItemRendererIndex","nodeList","currentRenderer","currentNode","parentNode","updateRenderers","currentItem","itemSelected","isSelected","hasSelectionModifier","eventRenderer","isCategoryRenderer","selectFromEvent","role","status","hideContent","_showLoadingPanel","_loadingPanel","undefined","insertBefore","appendChild","findCustomElements","forEach","w","_previousFocusedChild","atTheTop","firstElementChild","firstRenderer","category","_createRenderers","fromIndex","previousItem","currentIndex","toIndex","documentFragment","createDocumentFragment","_createCategoryRenderer","_createItemRenderer","_addItemRenderer","atIndex","spec","_getInsertSpec","nodeRef","addCategoryAfter","addCategoryBefore","previousRenderer","_sameCategory","keepSelection","_getFocusedRenderer","nextFocusRenderer","removeChild","tabindex","renderer1","renderer2","querySelector","initItems","emit","renderItems","cancelable","bubbles","renderItem","newRenderer","itemUpdated","itemMoved","previousIndex","newIndex","round","offsetTop","getCurrentScroll","clientRect","getBoundingClientRect","offsetHeight","bottom","top","descendantSelector","enclosingRenderer","hasClass","_keynavKeyDownHandler","before","evt","defaultPrevented","keyCode","SPACE","_searchTimer","_gridKeydownHandler","_getFirst","_keynavDeactivatedHandler","_getLast","cells","last","downArrowKeyHandler","focusedRenderer","upArrowKeyHandler","pageUpKeyHandler","navigateToFirst","pageDownKeyHandler","navigateToLast","ENTER","F2","_enterActionableMode","TAB","shiftKey","ESCAPE","_leaveActionableMode","getParent","channelBreakpoints","mqAboveSmall","matchMedia","smallScreen","mqAboveMedium","mediumScreen","matches","DisplayContainer","setVisibility","val","style","visibility","display","setReverse","cleanCSS","className","split","filter","x","transitionClass","s","transition","reverse","selectedChildId","_pendingChild","_setSelectedChildIdAttr","getElementById","attached","show","_getSelectedChildIdAttr","_visibleChild","noTransition","_timing","_setChildrenVisibility","cdn","preRender","_transitionTiming","default","chrome","ios","android","mozilla","o","onAddChild","res","showNext","params","_showPreviousNext","showPrevious","args","mix","direction","ret","_doTransition","origin","promise","_setAfterTransitionHandlers","changeDisplay","widget","effectiveDir","dest","parent","body","holder","handle","_afterTransitionHandle","resolved","vb","removeEventListener","dpointer","viewStack","setTouchAction","e","_vsChildIndex","clientX","offsetLeft","offsetWidth","_attachViewStack","_refreshDots","_afterShowHandle","dot","oldVals","checked","checkedLabel","labelNode","textContent","applyTextDirection","label","title","_pointerOverHandler","Button","Toggle","BidiToggleButton","ToggleButton","Impl","checkedIconClass","HTMLButtonElement","CssState","initState","valueNode","focusNode","toggle","disabled","pointer","normalizeType","type","messageTypes","defaultType","messageTypeClass","normalizeDuration","duration","isNaN","defaultDuration","whichEvent","events","fakeElement","listenAnimationEvents","callback","animationendEvent","transitionendEvent","tmp","listener","el","ev","d","handler","SwipeToDismiss","_pointerDownHandler","state","startCapture","setPointerCapture","pointerId","_pointerMoveHandler","hasStarted","hasEnded","keepCapturing","_pointerUpHandler","endCapture","SwipeStateMachine","getEventLocation","clientY","opacity","distance","elementWidth","updateElement","gesture","left","clientWidth","resetElement","setUnderGestureCtrl","isExpirable","_timer","pause","releaseFromGestureCtrl","resume","MIN_HORIZONTAL","MIN_SPEED","trajectory","startTime","endTime","secondLast","speed","isLongEnough","isFastEnough","isDirectedToRight","loc","Date","getTime","isEnabled","signalDown","signalMove","signalUp","enable","disable","Timer","_start","_startDate","timer","setTimeout","_fulfilled","computeRemaining","rt","_remaining","clearTimeout","PauseTimerOnHover","hovering","_pointerLeaveHandler","eventHandlers","eventHandler","D_INVISIBLE","D_HIDDEN","D_SWIPEOUT","info","success","warning","animationendEvents","animation","-webkit-animation","-ms-animation","transitionendEvents","-webkit-transition","ToasterMessage","_setTypeAttr","_setDurationAttr","_dismissButton","dismissible","dismiss","_hideInDom","_isInserted","_hasExpired","_toBeRemoved","_isRemoved","isDismissible","_insertInDom","toaster","animated","wrapper","_wrapper","animationInitialClass","invertOrder","hasChildNodes","childNodes","own","_showInDom","animationEnterClass","swipeToDismiss","pauseTimerOnHover","customAnimation","animationQuitClass","_removeFromDom","animationEndClass","isRemovable","m","Toaster","placementClass","_emitExpiration","_emitInsertion","_emitRemoval","_getRemovableMsg","_allExpAreRemovable","l","postMessage","_addMessage","_innerNode","firstChild","lastChild","uncheckedLabel","Checkbox","BidiSwitch","_knobGlassNode","_clickPreventer","_cleanHandlers","stopPropagation","_startX","_curX","_pHandlers","_lostPointerCaptureHandler","h","dx","cs","getComputedStyle","_pushNode","width","_drag","abs","_innerWrapperNode","_knobWidth","_knobNode","_switchWidth","nw","max","min","oldCheckedValue","marginLeft","ViewStack","_dragThreshold","swapThreshold","_keyDownHandler","started","childOut","childIn","ended","rx","lv","floor","rv","right","_setTranslation","_setupTransitionEndHandlers","_setTransitionProperties","slideBack","PAGE_UP","PAGE_DOWN","_endTransitionHandler","_addTransitionEndHandlers","_endTransition","_clearTransitionProperties","_clearTranslation","webkitTransitionProperty","transitionProperty","webkitTransitionDuration","mozTransitionDuration","transitionDuration","percent","t","webkitTransform","Memory","Trackable","Store","createSubclass","STORE_TYPES","createdCallback","data","JSON","parse","j","idProperty","random","setData","_emit","_on","include","_includePropertyInSubCollection","constructor","_meta","aria-valuetext","FormValueWidget","editHalfValues","allowZero","_hovering","_otherEventsHandles","_mapAttributes","inputs","getElementsByTagName","parseFloat","_refreshStarsRendering","_refreshEditionEventHandlers","_updateZeroArea","createChildren","_updateStars","passive","readOnly","_keyDownHandle","_startHandles","_wireHandlers","_removeEventsHandlers","pointerType","newValue","_hoveredValue","_previousOnChangeValue","handleOnChange","incrementArrow","RIGHT_ARROW","LEFT_ARROW","decrementArrow","UP_ARROW","NUMPAD_PLUS","_incrementValue","DOWN_ARROW","NUMPAD_MINUS","_decrementValue","create","stars","_zeroSettingArea","starClass","boxFromElement","domElt","step","slideRange","vertical","flip","_orientationNames","false","clientStart","progressBarStart","progressBarSize","true","_propNames","_reversed","handleMin","tabStops","_isActive","_refreshOrientation","_refreshCSS","toCSS","modifier","rootBaseClass","containerNode","progressBar","_getValueAsArray","isDual","minValue","_convert2Float","_calculateDefaultValue","maxValue","maxV","_adjustValue","ltr","_refreshValueRendering","_positionHandles","currentVal","toPercent","toPercentMin","_pointerCtx","offsetVal","containerBox","pointerDownHandler","pointerMoveHandler","lostCaptureHandler","keyDownHandler","keyUpHandler","onmousedown","_setMinAttr","_setMaxAttr","_setStepAttr","defaultValue","Infinity","ratio","relativeMin","_ignoreUserInput","selectedVal","_selectedValue","_startSlideRange","relativePos","elementFromPoint","handleOnInput","_formatSelection","idx","multiplier","HOME","END","altKey","ctrlKey","metaKey","uiEvent","progressBarBox","currentPos","maxPos","pixel2value","pixelValue","pixelMin","pixelMax","valMin","valMax","sourceNode","updatedValue","delta","getNextSibling","nodeType","mode","position","animate","swipeClosing","_visible","_opening","_originX","_originY","overflow","_open","hide","_close","nextElement","_openImpl","_hideImpl","_resetInteractions","_refreshMode","_refreshPosition","_isLeft","pageX","pageY","_pressHandle","_moveHandle","_releaseHandle","pos","FormWidget","textAttr","valueAttr","disabledAttr","selectedIndex","_duringInteractiveSelection","selectedItems","selectedOptions","options","option","selectedOption","selectedItem","nSelectedItems","nSelectedOptions","__visualItem","__dataItem","n","fragment","__item","dataItem","_setValueAttr","Container","breakpoints","screenClass","_breakpoints","_layouts","_mqls","widgetId","_removeListeners","mql","removeListener","_checkConfiguration","sc","_parseJSONAttrs","layout","getChildren","_genCSS","thr","thresholds","sizeClasses","content","mqHeader","mediaPart","minPart","maxPart","mediaQueryList","class","addListener","styleBlockId","styleBlock","head","oldValues","_inputClickHandler","_related","input","getEnclosingWidget","r","_requestId","_lapsTime","_requestAnimationFunction","requestAnimationFrame","webkitRequestAnimationFrame","callBack","_cancelAnimationFunction","cancelAnimationFrame","webkitCancelRequestAnimationFrame","_requestRendering","animationFrame","_cancelRequestRendering","requestId","_reset","msgNode","lineNodeList","_stopAnimation","_startAnimation","frameAnimation","linesNode","symbolId","setAttributeNS","svgNode","height","textAnchor","color","getPropertyValue","currentColor","stroke","fill","correctedValue","minOpacity","Intl","displayExtMsg","fractionDigits","newMax","indicatorNode","removeProperty","msgInvertNode","formatMessage","hasExtMsg","formatExtMsg","_numberFormat","_prevLang","resolvedOptions","minimumFractionDigits","maximumFractionDigits","NumberFormat","fallbackValue","multiple-choice","multiple-choice-no-selection","search-placeholder","ok-button-label","cancel-button-label","combobox","listNode","_prepareInput","inputNode","okHandler","_validateMultiple","closeDropDown","cancelHandler","_selectedItems","Filter","HasDropDown","ComboPopup","autoFilter","filterMode","ignoreCase","_inputReadOnly","searchPlaceHolder","multipleChoiceMsg","multipleChoiceNoSelectionMsg","okMsg","cancelMsg","_defaultList","updateReadOnly","_initList","_updateInputReadOnly","_setSelectable","oldValue","_useCenteredDropDown","css","off","_initValue","_attachedlistener","focusDescendants","dropDown","_createDropDown","focusOnOpen","_initHandlers","_initHandlersDone","_popupInput","navigatedChild","rend","triggerEvent","_updateScroll","_validateSingle","observe","initValueSingleMode","done","_getItemLabel","_getItemValue","firstItemRenderer","_getItemRendererLabel","_getItemRendererValue","centeredDropDown","createCenteredDropDown","createAboveBelowDropDown","dropDownPosition","inputElement","openDropDown","BACKSPACE","opened","filterTxt","rexExp","RegExp","query","selItem","navigate","labelClickHandler","_lbl4","forId","elt","click","BidiButton","iconClass","ButtonElt"],"mappings":";AAAAA,OAAO,gEAAgE,WAAc,MAAO,oTCI5FA,OAAO,gCACN,UACA,kBACA,gBACA,+CACE,SAAUC,EAAKC,EAAUC,EAAQC,GAQnC,GAAIC,GAAgBJ,GAAKE,IAOxBG,QAAS,GAETF,SAAUA,GAGX,OAAOF,GAAS,wBAAyBK,YAAaF,MC5BvDL,OAAO,2BACN,UACA,+CACA,kBACA,iBACE,SAAUC,EAAKO,EAAGN,EAAUC,GAmB9B,MAAOF,IAAKE,IAOXM,QASAC,mBAAoB,KAIpBC,OAAQV,EAAIW,MAAM,WACjB,IAAKC,KAAKC,WACT,KAAM,IAAIC,OAAM,iKAIjBF,MAAKC,WAAWE,SAA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