var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(e,h,g){e instanceof String&&(e=String(e));for(var n=e.length,m=0;m<n;m++){var r=e[m];if(h.call(g,r,m,e))return{i:m,v:r}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,h,g){if(e==Array.prototype||e==Object.prototype)return e;e[h]=g.value;return e};$jscomp.getGlobal=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var h=0;h<e.length;++h){var g=e[h];if(g&&g.Math==Math)return g}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(e,h){var g=$jscomp.propertyToPolyfillSymbol[h];if(null==g)return e[h];g=e[g];return void 0!==g?g:e[h]};
$jscomp.polyfill=function(e,h,g,n){h&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(e,h,g,n):$jscomp.polyfillUnisolated(e,h,g,n))};$jscomp.polyfillUnisolated=function(e,h,g,n){g=$jscomp.global;e=e.split(".");for(n=0;n<e.length-1;n++){var m=e[n];if(!(m in g))return;g=g[m]}e=e[e.length-1];n=g[e];h=h(n);h!=n&&null!=h&&$jscomp.defineProperty(g,e,{configurable:!0,writable:!0,value:h})};
$jscomp.polyfillIsolated=function(e,h,g,n){var m=e.split(".");e=1===m.length;n=m[0];n=!e&&n in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var r=0;r<m.length-1;r++){var t=m[r];if(!(t in n))return;n=n[t]}m=m[m.length-1];g=$jscomp.IS_SYMBOL_NATIVE&&"es6"===g?n[m]:null;h=h(g);null!=h&&(e?$jscomp.defineProperty($jscomp.polyfills,m,{configurable:!0,writable:!0,value:h}):h!==g&&(void 0===$jscomp.propertyToPolyfillSymbol[m]&&(g=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[m]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(m):$jscomp.POLYFILL_PREFIX+g+"$"+m),$jscomp.defineProperty(n,$jscomp.propertyToPolyfillSymbol[m],{configurable:!0,writable:!0,value:h})))};$jscomp.polyfill("Array.prototype.find",function(e){return e?e:function(h,g){return $jscomp.findInternal(this,h,g).v}},"es6","es3");
(function(){function e(a){switch(a.data.keyCode){case 33:case 34:case 38:case 40:case 37:case 39:case 32:case 36:case 35:return a.stop(),!1}return!0}function h(a){return a.target.$button||zk.isLoaded("zul.wgt")&&a.target.$instanceof(zul.wgt.Button,zul.wgt.Toolbarbutton)}function g(a){var b;(b=jq.nodeName(a.domTarget,"input","textarea","button","select","option","a")&&!a.target.$instanceof(zul.sel.SelectWidget)||h(a))||(b=a.target.$inputWidget||zk.isLoaded("zul.inp")&&a.target.$instanceof(zul.inp.InputWidget));
return b}function n(a){return a&&(a=a.uuid)?zk.Widget.$(a):null}function m(a){return zk.isLoaded("zkex.sel")&&a.$instanceof(zkex.sel.Listgroup)}function r(a){return zk.isLoaded("zkex.sel")&&a.$instanceof(zkex.sel.Listgroupfoot)}var t=zul.sel.SelectWidget=zk.$extends(zul.mesh.MeshWidget,{rightSelect:!0,_anchorTop:0,_anchorLeft:0,_isSelecting:!0,_startRow:null,$init:function(){this.$supers("$init",arguments);this._selItems=[]},$define:{checkmark:function(a){this.desktop&&this.rerenderLater_()},multiple:function(a){if(!this._multiple&&
this._selItems.length){a=this.getSelectedItem();for(var b;b=this._selItems.pop();)b!=a&&(this._checkmark?b._selected=!1:b._setSelectedDirectly(!1));this._selItems.push(a)}this._checkmark&&this.desktop&&this.rerenderLater_()},selectedIndex:[function(a){return-1>a||!a&&0!==a?-1:a},function(){var a=this._selectedIndex;this.clearSelection();this._selectedIndex=a;if(-1<a){for(var b,c=this.getBodyWidgetIterator();0<=a--;)b=c.next();b&&(a=1<this._selItems.length,this._selectOne(b,!0),a||((a=this._scrollbar)?
a.scrollToElement(b.$n()):zk(b).scrollIntoView(this.ebody)))}}],name:function(){this.destkop&&this.updateFormData()},selectOnHighlightDisabled:_zkf},setChgSel:function(a){for(var b={},c=0;;){var d=a.indexOf(",",c);(c=(0<=d?a.substring(c,d):a.substring(c)).trim())&&(b[c]=!0);if(0>d)break;c=d+1}this.$$selectAll=void 0;for(a=this.getBodyWidgetIterator();d=a.next();)this._changeSelect(d,1==b[d.uuid])},setFocusIndex:function(a){if(!(0>a)){var b=this;setTimeout(function(){for(var c,d=b.getBodyWidgetIterator();(c=
d.next())&&a--&&d.hasNext(););b._focusItem=c})}},updateFormData:function(){if(this._name){this.efield||(this.efield=jq(this.$n()).append('<div style="display:none;"></div>').find("> div:last-child")[0]);jq(this.efield).children().remove();for(var a="",b='<input type="hidden" name="'+zUtl.encodeXML(this._name)+'" value="',c=0,d=this._selItems.length;c<d;c++)a+=b+zUtl.encodeXML(this._selItems[c].getValue())+'"/>';jq(this.efield).append(a)}else this.efield&&(jq(this.efield).remove(),this.efield=null)},
setSelectedItem:function(a){if(a){var b=1<this._selItems.length;this._selectOne(a,!0);b||((b=this._scrollbar)&&b.scrollToElement(a.$n()),this._nativebar&&zk(a).scrollIntoView(this.ebody));(zk.edge_legacy||4<=zk.ff||10==zk.ie)&&this.ebody&&this._nativebar&&(this._currentTop=this.ebody.scrollTop,this._currentLeft=this.ebody.scrollLeft)}else this.clearSelection()},getSelectedItem:function(){return this._selItems[0]},getSelectedItems:function(){return this._selItems.$clone()},setHeight:function(a){if(!this._nvflex&&
this._height!=a){this._height=a;var b=this.$n();b&&(b.style.height=a||"",this.onSize())}},setVflex:function(a){this.$supers("setVflex",arguments);if(this.desktop)this.onSize()},setHflex:function(a){this.$supers("setHflex",arguments);if(this.desktop)this.onSize()},_getEbodyWd:function(){var a=this.$n("a");zk.webkit&&(a.style.display="none");var b=zk.opera&&0==this.ebody.offsetHeight?this.ebody.offsetWidth:this.ebody.clientWidth;zk.webkit&&(a.style.display="");return b},_beforeCalcSize:function(){if(zk.ie9){var a=
this.$n("a");this._oldCSS=a.style.display;a.style.display="none"}11>zk.ie&&this._syncFocus(this._focusItem);this._calcHgh()},_afterCalcSize:function(){zk.ie9&&(this.$n("a").style.display=this._oldCSS,delete this._oldCSS);this.$supers("_afterCalcSize",arguments)},indexOfItem:function(a){if(a.getMeshWidget()==this)for(var b=0,c=this.getBodyWidgetIterator(),d;d=c.next();b++)if(d==a)return b;return-1},toggleItemSelection:function(a){a.isSelected()?this._removeItemFromSelection(a):this._addItemToSelection(a);
this.updateFormData()},selectItem:function(a){a?!this._multiple&&a.isSelected()||this.setSelectedIndex(this.indexOfItem(a)):this.setSelectedIndex(-1)},_addItemToSelection:function(a){if(!a.isSelected()){if(this._multiple){var b=this.indexOfItem(a);if(b<this._selectedIndex||0>this._selectedIndex)this._selectedIndex=b;a._setSelectedDirectly(!0)}else this._selectedIndex=this.indexOfItem(a);this._selItems.push(a)}},_removeItemFromSelection:function(a){a.isSelected()&&(this._multiple?(a._setSelectedDirectly(!1),
this._selItems.$remove(a)):this.clearSelection())},clearSelection:function(){if(this._selItems.length){for(var a;a=this._selItems.pop();)a._setSelectedDirectly(!1);this._selectedIndex=-1;this._updHeaderCM()}else this._focusItem=null,this._anchorTop=this._anchorLeft=0,this._syncFocus()},focus_:function(a){var b;if(b=this.$n("a")){if(this._focusItem)for(var c=this.getBodyWidgetIterator(),d;d=c.next();){if(this._isFocus(d)){d.focus_(a);break}}else this._currentTop&&(c=this.ebody.scrollHeight,b.style.top=
this._currentTop>c?c+"px":this._currentTop+"px"),this._currentLeft&&(b.style.left=this._currentLeft+"px");this.focusA_(b,a);return!0}return!1},focusA_:function(a,b){zk(a).focus(b)},bind_:function(){this.$supers(t,"bind_",arguments);var a=this.$n("a");a&&this.domListen_(a,"onFocus","doFocus_").domListen_(a,"onKeyDown").domListen_(a,"onBlur","doBlur_");this.updateFormData();this._updHeaderCM()},unbind_:function(){var a=this.$n("a");a&&this.domUnlisten_(a,"onFocus","doFocus_").domUnlisten_(a,"onKeyDown").domUnlisten_(a,
"onBlur","doBlur_");this.$supers(t,"unbind_",arguments)},clearCache:function(){this.$supers("clearCache",arguments);this.efield=null},doFocus_:function(a){var b=this._focusItem||this._lastSelectedItem;b&&b._doFocusIn();this.$supers("doFocus_",arguments)},doBlur_:function(a){this._focusItem&&(this._lastSelectedItem=this._focusItem,this._focusItem._doFocusOut());this._focusItem=null;this.$supers("doBlur_",arguments)},shallIgnoreSelect_:function(a){return"onRightClick"==a.name?this.rightSelect?-1:!0:
!1},_shallIgnore:function(a,b){if(this.checkOnHighlightDisabled_()||!a.domTarget||!a.target.canActivate())return!0;if(b){try{var c=a.domTarget;if(c)for(;c.id!=this.uuid;)if(!(c=c.parentNode))return!0}catch(f){zk.debugLog(f.message||f)}if("string"==typeof(b=this.nonselectableTags)){if(!b)return;if("*"==b)return!0;c=jq.nodeName(a.domTarget);var d="input"==c&&"button"==a.domTarget.type.toLowerCase();return 0>b.indexOf(c)?0<=b.indexOf("button")&&(h(a)||d):!d||0<=b.indexOf("button")}}return g(a)},checkOnHighlightDisabled_:zk.$void,
_doItemSelect:function(a,b){var c,d=b.domTarget,f=a.$n("cm");f=this._checkmark&&(d==f||d.parentNode==f);if(!(zk.dragging||!f&&(this._shallIgnore(b,!0)||(c=this.shallIgnoreSelect_(b,a))&&!(c=0>c))))if(d=g(b),!this._checkmark||b.data.shiftKey||b.data.ctrlKey||b.data.metaKey||this._cdo&&!f){if((zk.gecko||zk.webkit)&&a.isListen("onDoubleClick")){f=jq.now();var k=a._last;a._last=f;if(k&&900>f-k)return}this._syncFocus(a);this._multiple?b.data.shiftKey?this._selectUpto(a,b,d):b.data.ctrlKey||b.data.metaKey?
this._toggleSelect(a,!a.isSelected(),b,d):c&&a.isSelected()||this._select(a,b,d):this._select(a,b,d);d||a.focus()}else this._syncFocus(a),this._multiple?(f=a.isSelected())&&c||this._toggleSelect(a,!f,b,d):this._select(a,b,d)},doKeyDown_:function(a){if(!this._shallIgnore(a))switch(a.data.keyCode){case 33:case 34:case 38:case 40:case 37:case 39:case 32:case 36:case 35:return jq.nodeName(a.domTarget,"a")||this.focus(),a.domTarget==this.$n("a")&&(a.target==this&&(a.target=this._focusItem||this.getSelectedItem()||
this),this._doKeyDown(a)),a.stop(),!1}jq.nodeName(a.domTarget,"input","textarea")||(this._disableSelection_=!0,zk(this.$n()).disableSelection());a.target==this&&(a.target=this._focusItem||this.getSelectedItem()||this);this.$supers("doKeyDown_",arguments)},doKeyUp_:function(a){this._disableSelection_&&(this._disableSelection_=!1,zk(this.$n()).enableSelection());a.stop({propagation:!0});this.$supers("doKeyUp_",arguments)},_doKeyDown:function(a){if(zAu.processing()||this._shallIgnore(a))return!0;var b=
this._focusItem||this.getSelectedItem(),c=a.data,d=c.shiftKey,f=c.ctrlKey||c.metaKey;d&&!this._multiple&&(d=!1);this._startRow&&!d&&this._multiple?this._startRow=null:!this._startRow&&d&&(this._startRow=b);var k=!1;zk.webkit&&"string"==typeof c.keyCode&&(c.keyCode=zk.parseInt(c.keyCode));switch(c.keyCode){case 33:case 34:var l=this.paging||this._paginal;if(b&&l&&!l.isDisabled()){a=this.getActivePage()+(33==c.keyCode?-1:1);-1<a&&a<this.getPageCount()&&this.fire("onAcrossPage",{page:a,offset:this.indexOfItem(b),
shift:d&&this._multiple?33==c.keyCode?this.getPageSize():-this.getPageSize():0});return}l=this._visibleRows();0==l&&(l=this.getPageSize()||20);33==c.keyCode&&(l=-l);break;case 38:case 40:l=40==c.keyCode?1:-1;break;case 32:b&&(this._multiple?this._toggleSelect(b,!b.isSelected(),a):this._select(b,a));break;case 36:case 35:l=35==c.keyCode?1:-1;k=!0;break;case 37:b&&this._doLeft(b);break;case 39:b&&this._doRight(b)}if(0<l||0>l&&b)for(b&&d&&!b.isDisabled()&&b.isSelectable()&&this._toggleSelect(b,this._getToSelFlag(b,
this._startRow,l),a),b=b?b.$n():null;;){if(b)b=0<l?b.nextSibling:b.previousSibling;else if(b=this.getBodyWidgetIterator().next())b=b.$n();else return;if(!b){if(k)break;(k=this.paging||this._paginal)&&!k.isDisabled()&&(b=k.getActivePage(),0<l?b+1<k.getPageCount():0<b)&&(this.fire("onAcrossPage",{page:b+(0<l?1:0),offset:0<l?0:-1,shift:this._multiple&&d?0<l?-1:1:0}),this.$class.shallSyncSelInView||(this.$class.shallSyncSelInView={}),this.$class.shallSyncSelInView[this.uuid]=!0);break}c=zk.Widget.$(b);
c.$instanceof(zul.sel.Treerow)&&(c=c.parent);if(!c.isDisabled()&&c.isSelectable()&&(d&&this._toggleSelect(c,k?this._getToSelFlag(c,this._startRow,l):!0,a),zk(b).isVisible())){var q=c;if(!k&&(0<l?--l:++l,0==l))break}}q&&(d||(f?this._focus(q):this._select(q,a)),this._syncFocus(q),(d=this._scrollbar)?d.scrollToElement(q.$n()):zk(q.$n()).scrollIntoView(this.ebody));return e(a)},_getToSelFlag:function(a,b,c){if(!b)return!0;a=b.compareItemPos_(a);return 0==a||-1==a&&-1==c||1==a&&1==c},_doKeyUp:function(a){return zAu.processing()||
this._shallIgnore(a)||e(a)},_doLeft:zk.$void,_doRight:zk.$void,_syncFocus:function(a){var b=this.$n("a");if(b){var c=b.style,d=this._anchorTop,f=this._anchorLeft,k;a&&(k=a.$n())?(a=zk(k).revisedOffset(),a=this._toStyleOffset(b,a[0]+this.ebody.scrollLeft,a[1])):a=[f?f:0,d?d:0];this.fixAnchor_(a,b);if(this._anchorTop!=a[1]||this._anchorLeft!=a[0])this._anchorTop=a[1],this._anchorLeft=a[0],this.fire("onAnchorPos",{top:this._anchorTop,left:this._anchorLeft});c.top=this._anchorTop+"px";c.left=this._anchorLeft+
"px"}},_toStyleOffset:function(a,b,c){var d=zk(a).revisedOffset(),f=zk.parseFloat(a.style.left);a=zk.parseFloat(a.style.top);return[b-d[0]+f,c-d[1]+a]},fixAnchor_:function(a,b){var c=this.ebody,d=c.scrollWidth;c=c.scrollHeight;a[0]>=d&&(a[0]=d-jq(b).width());a[1]>=c&&(a[1]=c-jq(b).height())},_select:function(a,b,c){this._selectOne(a,c)&&this.fireOnSelect(a,b)},_selectUpto:function(a,b,c){if(a.isSelected())c||this._focus(a);else{var d=!1,f=!1,k=this._focusItem||this._lastSelectedItem;if(!k.isSelected())for(var l=
this.indexOfItem(a),q=Number.MAX_VALUE,p=0;p<this._selItems.length;++p){var u=this._selItems[p],v=this.indexOfItem(u),w=q;q=Math.min(l-v,q);q!=w&&(k=u)}l=this.getBodyWidgetIterator();for(q=this.getSelectedItem();p=l.next();)if(!p.isDisabled()&&p.isSelectable())if(d){if(this._changeSelect(p,!0),p==a)break}else if(f){if(this._changeSelect(p,!0),this._isFocus(p)||p==k)break}else if(q){if(f=p==a,d=this._isFocus(p)||p==k,f||d)if(this._changeSelect(p,!0),f&&d)break}else if(p==a){this._changeSelect(p,!0);
break}c||this._focus(a);this.fireOnSelect(a,b)}},setSelectAll:_zkf=function(a,b){for(var c=this.getBodyWidgetIterator(),d;d=c.next();)d._loaded&&!d.isDisabled()&&d.isSelectable()&&this._changeSelect(d,!0);a&&!0!==b&&this.fireOnSelect(this.getSelectedItem(),b)},selectAll:_zkf,_selectOne:function(a,b){var c=this.getSelectedItem();if(this._multiple){if(a&&this._unsetFocusExcept(a),!this._unsetSelectAllExcept(a)&&a&&c==a)return b||this._setFocus(a,!0),!1}else{if(c){if(c==a)return b||this._setFocus(a,
!0),!1;this._changeSelect(c,!1);a&&(b||this._setFocus(c,!1))}a&&this._unsetFocusExcept(a)}a&&(this._changeSelect(a,!0),this._lastSelectedItem=a,b||this._setFocus(a,!0));return!0},_toggleSelect:function(a,b,c,d){this._isSelecting=b;if(!this._multiple){var f=this.getSelectedItem();a!=f&&b&&this._changeSelect(a,!1)}this._changeSelect(a,b);d||this._focus(a);this.fireOnSelect(a,c)},fireOnSelect:function(a,b){for(var c=[],d=this.getSelectedItems(),f=d.length,k=0;k<f;k++)d[k].isSelected()&&c.push(d[k]);
f=!0;d=!1;this._multiple&&this._headercm&&(d=jq(this._headercm).hasClass(zk.Widget.$(this._headercm).$s("checked")));if(b){var l=b.data;this._multiple&&(this._headercm&&jq.isAncestor(this._headercm,b.domTarget)&&!d?f=!1:(b=b.domTarget,f=a&&a.$n("cm"),f=l.ctrlKey||l.metaKey||l.shiftKey||this._checkmark&&(!this._cdo||b==f||b.parentNode==f||d)))}this.fire("onSelect",zk.copy({items:c,reference:a,clearFirst:!f,selectAll:d},l),{rtags:{selectAll:d},toServer:!!this._model})},_focus:function(a){this.canActivate({checkOnly:!0})&&
(this._unsetFocusExcept(a),this._setFocus(a,!0))},_changeSelect:function(a,b){var c=!!a.isSelected()!=b;c&&a.setSelected(b);return c},_isFocus:function(a){return this._focusItem==a},_setFocus:function(a,b){var c=this._isFocus(a)!=b;c&&b&&(a.focus()||this.focus(),!this.paging&&zk.gecko&&this.fireOnRender(5));b||a._doFocusOut();return c},_unsetSelectAllExcept:function(a){this.$$selectAll=void 0;for(var b=!1,c=this.getSelectedItems(),d=c.length;d--;)c[d]!=a&&this._changeSelect(c[d],!1)&&(b=!0);return b},
_unsetFocusExcept:function(a){this._focusItem&&this._focusItem!=a&&(this._setFocus(this._focusItem,!1),this._focusItem=null)},_updHeaderCM:function(){if(this._headercm&&this._multiple){var a=this,b;this._nUpdHeaderCM=0<(b=this._nUpdHeaderCM)?b+1:1;setTimeout(function(){if(void 0==a.$$selectAll&&0>=--a._nUpdHeaderCM&&a.desktop&&a._headercm&&a._multiple){var c=zk.Widget.$(a._headercm),d=c.getZclass()+"-checked",f=jq(a._headercm),k=a._isAllSelected();f[k?"addClass":"removeClass"](d);c._checked=k}},100)}},
$fireService:function(a,b,c){this._$services||(this._$services={});this._$services[a]||(this._$services[a]=[]);this._$services[a].push(c);this.fire(a,b,{toServer:!0},250)},$doService:function(a,b){var c=this._$services&&this._$services[a];if(c){for(;c.length;)c.shift().call(this,b);this._$services[a]=null}},$hasService:function(a){return this._$services&&this._$services[a]},_isAllSelected:function(){if(!this._selItems.length){if(this._headercm&&this._model&&!this.$hasService("onUpdateSelectAll")){var a=
zk.Widget.$(this._headercm),b=a.getZclass()+"-checked";jq(this._headercm).removeClass(b);a._checked=!1}return!1}if(this._model&&(this.$hasService("onUpdateSelectAll")||this.$fireService("onUpdateSelectAll",null,function(d){if(this.desktop&&this._headercm&&this._multiple){var f=zk.Widget.$(this._headercm),k=f.getZclass()+"-checked";jq(this._headercm)[d?"addClass":"removeClass"](k);this.$$selectAll=f._checked=d}}),void 0!=this.$$selectAll))return this.$$selectAll;a=this.groupSelect;b=this.getBodyWidgetIterator({skipHidden:!0});
for(var c;c=b.next();)if((!m(c)&&!r(c)||a)&&c._loaded&&!c.isDisabled()&&c.isSelectable()&&!c.isSelected())return!1;return!0},_ignoreHghExt:function(){return 0<this._rows},onResponse:function(a,b){if(this._shallSyncFocus){var c=this._shallSyncFocus;if(c&&!0===c)this._anchorTop=this._anchorLeft=0,jq(this.$n("a")).css({top:0,left:0});else{if(!c.desktop&&(c=this.getSelectedItem(),!c&&jq.isNumeric(this.getSelectedIndex()))){var d=this.getSelectedIndex();if(0<=d)for(var f=this.getBodyWidgetIterator();f.hasNext();){var k=
f.next();if(k&&k._index==d){c=k;break}}}this._focusItem=c;this._syncFocus(c)}this._shallSyncFocus=!1}this._shallSyncCM&&(b.rtags.selectAll||this._updHeaderCM(),this._shallSyncCM=!1);this.$supers(t,"onResponse",arguments)},onChildAdded_:function(a){this.$supers("onChildAdded_",arguments);this.desktop&&a.$instanceof(zul.sel.ItemWidget)&&a.isSelected()&&(this._shallSyncFocus=a)},onChildRemoved_:function(a){this.$supers("onChildRemoved_",arguments);var b=this._selItems,c;this.desktop&&(c=b.length)&&a.$instanceof(zul.sel.ItemWidget)&&
(this._shallSyncFocus=b[c-1]);this._focusItem==a&&(this._lastSelectedItem=this._focusItem=null,this._itemForSelect=a)},replaceWidget:function(a){this.$supers("replaceWidget",arguments);a._lastSelectedItem=n(this._lastSelectedItem);a._focusItem=n(this._focusItem)}})})();
