var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(g,h,e){if(null==g)throw new TypeError("The 'this' value for String.prototype."+e+" must not be null or undefined");if(h instanceof RegExp)throw new TypeError("First argument to String.prototype."+e+" must not be a regular expression");return g+""};$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(g,h,e){if(g==Array.prototype||g==Object.prototype)return g;g[h]=e.value;return g};
$jscomp.getGlobal=function(g){g=["object"==typeof globalThis&&globalThis,g,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var h=0;h<g.length;++h){var e=g[h];if(e&&e.Math==Math)return e}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(g,h){var e=$jscomp.propertyToPolyfillSymbol[h];if(null==e)return g[h];e=g[e];return void 0!==e?e:g[h]};$jscomp.polyfill=function(g,h,e,l){h&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(g,h,e,l):$jscomp.polyfillUnisolated(g,h,e,l))};
$jscomp.polyfillUnisolated=function(g,h,e,l){e=$jscomp.global;g=g.split(".");for(l=0;l<g.length-1;l++){var m=g[l];if(!(m in e))return;e=e[m]}g=g[g.length-1];l=e[g];h=h(l);h!=l&&null!=h&&$jscomp.defineProperty(e,g,{configurable:!0,writable:!0,value:h})};
$jscomp.polyfillIsolated=function(g,h,e,l){var m=g.split(".");g=1===m.length;l=m[0];l=!g&&l in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var r=0;r<m.length-1;r++){var q=m[r];if(!(q in l))return;l=l[q]}m=m[m.length-1];e=$jscomp.IS_SYMBOL_NATIVE&&"es6"===e?l[m]:null;h=h(e);null!=h&&(g?$jscomp.defineProperty($jscomp.polyfills,m,{configurable:!0,writable:!0,value:h}):h!==e&&(void 0===$jscomp.propertyToPolyfillSymbol[m]&&(e=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[m]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(m):$jscomp.POLYFILL_PREFIX+e+"$"+m),$jscomp.defineProperty(l,$jscomp.propertyToPolyfillSymbol[m],{configurable:!0,writable:!0,value:h})))};$jscomp.polyfill("String.prototype.startsWith",function(g){return g?g:function(h,e){var l=$jscomp.checkStringArgs(this,h,"startsWith");h+="";var m=l.length,r=h.length;e=Math.max(0,Math.min(e|0,l.length));for(var q=0;q<r&&e<m;)if(l[e++]!=h[q++])return!1;return q>=r}},"es6","es3");
$jscomp.polyfill("String.prototype.endsWith",function(g){return g?g:function(h,e){var l=$jscomp.checkStringArgs(this,h,"endsWith");h+="";void 0===e&&(e=l.length);e=Math.max(0,Math.min(e|0,l.length));for(var m=h.length;0<m&&0<e;)if(l[--e]!=h[--m])return!1;return 0>=m}},"es6","es3");
(function(){function g(a,f,b,d){p!=a||u!=f?(l(),q={tip:a,ref:f,params:b,timer:setTimeout(function(){var k=q;if(k){p=k.tip;u=k.ref;q=null;var c=u.$n();if(c&&zk(c).isRealVisible()){k=k.params;c=k.x;var n=k.y;c&&(k.x=r(d,c));n&&(k.y=r(d,n));p.open(k.ref||u,void 0!==k.x?[k.x,k.y]:zk.currentPointer,zul.Widget._getPopupPosition(k),{focusFirst:!0,sendOnOpen:!0})}else p=u=null}},void 0!==b.delay?b.delay:zk.tipDelay)}):e()}function h(){var a=q;a&&(q=null,clearTimeout(a.timer))}function e(){var a=x;a&&(x=null,
clearTimeout(a))}function l(){h();e();var a=p;if(a&&a.desktop){var f=jq(a.$n()),b=f.offset(),d=zk.currentPointer;d[0]>=b.left&&d[0]<=b.left+f.width()&&d[1]>=b.top&&d[1]<=b.top+f.height()||(p=u=null,a.close({sendOnOpen:!0}))}}function m(a){zk.error("setCtrlKeys: "+a)}function r(a,f){return-1!=f.indexOf("(")&&-1!=f.indexOf(")")?(new Function("event","return "+f+";"))(a):zk.parseInt(f)}var q,x,p,u;zul.Widget=zk.$extends(zk.Widget,{bind_:function(){this.$supers(zul.Widget,"bind_",arguments);jq(this.uuid,
zk).data("scrollable")&&(this._doScrollableSyncScroll=zUtl.throttle(function(){jq(this).data("scrollable")&&(zWatch.fireDown("onScroll",this),zWatch.fire("_onSyncScroll",this))},1E3/60),this.domListen_(this.getCaveNode(),"onScroll","_doScrollableSyncScroll"))},unbind_:function(){this._doScrollableSyncScroll&&this.domUnlisten_(this.getCaveNode(),"onScroll","_doScrollableSyncScroll");this.$supers(zul.Widget,"unbind_",arguments)},getContext:function(){return this._context},setContext:function(a){zk.Widget.isInstance(a)&&
(a="uuid("+a.uuid+")");this._context=a;return this},getPopup:function(){return this._popup},setPopup:function(a){zk.Widget.isInstance(a)&&(a="uuid("+a.uuid+")");this._popup=a;return this},getTooltip:function(){return this._tooltip},setTooltip:function(a){zk.Widget.isInstance(a)&&(a="uuid("+a.uuid+")");this._tooltip=a;return this},getCtrlKeys:function(){return this._ctrlKeys},setCtrlKeys:function(a){if(this._ctrlKeys!=a){if(a){for(var f=[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}],b=0,d=0,k=a.length;d<
k;++d){var c=a.charAt(d);switch(c){case "^":case "@":case "$":case "%":var n="^"==c?1:"@"==c?2:"$"==c?4:8;if(0!=(b&n))return m("Unexpected key combination: "+a);b|=n;break;case "#":for(n=d+1;n<k;++n){var t=a.charAt(n);if(("Z"<t||"A">t)&&("z"<t||"a">t)&&("9"<t||"0">t))break}if(n==d+1)return m("Unexpected character "+c+" in "+a);d=a.substring(d+1,n).toLowerCase();if("pgup"==d)c=33;else if("pgdn"==d)c=34;else if("end"==d)c=35;else if("home"==d)c=36;else if("left"==d)c=37;else if("up"==d)c=38;else if("right"==
d)c=39;else if("down"==d)c=40;else if("ins"==d)c=45;else if("del"==d)c=46;else if("bak"==d)c=8;else if("tab"==d)c=9;else if(1<d.length&&"f"==d.charAt(0)){d=zk.parseInt(d.substring(1));if(0==d||12<d)return m("Unsupported function key: #f"+d);c=112+d-1}else return m("Unknown #"+d+" in "+a);f[b][c]=!0;b=0;d=n-1;break;default:if(!b||("Z"<c||"A">c)&&("z"<c||"a">c)&&("9"<c||"0">c))return m("Unexpected character "+c+" in "+a);if(4==b)return m("$a - $z not supported (found in "+a+"). Allowed: $#f1, $#home and so on.");
"z">=c&&"a"<=c&&(c=c.toUpperCase());f[b][c.charCodeAt(0)]=!0;b=0}}this._parsedCtlKeys=f;this._ctrlKeys=a;return this}this._ctrlKeys=this._parsedCtlKeys=null}},_parsePopParams:function(a,f){var b={},d=a.indexOf(","),k=a.indexOf("="),c=a;-1!=k&&(c=a.substring(0,a.substring(0,k).lastIndexOf(",")));if(-1!=d){b.id=c.substring(0,d).trim();if(d=c.substring(d+1,c.length))b.position=d.trim();zk.copy(b,zUtl.parseMap(a.substring(c.length,a.length)))}else b.id=a.trim();if(this._popup||this._context)a=b.x,c=b.y,
a&&(b.x=r(f,a)),c&&(b.y=r(f,c));b.delay&&(b.delay=zk.parseInt(b.delay));b.ref&&(b.ref=this._smartFellow(b.ref));return b},doClick_:function(a,f){if(!this.shallIgnoreClick_(a)&&!a.contextSelected){var b=this._popup?this._parsePopParams(this._popup,a):{},d=this._smartFellow(b.id);if(d){a.contextSelected=!0;var k=this,c=void 0!==b.x?[b.x,b.y]:[a.pageX,a.pageY];b.type&&"toggle"==b.type&&d.isOpen()?d.close({sendOnOpen:!0}):setTimeout(function(){k.desktop&&d.open(b.ref||k,c,zul.Widget._getPopupPosition(b),
{focusFirst:!0,sendOnOpen:!0,type:b.type,which:1})},0);a.stop({dom:!0})}}!0!==f&&this.$supers("doClick_",arguments)},doRightClick_:function(a){if(!this.shallIgnoreClick_(a)&&!a.contextSelected){var f=this._context?this._parsePopParams(this._context,a):{},b=this._smartFellow(f.id);if(b){a.contextSelected=!0;var d=this,k=void 0!==f.x?[f.x,f.y]:[a.pageX,a.pageY];f.type&&"toggle"==f.type&&b.isOpen()?b.close({sendOnOpen:!0}):setTimeout(function(){d.desktop&&b.open(f.ref||d,k,zul.Widget._getPopupPosition(f),
{focusFirst:!0,sendOnOpen:!0,type:f.type,which:3})},0);a.stop({dom:!0})}}this.$supers("doRightClick_",arguments)},doTooltipOver_:function(a){var f;if(f=!a.tooltipped)p&&!p.isOpen()&&(h(),e(),p=u=null),(f=p&&zUtl.isAncestor(p,this))&&e(),f=!f;if(f){f=this._tooltip?this._parsePopParams(this._tooltip):{};var b=this._smartFellow(f.id);b&&(a.tooltipped=!0,g(b,this,f,a))}this.$supers("doTooltipOver_",arguments)},doTooltipOut_:function(a){u==this||p==this?(e(),x=setTimeout(l,100)):h();this.$supers("doTooltipOut_",
arguments)},_smartFellow:function(a){return a?a.startsWith("uuid(")&&a.endsWith(")")?zk.Widget.$(a.substring(5,a.length-1)):this.$f(a,!0):null},doKeyDown_:function(a){this.getCtrlKeys()||this.isListen("onOK")||this.isListen("onCancel")?this.afterKeyDown_(a)||this.$supers("doKeyDown_",arguments):this.$supers("doKeyDown_",arguments)},afterKeyDown_:function(a){var f=a.keyCode,b="onCtrlKey",d=zk.mac&&a.metaKey;switch(f){case 13:var k=a.domTarget;var c=jq.nodeName(k);if("textarea"==c||!("button"!=c||k.id&&
k.id.endsWith("-a"))||"input"==c&&"button"==k.type.toLowerCase())return;c=b="onOK";break;case 27:c=b="onCancel";break;case 16:case 17:case 18:return;case 45:case 46:case 8:case 9:break;default:if(!(33<=f&&40>=f||112<=f&&123>=f||a.ctrlKey||a.altKey||d))return}for(var n=k=a.target;;n=n.parent){if(!n)return;if(n.isListen(b,{any:!0})){if(c)break;var t=n._parsedCtlKeys,v=0;if(t&&(a.ctrlKey&&(v|=1),a.altKey&&(v|=2),a.shiftKey&&(v|=4),d&&(v|=8),t[v][f]))break}}setTimeout(function(){for(var w=k;;w=w.parent){if(w.beforeCtrlKeys_&&
w.beforeCtrlKeys_(a))return;if(w==n)break}n.fire(b,zk.copy({reference:k},a.data))},0);a.stop();jq.nodeName(a.domTarget,"select")&&a.stop({dom:!0,revoke:!0});11>zk.ie&&112==f&&(zk._oldOnHelp=window.onhelp,window.onhelp=function(){return!1},setTimeout(function(){window.onhelp=zk._oldOnHelp;zk._oldOnHelp=null},200));return!0},beforeCtrlKeys_:function(a){}},{getOpenTooltip:function(){return p&&p.isOpen()?p:null},_getPopupPosition:function(a){return a.position?a.position:"x"in a||"y"in a?null:"at_pointer"}})})();
