gapi.loaded_1(function(_){var window=this; _.cf=_.cf||{};_.cf.Kv=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0&&++d==c&&_.cf.afa(k)}; c!=0&&_.cf.E7(k);var l=a(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+e);return function(){var m=f;m+=parseInt(l.substr(0,20),16);l=a(l);return m/(h+1.2089258196146292E24)}}();_.r("shindig.random",_.Ng); _.Sa.Ma={};_.Sa.Ma.Mi={};_.Sa.Ma.Mi.W7=function(a){try{return!!a.document}catch(b){}return!1};_.Sa.Ma.Mi.fU=function(a){var b=a.parent;return a!=b&&_.Sa.Ma.Mi.W7(b)?_.Sa.Ma.Mi.fU(b):a};_.Sa.Ma.Mi.Mra=function(a){var b=a.userAgent||"";a=a.product||"";return b.indexOf("Opera")!=0&&b.indexOf("WebKit")==-1&&a=="Gecko"&&b.indexOf("rv:1.")>0}; _.Sa.Ma.Mi.Kv=function(a,b,c){for(var d=[],e=2,f=arguments.length;e0&&(f=a[0].nonce||a[0].getAttribute("nonce"));if(f&&f===b||!f&&wq())if(e=xq(c),d.push(25),typeof e=== "object")return e;return{}}};zq=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&typeof a[a.length-1].___goc==="undefined"&&(c=a.pop());vq(c,b);a.push(c)}; _.Aq=function(a,b){var c;if(typeof a==="string"){var d=c={};a=a.split("/");for(var e=0,f=a.length;e0&&e[e.length-1].src&&a.push(e[e.length-1]);for(e=0;e< a.length;++e)a[e].getAttribute("gapi_processed")||(a[e].setAttribute("gapi_processed",!0),(f=a[e])?(h=f.nodeType,f=h==3||h==4?f.nodeValue:f.textContent||""):f=void 0,h=a[e].nonce||a[e].getAttribute("nonce"),(f=yq(f,h))&&d.push(f));c&&zq(b,c);a=tq("cd");c=0;for(d=a.length;c255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Fh,Gh,Ih;Fh={};Gh=null;_.Hh=_.Ed||_.Fd||!_.zh&&typeof _.Xa.atob=="function";_.Jh=function(a,b){b===void 0&&(b=0);Ih();b=Fh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")}; _.Kh=function(a,b){function c(l){for(;d>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}}; Ih=function(){if(!Gh){Gh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Fh[c]=d;for(var e=0;e=0;b--)this.remove(a[b])};gi=function(a){a=(a.zc.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f-1?(b=a[h],c||(b.Cy=!1)):(b=new lj(b,this.src,f,!!d,e),b.Cy=c,a.push(b));return b};_.ej.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.je))return!1;var e=this.je[a];b=nj(e,b,c,d);return b>-1?(mj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.je[a],this.wx--),!0):!1}; _.oj=function(a,b){var c=b.type;if(!(c in a.je))return!1;var d=_.Xi(a.je[c],b);d&&(mj(b),a.je[c].length==0&&(delete a.je[c],a.wx--));return d};_.ej.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.je)if(!a||c==a){for(var d=this.je[c],e=0;e-1?a[e]:null}; _.ej.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return dj(this.je,function(f){for(var h=0;h>>0);_.uj=function(a){if(typeof a==="function")return a;a[Bj]||(a[Bj]=function(b){return a.handleEvent(b)});return a[Bj]};_.cj(function(a){zj=a(zj)}); _.Cj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.Yd.prototype.O=_.lb(1,function(a){return _.ae(this.zc,a)});_.Dj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f=0;f--){var h=a.currentTarget=b[f];e=h.ou(d,!0,a)&&e}a.gw||(h=a.currentTarget=c,e=h.ou(d,!0,a)&&e,a.gw||(e=h.ou(d,!1,a)&&e));if(b)for(f=0;!a.gw&&f=0};_.lr=function(){return _.Sb&&_.Mc?_.Mc.mobile:!_.kr()&&(_.Oc("iPod")||_.Oc("iPhone")||_.Oc("Android")||_.Oc("IEMobile"))}; _.kr=function(){return _.Sb&&_.Mc?!_.Mc.mobile&&(_.Oc("iPad")||_.Oc("Android")||_.Oc("Silk")):_.Oc("iPad")||_.Oc("Android")&&!_.Oc("Mobile")||_.Oc("Silk")};_.mr=function(){return!_.lr()&&!_.kr()}; var ws;ws=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.xs=function(a,b,c,d){return Array.prototype.splice.apply(a,ws(arguments,1))};_.ys=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.zs=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.be(c,"*",a,b)[0]||null);return a||null}; _.As=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Bs=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.Es=function(a){_.Ui.call(this);this.mg=a;this.lc={}};_.cb(_.Es,_.Ui);var Fs=[];_.Es.prototype.ta=function(a,b,c,d){return this.Gv(a,b,c,d)}; _.Es.prototype.Gv=function(a,b,c,d,e){Array.isArray(b)||(b&&(Fs[0]=b.toString()),b=Fs);for(var f=0;f=0))throw Error("R`"+a);if(!uu(b))throw Error("S`"+a);this.mc[a]||(this.mc[a]=[]);su(this.mc[a],b)<0&&this.mc[a].push(b)};Bu.prototype.removeEventListener=function(a,b){if(!(su(this.SN,a)>=0))throw Error("R`"+a);uu(b)&&this.mc[a]&&this.mc[a].length&&(b=su(this.mc[a],b),b>=0&&this.mc[a].splice(b,1))}; Bu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&su(this.SN,b)>=0))throw Error("T`"+b);if(this.mc[b]&&this.mc[b].length)for(var c=this.mc[b].length,d=0;d>>31)&4294967295;p=e[0];var v=e[1],u=e[2],x=e[3],A=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var C=x^v&(u^x);var D=1518500249}else C= v^u^x,D=1859775393;else t<60?(C=v&u|x&(v|u),D=2400959708):(C=v^u^x,D=3395469782);C=((p<<5|p>>>27)&4294967295)+C+A+D+q[t]&4294967295;A=x;x=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]+x&4294967295;e[4]=e[4]+A&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;t2&&(e=f[2]);(f=e&&su(e.split("|"),c)>=0)?Qu(e,d):Qu(e?e+"|"+c:c,d);c=!f;var h=this.kV,k=this.Gfa;d=this.Wm;e=this.Ks;e=e===void 0?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&uu(document.requestStorageAccess)&& (l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");Ju(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.pu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Bo=f}a&&this.KB.push(a)}};_.g.nW=function(){return this.Ao&&this.ix};_.g.Yn=function(){return this.gV}; av=function(a){for(var b=0;b=0)throw Error("ba");};_.$u.prototype.Aj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;dv(f);b=_.vu(b);_.cv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.$u.prototype.oB=function(a,b,c,d,e){b=_.vu(b);_.cv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};ev=function(a,b,c){dv(b.identifier);_.cv(a,"getSessionSelector",b,c)}; _.fv=function(a,b,c,d,e){dv(b.identifier);_.cv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};gv=function(a,b,c,d,e,f,h){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);b.useFedCm=e;f&&(b.fedCmEnabled=f);_.cv(a,"monitorClient",b,h)};_.$u.prototype.revoke=_.ib(8);_.$u.prototype.Dt=_.ib(10);Cu.KA={};Cu.SG=function(a){return Cu.KA[a]}; Cu.qB=function(a,b,c){c=c===void 0?!1:c;var d=Cu.SG(a);if(!d){d=String;if(Tu){var e=new window.Uint32Array(1);Su.getRandomValues(e);e=Number("0."+e[0])}else e=Vu,e+=parseInt(Xu.substr(0,20),16),Xu=Zu(Xu),e/=Wu+1.2089258196146292E24;d=new _.$u(a,d(2147483647*e),c);Cu.KA[a]=d}d.qB(b)};Cu.r$=function(a){for(var b in Cu.KA){var c=Cu.SG(b);if(c&&c.Bo&&c.Bo.contentWindow==a.source&&c.WH==a.origin)return c}};Cu.T$=function(a){for(var b in Cu.KA){var c=Cu.SG(b);if(c&&c.WH==a)return c}};Cu=Cu||{}; var iv=function(){var a=[],b;for(b in _.hv)a.push(_.hv[b]);Bu.call(this,a);this.xm={};qu("EventBus is ready.")};tu(iv,Bu);_.hv={j6:"sessionSelectorChanged",AE:"sessionStateChanged",Ws:"authResult",q3:"displayIFrame"};kv=function(a,b){var c=jv;a&&b&&(c.xm[a]||(c.xm[a]=[]),su(c.xm[a],b)<0&&c.xm[a].push(b))};lv=function(a){var b=jv;a&&(b.xm[a]||(b.xm[a]=[]))};mv=function(a,b,c){return b&&a.xm[b]&&su(a.xm[b],c)>=0};_.g=iv.prototype; _.g.Mea=function(a){var b,c=!!a.source&&(a.source===_.Iu||a.source.opener===window);if(b=c?Cu.T$(a.origin):Cu.r$(a)){try{var d=_.Au.parse(a.data)}catch(e){qu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Wm){qu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.dk[c.id])delete b.dk[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?qu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.jV[a.type]?(d=this.jV[a.type], c&&!d.v7?qu("Bad IDP event. Source window cannot be a popup."):d.Rs&&!d.Rs.call(this,b,a)?qu("Bad IDP event."):d.Gf.call(this,b,a)):qu("Bad IDP event.")}else qu("Bad event, no corresponding Idp Stub.")};_.g.mga=function(a,b){return mv(this,a.Bb,b.clientId)};_.g.lga=function(a,b){a=a.Bb;b=b.clientId;return!b||mv(this,a,b)};_.g.I7=function(a,b){return mv(this,a.Bb,b.clientId)}; _.g.Wda=function(a,b){a.Ao=!0;a.ix=!!b.cookieDisabled;av(a);for(b=0;b-1&&a.indexOf("chrome/")<0&&a.indexOf("crios/")<0&&a.indexOf("android")<0))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||b.length<3)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return a>12||a==12&&b>=1};Nv=function(a){return a.length>0&&a.every(function(b){return Kv.includes(b)})}; Ov=function(a,b,c,d,e,f,h){var k=_.Gu(a,"authServerUrl");if(!k)throw Error("X`"+a);a=_.vu(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=Mv())&&(b=navigator.userAgent.toLowerCase(),b.indexOf("ipad;")>-1||b.indexOf("iphone;")>-1?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||b.length<2?!1:parseInt(b[1],10)>=14):b=!1);b&&!a.prompt&&(a.prompt= "select_account");return k+(k.indexOf("?")<0?"?":"&")+Gv(a)};Pv=function(a,b,c,d){if(!a.Pb)throw Error("na");a.Hk=c||a.J7||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Bd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Hk;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return Ov(a.Bb,a.Xd,a.Pb,a.vn,!0,b,d)}; Qv=function(a,b,c){if(!a.Pb)throw Error("na");return Ov(a.Bb,a.Xd,a.Pb,a.vn,!1,b,c)};Rv=function(a,b){a.Wo&&window.clearTimeout(a.Wo);a.Wo=window.setTimeout(function(){a.Hk==b&&(_.Iu=void 0,a.Wo=null,a.Hk=void 0,a.Ro({authResult:{error:"popup_closed_by_user"}}))},1E3)}; Sv=function(a,b,c){if(!a.Pb)throw Error("oa");c=c||{};c=Pv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Lv())&&_.rv(a,a.AX,[]);var d=a.Hk;a.IY.open(c,b,function(){a.Hk==d&&Rv(a,d)},function(){a.Hk=void 0;a.Ro({authResult:{error:"popup_blocked_by_browser"}})})}; Tv=function(a,b){var c=b||{};b=_.vu(a.vn);if(c.sessionMeta&&c.sessionMeta.extraQueryParams)for(var d in c.sessionMeta.extraQueryParams)b[d]=c.sessionMeta.extraQueryParams[d];var e;c.sessionMeta.extraQueryParams.scope&&(e=c.sessionMeta.extraQueryParams.scope.split(" "));!e&&b.scope&&(e=b.scope.split(" "));delete b.redirect_uri;delete b.origin;delete b.client_id;delete b.scope;b.prompt=="select_account"&&delete b.prompt;b.gsiwebsdk="fedcm";b.ss_domain=a.Xd;d=_.Gu(a.Bb,"fedcmConfigUrl");c=c.responseType; b.response_type=c;b.scope=e.join(" ");!b.nonce&&c.includes("id_token")&&(b.nonce="notprovided");c=navigator.userActivation.isActive?"active":"passive";e=Nv(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Pb,fields:e,params:b}],mode:c},mediation:"required"}}; Uv=function(a,b,c){if(!a.Pb)throw Error("oa");b=Tv(a,b);navigator.credentials.get(b).then(function(d){d=JSON.parse(d.token);var e={client_id:d.client_id,login_hint:d.login_hint,expires_in:3600,scope:d.scope};d.code&&(e.code=d.code);d.id_token&&(e.id_token=d.id_token);a.Ro({type:_.hv.Ws,idpId:a.Bb,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.Ro({type:_.hv.Ws,idpId:a.Bb,authResult:{error:d}})})}; Vv=function(a,b,c){a.Ks&&_.Eu()?Uv(a,c,function(){return Sv(a,b,c)}):Sv(a,b,c)};Wv=function(a,b){b=b||{};var c=Qv(a,b.sessionMeta,b.responseType);a.Ks&&_.Eu()&&a.T1?(a.gC=b.sessionMeta.extraQueryParams.redirect_uri,Uv(a,b,function(){return Hv(c,!0)})):Hv(c,!0)};Xv=function(a,b,c){a.Ak?c(a.Yn()):_.rv(a,a.NW,[b,c])};_.Yv=function(a){_.Ee(_.Pe,"le",[]).push(a)}; _.Zv=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("")}; $v=function(a){var b=[];_.Kh(a,function(c){b.push(c)});return b};_.aw=function(a,b){_.pi[b||"token"]=a};_.bw=function(a){delete _.pi[a||"token"]};dw=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){_.Xa.setTimeout(d,0)}};_.Au={parse:function(a){a=_.Qf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Rf(a)}};_.Bv.prototype.rG=function(a,b){_.rv(this,this.A9,[a,b])};_.Bv.prototype.A9=function(a,b){this.Od.rG(this.Pb,a,this.Jj,this.Le,b)};_.$u.prototype.rG=function(a,b,c,d,e){c=_.vu(c);_.cv(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 enable_granular_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date use_fedcm 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(_.Ze("oauth-flow/authWindowWidth",599),screen.width-20),nw=Math.min(_.Ze("oauth-flow/authWindowHeight",600),screen.height-30);var ow=function(a){_.jb.call(this,a)};_.y(ow,_.jb);ow.prototype.name="gapi.auth2.ExternallyVisibleError";var pw=function(){};pw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(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;c=0||a.match(jx))&&this.Vr.push("permission"),a.indexOf("id_token")>=0&&this.Vr.push("id_token"),a.indexOf("code")>=0&&this.Vr.push("code")):this.Vr=ix};var ex=function(a){return hx(a,"code")},fx=function(a){return hx(a,"permission")};dx.prototype.toString=function(){return this.Vr.join(" ")}; var hx=function(a,b){var c=!1;_.Cb(a.Vr,function(d){d==b&&(c=!0)});return c};var lx=function(a,b,c){this.wJ=b;this.Kda=a;for(var d in a)a.hasOwnProperty(d)&&kx(this,d);if(c&&c.length)for(a=0;a");var h=_.cf.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};_.cf.nT=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};_.cf.qra=function(b){return a(b)}})(); _.Fg=window.gapi&&window.gapi.util||{}; _.Fg=_.Fg={};_.Fg.getOrigin=function(a){return _.Hg(a)}; _.$x=function(a){if(a.indexOf("GCSC")!==0)return null;var b={yj:!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=_.Yx(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.ef;return!d&&(c!=="U"||e.ef)||d&&!_.Zx?b:{yj:!0,ef:d,p8:a.substr(1),domain:e.domain,Ui:e.Ui}};_.ay=function(a,b){this.Yg=a;a=b||{};this.pda=Number(a.maxAge)||0;this.Xd=a.domain;this.Om=a.path;this.Vfa=!!a.secure};_.ay.prototype.read=function(){for(var a=this.Yg+"=",b=document.cookie.split(/;\s*/),c=0;c=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Vfa&&(a+=";secure");document.cookie=a;return!0};_.ay.prototype.clear=function(){this.write("",0)};var cy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,by=/^[A-Z_][A-Z0-9_]{0,63}$/; _.ay.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],x=e[3],A=e[4];for(t=0;t<80;t++){if(t<40)if(t<20){var C=x^v&(u^x);var D=1518500249}else C=v^u^x,D=1859775393;else t<60?(C=v&u|x&(v|u),D=2400959708):(C=v^u^x,D=3395469782);C=((p<<5|p>>>27)&4294967295)+ C+A+D+q[t]&4294967295;A=x;x=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]+x&4294967295;e[4]=e[4]+A&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){_.ub(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 _.Ir?(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 Sr,Qr,Wr,Yr;_.Rr=function(a,b,c){if(typeof b==="string")(b=Qr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Qr(c,d);f&&(c.style[f]=e)}};Sr={};Qr=function(a,b){var c=Sr[b];if(!c){var d=Nr(b);c=d;a.style[d]===void 0&&(d=(_.Fd?"Webkit":_.Ed?"Moz":null)+Or(d),a.style[d]!==void 0&&(c=d));Sr[b]=c}return c};_.Tr=function(a,b){var c=a.style[Nr(b)];return typeof c!=="undefined"?c:a.style[Qr(a,b)]||""}; _.Ur=function(a,b){var c=_.Zd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Vr=function(a,b){return _.Ur(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Wr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Zr=function(a,b){b=b||_.Jr(document);var c=b||_.Jr(document);var d=_.Xr(a),e=_.Xr(c),f=_.Ur(c,"borderLeftWidth");var h=_.Ur(c,"borderRightWidth");var k=_.Ur(c,"borderTopWidth"),l=_.Ur(c,"borderBottomWidth");h=new _.Gr(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Jr(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=Yr(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 _.Ir(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Xr=function(a){var b=_.Zd(a),c=new _.Ir(0,0);if(a==(b?_.Zd(b):document).documentElement)return c;a=Wr(a);b=_.Mr(_.$d(b));c.x=a.left+b.x;c.y=a.top+b.y;return c};_.as=function(a,b){var c=new _.Ir(0,0),d=_.he(_.Zd(a));a:{try{_.Xb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Xr(a):_.$r(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; _.$r=function(a){a=Wr(a);return new _.Ir(a.left,a.top)};_.cs=function(a,b,c){if(b instanceof _.vd)c=b.height,b=b.width;else if(c==void 0)throw Error("J");a.style.width=_.bs(b,!0);a.style.height=_.bs(c,!0)};_.bs=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a}; _.ds=function(a){var b=Yr;if(_.Vr(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};Yr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Fd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Wr(a),new _.vd(a.right-a.left,a.bottom-a.top)):new _.vd(b,c)};_.es=function(a,b){a.style.display=b?"":"none"}; _.gs=function(a){var b=_.$d(void 0),c=_.Lr(b,"HEAD")[0];if(!c){var d=_.Lr(b,"BODY")[0];c=b.wa("HEAD");d.parentNode.insertBefore(c,d)}d=b.wa("STYLE");var e;(e=_.Jc("style",document))&&d.setAttribute("nonce",e);_.fs(d,a);b.appendChild(c,d)};_.fs=function(a,b){b=_.Fr(b);_.Xa.trustedTypes?_.we(a,b):a.innerHTML=b};_.hs=_.Ed?"MozUserSelect":_.Fd||_.Cd?"WebkitUserSelect":null; _.qy=function(a){_.Ui.call(this);this.Kf=1;this.aC=[];this.fC=0;this.Qf=[];this.Sj={};this.D7=!!a};_.cb(_.qy,_.Ui);_.g=_.qy.prototype;_.g.subscribe=function(a,b,c){var d=this.Sj[a];d||(d=this.Sj[a]=[]);var e=this.Kf;this.Qf[e]=a;this.Qf[e+1]=b;this.Qf[e+2]=c;this.Kf=e+3;d.push(e);return e};_.g.Xw=_.ib(18);_.g.unsubscribe=function(a,b,c){if(a=this.Sj[a]){var d=this.Qf;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.Qf[a];if(b){var c=this.Sj[b];this.fC!=0?(this.aC.push(a),this.Qf[a+1]=function(){}):(c&&_.Xi(c,a),delete this.Qf[a],delete this.Qf[a+1],delete this.Qf[a+2])}return!!b}; _.g.ep=function(a,b){var c=this.Sj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.fC==0)for(;c=this.aC.pop();)this.ql(c)}}return f!=0}return!1};var ry=function(a,b,c){_.jk(function(){a.apply(b,c)})}; _.qy.prototype.clear=function(a){if(a){var b=this.Sj[a];b&&(b.forEach(this.ql,this),delete this.Sj[a])}else this.Qf.length=0,this.Sj={}};_.qy.prototype.Yb=function(a){if(a){var b=this.Sj[a];return b?b.length:0}a=0;for(b in this.Sj)a+=this.Yb(b);return a};_.qy.prototype.ua=function(){_.qy.N.ua.call(this);this.clear();this.aC.length=0}; _.sy=function(a){this.Hha=a};_.ty=function(a){_.Ui.call(this);this.ke=new _.qy(a);_.Wi(this,this.ke)};_.sy.prototype.toString=function(){return this.Hha};_.cb(_.ty,_.Ui);_.g=_.ty.prototype;_.g.subscribe=function(a,b,c){return this.ke.subscribe(a.toString(),b,c)};_.g.Xw=_.ib(17);_.g.unsubscribe=function(a,b,c){return this.ke.unsubscribe(a.toString(),b,c)};_.g.ql=function(a){return this.ke.ql(a)};_.g.ep=function(a,b){return this.ke.ep(a.toString(),b)};_.g.clear=function(a){this.ke.clear(a!==void 0?a.toString():void 0)};_.g.Yb=function(a){return this.ke.Yb(a!==void 0?a.toString():void 0)}; var uy,vy,yy,By,wy,zy,Ay,xy;uy=function(a){var b=_.xc("");return _.ec(a.map(function(c){return _.fc(_.xc(c))}).join(_.fc(b).toString()))};vy=function(a){return uy(a)};yy=function(a){for(var b="",c=Object.keys(a),d=0;d":(a=vy(b.map(function(d){return d instanceof _.dc?d:_.xc(String(d))})),c+=">"+a.toString()+"");return _.ec(c)};wy=/^[a-z][a-z\d-]*$/i;zy="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Ay="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "); xy=["action","formaction","href"];_.Cy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.property+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Rr(a,"transition",b.join(","))};_.Dy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.ne("DIV"),b=_.Fd?"-webkit":_.Ed?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Kc(a,By({style:c}));return _.Tr(a.firstChild,"transition")!=""}); _.Ey=function(a,b){_.Ej.call(this);this.Em=a||1;this.mx=b||_.Xa;this.QP=(0,_.Ab)(this.Eha,this);this.EW=_.pd()};_.cb(_.Ey,_.Ej);_.g=_.Ey.prototype;_.g.enabled=!1;_.g.Fc=null;_.g.setInterval=function(a){this.Em=a;this.Fc&&this.enabled?(this.stop(),this.start()):this.Fc&&this.stop()}; _.g.Eha=function(){if(this.enabled){var a=_.pd()-this.EW;a>0&&a2147483647?-1:_.Xa.setTimeout(a,b||0)};_.Gy=function(a){_.Xa.clearTimeout(a)}; _.Iy=function(){_.Hy="oauth2relay"+String(2147483647*(0,_.Ng)()|0)};_.Jy=new _.ty;_.Ky=new _.sy("oauth");_.Iy();_.Ze("oauth-flow/client_id");var Ly=String(_.Ze("oauth-flow/redirectUri"));if(Ly)Ly.replace(/[#][\s\S]*/,"");else{var My=_.Fg.getOrigin(window.location.href);_.Ze("oauth-flow/callbackUrl");encodeURIComponent(My)}_.Fg.getOrigin(window.location.href); var Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,$y,az,bz,cz,dz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Oz,Nz,Pz,Qz,Rz,Sz,Tz,Uz,Vz;_.Ny=function(a,b){if(_.Hh&&!b)return _.Xa.atob(a);var c="";_.Kh(a,function(d){c+=String.fromCharCode(d)});return c};Oy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Py=function(a){return _.ai("enableMultilogin")&&a("cookie_policy")&&!Oy(a)?!0:!1}; Sy=function(){var a,b=null;_.iy.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.Yx(c),!a||c.ef&&!a.ef||c.ef==a.ef&&c.Ui>a.Ui)&&(a=c,b=d)});return{Q7:a,authuser:b}};Ty=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Uy=function(a){a=a.toUpperCase();for(var b=Ty.length,c=0;c40&&(b=new _.Mg,b.Bx(a),a=b.Ti().toUpperCase());return a}; Vy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Wy=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],nga:Vy(a[1]),fsa:Vy(a[2]),Xqa:Vy(a[3])}};Xy=function(a){var b=Sy(),c=b.Q7;b=b.authuser;var d=a&&Uy(a);if(b!==null){var e;_.iy.iterate(function(h,k){(h=_.$x(h))&&h.yj&&(d&&h.p8!=d||h.ef==c.ef&&h.Ui==c.Ui&&(e=k))});if(e){var f=Wy(e);a=f&&f.nga[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,dta:a,clientId:f}}}return null}; Yy=function(a,b){a=_.qi(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};_.Zy=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.aw(c,d):_.bw(d)}; $y=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Hg(a));var b=window.location.hostname,c=b,d=_.Zx;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Vf.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 _.Vf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,ef:d,Ui:b}}; az=function(a){var b=$y(a);if(!b)return new _.dy("G_USERSTATE_");a=["G_USERSTATE_",_.Zx&&b.ef?"S":"H",b.Ui].join("");var c=_.my[a];c||(c={aJ:63072E3},_.He(_.py(b),c),c=new _.ay(a,c),_.my[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};bz=function(a){var b=az(a).read();a=_.Fe();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; cz=function(a,b,c){var d=bz(b),e=d[a];d[a]="0";var f=[];_.Bm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=az(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};dz=function(a,b){b=bz(b);return b[a]=="0"||b[a]=="X"};nz=function(a){a=$y(a.g_user_cookie_policy);if(!a||a.ef&&!_.Zx)a=null;else{var b=["G_AUTHUSER_",_.Zx&&a.ef?"S":"H",a.Ui].join(""),c=_.ly[b];c||(c=new _.iy(b,_.py(a)),_.ly[b]=c);a=c}_.$e("googleapis.config/sessionIndex",null);a.clear()};oz=function(a){return Oy(function(b){return a[b]})}; pz=0;qz=!1;rz=[];sz={};tz={};uz=null;vz=function(a){var b=_.Hy;return function(c){if(this.f==b&&this.t==_.$f.Sn(this.f)&&this.origin==_.$f.ho(this.f))return a.apply(this,arguments)}};wz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ya");};xz=function(a){var b=_.cf.Pg,c=b(a).jsh;if(c!=null)return wz(c),a;if(b=String(b().jsh||_.Pe.h||""))wz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a}; yz=function(){return!!_.Ze("oauth-flow/usegapi")};zz=function(a,b){yz()?uz.unregister(a):_.$f.unregister(a+":"+b)};Az=function(a,b,c){yz()?uz.register(a,c,_.Pm):_.$f.register(a+":"+b,vz(c))};Bz=function(){Qy.parentNode.removeChild(Qy)}; Cz=function(a){var b=Qy;_.Cy(b,[{property:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Cy(b,[{property:"transform",duration:1,timing:"ease",delay:0}]);_.Fy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Dz=function(){var a=Ry+88;Cz(a);Ry=a};Ez=function(){var a=Ry-88;Cz(a);Ry=a}; Fz=function(a){var b=a?Dz:Ez,c=a?Ez:Dz;a=a?"-":"";Ry=parseInt(a+88,10);Qy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Qy.style.transform="translate3d(0px,"+a+88+"px,0px)";Qy.style.display="";Qy.style.visibility="visible";b();_.Fy(c,4E3);_.Fy(Bz,5E3)}; Gz=function(a){var b=_.Ze("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Qy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Rr(c,"visibility","hidden");_.Rr(c,b,"-40px");_.Rr(c,"height","128px");var d=c;if(_.mr()){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"?"-":"";Ry=parseInt(e+88,10);Qy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Qy.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){}_.Mm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?Fz(!0):Fz(!1)}})}; Hz=function(a){var b=_.ro(),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}; Iz=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=_.Ze("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||Xy(c)!=null||!oz(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};Jz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Qf(_.Ny(a,!0));if(a===!1)throw Error("za");return a};Kz=function(a){return(a=Jz(a))?a.sub:null}; Lz=function(a){a&&rz.push(a);a=_.Hy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(pz&&c-pz<6E4)return;var d=_.$f.Sn(a);d&&(zz("oauth2relayReady",d),zz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Iy();a=_.Hy}pz=c;var e=String(2147483647*(0,_.Ng)()|0);b=_.Ze("oauth-flow/proxyUrl")||_.Ze("oauth-flow/relayUrl");yz()?uz=_.Mm.openChild({where:_.cf.nT(),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(_.Fg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.cf.nT(),d=_.cf.EQ({name:a,id:a}),d.src=xz(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),_.$f.Mw(a));Az("oauth2relayReady",e,function(){zz("oauth2relayReady",e);var f=rz;if(f!==null){rz= null;for(var h=f.length,k=0;k=0&&_.Ze("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",qz||(qz=!0,Gz(l)));_.Zy(k,h);h=Yy(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)}}})};_.Mz=function(a){rz!==null?Lz(a):a&&a()};Oz=function(a,b){var c=Nz,d=Kz(a);d&&(nz(a),cz(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=Iz(null,e);c(e)}}))}; Nz=function(a){a||(a=Yy(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||(_.Pe.drw=null);_.Zy(a);if(b=a.authuser)_.Ze("googleapis.config/sessionIndex"),_.$e("googleapis.config/sessionIndex",b);_.Jy.ep(_.Ky,a);return a};Pz=["client_id","cookie_policy","response_type"];Qz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); Rz=function(a){var b=_.Tj(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);_.aw(b);return b}; Sz=function(a){if(a.include_granted_scopes===void 0){var b=_.Ze("include_granted_scopes");a.include_granted_scopes=!!b}};Tz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))}; Uz=function(a){var b=a||{},c={};_.Cb(Qz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Ze("googleapis/overrideClientId");a!=null&&(c.client_id=a);Sz(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{_.Uw(c.cookie_policy)}catch(d){c.cookie_policy&& Tz("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=_.ei(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Ze("oauth-flow/redirectUri"); a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; Vz=function(a,b){var c=Uz(a),d=new _.lk(function(e,f){_.Ax(c,function(h){var k=h||{};_.Cb(Pz,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=Rz(k),h.authuser!=null&&_.$e("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};var Wz,Yz;Wz=null;_.Zz=function(a,b){if(a.approvalprompt!=="force"){a=_.Xz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Wz?(a.client_id!==Wz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Wz=a,b=!1);b||Yz(a)}}; _.Xz=function(a){var b=a.redirecturi||"postmessage",c=_.Ec((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=_.Ec(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||_.Ze("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ze("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Yz=function(a){_.dp("waaf0","signin","0");Vz(a,function(b){_.dp("waaf1","signin","0");Nz(b)})}; _.$z=function(a){a=_.Xz(a);_.$e("oauth-flow/authWindowWidth",445);_.$e("oauth-flow/authWindowHeight",615);Yz(a)};_.aA=function(a){_.Jy.unsubscribe(_.Ky,a);_.Jy.subscribe(_.Ky,a)};var hA,kA;_.cA=function(a){return a.cookiepolicy?!0:(_.bA("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.bA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.gA=function(a,b){var c=_.ro();_.He(a,c);c=Hz(c);if(_.cA(c)){var d=_.dA();_.eA(c);b?_.Oe(b,"click",function(){_.fA(c,d)}):_.fA(c,d)}}; _.dA=function(){var a=new hA;_.aA(function(b){a.bJ&&b&&(b.access_token&&_.$e("isPlusUser",!0),b["g-oauth-window"]&&(a.bJ=!1,_.Vf.warn("OTA app install is no longer supported.")))});return a};hA=function(){this.bJ=!1};_.eA=function(a){a=_.iA(a);_.jA(a.callback);_.Mz(function(){_.Zz(a)})};_.iA=function(a){kA(a);a.redirecturi&&delete a.redirecturi;Py(function(b){return a[b]})||(a.authuser=0);return a};kA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.jA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.bA('Callback function named "'+a+'" not found');return}a&&_.aA(a)};_.fA=function(a,b){b.bJ=!0;a=_.iA(a);_.$z(a)};_.r("gapi.auth.authorize",Vz);_.r("gapi.auth.checkSessionState",function(a,b){var c=_.Fe();c.client_id=a.client_id;c.session_state=a.session_state;_.Mz(function(){yz()?uz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Pm):_.$f.call(_.Hy,"check_session_state",vz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.r("gapi.auth.getAuthHeaderValueForFirstParty",function(a,b){_.xi(_.wi(),51).rb();return _.oi(a,b)});_.r("gapi.auth.getToken",Yy); _.r("gapi.auth.getVersionInfo",function(a,b){_.Mz(function(){var c=_.oi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?yz()?uz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Pm):_.$f.call(_.Hy,"get_versioninfo",vz(function(f){a(f)}),d,b):a()})});_.r("gapi.auth.init",_.Mz);_.r("gapi.auth.setToken",_.Zy);_.r("gapi.auth.signIn",function(a){_.gA(a)});_.r("gapi.auth.signOut",function(){var a=Yy();a&&Oz(a,a.cookie_policy)}); _.r("gapi.auth.unsafeUnpackIdToken",Jz);_.r("gapi.auth._pimf",_.Zz);_.r("gapi.auth._oart",Gz);_.r("gapi.auth._guss",function(a){return az(a).read()}); var lA=_.ro();lA.clientid&&lA.scope&&lA.callback&&!_.Ze("disableRealtimeCallback")&&_.eA(lA); }); // Google Inc.