gapi.loaded_1(function(_){var window=this; var yt=_.p.kc,zt={open:function(a){var b=_.on(a.Zb());return a.hg(b,{style:_.pn(b)})},attach:function(a,b){var c=_.on(a.Zb()),d=b.id,e=b.getAttribute("data-postorigin")||b.src,f=/#(?:.*&)?rpctoken=(\d+)/.exec(e);f=f&&f[1];a.id=d;a.Vr=f;a.el=c;a.Sg=b;_.p.Bk[d]=a;b=_.pq(a.methods);b._ready=a.Aw;b._close=a.close;b._open=a.gM;b._resizeMe=a.UM;b._renderstart=a.YL;_.qq(b,d,"",a,!0);_.Mf.px(a.id,a.Vr);_.Mf.mi(a.id,e);c=_.p.Il({style:_.pn(c)});for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&("style"== g?a.Sg.style.cssText=c[g]:a.Sg.setAttribute(g,c[g]))}};zt.onready=_.qn;zt.onRenderStart=_.qn;zt.close=_.rn;yt("inline",zt); /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.jh=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return b}; var kh,lh,nh;kh={};lh=null;_.mh=_.Bc||_.Cc&&!_.ih||_.xc||!_.ih&&!_.yc&&"function"==typeof _.C.atob;_.oh=function(a,b){void 0===b&&(b=0);nh();b=kh[b];for(var c=[],d=0;d>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")}; _.ph=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}}; nh=function(){if(!lh){lh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));kh[c]=d;for(var e=0;ek?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")}; _.h.get=function(a,b){for(var c=a+"=",d=(this.ob.cookie||"").split(";"),e=0,f;ecv(this.Vb[a],b)&&this.Vb[a].push(b)}; lv.prototype.removeEventListener=function(a,b){if(!(0<=cv(this.fF,a)))throw"Unrecognized event type: "+a;ev(b)&&this.Vb[a]&&this.Vb[a].length&&(b=cv(this.Vb[a],b),0<=b&&this.Vb[a].splice(b,1))};lv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=cv(this.fF,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Vb[b]&&this.Vb[b].length)for(var c=0,d=this.Vb[b].length;cr;r+=4)t[r/4]=q[r]<<24|q[r+1]<<16|q[r+2]<<8|q[r+3];for(r=16;80>r;r++)q=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],u=e[2],w=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var A=w^v&(u^w);var B=1518500249}else A= v^u^w,B=1859775393;else 60>r?(A=v&u|w&(v|u),B=2400959708):(A=v^u^w,B=3395469782);A=((q<<5|q>>>27)&4294967295)+A+z+B+t[r]&4294967295;z=w;w=u;u=(v<<30|v>>>2)&4294967295;v=q;q=A}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(q,t){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var r=[],v=0,u=q.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var v=24;0<=v;v-=8)q[t++]=e[r]>>v&255;return q}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Fg:function(){for(var q=d(),t="",r=0;rcv(m.Ck[k],l)&&m.Ck[k].push(l));f()}else e.$n={error:"Not a valid origin for the client: "+e.xd+ " has not been registered for client ID "+e.Sb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.dm=!0,e.uw(e.$n)}):(Uv(e.Bb),f()))},this.To)};dv(_.Yv,lv);_.h=_.Yv.prototype;_.h.setOptions=function(){};_.h.FM=function(){};_.h.uw=function(){};_.h.Mv=function(){return this.Hs};_.h.Jl=function(){return this.$n};Zv=function(a,b,c){return function(){b.apply(a,c)}}; _.$v=function(a,b,c){if(a.PK)b.apply(a,c);else{if(a.dm)throw a.$n;a.Rp.push(Zv(a,b,c))}};_.Yv.prototype.dH=_.ha(31);_.Yv.prototype.Jp=_.ha(29); _.bw=function(a,b){_.Yv.call(this,a,b);this.pM=new tv;this.hj=this.um=null;aw(this)};dv(_.bw,_.Yv);_.bw.prototype.setOptions=function(){}; var cw=function(a,b){a.$d={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.tc};b.crossSubDomains&&(a.$d.policy=b.policy)},dw=function(a,b){if(!b.authParameters)throw Error("$");if(!b.authParameters.scope)throw Error("aa");if(!b.authParameters.response_type)throw Error("ba");a.zp=b.authParameters;a.zp.redirect_uri||(a.zp.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.$h=_.fv(b.rpcAuthParameters||a.zp);if(!a.$h.scope)throw Error("ca");if(!a.$h.response_type)throw Error("da"); a:{var c=a.$h.response_type.split(" ");for(var d=0,e=c.length;db;b++)a[b]=Math.floor(256*Math.random())}return _.oh(a,3).substring(0,64)},nw=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1 a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},pw=function(a,b,c){if(!a.de)throw Error("fa");b?_.Pv(a.Xc,a.$d,!0,void 0,c):_.Pv(a.Xc,a.$d,!0,a.Xd,c)},qw=function(a){if(!a.de)throw Error("fa");return a.Sv},rw,sw,tw,uw,vw,ww,xw,yw,zw,Bw;_.jw.prototype.mL=_.Zc(36,function(a,b){var c=this.Xc,d=this.Sb,e=this.$d,f=_.fv(this.$h);delete f.response_type;_.Mv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)}); _.hw.prototype.XM=_.Zc(35,function(a){qw(this)&&qw(this).access_token&&(this.Xc.Ur(this.Sb,qw(this).access_token,a),pw(this,!0))}); _.hw.prototype.wq=_.Zc(34,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.Mv()&&a.To&&(nw()||ow())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.Bb};a.Sv=b;a.dispatchEvent({type:_.gw.hG,idpId:a.Bb,response:b})}else a.Dx(b.authResult.login_hint,a.Gg||b.authResult.login_hint!=a.Xd,!0,!0)}}); _.jw.prototype.wq=_.Zc(33,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.pq(function(d){_.Pv(b.Xc,b.$d,d&&d.disabled,c.authResult.login_hint,function(){_.kw(b,c.authResult.login_hint,a)})}):a(c&&c.authResult&&c.authResult.error?c.authResult:c&&c.authResult&&!c.authResult.login_hint?{error:"wrong_response_type"}:{error:"unknown_error"})}});_.bw.prototype.IL=_.Zc(32,function(){this.Sb&&_.Mv(this.Xc,"startPolling",{clientId:this.Sb,origin:this.xd,id:this.dj},void 0)}); _.Jv.prototype.Ur=_.Zc(28,function(a,b,c){_.Mv(this,"revoke",{clientId:a,token:b},c)});_.hw.prototype.Ur=_.Zc(27,function(a){_.$v(this,this.XM,[a])});rw=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b}; sw=function(){var a=navigator.userAgent.toLowerCase();if(!(-1a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt="select_account"); k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")}; uw=function(a,b,c,d){if(!a.Sb)throw Error("ga");a.dj=c||a.RR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.xd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0e)b[d++]=String.fromCharCode(e);else if(191e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239e){f=a[c++];var g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")}; Bw=function(a){var b=[];_.ph(a,function(c){b.push(c)});return b};_.Cw=function(a,b){_.Wh[b||"token"]=a};_.Dw=function(a){delete _.Wh[a||"token"]}; _.kv={parse:function(a){a=_.Af("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Bf(a)}}; _.jw.prototype.bA=function(a,b){_.$v(this,this.tT,[a,b])};_.jw.prototype.tT=function(a,b){this.Xc.bA(this.Sb,a,this.$h,this.$d,b)}; _.Jv.prototype.bA=function(a,b,c,d,e){c=_.fv(c);_.Mv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var Ew,Fw=["client_id","cookie_policy","scope"],Gw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),Hw=["authuser","after_redirect","access_type","hl"],Iw=["login_hint","prompt"],Jw={clientid:"client_id",cookiepolicy:"cookie_policy"},Kw=["approval_prompt","authuser","login_hint", "prompt","hd"],Lw=["login_hint","g-oauth-window","status"],Mw=Math.min(_.Le("oauth-flow/authWindowWidth",599),screen.width-20),Nw=Math.min(_.Le("oauth-flow/authWindowHeight",600),screen.height-30); var Ow=function(a){_.$c.call(this,a)};_.T(Ow,_.$c);Ow.prototype.name="gapi.auth2.ExternallyVisibleError"; var Pw=function(){};Pw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Qw=function(){};Qw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a},zx=function(a,b){if(!a)throw new Ow("Empty initial options.");for(var c=0;c");var g=_.Qe.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Qe.JI=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&& 1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.Qe.faa=function(b){return a(b)}})(); _.Qe=_.Qe||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ue&&_.Ue.register("core.util",null,a);_.Qe.eaa=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Qe.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Qe.taa=function(){return c}})(); _.Mh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var t=g,r=0;64>r;r+=4)t[r/4]=q[r]<<24|q[r+1]<<16|q[r+2]<<8|q[r+3];for(r=16;80>r;r++)q=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],u=e[2],w=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var A=w^v&(u^w);var B=1518500249}else A=v^u^w,B=1859775393;else 60>r?(A=v&u|w&(v|u),B=2400959708):(A=v^u^w,B=3395469782);A=((q<<5|q>>>27)&4294967295)+ A+z+B+t[r]&4294967295;z=w;w=u;u=(v<<30|v>>>2)&4294967295;v=q;q=A}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(q,t){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var r=[],v=0,u=q.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var v=24;0<=v;v-=8)q[t++]=e[r]>>v&255;return q}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Fg:function(){for(var q=d(),t="",r=0;rkz;++kz); _.az="https:"===window.location.protocol;_.lz=_.az||"http:"===window.location.protocol?_.cz:_.fz;_.$y=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.lengtha.rh)&&(a=c,b=d)});return{YR:a,authuser:b}};Lz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Mz=function(a){a=a.toUpperCase();for(var b=0,c=Lz.length;ba.expires_at?null:a};_.cA=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Cw(c,d):_.Dw(d)}; nA=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.vg(a));var b=window.location.hostname,c=b,d=_.az;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Ff("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Ff("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,xe:d,rh:b}}; oA=function(a){var b=nA(a);if(!b)return new _.fz("G_USERSTATE_");a=["G_USERSTATE_",_.az&&b.xe?"S":"H",b.rh].join("");var c=_.pz[a];c||(c={kC:63072E3},_.ue(_.sz(b),c),c=new _.cz(a,c),_.pz[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};pA=function(a){var b=oA(a).read();a=_.se();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; qA=function(a,b,c){var d=pA(b),e=d[a];d[a]="0";var f=[];_.im(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=oA(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};rA=function(a,b){b=pA(b);return"0"==b[a]||"X"==b[a]};sA=function(a){a=nA(a.g_user_cookie_policy);if(!a||a.xe&&!_.az)a=null;else{var b=["G_AUTHUSER_",_.az&&a.xe?"S":"H",a.rh].join(""),c=_.oz[b];c||(c=new _.lz(b,_.sz(a)),_.oz[b]=c);a=c}_.Ne("googleapis.config/sessionIndex",null);a.clear()};tA=function(a){return Gz(function(b){return a[b]})}; uA=0;vA=!1;wA=[];xA={};yA={};zA=null;AA=function(a){var b=_.zz;return function(c){if(this.f==b&&this.t==_.Mf.El(this.f)&&this.origin==_.Mf.Rl(this.f))return a.apply(this,arguments)}};BA=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};CA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");}; DA=function(a){var b=_.Qe.Me,c=b(a).jsh;if(null!=c)return CA(c),a;if(b=String(b().jsh||_.De.h||""))CA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};EA=function(){return!!_.Le("oauth-flow/usegapi")};FA=function(a,b){EA()?zA.unregister(a):_.Mf.unregister(a+":"+b)};GA=function(a,b,c){EA()?zA.register(a,c,_.ym):_.Mf.register(a+":"+b,AA(c))};HA=function(){Iz.parentNode.removeChild(Iz)}; IA=function(a){var b=Iz;_.xz(b,[{Rw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.xz(b,[{Rw:"transform",duration:1,timing:"ease",delay:0}]);_.my(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};JA=function(){var a=Jz+88;IA(a);Jz=a};KA=function(){var a=Jz-88;IA(a);Jz=a}; LA=function(a){var b=a?JA:KA,c=a?KA:JA;a=a?"-":"";Jz=parseInt(a+88,10);Iz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Iz.style.transform="translate3d(0px,"+a+88+"px,0px)";Iz.style.display="";Iz.style.visibility="visible";b();_.my(c,4E3);_.my(HA,5E3)}; MA=function(a){var b=_.Le("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Iz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Vr(c,"visibility","hidden");_.Vr(c,b,"-40px");_.Vr(c,"height","128px");var d=c;if("desktop"==_.Le("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%"; d.appendChild(e);d=e}e="top"==b?"-":"";Jz=parseInt(e+88,10);Iz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Iz.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.em.Th({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?LA(!0):LA(!1)}})}; NA=function(a){var b=_.En(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;dc-uA)return;var d=_.Mf.El(a);d&&(FA("oauth2relayReady",d),FA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Az();a=_.zz}uA=c;var e=String(2147483647*(0,_.yg)()|0);b=_.Le("oauth-flow/proxyUrl")||_.Le("oauth-flow/relayUrl");EA()?zA=_.em.Th({where:_.Qe.JI(),url:b,id:a,attributes:{style:{width:"1px",height:"1px",position:"absolute", top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.tg.lb(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Qe.JI(),d=_.Qe.wH({name:a,id:a}),d.src=DA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,BA(d),c.appendChild(d),_.Mf.ts(a));GA("oauth2relayReady",e,function(){FA("oauth2relayReady",e);var f=wA;if(null!==f){wA=null;for(var g=0,k=f.length;g