var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.checkStringArgs=function(b,g,d){if(null==b)throw new TypeError("The 'this' value for String.prototype."+d+" must not be null or undefined");if(g instanceof RegExp)throw new TypeError("First argument to String.prototype."+d+" must not be a regular expression");return b+""};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,g,d){b!=Array.prototype&&b!=Object.prototype&&(b[g]=d.value)};$jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);
$jscomp.polyfill=function(b,g,d,e){if(g){d=$jscomp.global;b=b.split(".");for(e=0;e<b.length-1;e++){var h=b[e];h in d||(d[h]={});d=d[h]}b=b[b.length-1];e=d[b];g=g(e);g!=e&&null!=g&&$jscomp.defineProperty(d,b,{configurable:!0,writable:!0,value:g})}};
$jscomp.polyfill("String.prototype.startsWith",function(b){return b?b:function(b,d){var e=$jscomp.checkStringArgs(this,b,"startsWith");b+="";var g=e.length,l=b.length;d=Math.max(0,Math.min(d|0,e.length));for(var m=0;m<l&&d<g;)if(e[d++]!=b[m++])return!1;return m>=l}},"es6","es3");
zk.copy(zk,function(){function b(a){n[a]=!0;e.push(a);1==(zk.loading=e.length)&&zk.disableESC()}function g(a,c){for(var b;b=a.shift();){if((zk.loading=e.length)||c&&h.length){a.unshift(b);break}b()}}var d={zk:!0},e=[],h=[],l=[],m=[],r={},k={},v={},t={},u=[],n=zk.copy({"zul.lang":!0},d);return{setLoaded:_zkf=function(a,c){e.$remove(a);n[a]=!0;if(c)d[a]||h.push(a);else{h.$remove(a);d[a]=!0;if(c=r[a])delete r[a],l.$addAll(c);if(c=k[a])for(delete k[a];a=c.unshift();)zk.load(a)}if(!(zk.loading=e.length)){try{zk.enableESC()}catch(q){zk.debugLog(q.message||
q)}g(l);g(m,1)}},setScriptLoaded:_zkf,isLoaded:function(a,c){return c&&n[a]||d[a]},load:function(a,c,b){if("function"==typeof c){if(b)throw"At most one function allowed";b=c;c=null}b&&zk.afterLoad(a,b,!0);var d;b=a.split(",");for(var f=b.length;f--;)a=b[f].trim(),zk._load(a,c)||(d=!0);return!d},_load:function(a,c){if(!a||n[a])return!zk.loading&&!h.length;b(a);var d=zk.getVersion(a)||zk.build,p=document.createElement("script"),f=a+".wpd";a=zk.getHost(a,!0);p.type="text/javascript";p.charset="UTF-8";
"/"!=f.charAt(0)&&(f="/"+f);f=a?a+"/web/js"+f:zk.ajaxURI(d?"/web/_zv"+d+"/js"+f:"/web/js"+f,{desktop:c,au:!0});p.src=f;jq.head().appendChild(p);return!1},loadScript:function(a,c,d,p){if(c){if(!p&&zk.isLoaded(c,!0))return;b(c)}c=document.createElement("script");c.type="text/javascript";c.charset=d||"UTF-8";c.src=a;jq.head().appendChild(c);return this},loadCSS:function(a,c,b){var d=document.createElement("link");c&&(d.id=c);d.rel="stylesheet";d.type="text/css";d.href=a;b&&(d.media=b);jq.head().appendChild(d);
return this},getVersion:function(a){for(var c;a;a=a.substring(0,a.lastIndexOf(".")))if(c=v[a])return c},setVersion:function(a,c){v[a]=c},depends:function(a,c){a&&c&&(d[a]?zk.load(c):k[a]?k[a].push(c):k[a]=[c])},afterLoad:function(a,c,b){if("string"==typeof a){if(!c)return!0;for(var e=a.split(","),f=e.length;f--;){var g=e[f].trim();if(g&&!d[g]){for(;f--;){var q=e[f].trim();if(q&&!d[q]){var k=a,n=c;c=function(){zk.afterLoad(k,n,b)};break}}r[g]?r[g].push(c):r[g]=[c];return!1}}a=c}if(a){if(zk.loading||
h.length)return(b?l:m).push(a),!1;a();return!0}},getHost:function(a,c){for(var b in t)if(a.startsWith(b))return t[b][c?1:0];return u[c?1:0]},setHost:function(a,c,b){c=a+c;if(!u.length)for(var d=document.getElementsByTagName("script"),f=0,g=d.length;f<g;++f){var e=d[f].src;if(e)if(e.startsWith(a)){u=[a,c];break}else if(0<=e.indexOf("/zk.wpd"))break}for(f=0;f<b.length;++f)t[b[f]]=[a,c]}}}());
