gapi.loaded_0(function(_){var window=this; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var ja,ka,na,ra,sa,ya,Ha,Pa,Qa;_.da=function(a){return function(){return _.ca[a].apply(this,arguments)}};_.ca=[];ja=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); sa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=f}}); var Sa=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));c>>0);_.A=function(a,b){a=a.split(".");var c=_.q;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}; _.Wa=function(a,b){function c(){}c.prototype=b.prototype;a.O=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Zo=function(d,e,f){for(var g=Array(arguments.length-2),k=2;kc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};_.Kb=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f")&&(a=a.replace(jc,">"));-1!=a.indexOf('"')&&(a=a.replace(kc,"""));-1!=a.indexOf("'")&&(a=a.replace(lc,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(mc,"�"))}return a};hc=/&/g;ic=//g;kc=/"/g;lc=/'/g; mc=/\x00/g;nc=/[\x00&<>"']/;_.pc=function(a,b){return-1!=a.indexOf(b)}; _.rc=function(a,b){var c=0;a=(0,_.gc)(String(a)).split(".");b=(0,_.gc)(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0}; var vc,wc,xc,yc;_.tc=function(a,b){this.aC=b===_.sc?a:""};_.h=_.tc.prototype;_.h.Ch=!0;_.h.sf=function(){return this.aC.toString()};_.h.CA=!0;_.h.Sj=function(){return 1};_.h.toString=function(){return this.aC.toString()};_.uc=function(a){if(a instanceof _.tc&&a.constructor===_.tc)return a.aC;_.ub(a);return"type_error:SafeUrl"};vc=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font\/\w+|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video\/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\w+=(?:\w+|"[\w;,= ]+"))*$/i; wc=/^data:(.*);base64,[a-z0-9+\/]+=*$/i;xc=function(a){a=String(a);a=a.replace(/(%0A|%0D)/g,"");var b=a.match(wc);return b&&vc.test(b[1])?new _.tc(a,_.sc):null};yc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;_.zc=function(a){if(a instanceof _.tc)return a;a="object"==typeof a&&a.Ch?a.sf():String(a);return yc.test(a)?new _.tc(a,_.sc):xc(a)}; _.Bc=function(a,b){if(a instanceof _.tc)return a;a="object"==typeof a&&a.Ch?a.sf():String(a);if(b&&/^data:/i.test(a)&&(b=xc(a)||_.Ac,b.sf()==a))return b;yc.test(a)||(a="about:invalid#zClosurez");return new _.tc(a,_.sc)};_.sc={};_.Ac=new _.tc("about:invalid#zClosurez",_.sc); _.Cc={};_.Ec=function(a,b){this.$B=b===_.Cc?a:"";this.Ch=!0};_.Ec.prototype.sf=function(){return this.$B};_.Ec.prototype.toString=function(){return this.$B.toString()};_.Fc=new _.Ec("",_.Cc); _.Gc={};_.Hc=function(a,b){this.ZB=b===_.Gc?a:"";this.Ch=!0};_.Jc=function(a){a=_.Ub(a);return 0===a.length?Ic:new _.Hc(a,_.Gc)};_.Hc.prototype.sf=function(){return this.ZB};_.Hc.prototype.toString=function(){return this.ZB.toString()};var Ic=new _.Hc("",_.Gc); _.Kc=function(){var a=_.q.navigator;return a?a.userAgentData||null:null};a:{var Mc=_.q.navigator;if(Mc){var Nc=Mc.userAgent;if(Nc){_.Lc=Nc;break a}}_.Lc=""}_.Oc=function(a){var b=_.Kc();return b?b.brands.some(function(c){return(c=c.brand)&&_.pc(c,a)}):!1};_.Pc=function(a){return _.pc(_.Lc,a)}; _.Rc=function(){return _.Kc()?!1:_.Pc("Opera")};_.Sc=function(){return _.Kc()?!1:_.Pc("Trident")||_.Pc("MSIE")};_.Tc=function(){return _.Kc()?!1:_.Pc("Edge")};_.Uc=function(){return _.Kc()?_.Oc("Firefox"):_.Pc("Firefox")||_.Pc("FxiOS")};_.Vc=function(){return _.Kc()?_.Oc("Chromium"):(_.Pc("Chrome")||_.Pc("CriOS"))&&!_.Tc()}; var Wc;Wc={};_.Xc=function(a,b,c){this.YB=c===Wc?a:"";this.HR=b;this.Ch=this.CA=!0};_.Xc.prototype.Sj=function(){return this.HR};_.Xc.prototype.sf=function(){return this.YB.toString()};_.Xc.prototype.toString=function(){return this.YB.toString()};_.Yc=function(a){if(a instanceof _.Xc&&a.constructor===_.Xc)return a.YB;_.ub(a);return"type_error:SafeHtml"};_.$c=function(a){if(a instanceof _.Xc)return a;var b="object"==typeof a,c=null;b&&a.CA&&(c=a.Sj());return _.Zc(_.oc(b&&a.Ch?a.sf():String(a)),c)}; _.Zc=function(a,b){var c=Qb();a=c?c.createHTML(a):a;return new _.Xc(a,b,Wc)};_.ad=new _.Xc(_.q.trustedTypes&&_.q.trustedTypes.emptyHTML||"",0,Wc);_.bd=_.Zc("
",0); _.cd=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}; var dd,hd;dd=_.cd(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=_.Yc(_.ad);return!b.parentElement});_.ed=function(a,b){if(dd())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.Yc(b)};_.fd=function(a,b){b=b instanceof _.tc?b:_.Bc(b);a.href=_.uc(b)}; _.gd=function(a,b,c,d){a=a instanceof _.tc?a:_.Bc(a);b=b||_.q;c=c instanceof _.Tb?_.Ub(c):c||"";return void 0!==d?b.open(_.uc(a),c,d):b.open(_.uc(a),c)};hd=/^[\w+/_-]+[=]{0,2}$/;_.id=function(a,b){b=(b||_.q).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&hd.test(a)?a:"":""}; _.jd=function(a){return a=_.oc(a,void 0)};_.kd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};_.ld=2147483648*Math.random()|0; _.md=function(){return _.Pc("iPhone")&&!_.Pc("iPod")&&!_.Pc("iPad")};_.nd=function(){return _.md()||_.Pc("iPad")||_.Pc("iPod")}; var od=function(a){od[" "](a);return a};od[" "]=_.tb;_.pd=function(a,b){try{return od(a[b]),!0}catch(c){}return!1};_.qd=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)}; var Jd,Kd,Pd,Td;_.rd=_.Rc();_.sd=_.Sc();_.td=_.Pc("Edge");_.vd=_.td||_.sd;_.wd=_.Pc("Gecko")&&!(_.pc(_.Lc.toLowerCase(),"webkit")&&!_.Pc("Edge"))&&!(_.Pc("Trident")||_.Pc("MSIE"))&&!_.Pc("Edge");_.xd=_.pc(_.Lc.toLowerCase(),"webkit")&&!_.Pc("Edge");_.yd=_.xd&&_.Pc("Mobile");_.zd=_.Pc("Macintosh");_.Ad=_.Pc("Windows");_.Bd=_.Pc("Linux")||_.Pc("CrOS");_.Cd=_.Pc("Android");_.Dd=_.md();_.Ed=_.Pc("iPad");_.Fd=_.Pc("iPod");_.Id=_.nd();Jd=function(){var a=_.q.document;return a?a.documentMode:void 0}; a:{var Ld="",Md=function(){var a=_.Lc;if(_.wd)return/rv:([^\);]+)(\)|;)/.exec(a);if(_.td)return/Edge\/([\d\.]+)/.exec(a);if(_.sd)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(_.xd)return/WebKit\/(\S+)/.exec(a);if(_.rd)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Md&&(Ld=Md?Md[1]:"");if(_.sd){var Nd=Jd();if(null!=Nd&&Nd>parseFloat(Ld)){Kd=String(Nd);break a}}Kd=Ld}_.Od=Kd;Pd={};_.Qd=function(a){return _.qd(Pd,a,function(){return 0<=_.rc(_.Od,a)})};_.Sd=function(a){return Number(_.Rd)>=a}; if(_.q.document&&_.sd){var Ud=Jd();Td=Ud?Ud:parseInt(_.Od,10)||void 0}else Td=void 0;_.Rd=Td; var Vd,Wd;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}Vd=!_.sd||_.Sd(9);Wd=!_.wd&&!_.sd||_.sd&&_.Sd(9)||_.wd;_.Xd=_.sd||_.rd||_.xd;_.Yd=_.sd&&!_.Sd(9); var ce,ge;_.ae=function(a){return a?new _.Zd(_.$d(a)):Ib||(Ib=new _.Zd)}; _.be=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,g;g=a[f];f++)b==g.nodeName&&(d[e++]=g);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;g=a[f];f++)b=g.className,"function"==typeof b.split&&_.kb(b.split(/\s+/),c)&&(d[e++]=g);d.length=e;return d}return a}; _.de=function(a,b){_.nb(b,function(c,d){c&&"object"==typeof c&&c.Ch&&(c=c.sf());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:ce.hasOwnProperty(d)?a.setAttribute(ce[d],c):_.ec(d,"aria-")||_.ec(d,"data-")?a.setAttribute(d,c):a[d]=c})};ce={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"}; _.ee=function(a){return a?a.parentWindow||a.defaultView:window};_.he=function(a,b){var c=String(b[0]),d=b[1];if(!Vd&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',_.jd(d.name),'"');if(d.type){c.push(' type="',_.jd(d.type),'"');var e={};_.qb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=_.fe(a,c);d&&("string"===typeof d?c.className=d:Array.isArray(d)?c.className=d.join(" "):_.de(c,d));21/a&&(a="-0"),b[b.length]=String(a);else if(e===gf)b[b.length]=String(!!Number(a));else{if(e===ff)return lf(a.toISOString.call(a),c);if(e===kf&&df(a.length)===ef){b[b.length]="[";var f=0;for(d=Number(a.length)>>0;f>0;f=e?"\\u"+(e+65536).toString(16).substr(1):32<=e&&65535>=e?d:"\ufffd";b[b.length]='"'}else if("object"===d){b[b.length]="{";d=0;for(f in a)Object.prototype.hasOwnProperty.call(a,f)&&(e=lf(a[f],c),void 0!==e&&(d++&&(b[b.length]=","),b[b.length]=lf(f),b[b.length]=":",b[b.length]=e));b[b.length]="}"}else return}return b.join("")}};mf=/[\0-\x07\x0b\x0e-\x1f]/; nf=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/;of=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/;pf=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/;qf=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g;rf=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g;sf=/[ \t\n\r]+/g;tf=/[^"]:/;uf=/""/g;vf=/true|false|null/g;wf=/00/;xf=/[\{]([^0\}]|0[^:])/;yf=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/;zf=/[^\[,:][\[\{]/;Af=/^(\{|\}|\[|\]|,|:|0)+/;Df=/\u2028/g; Ef=/\u2029/g; Ff=function(a){a=String(a);if(mf.test(a)||nf.test(a)||of.test(a)||pf.test(a))return!1;var b=a.replace(qf,'""');b=b.replace(rf,"0");b=b.replace(sf,"");if(tf.test(b))return!1;b=b.replace(uf,"0");b=b.replace(vf,"0");if(wf.test(b)||xf.test(b)||yf.test(b)||zf.test(b)||!b||(b=b.replace(Af,"")))return!1;a=a.replace(Df,"\\u2028").replace(Ef,"\\u2029");b=void 0;try{b=bf?[cf(a)]:eval("(function (var_args) {\n return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return b&&1=== b.length?b[0]:!1};Gf=function(){var a=((_.q.document||{}).scripts||[]).length;if((void 0===$e||void 0===bf||af!==a)&&-1!==af){$e=bf=!1;af=-1;try{try{bf=!!_.q.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===_.q.JSON.stringify.call(_.q.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===cf("true")&&3===cf('[{"a":3}]')[0].a}catch(b){}$e=bf&&!cf("[00]")&&!cf('"\u0007"')&&!cf('"\\0"')&&!cf('"\\v"')}finally{af=a}}};_.Hf=function(a){if(-1===af)return!1;Gf();return($e?cf:Ff)(a)}; _.If=function(a){if(-1!==af)return Gf(),bf?_.q.JSON.stringify.call(_.q.JSON,a):lf(a)};Jf=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==(new Date(0)).toISOString(); Kf=function(){var a=Date.prototype.getUTCFullYear.call(this);return[0>a?"-"+String(1E6-a).substr(1):9999>=a?String(1E4+a).substr(1):"+"+String(1E6+a).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1E3+Date.prototype.getUTCMilliseconds.call(this)).substr(1), "Z"].join("")};Date.prototype.toISOString=Jf?Kf:Date.prototype.toISOString; var Lf=function(){this.Gf=window.console};_.h=Lf.prototype;_.h.log=function(a){this.Gf&&this.Gf.log&&this.Gf.log(a)};_.h.error=function(a){this.Gf&&(this.Gf.error?this.Gf.error(a):this.Gf.log&&this.Gf.log(a))};_.h.warn=function(a){this.Gf&&(this.Gf.warn?this.Gf.warn(a):this.Gf.log&&this.Gf.log(a))};_.h.debug=function(){};_.h.NG=function(){this.debug=this.log};_.Mf=new Lf; _.xg=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("u`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!== c)throw Error("v`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a}; var uk=function(){this.hs={rL:nk?"../"+nk:null,Dy:ok,fI:pk,K$:qk,dI:rk,uaa:sk};this.$e=_.ue;this.cL=this.IR;this.xS=/MSIE\s*[0-8](\D|$)/.test(window.navigator.userAgent);if(this.hs.rL){this.$e=this.hs.fI(this.$e,this.hs.rL);var a=this.$e.document,b=a.createElement("script");b.setAttribute("type","text/javascript");b.text="window.doPostMsg=function(w,s,o) {window.setTimeout(function(){w.postMessage(s,o);},0);};";a.body.appendChild(b);this.cL=this.$e.doPostMsg}this.oD={};this.TD={};a=(0,_.T)(this.hA, this);_.Je(this.$e,"message",a);_.ye(_.Ke,"RPMQ",[]).push(a);this.$e!=this.$e.parent&&tk(this,this.$e.parent,this.hB(this.$e.name),"*")};uk.prototype.hB=function(a){return'{"h":"'+escape(a)+'"}'};var vk=function(a){var b=null;0===a.indexOf('{"h":"')&&a.indexOf('"}')===a.length-2&&(b=unescape(a.substring(6,a.length-2)));return b},wk=function(a){if(!/^\s*{/.test(a))return!1;a=_.Hf(a);return null!==a&&"object"===typeof a&&!!a.g}; uk.prototype.hA=function(a){var b=String(a.data);_.Mf.debug("gapix.rpc.receive("+qk+"): "+(!b||512>=b.length?b:b.substr(0,512)+"... ("+b.length+" bytes)"));var c=0!==b.indexOf("!_");c||(b=b.substring(2));var d=wk(b);if(!c&&!d){if(!d&&(c=vk(b))){if(this.oD[c])this.oD[c]();else this.TD[c]=1;return}var e=a.origin,f=this.hs.Dy;this.xS?_.ue.setTimeout(function(){f(b,e)},0):f(b,e)}};uk.prototype.nc=function(a,b){".."===a||this.TD[a]?(b(),delete this.TD[a]):this.oD[a]=b}; var tk=function(a,b,c,d){var e=wk(c)?"":"!_";_.Mf.debug("gapix.rpc.send("+qk+"): "+(!c||512>=c.length?c:c.substr(0,512)+"... ("+c.length+" bytes)"));a.cL(b,e+c,d)};uk.prototype.IR=function(a,b,c){a.postMessage(b,c)};uk.prototype.send=function(a,b,c){(a=this.hs.fI(this.$e,a))&&!a.closed&&tk(this,a,b,c)}; var xk,yk,zk,Ak,Bk,Ck,Dk,nk,qk,Ek,Fk,Gk,Hk,pk,rk,Ik,Jk,Ok,Pk,Rk,sk,Tk,Sk,Kk,Lk,Uk,ok,Vk,Wk;xk=0;yk=[];zk={};Ak={};Bk=_.ue.location.href;Ck=_.Ee(Bk,"rpctoken");Dk=_.Ee(Bk,"parent")||_.ve.referrer;nk=_.Ee(Bk,"rly");qk=nk||(_.ue!==_.ue.top||_.ue.opener)&&_.ue.name||"..";Ek=null;Fk={};Gk=function(){};Hk={send:Gk,nc:Gk,hB:Gk}; pk=function(a,b){"/"==b.charAt(0)&&(b=b.substring(1),a=_.ue.top);if(0===b.length)return a;for(b=b.split("/");b.length;){var c=b.shift();"{"==c.charAt(0)&&"}"==c.charAt(c.length-1)&&(c=c.substring(1,c.length-1));if(".."===c)a=a==a.parent?a.opener:a.parent;else if(".."!==c&&a.frames[c]){if(a=a.frames[c],!("postMessage"in a))throw"Not a window";}else return null}return a};rk=function(a){return(a=zk[a])&&a.Mw}; Ik=function(a){if(a.f in{})return!1;var b=a.t,c=zk[a.r];a=a.origin;return c&&(c.Mw===b||!c.Mw&&!b)&&(a===c.origin||"*"===c.origin)};Jk=function(a){var b=a.id.split("/"),c=b[b.length-1],d=a.origin;return function(e){var f=e.origin;return e.f==c&&(d==f||"*"==d)}};_.Mk=function(a,b,c){a=Kk(a);Ak[a.name]={Eg:b,Iq:a.Iq,Ho:c||Ik};Lk()};_.A("gapix.rpc.register",_.Mk);_.Nk=function(a){delete Ak[Kk(a).name]};_.A("gapix.rpc.unregister",_.Nk);Ok={}; Pk=function(a,b){(a=Ok["_"+a])&&a[1](this)&&a[0].call(this,b)};Rk=function(a){var b=a.c;if(!b)return Gk;var c=a.r,d=a.g?"legacy__":"";return function(){var e=[].slice.call(arguments,0);e.unshift(c,d+"__cb",null,b);_.Qk.apply(null,e)}};sk=function(a){Ek=a};Tk=function(a){Fk[a]||(Fk[a]=_.ue.setTimeout(function(){Fk[a]=!1;Sk(a)},0))};Sk=function(a){var b=zk[a];if(b&&b.ready){var c=b.dC;for(b.dC=[];c.length;)Hk.send(a,_.If(c.shift()),b.origin)}}; Kk=function(a){return 0===a.indexOf("legacy__")?{name:a.substring(8),Iq:!0}:{name:a,Iq:!1}};Lk=function(){for(var a=_.Eh("rpc/residenceSec")||60,b=(new Date).getTime()/1E3,c=0,d;d=yk[c];++c){var e=d.dm;if(!e||0a)yk.splice(c,1),--c;else{var f=e.s,g=Ak[f]||Ak["*"];if(g)if(yk.splice(c,1),--c,e.origin=d.origin,d=Rk(e),e.callback=d,g.Ho(e)){if("__cb"!==f&&!!g.Iq!=!!e.g)break;e=g.Eg.apply(e,e.a);void 0!==e&&d(e)}else _.Mf.debug("gapix.rpc.rejected("+qk+"): "+f)}}}; Uk=function(a,b,c){yk.push({dm:a,origin:b,timestamp:(new Date).getTime()/1E3});c||Lk()};ok=function(a,b){a=_.Hf(a);Uk(a,b,!1)};Vk=function(a){for(;a.length;)Uk(a.shift(),this.origin,!0);Lk()};Wk=function(a){var b=!1;a=a.split("|");var c=a[0];0<=c.indexOf("/")&&(b=!0);return{id:c,origin:a[1]||"*",SA:b}}; _.Xk=function(a,b,c,d){var e=Wk(a);d&&(_.ue.frames[e.id]=_.ue.frames[e.id]||d);a=e.id;if(!zk.hasOwnProperty(a)){c=c||null;d=e.origin;if(".."===a)d=_.xg(Dk),c=c||Ck;else if(!e.SA){var f=_.ve.getElementById(a);f&&(f=f.src,d=_.xg(f),c=c||_.Ee(f,"rpctoken"))}"*"===e.origin&&d||(d=e.origin);zk[a]={Mw:c,dC:[],origin:d,gZ:b,mL:function(){var g=a;zk[g].ready=1;Sk(g)}};Hk.nc(a,zk[a].mL)}return zk[a].mL};_.A("gapix.rpc.setup",_.Xk); _.Qk=function(a,b,c,d){a=a||"..";_.Xk(a);a=a.split("|",1)[0];var e=b,f=[].slice.call(arguments,3),g=c,k=qk,l=Ck,m=zk[a],n=k,p=Wk(a);if(m&&".."!==a){if(p.SA){if(!(l=zk[a].gZ)){l=Ek?Ek.substring(1).split("/"):[qk];n=l.length-1;for(var t=_.ue.parent;t!==_.ue.top;){var r=t.parent;if(!n--){for(var v=null,u=r.frames.length,x=0;x>>1);var m=c?b.call(e,a[l],l,a):b(d,a[l]);0e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.qc[0];c=a.qc[1];var g=a.qc[2],k=a.qc[3],l=a.qc[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(g^k);var m=1518500249}else f=c^g^k,m=1859775393;else 60>e?(f=c&g|k&(c|g), m=2400959708):(f=c^g^k,m=3395469782);f=(b<<5|b>>>27)+f+l+m+d[e]&4294967295;l=k;k=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.qc[0]=a.qc[0]+b&4294967295;a.qc[1]=a.qc[1]+c&4294967295;a.qc[2]=a.qc[2]+g&4294967295;a.qc[3]=a.qc[3]+k&4294967295;a.qc[4]=a.qc[4]+l&4294967295}; $h.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.Sx,f=this.Fn;dthis.Fn?this.update(this.Lv,56-this.Fn):this.update(this.Lv,this.blockSize-(this.Fn-56));for(var c=this.blockSize-1;56<=c;c--)this.Sx[c]=b&255,b/=256;ai(this,this.Sx);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.qc[c]>>d&255,++b;return a}; _.di=function(){this.nD=new $h};_.h=_.di.prototype;_.h.reset=function(){this.nD.reset()};_.h.DN=function(a){this.nD.update(a)};_.h.vG=function(){return this.nD.digest()};_.h.Uw=function(a){a=unescape(encodeURIComponent(a));for(var b=[],c=0,d=a.length;cthis.xv&&(this.xv++,a.next=this.Le,this.Le=a)}; var uj,Aj,tj;_.Bj=function(a){a=tj(a);"function"!==typeof _.q.setImmediate||_.q.Window&&_.q.Window.prototype&&!_.Tc()&&_.q.Window.prototype.setImmediate==_.q.setImmediate?(uj||(uj=Aj()),uj(a)):_.q.setImmediate(a)}; Aj=function(){var a=_.q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!_.Pc("Presto")&&(a=function(){var e=_.ie("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,_.T)(function(l){if(("*"==k||l.origin==k)&&l.data==g)this.port1.onmessage()},this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,k)}}});if("undefined"!==typeof a&&!_.Sc()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.cb;c.cb=null;e()}};return function(e){d.next={cb:e};d=d.next;b.port2.postMessage(0)}}return function(e){_.q.setTimeout(e,0)}};tj=_.oj;_.zi(function(a){tj=a}); var Cj=function(){this.$w=this.Ko=null};Cj.prototype.add=function(a,b){var c=Dj.get();c.set(a,b);this.$w?this.$w.next=c:this.Ko=c;this.$w=c};Cj.prototype.remove=function(){var a=null;this.Ko&&(a=this.Ko,this.Ko=this.Ko.next,this.Ko||(this.$w=null),a.next=null);return a};var Dj=new sj(function(){return new Ej},function(a){return a.reset()}),Ej=function(){this.next=this.scope=this.Eg=null};Ej.prototype.set=function(a,b){this.Eg=a;this.scope=b;this.next=null}; Ej.prototype.reset=function(){this.next=this.scope=this.Eg=null}; var Fj,Gj,Hj,Ij,Kj;_.Jj=function(a,b){Fj||Gj();Hj||(Fj(),Hj=!0);Ij.add(a,b)};Gj=function(){if(_.q.Promise&&_.q.Promise.resolve){var a=_.q.Promise.resolve(void 0);Fj=function(){a.then(Kj)}}else Fj=function(){_.Bj(Kj)}};Hj=!1;Ij=new Cj;Kj=function(){for(var a;a=Ij.remove();){try{a.Eg.call(a.scope)}catch(b){_.nj(b)}Dj.put(a)}Hj=!1}; var Nj,Oj,Zj,Xj;_.Mj=function(a,b){this.Aa=0;this.Wi=void 0;this.Lm=this.Cj=this.vb=null;this.mu=this.Uy=!1;if(a!=_.tb)try{var c=this;a.call(b,function(d){Lj(c,2,d)},function(d){Lj(c,3,d)})}catch(d){Lj(this,3,d)}};Nj=function(){this.next=this.context=this.Vn=this.Vq=this.Sk=null;this.Wo=!1};Nj.prototype.reset=function(){this.context=this.Vn=this.Vq=this.Sk=null;this.Wo=!1};Oj=new sj(function(){return new Nj},function(a){a.reset()});_.Pj=function(a,b,c){var d=Oj.get();d.Vq=a;d.Vn=b;d.context=c;return d}; _.Qj=function(a){if(a instanceof _.Mj)return a;var b=new _.Mj(_.tb);Lj(b,2,a);return b};_.Rj=function(a){return new _.Mj(function(b,c){c(a)})};_.Tj=function(a,b,c){Sj(a,b,c,null)||_.Jj(_.vi(b,a))};_.Uj=function(a){return new _.Mj(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,n){d--;e[m]=n;0==d&&b(e)},g=function(m){c(m)},k=0,l;ka?d>e?d:e:d/g;el=/"/g;fl=/'/g;gl=function(a){return String(a).replace(bl,"&").replace(cl,"<").replace(dl,">").replace(el,""").replace(fl,"'")};hl=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g;il=/%([a-f]|[0-9a-fA-F][a-f])/g;jl=/^(https?|ftp|file|chrome-extension):$/i; kl=function(a){a=String(a);a=a.replace(hl,function(e){try{return encodeURIComponent(e)}catch(f){return encodeURIComponent(e.replace(/^[^%]+$/g,"\ufffd"))}}).replace(_.Ge,function(e){return e.replace(/%/g,"%25")}).replace(il,function(e){return e.toUpperCase()});a=a.match(_.Fe)||[];var b=_.ze(),c=function(e){return e.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g,"%7D")},d=!!(a[1]||"").match(jl);b.Zo=c((a[1]||"")+(a[2]||"")+(a[3]|| (a[2]&&d?"/":"")));d=function(e){return c(e.replace(/\?/g,"%3F").replace(/#/g,"%23"))};b.query=a[5]?[d(a[5])]:[];b.rh=a[7]?[d(a[7])]:[];return b};ll=function(a){return a.Zo+(0++c);_.al(5>c,"Error creating iframe id");return d};_.Gl=function(a,b){return a?b+"/"+a:""}; _.Hl=function(a,b,c,d){var e={},f={};a.documentMode&&9>a.documentMode&&(e.hostiemode=a.documentMode);_.Ce(d.queryParams||{},e);_.Ce(d.fragmentParams||{},f);var g=d.pfname;var k=_.ze();_.Eh("iframes/dropLegacyIdParam")||(k.id=c);k._gfid=c;k.parent=a.location.protocol+"//"+a.location.host;c=_.Ee(a.location.href,"parent");g=g||"";!g&&c&&(g=_.Ee(a.location.href,"_gfid","")||_.Ee(a.location.href,"id",""),g=_.Gl(g,_.Ee(a.location.href,"pfname","")));g||(c=_.Hf(_.Ee(a.location.href,"jcp","")))&&"object"== typeof c&&(g=_.Gl(c.id,c.pfname));k.pfname=g;d.connectWithJsonParam&&(g={},g.jcp=_.If(k),k=g);g=_.Ee(b,"rpctoken")||e.rpctoken||f.rpctoken;g||(g=d.rpctoken||String(Math.round(1E8*_.ki())),k.rpctoken=g);d.rpctoken=g;_.Ce(k,d.connectWithQueryParams?e:f);k=a.location.href;a=_.ze();(g=_.Ee(k,"_bsh",_.Ke.bsh))&&(a._bsh=g);(k=_.Ke.dpo?_.Ke.h:_.Ee(k,"jsh",_.Ke.h))&&(a.jsh=k);d.hintInFragment?_.Ce(a,f):_.Ce(a,e);return _.nl(b,e,f,d.paramsSerializer)}; Il=function(a){_.al(!a||_.pl.test(a),"Illegal url for new iframe - "+a)}; _.Jl=function(a,b,c,d,e){Il(c.src);var f,g=wl(d,c),k=g?xl(d):"";try{document.all&&(f=a.createElement('