/* JS */ gapi.loaded_1(function(_){var window=this; var Vw=function(){};Vw.prototype.DF=null;Vw.prototype.getOptions=function(){var a;(a=this.DF)||(a={},_.Ww(this)&&(a[0]=!0,a[1]=!0),a=this.DF=a);return a};var Yw;Yw=function(){};_.z(Yw,Vw);_.Ww=function(a){if(!a.kI&&"undefined"==typeof window.XMLHttpRequest&&"undefined"!=typeof window.ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c");var h=_.J.createElement(d.join(""));h&&(!b||h.tagName==b.tagName&&h.namespaceURI==b.namespaceURI)&&(b=h)}catch(l){}d=b;a=a||{};for(var k in a)a.hasOwnProperty(k)&&(d[k]=a[k]);return b};_.J.Jt=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(c){}return window.document.documentElement||window.document};_.J.t8=function(b){return a(b)}})(); var fh;fh={};_.gh=function(a){return fh[a||"token"]||null};_.hh=function(a,b){fh[b||"token"]=a};_.ih=function(a){delete fh[a||"token"]}; var oh,ph;_.nh=function(a,b){this.ud=a;a=b||{};this.ZV=Number(a.maxAge)||0;this.nd=a.domain;this.Ii=a.path;this.tY=!!a.secure};oh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;ph=/^[A-Z_][A-Z0-9_]{0,63}$/;_.nh.prototype.read=function(){for(var a=this.ud+"=",b=window.document.cookie.split(/;\s*/),c=0;cvh;++vh);_.wh="https:"===window.location.protocol;_.xh=_.wh||"http:"===window.location.protocol?_.nh:_.qh;_.yh=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=(0,window.parseInt)(b,10);if((0,window.isNaN)(c))return null;b=d.split(".");if(b.lengthc?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.Pa)()+1E3*c)).toUTCString();this.Va.cookie=a+"="+b+e+d+c+f}; _.g.get=function(a,b){for(var c=a+"=",d=(this.Va.cookie||"").split(";"),e=0,f;ec;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],k=e[3],l=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=k^d&(f^k);var p=1518500249}else n=d^f^k,p=1859775393;else 60>c?(n=d&f|k&(d|f),p=2400959708):(n=d^f^k,p=3395469782);n=((a<<5|a>>>27)&4294967295)+ n+l+p+b[c]&4294967295;l=k;k=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+l&4294967295}function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,h=a.length;en?c(k,56-n):c(k,64-(n-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var l=24;0<=l;l-=8)a[d++]=e[h]>>l&255;return a}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,p;a();return{reset:a,update:c,digest:d,Hg:function(){for(var a=d(),b="",c=0;cc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; _.Sg=function(a,b,c){if(_.Na(b))for(var d=0;d=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0}; _.hg=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=0,e=a.length;d=h&&d+1=l&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++d)}if(!(0<=h&&1114109>=h)||55296<=h&&57343>=h||64976<=h&&65007>=h||65534==(h&65534))h=65533,f=String.fromCharCode(h);k=!(32<=h&&126>=h)||" "==f||c&&":"==f||"\\"==f;!c||"/"!=f&&"?"!=f||(c=!1);"%"==f&&(d+2>=e?k=!0:(l=16*(0,window.parseInt)(a.charAt(d+ 1),16)+(0,window.parseInt)(a.charAt(d+2),16),0<=l&&255>=l?(h=l,f=0==h?"":"%"+(256+l).toString(16).toUpperCase().substr(1),d+=2):k=!0));k&&(f=(0,window.encodeURIComponent)(f),1>=f.length&&(0<=h&&127>=h?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=(0,window.encodeURIComponent)(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=0;for(e=b.length;d=h)){var k=f.substring(0,h);if(k=_.qg(k)){for(f=f.substring(h+1);d+1e)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("")}; var Hg,Ig,Jg,Lg;Hg=null;Ig=null;Jg=null;_.Kg=_.Vb||_.Wb&&!_.Eg||_.Sb||!_.Eg&&!_.C&&"function"==typeof _.m.atob;_.Mg=function(a,b){Lg();b=b?Jg:Hg;for(var c=[],d=0;d>2;e=(e&3)<<4|h>>4;h=(h&15)<<2|l>>6;l&=63;k||(l=64,f||(h=64));c.push(b[n],b[e],b[h],b[l])}return c.join("")}; _.Ng=function(a,b){function c(b){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}}; Lg=function(){if(!Hg){Hg={};Ig={};Jg={};for(var a=0;65>a;a++)Hg[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),Ig[Hg[a]]=a,Jg[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(Ig["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}}; _.Ns=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Os="StopIteration"in _.m?_.m.StopIteration:{message:"StopIteration",stack:""};_.Ps=function(){};_.Ps.prototype.next=function(){throw _.Os;};_.Ps.prototype.Vh=function(){return this}; _.Qs=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};_.Rs=function(a,b){this.U={};this.Lb=[];this.Kf=this.Rb=0;var c=arguments.length;if(12*this.Rb&&Ss(this),!0):!1};var Ss=function(a){if(a.Rb!=a.Lb.length){for(var b=0,c=0;b=d.Lb.length)throw _.Os;var e=d.Lb[b++];return a?e:d.U[e]};return e};_.Ts=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)}; _.Vs=function(a){var b=0,c;for(c in a)b++;return b};_.Ws=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.Xs=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Ys=function(a,b){var c=_.Va(b),d=c?b:arguments;for(c=c?0:1;c$t(this.Sb[a],b)&&this.Sb[a].push(b)}; iu.prototype.removeEventListener=function(a,b){if(!(0<=$t(this.KD,a)))throw"Unrecognized event type: "+a;bu(b)&&this.Sb[a]&&this.Sb[a].length&&(b=$t(this.Sb[a],b),0<=b&&this.Sb[a].splice(b,1))};iu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=$t(this.KD,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Sb[b]&&this.Sb[b].length)for(var c=0,d=this.Sb[b].length;cc;c+=4)b[c/4]=a[c]<<24|a[c+1]<<16|a[c+2]<<8|a[c+3];for(c=16;80>c;c++)a=b[c-3]^b[c-8]^b[c-14]^b[c-16],b[c]=(a<<1|a>>>31)&4294967295;a=e[0];var d=e[1],f=e[2],k=e[3],l=e[4];for(c=0;80>c;c++){if(40>c)if(20>c){var n=k^d&(f^k);var p=1518500249}else n=d^f^k,p=1859775393;else 60>c?(n=d&f|k&(d|f),p=2400959708):(n=d^f^k,p=3395469782);n=((a<<5|a>>>27)&4294967295)+ n+l+p+b[c]&4294967295;l=k;k=f;f=(d<<30|d>>>2)&4294967295;d=a;a=n}e[0]=e[0]+a&4294967295;e[1]=e[1]+d&4294967295;e[2]=e[2]+f&4294967295;e[3]=e[3]+k&4294967295;e[4]=e[4]+l&4294967295}function c(a,c){if("string"===typeof a){a=(0,window.unescape)((0,window.encodeURIComponent)(a));for(var d=[],e=0,h=a.length;en?c(k,56-n):c(k,64-(n-56));for(var h=63;56<=h;h--)f[h]=d&255,d>>>=8;b(f);for(h=d=0;5>h;h++)for(var l=24;0<=l;l-=8)a[d++]=e[h]>>l&255;return a}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,p;a();return{reset:a,update:c,digest:d,Hg:function(){for(var a=d(),b="",c=0;cc.indexOf("chrome/")&&0>c.indexOf("crios/")&&0>c.indexOf("android"))||(c=window.navigator.userAgent,c=!!c&&/Edge\/\d+/.test(c));if(!c){Zt("Messages from a popup window are not allowed for this browser.");return}c=ju.GS(a.origin)}else c=ju.RR(a);if(c){try{var d=_.hu.parse(a.data)}catch(e){Zt("Bad event, an error happened when parsing data.");return}if(!b){if(!d|| !d.rpcToken||d.rpcToken!=c.Zn){Zt("Bad event, no RPC token.");return}if(d.id&&!d.method){b=d;if(a=c.fi[b.id])delete c.fi[b.id],a(b.result,b.error);return}}"fireIdpEvent"!=d.method?Zt("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.iI[a.type]?(d=this.iI[a.type],b&&!d.wP?Zt("Bad IDP event. Source window cannot be a popup."):d.uo&&!d.uo.call(this,c,a)?Zt("Bad IDP event."):d.Pe.call(this,c,a)):Zt("Bad IDP event.")}else Zt("Bad event, no corresponding Idp Stub.")}; _.g.GY=function(a,b){return Ou(this,a.Ib,b.clientId)};_.g.FY=function(a,b){b=b.clientId;return!b||Ou(this,a.Ib,b)};_.g.IP=function(a,b){return Ou(this,a.Ib,b.clientId)};_.g.yW=function(a){a.un=!0;Du(a);for(var b=0;b$t(c.Qj[a],b)&&c.Qj[a].push(b));f()}else e.wn={error:"Not a valid origin for the client: "+e.vd+" has not been whitelisted for client ID "+ e.Ub+". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.Fl=!0,e.nv(e.wn)}):(Nu(e.Ib),f())})};au(Ru,iu);Ru.prototype.setOptions=function(){};Ru.prototype.iK=function(){};Ru.prototype.nv=function(){};Ru.prototype.jl=function(){return this.wn};Su=function(a,b,c){return function(){b.apply(a,c)}};_.Tu=function(a,b,c){if(a.EI)b.apply(a,c);else{if(a.Fl)throw a.wn;a.rp.push(Su(a,b,c))}}; _.Vu=function(a,b){Ru.call(this,a,b);this.XJ=new nu;this.Ni=this.Ql=null;Uu(this)};au(_.Vu,Ru);_.Vu.prototype.setOptions=function(){}; var Wu=function(a,b){a.Yd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.nd};b.crossSubDomains&&(a.Yd.policy=b.policy)},Xu=function(a,b){if(!b.authParameters)throw Error("ca");if(!b.authParameters.scope)throw Error("da");if(!b.authParameters.response_type)throw Error("ea");a.Uo=b.authParameters;a.Uo.redirect_uri||(a.Uo.redirect_uri=[window.location.protocol,"//",window.location.host,window.location.pathname].join(""));a.hk=b.rpcAuthParameters||a.Uo;if(!a.hk.scope)throw Error("fa"); if(!a.hk.response_type)throw Error("ga");a:{var c=a.hk.response_type.split(" ");for(var d=0,e=c.length;db;return b},hv=function(a,b,c,d,e,f){var h=_.mu(a,"authServerUrl");if(!h)throw Error("S`"+a);a=_.cu(d);a.response_type=f||"permission";a.client_id=c;a.ss_domain=b;if(e&&e.extraQueryParams)for(var k in e.extraQueryParams)a[k]=e.extraQueryParams[k];b=h+(0>h.indexOf("?")?"?":"&");c=[];for(var l in a)if(a.hasOwnProperty(l)){e=a[l];if(null=== e||void 0===e)e="";c.push((0,window.encodeURIComponent)(l)+"="+(0,window.encodeURIComponent)(e))}return b+c.join("&")},iv=function(a,b,c,d){if(!a.Ub)throw Error("ja");a.Ji=c||a.JP||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.vd.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0this.Um){var b=this.Vj;a=this.Um;this.Vj="";this.Um=1;a=Math.max(0, a);if(!this.GD){b=this.LB+b;var c=new _.kh;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.Av+=a;this.Av>=this.Um?(c.reset(),c.update("SEED_SALT:"+b+this.Vj),this.Vj=String.fromCharCode.apply(String,c.digest()),this.LB="",this.Av=0):this.LB=b}}};_.g=qv.prototype;_.g.GD=!1;_.g.Vj="";_.g.LB="";_.g.Av=0;_.g.Um=-1; var tv=function(a){var b=rv,c=[];if(b.GD)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.Um||0==b.Vj.length)throw new sv;var d=new _.kh;d.update("RANDOM_SALT:"+b.Vj);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.Vj),b.Vj=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},sv=function(){};_.z(sv,Error);sv.prototype.name="Insufficient Entropy"; _.hu={parse:function(a){a=_.bf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.cf(a)}};_.cv.prototype.cz=function(a,b){_.Tu(this,this.bR,[a,b])};_.cv.prototype.bR=function(a,b){this.ue.cz(this.Ub,a,this.hk,this.Yd,b)};_.Cu.prototype.cz=function(a,b,c,d,e){c=_.cu(c);_.Fu(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var uv,vv=["client_id","cookie_policy","scope"],wv="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint app_package_name ux_mode redirect_uri state prompt oidc_spec_compliant nonce include_granted_scopes response_type session_selection gsiwebsdk".split(" "),xv=["authuser","after_redirect","access_type","hl"],yv=["app_package_name","login_hint","prompt"],zv={clientid:"client_id",cookiepolicy:"cookie_policy"},Av="approval_prompt app_package_name authuser login_hint prompt hd".split(" "), Bv=["login_hint","g-oauth-window","status"],Cv=Math.min(_.H("oauth-flow/authWindowWidth",599),window.screen.width-20),Dv=Math.min(_.H("oauth-flow/authWindowHeight",600),window.screen.height-30); var Ev=function(a){_.Oi.call(this,a)};_.z(Ev,_.Oi);Ev.prototype.name="gapi.auth2.ExternallyVisibleError";var Fv=function(){};Fv.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Gv=function(){};Gv.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;ca.length&&128>b;)a.push.apply(a,tv(64-a.length)),b++;if(64>a.length)throw new sv;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.Mg(c,!0).substring(0,64)}; var nw=function(a){var b=a||{},c=mw();(0,_.jb)(wv,function(a){"undefined"===typeof b[a]&&"undefined"!==typeof c[a]&&(b[a]=c[a])});return b},mw=function(){for(var a={},b=window.document.getElementsByTagName("meta"),c=0;cb.indexOf(c)&&delete a[c];return a},rw=function(a,b){if(!a)throw new Ev("Empty initial options.");for(var c=0;cd)b[0]=[b[0],"?",c].join("");else{var e=[b[0]];da.mf)&&(a=c,b=d)});return{PP:a,authuser:b}};gy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"]; hy=function(a){a=a.toUpperCase();for(var b=0,c=gy.length;bb.mf)&&(b=e,c=a)});return c};vy=function(a){a=oy(a.g_user_cookie_policy);_.ke("googleapis.config/sessionIndex",null);a.clear()}; wy=function(a,b){var c=b?_.Bh:_.Ah,d=b?_.xh:_.uh,e=a&&ny(a),f=!!e;a&&!a.g_user_cookie_policy&&(d=_.qh,e="token");if(!e)if(!b&&ly)e=ly;else return null;a=c[e];if(!a){a=_.zh(e);if(!("token"===e||a&&a.Fq))return null;a=new d(e,_.Hh(a));b||(a=new _.Fh(a))}c[e]=a;return{store:a,key:e,rR:f}};xy=function(a){var b=_.Ah[a];b||(b=new _.Fh(new _.qh(a)),_.Ah[a]=b);return{store:b,key:a}}; yy=function(a,b,c){a=a&&"token"!==a?xy(a):wy();if(!a)return null;if(c){c=a.store;_.G();var d=c.MB.read();c=null;try{c=_.bf(d)}catch(e){}0==c&&(c=null);d=_.eh()||"0";d=String(d);c=c&&c[d]}else c=a.store.read();c&&c.expires_at&&ey()>c.expires_at&&(a.store.clear(),c=null);c&&c.error&&!b&&(c=null);return c}; zy=function(a){a=_.J.wc("#"+_.Gh(a));if(!ty(a))return null;var b=a.key||uy(a.client_id);return(b=yy(b,!0,!0))&&b.client_id===a.client_id&&sy(a.scope,b.scope)&&sy(a.response_type,b.response_type)?b:null};Ay=0;By=!1;Cy=[];Dy={};Ey={};Fy={};Gy=null;Hy=function(a){var b=_.Ox;return function(c){if(this.f==b&&this.t==_.L.Zk(this.f)&&this.origin==_.L.wl(this.f))return a.apply(this,arguments)}};Iy=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"}; Jy=function(a){var b=_.J.wc;if(null!=b(a).jsh)return a;if(b=String(b().jsh||_.ce.h||"")){var c=(a+"#").indexOf("#");a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+(0,window.encodeURIComponent)(b)+a.substr(c)}return a};Ky=function(){return!!_.H("oauth-flow/usegapi")};Ly=function(a,b){Ky()?Gy.unregister(a):_.L.unregister(a+":"+b)};My=function(a,b,c){Ky()?Gy.register(a,c,_.N):_.L.register(a+":"+b,Hy(c))};Ny=function(){cy.parentNode.removeChild(cy)}; Oy=function(a){var b=cy;_.Mx(b,[{Ev:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Mx(b,[{Ev:"transform",duration:1,timing:"ease",delay:0}]);_.ex(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Py=function(){var a=dy+88;Oy(a);dy=a};Qy=function(){var a=dy-88;Oy(a);dy=a}; Ry=function(a){var b=a?Py:Qy,c=a?Qy:Py;a=a?"-":"";dy=(0,window.parseInt)(a+88,10);cy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";cy.style.transform="translate3d(0px,"+a+88+"px,0px)";cy.style.display="";cy.style.visibility="visible";b();_.ex(c,4E3);_.ex(Ny,5E3)}; Sy=function(a){var b=_.H("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=window.document.createElement("div");cy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Yq(c,"visibility","hidden");_.Yq(c,b,"-40px");_.Yq(c,"height","128px");var d=c;if("desktop"==_.H("deviceType")){d=window.document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=window.document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%"; d.appendChild(e);d=e}e="top"==b?"-":"";dy=(0,window.parseInt)(e+88,10);cy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";cy.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){}_.Xk.Rg({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Ry(!0):Ry(!1)}})}; Ty=function(a){if(!_.r(a.include_granted_scopes)){var b=_.H("include_granted_scopes"),c=_.tm().include_granted_scopes;_.r(b)?a.include_granted_scopes=!!b:_.r(c)&&(a.include_granted_scopes="1"==c||"true"==c)}return a};Uy=function(a){var b=_.tm(),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-Ay)return;var d=_.L.Zk(a);d&&(Ly("oauth2relayReady",d),Ly("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(window.navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Qx();a=_.Ox}Ay=c;var e=String(2147483647*(0,_.Tf)()|0);b=_.H("oauth-flow/proxyUrl")||_.H("oauth-flow/relayUrl");Ky()?Gy=_.Xk.Rg({where:_.J.Jt(),url:b,id:a,attributes:{style:{width:"1px",height:"1px", position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",(0,window.encodeURIComponent)(_.Of.Qa(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.J.Jt(),d=_.J.ly({name:a,id:a}),d.src=Jy(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Iy(d),c.appendChild(d),_.L.Cr(a));My("oauth2relayReady",e,function(){Ly("oauth2relayReady",e);var a=Cy;if(null!==a){Cy=null;for(var b=0,c=a.length;b< c;++b)a[b]()}});My("oauth2callback",e,function(a){var b=_.J.wc;a=b(a);b=a.state;var c=b.replace(/\|.*$/,"");c={}.hasOwnProperty.call(Ey,c)?Ey[c]:null;a.state=c;null!=a.state&&(c=Dy[b],delete Dy[b],gz(a,c))})};_.iz=function(a){null===Cy?a&&a():hz(a)}; jz=function(a,b){var c=_.G();c.client_id=a.client_id;c.session_state=a.session_state;_.iz(function(){Ky()?Gy.send("check_session_state",c,function(a){b.call(null,a[0])},_.N):_.L.call(_.Ox,"check_session_state",Hy(function(a){b.call(null,a)}),c.session_state,c.client_id)})}; kz=function(a,b){var c=_.J.wc();a.hl=c.lang||c.hl||_.H("lang");var d=bz(a,b);a.after_redirect&&(d.after_redirect=a.after_redirect);if(null!=a.scope&&null!=a.client_id){var e=function(){_.iz(function(){if(d.popup)d.popup.focus();else if(ty(a))Xy(d);else{var b=Math.min(_.H("oauth-flow/authWindowWidth",599),window.screen.width-20),c=Math.min(_.H("oauth-flow/authWindowHeight",600),window.screen.height-30),e=(window.screen.width-b)/2,f=(window.screen.height-c)/2;by.popup=window.open(Jy(d.uri),"_blank", ["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+b,"height="+c,"top="+f,"left="+e].join())}})},f=zy(a);!_.H("oauth-flow/disableOpt")&&f?(b=_.G(),b.client_id=f.client_id,b.session_state=f.session_state,jz(b,function(a){a?gz(f,by):e()})):e()}else gz(null,by),_.te("Unable to perform authorization: scope and/or client_id parameters missing.")}; lz=function(a,b){var c=a||{},d=b||function(){};_.H("oauth-flow/disableOpt")||_.H("isLoggedIn")||!ty(c)?kz(c,d):(a=_.G(),a.client_id=c.client_id,a.session_state=null,jz(a,function(a){a?(a=_.G(),a.error="immediate_failed_user_logged_out",d(Vy(c,a))):(_.ke("isLoggedIn",!0),kz(c,d))}))};_.mz=function(a,b){var c=new _.jj(function(b,c){var d=function(a){null==a||a.error?c(a):b(a)};try{lz(a,d)}catch(h){c(h)}});b&&c.then(b,function(a){b(cz(a))});return c};nz=_.Rh.nz;oz=null; _.rz=function(a,b){if("force"!==a.approvalprompt){a=_.pz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)oz?(a.client_id!==oz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(oz=a,b=!1);b||qz(a)}}; _.pz=function(a){var b=a.redirecturi||"postmessage",c=(0,_.sb)((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,_.sb)(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||_.H("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.H("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};qz=function(a){_.hn("waaf0","signin","0");_.mz(a,function(a){_.hn("waaf1","signin","0");cz(a)})}; _.sz=function(a){a=_.pz(a);_.ke("oauth-flow/authWindowWidth",445);_.ke("oauth-flow/authWindowHeight",615);qz(a)};_.tz=function(a){_.Rx.unsubscribe(_.Sx,a);_.Rx.subscribe(_.Sx,a)}; var Az,Dz;_.vz=function(a){return a.cookiepolicy?!0:(_.uz("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.uz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.zz=function(a,b){var c=_.tm();_.Ud(a,c);c=Uy(c);if(_.vz(c)){var d=_.wz(c);_.xz(c);b?_.be(b,"click",function(){_.yz(c,d)}):_.yz(c,d)}}; _.wz=function(a){var b=new Az;_.tz(function(c){if(b.dB&&c&&(c.access_token&&_.ke("isPlusUser",!0),c["g-oauth-window"]))if(b.dB=!1,c.access_token&&"consent"==c.prompt){var d=c["g-oauth-window"];c=c.id_token;var e=a.apppackagename;if(e&&d){var f=!0;try{f=d.closed}catch(h){}f||(c=_.H("iframes/:socialhost:")+"/_/history/otaappinstall?clientId="+(0,window.encodeURIComponent)(a.clientid)+"&appId="+(0,window.encodeURIComponent)(e)+"&idToken="+(0,window.encodeURIComponent)(c),c=ay(c),_.Qj(d.location,c))}}else if(d= c["g-oauth-window"],a.apppackagename&&d)try{d.close()}catch(h){}});return b};Az=function(){this.dB=!1};_.xz=function(a){a=_.Bz(a);_.Cz(a.callback);_.iz(function(){_.rz(a)})};_.Bz=function(a){Dz(a);a.apppackagename&&(a.after_redirect="keep_open");a.redirecturi&&delete a.redirecturi;$x(function(b){return a[b]})||(a.authuser=0);a.apppackagename&&(a.apppackagename=a.apppackagename.replace(/^[\s\xa0]+|[\s\xa0]+$/g,""));return a};Dz=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.Cz=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.uz('Callback function named "'+a+'" not found');return}a&&_.tz(a)};_.yz=function(a,b){b.dB=!0;a=_.Bz(a);_.sz(a)}; _.w("gapi.auth.authorize",_.mz);_.w("gapi.auth.checkSessionState",jz);_.w("gapi.auth.getAuthHeaderValueForFirstParty",nz);_.w("gapi.auth.getToken",_.ez);_.w("gapi.auth.getVersionInfo",function(a,b){_.iz(function(){var c=_.Qh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Ky()?Gy.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(b){a(b[0])},_.N):_.L.call(_.Ox,"get_versioninfo",Hy(function(b){a(b)}),d,b):a()})});_.w("gapi.auth.init",_.iz);_.w("gapi.auth.setToken",_.fz); _.w("gapi.auth.signIn",function(a){_.zz(a)});_.w("gapi.auth.signOut",function(){var a=_.ez();a&&dz(a,a.cookie_policy)});_.w("gapi.auth.unsafeUnpackIdToken",Zy);_.w("gapi.auth._pimf",_.rz);_.w("gapi.auth._oart",Sy);_.w("gapi.auth._guss",function(a){return py(a).read()}); var Ez=_.mz,Fz=_.ez,Gz=_.fz,Hz=["client_id","cookie_policy","response_type"],Iz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect app_package_name access_type hl state".split(" "); _.mz=function(a,b){if(Jz())return Ez(a,b);var c=Kz(a),d=new _.jj(function(b,d){_.Qw(c,function(e){var f=e||{};(0,_.jb)(Hz,function(a){null!=f[a]||(f[a]=c[a])});!c.include_granted_scopes&&a&&a.scope&&(f.scope=a.scope);a&&null!=a.state&&(f.state=a.state);f.error?("none"==c.prompt&&"user_logged_out"==f.error&&(f.error="immediate_failed_user_logged_out"),d(f)):(e=Lz(f),null!=e.authuser&&_.ke("googleapis.config/sessionIndex",e.authuser),b(e))})});b&&d.then(b,b);return d}; var Kz=function(a){var b=a||{},c={};(0,_.jb)(Iz,function(a){null!=b[a]&&(c[a]=b[a])});a=_.H("googleapis/overrideClientId");null!=a&&(c.client_id=a);Mz(c);_.v(b.scope)?c.scope=b.scope:_.Na(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{_.kw(c.cookie_policy)}catch(d){c.cookie_policy&& Nz("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=_.eh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.H("oauth-flow/redirectUri"); null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c},Mz=function(a){if(!_.r(a.include_granted_scopes)){var b=_.H("include_granted_scopes");a.include_granted_scopes=!!b}},Lz=function(a){var b=_.Qi(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=(0,window.parseInt)(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at= (0,window.parseInt)(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.hh(b);return b};_.ez=function(a,b){if(Jz())return Fz(a,b);a=_.gh(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};_.fz=function(a,b){if(Jz())Gz(a,b);else{if(b){var c=b;var d=a}else _.v(a)?d=a:c=a;c?_.hh(c,d):_.ih(d)}}; var Jz=function(){return!!_.H("oauth-flow/disableShim")},Nz=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))}; _.w("gapi.auth.authorize",_.mz);_.w("gapi.auth.getToken",_.ez);_.w("gapi.auth.setToken",_.fz); _.Oz=function(a){_.se&&(_.se.error?_.se.error(a):_.se.log&&_.se.log(a))};_.Pz=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.Qz=function(){var a=_.tm();_.Pz(a)&&!_.H("disableRealtimeCallback")?_.xz(a):_.iz()};_.Yi(function(){_.Qz()}); var Sz,Tz,Uz,Vz,Wz,Xz,Yz;_.Rz=function(a){var b=_.La(a);if("object"==b||"array"==b){if(_.Wa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.Rz(a[c]);return b}return a};Vz={xF:function(a){Sz=a;try{delete Vz.xF}catch(b){}},yF:function(a){Tz=a;try{delete Vz.yF}catch(b){}},zF:function(a){Uz=a;try{delete Vz.zF}catch(b){}}};Wz=function(){var a=!0,b=_.fx(_.Xw);b&&_.r(b.withCredentials)||(a=!1);return a}; Xz=function(a,b){if(null==b)return b;b=String(b);b.match(/^\/\/.*/)&&(b=("http:"==window.location.protocol?"http:":"https:")+b);b.match(/^\/([^\/].*)?$/)&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=window.location.protocol+"//"+window.location.host+b);var c=b.match(/^(https?:)(\/\/)?(\/([^\/].*)?)?$/i);c&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=c[1]+"//"+window.location.host+(c[3]||""));b=b.replace(/^(https?:\/\/[^\/?#@]*)\/$/i, "$1");b=b.replace(/^(http:\/\/[-_a-z0-9.]+):0*80([\/?#].*)?$/i,"$1$2");b=b.replace(/^(https:\/\/[-_a-z0-9.]+):0*443([\/?#].*)?$/i,"$1$2");b.match(/^https?:\/\/[-_a-z0-9.]*[-_a-z][-_a-z0-9.]*$/i)&&(b=b.toLowerCase());c=_.H("client/rewrite");_.Xa(c)&&Object.prototype.hasOwnProperty.call(c,b)?b=String(c[b]||b):(b=b.replace(/^(https?):\/\/www\.googleapis\.com$/,"$1://content.googleapis.com"),b=b.replace(/^(https?):\/\/www-(googleapis-[-_a-z0-9]+\.[-_a-z0-9]+\.google\.com)$/,"$1://content-$2"),b.match(/^https?:\/\/content(-[-_a-z0-9.]+)?\.googleapis\.com$/)|| (b=b.replace(/^(https?):\/\/([-_a-z0-9]+(\.[-_a-z0-9]+)?\.googleapis\.com)$/,"$1://content-$2")));a&&(a=_.H("client/firstPartyRewrite"),_.Xa(a)&&Object.prototype.hasOwnProperty.call(a,b)?b=String(a[b]||b):(b=b.replace(/^(https?):\/\/content\.googleapis\.com$/,"$1://clients6.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.([-a-z0-9]+)\.googleapis\.com$/,"$1://$2-googleapis.$3.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.googleapis\.com$/,"$1://$2.clients6.google.com"), b=b.replace(/^(https?):\/\/([-a-z0-9]+)-www-googleapis\.([-a-z0-9]+).google.com$/,"$1://content-googleapis-$2.$3.google.com")));return b};Yz=function(a){_.Oi.call(this,a)};_.z(Yz,_.Oi);Yz.prototype.name="gapi.client.Error";var Zz=function(a){if(!a||!_.Wa(a))throw new Yz("Must provide a function.");this.Bf=null;this.WQ=a};Zz.prototype.then=function(a,b,c){this.Bf||(this.Bf=this.WQ());return this.Bf.then(a,b,c)};Zz.prototype.kw=function(a){this.Bf||(this.Bf=a)}; var $z=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.tg(a,c);d&&(c=_.sg(c,d))&&_.ug(b,c,d,!0)}return b},aA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},bA=function(a,b,c,d){_.nx.call(this);this.wd=a;this.gB=b;this.ld=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.tg(d,e),void 0!==b&&(e=_.rg(e,b))&&_.ug(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[(0,window.unescape)((0,window.encodeURIComponent)(e))]= (0,window.unescape)((0,window.encodeURIComponent)(a[e])));this.qq=d;this.Bf=null};_.z(bA,_.nx); bA.prototype.then=function(a){this.Bf||(this.Bf=(new _.jj(function(a,c){this.W("error",(0,_.B)(function(){c(cA(this))},this));this.W("success",(0,_.B)(function(){a(cA(this))},this));this.send(this.wd,this.gB,this.ld,this.qq)},this)).then(function(a){a.headers=$z(a.headers);return a},function(a){return a.status?(a.headers=$z(a.headers),_.oj(a)):_.oj({result:aA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})})); return this.Bf.then.apply(this.Bf,arguments)}; var cA=function(a){var b=a.getStatus(),c=_.Ax(a);var d=204==b?!1:""==a.fk?_.bf(c):_.Bx(a);var e=a.getAllResponseHeaders();e=_.vg(e,!1);try{var f=2<_.yx(a)?a.Oa.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},dA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,eA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,fA=/;\s*charset\s*=/i,gA=/(([\r\n]{0,2}[A-Za-z0-9+\/]){4,4}){0,1024}([\r\n]{0,2}[A-Za-z0-9+\/][\r\n]{0,2}[AQgw]([\r\n]{0,2}=){2,2}|([\r\n]{0,2}[A-Za-z0-9+\/]){2,2}[\r\n]{0,2}[AEIMQUYcgkosw048][\r\n]{0,2}=|([\r\n]{0,2}[A-Za-z0-9+\/]){4,4})[\r\n]{0,2}/g,hA= function(a){var b=[];a=a.replace(gA,function(a){b.push(_.Yx(a));return""});if(a.length)throw Error("ua");return b.join("")},iA=function(a){var b=a.headers;if(b&&"base64"===_.tg(b,_.ag.sx)){var c=hA(a.body),d=_.tg(b,_.ag.rx);b[_.ag.ee]=d;if(d.match(dA)||d.match(eA)&&!d.match(fA)){d=[];for(var e=0,f=0;f>=8);d[e++]=h}c=_.Gg(d)}_.ug(b,_.ag.sx);_.ug(b,_.ag.rx);a.body=c}},jA=function(a,b,c){c||((c=_.H("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/, "")||"/"),c=String(c||""));c||(c=_.H("googleapis.config/root"),b&&(c=_.H("googleapis.config/root-1p")||c),c=String(c||""));c=String(Xz(b,c)||c);return a=_.kx(c,a)},kA=function(a){var b=_.Ys(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.tg(b,c);d&&(_.rg(c,d),_.ug(a,c,d))}c="chrome-extension"==(window.location.href.match(_.Qg)[1]||null);a=_.Oh(a);return!(c&&a)&&Wz()},lA=function(a,b){var c=a.params||_.G();c.url=c.path; var d=c.root;d=jA("/",_.Oh(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Th.ik("makeHttpRequests",[a],function(a,c){a&&a.gapiRequest?(a.gapiRequest.data?iA(a.gapiRequest.data):iA(a),b(a,_.cf(a))):b(a,c)})},mA=function(a){return new _.jj(function(b,c){var d=function(a){a&&a.gapiRequest?a=a.gapiRequest.data||a:c(a);a={result:204!=a.status&&_.bf(a.body),body:a.body,headers:a.headers||null,status:a.status||null,statusText:a.statusText||null};_.lx(a.status)? b(a):c(a)};try{lA(a,d)}catch(e){c(e)}})},nA=function(a){var b=!_.H("client/cors")||!!_.H("client/xd4"),c={};_.Zk(a,function(d,e){(d=_.rg(e,d))||b||(d=_.qg(e));d&&(e=_.tg(a,d))&&_.ug(c,d,e)});return c},oA=function(a){var b=a.params||_.G();a=_.Qi(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=(0,window.encodeURIComponent)("$unique");if(!("POST"===c||0<=_.Vg(d,"$unique",d.search(_.Wg))||0<=_.Vg(d,e,d.search(_.Wg)))){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase()); f.sort();f.push(_.Qf(window.location.href));var h=f.join(":");f=_.Lh();f.update(h);h=f.Hg().toLowerCase().substr(0,7);h=String((0,window.parseInt)(h,16)%1E3+1E3).substr(1);d=_.jx(d,e,"gc"+h)}e=b.body||null;h=b.responseType||null;b=_.Oh(a)||"1p"==b.authType;_.ug(a,_.ag.tx,void 0);a=nA(a);var k=new bA(d,c,e,a);k.dh=b;h&&(k.fk=h);return new _.jj(function(a,b){k.then(function(b){iA(b);a(b)},function(a){b(a)})})},pA=function(a,b){var c=function(a){a=_.Qi(a);delete a.result;a={gapiRequest:{data:a}};b&& b(a,_.cf(a))};oA(a).then(c,c)},qA=function(a,b){(_.H("client/cors")||_.H("client/xd4"))&&kA(a)?pA(a,b):lA(a,b)},rA=function(a){this.Hd=a;this.ef=!1;this.promise={then:(0,_.B)(function(a,c,d){this.ef||(this.ef=!0);this.kr&&!this.ir?this.Hd.resolve(this.kr):this.ir&&!this.kr&&this.Hd.reject(this.ir);return this.Hd.promise.then(a,c,d)},this)}};rA.prototype.resolve=function(a){this.ef?this.Hd.resolve(a):this.kr||this.ir||(this.kr=a)}; rA.prototype.reject=function(a){this.ef?this.Hd.reject(a):this.kr||this.ir||(this.ir=a)}; var sA=function(a){a=_.Rz(a.error);return{code:a.code,data:a.errors,message:a.message}},tA=function(a){throw Error("wa`"+a);};var uA=function(a){Zz.call(this,uA.prototype.Ul);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new Yz("Missing required parameters");if(_.v(a)){var b={};b.path=a}else b=a;if(!b.path)throw new Yz('Missing required parameter: "path"');this.Ug={};this.Ug.path=b.path;this.Ug.method=b.method||"GET";this.Ug.params=b.params||{};this.Ug.headers=b.headers||{};this.Ug.body=b.body;this.Ug.root=b.root;this.Ug.responseType=b.responseType;this.Ug.apiId=b.apiId;this.Vo=b.authType||"auto";this.JV=!!b.isXd4; this.qK=!1};_.z(uA,Zz);var vA=["appVersion","platform","userAgent"],wA={"google-api-gwt-client":!0,"google-api-javascript-client":!0};uA.prototype.Yf=function(){return this.Ug};uA.prototype.Ri=function(a){this.Vo=a}; uA.prototype.Li=function(){if(!this.qK){this.qK=!0;var a=this.Ug,b=a.headers=a.headers||{},c=[],d=[];for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){c.push(h);var e=h,f=_.tg(b,e);f&&(e=_.rg(e,f)||_.qg(e))&&d.push([e,f])}var h=0;for(e=c.length;h/,DA=/^application\/http(;.+$|$)/,EA=function(a,b){a=_.tg(a,b);if(!a)throw new Yz("Unable to retrieve header.");return a},GA=function(a,b,c,d){var e="batch"+String(Math.round(2147483647*(0,_.Tf)()))+String(Math.round(2147483647*(0,_.Tf)())),f="--"+e;e="multipart/mixed; boundary="+e;a:{var h=void 0;for(var k=0;k";d(e,c);c.push("");c.push(a.method+" "+a.path);d(a.headers,c);c.push("");a.body&&c.push(a.body);return c.join("\r\n")},IA=function(a,b){a=HA(a,b);var c={};_.Db(a,function(a,b){c[b]={result:a.result||a.body,rawResult:_.cf({id:b,result:a.result||a.body}),id:b}});return c},HA=function(a, b){a=(0,_.sb)(a);_.tp(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.G();for(var c=0;c");f=EA(d.outerHeaders,_.ag.Tw);f=CA.exec(f);if(!f)throw new Yz("Unable to recognize Content-Id.");e.id=(0,window.decodeURIComponent)(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};204!=d.status&&(e.response.body=d.body,e.response.result=_.bf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},JA=function(a,b){for(var c= [];bthis.Mb.length||(_.Yk(this.Mb,function(a){a.request.Li()}),a=this.Lq(a),GA(this.Mb,this.Df,this.mA,this.nA).execute(a))}; _.g.Ul=function(){if(1>this.Mb.length)return new _.jj(function(a){a({})});_.Yk(this.Mb,function(a){a.request.Li()});var a=GA(this.Mb,this.Df,this.mA,this.nA),b=(0,_.B)(function(a){MA(a);if(0!=EA(a.headers,_.ag.ee).indexOf("multipart/mixed"))throw new Yz("The response's Content-Type is not multipart/mixed.");var b=EA(a.headers,_.ag.ee).split("boundary=")[1];if(!b)throw new Yz("Boundary not indicated in response.");b=HA(a.body,"--"+b);a.result=b||{};for(var c=0;c=a.status){var d=EA(a.headers,_.ag.ee).split("boundary=")[1];if(!d)throw new Yz("Boundary not indicated in response.");var e=IA(a.body,"--"+d);for(a=0;a