/* JS */ gapi.loaded_3(function(_){var window=this; _.Fn=function(){return Math.floor((new Date).getTime()/1E3)};var MC;var LC;_.Vj=function(a,c){this.B=a;var f=c||{};this.M=f.Fr;this.G=f.domain;this.ha=f.path;this.qa=f.wD};LC=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;MC=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Vj.prototype.Hd=function(){for(var a=this.B+"=",c=window.document.cookie.split(/;\s*/),f=0;fyk;++yk);var Gi;Gi=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];_.Yi="https:"===window.location.protocol;_.dj=_.Yi||"http:"===window.location.protocol?_.Vj:_.dk;_.fj=function(a){a=a.toUpperCase();for(var c=0,f=Gi.length;cf.expires_at&&(a.Kc.clear(),f=null);f&&f.error&&!c&&(f=null);return f}; _.ck=function(a){var c="";if(!a)return c;for(var f in a)if({}.hasOwnProperty.call(a,f)){var g;g=a[f];if(null!=g){var h=[(0,window.encodeURIComponent)(f),"="];if(g instanceof Array){for(var l=[],n=0;n");var n=_.R.createElement(g.join(""));n&&(!f||n.tagName==f.tagName&&n.namespaceURI==f.namespaceURI)&&(f=n)}catch(q){}g=f;a=a||{};for(var t in a)a.hasOwnProperty(t)&&(g[t]=a[t]);return f};_.R.Jk=function(){if(window.document.body)return window.document.body;try{var a=window.document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml", "body");if(a&&1==a.length)return a[0]}catch(f){}return window.document.documentElement||window.document};_.R.Qt=function(c){return a(c)}})(); _.R=_.R||{};(function(){function a(a){c=a["core.util"]||{}}var c={},f={};_.Pb&&_.Pb.register("core.util",null,a);_.R.Nt=function(a){return"undefined"===typeof c[a]?null:c[a]};_.R.hasFeature=function(a){return"undefined"!==typeof c[a]};_.R.Rt=function(){return f}})(); var Cp;var Sn;var Dp;var Qk;var zp;var Wo;Wo=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))};_.Qn=function(a){a=String(a);if(Wo(a))try{return eval("("+a+")")}catch(c){}throw Error("G`"+a);};_.PC=function(a){var c=[];Qk(new zp,a,c);return c.join("")};zp=function(){}; Qk=function(a,c,f){switch(typeof c){case "string":Cp(c,f);break;case "number":f.push((0,window.isFinite)(c)&&!(0,window.isNaN)(c)?c:"null");break;case "boolean":f.push(c);break;case "undefined":f.push("null");break;case "object":if(null==c){f.push("null");break}if((0,_.ea)(c)){var g=c.length;f.push("[");for(var h="",l=0;lc?h+="000":256>c?h+="00":4096>c&&(h+="0");return Dp[a]=h+c.toString(16)}),'"')}; _.rf=function(a){var c={},f;for(f in a)c[f]=a[f];return c};_.OA=function(a,c){_.Hh.call(this);this.G=a||1;this.B=c||_.D;this.ha=(0,_.H)(this.bM,this);this.M=(0,_.pa)()};(0,_.J)(_.OA,_.Hh);_.k=_.OA.prototype;_.k.enabled=!1;_.k.Oh=null;_.k.setInterval=function(a){this.G=a;this.Oh&&this.enabled?((0,_.PA)(this),this.start()):this.Oh&&(0,_.PA)(this)}; _.k.bM=function(){if(this.enabled){var a=(0,_.pa)()-this.M;0>4);64!=q&&(f.push(n<<4&240|q>>2),64!=t&&f.push(q<<6&192|t))}if(8192>f.length)f=String.fromCharCode.apply(null,f);else{g="";for(h=0;ha;a++)_.tv[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),ch[_.tv[a]]=a,sv[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),rv[sv[a]]=a}}; _.fp=function(){this.B=[];this.G={}};(0,_.J)(_.fp,_.dh);_.k=_.fp.prototype;_.k.dl=1;_.k.Pg=0;_.k.subscribe=(0,_.b)(29);_.k.zf=function(a){if(0!=this.Pg)return this.ha||(this.ha=[]),this.ha.push(a),!1;var c=this.B[a];if(c){var f=this.G[c];f&&(0,_.xe)(f,a);delete this.B[a];delete this.B[a+1];delete this.B[a+2]}return!!c}; _.k.Ws=function(a,c){var f=this.G[a];if(f){this.Pg++;for(var g=(0,_.Ae)(arguments,1),h=0,l=f.length;h';a=a.firstChild;c=a.style[(0,_.Cg)("transition")];return""!=("undefined"!==typeof c?c:a.style[(0,_.Fg)(a,"transition")]||"")}); var rF;rF=function(a){this.B=a};rF.prototype.toString=function(){return this.B};_.lH=function(){this.B=new _.fp;(0,_.pD)(this,this.B)};(0,_.J)(_.lH,_.dh);_.lH.prototype.subscribe=(0,_.b)(28);_.lH.prototype.zf=function(a){return this.B.zf(a)};_.lH.prototype.clear=function(a){this.B.clear((0,_.kf)(a)?a.toString():void 0)};_.lH.prototype.Da=function(a){return this.B.Da((0,_.kf)(a)?a.toString():void 0)}; _.Au=function(){_.wu="oauth2relay"+String(2147483647*(0,_.Vb)()|0);_.Qt.proxy=_.wu};_.Bu=new _.lH;_.mH=new rF("oauth");_.Qt={};(0,_.Au)();var LF=(0,_.P)("oauth-flow/client_id");_.Qt.client_id=LF;var mI=_.Qt,xP;var XP=String((0,_.P)("oauth-flow/redirectUri"));if(XP)xP=XP.replace(/[#][\s\S]*/,"");else{var YP=_.Rb.Pq(window.location.href);xP=[(0,_.P)("oauth-flow/callbackUrl"),"?x_origin=",(0,window.encodeURIComponent)(YP)].join("")}mI.redirect_uri=xP;_.Qt.origin=_.Rb.Pq(window.location.href); _.Qt.response_type="token";var US=((0,_.P)("oauth-flow/toastCfg")||"1000:3000:1000").split(":");_.gu=(0,window.parseInt)(US[0],10);_.du=(0,window.parseInt)(US[1],10);_.$t=(0,window.parseInt)(US[2],10); var ox;var mx;var lx;var hx;var jx;var ix;var gx;var fx;var ex;var cx;var bx;var ax;var $w;var Zw;var Ww;var Vw;var Uw;var Tw;var Sw;var Rw;var Qw;var Pw;var Ow;var Nw;var Mw;var Kw;var Jw;var Iw;var Fs;var yw;var ww;var vw;var pw;var ow;var Es;var nw;var mw;var lw;var hw;var Zv;var Yv;var Xv;var Wv;var Vv;var kT;var Tv;var Rv;var Sv;_.fp.prototype.subscribe=(0,_.d)(29,function(a,c,f){var g=this.G[a];g||(g=this.G[a]=[]);var h=this.dl;this.B[h]=a;this.B[h+1]=c;this.B[h+2]=f;this.dl=h+3;g.push(h);return h}); _.lH.prototype.subscribe=(0,_.d)(28,function(a,c,f){return this.B.subscribe(a.toString(),c,f)});_.Bt=function(a,c,f,g){if(c=a.G[c]){var h=a.B;(c=(0,_.ue)(c,function(a){return h[a+1]==f&&h[a+2]==g}))&&a.zf(c)}};Sv=function(a,c){var f=Rv;(0,_.Nk)(f,[{Rr:"-webkit-transform",duration:c/1E3,timing:"ease",Le:0}]);(0,_.Nk)(f,[{Rr:"transform",duration:c/1E3,timing:"ease",Le:0}]);(0,_.Rn)(function(){f.style.webkitTransform="translate3d(0px,"+a+"px,0px)";f.style.transform="translate3d(0px,"+a+"px,0px)"},0)}; kT=function(a){var c=(0,_.ek)(a);if(!c)return new _.dk("G_USERSTATE_");a=["G_USERSTATE_",_.Yi&&c.Gb?"S":"H",c.Ke].join("");var f=_.Tj[a];f||(f={Fr:63072E3},(0,_.Sl)((0,_.hk)(c),f),f=new _.Vj(a,f),_.Tj[a]=f,c=f.Hd(),"undefined"!==typeof c&&null!==c&&(window.document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",f.write(c)));return f}; Vv=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return(0,_.Qn)((0,_.sh)(a,!0))};Wv=function(){Rv.parentNode.removeChild(Rv)};Xv=function(){var a=Tv+88;Sv(a,_.$t);Tv=a};Yv=function(){var a=Tv-88;Sv(a,_.gu);Tv=a};Zv=function(a){var c=kT(a).Hd();a=(0,_.r)();if(c)for(var c=c.split(":"),f;f=c.shift();)f=f.split("="),a[f[0]]=f[1];return a};hw=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]}; lw=function(a){return(a=Vv(a))?a.sub:null};mw=function(a){var c=a?Xv:Yv,f=a?Yv:Xv;a=a?"-":"";Tv=(0,window.parseInt)(a+88,10);Rv.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Rv.style.transform="translate3d(0px,"+a+88+"px,0px)";Rv.style.display="";Rv.style.visibility="visible";c();(0,_.Rn)(f,_.gu+_.du);(0,_.Rn)(Wv,_.gu+_.du+_.$t)};nw=function(a){a=a.split(":");return{zC:a[0].split("=")[1],EL:hw(a[1]),DP:hw(a[2]),fP:hw(a[3])}}; Es=function(a){a=(0,_.ek)(a);if(!a||a.Gb&&!_.Yi)return null;var c=["G_AUTHUSER_",_.Yi&&a.Gb?"S":"H",a.Ke].join(""),f=_.Pj[c];f||(f=new _.dj(c,(0,_.hk)(a)),_.Pj[c]=f);return f};ow=function(a){var c=lw(a),f;if(f=c)f="X"==Zv(a.cookie_policy)[c];return f}; pw=function(a){var c=(0,_.P)("oauth-flow/toast/position");"top"!==c&&(c="bottom");var f=window.document.createElement("div");Rv=f;f.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";var g;(0,_.Mg)(f,"visibility","hidden");(0,_.Mg)(f,c,"-40px");(0,_.Mg)(f,"height","128px");g=f;if("desktop"==(0,_.P)("deviceType")){g=window.document.createElement("div");g.style.cssText="float:left;position:relative;left:50%;";f.appendChild(g);var h=window.document.createElement("div");h.style.cssText= "float:left;position:relative;left:-50%";g.appendChild(h);g=h}h="top"==c?"-":"";Tv=(0,window.parseInt)(h+88,10);Rv.style.webkitTransform="translate3d(0px,"+h+88+"px,0px)";Rv.style.transform="translate3d(0px,"+h+88+"px,0px)";h=window;try{for(;h.parent!=h&&h.parent.document;)h=h.parent}catch(l){}h=h.document.body;try{h.insertBefore(f,h.firstChild)}catch(n){}_.Sm.cj({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:g,onRestyle:function(){"top"=== c?mw(!0):mw(!1)}})};vw=!1;yw=function(a){var c,f=null;_.dj.iterate(function(a,g){if(0===a.indexOf("G_AUTHUSER_")){var h=(0,_.jj)(a.substring(11));if(!c||h.Gb&&!c.Gb||h.Gb==c.Gb&&h.Ke>c.Ke)c=h,f=g}});var g=a&&(0,_.fj)(a);if(null!==f){var h;_.dj.iterate(function(a,f){var l=(0,_.wj)(a);l&&l.uf&&(g&&l.ep!=g||l.Gb==c.Gb&&l.Ke==c.Ke&&(h=f))});if(h){var l=nw(h);a=l&&l.EL[Number(f)];l=l&&l.zC;if(a)return{$t:f,ZP:a,zC:l}}}return null}; Fs=function(a){a=Es(a.g_user_cookie_policy);(0,_.Fa)("googleapis.config/sessionIndex",null);a.clear()};Iw=function(a){return"true"===String(a.immediate)}; Jw=function(a,c){var f=null;a&&c&&(f=c.client_id=c.client_id||a.client_id,c.scope=c.scope||a.scope,c.g_user_cookie_policy=a.cookie_policy,c.cookie_policy=c.cookie_policy||a.cookie_policy,c.response_type=c.response_type||a.response_type);if(c){c.issued_at||(c.issued_at=String((0,_.Fn)()));var g=(0,window.parseInt)(c.expires_in,10)||86400;c.error&&(g=(0,_.P)("oauth-flow/errorMaxAge")||86400);c.expires_in=String(g);c.expires_at||(c.expires_at=String((0,_.Fn)()+g));a&&Iw(a)||(c["g-oauth-window"]=(ww|| {}).popup);c._aa||c.error||null!=yw(f)||!Iw(a)||(c._aa="1");f=c.status={};f.google_logged_in=!!c.session_state;g=f.signed_in=!!c.access_token;f.method=g?c["g-oauth-window"]?"PROMPT":"AUTO":null}return c};Kw={}; _.Lw=function(a,c){var f,g;"string"==typeof a?(f=c,g=a):(f=a,g="token");if(f){var h=(0,_.jk)(f,!0);if(h){var l;if((l=f)&&l.session_state){var n=[],q=[],t=[],v=(0,window.parseInt)(l.authuser,10)||0;n[v]=l.session_state;q[v]=l.issued_at;t[v]=l.expires_at;l=["C="+l.client_id,"S="+n.join("|"),"I="+q.join("|"),"X="+t.join("|")].join(":")}else l=null;l&&h.Kc.write(l);"token"==g&&(h=Es(f.g_user_cookie_policy))&&(f.error?Fs(f):f.session_state&&h.write(f.authuser||"0"))}}if(g="token"!==g?(0,_.ik)(g):(0,_.jk)(f))if(f){if(g.Kc.write(f), !_.Wj||g.Fj&&"token"!==_.Wj)_.Wj=g.key}else g.Kc.clear(),_.Wj=null;(0,_.kk)(void 0,void 0)}; Mw=function(a,c){var f=c&&c.key||"token",g=a=Jw(c&&c.params,a);(0,_.P)("oauth-flow/toastCfg")&&!ow(g)&&0<=(" "+(g.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&(0,_.P)("isLoggedIn")&&"1"===g._aa&&(g._aa="0",vw||(vw=!0,pw(g)));(0,_.Lw)(f,a);a=(0,_.kk)(f,void 0);if(c){(f=c.iframe)&&f.parentNode.removeChild(f);f=c.popup;g=c.after_redirect;if(f&&"keep_open"!=g)try{f.close()}catch(h){}c.timeout&&(window.clearTimeout(c.timeout),c.timeout=null);c.callback&&(c.callback(a),c.callback= null)}};Nw={};Ow={};Pw=[];Qw=function(){var a=Pw;if(null!==a){Pw=null;for(var c=0,f=a.length;cf-Sw)return;c.parentNode.removeChild(c);if(/Firefox/.test(window.navigator.userAgent))try{window.frames[a]=void 0}catch(g){}(0,_.Au)();a=_.wu}Sw=f;var h=String(2147483647*(0,_.Vb)()|0);_.T.register("oauth2relayReady:"+h,Rw(function(){_.T.Jd("oauth2relayReady:"+h);Qw()}));_.T.register("oauth2relayReady",Rw(function(){Qw()}));c=Rw(function(a){var c=_.R.dc;a= c(a);var c=a.state,f;f=c.replace(/\|.*$/,"");a.state={}.hasOwnProperty.call(Kw,f)?Kw[f]:null;null!=a.state&&(f=Nw[c],delete Nw[c],Mw(a,f))});_.T.register("oauth2callback:"+h,c);_.T.register("oauth2callback",c);var c=[(0,_.P)("oauth-flow/proxyUrl")||(0,_.P)("oauth-flow/relayUrl"),"?parent=",(0,window.encodeURIComponent)(_.Rb.Pq(window.location.href)),"#rpctoken=",h,"&forcesecure=1"].join(""),f=_.R.Jk(),l=_.R.Fh({name:a,id:a});l.src=c;l.style.width="1px";l.style.height="1px";l.style.position="absolute"; l.style.top="-100px";l.tabIndex="-1";f.appendChild(l);_.T.tf(a)}};Zw=function(a,c,f,g){var h=Zv(f),l=h[a];c?h[a]="X":delete h[a];var n=[];(0,_.fb)(h,function(a,c){n.push(c+"="+a)});c=n.join(":");f=kT(f);c?f.write(n.join(":")):f.clear();h[a]!==l&&g&&g()};$w=function(a,c){for(var f=a.split(" "),g=c.split(" "),h=(0,_.r)(),l=0,n=g.length;lc.Ke)&&(c=l,f=a)});return f};bx=function(a){var c=_.R.Jk(),f=_.R.Fh();f.src=a.uri;f.style.width="1px";f.style.height="1px";f.style.position="absolute";f.style.top="-100px";a.timeout=window.setTimeout(function(){f.parentNode&&f.parentNode.removeChild(f)},3E5);c.appendChild(f)}; cx=function(a,c){if(ww){var f=ww.popup,g=ww.after_redirect;if(f&&"keep_open"!=g&&!Iw(a))try{f.close()}catch(h){}}f=ww={};"key"in a&&(f.key=a.key,delete a.key);a=Ww(a);ww.params=Vw(a);ww.callback=function(f){ow(f)&&(Iw(a)?f=Tw(f):f.error||Zw(lw(f),!1,f.cookie_policy));(c||function(){})(Jw(a,f))};f.uri=Uw(a,f);return f};_.dx=function(a,c){(0,_.Xw)(function(){_.T.call(_.wu,"check_session_state",function(a){c.call(null,a)},a.session_state,a.client_id)})}; ex=function(a){a=_.R.dc("#"+(0,_.ck)(a));if(!Iw(a))return null;var c=a.key||ax(a.client_id);return(c=(0,_.kk)(c,!0,!0))&&c.client_id===a.client_id&&$w(a.scope,c.scope)&&$w(a.response_type,c.response_type)?c:null}; fx=function(a,c){var f=_.R.dc();a.hl=f.lang||f.hl||(0,_.P)("lang");var g=cx(a,c);a.after_redirect&&(g.after_redirect=a.after_redirect);if(null!=a.scope&&null!=a.client_id){var h=function(){(0,_.Xw)(function(){if(g.popup)g.popup.focus();else if(Iw(a))bx(g);else{var c=Math.min((0,_.P)("oauth-flow/authWindowWidth",650),window.screen.width-20),f=Math.min((0,_.P)("oauth-flow/authWindowHeight",600),window.screen.height-30);ww.popup=window.open(g.uri,"_blank",["toolbar=no","location="+(window.opera?"no": "yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+c,"height="+f,"top="+(window.screen.height-f)/2,"left="+(window.screen.width-c)/2].join())}})},l=ex(a);!(0,_.P)("oauth-flow/disableOpt")&&l?(0,_.dx)(l,function(a){a?Mw(l,ww):h()}):h()}else Mw(null,ww),(0,_.kd)("Unable to perform authorization: scope and/or client_idparameters missing.")}; gx=function(a,c){var f=a||{},g=c||function(){};if((0,_.P)("oauth-flow/disableOpt")||(0,_.P)("isLoggedIn")||!Iw(f))fx(f,g);else{var h=(0,_.r)();h.client_id=f.client_id;h.session_state=null;(0,_.dx)(h,function(a){a?(a=(0,_.r)(),a.error="immediate_failed_user_logged_out",g(Jw(f,a))):((0,_.Fa)("isLoggedIn",!0),fx(f,g))})}}; ix=function(a){a||(a=(0,_.kk)(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var c=a.error_description;c&&window.console&&(window.console.error(a.error),window.console.error(c));a.error||(_.bb.drw=null);(0,_.Lw)(a);if(c=a.authuser)(0,_.P)("googleapis.config/sessionIndex"),(0,_.Fa)("googleapis.config/sessionIndex",c);_.Bu.B.Ws(_.mH.toString(),a)};jx=function(a,c){var f=lw(a);f&&(Fs(a),Zw(f,!0,c,function(){ix&&ix(Tw(a))}))}; hx=function(a,c){var f=new _.C(function(c,f){var l=function(a){null==a||a.error?f(a):c(a)};try{gx(a,l)}catch(n){f(n)}});c&&f.then(c,c);return f};_.nH=function(a){_.Kd&&(_.Kd.error?_.Kd.error(a):_.Kd.log&&_.Kd.log(a))};_.gz=function(a){(0,_.La)(a)&&(0,_.wc)(a)};_.kx=_.Qj.Qe;lx=null;mx=["request_visible_actions","client_id","scope"]; _.px=function(a,c){if("force"!==a.approvalprompt){var f=(0,_.nx)(a);f.immediate=!0;delete f.redirect_uri;delete f.approval_prompt;var g;if(g=!c)if(lx){for(g=0;g