/* JS */ gapi.loaded_1(function(_){var window=this; _.Hh={};_.Ih=function(a){return _.Hh[a||"token"]||null}; var Oh,Ph;_.Nh=function(a,b){this.Ad=a;a=b||{};this.rZ=Number(a.maxAge)||0;this.Vc=a.domain;this.oj=a.path;this.R0=!!a.secure};Oh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;Ph=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Nh.prototype.read=function(){for(var a=this.Ad+"=",b=document.cookie.split(/;\s*/),c=0;cVh;++Vh); _.Wh="https:"===window.location.protocol;_.Xh=_.Wh||"http:"===window.location.protocol?_.Nh:_.Qh;_.Yh=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.length>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("")}; _.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;ec?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.fb)()+1E3*c)).toUTCString();this.mb.cookie=a+"="+b+e+d+c+f+(null!=g?";samesite="+g:"")}; _.h.get=function(a,b){for(var c=a+"=",d=(this.mb.cookie||"").split(";"),e=0,f;ePu(this.Zb[a],b)&&this.Zb[a].push(b)}; Yu.prototype.removeEventListener=function(a,b){if(!(0<=Pu(this.LF,a)))throw"Unrecognized event type: "+a;Ru(b)&&this.Zb[a]&&this.Zb[a].length&&(b=Pu(this.Zb[a],b),0<=b&&this.Zb[a].splice(b,1))};Yu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Pu(this.LF,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Zb[b]&&this.Zb[b].length)for(var c=0,d=this.Zb[b].length;cr;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var B=w^v&(u^w);var A=1518500249}else B= v^u^w,A=1859775393;else 60>r?(B=v&u|w&(v|u),A=2400959708):(B=v^u^w,A=3395469782);B=((p<<5|p>>>27)&4294967295)+B+y+A+t[r]&4294967295;y=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=B}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.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)p[t++]=e[r]>>v&255;return p}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,Vg:function(){for(var p=d(),t="",r=0;rPu(m.Ak[k],l)&&m.Ak[k].push(l));f()}else e.fo={error:"Not a valid origin for the client: "+e.Bd+" has not been whitelisted for client ID "+e.Xb+ ". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.om=!0,e.yw(e.fo)}):(Gv(e.Gb),f())})};Qu(_.Kv,Yu);_.Kv.prototype.setOptions=function(){};_.Kv.prototype.YM=function(){};_.Kv.prototype.yw=function(){};_.Kv.prototype.Rl=function(){return this.fo};Lv=function(a,b,c){return function(){b.apply(a,c)}};_.Mv=function(a,b,c){if(a.kL)b.apply(a,c);else{if(a.om)throw a.fo;a.lq.push(Lv(a,b,c))}};_.Kv.prototype.XH=_.ia(28);_.Kv.prototype.$p=_.ia(26); _.Ov=function(a,b){_.Kv.call(this,a,b);this.HM=new fv;this.tj=this.Bm=null;Nv(this)};Qu(_.Ov,_.Kv);_.Ov.prototype.setOptions=function(){}; var Pv=function(a,b){a.fe={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Vc};b.crossSubDomains&&(a.fe.policy=b.policy)},Qv=function(a,b){if(!b.authParameters)throw Error("aa");if(!b.authParameters.scope)throw Error("ba");if(!b.authParameters.response_type)throw Error("ca");a.Op=b.authParameters;a.Op.redirect_uri||(a.Op.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.mi=_.Su(b.rpcAuthParameters||a.Op);if(!a.mi.scope)throw Error("da");if(!a.mi.response_type)throw Error("ea"); a:{var c=a.mi.response_type.split(" ");for(var d=0,e=c.length;da.length&&128>b;)a.push.apply(a,Yv(64-a.length)),b++;if(64>a.length)throw new Zv;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.oh(c,3).substring(0,64)};aw=function(a,b,c){if(!a.he)throw Error("ga");b?_.Bv(a.Zc,a.fe,!0,void 0,c):_.Bv(a.Zc,a.fe,!0,a.$d,c)};bw=function(a){if(!a.he)throw Error("ga");return a.GC}; _.Wv.prototype.DL=_.jd(34,function(a,b){var c=this.Zc,d=this.Xb,e=this.fe,f=_.Su(this.mi);delete f.response_type;_.yv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Uv.prototype.lN=_.jd(33,function(a){bw(this)&&bw(this).access_token&&(this.Zc.ts(this.Xb,bw(this).access_token,a),aw(this,!0))});_.Uv.prototype.jJ=_.jd(32,function(){var a=this;this.Fq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Tv.Hp,idpId:a.Gb}):a.$h(!0):a.dispatchEvent({type:_.Tv.xG,idpId:a.Gb})})}); _.Uv.prototype.Mq=_.jd(31,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.Dx(b.authResult.login_hint,a.Wg||b.authResult.login_hint!=a.$d,!0)}}); _.Wv.prototype.Mq=_.jd(30,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Fq(function(d){_.Bv(b.Zc,b.fe,d&&d.disabled,c.authResult.login_hint,function(){_.Xv(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"})}});_.Ov.prototype.bM=_.jd(29,function(){this.Xb&&_.yv(this.Zc,"startPolling",{clientId:this.Xb,origin:this.Bd,id:this.qj},void 0)}); _.vv.prototype.ts=_.jd(25,function(a,b,c){_.yv(this,"revoke",{clientId:a,token:b},c)});_.Uv.prototype.ts=_.jd(24,function(a){_.Mv(this,this.lN,[a])});cw=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}; dw=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 12k.indexOf("?")?"?":"&");c=[];for(var m in a)if(a.hasOwnProperty(m)){e=a[m];if(null===e||void 0===e)e="";c.push(encodeURIComponent(m)+"="+encodeURIComponent(e))}return b+c.join("&")}; fw=function(a,b,c,d){if(!a.Xb)throw Error("ha");a.qj=c||a.eT||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Bd.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("")}; _.nw=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};ow=function(a){var b=[];_.nw(a,function(c){b.push(c)});return b};_.pw=function(a,b){_.Hh[b||"token"]=a};_.qw=function(a){delete _.Hh[a||"token"]}; rw=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.GF=!0,this.En=Infinity);if(1>this.En){var b=this.Fk;a=this.En;this.Fk="";this.En=1;a=Math.max(0,a);if(!this.GF){b=this.ED+b;var c=new _.Kh;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.Mw+=a;this.Mw>=this.En?(c.reset(),c.update("SEED_SALT:"+b+this.Fk),this.Fk=String.fromCharCode.apply(String,c.digest()),this.ED="",this.Mw=0):this.ED=b}}};_.h=rw.prototype;_.h.GF=!1;_.h.Fk="";_.h.ED="";_.h.Mw=0;_.h.En=-1; var Yv=function(a){var b=sw,c=[];if(b.GF)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.En||0==b.Fk.length)throw new Zv;var d=new _.Kh;d.update("RANDOM_SALT:"+b.Fk);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.Fk),b.Fk=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},Zv=function(){};_.F(Zv,Error);Zv.prototype.name="Insufficient Entropy"; _.Xu={parse:function(a){a=_.Gf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Hf(a)}}; _.Wv.prototype.FA=function(a,b){_.Mv(this,this.yU,[a,b])};_.Wv.prototype.yU=function(a,b){this.Zc.FA(this.Xb,a,this.mi,this.fe,b)}; _.vv.prototype.FA=function(a,b,c,d,e){c=_.Su(c);_.yv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var tw,uw=["client_id","cookie_policy","scope"],vw="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(" "),ww=["authuser","after_redirect","access_type","hl"],xw=["login_hint","prompt"],yw={clientid:"client_id",cookiepolicy:"cookie_policy"},zw=["approval_prompt","authuser","login_hint", "prompt","hd"],Aw=["login_hint","g-oauth-window","status"],Bw=Math.min(_.R("oauth-flow/authWindowWidth",599),screen.width-20),Cw=Math.min(_.R("oauth-flow/authWindowHeight",600),screen.height-30); var Dw=function(a){_.qb.call(this,a)};_.Pq(Dw,_.qb);Dw.prototype.name="gapi.auth2.ExternallyVisibleError"; var Ew=function(){};Ew.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Fw=function(){};Fw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a}; ox=function(a,b){if(!a)throw new Dw("Empty initial options.");for(var c=0;cr;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],y=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var B=w^v&(u^w);var A=1518500249}else B=v^u^w,A=1859775393;else 60>r?(B=v&u|w&(v|u),A=2400959708):(B=v^u^w,A=3395469782);B=((p<<5|p>>>27)&4294967295)+ B+y+A+t[r]&4294967295;y=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=B}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+y&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.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)p[t++]=e[r]>>v&255;return p}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,Vg:function(){for(var p=d(),t="",r=0;r");var g=_.Se.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};_.Se.getBodyElement=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};_.Se.Nba=function(b){return a(b)}})(); _.Se=_.Se||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ze&&_.Ze.register("core.util",null,a);_.Se.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Se.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Se.Uba=function(){return c}})(); _.ey=function(a,b,c){if(_.mb(a))c&&(a=(0,_.J)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.J)(a.handleEvent,a);else throw Error("pa");return 2147483647a.Jh)&&(a=c,b=d)});return{kT:a,authuser:b}};vz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];wz=function(a){a=a.toUpperCase();for(var b=0,c=vz.length;ba.expires_at?null:a};_.Bz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.pw(c,d):_.qw(d)}; Cz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Pf.getOrigin(a));var b=window.location.hostname,c=b,d=_.Wh;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Ve("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 _.Ve("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,De:d,Jh:b}}; Dz=function(a){var b=Cz(a);if(!b)return new _.Qh("G_USERSTATE_");a=["G_USERSTATE_",_.Wh&&b.De?"S":"H",b.Jh].join("");var c=_.ci[a];c||(c={qZ:63072E3},_.we(_.gi(b),c),c=new _.Nh(a,c),_.ci[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};Ez=function(a){var b=Dz(a).read();a=_.ue();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; Fz=function(a,b,c){var d=Ez(b),e=d[a];d[a]="0";var f=[];_.Fl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=Dz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};Gz=function(a,b){b=Ez(b);return"0"==b[a]||"X"==b[a]};Hz=function(a){a=Cz(a.g_user_cookie_policy);if(!a||a.De&&!_.Wh)a=null;else{var b=["G_AUTHUSER_",_.Wh&&a.De?"S":"H",a.Jh].join(""),c=_.bi[b];c||(c=new _.Xh(b,_.gi(a)),_.bi[b]=c);a=c}_.Me("googleapis.config/sessionIndex",null);a.clear()};Iz=function(a){return qz(function(b){return a[b]})}; Jz=0;Kz=!1;Lz=[];Mz={};Nz={};Oz=null;Pz=function(a){var b=_.iz;return function(c){if(this.f==b&&this.t==_.Pf.getAuthToken(this.f)&&this.origin==_.Pf.getTargetOrigin(this.f))return a.apply(this,arguments)}};Qz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Rz=function(a){if(_.jz&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");}; Sz=function(a){var b=_.Se.getUrlParameters,c=b(a).jsh;if(null!=c)return Rz(c),a;if(b=String(b().jsh||_.Ee.h||""))Rz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Tz=function(){return!!_.R("oauth-flow/usegapi")};Uz=function(a,b){Tz()?Oz.unregister(a):_.Pf.unregister(a+":"+b)};Vz=function(a,b,c){Tz()?Oz.register(a,c,_.mm):_.Pf.register(a+":"+b,Pz(c))};Wz=function(){sz.parentNode.removeChild(sz)}; Xz=function(a){var b=sz;_.gz(b,[{Qw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.gz(b,[{Qw:"transform",duration:1,timing:"ease",delay:0}]);_.ey(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Yz=function(){var a=tz+88;Xz(a);tz=a};Zz=function(){var a=tz-88;Xz(a);tz=a}; $z=function(a){var b=a?Yz:Zz,c=a?Zz:Yz;a=a?"-":"";tz=parseInt(a+88,10);sz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";sz.style.transform="translate3d(0px,"+a+88+"px,0px)";sz.style.display="";sz.style.visibility="visible";b();_.ey(c,4E3);_.ey(Wz,5E3)}; aA=function(a){var b=_.R("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");sz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Mr(c,"visibility","hidden");_.Mr(c,b,"-40px");_.Mr(c,"height","128px");var d=c;if("desktop"==_.R("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?"-":"";tz=parseInt(e+88,10);sz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";sz.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){}_.Il.fi({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?$z(!0):$z(!1)}})}; bA=function(a){var b=_.$m(),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-Jz)return;var d=_.Pf.getAuthToken(a);d&&(Uz("oauth2relayReady",d),Uz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.kz();a=_.iz}Jz=c;var e=String(2147483647*(0,_.zg)()|0);b=_.R("oauth-flow/proxyUrl")||_.R("oauth-flow/relayUrl");Tz()?Oz=_.Il.fi({where:_.Se.getBodyElement(),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(_.ug.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Se.getBodyElement(),d=_.Se.createIframeElement({name:a,id:a}),d.src=Sz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Qz(d),c.appendChild(d),_.Pf.setupReceiver(a));Vz("oauth2relayReady",e,function(){Uz("oauth2relayReady",e); var f=Lz;if(null!==f){Lz=null;for(var g=0,k=f.length;g