gapi.loaded_1(function(_){var window=this; _.Ke=_.Ke||{};_.Ke.ws=function(a,b,c){for(var d=[],e=2,f=arguments.length;e>=8);b[c++]=e}return b}; var ch,gh,ih;ch={};gh=null;_.hh=_.jd||_.kd||!_.ah&&!_.gd&&"function"==typeof _.u.atob;_.jh=function(a,b){void 0===b&&(b=0);ih();b=ch[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);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}}; ih=function(){if(!gh){gh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ch[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:"")}; _.g.get=function(a,b){for(var c=a+"=",d=(this.ob.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.ij=new Oi(this);this.vU=this;this.JE=null};_.$a(_.ej,_.Ci);_.ej.prototype[_.Ji]=!0;_.g=_.ej.prototype;_.g.em=function(){return this.JE};_.g.mz=_.ba(3);_.g.addEventListener=function(a,b,c,d){_.Vi(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.bj(this,a,b,c,d)}; _.g.dispatchEvent=function(a){var b,c=this.em();if(c)for(b=[];c;c=c.em())b.push(c);c=this.vU;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.Ss&&0<=f;f--){var h=a.currentTarget=b[f];e=h.jr(d,!0,a)&&e}a.Ss||(h=a.currentTarget=c,e=h.jr(d,!0,a)&&e,a.Ss||(e=h.jr(d,!1,a)&&e));if(b)for(f=0;!a.Ss&&f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.As=function(a,b,c,d){return Array.prototype.splice.apply(a,zs(arguments,1))};_.Bs=function(a,b,c){if(null!==a&&b in a)throw Error("h`"+b);a[b]=c};_.Pd.prototype.N=_.cb(1,function(a){return _.pi(this.ob,a)}); _.Cs=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:""):_.Sd(c,"*",a,b)[0]||null}return a||null};_.Ds=function(a){var b;if(_.Fd&&!(_.gd&&_.Bd("9")&&!_.Bd("10")&&_.u.SVGElement&&a instanceof _.u.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.fe(b)?b:null};_.Es=function(a){_.Ci.call(this);this.fe=a;this.Mb={}};_.$a(_.Es,_.Ci);var Fs=[]; _.Es.prototype.V=function(a,b,c,d){return this.ms(a,b,c,d)};_.Es.prototype.ms=function(a,b,c,d,e){Array.isArray(b)||(b&&(Fs[0]=b.toString()),b=Fs);for(var f=0;fAu(this.Tb[a],b)&&this.Tb[a].push(b)}; Ju.prototype.removeEventListener=function(a,b){if(!(0<=Au(this.hI,a)))throw Error("T`"+a);Cu(b)&&this.Tb[a]&&this.Tb[a].length&&(b=Au(this.Tb[a],b),0<=b&&this.Tb[a].splice(b,1))};Ju.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Au(this.hI,b)))throw Error("V`"+b);if(this.Tb[b]&&this.Tb[b].length)for(var c=0,d=this.Tb[b].length;cq;q+=4)p[q/4]=t[q]<<24|t[q+1]<<16|t[q+2]<<8|t[q+3];for(q=16;80>q;q++)t=p[q-3]^p[q-8]^p[q-14]^p[q-16],p[q]=(t<<1|t>>>31)&4294967295;t=e[0];var v=e[1],r=e[2],x=e[3],A=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var C=x^v&(r^x);var F=1518500249}else C= v^r^x,F=1859775393;else 60>q?(C=v&r|x&(v|r),F=2400959708):(C=v^r^x,F=3395469782);C=((t<<5|t>>>27)&4294967295)+C+A+F+p[q]&4294967295;A=x;x=r;r=(v<<30|v>>>2)&4294967295;v=t;t=C}e[0]=e[0]+t&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+A&4294967295}function c(t,p){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var q=[],v=0,r=t.length;vm?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=p&255,p>>>=8;b(f);for(q=p=0;5>q;q++)for(var v=24;0<=v;v-=8)t[p++]=e[q]>>v&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Nh:function(){for(var t=d(),p="",q=0;qAu(m.Jk[k],l)&&m.Jk[k].push(l));f()}else e.Ro={error:"Not a valid origin for the client: "+e.zd+ " has not been registered for client ID "+e.Sb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Em=!0,e.Px(e.Ro)}):(rv(e.wb),f()))},this.cq)};Bu(_.vv,Ju);_.g=_.vv.prototype;_.g.setOptions=function(){};_.g.yP=function(){};_.g.Px=function(){};_.g.kx=function(){return this.Kt};_.g.bm=function(){return this.Ro};wv=function(a,b,c){return function(){b.apply(a,c)}}; _.xv=function(a,b,c){if(a.DN)b.apply(a,c);else{if(a.Em)throw a.Ro;a.Tq.push(wv(a,b,c))}};_.vv.prototype.QJ=_.ba(12);_.vv.prototype.Kq=_.ba(10); _.zv=function(a,b){_.vv.call(this,a,b);this.gP=new Ru;this.yj=this.Sm=null;yv(this)};Bu(_.zv,_.vv);_.zv.prototype.setOptions=function(){}; var Av=function(a,b){a.ne={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Yd};b.crossSubDomains&&(a.ne.policy=b.policy)},Bv=function(a,b){if(!b.authParameters)throw Error("ia");if(!b.authParameters.scope)throw Error("ja");if(!b.authParameters.response_type)throw Error("ka");a.Cq=b.authParameters;a.Cq.redirect_uri||(a.Cq.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Di=_.Du(b.rpcAuthParameters||a.Cq);if(!a.Di.scope)throw Error("la");if(!a.Di.response_type)throw Error("ma"); a:{var c=a.Di.response_type.split(" ");for(var d=0,e=c.length;db;b++)a[b]=Math.floor(256*Math.random())}return _.jh(a,3).substring(0,64)},Lv=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1 a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},Nv=function(a,b,c){if(!a.ue)throw Error("oa");b?_.mv(a.ud,a.ne,!0,void 0,c):_.mv(a.ud,a.ne,!0,a.je,c)},Ov=function(a){if(!a.ue)throw Error("oa");return a.sx},Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Zv;_.Hv.prototype.$N=_.cb(17,function(a,b){var c=this.ud,d=this.Sb,e=this.ne,f=_.Du(this.Di);delete f.response_type;_.jv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)}); _.Fv.prototype.OP=_.cb(16,function(a){Ov(this)&&Ov(this).access_token&&(this.ud.revoke(this.Sb,Ov(this).access_token,a),Nv(this,!0))}); _.Fv.prototype.yr=_.cb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.kx()&&a.cq&&(Lv()||Mv())){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.wb};a.sx=b;a.dispatchEvent({type:_.Ev.XI,idpId:a.wb,response:b})}else a.Dz(b.authResult.login_hint,a.Vg||b.authResult.login_hint!=a.je,!0,!0)}}); _.Hv.prototype.yr=_.cb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.qr(function(d){_.mv(b.ud,b.ne,d&&d.disabled,c.authResult.login_hint,function(){_.Iv(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"})}});_.zv.prototype.xO=_.cb(13,function(){this.Sb&&_.jv(this.ud,"startPolling",{clientId:this.Sb,origin:this.zd,id:this.vj},void 0)}); _.gv.prototype.revoke=_.cb(9,function(a,b,c){_.jv(this,"revoke",{clientId:a,token:b},c)});_.Fv.prototype.revoke=_.cb(8,function(a){_.xv(this,this.OP,[a])});Pv=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}; Qv=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("&")}; Sv=function(a,b,c,d){if(!a.Sb)throw Error("pa");a.vj=c||a.KU||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.zd.split("//");c=b.extraQueryParams;var f=e[0],h=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 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("")}; Zv=function(a){var b=[];_.kh(a,function(c){b.push(c)});return b};_.$v=function(a,b){_.Sh[b||"token"]=a};_.aw=function(a){delete _.Sh[a||"token"]}; _.Iu={parse:function(a){a=_.uf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.vf(a)}}; _.Hv.prototype.SB=function(a,b){_.xv(this,this.kW,[a,b])};_.Hv.prototype.kW=function(a,b){this.ud.SB(this.Sb,a,this.Di,this.ne,b)}; _.gv.prototype.SB=function(a,b,c,d,e){c=_.Du(c);_.jv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var bw,cw=["client_id","cookie_policy","scope"],dw="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(" "),ew=["authuser","after_redirect","access_type","hl"],fw=["login_hint","prompt"],gw={clientid:"client_id",cookiepolicy:"cookie_policy"},hw=["approval_prompt","authuser","login_hint", "prompt","hd"],iw=["login_hint","g-oauth-window","status"],jw=Math.min(_.He("oauth-flow/authWindowWidth",599),screen.width-20),kw=Math.min(_.He("oauth-flow/authWindowHeight",600),screen.height-30); var lw=function(a){_.fb.call(this,a)};_.J(lw,_.fb);lw.prototype.name="gapi.auth2.ExternallyVisibleError"; var mw=function(){};mw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var nw=function(){};nw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a},Uw=function(a,b){if(!a)throw new lw("Empty initial options.");for(var c=0;c");var h=_.Ke.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};_.Ke.BL=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};_.Ke.Jca=function(b){return a(b)}})(); _.lg=window.gapi&&window.gapi.util||{}; _.lg=_.lg={};_.lg.getOrigin=function(a){return _.ng(a)}; _.xy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={ui:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=_.vy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Ge;return!d&&("U"!==c||e.Ge)||d&&!_.wy?b:{ui:!0,Ge:d,nV:a.substr(1),domain:e.domain,Oh:e.Oh}}; _.yy=function(a,b){this.tf=a;a=b||{};this.S_=Number(a.maxAge)||0;this.Yd=a.domain;this.Wk=a.path;this.E2=!!a.secure};_.yy.prototype.read=function(){for(var a=this.tf+"=",b=document.cookie.split(/;\s*/),c=0;cGy;++Gy); _.wy="https:"===window.location.protocol;_.Hy=_.wy||"http:"===window.location.protocol?_.yy:_.By;_.vy=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.lengthq;q+=4)p[q/4]=t[q]<<24|t[q+1]<<16|t[q+2]<<8|t[q+3];for(q=16;80>q;q++)t=p[q-3]^p[q-8]^p[q-14]^p[q-16],p[q]=(t<<1|t>>>31)&4294967295;t=e[0];var v=e[1],r=e[2],x=e[3],A=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var C=x^v&(r^x);var F=1518500249}else C=v^r^x,F=1859775393;else 60>q?(C=v&r|x&(v|r),F=2400959708):(C=v^r^x,F=3395469782);C=((t<<5|t>>>27)&4294967295)+ C+A+F+p[q]&4294967295;A=x;x=r;r=(v<<30|v>>>2)&4294967295;v=t;t=C}e[0]=e[0]+t&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+A&4294967295}function c(t,p){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var q=[],v=0,r=t.length;vm?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=p&255,p>>>=8;b(f);for(q=p=0;5>q;q++)for(var v=24;0<=v;v-=8)t[p++]=e[q]>>v&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Nh:function(){for(var t=d(),p="",q=0;q":(c=_.Dr(d),l+=">"+_.Vc(c).toString()+"",c=c.sk());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.Wc(l,c)};_.Gr=function(a){return Number(_.Ed)>=a};_.Hr=function(a){return _.Md('style[nonce],link[rel="stylesheet"][nonce]',a)}; _.Ir=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Jr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Kr=function(a){return a?a.parentWindow||a.defaultView:window};_.Lr=function(a,b,c){return _.Yd(document,arguments)}; _.Mr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.Mr.prototype;_.g.Pb=function(){return this.right-this.left};_.g.Bc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Mr(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Mr?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}; _.g.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};_.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 _.or?(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};_.g.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 Pr,Vr,Tr,Yr,js,ks;_.Or=function(a,b,c){if("string"===typeof b)(b=_.Nr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Nr(c,d);f&&(c.style[f]=e)}};Pr={};_.Nr=function(a,b){var c=Pr[b];if(!c){var d=_.Ir(b);c=d;void 0===a.style[d]&&(d=(_.kd?"Webkit":_.jd?"Moz":_.gd?"ms":null)+Jr(d),void 0!==a.style[d]&&(c=d));Pr[b]=c}return c}; _.Qr=function(a,b){var c=_.Qd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Rr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Sr=function(a,b){return _.Qr(a,b)||_.Rr(a,b)||a.style&&a.style[b]};_.Ur=function(a,b,c){if(b instanceof _.or){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Tr(d,!1);a.style.top=Tr(b,!1)}; Vr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Zr=function(a,b){b=b||_.tr(document);var c=b||_.tr(document);var d=_.Wr(a),e=_.Wr(c),f=_.Xr(c);if(c==_.tr(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.gd&&!_.Gr(10)&&(h+=f.left,d+=f.top)}else h=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Yr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.or(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}; _.Wr=function(a){var b=_.Qd(a),c=new _.or(0,0);var d=b?_.Qd(b):document;d=!_.gd||_.Gr(9)||_.qr(_.Rd(d).ob)?d.documentElement:d.body;if(a==d)return c;a=Vr(a);b=_.ur(_.Rd(b).ob);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.as=function(a,b){var c=new _.or(0,0),d=_.Kr(_.Qd(a));if(!_.dd(d,"parent"))return c;do{var e=d==b?_.Wr(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=Vr(a);return new _.or(a.left,a.top)}; _.bs=function(a,b,c){if(b instanceof _.pr)c=b.height,b=b.width;else if(void 0==c)throw Error("L");a.style.width=Tr(b,!0);a.style.height=Tr(c,!0)};Tr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.cs=function(a){var b=Yr;if("none"!=_.Sr(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}; Yr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.kd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Vr(a),new _.pr(a.right-a.left,a.bottom-a.top)):new _.pr(b,c)};_.ds=function(a,b){a.style.display=b?"":"none"}; _.fs=function(a){var b=_.Rd(void 0),c=b.$a();if(_.gd&&c.createStyleSheet)b=c.createStyleSheet(),_.es(b,a);else{c=_.vr(b,"HEAD")[0];if(!c){var d=_.vr(b,"BODY")[0];c=b.ma("HEAD");d.parentNode.insertBefore(c,d)}d=b.ma("STYLE");var e=_.Hr();e&&d.setAttribute("nonce",e);_.es(d,a);b.appendChild(c,d)}};_.es=function(a,b){b=_.zr(b);_.gd&&void 0!==a.cssText?a.cssText=b:_.u.trustedTypes?_.he(a,b):a.innerHTML=b};_.gs=function(a){return"rtl"==_.Sr(a,"direction")}; _.hs=_.jd?"MozUserSelect":_.kd||_.hd?"WebkitUserSelect":null;_.is=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};js={thin:2,medium:4,thick:6};ks=function(a,b){if("none"==_.Rr(a,b+"Style"))return 0;b=_.Rr(a,b+"Width");return b in js?js[b]:_.is(a,b)}; _.Xr=function(a){if(_.gd&&!_.Gr(9)){var b=ks(a,"borderLeft"),c=ks(a,"borderRight"),d=ks(a,"borderTop");a=ks(a,"borderBottom");return new _.Mr(d,c,a,b)}b=_.Qr(a,"borderLeftWidth");c=_.Qr(a,"borderRightWidth");d=_.Qr(a,"borderTopWidth");a=_.Qr(a,"borderBottomWidth");return new _.Mr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.Kx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.O)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.O)(a.handleEvent,a);else throw Error("xa");return 2147483647a.Oh)&&(a=c,b=d)});return{RU:a,authuser:b}};gz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];hz=function(a){a=a.toUpperCase();for(var b=0,c=gz.length;ba.expires_at?null:a};_.mz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.$v(c,d):_.aw(d)}; nz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.ng(a));var b=window.location.hostname,c=b,d=_.wy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.zf.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 _.zf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ge:d,Oh:b}}; oz=function(a){var b=nz(a);if(!b)return new _.By("G_USERSTATE_");a=["G_USERSTATE_",_.wy&&b.Ge?"S":"H",b.Oh].join("");var c=_.Ly[a];c||(c={$D:63072E3},_.qe(_.Oy(b),c),c=new _.yy(a,c),_.Ly[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};pz=function(a){var b=oz(a).read();a=_.ne();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; qz=function(a,b,c){var d=pz(b),e=d[a];d[a]="0";var f=[];_.Zl(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=oz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};rz=function(a,b){b=pz(b);return"0"==b[a]||"X"==b[a]};sz=function(a){a=nz(a.g_user_cookie_policy);if(!a||a.Ge&&!_.wy)a=null;else{var b=["G_AUTHUSER_",_.wy&&a.Ge?"S":"H",a.Oh].join(""),c=_.Ky[b];c||(c=new _.Hy(b,_.Oy(a)),_.Ky[b]=c);a=c}_.Ie("googleapis.config/sessionIndex",null);a.clear()};tz=function(a){return bz(function(b){return a[b]})}; uz=0;vz=!1;wz=[];xz={};yz={};zz=null;Az=function(a){var b=_.Vy;return function(c){if(this.f==b&&this.t==_.Ff.Wl(this.f)&&this.origin==_.Ff.om(this.f))return a.apply(this,arguments)}};Bz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Cz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ca");}; Dz=function(a){var b=_.Ke.qg,c=b(a).jsh;if(null!=c)return Cz(c),a;if(b=String(b().jsh||_.ye.h||""))Cz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Ez=function(){return!!_.He("oauth-flow/usegapi")};Fz=function(a,b){Ez()?zz.unregister(a):_.Ff.unregister(a+":"+b)};Gz=function(a,b,c){Ez()?zz.register(a,c,_.nm):_.Ff.register(a+":"+b,Az(c))};Hz=function(){dz.parentNode.removeChild(dz)}; Iz=function(a){var b=dz;_.Ty(b,[{uy:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Ty(b,[{uy:"transform",duration:1,timing:"ease",delay:0}]);_.Kx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Jz=function(){var a=ez+88;Iz(a);ez=a};Kz=function(){var a=ez-88;Iz(a);ez=a}; Lz=function(a){var b=a?Jz:Kz,c=a?Kz:Jz;a=a?"-":"";ez=parseInt(a+88,10);dz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";dz.style.transform="translate3d(0px,"+a+88+"px,0px)";dz.style.display="";dz.style.visibility="visible";b();_.Kx(c,4E3);_.Kx(Hz,5E3)}; Mz=function(a){var b=_.He("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");dz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Or(c,"visibility","hidden");_.Or(c,b,"-40px");_.Or(c,"height","128px");var d=c;if(!_.Kq()&&!_.Jq()){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?"-":"";ez=parseInt(e+88,10);dz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";dz.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){}_.km.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Lz(!0):Lz(!1)}})}; Nz=function(a){var b=_.Kn(),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-uz)return;var d=_.Ff.Wl(a);d&&(Fz("oauth2relayReady",d),Fz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Wy();a=_.Vy}uz=c;var e=String(2147483647*(0,_.tg)()|0);b=_.He("oauth-flow/proxyUrl")||_.He("oauth-flow/relayUrl");Ez()?zz=_.km.openChild({where:_.Ke.BL(),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(_.lg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ke.BL(),d=_.Ke.hK({name:a,id:a}),d.src=Dz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Bz(d),c.appendChild(d),_.Ff.vt(a));Gz("oauth2relayReady",e,function(){Fz("oauth2relayReady",e);var f=wz;if(null!==f){wz=null;for(var h=0,k=f.length;h< k;++h)f[h]()}});Gz("oauth2callback",e,function(f){var h=_.Ke.qg;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(yz,f)?yz[f]:null;h.state=f;if(null!=h.state){f=xz[k];delete xz[k];k=f&&f.key||"token";var l=h=Oz(f&&f.params,h);var m=(m=Qz(l))?rz(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.He("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",vz||(vz=!0,Mz(l)));_.mz(k,h);h=lz(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)}}})};_.Sz=function(a){null!==wz?Rz(a):a&&a()};Uz=function(a,b){var c=Tz,d=Qz(a);d&&(sz(a),qz(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=Oz(null,e);c(e)}}))}; Tz=function(a){a||(a=lz(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||(_.ye.drw=null);_.mz(a);if(b=a.authuser)_.He("googleapis.config/sessionIndex"),_.Ie("googleapis.config/sessionIndex",b);_.Xy.Xm(_.Yy,a);return a};Vz=["client_id","cookie_policy","response_type"];Wz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); Xz=function(a){var b=_.nj(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);_.$v(b);return b}; Yz=function(a){if(void 0===a.include_granted_scopes){var b=_.He("include_granted_scopes");a.include_granted_scopes=!!b}};Zz=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))}; $z=function(a){var b=a||{},c={};_.Pb(Wz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.He("googleapis/overrideClientId");null!=a&&(c.client_id=a);Yz(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{_.Ow(c.cookie_policy)}catch(d){c.cookie_policy&& Zz("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=_.Dh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.He("oauth-flow/redirectUri"); null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; aA=function(a,b){var c=$z(a),d=new _.Mj(function(e,f){_.vx(c,function(h){var k=h||{};_.Pb(Vz,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)):(h=Xz(k),null!=h.authuser&&_.Ie("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};bA=_.Rh.zL;cA=null; _.fA=function(a,b){if("force"!==a.approvalprompt){a=_.dA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)cA?(a.client_id!==cA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(cA=a,b=!1);b||eA(a)}}; _.dA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.mc)((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,_.mc)(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||_.He("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.He("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};eA=function(a){_.Ao("waaf0","signin","0");aA(a,function(b){_.Ao("waaf1","signin","0");Tz(b)})}; _.gA=function(a){a=_.dA(a);_.Ie("oauth-flow/authWindowWidth",445);_.Ie("oauth-flow/authWindowHeight",615);eA(a)};_.hA=function(a){_.Xy.unsubscribe(_.Yy,a);_.Xy.subscribe(_.Yy,a)}; var KA,NA;_.jA=function(a){return a.cookiepolicy?!0:(_.iA("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.iA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.JA=function(a,b){var c=_.Kn();_.qe(a,c);c=Nz(c);if(_.jA(c)){var d=_.kA();_.xA(c);b?_.xe(b,"click",function(){_.IA(c,d)}):_.IA(c,d)}}; _.kA=function(){var a=new KA;_.hA(function(b){a.aE&&b&&(b.access_token&&_.Ie("isPlusUser",!0),b["g-oauth-window"]&&(a.aE=!1,_.zf.warn("OTA app install is no longer supported.")))});return a};KA=function(){this.aE=!1};_.xA=function(a){a=_.LA(a);_.MA(a.callback);_.Sz(function(){_.fA(a)})};_.LA=function(a){NA(a);a.redirecturi&&delete a.redirecturi;cz(function(b){return a[b]})||(a.authuser=0);return a};NA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.MA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.iA('Callback function named "'+a+'" not found');return}a&&_.hA(a)};_.IA=function(a,b){b.aE=!0;a=_.LA(a);_.gA(a)}; _.E("gapi.auth.authorize",aA);_.E("gapi.auth.checkSessionState",function(a,b){var c=_.ne();c.client_id=a.client_id;c.session_state=a.session_state;_.Sz(function(){Ez()?zz.send("check_session_state",c,function(d){b.call(null,d[0])},_.nm):_.Ff.call(_.Vy,"check_session_state",Az(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.E("gapi.auth.getAuthHeaderValueForFirstParty",bA);_.E("gapi.auth.getToken",lz); _.E("gapi.auth.getVersionInfo",function(a,b){_.Sz(function(){var c=_.Ph()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Ez()?zz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.nm):_.Ff.call(_.Vy,"get_versioninfo",Az(function(f){a(f)}),d,b):a()})});_.E("gapi.auth.init",_.Sz);_.E("gapi.auth.setToken",_.mz);_.E("gapi.auth.signIn",function(a){_.JA(a)});_.E("gapi.auth.signOut",function(){var a=lz();a&&Uz(a,a.cookie_policy)}); _.E("gapi.auth.unsafeUnpackIdToken",Pz);_.E("gapi.auth._pimf",_.fA);_.E("gapi.auth._oart",Mz);_.E("gapi.auth._guss",function(a){return oz(a).read()}); var OA=_.Kn();OA.clientid&&OA.scope&&OA.callback&&!_.He("disableRealtimeCallback")&&_.xA(OA); }); // Google Inc.