gapi.loaded_1(function(_){var window=this; _.fg=(window.gapi||{}).load; _.mn=_.ie(_.ue,"rw",_.je()); var nn=function(a,b){(a=_.mn[a])&&a.statetype"]=a;_.le(c,b);a=_.Cl(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.Un=function(a){_.ie(Qn,a,0);return"___"+a+"_"+Qn[a]++};Sn=function(a){var b=void 0;"number"===typeof a?b=a:"string"===typeof a&&(b=parseInt(a,10));return b}; var Wn,Xn,Yn,Zn,$n=/(?:^|\s)g-((\S)*)(?:$|\s)/,ao={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Wn=_.ie(_.ue,"SW",_.je());Xn=_.ie(_.ue,"SA",_.je());Yn=_.ie(_.ue,"SM",_.je());Zn=_.ie(_.ue,"FW",[]); var bo=function(a,b){return("string"===typeof a?document.getElementById(a):a)||b},go=function(a,b){var c;co.ps0=(new Date).getTime();eo("ps0");a=bo(a,_.fe);var d=_.fe.documentMode;if(a.querySelectorAll&&(!d||8=e&&(f.ic="1");p=/^#|^fr-/;e={};for(var r in f)_.ke(f,r)&&p.test(r)&&(e[r.replace(p,"")]=f[r],delete f[r]);r="q"==_.Ce("iframes/"+a+"/params/si")?f:e;p=_.En();for(var v in p)!_.ke(p,v)||_.ke(f,v)||_.ke(e,v)||(r[v]=p[v]);v=[].concat(Pn);r=_.Ce("iframes/"+a+"/methods");_.Ol(r)&&(v=v.concat(r));for(t in c)_.ke(c,t)&&/^on/.test(t)&&("plus"!=a||"onconnect"!=t)&&(v.push(t),delete f[t]);delete f.callback;e._methods=v.join(",");var t=_.dl(n,f,e);v=h||{};v.allowPost= 1;v.attributes=On;v.dontclear=!k;h={};h.userParams=c;h.url=t;h.type=a;_.Vn(a,b,c,t,v,h);b=h.id;c=_.je();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.mn[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),ho(a,b))}},io=function(a,b,c){if(a&&1===a.nodeType&&b){if(c)return 1;if(Yn[b]){if(yn[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Xn[b])return 0;if(Wn[b])return 1}}return null}; _.ie(_.me,"platform",{}).go=function(a,b){go(a,b)}; var jo=_.ie(_.ue,"perf",_.je()),co=_.ie(jo,"g",_.je()),ko=_.ie(jo,"i",_.je()),lo,mo,no,eo,po,qo,ro;_.ie(jo,"r",[]);lo=_.je();mo=_.je();no=function(a,b,c,d){lo[c]=lo[c]||!!d;_.ie(mo,c,[]);mo[c].push([a,b])};eo=function(a,b,c){var d=jo.r;"function"===typeof d?d(a,b,c):d.push([a,b,c])};po=function(a,b,c,d){if("_p"==b)throw Error("N");_.oo(a,b,c,d)};_.oo=function(a,b,c,d){qo(b,c)[a]=d||(new Date).getTime();eo(a,b,c)};qo=function(a,b){a=_.ie(ko,a,_.je());return _.ie(a,b,_.je())}; ro=function(a,b,c){var d=null;b&&c&&(d=qo(b,c)[a]);return d||co[a]}; (function(){function a(h){this.t={};this.tick=function(k,l,m){this.t[k]=[void 0!=m?m:(new Date).getTime(),l];if(void 0==m)try{window.console.timeStamp("CSI/"+k)}catch(n){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,h)}var b;if(window.performance)var c=(b=window.performance.timing)&&b.responseStart;var d=0=e&&(window.__gapi_jstiming__.srt=c-e)}if(b){var f=window.__gapi_jstiming__.load; 0=e&&(f.tick("_wtsrt",void 0,e),f.tick("wtsrt_","_wtsrt",c),f.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),f&&0f.length?f=null:(f=f[0],f=0==f.responseStart?null:f);if(f){h=Math.round(f.requestStart);var k=Math.round(f.responseStart),l=Math.round(f.responseEnd); po("wrt0",a,b,Math.round(f.startTime));po("wrt1",a,b,h);po("wrt2",a,b,k);po("wrt3",a,b,l)}},1E3)};c.register(ep(c),e,gp);c.register(fp(c),e,gp)}}; _.D("gapi.widget.make",_.qp); _.Ge=_.Ge||{};_.Ge.Qs=function(a,b,c){for(var d=[],e=2,f=arguments.length;e>=8);b[c++]=e}return b}; var $g,ah,ch;$g={};ah=null;_.bh=_.fd||_.gd||!_.Xg&&!_.cd&&"function"==typeof _.u.atob;_.dh=function(a,b){void 0===b&&(b=0);ch();b=$g[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("")}; _.eh=function(a,b){function c(l){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}}; ch=function(){if(!ah){ah={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$g[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.tb.cookie||"").split(";"),e=0,f;e>>0);_.Si=function(a){if("function"===typeof a)return a;a[$i]||(a[$i]=function(b){return a.handleEvent(b)});return a[$i]};_.pi(function(a){Xi=a(Xi)}); _.aj=function(){_.yi.call(this);this.tj=new Ki(this);this.GV=this;this.yF=null};_.Za(_.aj,_.yi);_.aj.prototype[_.Fi]=!0;_.g=_.aj.prototype;_.g.Am=function(){return this.yF};_.g.Rz=_.ca(3);_.g.addEventListener=function(a,b,c,d){_.Ri(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Yi(this,a,b,c,d)}; _.g.dispatchEvent=function(a){var b,c=this.Am();if(c)for(b=[];c;c=c.Am())b.push(c);c=this.GV;var d=a.type||a;if("string"===typeof a)a=new _.Bi(a,c);else if(a instanceof _.Bi)a.target=a.target||c;else{var e=a;a=new _.Bi(d,c);_.vi(a,e)}e=!0;if(b)for(var f=b.length-1;!a.qt&&0<=f;f--){var h=a.currentTarget=b[f];e=h.Dr(d,!0,a)&&e}a.qt||(h=a.currentTarget=c,e=h.Dr(d,!0,a)&&e,a.qt||(e=h.Dr(d,!1,a)&&e));if(b)for(f=0;!a.qt&&f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.is=function(a,b,c,d){return Array.prototype.splice.apply(a,hs(arguments,1))};_.js=function(a,b,c){if(null!==a&&b in a)throw Error("j`"+b);a[b]=c};_.Ld.prototype.N=_.bb(1,function(a){return _.ji(this.tb,a)}); _.ks=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:""):_.Od(c,"*",a,b)[0]||null}return a||null};_.ls=function(a){var b;if(_.Bd&&!(_.cd&&_.xd("9")&&!_.xd("10")&&_.u.SVGElement&&a instanceof _.u.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.be(b)?b:null};_.ms=function(a){_.yi.call(this);this.je=a;this.Rb={}};_.Za(_.ms,_.yi);var ns=[]; _.ms.prototype.V=function(a,b,c,d){return this.Ls(a,b,c,d)};_.ms.prototype.Ls=function(a,b,c,d,e){Array.isArray(b)||(b&&(ns[0]=b.toString()),b=ns);for(var f=0;fhu(this.Xb[a],b)&&this.Xb[a].push(b)};qu.prototype.removeEventListener=function(a,b){if(!(0<=hu(this.eJ,a)))throw Error("X`"+a);ju(b)&&this.Xb[a]&&this.Xb[a].length&&(b=hu(this.Xb[a],b),0<=b&&this.Xb[a].splice(b,1))}; qu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=hu(this.eJ,b)))throw Error("Z`"+b);if(this.Xb[b]&&this.Xb[b].length)for(var c=0,d=this.Xb[b].length;cr;r+=4)p[r/4]=q[r]<<24|q[r+1]<<16|q[r+2]<<8|q[r+3];for(r=16;80>r;r++)q=p[r-3]^p[r-8]^p[r-14]^p[r-16],p[r]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],t=e[2],x=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var A=x^v&(t^x);var E=1518500249}else A= v^t^x,E=1859775393;else 60>r?(A=v&t|x&(v|t),E=2400959708):(A=v^t^x,E=3395469782);A=((q<<5|q>>>27)&4294967295)+A+z+E+p[r]&4294967295;z=x;x=t;t=(v<<30|v>>>2)&4294967295;v=q;q=A}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+z&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var r=[],v=0,t=q.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=p&255,p>>>=8;b(f);for(r=p=0;5>r;r++)for(var v=24;0<=v;v-=8)q[p++]=e[r]>>v&255;return q}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,Vh:function(){for(var q=d(),p="",r=0;rhu(c.Tk[a],b)&&c.Tk[a].push(b))},$u=function(a){var b=Yu;a&&(b.Tk[a]||(b.Tk[a]=[]))},av=function(a,b,c){return b&&a.Tk[b]&&0<=hu(a.Tk[b],c)};_.g=Xu.prototype; _.g.K2=function(a){var b,c=!!a.source&&(a.source===_.wu||a.source.opener===window);if(b=c?ru.QY(a.origin):ru.kY(a)){try{var d=_.pu.parse(a.data)}catch(e){fu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Cl){fu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.ej[c.id])delete b.ej[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?fu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.aO[a.type]?(d=this.aO[a.type], c&&!d.KV?fu("Bad IDP event. Source window cannot be a popup."):d.Cq&&!d.Cq.call(this,b,a)?fu("Bad IDP event."):d.sf.call(this,b,a)):fu("Bad IDP event.")}else fu("Bad event, no corresponding Idp Stub.")};_.g.f4=function(a,b){return av(this,a.Bb,b.clientId)};_.g.e4=function(a,b){b=b.clientId;return!b||av(this,a.Bb,b)};_.g.UV=function(a,b){return av(this,a.Bb,b.clientId)};_.g.Q1=function(a,b){a.Nm=!0;a.hu=!!b.cookieDisabled;Pu(a);for(b=0;bb;b++)a[b]=Math.floor(256*Math.random())}return _.dh(a,3).substring(0,64)},tv=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1 a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},vv=function(a,b,c){if(!a.ye)throw Error("sa");b?_.Uu(a.xd,a.ve,!0,void 0,c):_.Uu(a.xd,a.ve,!0,a.ne,c)},wv=function(a){if(!a.ye)throw Error("sa");return a.Ux},xv,yv,zv,Av,Bv,Cv,Dv,Ev,Fv,Hv;_.pv.prototype.bP=_.bb(17,function(a,b){var c=this.xd,d=this.Tb,e=this.ve,f=_.ku(this.Ii);delete f.response_type;_.Ru(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)}); _.nv.prototype.OQ=_.bb(16,function(a){wv(this)&&wv(this).access_token&&(this.xd.revoke(this.Tb,wv(this).access_token,a),vv(this,!0))}); _.nv.prototype.Or=_.bb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.Nx()&&a.wq&&(tv()||uv())){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.Bb};a.Ux=b;a.dispatchEvent({type:_.mv.UJ,idpId:a.Bb,response:b})}else a.hA(b.authResult.login_hint,a.dh||b.authResult.login_hint!=a.ne,!0,!0)}}); _.pv.prototype.Or=_.bb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Ir(function(d){_.Uu(b.xd,b.ve,d&&d.disabled,c.authResult.login_hint,function(){_.qv(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"})}});_.hv.prototype.yP=_.bb(13,function(){this.Tb&&_.Ru(this.xd,"startPolling",{clientId:this.Tb,origin:this.Bd,id:this.Fj})}); _.Ou.prototype.revoke=_.bb(9,function(a,b,c){_.Ru(this,"revoke",{clientId:a,token:b},c)});_.nv.prototype.revoke=_.bb(8,function(a){_.fv(this,this.OQ,[a])});xv=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}; yv=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("&")}; Av=function(a,b,c,d){if(!a.Tb)throw Error("ta");a.Fj=c||a.VV||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Bd.split("//");c=b.extraQueryParams;var f=e[0],h=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("")}; Hv=function(a){var b=[];_.eh(a,function(c){b.push(c)});return b};_.Iv=function(a,b){_.Ph[b||"token"]=a};_.Jv=function(a){delete _.Ph[a||"token"]}; _.pu={parse:function(a){a=_.qf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.rf(a)}}; _.pv.prototype.DC=function(a,b){_.fv(this,this.vX,[a,b])};_.pv.prototype.vX=function(a,b){this.xd.DC(this.Tb,a,this.Ii,this.ve,b)}; _.Ou.prototype.DC=function(a,b,c,d,e){c=_.ku(c);_.Ru(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)}; var Kv,Lv=["client_id","cookie_policy","scope"],Mv="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 plugin_name gsiwebsdk".split(" "),Nv=["authuser","after_redirect","access_type","hl"],Ov=["login_hint","prompt"],Pv={clientid:"client_id",cookiepolicy:"cookie_policy"},Qv=["approval_prompt","authuser","login_hint", "prompt","hd"],Rv=["login_hint","g-oauth-window","status"],Sv=Math.min(_.Ce("oauth-flow/authWindowWidth",599),screen.width-20),Tv=Math.min(_.Ce("oauth-flow/authWindowHeight",600),screen.height-30); var Uv=function(a){_.fb.call(this,a)};_.J(Uv,_.fb);Uv.prototype.name="gapi.auth2.ExternallyVisibleError"; var Vv=function(){};Vv.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Wv=function(){};Wv.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;cb.indexOf(c)&&delete a[c];return a},Ew=function(a,b){if(!a)throw new Uv("Empty initial options.");for(var c=0;c");var h=_.Ge.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};_.Ge.AM=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};_.Ge.hea=function(b){return a(b)}})(); _.gg=window.gapi&&window.gapi.util||{}; _.gg=_.gg={};_.gg.getOrigin=function(a){return _.ig(a)}; _.ay=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Ai:!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=_.Zx(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Le;return!d&&("U"!==c||e.Le)||d&&!_.$x?b:{Ai:!0,Le:d,xW:a.substr(1),domain:e.domain,Wh:e.Wh}}; _.by=function(a,b){this.zf=a;a=b||{};this.e1=Number(a.maxAge)||0;this.de=a.domain;this.ql=a.path;this.U3=!!a.secure};_.by.prototype.read=function(){for(var a=this.zf+"=",b=document.cookie.split(/;\s*/),c=0;cr;r+=4)p[r/4]=q[r]<<24|q[r+1]<<16|q[r+2]<<8|q[r+3];for(r=16;80>r;r++)q=p[r-3]^p[r-8]^p[r-14]^p[r-16],p[r]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],t=e[2],x=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var A=x^v&(t^x);var E=1518500249}else A=v^t^x,E=1859775393;else 60>r?(A=v&t|x&(v|t),E=2400959708):(A=v^t^x,E=3395469782);A=((q<<5|q>>>27)&4294967295)+ A+z+E+p[r]&4294967295;z=x;x=t;t=(v<<30|v>>>2)&4294967295;v=q;q=A}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+z&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var r=[],v=0,t=q.length;vm?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=p&255,p>>>=8;b(f);for(r=p=0;5>r;r++)for(var v=24;0<=v;v-=8)q[p++]=e[r]>>v&255;return q}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,Vh:function(){for(var q=d(),p="",r=0;r":(f=_.lr(c),b+=">"+_.vb(f).toString()+"");return _.Sc(b)};_.or=function(a){return Number(_.Ad)>=a};_.pr=function(a){return _.Id('style[nonce],link[rel="stylesheet"][nonce]',a)};_.qr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; rr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.sr=function(a){return a?a.parentWindow||a.defaultView:window};_.tr=function(a,b,c){return _.Td(document,arguments)}; _.ur=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.ur.prototype;_.g.Ub=function(){return this.right-this.left};_.g.Gc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.ur(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.ur?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 _.Xq?(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 xr,Dr,Br,Gr,Sr,Tr;_.wr=function(a,b,c){if("string"===typeof b)(b=_.vr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.vr(c,d);f&&(c.style[f]=e)}};xr={};_.vr=function(a,b){var c=xr[b];if(!c){var d=_.qr(b);c=d;void 0===a.style[d]&&(d=(_.gd?"Webkit":_.fd?"Moz":_.cd?"ms":null)+rr(d),void 0!==a.style[d]&&(c=d));xr[b]=c}return c}; _.yr=function(a,b){var c=_.Md(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.zr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Ar=function(a,b){return _.yr(a,b)||_.zr(a,b)||a.style&&a.style[b]};_.Cr=function(a,b,c){if(b instanceof _.Xq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Br(d,!1);a.style.top=Br(b,!1)}; Dr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; _.Hr=function(a,b){b=b||_.br(document);var c=b||_.br(document);var d=_.Er(a),e=_.Er(c),f=_.Fr(c);if(c==_.br(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.cd&&!_.or(10)&&(h+=f.left,d+=f.top)}else h=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Gr(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 _.Xq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y}; _.Er=function(a){var b=_.Md(a),c=new _.Xq(0,0);var d=b?_.Md(b):document;d=!_.cd||_.or(9)||_.Zq(_.Nd(d).tb)?d.documentElement:d.body;if(a==d)return c;a=Dr(a);b=_.cr(_.Nd(b).tb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Jr=function(a,b){var c=new _.Xq(0,0),d=_.sr(_.Md(a));if(!_.$c(d,"parent"))return c;do{var e=d==b?_.Er(a):_.Ir(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Ir=function(a){a=Dr(a);return new _.Xq(a.left,a.top)}; _.Kr=function(a,b,c){if(b instanceof _.Yq)c=b.height,b=b.width;else if(void 0==c)throw Error("P");a.style.width=Br(b,!0);a.style.height=Br(c,!0)};Br=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.Lr=function(a){var b=Gr;if("none"!=_.Ar(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}; Gr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.gd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Dr(a),new _.Yq(a.right-a.left,a.bottom-a.top)):new _.Yq(b,c)};_.Mr=function(a,b){a.style.display=b?"":"none"}; _.Or=function(a){var b=_.Nd(void 0),c=b.lb();if(_.cd&&c.createStyleSheet)b=c.createStyleSheet(),_.Nr(b,a);else{c=_.dr(b,"HEAD")[0];if(!c){var d=_.dr(b,"BODY")[0];c=b.na("HEAD");d.parentNode.insertBefore(c,d)}d=b.na("STYLE");var e=_.pr();e&&d.setAttribute("nonce",e);_.Nr(d,a);b.appendChild(c,d)}};_.Nr=function(a,b){b=_.hr(b);_.cd&&void 0!==a.cssText?a.cssText=b:_.u.trustedTypes?_.de(a,b):a.innerHTML=b};_.Pr=function(a){return"rtl"==_.Ar(a,"direction")}; _.Qr=_.fd?"MozUserSelect":_.gd||_.dd?"WebkitUserSelect":null;_.Rr=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};Sr={thin:2,medium:4,thick:6};Tr=function(a,b){if("none"==_.zr(a,b+"Style"))return 0;b=_.zr(a,b+"Width");return b in Sr?Sr[b]:_.Rr(a,b)}; _.Fr=function(a){if(_.cd&&!_.or(9)){var b=Tr(a,"borderLeft"),c=Tr(a,"borderRight"),d=Tr(a,"borderTop");a=Tr(a,"borderBottom");return new _.ur(d,c,a,b)}b=_.yr(a,"borderLeftWidth");c=_.yr(a,"borderRightWidth");d=_.yr(a,"borderTopWidth");a=_.yr(a,"borderBottomWidth");return new _.ur(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}; /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ _.ox=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("Aa");return 2147483647a.Wh)&&(a=c,b=d)});return{cW:a,authuser:b}};Jy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Ky=function(a){a=a.toUpperCase();for(var b=0,c=Jy.length;ba.expires_at?null:a};_.Py=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Iv(c,d):_.Jv(d)}; Qy=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.ig(a));var b=window.location.hostname,c=b,d=_.$x;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.vf.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 _.vf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Le:d,Wh:b}}; Ry=function(a){var b=Qy(a);if(!b)return new _.ey("G_USERSTATE_");a=["G_USERSTATE_",_.$x&&b.Le?"S":"H",b.Wh].join("");var c=_.ny[a];c||(c={NE:63072E3},_.le(_.qy(b),c),c=new _.by(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};Sy=function(a){var b=Ry(a).read();a=_.je();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a}; Ty=function(a,b,c){var d=Sy(b),e=d[a];d[a]="0";var f=[];_.Rl(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Ry(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Uy=function(a){a=Qy(a.g_user_cookie_policy);if(!a||a.Le&&!_.$x)a=null;else{var b=["G_AUTHUSER_",_.$x&&a.Le?"S":"H",a.Wh].join(""),c=_.my[b];c||(c=new _.jy(b,_.qy(a)),_.my[b]=c);a=c}_.De("googleapis.config/sessionIndex",null);a.clear()};Vy=function(a){return Ey(function(b){return a[b]})};Wy=0;Xy=!1;Yy=[];Zy={};$y={};az=null; bz=function(a){var b=_.xy;return function(c){if(this.f==b&&this.t==_.Af.rm(this.f)&&this.origin==_.Af.Fm(this.f))return a.apply(this,arguments)}};cz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};dz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Fa");}; ez=function(a){var b=_.Ge.Bg,c=b(a).jsh;if(null!=c)return dz(c),a;if(b=String(b().jsh||_.ue.h||""))dz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};fz=function(){return!!_.Ce("oauth-flow/usegapi")};gz=function(a,b){fz()?az.unregister(a):_.Af.unregister(a+":"+b)};hz=function(a,b,c){fz()?az.register(a,c,_.im):_.Af.register(a+":"+b,bz(c))};iz=function(){Gy.parentNode.removeChild(Gy)}; jz=function(a){var b=Gy;_.vy(b,[{Xy:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.vy(b,[{Xy:"transform",duration:1,timing:"ease",delay:0}]);_.ox(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};kz=function(){var a=Hy+88;jz(a);Hy=a};lz=function(){var a=Hy-88;jz(a);Hy=a}; mz=function(a){var b=a?kz:lz,c=a?lz:kz;a=a?"-":"";Hy=parseInt(a+88,10);Gy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Gy.style.transform="translate3d(0px,"+a+88+"px,0px)";Gy.style.display="";Gy.style.visibility="visible";b();_.ox(c,4E3);_.ox(iz,5E3)}; nz=function(a){var b=_.Ce("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Gy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.wr(c,"visibility","hidden");_.wr(c,b,"-40px");_.wr(c,"height","128px");var d=c;if(!_.uq()&&!_.tq()){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?"-":"";Hy=parseInt(e+88,10);Gy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Gy.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){}_.cm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?mz(!0):mz(!1)}})}; oz=function(a){var b=_.En(),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-Wy)return;var d=_.Af.rm(a);d&&(gz("oauth2relayReady",d),gz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.yy();a=_.xy}Wy=c;var e=String(2147483647*(0,_.og)()|0);b=_.Ce("oauth-flow/proxyUrl")||_.Ce("oauth-flow/relayUrl");fz()?az=_.cm.openChild({where:_.Ge.AM(),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(_.gg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ge.AM(),d=_.Ge.gL({name:a,id:a}),d.src=ez(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,cz(d),c.appendChild(d),_.Af.Qt(a));hz("oauth2relayReady",e,function(){gz("oauth2relayReady",e);var f=Yy;if(null!==f){Yy=null;for(var h=0,k=f.length;h< k;++h)f[h]()}});hz("oauth2callback",e,function(f){var h=_.Ge.Bg;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call($y,f)?$y[f]:null;h.state=f;if(null!=h.state){f=Zy[k];delete Zy[k];k=f&&f.key||"token";var l=h=pz(f&&f.params,h),m=rz(l);if(m){var n=Sy(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Ce("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Xy||(Xy=!0,nz(l)));_.Py(k,h);h=Oy(k);if(f){k= f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(q){}f.callback&&(f.callback(h),f.callback=null)}}})};_.tz=function(a){null!==Yy?sz(a):a&&a()};vz=function(a,b){var c=uz,d=rz(a);d&&(Uy(a),Ty(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=pz(null,e);c(e)}}))}; uz=function(a){a||(a=Oy(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||(_.ue.drw=null);_.Py(a);if(b=a.authuser)_.Ce("googleapis.config/sessionIndex"),_.De("googleapis.config/sessionIndex",b);_.zy.tn(_.Ay,a);return a};wz=["client_id","cookie_policy","response_type"];xz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" "); yz=function(a){var b=_.hj(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);_.Iv(b);return b}; zz=function(a){if(void 0===a.include_granted_scopes){var b=_.Ce("include_granted_scopes");a.include_granted_scopes=!!b}};Az=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))}; Bz=function(a){var b=a||{},c={};_.Nb(xz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Ce("googleapis/overrideClientId");null!=a&&(c.client_id=a);zz(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{_.yw(c.cookie_policy)}catch(d){c.cookie_policy&& Az("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=_.Ah(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Ce("oauth-flow/redirectUri"); null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c}; Cz=function(a,b){var c=Bz(a),d=new _.Bj(function(e,f){_.fx(c,function(h){var k=h||{};_.Nb(wz,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=yz(k),null!=h.authuser&&_.De("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};Dz=_.Oh.yM;Ez=null; _.Hz=function(a,b){if("force"!==a.approvalprompt){a=_.Fz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Ez?(a.client_id!==Ez.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Ez=a,b=!1);b||Gz(a)}}; _.Fz=function(a){var b=a.redirecturi||"postmessage",c=(0,_.ic)((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,_.ic)(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||_.Ce("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ce("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Gz=function(a){_.oo("waaf0","signin","0");Cz(a,function(b){_.oo("waaf1","signin","0");uz(b)})}; _.Iz=function(a){a=_.Fz(a);_.De("oauth-flow/authWindowWidth",445);_.De("oauth-flow/authWindowHeight",615);Gz(a)};_.Jz=function(a){_.zy.unsubscribe(_.Ay,a);_.zy.subscribe(_.Ay,a)}; var Qz,Tz;_.Lz=function(a){return a.cookiepolicy?!0:(_.Kz("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.Kz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.Pz=function(a,b){var c=_.En();_.le(a,c);c=oz(c);if(_.Lz(c)){var d=_.Mz();_.Nz(c);b?_.te(b,"click",function(){_.Oz(c,d)}):_.Oz(c,d)}}; _.Mz=function(){var a=new Qz;_.Jz(function(b){a.OE&&b&&(b.access_token&&_.De("isPlusUser",!0),b["g-oauth-window"]&&(a.OE=!1,_.vf.warn("OTA app install is no longer supported.")))});return a};Qz=function(){this.OE=!1};_.Nz=function(a){a=_.Rz(a);_.Sz(a.callback);_.tz(function(){_.Hz(a)})};_.Rz=function(a){Tz(a);a.redirecturi&&delete a.redirecturi;Fy(function(b){return a[b]})||(a.authuser=0);return a};Tz=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.Sz=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.Kz('Callback function named "'+a+'" not found');return}a&&_.Jz(a)};_.Oz=function(a,b){b.OE=!0;a=_.Rz(a);_.Iz(a)}; _.D("gapi.auth.authorize",Cz);_.D("gapi.auth.checkSessionState",function(a,b){var c=_.je();c.client_id=a.client_id;c.session_state=a.session_state;_.tz(function(){fz()?az.send("check_session_state",c,function(d){b.call(null,d[0])},_.im):_.Af.call(_.xy,"check_session_state",bz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.D("gapi.auth.getAuthHeaderValueForFirstParty",Dz);_.D("gapi.auth.getToken",Oy); _.D("gapi.auth.getVersionInfo",function(a,b){_.tz(function(){var c=_.Mh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?fz()?az.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.im):_.Af.call(_.xy,"get_versioninfo",bz(function(f){a(f)}),d,b):a()})});_.D("gapi.auth.init",_.tz);_.D("gapi.auth.setToken",_.Py);_.D("gapi.auth.signIn",function(a){_.Pz(a)});_.D("gapi.auth.signOut",function(){var a=Oy();a&&vz(a,a.cookie_policy)}); _.D("gapi.auth.unsafeUnpackIdToken",qz);_.D("gapi.auth._pimf",_.Hz);_.D("gapi.auth._oart",nz);_.D("gapi.auth._guss",function(a){return Ry(a).read()}); var Uz=_.En();Uz.clientid&&Uz.scope&&Uz.callback&&!_.Ce("disableRealtimeCallback")&&_.Nz(Uz); /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var kx=function(){};kx.prototype.GK=null;kx.prototype.getOptions=function(){var a;(a=this.GK)||(a={},_.lx(this)&&(a[0]=!0,a[1]=!0),a=this.GK=a);return a}; var nx;nx=function(){};_.Za(nx,kx);_.lx=function(a){if(!a.cO&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],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.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; _.lh=function(a,b,c){if(Array.isArray(b))for(var d=0;d=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0}; _.Dg=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*parseInt(a.charAt(d+ 1),16)+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=encodeURIComponent(f),1>=f.length&&(0<=h&&127>=h?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=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=_.Mg(k)){for(f=f.substring(h+1);d+1b.length){c.push(_.Gx(a)+"(");for(var d=a.arguments,e=0;d&&ed)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))};Bt=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.Eb(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=_.ut(a),e=_.tt(a),f=e.length,h=0;hb)throw Error("R`"+b);a.hg=b}else a.hg=null;return a};_.Ct.prototype.getPath=function(){return this.ql};_.Ct.prototype.setPath=function(a,b){this.ql=b?Yt(a,!0):a;return this};_.Ct.prototype.Wo=function(){return""!==this.Ud.toString()};_.Rt=function(a,b,c){b instanceof _.St?(a.Ud=b,a.Ud.ZG(a.Cg)):(c||(b=Tt(b,Zt)),a.Ud=new _.St(b,a.Cg));return a};_.Ct.prototype.Xa=function(a,b){return _.Rt(this,a,b)};_.Ct.prototype.getQuery=function(){return this.Ud.toString()}; _.$t=function(a,b,c){a.Ud.set(b,c);return a};_.g=_.Ct.prototype;_.g.mh=function(a){return this.Ud.get(a)};_.g.zw=function(){return this.IC};_.g.Nj=function(a,b){this.IC=b?Yt(a):a;return this};_.g.removeParameter=function(a){this.Ud.remove(a);return this};_.g.ZG=function(a){this.Cg=a;this.Ud&&this.Ud.ZG(a)};_.au=function(a,b){return a instanceof _.Ct?a.clone():new _.Ct(a,b)};Yt=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; Tt=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,bu),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};bu=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Ut=/[#\/\?@]/g;Wt=/[#\?:]/g;Vt=/[#\?]/g;Zt=/[#\?@]/g;Xt=/#/g;_.St=function(a,b){this.Zd=this.Ec=null;this.Sf=a||null;this.Cg=!!b};cu=function(a){a.Ec||(a.Ec=new Map,a.Zd=0,a.Sf&&xt(a.Sf,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.g=_.St.prototype; _.g.Ib=function(){cu(this);return this.Zd};_.g.add=function(a,b){cu(this);this.Sf=null;a=du(this,a);var c=this.Ec.get(a);c||this.Ec.set(a,c=[]);c.push(b);this.Zd+=1;return this};_.g.remove=function(a){cu(this);a=du(this,a);return this.Ec.has(a)?(this.Sf=null,this.Zd-=this.Ec.get(a).length,this.Ec.delete(a)):!1};_.g.clear=function(){this.Ec=this.Sf=null;this.Zd=0};_.g.isEmpty=function(){cu(this);return 0==this.Zd};_.g.Uh=function(a){cu(this);a=du(this,a);return this.Ec.has(a)}; _.g.jj=function(a){var b=this.Xc();return _.hb(b,a)};_.g.forEach=function(a,b){cu(this);this.Ec.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.Tf=function(){cu(this);for(var a=Array.from(this.Ec.values()),b=Array.from(this.Ec.keys()),c=[],d=0;d/,IA=/^application\/http(;.+$|$)/,JA=["clients6.google.com","content.googleapis.com","www.googleapis.com"],KA=function(a,b){a=_.Pg(a,b);if(!a)throw new Vz("Unable to retrieve header.");return a},LA=function(a){var b=void 0;a=_.ra(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.He().apiId;if("string"!==typeof c)return"batch";if(void 0===b)b=c;else if(b!=c)return"batch"}b=_.Ce("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},YA=function(a){a=a.map(function(b){return b.request}); return LA(a)},iB=function(a,b){var c=[];a=a.He();var d=function(f,h){_.Rl(f,function(k,l){h.push(l+": "+k)})},e={"Content-Type":"application/http","Content-Transfer-Encoding":"binary"};e["Content-ID"]="<"+b+">";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")},lB=function(a,b){a=jB(a,b);var c={};_.lb(a,function(d,e){c[e]=kB(d,e)});return c},kB=function(a,b){return{result:a.result||a.body,rawResult:_.rf({id:b,result:a.result||a.body}), id:b}},jB=function(a,b){a=(0,_.ic)(a);_.xi(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.je();for(var c=0;c");f=KA(d.outerHeaders,"Content-ID");f=HA.exec(f);if(!f)throw new Vz("Unable to recognize Content-Id.");e.id=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=_.qf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},mB= function(a,b){for(var c=[];bObject.keys(this.qj).length)){var b=this.Ps(a);a=qB(this);var c=[],d=a.map(function(e){return new _.Bj(function(f){try{e.execute(function(h,k){return f({xK:h,P2:k})})}catch(h){c.push(h),f({xK:{iw:!1,reason:h}})}})});if(0Object.keys(this.qj).length)return _.Fj({});var b=qB(this).map(function(c){return new _.Bj(function(d,e){return c.li().then(d,e)})});return Yz(b).then(function(c){c=c.map(function(d){return d.iw?d.value:d});return rB(a,c,!0)})}; var rB=function(a,b,c,d,e){for(var f=!1,h={},k,l=0,m=0;ma.zl[m].length)throw new Vz("Error processing batch responses.");try{var v=!(1===a.zl[m].length&&a.zl[m][0].x0),t=a.zl[m][0].id;if(!c){r=n;var x=d[m];q=r;if(x&&(!q||!v)){var z=_.qf(x);z&&(q=z.gapiRequest?z.gapiRequest.data:z,!v&&r&&(q.body=r))}if(!q)throw new Vz("The batch response is missing."); n=q}r=void 0;if(q=n){var A=q.headers;if(A){var E=_.je();for(r in A)if(Object.prototype.hasOwnProperty.call(A,r)){var y=_.Pg(A,r);_.Qg(E,r,y,!0)}q.headers=E}}if(v&&0!=KA(n.headers,"Content-Type").indexOf("multipart/mixed"))throw new Vz("The response's Content-Type is not multipart/mixed.");k=k||_.zx(n);var F=cA(n);F&&!cA(k)&&(k.status=n.status,k.statusText=n.statusText);if(F||c||!v){f=!0;r=Object;var L=r.assign;q=h;p=a;var Z=n,M=c;n={};if(v){M=M?jB:lB;var H=KA(Z.headers,"Content-Type").split("boundary=")[1]; if(!H)throw new Vz("Boundary not indicated in response.");n=M(Z.body,"--"+H)}else M?(Z.result=_.qf(Z.body),n[t]=Z):n[t]=kB(Z,t);Z={};for(var U=_.ra(Object.entries(n)),da=U.next();!da.done;da=U.next()){var ta=_.ra(da.value),oa=ta.next().value,Ba=ta.next().value;Z[oa]=Ba;if(!p.hv[oa])throw new Vz("Could not find batch entry for id "+oa+".");}h=L.call(r,q,Z)}}catch(Da){for(l++,b[m]=Da,q=sB([Da]),p=_.ra(a.zl[m]),r=p.next();!r.done;r=p.next())h[r.value.id]=q}}}if(l===b.length){d=sB(b);h=_.rf(d);k=0;a= Array.from(Object.values(a.qj)).flat();f=_.ra(a);for(l=f.next();!l.done;l=f.next())if(l=l.value,c)l.iz.reject(d);else if(l.callback)try{k++,l.callback(d,h)}catch(Da){oB.prototype.eo(Da)}if(e)try{e(d,h)}catch(Da){oB.prototype.eo(Da)}else if(k!==a.length)throw 1===b.length?b[0]:d;}else{if(f)for(f=_.ra(Object.entries(h)),l=f.next();!l.done;l=f.next())if(l=_.ra(l.value),m=l.next().value,l=l.next().value,c)m=a.hv[m],l&&cA(l)?m.iz.resolve(l):m.iz.reject(l);else if(m=a.hv[m],m.callback){if(l&&l.rawResult)try{delete l.rawResult}catch(Da){}try{m.callback(l|| !1,_.rf(l))}catch(Da){oB.prototype.eo(Da)}}k.result=h||{};k.body=1===b.length?k.body:"";if(e)try{e(h||null,1===d.length?d[0]:null)}catch(Da){oB.prototype.eo(Da)}return k}},sB=function(a){var b={error:{code:0,message:"The batch request could not be fulfilled. "}};a=_.ra(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.message||c instanceof Error&&c.message?b.error.message+=(c.message||c instanceof Error&&c.message)+" ":c&&c.error&&c.error.message&&(b.error.message+=c.error.message+" ",b.error.code= c.error.code||b.error.code||0);b.error.message=b.error.message.trim();return{result:b,body:_.rf(b),headers:null,status:null,statusText:null}};oB.prototype.Ps=function(a){var b=this;return function(c,d){b.qB(c,d,a)}};oB.prototype.qB=function(a,b,c){rB(this,a,!1,b,c)};oB.prototype.add=oB.prototype.add;oB.prototype.execute=oB.prototype.execute;oB.prototype.then=oB.prototype.then; var tB=function(){this.wk=[];this.Ue=this.Re=null}; tB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.xn=a;else throw new Vz("Batch entry "+(d.call(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");if(d.call(b,"id")){a=b.id;for(d=0;d