var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(c,e,a){if(null==c)throw new TypeError("The 'this' value for String.prototype."+a+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+a+" must not be a regular expression");return c+""};$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(c,e,a){if(c==Array.prototype||c==Object.prototype)return c;c[e]=a.value;return c};
$jscomp.getGlobal=function(c){c=["object"==typeof globalThis&&globalThis,c,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;e<c.length;++e){var a=c[e];if(a&&a.Math==Math)return a}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(c,e){var a=$jscomp.propertyToPolyfillSymbol[e];if(null==a)return c[e];a=c[a];return void 0!==a?a:c[e]};$jscomp.polyfill=function(c,e,a,b){e&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(c,e,a,b):$jscomp.polyfillUnisolated(c,e,a,b))};
$jscomp.polyfillUnisolated=function(c,e,a,b){a=$jscomp.global;c=c.split(".");for(b=0;b<c.length-1;b++){var d=c[b];if(!(d in a))return;a=a[d]}c=c[c.length-1];b=a[c];e=e(b);e!=b&&null!=e&&$jscomp.defineProperty(a,c,{configurable:!0,writable:!0,value:e})};
$jscomp.polyfillIsolated=function(c,e,a,b){var d=c.split(".");c=1===d.length;b=d[0];b=!c&&b in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var f=0;f<d.length-1;f++){var g=d[f];if(!(g in b))return;b=b[g]}d=d[d.length-1];a=$jscomp.IS_SYMBOL_NATIVE&&"es6"===a?b[d]:null;e=e(a);null!=e&&(c?$jscomp.defineProperty($jscomp.polyfills,d,{configurable:!0,writable:!0,value:e}):e!==a&&(void 0===$jscomp.propertyToPolyfillSymbol[d]&&(a=1E9*Math.random()>>>0,$jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE?
$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+a+"$"+d),$jscomp.defineProperty(b,$jscomp.propertyToPolyfillSymbol[d],{configurable:!0,writable:!0,value:e})))};$jscomp.polyfill("String.prototype.startsWith",function(c){return c?c:function(e,a){var b=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var d=b.length,f=e.length;a=Math.max(0,Math.min(a|0,b.length));for(var g=0;g<f&&a<d;)if(b[a++]!=e[g++])return!1;return g>=f}},"es6","es3");
(function(){function c(a){zWatch.listen({onSize:a});var b;if(b=a._upload)a._uplder=new zul.Upload(a,null,b)}function e(a){var b;if(b=a._uplder)zWatch.unlisten({onSize:a}),a._uplder=null,b.destroy()}zul.wgt.Toolbarbutton=zk.$extends(zul.LabelImageWidget,{_orient:"horizontal",_dir:"normal",_mode:"default",_checked:!1,_tabindex:0,$define:{mode:function(a){this.rerender()},checked:function(a){if(this.desktop&&"toggle"==this._mode)jq(this.$n())[a?"addClass":"removeClass"](this.$s("checked"))},disabled:[function(a,
b){b&&b.adbs?this._adbs=!0:b&&void 0!==b.adbs||(this._adbs=!1);if(!a)if(this._adbs)this._adbs=!1;else if(b&&!1===b.adbs)return this._disabled;return a},function(a,b){var d=this;b=function(){d.desktop&&(jq(d.$n()).attr("disabled",a),d._upload&&(a?e(d):c(d)))};"submit"==this._type?setTimeout(b,50):b()}],href:null,target:null,dir:_zkf=function(){this.updateDomContent_()},orient:_zkf,autodisable:null,upload:function(a){this.$n()&&(e(this),a&&"false"!=a&&!this._disabled&&c(this))}},getTextNode:function(){return this.$n("cnt")},
bind_:function(){this.$supers(zul.wgt.Toolbarbutton,"bind_",arguments);if(!this._disabled){var a=this.$n();this.domListen_(a,"onFocus","doFocus_").domListen_(a,"onBlur","doBlur_")}!this._disabled&&this._upload&&c(this)},unbind_:function(){e(this);var a=this.$n();this.domUnlisten_(a,"onFocus","doFocus_").domUnlisten_(a,"onBlur","doBlur_");this.$supers(zul.wgt.Toolbarbutton,"unbind_",arguments)},domContent_:function(){var a=zUtl.encodeXML(this.getLabel()),b=this.domImage_(),d=this.domIcon_();if(!b&&
!d)return a;b=b?b+(d?" "+d:""):d;d=a?"vertical"==this.getOrient()?"<br/>":"&nbsp;":"";return"reverse"==this.getDir()?a+d+b:b+d+a},domClass_:function(a){var b=this.$supers("domClass_",arguments),d=this.getZclass(),f=!a||!a.zclass;"toggle"==this._mode&&this._checked&&f&&d&&(b+=" "+this.$s("checked"));return b},domAttrs_:function(a){var b=this.$supers("domAttrs_",arguments);this._disabled&&(b+=' disabled="disabled"');return b},onSize:function(){this._uplder&&this._uplder.sync()},doClick_:function(a){if(!this._disabled&&
(this._upload?(!zk.ie||10<zk.ie)&&this._uplder.openFileDialog():zul.wgt.ADBS.autodisable(this),this.fireX(a),!a.stopped)){var b=this._href,d=b?b.toLowerCase().startsWith("mailto:"):!1;b&&(d?(b=jq.newFrame("mailtoFrame",b,null),jq(b).remove()):zUtl.go(b,{target:this._target||(a.data.ctrlKey?"_blank":"")}));this.$super("doClick_",a,!0);"toggle"==this._mode&&(this.setChecked(!this.isChecked()),this.fire("onCheck",this.isChecked()))}},focus_:function(a){if(void 0!=this._tabindex||this._href||this._upload){var b=
this,d=this.$n();zk.afterAnimate(function(){try{d.focus(),zk.currentFocus=b,zjq.fixInput(d)}catch(f){zk.debugLog(f.message||f)}},a);return!0}return!1}})})();
