gapi.loaded_1(function(_){var window=this; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.fh=function(a){for(var b=[],c=0,d=0;d>=8);b[c++]=e}return b}; var gh,hh,jh;gh={};hh=null;_.ih=_.ld||_.md||!_.eh&&!_.id&&"function"==typeof _.q.atob;_.kh=function(a,b){void 0===b&&(b=0);jh();b=gh[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];g=b[(g&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+g+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("")}; _.lh=function(a,b){function c(l){for(;d>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}}; jh=function(){if(!hh){hh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));gh[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.hb.cookie||"").split(";"),e=0,f;e>>0);_.Wi=function(a){if("function"===typeof a)return a;a[dj]||(a[dj]=function(b){return a.handleEvent(b)});return a[dj]};_.wi(function(a){aj=a(aj)}); _.ej=function(){_.Ci.call(this);this.Ci=new Oi(this);this.mR=this;this.PC=null};_.Za(_.ej,_.Ci);_.ej.prototype[_.Ji]=!0;_.h=_.ej.prototype;_.h.xl=function(){return this.PC};_.h.$w=_.fa(3);_.h.addEventListener=function(a,b,c,d){_.Vi(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.bj(this,a,b,c,d)}; _.h.dispatchEvent=function(a){var b,c=this.xl();if(c)for(b=[];c;c=c.xl())b.push(c);c=this.mR;var d=a.type||a;if("string"===typeof a)a=new _.Fi(a,c);else if(a instanceof _.Fi)a.target=a.target||c;else{var e=a;a=new _.Fi(d,c);_.ri(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Cr&&0<=f;f--){var g=a.currentTarget=b[f];e=g.Tp(d,!0,a)&&e}a.Cr||(g=a.currentTarget=c,e=g.Tp(d,!0,a)&&e,a.Cr||(e=g.Tp(d,!1,a)&&e));if(b)for(f=0;!a.Cr&&f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Fs=function(a,b,c,d){return Array.prototype.splice.apply(a,Es(arguments,1))};_.Gs=function(a,b,c){if(null!==a&&b in a)throw Error("f`"+b);a[b]=c};_.Td.prototype.H=_.ab(1,function(a){return _.pi(this.hb,a)}); _.Hs=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.Wd(c,"*",a,b)[0]||null}return a||null};_.Is=function(a){var b;if(_.Kd&&!(_.id&&_.Gd("9")&&!_.Gd("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.je(b)?b:null};_.Js=function(a){_.Ci.call(this);this.Nd=a;this.Eb={}};_.Za(_.Js,_.Ci);var Ks=[]; _.Js.prototype.V=function(a,b,c,d){return this.Vq(a,b,c,d)};_.Js.prototype.Vq=function(a,b,c,d,e){Array.isArray(b)||(b&&(Ks[0]=b.toString()),b=Ks);for(var f=0;fDu(this.Jb[a],b)&&this.Jb[a].push(b)}; Mu.prototype.removeEventListener=function(a,b){if(!(0<=Du(this.eF,a)))throw Error("Q`"+a);Fu(b)&&this.Jb[a]&&this.Jb[a].length&&(b=Du(this.Jb[a],b),0<=b&&this.Jb[a].splice(b,1))};Mu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Du(this.eF,b)))throw Error("S`"+b);if(this.Jb[b]&&this.Jb[b].length)for(var c=0,d=this.Jb[b].length;ct;t+=4)r[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=r[t-3]^r[t-8]^r[t-14]^r[t-16],r[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],x=e[3],z=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var A=x^v&(u^x);var E=1518500249}else A= v^u^x,E=1859775393;else 60>t?(A=v&u|x&(v|u),E=2400959708):(A=v^u^x,E=3395469782);A=((p<<5|p>>>27)&4294967295)+A+z+E+r[t]&4294967295;z=x;x=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}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]+z&4294967295}function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;5>t;t++)for(var v=24;0<=v;v-=8)p[r++]=e[t]>>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,ih:function(){for(var p=d(),r="",t=0;tDu(m.ak[k],l)&&m.ak[k].push(l));f()}else e.Rn={error:"Not a valid origin for the client: "+e.Zc+ " has not been registered for client ID "+e.Ib+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Nl=!0,e.Vv(e.Rn)}):(uv(e.nb),f()))},this.Mo)};Eu(_.yv,Mu);_.h=_.yv.prototype;_.h.setOptions=function(){};_.h.CM=function(){};_.h.Vv=function(){};_.h.pv=function(){return this.ss};_.h.wl=function(){return this.Rn};zv=function(a,b,c){return function(){b.apply(a,c)}}; _.Av=function(a,b,c){if(a.KK)b.apply(a,c);else{if(a.Nl)throw a.Rn;a.Jp.push(zv(a,b,c))}};_.yv.prototype.bH=_.fa(12);_.yv.prototype.Cp=_.fa(10); _.Cv=function(a,b){_.yv.call(this,a,b);this.mM=new Uu;this.Si=this.$l=null;Bv(this)};Eu(_.Cv,_.yv);_.Cv.prototype.setOptions=function(){}; var Dv=function(a,b){a.Sd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.lc};b.crossSubDomains&&(a.Sd.policy=b.policy)},Ev=function(a,b){if(!b.authParameters)throw Error("fa");if(!b.authParameters.scope)throw Error("ga");if(!b.authParameters.response_type)throw Error("ha");a.mp=b.authParameters;a.mp.redirect_uri||(a.mp.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Qh=_.Gu(b.rpcAuthParameters||a.mp);if(!a.Qh.scope)throw Error("ia");if(!a.Qh.response_type)throw Error("ja"); a:{var c=a.Qh.response_type.split(" ");for(var d=0,e=c.length;db;b++)a[b]=Math.floor(256*Math.random())}return _.kh(a,3).substring(0,64)},Ov=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1 a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},Qv=function(a,b,c){if(!a.Td)throw Error("la");b?_.pv(a.Vc,a.Sd,!0,void 0,c):_.pv(a.Vc,a.Sd,!0,a.Pd,c)},Rv=function(a){if(!a.Td)throw Error("la");return a.vv},Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,bw;_.Kv.prototype.hL=_.ab(17,function(a,b){var c=this.Vc,d=this.Ib,e=this.Sd,f=_.Gu(this.Qh);delete f.response_type;_.mv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)}); _.Iv.prototype.SM=_.ab(16,function(a){Rv(this)&&Rv(this).access_token&&(this.Vc.revoke(this.Ib,Rv(this).access_token,a),Qv(this,!0))}); _.Iv.prototype.hq=_.ab(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.pv()&&a.Mo&&(Ov()||Pv())){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.nb};a.vv=b;a.dispatchEvent({type:_.Hv.iG,idpId:a.nb,response:b})}else a.ox(b.authResult.login_hint,a.zg||b.authResult.login_hint!=a.Pd,!0,!0)}}); _.Kv.prototype.hq=_.ab(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Zp(function(d){_.pv(b.Vc,b.Sd,d&&d.disabled,c.authResult.login_hint,function(){_.Lv(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"})}});_.Cv.prototype.FL=_.ab(13,function(){this.Ib&&_.mv(this.Vc,"startPolling",{clientId:this.Ib,origin:this.Zc,id:this.Pi},void 0)}); _.jv.prototype.revoke=_.ab(9,function(a,b,c){_.mv(this,"revoke",{clientId:a,token:b},c)});_.Iv.prototype.revoke=_.ab(8,function(a){_.Av(this,this.SM,[a])});Sv=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}; Tv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=RegExp("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("&")}; Vv=function(a,b,c,d){if(!a.Ib)throw Error("ma");a.Pi=c||a.DR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Zc.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=[];_.lh(a,function(c){b.push(c)});return b};_.cw=function(a,b){_.Wh[b||"token"]=a};_.dw=function(a){delete _.Wh[a||"token"]}; _.Lu={parse:function(a){a=_.zf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Af(a)}}; _.Kv.prototype.Lz=function(a,b){_.Av(this,this.bT,[a,b])};_.Kv.prototype.bT=function(a,b){this.Vc.Lz(this.Ib,a,this.Qh,this.Sd,b)}; _.jv.prototype.Lz=function(a,b,c,d,e){c=_.Gu(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(_.Ke("oauth-flow/authWindowWidth",599),screen.width-20),nw=Math.min(_.Ke("oauth-flow/authWindowHeight",600),screen.height-30); var ow=function(a){_.eb.call(this,a)};_.Q(ow,_.eb);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},Xw=function(a,b){if(!a)throw new ow("Empty initial options.");for(var c=0;c");var g=_.Ne.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};_.Ne.FI=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};_.Ne.K9=function(b){return a(b)}})(); _.Kh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var r=g,t=0;64>t;t+=4)r[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=r[t-3]^r[t-8]^r[t-14]^r[t-16],r[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],x=e[3],z=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var A=x^v&(u^x);var E=1518500249}else A=v^u^x,E=1859775393;else 60>t?(A=v&u|x&(v|u),E=2400959708):(A=v^u^x,E=3395469782);A=((p<<5|p>>>27)&4294967295)+ A+z+E+r[t]&4294967295;z=x;x=u;u=(v<<30|v>>>2)&4294967295;v=p;p=A}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]+z&4294967295}function c(p,r){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;vm?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;5>t;t++)for(var v=24;0<=v;v-=8)p[r++]=e[t]>>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,ih:function(){for(var p=d(),r="",t=0;tIy;++Iy); _.yy="https:"===window.location.protocol;_.Jy=_.yy||"http:"===window.location.protocol?_.Ay:_.Dy;_.xy=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":(c=_.Gr(d),l+=">"+_.Zc(c).toString()+"",c=c.Oj());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.$c(l,c)};_.Jr=function(a){return Number(_.Jd)>=a}; _.Kr=function(a,b){if((0,_.Md)())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.Zc(b)};_.Lr=function(a){return _.Qd('style[nonce],link[rel="stylesheet"][nonce]',a)};_.Mr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Nr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Or=function(a,b,c){return _.be(document,arguments)}; _.Pr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Pr.prototype;_.h.tc=function(){return this.right-this.left};_.h.Jd=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Pr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Pr?a.left>=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}; _.h.expand=function(a,b,c,d){_.Cb(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};_.h.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}; _.h.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};_.h.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}; _.h.translate=function(a,b){a instanceof _.rr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this}; var Sr,Yr,Wr,as,ms,ns;_.Rr=function(a,b,c){if("string"===typeof b)(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=_.Mr(b);c=d;void 0===a.style[d]&&(d=(_.md?"Webkit":_.ld?"Moz":_.id?"ms":null)+Nr(d),void 0!==a.style[d]&&(c=d));Sr[b]=c}return c}; _.Tr=function(a,b){var c=_.Ud(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ur=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Vr=function(a,b){return _.Tr(a,b)||_.Ur(a,b)||a.style&&a.style[b]};_.Xr=function(a,b,c){if(b instanceof _.rr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Wr(d,!1);a.style.top=Wr(b,!1)}; Yr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.bs=function(a,b){b=b||_.wr(document);var c=b||_.wr(document);var d=_.Zr(a),e=_.Zr(c),f=_.$r(c);if(c==_.wr(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.id&&!_.Jr(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=as(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.rr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}; _.Zr=function(a){var b=_.Ud(a),c=new _.rr(0,0);var d=b?_.Ud(b):document;d=!_.id||_.Jr(9)||_.tr(_.Vd(d).hb)?d.documentElement:d.body;if(a==d)return c;a=Yr(a);b=_.xr(_.Vd(b).hb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.ds=function(a,b){var c=new _.rr(0,0),d=_.Zd(_.Ud(a));if(!_.fd(d,"parent"))return c;do{var e=d==b?_.Zr(a):_.cs(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.cs=function(a){a=Yr(a);return new _.rr(a.left,a.top)}; _.es=function(a,b,c){if(b instanceof _.sr)c=b.height,b=b.width;else if(void 0==c)throw Error("I");a.style.width=Wr(b,!0);a.style.height=Wr(c,!0)};Wr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.fs=function(a){var b=as;if("none"!=_.Vr(a,"display"))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}; as=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.md&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Yr(a),new _.sr(a.right-a.left,a.bottom-a.top)):new _.sr(b,c)};_.gs=function(a,b){a.style.display=b?"":"none"}; _.is=function(a){var b=_.Vd(void 0),c=b.Ya();if(_.id&&c.createStyleSheet)b=c.createStyleSheet(),_.hs(b,a);else{c=_.yr(b,"HEAD")[0];if(!c){var d=_.yr(b,"BODY")[0];c=b.ha("HEAD");d.parentNode.insertBefore(c,d)}d=b.ha("STYLE");var e=_.Lr();e&&d.setAttribute("nonce",e);_.hs(d,a);b.appendChild(c,d)}};_.hs=function(a,b){b=_.Cr(b);_.id&&void 0!==a.cssText?a.cssText=b:_.q.trustedTypes?_.me(a,b):a.innerHTML=b};_.js=function(a){return"rtl"==_.Vr(a,"direction")}; _.ks=_.ld?"MozUserSelect":_.md||_.jd?"WebkitUserSelect":null;_.ls=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};ms={thin:2,medium:4,thick:6};ns=function(a,b){if("none"==_.Ur(a,b+"Style"))return 0;b=_.Ur(a,b+"Width");return b in ms?ms[b]:_.ls(a,b)}; _.$r=function(a){if(_.id&&!_.Jr(9)){var b=ns(a,"borderLeft"),c=ns(a,"borderRight"),d=ns(a,"borderTop");a=ns(a,"borderBottom");return new _.Pr(d,c,a,b)}b=_.Tr(a,"borderLeftWidth");c=_.Tr(a,"borderRightWidth");d=_.Tr(a,"borderTopWidth");a=_.Tr(a,"borderBottomWidth");return new _.Pr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.Nx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.T)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.T)(a.handleEvent,a);else throw Error("ua");return 2147483647a.jh)&&(a=c,b=d)});return{KR:a,authuser:b}};iz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];jz=function(a){a=a.toUpperCase();for(var b=0,c=iz.length;ba.expires_at?null:a};_.oz=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)}; pz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.qg(a));var b=window.location.hostname,c=b,d=_.yy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Ef.log("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 _.Ef.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,le:d,jh:b}}; qz=function(a){var b=pz(a);if(!b)return new _.Dy("G_USERSTATE_");a=["G_USERSTATE_",_.yy&&b.le?"S":"H",b.jh].join("");var c=_.Ny[a];c||(c={gC:63072E3},_.ue(_.Qy(b),c),c=new _.Ay(a,c),_.Ny[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};rz=function(a){var b=qz(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}; sz=function(a,b,c){var d=rz(b),e=d[a];d[a]="0";var f=[];_.cm(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=qz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};tz=function(a,b){b=rz(b);return"0"==b[a]||"X"==b[a]};uz=function(a){a=pz(a.g_user_cookie_policy);if(!a||a.le&&!_.yy)a=null;else{var b=["G_AUTHUSER_",_.yy&&a.le?"S":"H",a.jh].join(""),c=_.My[b];c||(c=new _.Jy(b,_.Qy(a)),_.My[b]=c);a=c}_.Le("googleapis.config/sessionIndex",null);a.clear()};vz=function(a){return dz(function(b){return a[b]})}; wz=0;xz=!1;Kz=[];Vz={};Wz={};Xz=null;Yz=function(a){var b=_.Xy;return function(c){if(this.f==b&&this.t==_.Jf.rl(this.f)&&this.origin==_.Jf.Cl(this.f))return a.apply(this,arguments)}};Zz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};$z=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("za");}; aA=function(a){var b=_.Ne.Qf,c=b(a).jsh;if(null!=c)return $z(c),a;if(b=String(b().jsh||_.Ce.h||""))$z(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};bA=function(){return!!_.Ke("oauth-flow/usegapi")};cA=function(a,b){bA()?Xz.unregister(a):_.Jf.unregister(a+":"+b)};dA=function(a,b,c){bA()?Xz.register(a,c,_.kk):_.Jf.register(a+":"+b,Yz(c))};eA=function(){fz.parentNode.removeChild(fz)}; fA=function(a){var b=fz;_.Vy(b,[{sw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Vy(b,[{sw:"transform",duration:1,timing:"ease",delay:0}]);_.Nx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};gA=function(){var a=gz+88;fA(a);gz=a};hA=function(){var a=gz-88;fA(a);gz=a}; iA=function(a){var b=a?gA:hA,c=a?hA:gA;a=a?"-":"";gz=parseInt(a+88,10);fz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";fz.style.transform="translate3d(0px,"+a+88+"px,0px)";fz.style.display="";fz.style.visibility="visible";b();_.Nx(c,4E3);_.Nx(eA,5E3)}; jA=function(a){var b=_.Ke("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");fz=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(!_.Nq()&&!_.Mq()){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?"-":"";gz=parseInt(e+88,10);fz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";fz.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){}_.jk.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?iA(!0):iA(!1)}})}; kA=function(a){var b=_.Ln(),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-wz)return;var d=_.Jf.rl(a);d&&(cA("oauth2relayReady",d),cA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Yy();a=_.Xy}wz=c;var e=String(2147483647*(0,_.wg)()|0);b=_.Ke("oauth-flow/proxyUrl")||_.Ke("oauth-flow/relayUrl");bA()?Xz=_.jk.openChild({where:_.Ne.FI(),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(_.og.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ne.FI(),d=_.Ne.tH({name:a,id:a}),d.src=aA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Zz(d),c.appendChild(d),_.Jf.Xr(a));dA("oauth2relayReady",e,function(){cA("oauth2relayReady",e);var f=Kz;if(null!==f){Kz=null;for(var g=0,k=f.length;g< k;++g)f[g]()}});dA("oauth2callback",e,function(f){var g=_.Ne.Qf;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Wz,f)?Wz[f]:null;g.state=f;if(null!=g.state){f=Vz[k];delete Vz[k];k=f&&f.key||"token";var l=g=lA(f&&f.params,g);var m=(m=nA(l))?tz(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Ke("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",xz||(xz=!0,jA(l)));_.oz(k,g);g=nz(k);if(f){k=f.popup;l=f.after_redirect;if(k&& "keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(g),f.callback=null)}}})};_.pA=function(a){null!==Kz?oA(a):a&&a()};rA=function(a,b){var c=qA,d=nA(a);d&&(uz(a),sz(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=lA(null,e);c(e)}}))}; qA=function(a){a||(a=nz(void 0,!0));a&&"object"===typeof a||(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||(_.Ce.drw=null);_.oz(a);if(b=a.authuser)_.Ke("googleapis.config/sessionIndex"),_.Le("googleapis.config/sessionIndex",b);_.Zy.hm(_.$y,a);return a};sA=["client_id","cookie_policy","response_type"];tA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); uA=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);_.cw(b);return b}; vA=function(a){if(void 0===a.include_granted_scopes){var b=_.Ke("include_granted_scopes");a.include_granted_scopes=!!b}};wA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))}; xA=function(a){var b=a||{},c={};_.Tb(tA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Ke("googleapis/overrideClientId");null!=a&&(c.client_id=a);vA(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.Rw(c.cookie_policy)}catch(d){c.cookie_policy&& wA("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.Fh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Ke("oauth-flow/redirectUri"); null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; yA=function(a,b){var c=xA(a),d=new _.Nj(function(e,f){_.yx(c,function(g){var k=g||{};_.Tb(sA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=uA(k),null!=g.authuser&&_.Le("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};zA=_.Vh.DI;AA=null; _.DA=function(a,b){if("force"!==a.approvalprompt){a=_.BA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)AA?(a.client_id!==AA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(AA=a,b=!1);b||CA(a)}}; _.BA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.nc)((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="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.nc)(a.requestvisibleactions.replace(/[\s\xa0]+/g, " ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Ke("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ke("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};CA=function(a){_.Eo("waaf0","signin","0");yA(a,function(b){_.Eo("waaf1","signin","0");qA(b)})}; _.EA=function(a){a=_.BA(a);_.Le("oauth-flow/authWindowWidth",445);_.Le("oauth-flow/authWindowHeight",615);CA(a)};_.FA=function(a){_.Zy.unsubscribe(_.$y,a);_.Zy.subscribe(_.$y,a)}; var MA,PA;_.HA=function(a){return a.cookiepolicy?!0:(_.GA("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.GA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.LA=function(a,b){var c=_.Ln();_.ue(a,c);c=kA(c);if(_.HA(c)){var d=_.IA();_.JA(c);b?_.Be(b,"click",function(){_.KA(c,d)}):_.KA(c,d)}}; _.IA=function(){var a=new MA;_.FA(function(b){a.hC&&b&&(b.access_token&&_.Le("isPlusUser",!0),b["g-oauth-window"]&&(a.hC=!1,_.Ef.warn("OTA app install is no longer supported.")))});return a};MA=function(){this.hC=!1};_.JA=function(a){a=_.NA(a);_.OA(a.callback);_.pA(function(){_.DA(a)})};_.NA=function(a){PA(a);a.redirecturi&&delete a.redirecturi;ez(function(b){return a[b]})||(a.authuser=0);return a};PA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.OA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.GA('Callback function named "'+a+'" not found');return}a&&_.FA(a)};_.KA=function(a,b){b.hC=!0;a=_.NA(a);_.EA(a)}; _.B("gapi.auth.authorize",yA);_.B("gapi.auth.checkSessionState",function(a,b){var c=_.se();c.client_id=a.client_id;c.session_state=a.session_state;_.pA(function(){bA()?Xz.send("check_session_state",c,function(d){b.call(null,d[0])},_.kk):_.Jf.call(_.Xy,"check_session_state",Yz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.B("gapi.auth.getAuthHeaderValueForFirstParty",zA);_.B("gapi.auth.getToken",nz); _.B("gapi.auth.getVersionInfo",function(a,b){_.pA(function(){var c=_.Rh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?bA()?Xz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.kk):_.Jf.call(_.Xy,"get_versioninfo",Yz(function(f){a(f)}),d,b):a()})});_.B("gapi.auth.init",_.pA);_.B("gapi.auth.setToken",_.oz);_.B("gapi.auth.signIn",function(a){_.LA(a)});_.B("gapi.auth.signOut",function(){var a=nz();a&&rA(a,a.cookie_policy)}); _.B("gapi.auth.unsafeUnpackIdToken",mA);_.B("gapi.auth._pimf",_.DA);_.B("gapi.auth._oart",jA);_.B("gapi.auth._guss",function(a){return qz(a).read()}); var QA=_.Ln();QA.clientid&&QA.scope&&QA.callback&&!_.Ke("disableRealtimeCallback")&&_.JA(QA); }); // Google Inc.