1(window.webpackJsonp=window.webpackJsonp||[]).push([["_content/Syncfusion.Blazor.DropDowns/scripts/sf-dropdownlist"],{
1"./bundles/sf-dropdownlist.js":function(t,e,i){"use strict";i.r(e);i("./modules/sf-dropdownlist.js")},
1"./modules/sf-dropdownlist.js":function(t,e){window.sfBlazor=window.sfBlazor||{},window.sfBlazor.DropDownList=function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)},e=function(){function e(t){var e=this;this.bindScrollEvent=function(){e.observe((function(t){return e.scrollListener(t)}))},this.sentinelInfo={up:{check:function(t,i){var s=t.top-e.parent.containerRect.top;return i.entered=s>=0,s+e.parent.listHeight*e.parent.options.virtualizedItemsCount/2>=0},axis:"Y"},down:{check:function(t,i){var s=t.bottom;return i.entered=t.bottom<=e.parent.containerRect.bottom,s-e.parent.listHeight*e.parent.options.virtualizedItemsCount/2<=e.parent.listHeight*e.parent.options.virtualizedItemsCount/2},axis:"Y"}},this.parent=t}return e.prototype.scrollListener=function(e){var i=this;if(!this.parent.preventScrollAction){var s=e.sentinel,o=this.parent.preStartIndex;if(this.parent.viewInfo=this.getInfoFromView(e.direction,s,e.offset,!1),this.parent.isUpwardScroll=!1,this.parent.preStartIndex===o||this.parent.isKeyBoardAction){if(this.parent.isScrollActionMade){this.parent.preventKeyAction=!1,this.parent.isScrollActionMade=!1;var n=this.parent.list.querySelectorAll(".e-virtual-list").length,l=this.parent.list.querySelector(".e-list-item"),r=e.offset.top-l.offsetHeight*n;this.parent.list.getElementsByClassName("e-virtual-ddl-content")[0].style.transform="translate(0px,"+r+"px)"}}else this.parent.isScrollActionMade=!1,this.parent.currentPage=this.parent.viewInfo.currentPage,this.parent.virtualInfo=t({},this.parent.viewInfo),this.parent.preventKeyAction=!0,this.parent.isVirtualAction=!0,setTimeout((function(){i.parent.dotNetRef.invokeMethodAsync("VirtualScrollRefreshAsync",{virtualItemStartIndex:i.parent.viewInfo.startIndex,virtualItemEndIndex:i.parent.viewInfo.endIndex,listItemHeight:i.parent.virtualListHeight,scrollTop:i.parent.viewInfo.offsets.top,pageCount:i.parent.getPageCount(i.parent.popupObj.element,!0),isMouseScrollAction:i.parent.mouseScrollAction}).then((function(){i.parent.popupObj&&(i.parent.list=i.parent.popupObj.element.querySelector(".e-content")||sf.base.select(".e-content"),i.parent.updateSelectionList(),i.parent.liCollections=i.parent.getItems()),i.parent.isVirtualAction=!1,i.parent.preventKeyAction=!1}))}),10);this.parent.prevInfo=this.parent.viewInfo,this.parent.isKeyBoardAction=!1}},e.prototype.getInfoFromView=function(t,e,i,s){var o={direction:t,sentinelInfo:e,offsets:i,startIndex:this.parent.preStartIndex,endIndex:this.parent.preEndIndex},n=this.parent.popupContentEle.getBoundingClientRect().height,l=0===this.parent.listHeight?this.parent.virtualListHeight:this.parent.listHeight,r=i.top/l,a=n/l,p=r+a,h=this.parent.options.virtualizedItemsCount/4,u=this.parent.options.totalCount;if("down"===o.direction){var d=Math.round(p)-Math.round(h);if(sf.base.isNullOrUndefined(o.startIndex)||p>o.startIndex+Math.round(this.parent.options.virtualizedItemsCount/2+h)&&o.endIndex!==u){o.startIndex=d>=0?Math.round(d):0,o.startIndex=o.startIndex>r?Math.floor(r):o.startIndex;var c=o.startIndex+this.parent.options.virtualizedItemsCount;o.startIndex=c<p?Math.ceil(p)-this.parent.options.virtualizedItemsCount:o.startIndex,o.endIndex=c<u?c:u,o.startIndex=c>=u?o.endIndex-this.parent.options.virtualizedItemsCount>0?o.endIndex-this.parent.options.virtualizedItemsCount:0:o.startIndex,o.currentPage=Math.ceil(o.endIndex/this.parent.options.virtualizedItemsCount)}}else if("up"===o.direction&&o.startIndex&&o.endIndex){d=void 0;if(r<Math.round((o.startIndex*l+h*l)/l)){var f=h>a?h:a+a/4;c=Math.round(r+f);o.endIndex=c<u?c:u,d=o.endIndex-this.parent.options.virtualizedItemsCount,o.startIndex=d>0?d:0,o.endIndex=d<0?this.parent.options.virtualizedItemsCount:o.endIndex,o.currentPage=Math.ceil(o.startIndex/this.parent.options.virtualizedItemsCount)}if(0===o.startIndex&&d&&0!==i.top)this.parent.list.querySelector(".e-virtual-ddl-content").style.transform="translate(0px,"+i.top+"px)"}return s?this.parent.scrollPreStartIndex=o.startIndex:(this.parent.preStartIndex=o.startIndex,this.parent.startIndex=o.startIndex,this.parent.preEndIndex=o.endIndex),o},e.prototype.observe=function(t){this.parent.containerRect=this.parent.popupContentEle.getBoundingClientRect(),sf.base.EventHandler.add(this.parent.popupContentEle,"wheel mousedown",this.popupScrollHandler,this),this.touchModule=new sf.base.Touch(this.parent.popupContentEle,{scroll:this.popupScrollHandler.bind(this)}),sf.base.EventHandler.add(this.parent.popupContentEle,"scroll",this.virtualScrollHandler(t),this)},e.prototype.popupScrollHandler=function(t){this.parent.mouseScrollAction=!0,this.parent.preventScrollAction=!1},e.prototype.virtualScrollHandler=function(t){var e=this,i="chrome"===sf.base.Browser.info.name?200:100,s=0,o=sf.base.debounce(t,i),n=sf.base.debounce(t,50);return function(t){var i=t.target.scrollTop,l=t.target.scrollLeft,r=s<i&&!e.parent.isUpwardScroll?"down":"up";s=i;var a=e.sentinelInfo[r],p=e.parent.scrollPreStartIndex,h={top:i,left:l};e.parent.list.querySelectorAll(".e-virtual-list").length>0&&(e.getInfoFromView(r,a,h,!0),e.parent.scrollPreStartIndex===p||e.parent.preventScrollAction||(e.parent.isScrollActionMade=!0,e.parent.list.querySelector(".e-virtual-ddl-content").style.transform="translate(0px,"+i+"px)"));var u=o;"X"===a.axis&&(u=n),u({direction:r,sentinel:a,offset:{top:i,left:l},focusElement:document.activeElement})}},e}
1(),i=function(t,e,i){if(i||2===arguments.length)for(var s,o=0,n=e.length;o<n;o++)!s&&o in e||(s||(s=Array.prototype.slice.call(e,0,o)),s[o]=e[o]);return t.concat(s||Array.prototype.slice.call(e))},s="e-list-group-item",o=function(){function t(t,i,s,o,n){this.storedSearchBoxHeight=0,this.activeIndex=null,this.prevSelectPoints={},window.sfBlazor=window.sfBlazor,this.preStartIndex=0,this.startIndex=0,this.currentPage=0,this.virtualPopupHeight=0,this.isKeyBoardAction=!1,this.scrollPreStartIndex=0,this.isScrollActionMade=!1,this.preventScrollAction=!1,this.preventKeyAction=!1,this.isVirtualAction=!1,this.keyDownAction=!1,this.isUpwardScroll=!1,this.mouseScrollAction=!1,this.firstRender=!0,this.virtualListHeight=0,this.lastPopupPosition="",this.dataId=t,this.containerElement=i,this.element=s,this.options=n,window.sfBlazor.setCompInstance(this),this.dotNetRef=o,this.virtualScrollObj=new e(this)}return t.prototype.safeInvoke=function(t){for(var e,s=[],o=1;o<arguments.length;o++)s[o-1]=arguments[o];if(!this.isDisposed)try{(e=this.dotNetRef).invokeMethodAsync.apply(e,i([t],s,!1)).catch((function(){}))}catch(t){}},t.prototype.initialize=function(){this.keyConfigure={tab:"tab",enter:"13",escape:"27",end:"35",home:"36",down:"40",up:"38",pageUp:"33",pageDown:"34",open:"alt+40",close:"shift+tab",hide:"alt+38",space:"32"},sf.base.Browser.isDevice?sf.base.EventHandler.add(window,"orientationchange",this.scrollHandler,this):(new sf.base.KeyboardEvents(this.containerElement,{keyAction:this.keyActionHandler.bind(this),keyConfigs:this.keyConfigure,eventName:"keydown"}),this.containerElement.classList.remove("e-keyboard"),this.options.enableVirtualization&&sf.base.EventHandler.add(this.containerElement,"keyup",this.keyUpHandler,this)),"SfComboBox"===this.options.moduleName&&sf.base.EventHandler.add(this.element,"keydown",this.onFilterDown,this),sf.base.Browser.isAndroid&&this.options.autoFill&&("SfComboBox"===this.options.moduleName||"SfAutoComplete"===this.options.moduleName)&&sf.base.EventHandler.add(this.element,"input",this.onMobileInput,this),sf.base.EventHandler.add(this.element,"paste",this.onPaste,this),sf.base.EventHandler.add(window,"resize",this.windowResize,this),sf.base.EventHandler.add(window,"resize",this.updateFloatLabelSize,this),this.updateFloatLabelSize()},t.prototype.onMobileInput=function(t){null==t.data&&"deleteContentBackward"===t.inputType||null!==t.data&&""!==t.data&&t.data===this.beforeData?t.stopPropagation():this.element&&(this.beforeData=this.element.value)},t.prototype.keyUpHandler=function(t){this.keyDownAction=!1},t.prototype.findListElement=function(t,e,i,s){var o=null;if(t)for(var n=[].slice.call(t.querySelectorAll(e)),l=0;l<n.length;l++)if(n[l].getAttribute(i)===s+""){o=n[l];break}return o},t.prototype.correctPopupPosition=function(){if(this.isPopupOpen()){this.popupObj.refreshPosition(this.containerElement);var t=this.popupObj.element,e=this.containerElement.getBoundingClientRect(),i=t.getBoundingClientRect(),s=e.left-i.left;Math.abs(s)>=1&&!this.containerElement.classList.contains("e-hide")&&(t.style.left=t.offsetLeft+s+"px");var o=t.style.marginTop;t.style.marginTop="";var n=this.element.getBoundingClientRect(),l=(i=t.getBoundingClientRect()).top<n.bottom?"above":"below";if(l!==this.lastPopupPosition){this.lastPopupPosition=l,this.popupObj.element.style.marginTop=o;var r=parseInt(getComputedStyle(t).marginTop||"0px",10);t.style.marginTop=isNaN(r)?o:-r+"px"}else t.style.marginTop=o}},t.prototype.windowResize=function(){this.correctPopupPosition()},t.prototype.updateSelectionList=function(){if(!this.list.querySelector(".e-active")&&this.options.value){var t=this.findListElement(this.list,"li","data-value",this.options.value);t&&t.classList.add("e-active")}},t.prototype.setAutoFillSelection=function(t){this.isAndroidAutoFill(t)||this.autoFillSelection(t)},t.prototype.onFilterDown=function(t){if(13!==t.keyCode&&40!==t.keyCode&&38!==t.keyCode&&9!==t.keyCode&&(this.prevSelectPoints=this.getSelectionPoints(),8!==t.keyCode&&!t.ctrlKey&&!t.altKey&&46!==t.keyCode&&this.prevSelectPoints&&this.element&&this.element.value&&this.prevSelectPoints.end-this.prevSelectPoints.start-this.element.value.length==0&&t.key&&1===t.key.length))if(this.options.allowFiltering&&"SfComboBox"===this.options.moduleName&&!this.options.autoFill&&this.options.isDelayRequired){var e=this;setTimeout((function(){e.safeInvoke("UpdateRemoveSelection",t.key)}),0)}else this.safeInvoke("UpdateRemoveSelection",t.key)},t.prototype.getSelectionPoints=function(){var t=this.element;return{start:Math.abs(t.selectionStart),end:Math.abs(t.selectionEnd)}},t.prototype.autoFillSelection=function(t){var e=this.getSelectionPoints(),i=this.element.value.substring(0,e.start);if(i&&i.toLowerCase()===t.substring(0,e.start).toLowerCase()){var s=i+t.substring(i.length,t.length);this.element.value=s,this.element.setSelectionRange(e.start,this.element.value.length)}else this.element.value=t,this.element.setSelectionRange(0,this.element.value.length)},t.prototype.isAndroidAutoFill=function(t){if(sf.base.Browser.isAndroid){var e=this.getSelectionPoints(),i=this.prevSelectPoints.end,s=e.end,o=this.prevSelectPoints.start,n=e.start;return 0!==i&&(i===t.length&&o===t.length||o>n&&i>s||i===s&&o===n)}return!1},t.prototype.removeFillSelection=function(){var t=this.getSelectionPoints();this.element.setSelectionRange(t.end,t.end)},t.prototype.keyActionHandler=function(t){if(this.preventKeyAction&&(null===this.previousKeyAction||this.previousKeyAction===t.action)&&this.options.enableVirtualization)t.preventDefault();else{var e={Action:t.action,Key:t.key,Events:t,Type:t.type};
1this.isDisposed||("space"===t.action&&"INPUT"!==t.target.tagName&&"TEXTAREA"!==t.target.tagName&&t.preventDefault(),this.safeInvoke("KeyActionHandler",e)),("tab"!==t.action&&"close"!==t.action&&"space"!==t.action&&"enter"!==t.action&&"open"!==t.action&&("SfDropDownList"===this.options.moduleName||"home"!==t.action&&"end"!==t.action)||"enter"===t.action&&!sf.base.isNullOrUndefined(this.isPopupOpen()))&&t.preventDefault()}this.keyDownAction=!0},t.prototype.getOffsetValue=function(t){var e=getComputedStyle(t),i=parseInt(e.borderTopWidth,10),s=parseInt(e.borderBottomWidth,10);return this.setPopupPosition(i+s)},t.prototype.setPopupPosition=function(t){var e,i=t,s=this.list.querySelector(".e-item-focus")||this.list.querySelector(".e-active"),o=this.isEmptyList()?this.list:this.liCollections[0],n=this.isEmptyList()?this.list:this.liCollections[this.getItems().length-1],l=o.getBoundingClientRect().height,r=this.list.offsetHeight/2,a=sf.base.isNullOrUndefined(s)?o.offsetTop:s.offsetTop;if(n.offsetTop-r<a&&!sf.base.isNullOrUndefined(this.liCollections)&&this.liCollections.length>0&&!sf.base.isNullOrUndefined(s)){var p=this.list.offsetHeight/l,h=parseInt(getComputedStyle(this.list).paddingBottom,10);e=(p-(this.liCollections.length-this.activeIndex))*l-i+h,this.list.scrollTop=s.offsetTop}else a>r&&!this.options.enableVirtualization?(e=r-l/2,this.list.scrollTop=a-r+l/2):e=a;return-(e=e+l+i-(l-this.containerElement.offsetHeight)/2)},t.prototype.getItems=function(){return this.list?this.list.querySelectorAll(".e-list-item"):[]},t.prototype.getListHeight=function(){var t=sf.base.createElement("div",{className:"e-dropdownbase"}),e=sf.base.createElement("li",{className:"e-list-item"}),i=sf.base.formatUnit(this.options.popupHeight);t.style.height=parseInt(i,10).toString()+"px",t.appendChild(e),document.body.appendChild(t),this.virtualPopupHeight=t.getBoundingClientRect().height;var s=Math.ceil(e.getBoundingClientRect().height);return"SfAutoComplete"===this.options.moduleName&&this.options.enableVirtualization&&(s+=parseInt(window.getComputedStyle(e).marginBottom,10)),t.remove(),this.virtualListHeight=s+parseInt(window.getComputedStyle(e).marginBottom,10),s},t.prototype.renderPopup=function(t,e,i,s,o,n){var l=this;if(this.options=o,this.popupHolder=e,n){var r={direction:null,sentinelInfo:null,offsets:null,startIndex:n.virtualItemStartIndex,endIndex:n.virtualItemEndIndex};this.virtualInfo=this.viewInfo=r}this.popupContentEle=t.querySelector(".e-content"),this.list=e.querySelector(".e-content")||sf.base.select(".e-content",this.popupContainer),this.liCollections=this.getItems();var a,p=0;this.preventScrollAction=!0;var h,u=sf.base.formatUnit(this.options.popupHeight);if(this.wireListEvents(),t){var d=document.getElementById(t.id);d&&sf.base.remove(d)}if(document.body.appendChild(t),sf.base.Browser.isDevice&&parseInt(this.options.popupWidth,10)>window.outerWidth&&("SfDropDownList"!==this.options.moduleName||!this.options.allowFiltering)&&sf.base.addClass([t],"e-wide-popup"),t.style.visibility="hidden",this.options.allowFiltering&&("SfDropDownList"===this.options.moduleName?(this.filterInput=t.querySelector("input.e-input"),h=this.filterInput.parentElement,new sf.base.KeyboardEvents(this.filterInput,{keyAction:this.keyActionHandler.bind(this),keyConfigs:this.keyConfigure,eventName:"keydown"}),sf.base.EventHandler.add(this.filterInput,"paste",this.onPaste,this),this.options.enableVirtualization&&sf.base.EventHandler.add(this.filterInput,"keyup",this.keyUpHandler,this)):this.filterInput=this.element),"auto"!==this.options.popupHeight){var c=/\d*\.?\d+rem/,f=/\d*\.?\d+vh/,m=0;if(!sf.base.isNullOrUndefined(h))if(m=h.parentElement.getBoundingClientRect().height,this.storedSearchBoxHeight=m,!sf.base.isNullOrUndefined(u)&&c.test(u)){var v=(m+2)/parseFloat(getComputedStyle(document.documentElement).fontSize);u=(parseInt(u,10)-v).toString()+"rem"}else if(!sf.base.isNullOrUndefined(u)&&f.test(u)){var g=(m+2)/window.innerHeight*100;u=(parseInt(u,10)-g).toString()+"vh"}else u=(parseInt(u,10)-2-m).toString()+"px";if(sf.base.isNullOrUndefined(h))if(!sf.base.isNullOrUndefined(u)&&c.test(u)){v=2/parseFloat(getComputedStyle(document.documentElement).fontSize);u=(parseInt(u,10)-v).toString()+"rem"}else if(!sf.base.isNullOrUndefined(u)&&f.test(u)){g=2/window.innerHeight*100;u=(parseInt(u,10)-g).toString()+"vh"}else u=(parseInt(u,10)-2).toString()+"px";if(t.querySelector(".e-ddl-header")){var y=t.querySelector(".e-ddl-header"),b=Math.round(y.getBoundingClientRect().height);t.classList.contains("e-multi-column")&&(b+=13),u=(parseInt(u,10)-(b+m)).toString()+"px"}if(t.querySelector(".e-ddl-footer")){var S=t.querySelector(".e-ddl-footer");b=Math.round(S.getBoundingClientRect().height);t.classList.contains("e-multi-column")&&(b+=13),u=(parseInt(u,10)-(b+m)).toString()+"px"}this.list.style.maxHeight=u,t.style.maxHeight=sf.base.formatUnit(this.options.popupHeight)}else t.style.height="auto";if(this.list&&"SfAutoComplete"!==this.options.moduleName&&!this.list.classList.contains("e-nod
1ata")){if(!this.listHeight){var I=this.options.enableVirtualization&&this.options.hasItemTemplate?t.querySelectorAll("li.e-list-item:not(.e-virtual-list)"):t.querySelectorAll("li.e-list-item");this.listHeight=this.virtualListHeight=I.length>0?Math.ceil(I[0].getBoundingClientRect().height)+parseInt(window.getComputedStyle(I[0]).marginBottom,10):0}this.setScrollPosition()}if(sf.base.Browser.isDevice&&!this.options.allowFiltering&&("SfDropDownList"===this.options.moduleName||"SfComboBox"===this.options.moduleName)){p=this.getOffsetValue(t);var w=this.isEmptyList()?this.list:this.liCollections[0];a=-(parseInt(getComputedStyle(w).textIndent,10)-parseInt(getComputedStyle(this.element).paddingLeft,10)+parseInt(getComputedStyle(this.element.parentElement).borderLeftWidth,10))}this.popupCreation(t,p,a);var H=this.options.enableVirtualization&&this.options.hasItemTemplate?t.querySelectorAll("li.e-list-item:not(.e-virtual-list)"):t.querySelectorAll("li.e-list-item");this.listHeight=this.virtualListHeight=H.length>0?Math.ceil(H[0].getBoundingClientRect().height)+parseInt(window.getComputedStyle(H[0]).marginBottom,10):0;var x=H.length>0?Math.ceil(parseInt(window.getComputedStyle(H[0]).marginBottom,10)):0;this.virtualListHeight=this.virtualListHeight<this.listHeight?this.listHeight:this.virtualListHeight,this.options.enableVirtualization&&this.firstRender&&(this.safeInvoke("UpdateListHeight",this.listHeight,x),this.firstRender=!1),this.checkCollision(t),sf.base.Browser.isDevice&&(this.popupObj.element.classList.add("e-ddl-device"),("SfDropDownList"===this.options.moduleName||"SfComboBox"===this.options.moduleName&&!this.options.allowFiltering)&&(this.popupObj.collision={X:"fit",Y:"fit"}),this.options.allowFiltering&&"SfDropDownList"===this.options.moduleName&&"FullScreen"===this.options.popupDisplayMode&&(this.popupObj.element.classList.add("e-ddl-device-filter"),this.popupObj.position={X:0,Y:0},this.popupObj.dataBind(),sf.base.attributes(this.popupObj.element,{style:"left:0px;right:0px;top:0px;bottom:0px;z-index:"+this.options.zIndex.toString()+";"}),sf.base.addClass([document.body,this.popupObj.element],"e-popup-full-page"),this.setSearchBoxPosition())),t.style.visibility="visible";var E=/ipad|iphone|ipod/.test(navigator.userAgent.toLowerCase());if(this.options.allowFiltering&&"SfDropDownList"===this.options.moduleName&&"FullScreen"===this.options.popupDisplayMode&&sf.base.Browser.isDevice&&E&&(t.style.position="fixed"),sf.base.addClass([t],"e-popup-close"),sf.base.Browser.isDevice){if("SfDropDownList"===this.options.moduleName&&!this.options.allowFiltering||"SfComboBox"===this.options.moduleName&&!this.options.allowFiltering)for(var C=0,A=this.popupObj.getScrollableParent(this.containerElement);C<A.length;C++){var z=A[C];sf.base.EventHandler.add(z,"scroll",this.scrollHandler,this)}this.isFilterLayout()&&sf.base.EventHandler.add(this.list,"scroll",this.listScroll,this)}if(null!==i&&null!==i.popup&&s){for(var O=0,B=Object.keys(i.popup);O<B.length;O++){switch(B[O]){case"collision":!i.popup.collision||this.popupObj.collision.X===i.popup.collision.X.toLowerCase()&&this.popupObj.collision.Y===i.popup.collision.Y.toLowerCase()||(this.popupObj.collision={X:i.popup.collision.X.toLowerCase(),Y:i.popup.collision.Y.toLowerCase()});break;case"position":!this.popupObj.position||this.popupObj.position.X===i.popup.position.X&&this.popupObj.position.Y===i.popup.position.Y||(this.popupObj.position={X:i.popup.position.X,Y:i.popup.position.Y});break;case"relateTo":this.popupObj.relateTo!==i.popup.relateTo&&(this.popupObj.relateTo=i.popup.relateTo);break;case"targetType":this.popupObj.targetType!==i.popup.targetType.toLowerCase()&&(this.popupObj.targetType=i.popup.targetType);break;case"offsetX":this.popupObj.offsetX!==i.popup.offsetX&&(this.popupObj.offsetX=i.popup.offsetX);break;case"offsetY":this.popupObj.offsetY!==i.popup.offsetY&&(this.popupObj.offsetY=i.popup.offsetY)}}this.popupObj.dataBind(),this.popupObj.refreshPosition(this.popupObj.relateTo,!0)}this.options.enableVirtualization&&(this.virtualScrollObj.bindScrollEvent(),setTimeout((function(){if(l.updateSelectionList(),l.options.value&&l.list&&l.list.querySelector(".e-active")){var t=l.list.querySelector(".e-active"),e=t&&!isNaN(parseInt(window.getComputedStyle(t).marginBottom,10))?parseInt(window.getComputedStyle(t).marginBottom,10):0,i=l.list.querySelectorAll(".e-virtual-list").length,s=(l.virtualInfo&&l.virtualInfo.startIndex?t.offsetTop+l.virtualInfo.startIndex*(t.offsetHeight+e):t.offsetTop)-i*(t.offsetHeight+e)+(t.offsetHeight+e)-l.list.scrollTop,o=l.list.scrollTop+s-l.list.offsetHeight;null==t.nextElementSibling&&(l.preventScrollAction=!1),s>l.list.offsetHeight&&(l.list.scrollTop=o)}}),10)),"SfDropDownList"!==this.options.moduleName&&sf.base.attributes(this.element,{"aria-expanded":"true"}
1),sf.base.attributes(this.element,{"aria-owns":this.element.id+"_popup"});var L=this.options.allowFiltering?this.filterInput.parentElement:this.containerElement;if(sf.base.addClass([L],["e-input-focus"]),this.options.allowResize){if(this.resizer=sf.base.createElement("div",{id:this.element.id+"_resize-popup",className:"e-resizer-right e-icons"}),this.list&&this.list.parentElement){y=this.list.parentElement.querySelector(".e-ddl-header"),S=this.list.parentElement.querySelector(".e-ddl-footer");this.list.parentElement.classList.add("e-resize"),"auto"!==this.options.popupHeight.toString().toLowerCase()&&(this.list.parentElement.style.height="100%"),this.list.parentElement.style.paddingBottom=this.isFilterLayout()&&this.storedSearchBoxHeight?(this.storedSearchBoxHeight+16).toString()+"px":16..toString()+"px",(y||S||this.options.hasItemTemplate)&&(this.list.parentElement.style.paddingBottom=(parseInt(this.list.parentElement.style.maxHeight,10)-parseInt(this.list.style.maxHeight,10)+16).toString()+"px"),this.list.parentElement.appendChild(this.resizer),this.list.parentElement.style.width="".concat(this.resizeWidth,"px"),this.list.parentElement.style.height="".concat(this.resizeHeight,"px"),this.list.parentElement.style.maxHeight="".concat(this.resizeHeight,"px"),this.list.style.maxHeight="".concat(this.resizeHeight,"px")}sf.base.EventHandler.add(this.resizer,"mousedown",this.startResizing,this),sf.base.EventHandler.add(this.resizer,"touchstart",this.startResizing,this)}this.popupContainer.style.visibility="hidden";this.popupObj.show(new sf.base.Animation({name:"FadeIn",duration:100}),1e3===this.options.zIndex?this.element:null)},t.prototype.wireListEvents=function(){sf.base.EventHandler.add(this.list,"mouseover",this.onMouseOver,this),sf.base.EventHandler.add(this.list,"mouseout",this.onMouseLeave,this)},t.prototype.unWireListEvents=function(){sf.base.EventHandler.remove(this.list,"mouseover",this.onMouseOver),sf.base.EventHandler.remove(this.list,"mouseout",this.onMouseLeave)},t.prototype.onMouseOver=function(t){var e=sf.base.closest(t.target,".e-list-item");this.setHover(e)},t.prototype.onMouseLeave=function(t){this.removeHover()},t.prototype.listScroll=function(){sf.base.isNullOrUndefined(this.filterInput)||sf.base.isNullOrUndefined(this.filterInput.parentElement)||this.filterInput.parentElement.classList.contains("e-input-focus")||this.filterInput.blur()},t.prototype.scrollHandler=function(t){this.isDisposed||("scroll"!==t.type||!this.element||this.isElementInViewport(this.element))&&"scroll"===t.type||this.safeInvoke("Hide")},t.prototype.isElementInViewport=function(t){var e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=window.innerHeight&&e.right<=window.innerWidth},t.prototype.setFloatingHeader=function(t){var e=this.popupContainer&&this.popupContainer.querySelector(".e-content");
1e&&e.classList.contains("e-nodata")&&this.fixedHeaderElement?(sf.base.remove(this.fixedHeaderElement),this.fixedHeaderElement=null):this.list&&this.list.querySelector("li")&&(sf.base.isNullOrUndefined(this.fixedHeaderElement)&&(this.fixedHeaderElement=sf.base.createElement("div",{className:"e-fixed-head"}),this.list.querySelector("li").classList.contains(s)||(this.fixedHeaderElement.style.display="none"),sf.base.prepend([this.fixedHeaderElement],this.list),this.setFixedHeader()),this.scrollStop(t))},t.prototype.setFixedHeader=function(){this.list.parentElement.style.display="block";var t=0;this.list&&this.list.parentElement&&(t=parseInt(document.defaultView.getComputedStyle(this.list.parentElement,null).getPropertyValue("border-width"),10));var e=(this.list?this.list.querySelectorAll(".e-list-item")[0].offsetWidth:0)-t;this.fixedHeaderElement.style.width=e.toString()+"px",sf.base.setStyleAttribute(this.fixedHeaderElement,{zIndex:10});var i=this.list.querySelector("."+s);this.fixedHeaderElement.innerHTML=i.innerHTML},t.prototype.scrollStop=function(t){var e=t.target,i=this.list.querySelectorAll("li"),o=parseInt(getComputedStyle(i[0],null).getPropertyValue("height"),10),n=Math.round(e.scrollTop/o),l=0;this.list.querySelectorAll(".e-virtual-list")&&(l=this.list.querySelectorAll(".e-virtual-list").length);for(var r=n;r>-1;r--){if(!sf.base.isNullOrUndefined(i[r+l])&&i[r+l].classList.contains(s)){var a=i[r+l];this.fixedHeaderElement.innerHTML=a.innerHTML,this.fixedHeaderElement.style.top=t.target.scrollTop+"px",this.fixedHeaderElement.style.display="block";break}this.fixedHeaderElement.style.display="none",this.fixedHeaderElement.style.top="none"}},t.prototype.isFilterLayout=function(){return"SfDropDownList"===this.options.moduleName&&this.options.allowFiltering},t.prototype.setSearchBoxPosition=function(){var t=this.popupObj.element.querySelector("span.e-filter-parent").getBoundingClientRect().height,e=this.popupObj.element.querySelector(".e-ddl-footer"),i=this.popupObj.element.querySelector(".e-ddl-header");this.popupObj.element.style.maxHeight="100%",this.popupObj.element.style.width="100%";var s=e?e.getBoundingClientRect().height:0,o=i?i.getBoundingClientRect().height:0;this.list.style.maxHeight=this.list.style.height=window.innerHeight-(s+o+t+4)+"px"},t.prototype.checkCollision=function(t){(!sf.base.Browser.isDevice||sf.base.Browser.isDevice&&"SfDropDownList"!==this.options.moduleName)&&(sf.popups.isCollide(t).length>0&&(t.style.marginTop=-parseInt(getComputedStyle(t).marginTop,10)+"px"))},t.prototype.destroy=function(){sf.base.EventHandler.remove(document,"mousedown",this.onDocumentClick),sf.base.Browser.isDevice&&sf.base.EventHandler.remove(window,"orientationchange",this.scrollHandler),this.containerElement=null,this.element=null,this.popupObj&&(this.popupObj.relateTo=null),this.popupObj=null,window.sfBlazor.disposeWindowsInstance(this.dataId)},t.prototype.refreshPopup=function(t,e){if(this.isPopupOpen()){if(this.options.enableVirtualization&&t&&(this.preventScrollAction=!0,this.list.scrollTop=0,this.preStartIndex=0,this.virtualInfo=null,this.viewInfo&&(this.viewInfo.startIndex=0,this.viewInfo.endIndex=this.options.virtualizedItemsCount),this.preStartIndex=0,this.preEndIndex=0,0===this.listHeight&&e.totalCount>0)){var i=this.popupContainer.querySelectorAll("li.e-list-item:not(.e-virtual-list)");this.listHeight=i.length>0?Math.ceil(i[0].getBoundingClientRect().height)+parseInt(window.getComputedStyle(i[0]).marginBottom,10):this.virtualListHeight}this.options.totalCount=e.totalCount,this.popupObj.refreshPosition(this.containerElement),this.popupObj.element.querySelector(".e-content").classList.contains("e-nod
1ata")&&this.fixedHeaderElement&&(sf.base.remove(this.fixedHeaderElement),this.fixedHeaderElement=null)}},t.prototype.popupCreation=function(t,e,i){var o=this;this.popupContainer=t,this.popupObj=new sf.popups.Popup(this.popupContainer,{width:this.setWidth(),targetType:"relative",relateTo:this.containerElement,collision:{X:"flip",Y:"flip"},offsetY:e,enableRtl:this.options.enableRtl,offsetX:i,position:{X:"left",Y:"bottom"},zIndex:this.options.zIndex,close:function(){sf.base.EventHandler.remove(o.list,"scroll",o.setFloatingHeader),sf.base.removeClass([o.containerElement],"e-icon-anim"),"SfAutoComplete"===o.options.moduleName&&(null==o.options.value&&(o.preStartIndex=0,o.preEndIndex=0),o.virtualInfo=null),o.fixedHeaderElement=null,o.popupHolder.appendChild(o.popupContainer),o.unWireListEvents();for(var t=0,e=o.popupObj.getScrollableParent(o.containerElement);t<e.length;t++){var i=e[t];sf.base.EventHandler.remove(i,"scroll",o.scrollHandler)}sf.base.Browser.isDevice&&o.isFilterLayout()&&"FullScreen"===o.options.popupDisplayMode&&(sf.base.removeClass([document.body,o.popupObj.element],"e-popup-full-page"),sf.base.EventHandler.remove(o.list,"scroll",o.listScroll)),o.options.enableVirtualization&&(sf.base.EventHandler.remove(o.popupContentEle,"scroll",o.virtualScrollObj.virtualScrollHandler()),"SfDropDownList"===o.options.moduleName&&o.filterInput&&sf.base.EventHandler.remove(o.filterInput,"keyup",o.keyUpHandler)),"SfDropDownList"===o.options.moduleName&&o.options.allowFiltering&&o.filterInput&&sf.base.EventHandler.remove(o.filterInput,"paste",o.onPaste),o.resizer&&sf.base.EventHandler.remove(o.resizer,"mousedown",o.startResizing),o.popupObj&&o.popupObj.destroy(),!o.isDisposed&&document.body.contains(o.element)&&o.safeInvoke("ClosePopup")},open:function(){if(o.popupObj&&o.popupObj.element&&(o.popupObj.element.style.visibility="visible"),""===o.lastPopupPosition&&o.popupObj&&o.popupObj.element){var t=o.element.getBoundingClientRect(),e=o.popupObj.element.getBoundingClientRect();o.lastPopupPosition=e.top<t.bottom?"above":"below"}(o.correctPopupPosition(),(!sf.base.Browser.isDevice||sf.base.Browser.isDevice&&"SfDropDownList"!==o.options.moduleName)&&o.popupObj&&o.popupObj.element)&&(sf.popups.isCollide(o.popupObj.element).length>0&&o.popupObj.refreshPosition(o.containerElement));null==o.options.value&&"SfAutoComplete"===o.options.moduleName&&(o.preStartIndex=0);var i=o.list.querySelector("li")&&o.list.querySelector("li").classList.contains(s);o.options.enableVirtualization&&(i=o.list.querySelector("li")&&o.list.querySelector("li.e-list-group-item")&&o.list.querySelector("li.e-list-group-item").
1classList.contains(s)),sf.base.EventHandler.remove(document,"mousedown",o.onDocumentClick),sf.base.EventHandler.add(document,"mousedown",o.onDocumentClick,o),o.options.allowFiltering&&o.filterInput&&o.filterInput.focus(),i&&sf.base.EventHandler.add(o.list,"scroll",o.setFloatingHeader,o)},targetExitViewport:function(){sf.base.Browser.isDevice||o.isDisposed||o.safeInvoke("Hide")}})},t.prototype.isEmptyList=function(){return!sf.base.isNullOrUndefined(this.liCollections)&&0===this.liCollections.length},t.prototype.setWidth=function(){var t=sf.base.formatUnit(this.options.popupWidth);t.indexOf("%")>-1&&(t=(this.containerElement.offsetWidth*parseFloat(t)/100).toString()+"px");var e=!!(this.popupContainer&&this.popupContainer.classList.contains("e-bigger")||this.popupContainer.parentElement&&this.popupContainer.parentElement.classList.contains("e-bigger"));if(sf.base.Browser.isDevice&&!e&&!this.options.allowFiltering&&("SfDropDownList"===this.options.moduleName||"SfComboBox"===this.options.moduleName)){var i=this.isEmptyList()?this.list:this.liCollections[0];t=parseInt(t,10)+2*(parseInt(getComputedStyle(i).textIndent,10)-parseInt(getComputedStyle(this.element).paddingLeft,10)+parseInt(getComputedStyle(this.element.parentElement).borderLeftWidth,10))+"px"}return t},t.prototype.resizingWireEvent=function(){sf.base.EventHandler.add(document,"mousemove",this.resizePopup,this),sf.base.EventHandler.add(document,"mouseup",this.stopResizing,this),sf.base.EventHandler.add(document,"touchmove",this.resizePopup,this),sf.base.EventHandler.add(document,"touchend",this.stopResizing,this)},t.prototype.resizingUnWireEvent=function(){sf.base.EventHandler.remove(document,"mousemove",this.resizePopup),sf.base.EventHandler.remove(document,"mouseup",this.stopResizing),sf.base.EventHandler.remove(document,"touchmove",this.resizePopup),sf.base.EventHandler.remove(document,"touchend",this.stopResizing)},t.prototype.startResizing=function(t){this.isResizing=!0;var e={type:t.type};this.options.isTriggerResizeStartEvent&&this.safeInvoke("StartResizingHandler",e);var i=t instanceof MouseEvent?t.clientX:t.touches[0].clientX,s=t instanceof MouseEvent?t.clientY:t.touches[0].clientY;this.list&&this.list.parentElement&&(this.originalWidth=this.list.parentElement.offsetWidth,this.originalHeight=this.list.parentElement.offsetHeight,this.originalMouseX=i,this.originalMouseY=s),this.resizingWireEvent(),t&&t.preventDefault()},t.prototype.resizePopup=function(t){if(this.isResizing){t.type;var e=t instanceof MouseEvent?t.clientX:t.touches[0].clientX,i=t instanceof MouseEvent?t.clientY:t.touches[0].clientY,s=e-this.originalMouseX,o=i-this.originalMouseY;if(this.list&&this.list.parentElement){var n=parseInt(window.getComputedStyle(this.list.parentElement).minWidth,10),l=parseInt(window.getComputedStyle(this.list.parentElement).minHeight,10);n=n||100,l=l||120,this.resizeWidth=Math.max(this.originalWidth+s,n),this.resizeHeight=Math.max(this.originalHeight+o,l),this.list.parentElement.style.width="".concat(this.resizeWidth,"px"),this.list.parentElement.style.height="".concat(this.resizeHeight,"px"),this.list.parentElement.style.maxHeight="".concat(this.resizeHeight,"px"),this.list.style.maxHeight="".concat(this.resizeHeight,"px"),this.fixedHeaderElement&&this.list.querySelector("ul")&&(this.fixedHeaderElement.style.width=this.list.querySelector("ul").offsetWidth+"px")}t&&t.preventDefault()}},t.prototype.stopResizing=function(t){if(this.isResizing){this.isResizing=!1;var e={type:t.type};this.safeInvoke("StopResizingHandler",e,this.resizeHeight),this.resizingUnWireEvent()}t&&t.preventDefault()},t.prototype.onDocumentClick=function(t){var e=t.target;!sf.base.isNullOrUndefined(this.popupObj)&&sf.base.closest(e,"[id='"+this.popupObj.element.id+"']")||!this.containerElement||this.containerElement.contains(t.target)?e===this.element||this.options.allowFiltering&&e===this.filterInput||"SfComboBox"===this.options.moduleName&&!this.options.allowFiltering&&sf.base.Browser.isDevice&&e===this.containerElement.querySelector(".e-ddl-icon")||t.preventDefault():!this.containerElement.classList.contains("e-input-focus")&&!this.isPopupOpen()||this.isDisposed||this.safeInvoke("Hide")},t.prototype.closePopup=function(t,e){if(this.options=e,this.options.refreshVirtualIndices&&(this.virtualInfo=null,this.preStartIndex=0),this.isPopupOpen()&&!t.cancel&&this.popupObj
1){sf.base.Browser.isDevice&&this.popupContainer&&this.popupContainer.classList.contains("e-wide-popup")&&this.popupContainer.classList.remove("e-wide-popup"),"SfDropDownList"!==this.options.moduleName&&sf.base.attributes(this.element,{"aria-expanded":"false"}),this.element.removeAttribute("aria-owns"),this.popupObj.hide(new sf.base.Animation({name:"FadeOut",duration:20,delay:0}))}},t.prototype.setScrollPosition=function(t,e){if(this.preventScrollAction=!0,this.previousKeyAction=sf.base.isNullOrUndefined(t)?null:t.action,!this.preventKeyAction)if(!sf.base.isNullOrUndefined(t)&&sf.base.isNullOrUndefined(e))switch(t.action){case"pageDown":case"down":case"end":this.mouseScrollAction=!1,this.isKeyBoardAction=!0,this.scrollBottom(!1,!1,t.action);break;default:this.mouseScrollAction=!1,this.isKeyBoardAction="up"===t.action||"pageUp"===t.action||"open"===t.action,this.scrollTop(t.action)}else null!=e&&(this.viewInfo=this.virtualInfo=e,this.viewInfo.startIndex=this.virtualInfo.startIndex=e.virtualItemStartIndex,this.viewInfo.endIndex=this.virtualInfo.endIndex=e.virtualItemEndIndex),this.isKeyBoardAction=!1,this.list&&this.scrollBottom(!0)},t.prototype.scrollBottom=function(t,e,i){if(void 0===e&&(e=!1),void 0===i&&(i=null),this.list&&(this.list.querySelector(".e-item-focus")||this.list.querySelector(".e-active"))||this.options.enableVirtualization){var o=this.list.querySelector(".e-item-focus")||this.list.querySelector(".e-active");null==o&&this.options.enableVirtualization&&(o=this.list.querySelector(".e-list-item:not(.e-virtual-list)"));var n=o&&!isNaN(parseInt(window.getComputedStyle(o).marginBottom,10))?parseInt(window.getComputedStyle(o).marginBottom,10):0;this.isUpwardScroll=!1;var l=this.list.querySelectorAll(".e-virtual-list").length,r=this.list.offsetHeight,a=this.list.querySelector("li")?this.list.querySelector("li").classList.contains(s):null,p=this.list.querySelector("li:last-of-type")?this.list.querySelector("li:last-of-type").getAttribute("data-value"):null,h=this.virtualInfo&&this.virtualInfo.startIndex?o.offsetTop+this.virtualInfo.startIndex*(o.offsetHeight+n):o.offsetTop,u=h-l*(o.offsetHeight+n)+(o.offsetHeight+n)-this.list.scrollTop,d=this.list.scrollTop+u-r,c=!1;d=t?d+2*parseInt(getComputedStyle(this.list).paddingTop,10):d+parseInt(getComputedStyle(this.list).paddingTop,10);var f=h-l*(o.offsetHeight+n)+(o.offsetHeight+n)-this.list.scrollTop;if(f=a&&!sf.base.isNullOrUndefined(this.fixedHeaderElement)?f-this.fixedHeaderElement.offsetHeight:f,0===this.activeIndex)this.list.scrollTop=0,c=this.isKeyBoardAction;else if(u>r||!(f>0&&this.list.offsetHeight>f)){var m=o?o.getAttribute("data-value"):null,v="pageDown"===i?this.getPageCount(this.popupObj.element)-2:1;if(!this.options.enableVirtualization||this.isKeyBoardAction||e)if(this.isKeyBoardAction&&this.options.enableVirtualization&&p&&m===p&&"end"!==i&&!this.isVirtualAction){this.preventKeyAction=!0;var g="SfDropDownList"===this.options.moduleName&&"pageDown"===i&&this.filterInput?this.filterInput.offsetHeight:0;this.viewInfo&&this.options.totalCount===this.viewInfo.endIndex&&this.isKeyBoardAction||"pageDown"===i?this.list.scrollTop+=(o.offsetHeight+n)*v+g:this.list.scrollTop=d,this.preventKeyAction=!this.IsScrollerAtEnd()&&this.preventKeyAction,this.isKeyBoardAction=!1,this.preventScrollAction=!1}else this.options.enableVirtualization&&"end"===i?(this.preventKeyAction=!1,this.isKeyBoardAction=!1,this.preventScrollAction=!1,this.list.scrollTop=this.list.scrollHeight):"pageDown"===i&&this.options.enableVirtualization&&!this.isVirtualAction?(this.preventKeyAction=!1,this.isKeyBoardAction=!1,this.preventScrollAction=!1,this.list.scrollTop=d):o.previousElementSibling&&o.previousElementSibling.classList.contains("e-virtual-list")&&this.virtualInfo&&this.virtualInfo.startIndex?this.list.scrollTop=this.virtualInfo.startIndex*this.listHeight:this.list.scrollTop=d;else{var y=this.list.querySelector("li:not(.e-virtual-list)").classList.contains(s),b=!(!this.virtualInfo||!this.virtualInfo.startIndex),S=b?this.virtualInfo.startIndex*this.listHeight:0;this.list.scrollTop=b?t&&this.virtualInfo.startIndex?this.options.allowFiltering&&y||!(d>S+2*this.listHeight)||"SfComboBox"!==this.options.moduleName?S+2*this.listHeight:d:S:0}c=this.isKeyBoardAction}this.isKeyBoardAction=c}},t.prototype.scrollTop=function(t){if(void 0===t&&(t=null),this.list&&(this.list.querySelector(".e-item-focus")||this.list.querySelector(".e-active"))){var e=this.list.querySelectorAll(".e-virtual-list").length,i=this.list.querySelector(".e-item-focus")||this.list.querySelector(".e-active"),o=i&&!isNaN(parseInt(window.getComputedStyle(i).marginBottom,10))?parseInt(window.getComputedStyle(i).marginBottom,10):0,n=this.virtualInfo&&this.virtualInfo.startIndex?i.offsetTop+this.virtualInfo.startIndex*(i.offsetHeight+o):i.offsetTop,l=n-e*(i.offsetHeight+o)-this.list.scrollTop,r
1=this.list.querySelector("li:not(.e-virtual-list)").classList.contains(s),a=this.list.querySelector("li.e-list-item:not(.e-virtual-list)")?this.list.querySelector("li.e-list-item:not(.e-virtual-list)").getAttribute("data-value"):null;l=r&&!sf.base.isNullOrUndefined(this.fixedHeaderElement)?l-this.fixedHeaderElement.offsetHeight:l;var p=n-e*(i.offsetHeight+o)+(i.offsetHeight+o)-this.list.scrollTop,h=this.options.enableVirtualization&&"SfAutoComplete"===this.options.moduleName&&l<=0;if(0===this.activeIndex)this.list.scrollTop=0;else if(l<0||h||0===l&&"home"===t){var u=i?i.getAttribute("data-value"):null,d="pageUp"===t?this.getPageCount(this.popupObj.element)-2:1;this.options.enableVirtualization&&this.isKeyBoardAction&&a&&u===a&&"home"!==t&&!this.isVirtualAction?(this.isUpwardScroll=!0,this.preventKeyAction=!0,this.list.scrollTop-=(i.offsetHeight+o)*d,this.preventKeyAction=0!==this.list.scrollTop&&this.preventKeyAction,this.isKeyBoardAction=!1,this.preventScrollAction=!1):this.options.enableVirtualization&&"home"===t?(this.preventScrollAction=!1,this.preventKeyAction=!0,this.isKeyBoardAction=!1,this.list.scrollTo(0,0)):("pageUp"===t&&this.options.enableVirtualization&&!this.isVirtualAction&&(this.preventKeyAction=!1,this.isKeyBoardAction=!1,this.preventScrollAction=!1),this.list.scrollTop=this.list.scrollTop+l)}else p>0&&this.list.offsetHeight>p||(this.list.scrollTop=n-(r&&!sf.base.isNullOrUndefined(this.fixedHeaderElement)?this.fixedHeaderElement.offsetHeight:0))}},t.prototype.IsScrollerAtEnd=function(){return this.list&&this.list.scrollTop+this.list.clientHeight>=this.list.scrollHeight},t.prototype.setHover=function(t){!t||t.classList.contains("e-hover")||t.classList.contains("e-virtual-list")||(this.removeHover(),sf.base.addClass([t],"e-hover"))},t.prototype.removeHover=function(){if(this.list){var t=this.list.querySelectorAll(".e-hover");t&&t.length&&sf.base.removeClass(t,"e-hover")}},t.prototype.isPopupOpen=function(){return this.popupObj&&document.body.contains(this.popupObj.element)},t.prototype.getPageCount=function(t,e){void 0===e&&(e=!1);var i=t&&t.querySelector(".e-content");
1if(i){var s=i.classList.contains("e-nodata")?null:getComputedStyle(i.querySelectorAll(".e-list-item")[0],null).getPropertyValue("height"),o=s?i.getBoundingClientRect().height/parseInt(s,10):0;return e?o:Math.round(o)}return 0},t.prototype.getTextWidth=function(t){var e=document.createElement("span");e.style.visibility="hidden",e.style.whiteSpace="nowrap",e.textContent=t,document.body.appendChild(e);var i=e.offsetWidth;return document.body.removeChild(e),i},t.prototype.updateFloatLabelSize=function(){if(this.containerElement){var t=this.containerElement.querySelector(".e-float-text");!sf.base.isNullOrUndefined(t)&&!sf.base.isNullOrUndefined(this.element)&&this.element.clientWidth>0&&(this.element.clientWidth<this.getTextWidth(t.textContent)?t.style.width=this.element.clientWidth+"px":t.style.width="")}},t.prototype.removeFloatLabelSize=function(){if(this.containerElement){var t=this.containerElement.querySelector(".e-float-text");sf.base.isNullOrUndefined(t)||(t.style.width="")}},t.prototype.onPaste=function(t){var e="";t.clipboardData?e=t.clipboardData.getData("text"):window.clipboardData&&(e=window.clipboardData.getData("Text")),this.safeInvoke("Paste",e)},t}();return{initialize:function(t,e,i,s,n){var l=navigator.userAgentData&&navigator.userAgentData.platform||navigator.platform,r="Windows"===l||"macOS"===l||"MacIntel"===l;if(i){var a=new o(t,e,i,s,n);if(a.initialize(),!sf.base.isNullOrUndefined(sf.base.closest(i,"fieldset"))&&sf.base.closest(i,"fieldset").disabled){var p=n.enabled=!1;a.dotNetRef.invokeMethodAsync("UpdateFieldSetStatus",p)}if(n.enableVirtualization)return{itemSize:a.getListHeight(),fullPopupHeight:window.outerHeight,virtualPopupHeight:a.virtualPopupHeight,isDesktop:r}}return{itemSize:0,fullPopupHeight:0,virtualPopupHeight:0,isDesktop:r}},renderPopup:function(t,e,i,s,o,n,l){var r=window.sfBlazor.getCompInstance(t);i=i||document.getElementById(t+"_popupholder"),e=e||document.getElementById(t+"_popup"),!sf.base.isNullOrUndefined(r)&&e&&i&&r.renderPopup(e,i,s,o,n,l)},refreshPopup:function(t,e,i){var s=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(s)||s.refreshPopup(e,i)},refreshVirtualIndices:function(t,e){var i=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(i)||(i.virtualInfo=null,i.preStartIndex=0,i.options.totalCount=e,i.preEndIndex=0)},closePopup:function(t,e,i){var s=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(s)||s.closePopup(e,i)},updateScrollPosition:function(t,e,i){var s=window.sfBlazor.getCompInstance(t);if(!sf.base.isNullOrUndefined(s)){if(s.list&&s.list.classList.contains("e-nod
1ata"))return;s.preventKeyAction=!1,s.setScrollPosition(e,i),s.isVirtualAction=!1}},getPageCount:function(t,e){var i=window.sfBlazor.getCompInstance(t);return!sf.base.isNullOrUndefined(i)&&e?i.getPageCount(e):0},setAutoFillSelection:function(t,e){var i=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(i)||i.setAutoFillSelection(e)},removeFillSelection:function(t){var e=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(e)||e.removeFillSelection()},focusIn:function(t,e){var i=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(i)||(document.activeElement!==i.element?setTimeout((function(){e&&i.containerElement?i.containerElement.focus():i.element&&i.element.focus()}),10):e&&i.containerElement?i.containerElement.focus():i.element&&i.element.focus())},focusOut:function(t,e){var i=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(i)||(e?i.containerElement.blur():i.element.blur())},updateFloatLabelSize:function(t){var e=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(e)||e.updateFloatLabelSize()},removeFloatLabelSize:function(t){var e=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(e)||e.removeFloatLabelSize()},destroy:function(t,e,i,s,o){var n=window.sfBlazor.getCompInstance(t);sf.base.isNullOrUndefined(n)||(e&&e instanceof HTMLElement&&(i||n.popupObj)&&(n.isDisposed=!0,n.closePopup(s,o)),n.destroy())}}}()}
1}]);(async()=>{await import(`${document.baseURI}_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor-base.min.js`).then(()=>{sfBlazor.loadDependencies('sfdropdownlist');})})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.