,b.sessionMeta,b.responseType);a.Kp&&_.yu()?(a.WB=b.sessionMeta.extraQueryParams.redirect_uri,Qv(a,b,function(){return window.location.assign(c)})):window.location.assign(c)};Tv=function(a,b,c){a.Ek?c(a.Xn()):_.nv(a,a.oW,[b,c])};_.Uv=function(a){_.ve(_.Ge,"le",[]).push(a)}; _.Vv=function(a){for(var b=[],c=0,d=0;c191&&e<224){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){f=a[c++];var h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")}; Wv=function(a){var b=[];_.Ch(a,function(c){b.push(c)});return b};_.Xv=function(a,b){_.ii[b||"token"]=a};_.Yv=function(a){delete _.ii[a||"token"]};$v=function(){if(typeof MessageChannel!=="undefined"){var a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;var d=b.cb;b.cb=null;d()}};return function(d){c.next={cb:d};c=c.next;a.port2.postMessage(0)}}return function(d){_.$a.setTimeout(d,0)}};_.tu={parse:function(a){a=_.Gf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Hf(a)}};_.xv.prototype.gG=function(a,b){_.nv(this,this.t8,[a,b])};_.xv.prototype.t8=function(a,b){this.Rd.gG(this.Pb,a,this.Gj,this.Me,b)};_.Wu.prototype.gG=function(a,b,c,d,e){c=_.ou(c);_.Zu(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var aw,bw=["client_id","cookie_policy","scope"],cw="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 enable_granular_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date use_fedcm gsiwebsdk".split(" "),dw=["authuser","after_redirect","access_type","hl"],ew=["login_hint","prompt"],fw={clientid:"client_id",cookiepolicy:"cookie_policy"}, gw=["approval_prompt","authuser","login_hint","prompt","hd"],hw=["login_hint","g-oauth-window","status"],iw=Math.min(_.Qe("oauth-flow/authWindowWidth",599),screen.width-20),jw=Math.min(_.Qe("oauth-flow/authWindowHeight",600),screen.height-30);var kw=function(a){_.mb.call(this,a)};_.r(kw,_.mb);kw.prototype.name="gapi.auth2.ExternallyVisibleError";var lw=function(){};lw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var mw=function(){};mw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c=0||a.match(fx))&&this.Or.push("permission"),a.indexOf("id_token")>=0&&this.Or.push("id_token"),a.indexOf("code")>=0&&this.Or.push("code")):this.Or=ex};var ax=function(a){return dx(a,"code")},bx=function(a){return dx(a,"permission")};$w.prototype.toString=function(){return this.Or.join(" ")}; var dx=function(a,b){var c=!1;_.Gb(a.Or,function(d){d==b&&(c=!0)});return c};var hx=function(a,b,c){this.iJ=b;this.Lca=a;for(var d in a)a.hasOwnProperty(d)&&gx(this,d);if(c&&c.length)for(a=0;a");var h=_.Ue.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Ue.TS=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&& b.length==1)return b[0]}catch(c){}return document.documentElement||document};_.Ue.nqa=function(b){return a(b)}})(); _.vg=window.gapi&&window.gapi.util||{}; _.vg=_.vg={};_.vg.getOrigin=function(a){return _.xg(a)}; _.Wx=function(a){if(a.indexOf("GCSC")!==0)return null;var b={uj:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(d==-1)return b;var e=_.Ux(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.mf;return!d&&(c!=="U"||e.mf)||d&&!_.Vx?b:{uj:!0,mf:d,i7:a.substr(1),domain:e.domain,Ui:e.Ui}};_.Xx=function(a,b){this.kh=a;a=b||{};this.oca=Number(a.maxAge)||0;this.de=a.domain;this.Nm=a.path;this.Xea=!!a.secure};_.Xx.prototype.read=function(){for(var a=this.kh+"=",b=document.cookie.split(/;\s*/),c=0;c=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Xea&&(a+=";secure");document.cookie=a;return!0};_.Xx.prototype.clear=function(){this.write("",0)};var Zx=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Yx=/^[A-Z_][A-Z0-9_]{0,63}$/; _.Xx.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c>>31)&4294967295;p=e[0];var v=e[1],u=e[2],y=e[3],z=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var C=y^v&(u^y);var F=1518500249}else C=v^u^y,F=1859775393;else t<60?(C=v&u|y&(v|u),F=2400959708):(C=v^u^y,F=3395469782);C=((p<<5|p>>>27)&4294967295)+ C+z+F+q[t]&4294967295;z=y;y=u;u=(v<<30|v>>>2)&4294967295;v=p;p=C}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+y&4294967295;e[4]=e[4]+z&4294967295}function c(p,q){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v=56;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;t<5;t++)for(var v=24;v>=0;v-=8)p[q++]=e[t]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Ti:function(){for(var p=d(),q="",t=0;t=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; _.g.expand=function(a,b,c,d){_.wb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; _.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; _.g.translate=function(a,b){a instanceof _.Dr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Lr,Jr,Pr,Rr;_.Kr=function(a,b,c){if(typeof b==="string")(b=Jr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Jr(c,d);f&&(c.style[f]=e)}};Lr={};Jr=function(a,b){var c=Lr[b];if(!c){var d=Hr(b);c=d;a.style[d]===void 0&&(d=(_.xd?"Webkit":_.wd?"Moz":null)+Ir(d),a.style[d]!==void 0&&(c=d));Lr[b]=c}return c};_.Mr=function(a,b){var c=a.style[Hr(b)];return typeof c!=="undefined"?c:a.style[Jr(a,b)]||""}; _.Nr=function(a,b){var c=_.Td(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Or=function(a,b){return _.Nr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Pr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Sr=function(a,b){b=b||_.Er(document);var c=b||_.Er(document);var d=_.Qr(a),e=_.Qr(c),f=_.Nr(c,"borderLeftWidth");var h=_.Nr(c,"borderRightWidth");var k=_.Nr(c,"borderTopWidth"),l=_.Nr(c,"borderBottomWidth");h=new _.Br(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Er(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Rr(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d- e,0));c=new _.Dr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Qr=function(a){var b=_.Td(a),c=new _.Dr(0,0);if(a==(b?_.Td(b):document).documentElement)return c;a=Pr(a);b=_.Fr(_.Ud(b).Mb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Ur=function(a,b){var c=new _.Dr(0,0),d=_.ae(_.Td(a));a:{try{_.Sb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Qr(a):_.Tr(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; _.Tr=function(a){a=Pr(a);return new _.Dr(a.left,a.top)};_.Wr=function(a,b,c){if(b instanceof _.md)c=b.height,b=b.width;else if(c==void 0)throw Error("K");a.style.width=_.Vr(b,!0);a.style.height=_.Vr(c,!0)};_.Vr=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}; _.Xr=function(a){var b=Rr;if(_.Or(a,"display")!="none")return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};Rr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.xd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Pr(a),new _.md(a.right-a.left,a.bottom-a.top)):new _.md(b,c)};_.Yr=function(a,b){a.style.display=b?"":"none"}; _.$r=function(a){var b=_.Ud(void 0),c=_.Gr(b,"HEAD")[0];if(!c){var d=_.Gr(b,"BODY")[0];c=b.wa("HEAD");d.parentNode.insertBefore(c,d)}d=b.wa("STYLE");var e;(e=_.Dc("style",document))&&d.setAttribute("nonce",e);_.Zr(d,a);b.appendChild(c,d)};_.Zr=function(a,b){b=_.Ar(b);_.$a.trustedTypes?_.oe(a,b):a.innerHTML=b};_.as=_.wd?"MozUserSelect":_.xd||_.ud?"WebkitUserSelect":null; _.my=function(a){_.Ni.call(this);this.Sf=1;this.QB=[];this.VB=0;this.Yf=[];this.Pj={};this.w6=!!a};_.gb(_.my,_.Ni);_.g=_.my.prototype;_.g.subscribe=function(a,b,c){var d=this.Pj[a];d||(d=this.Pj[a]=[]);var e=this.Sf;this.Yf[e]=a;this.Yf[e+1]=b;this.Yf[e+2]=c;this.Sf=e+3;d.push(e);return e};_.g.Nw=_.kb(18);_.g.unsubscribe=function(a,b,c){if(a=this.Pj[a]){var d=this.Yf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.ql(a)}return!1}; _.g.ql=function(a){var b=this.Yf[a];if(b){var c=this.Pj[b];this.VB!=0?(this.QB.push(a),this.Yf[a+1]=function(){}):(c&&_.Ri(c,a),delete this.Yf[a],delete this.Yf[a+1],delete this.Yf[a+2])}return!!b}; _.g.bp=function(a,b){var c=this.Pj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.VB==0)for(;c=this.QB.pop();)this.ql(c)}}return f!=0}return!1};var ny=function(a,b,c){_.ek(function(){a.apply(b,c)})}; _.my.prototype.clear=function(a){if(a){var b=this.Pj[a];b&&(b.forEach(this.ql,this),delete this.Pj[a])}else this.Yf.length=0,this.Pj={}};_.my.prototype.Yb=function(a){if(a){var b=this.Pj[a];return b?b.length:0}a=0;for(b in this.Pj)a+=this.Yb(b);return a};_.my.prototype.va=function(){_.my.N.va.call(this);this.clear();this.QB.length=0}; _.oy=function(a){this.Hga=a};_.py=function(a){_.Ni.call(this);this.re=new _.my(a);_.Pi(this,this.re)};_.oy.prototype.toString=function(){return this.Hga};_.gb(_.py,_.Ni);_.g=_.py.prototype;_.g.subscribe=function(a,b,c){return this.re.subscribe(a.toString(),b,c)};_.g.Nw=_.kb(17);_.g.unsubscribe=function(a,b,c){return this.re.unsubscribe(a.toString(),b,c)};_.g.ql=function(a){return this.re.ql(a)};_.g.bp=function(a,b){return this.re.bp(a.toString(),b)};_.g.clear=function(a){this.re.clear(a!==void 0?a.toString():void 0)};_.g.Yb=function(a){return this.re.Yb(a!==void 0?a.toString():void 0)}; var qy,Cy,ry,Dy,Ey,By;qy=function(a){var b=_.qc("");return _.bc(a.map(function(c){return _.cc(_.qc(c))}).join(_.cc(b).toString()))};Cy=function(a){for(var b="",c=Object.keys(a),d=0;d":(a=qy(b.map(function(d){return d instanceof _.ac?d:_.qc(String(d))})),c+=">"+a.toString()+"");return _.bc(c)};ry=/^[a-z][a-z\d-]*$/i;Dy="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Ey="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "); By=["action","formaction","href"];_.Gy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Zo+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Kr(a,"transition",b.join(","))};_.Hy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.ee("DIV"),b=_.xd?"-webkit":_.wd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Fc(a,_.Fy({style:c}));return _.Mr(a.firstChild,"transition")!=""}); _.Iy=function(a,b){_.yj.call(this);this.Bm=a||1;this.Ww=b||_.$a;this.EP=(0,_.B)(this.Ega,this);this.fW=_.gd()};_.gb(_.Iy,_.yj);_.g=_.Iy.prototype;_.g.enabled=!1;_.g.Hc=null;_.g.setInterval=function(a){this.Bm=a;this.Hc&&this.enabled?(this.stop(),this.start()):this.Hc&&this.stop()}; _.g.Ega=function(){if(this.enabled){var a=_.gd()-this.fW;a>0&&a2147483647?-1:_.$a.setTimeout(a,b||0)};_.Ky=function(a){_.$a.clearTimeout(a)}; _.My=function(){_.Ly="oauth2relay"+String(2147483647*(0,_.Dg)()|0)};_.Ny=new _.py;_.Oy=new _.oy("oauth");_.My();_.Qe("oauth-flow/client_id");var Py=String(_.Qe("oauth-flow/redirectUri"));if(Py)Py.replace(/[#][\s\S]*/,"");else{var Qy=_.vg.getOrigin(window.location.href);_.Qe("oauth-flow/callbackUrl");encodeURIComponent(Qy)}_.vg.getOrigin(window.location.href); var Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Jz,Iz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Uz;_.Ry=function(a,b){if(_.zh&&!b)return _.$a.atob(a);var c="";_.Ch(a,function(d){c+=String.fromCharCode(d)});return c};Sy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Ty=function(a){return _.Sh("enableMultilogin")&&a("cookie_policy")&&!Sy(a)?!0:!1}; Wy=function(){var a,b=null;_.ey.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.Ux(c),!a||c.mf&&!a.mf||c.mf==a.mf&&c.Ui>a.Ui)&&(a=c,b=d)});return{J6:a,authuser:b}};Xy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Yy=function(a){a=a.toUpperCase();for(var b=Xy.length,c=0;c40&&(b=new _.Cg,b.ox(a),a=b.Ti().toUpperCase());return a}; Zy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};$y=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],ofa:Zy(a[1]),cra:Zy(a[2]),Wpa:Zy(a[3])}};az=function(a){var b=Wy(),c=b.J6;b=b.authuser;var d=a&&Yy(a);if(b!==null){var e;_.ey.iterate(function(h,k){(h=_.Wx(h))&&h.uj&&(d&&h.i7!=d||h.mf==c.mf&&h.Ui==c.Ui&&(e=k))});if(e){var f=$y(e);a=f&&f.ofa[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Yra:a,clientId:f}}}return null}; bz=function(a,b){a=_.ji(a);if(!a||!b&&a.error)return null;b=Math.floor((new Date).getTime()/1E3);return a.expires_at&&b>a.expires_at?null:a};_.cz=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.Xv(c,d):_.Yv(d)}; dz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.xg(a));var b=window.location.hostname,c=b,d=_.Vx;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Lf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(c.indexOf(":")!==-1)c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Lf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,mf:d,Ui:b}}; ez=function(a){var b=dz(a);if(!b)return new _.$x("G_USERSTATE_");a=["G_USERSTATE_",_.Vx&&b.mf?"S":"H",b.Ui].join("");var c=_.iy[a];c||(c={LI:63072E3},_.ye(_.ly(b),c),c=new _.Xx(a,c),_.iy[a]=c,b=c.read(),typeof b!=="undefined"&&b!==null&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};fz=function(a){var b=ez(a).read();a=_.we();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; gz=function(a,b,c){var d=fz(b),e=d[a];d[a]="0";var f=[];_.wm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=ez(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};hz=function(a,b){b=fz(b);return b[a]=="0"||b[a]=="X"};iz=function(a){a=dz(a.g_user_cookie_policy);if(!a||a.mf&&!_.Vx)a=null;else{var b=["G_AUTHUSER_",_.Vx&&a.mf?"S":"H",a.Ui].join(""),c=_.hy[b];c||(c=new _.ey(b,_.ly(a)),_.hy[b]=c);a=c}_.Re("googleapis.config/sessionIndex",null);a.clear()};jz=function(a){return Sy(function(b){return a[b]})}; kz=0;lz=!1;mz=[];nz={};oz={};pz=null;qz=function(a){var b=_.Ly;return function(c){if(this.f==b&&this.t==_.Qf.Qn(this.f)&&this.origin==_.Qf.ho(this.f))return a.apply(this,arguments)}};rz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("za");};sz=function(a){var b=_.Ue.Xg,c=b(a).jsh;if(c!=null)return rz(c),a;if(b=String(b().jsh||_.Ge.h||""))rz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a}; tz=function(){return!!_.Qe("oauth-flow/usegapi")};uz=function(a,b){tz()?pz.unregister(a):_.Qf.unregister(a+":"+b)};vz=function(a,b,c){tz()?pz.register(a,c,_.Km):_.Qf.register(a+":"+b,qz(c))};wz=function(){Uy.parentNode.removeChild(Uy)}; xz=function(a){var b=Uy;_.Gy(b,[{Zo:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Gy(b,[{Zo:"transform",duration:1,timing:"ease",delay:0}]);_.Jy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};yz=function(){var a=Vy+88;xz(a);Vy=a};zz=function(){var a=Vy-88;xz(a);Vy=a}; Az=function(a){var b=a?yz:zz,c=a?zz:yz;a=a?"-":"";Vy=parseInt(a+88,10);Uy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Uy.style.transform="translate3d(0px,"+a+88+"px,0px)";Uy.style.display="";Uy.style.visibility="visible";b();_.Jy(c,4E3);_.Jy(wz,5E3)}; Bz=function(a){var b=_.Qe("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Uy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Kr(c,"visibility","hidden");_.Kr(c,b,"-40px");_.Kr(c,"height","128px");var d=c;if(_.hr()){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= b=="top"?"-":"";Vy=parseInt(e+88,10);Uy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Uy.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){}_.Hm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?Az(!0):Az(!1)}})}; Cz=function(a){var b=_.mo(),c=b&&b.scope;b=a&&a.scope;b=typeof b==="string"?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d0&&(a.scope=b.join(" "))}return a}; Dz=function(a,b){var c=null;a&&b&&(c=b.client_id=b.client_id||a.client_id,b.scope=b.scope||a.scope,b.g_user_cookie_policy=a.cookie_policy,b.cookie_policy=b.cookie_policy||a.cookie_policy,b.response_type=b.response_type||a.response_type);if(b){b.issued_at||(b.issued_at=String(Math.floor((new Date).getTime()/1E3)));var d=parseInt(b.expires_in,10)||86400;b.error&&(d=_.Qe("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d)); b._aa||b.error||az(c)!=null||!jz(a)||(b._aa="1");a=b.status={};a.google_logged_in=!!b.session_state;c=a.signed_in=!!b.access_token;a.method=c?b["g-oauth-window"]?"PROMPT":"AUTO":null}return b};Ez=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Gf(_.Ry(a,!0));if(a===!1)throw Error("Aa");return a};Fz=function(a){return(a=Ez(a))?a.sub:null}; Gz=function(a){a&&mz.push(a);a=_.Ly;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(kz&&c-kz<6E4)return;var d=_.Qf.Qn(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){}_.My();a=_.Ly}kz=c;var e=String(2147483647*(0,_.Dg)()|0);b=_.Qe("oauth-flow/proxyUrl")||_.Qe("oauth-flow/relayUrl");tz()?pz=_.Hm.openChild({where:_.Ue.TS(),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(_.vg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ue.TS(),d=_.Ue.sQ({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,d.setAttribute("aria-hidden","true"),c.appendChild(d),_.Qf.Cw(a));vz("oauth2relayReady",e,function(){uz("oauth2relayReady",e);var f=mz;if(f!==null){mz= null;for(var h=f.length,k=0;k=0&&_.Qe("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",lz||(lz=!0,Bz(l)));_.cz(k,h);h=bz(k);if(f){k= f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(h),f.callback=null)}}})};_.Hz=function(a){mz!==null?Gz(a):a&&a()};Jz=function(a,b){var c=Iz,d=Fz(a);d&&(iz(a),gz(d,b,function(){if(c){var e={error:"user_signed_out"};e.client_id=a.client_id;e.g_user_cookie_policy=a.g_user_cookie_policy;e.scope=a.scope;e.response_type=a.response_type;e.session_state=a.session_state;e=Dz(null,e);c(e)}}))}; Iz=function(a){a||(a=bz(void 0,!0));a&&typeof a==="object"||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.Ge.drw=null);_.cz(a);if(b=a.authuser)_.Qe("googleapis.config/sessionIndex"),_.Re("googleapis.config/sessionIndex",b);_.Ny.bp(_.Oy,a);return a};Kz=["client_id","cookie_policy","response_type"];Lz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); Mz=function(a){var b=_.Oj(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.Xv(b);return b}; Nz=function(a){if(a.include_granted_scopes===void 0){var b=_.Qe("include_granted_scopes");a.include_granted_scopes=!!b}};Oz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))}; Pz=function(a){var b=a||{},c={};_.Gb(Lz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Qe("googleapis/overrideClientId");a!=null&&(c.client_id=a);Nz(c);typeof b.scope==="string"?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));b["openid.realm"]!=null&&(c.openid_realm=b["openid.realm"]);b.cookie_policy!=null?c.cookie_policy=b.cookie_policy:b.cookiepolicy!=null&&(c.cookie_policy=b.cookiepolicy);c.login_hint==null&&b.user_id!=null&&(c.login_hint=b.user_id);try{_.Qw(c.cookie_policy)}catch(d){c.cookie_policy&& Oz("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}b.hd!=null&&(c.hosted_domain=b.hd);c.prompt==null&&(b.immediate==1||b.immediate=="true"?c.prompt="none":b.approval_prompt=="force"&&(c.prompt="consent"));c.prompt=="none"&&(c.session_selection="first_valid");c.prompt=="none"&&c.access_type=="offline"&&delete c.access_type;typeof c.authuser==="undefined"&&(a=_.Wh(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Qe("oauth-flow/redirectUri"); a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; Qz=function(a,b){var c=Pz(a),d=new _.gk(function(e,f){_.wx(c,function(h){var k=h||{};_.Gb(Kz,function(l){k[l]==null&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&a.state!=null&&(k.state=a.state);k.error?(c.prompt=="none"&&k.error=="user_logged_out"&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=Mz(k),h.authuser!=null&&_.Re("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};Rz=_.hi.PS;Sz=null; _.Vz=function(a,b){if(a.approvalprompt!=="force"){a=_.Tz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Sz?(a.client_id!==Sz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Sz=a,b=!1);b||Uz(a)}}; _.Tz=function(a){var b=a.redirecturi||"postmessage",c=_.xc((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c=a.accesstype=="offline"?!0:(c=a.redirecturi)&&c!="postmessage";c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=_.xc(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&a.cookiepolicy!=="none"&&(b.cookie_policy=a.cookiepolicy);typeof a.includegrantedscopes!="undefined"&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Qe("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Qe("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Uz=function(a){_.Zo("waaf0","signin","0");Qz(a,function(b){_.Zo("waaf1","signin","0");Iz(b)})}; _.Wz=function(a){a=_.Tz(a);_.Re("oauth-flow/authWindowWidth",445);_.Re("oauth-flow/authWindowHeight",615);Uz(a)};_.Xz=function(a){_.Ny.unsubscribe(_.Oy,a);_.Ny.subscribe(_.Oy,a)};var dA,gA;_.Zz=function(a){return a.cookiepolicy?!0:(_.Yz("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.Yz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.cA=function(a,b){var c=_.mo();_.ye(a,c);c=Cz(c);if(_.Zz(c)){var d=_.$z();_.aA(c);b?_.Fe(b,"click",function(){_.bA(c,d)}):_.bA(c,d)}}; _.$z=function(){var a=new dA;_.Xz(function(b){a.MI&&b&&(b.access_token&&_.Re("isPlusUser",!0),b["g-oauth-window"]&&(a.MI=!1,_.Lf.warn("OTA app install is no longer supported.")))});return a};dA=function(){this.MI=!1};_.aA=function(a){a=_.eA(a);_.fA(a.callback);_.Hz(function(){_.Vz(a)})};_.eA=function(a){gA(a);a.redirecturi&&delete a.redirecturi;Ty(function(b){return a[b]})||(a.authuser=0);return a};gA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.fA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.Yz('Callback function named "'+a+'" not found');return}a&&_.Xz(a)};_.bA=function(a,b){b.MI=!0;a=_.eA(a);_.Wz(a)};_.A("gapi.auth.authorize",Qz);_.A("gapi.auth.checkSessionState",function(a,b){var c=_.we();c.client_id=a.client_id;c.session_state=a.session_state;_.Hz(function(){tz()?pz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Km):_.Qf.call(_.Ly,"check_session_state",qz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.A("gapi.auth.getAuthHeaderValueForFirstParty",Rz);_.A("gapi.auth.getToken",bz); _.A("gapi.auth.getVersionInfo",function(a,b){_.Hz(function(){var c=_.fi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?tz()?pz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Km):_.Qf.call(_.Ly,"get_versioninfo",qz(function(f){a(f)}),d,b):a()})});_.A("gapi.auth.init",_.Hz);_.A("gapi.auth.setToken",_.cz);_.A("gapi.auth.signIn",function(a){_.cA(a)});_.A("gapi.auth.signOut",function(){var a=bz();a&&Jz(a,a.cookie_policy)}); _.A("gapi.auth.unsafeUnpackIdToken",Ez);_.A("gapi.auth._pimf",_.Vz);_.A("gapi.auth._oart",Bz);_.A("gapi.auth._guss",function(a){return ez(a).read()}); var hA=_.mo();hA.clientid&&hA.scope&&hA.callback&&!_.Qe("disableRealtimeCallback")&&_.aA(hA); var Bx=function(){};var Dx;Dx=function(){};_.gb(Dx,Bx);Dx.prototype.Ct=function(){return new XMLHttpRequest};_.Cx=new Dx; _.yg=window.googleapis&&window.googleapis.server||{}; var Eg=function(a){return{execute:function(b){var c={method:a.httpMethod||"GET",root:a.root,path:a.url,params:a.urlParams,headers:a.headers,body:a.body},d=window.gapi,e=function(){var f=d.config.get("client/apiKey"),h=d.config.get("client/version");try{var k=d.config.get("googleapis.config/developerKey"),l=d.config.get("client/apiKey",k);d.config.update("client/apiKey",l);d.config.update("client/version","1.0.0-alpha");var m=d.client;m.request.call(m,c).then(b,b)}finally{d.config.update("client/apiKey", f),d.config.update("client/version",h)}};d.client?e():d.load.call(d,"client",e)}}},Fg=function(a,b){return function(c){var d={};c=c.body;var e=_.Gf(c),f={};if(e&&e.length)for(var h=e.length,k=0;k1&&b[0]!="googleapis")for(b[0]="googleapis",b[b.length-1]=="delete"&&(b[b.length-1]="remove"),d=_.$a,e=b.length,f=0;fc){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; _.Hh=function(a,b,c){if(Array.isArray(b))for(var d=0;d0}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;typeof a.setAttribute==="function"?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a); c&&(a.src=b);return a};_.hi={rU:_.gi,Eba:_.di,sT:function(){var a=null;_.di()&&(a=window.__PVT,a==null&&(a=(new _.Xh(document)).get("BEAT")));return a},PS:_.fi};var Gi,Fi;Gi=function(){return!!Fi("auth/useFirstPartyAuthV2")};Fi=function(a){return _.Qe("googleapis.config/"+a)}; _.Hi=function(a,b,c){a=a===void 0?{}:a;b=b===void 0?window.location.href:b;c=c===void 0?"auto":c;if(c=="none")return a;var d=a.Authorization,e=a.OriginToken;if(!d&&!e){(e=_.ji())&&e.access_token&&(c=="oauth2"||c=="auto")&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!Fi("auth/useFirstPartyAuth")||c=="1p")&&c!="oauth2";if(e&&_.di()){if(Gi()){d=Fi("primaryEmail");c=Fi("appDomain");e=Fi("fogId");var f=[];d&&f.push({key:"e",value:d});c&&f.push({key:"a",value:c});e&&f.push({key:"u", value:e});d=_.fi(f)}else d=_.fi();d&&(c=a["X-Goog-AuthUser"],b=_.Wh(b),b=c||b,_.vc(_.Eh(b))&&(!Gi()||Gi()&&_.vc(_.Eh(Fi("primaryEmail")))&&_.vc(_.Eh(Fi("appDomain")))&&_.vc(_.Eh(Fi("fogId"))))&&(b="0"),_.vc(_.Eh(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:Fi("auth/useOriginToken")!==!1&&(e=_.hi.sT())&&(a.OriginToken=e)}return a};_.Ii=function(){function a(n,p,q,t,v){var u=f("proxy");if(t||!u){u=f("root");var y=f("root-1p")||u;u=u||"https://content.googleapis.com";y=y||"https://clients6.google.com";var z=f("xd3")||"/static/proxy.html";u=(t||String(p?y:u))+z}u=String(u);q&&(u+=(u.indexOf("?")>=0?"&":"?")+"usegapi=1");(p=_.Ue.Xg().jsh||_.Ge.h)&&(u+=(u.indexOf("?")>=0?"&":"?")+"jsh="+encodeURIComponent(p));u+="#parent="+encodeURIComponent(v!=null?String(v):_.vg.getOrigin(document.location.href));return u+("&rpctoken="+n)}function b(n, p,q,t,v){var u=d(q,t,v);k[u]||(q=Ei(u,p),_.Qf.register("ready:"+n,function(){_.Qf.unregister("ready:"+n);if(!l[u]){l[u]=!0;var y=m[u];m[u]=[];for(var z=0,C=y.length;z