/* JS */ gapi.loaded_1(function(_){var window=this;
var ey=function(){};ey.prototype.WG=null;ey.prototype.getOptions=function(){var a;(a=this.WG)||(a={},_.fy(this)&&(a[0]=!0,a[1]=!0),a=this.WG=a);return a};
var hy;hy=function(){};_.H(hy,ey);_.fy=function(a){if(!a.MJ&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.MJ=d}catch(e){}}throw Error("ma");}return a.MJ};_.gy=new hy;

_.Oe=_.Oe||{};
(function(){function a(b){var c="";if(3==b.nodeType||4==b.nodeType)c=b.nodeValue;else if(b.innerText)c=b.innerText;else if(b.innerHTML)c=b.innerHTML;else if(b.firstChild){c=[];for(b=b.firstChild;b;b=b.nextSibling)c.push(a(b));c=c.join("")}return c}_.Oe.createElement=function(b){if(!document.body||document.body.namespaceURI)try{var c=document.createElementNS("http://www.w3.org/1999/xhtml",b)}catch(d){}return c||document.createElement(b)};_.Oe.createIframeElement=function(b){var c=_.Oe.createElement("iframe");try{var d=
["<","iframe"],e=b||{},f;for(f in e)e.hasOwnProperty(f)&&(d.push(" "),d.push(f),d.push('="'),d.push(_.Oe.escapeString(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Oe.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Oe.getBodyElement=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};_.Oe.oaa=function(b){return a(b)}})();

_.Fh={};_.Gh=function(a){return _.Fh[a||"token"]||null};

var Mh,Nh;_.Lh=function(a,b){this.xd=a;a=b||{};this.bY=Number(a.maxAge)||0;this.Vc=a.domain;this.hj=a.path;this.z_=!!a.secure};Mh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;Nh=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Lh.prototype.read=function(){for(var a=this.xd+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.Lh.prototype.write=function(a,b){if(!Nh.test(this.xd))throw"Invalid cookie name";if(!Mh.test(a))throw"Invalid cookie value";a=this.xd+"="+a;this.Vc&&(a+=";domain="+this.Vc);this.hj&&(a+=";path="+this.hj);b="number"===typeof b?b:this.bY;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.z_&&(a+=";secure");document.cookie=a;return!0};_.Lh.prototype.clear=function(){this.write("",0)};
_.Lh.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};
var Ph;_.Oh=function(a){this.Uh=a};Ph={};_.Oh.prototype.read=function(){if(Ph.hasOwnProperty(this.Uh))return Ph[this.Uh]};_.Oh.prototype.write=function(a){Ph[this.Uh]=a;return!0};_.Oh.prototype.clear=function(){delete Ph[this.Uh]};_.Oh.iterate=function(a){for(var b in Ph)Ph.hasOwnProperty(b)&&a(b,Ph[b])};
var Qh=function(){this.ie=null;this.key=function(){return null};this.getItem=function(){return this.ie};this.setItem=function(a,b){this.ie=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.ie=null;this.length=0};this.length=0},Rh=function(a){try{var b=a||window.sessionStorage;if(!b)return!1;b.setItem("gapi.sessionStorageTest","gapi.sessionStorageTest"+b.length);b.removeItem("gapi.sessionStorageTest");return!0}catch(c){return!1}},Sh=function(a,b){this.xd=a;this.Of=
Rh(b)?b||window.sessionStorage:new Qh};Sh.prototype.read=function(){return this.Of.getItem(this.xd)};Sh.prototype.write=function(a){try{this.Of.setItem(this.xd,a)}catch(b){return!1}return!0};Sh.prototype.clear=function(){this.Of.removeItem(this.xd)};Sh.iterate=function(a){if(Rh())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var Th=0;64>Th;++Th);
_.Uh="https:"===window.location.protocol;_.Vh=_.Uh||"http:"===window.location.protocol?_.Lh:_.Oh;_.Wh=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{De:"S"==a.charAt(0),domain:d,Dh:c}};
_.Xh=function(a){if(0!==a.indexOf("GCSC"))return null;var b={PB:!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=_.Wh(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.De;return!d&&("U"!==c||e.De)||d&&!_.Uh?b:{PB:!0,De:d,nS:a.substr(1),domain:e.domain,Dh:e.Dh}};
var Yh,Zh,bi,ci,di;Yh=_.qe();Zh=_.qe();_.$h=_.qe();_.ai=_.qe();bi="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");ci=function(a){this.BL=a;this.jC=null};ci.prototype.write=function(a){var b=_.qe(),c=_.qe();for(d in a)_.re(a,d)&&(c[d]=a[d],b[d]=a[d]);var d=0;for(var e=bi.length;d<e;++d)delete c[bi[d]];a=String(a.authuser||0);d=_.qe();d[a]=_.Oe.getUrlParameters("#"+di(c));this.BL.write(_.Ff(d));this.jC=b};ci.prototype.read=function(){return this.jC};
ci.prototype.clear=function(){this.BL.clear();this.jC=_.qe()};_.ei=function(a){return a?{domain:a.domain,path:"/",secure:a.De}:null};di=function(a){var b="";if(!a)return b;for(var c in a)if({}.hasOwnProperty.call(a,c)){var d=a[c];if(null!=d){var e=[encodeURIComponent(c),"="];if(d instanceof Array){for(var f=[],g=0;g<d.length;g++)f.push(encodeURIComponent(d[g]));e.push(f.join("+"))}else e.push(encodeURIComponent(d));d=e.join("")}else d="";d&&(b&&(b+="&"),b+=d)}return b};
Sh.iterate(function(a){var b=_.Xh(a);b&&b.PB&&(Yh[a]=new ci(new Sh(a)))});_.Vh.iterate(function(a){Yh[a]&&(Zh[a]=new _.Vh(a,_.ei(_.Xh(a))))});

_.Cg=function(){var a=/\s*;\s*/;return{get:function(b,c){b+="=";for(var d=(document.cookie||"").split(a),e=0,f;f=d[e];++e)if(0==f.indexOf(b))return f.substr(b.length);return c}}}();

var gi;_.fi=function(a){this.mb=a||{cookie:""}};_.h=_.fi.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};
_.h.set=function(a,b,c,d,e,f){if("object"===typeof c){var g=c.Bba;f=c.secure;e=c.domain;d=c.path;c=c.aY}if(/[;=\s]/.test(a))throw Error("z`"+a);if(/[;\r\n]/.test(b))throw Error("A`"+b);void 0===c&&(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,_.fb)()+1E3*c)).toUTCString();this.mb.cookie=a+"="+b+e+d+c+f+(null!=g?";samesite="+g:"")};
_.h.get=function(a,b){for(var c=a+"=",d=(this.mb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.zb)(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};_.h.remove=function(a,b,c){var d=this.qe(a);this.set(a,"",0,b,c);return d};_.h.Bf=function(){return gi(this).keys};_.h.Fd=function(){return gi(this).values};_.h.isEmpty=function(){return!this.mb.cookie};_.h.Jb=function(){return this.mb.cookie?(this.mb.cookie||"").split(";").length:0};
_.h.qe=function(a){return void 0!==this.get(a)};_.h.rl=function(a){for(var b=gi(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=gi(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};gi=function(a){a=(a.mb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.zb)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
_.hi=new _.fi("undefined"==typeof document?null:document);

var ji,ki,mi;
_.ii=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var u=e[1],v=e[2],w=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var B=w^u&(v^w);var A=1518500249}else B=u^v^w,A=1859775393;else 60>r?(B=u&v|w&(u|v),A=2400959708):(B=u^v^w,A=3395469782);B=((p<<5|p>>>27)&4294967295)+
B+z+A+t[r]&4294967295;z=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=B}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],u=0,v=p.length;u<v;++u)r.push(p.charCodeAt(u));p=r}t||(t=p.length);r=0;if(0==m)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<t;)if(f[m++]=p[r++],n++,64==m)for(m=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],
t=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)p[t++]=e[r]>>u&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Rg:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}};ji=function(a){var b=_.ii();b.update(a);return b.Rg().toLowerCase()};
ki=function(a,b,c){var d=[],e=[];if(1==(_.ab(c)?2:1))return e=[b,a],(0,_.tb)(d,function(k){e.push(k)}),ji(e.join(" "));var f=[],g=[];(0,_.tb)(c,function(k){g.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];(0,_.tb)(d,function(k){e.push(k)});a=ji(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")};
_.li=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};mi=function(){var a=_.q.__SAPISID||_.q.__APISID||_.q.__OVERRIDE_SID;if(a)return!0;a=new _.fi(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.ni=function(a){var b=_.sg(String(_.q.location.href));if(mi()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?_.q.__SAPISID:_.q.__APISID;c||(c=new _.fi(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.q.location.href);return d&&c&&b?[b,ki(_.sg(d),c,a||null)].join(" "):null}}return null};_.oi={AW:_.li,CX:mi,MU:function(){var a=null;mi()&&(a=window.__PVT,null==a&&(a=_.Cg.get("BEAT")));return a},mA:_.ni};

_.nh=function(a){return encodeURIComponent(String(a))};_.oh=function(a){return null==a?"":String(a)};_.ph=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;_.qh=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(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]};
_.rh=function(a,b,c){if(_.ab(b))for(var d=0;d<b.length;d++)_.rh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+_.nh(b)))};_.sh=function(a){var b=[],c;for(c in a)_.rh(c,a[c],b);return b.join("&")};_.th=function(a,b){b=_.sh(b);return _.qh(a,b)};_.uh=function(a,b,c){for(var d=0,e=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var f=a.charCodeAt(d-1);if(38==f||63==f)if(f=a.charCodeAt(d+e),!f||61==f||38==f||35==f)return d;d+=e+1}return-1};_.vh=/#|$/;

var pi;
pi=function(a,b){a=_.Oe.createIframeElement({id:a,name:a});a.style.width="1px";a.style.height="1px";a.style.position="absolute";a.style.top="-100px";a.style.display="none";if(window.navigator){var c=window.navigator.userAgent||"";var d=window.navigator.product||"";c=0!=c.indexOf("Opera")&&-1==c.indexOf("WebKit")&&"Gecko"==d&&0<c.indexOf("rv:1.")}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a);c&&
(a.src=b);return a};
_.qi=function(){function a(){return!!g("auth/useFirstPartyAuthV2")}function b(p,t,r,u,v){var w=g("proxy");if(u||!w){w=g("root");var z=g("root-1p")||w;w=w||"https://content.googleapis.com";z=z||"https://clients6.google.com";var B=g("xd3")||"/static/proxy.html";w=(u||String(t?z:w))+B}w=String(w);r&&(w+=(0<=w.indexOf("?")?"&":"?")+"usegapi=1");(t=_.Oe.getUrlParameters().jsh||_.qg.Fy.CI())&&(w+=(0<=w.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(t));w+="#parent="+encodeURIComponent(null!=v?String(v):
_.qg.getOrigin(document.location.href));return w+("&rpctoken="+p)}function c(p,t,r,u,v){var w=e(r,u,v);l[w]||(r=pi(w,t),_.Lf.register("ready:"+p,function(){_.Lf.unregister("ready:"+p);if(!m[w]){m[w]=!0;var z=n[w];n[w]=[];for(var B=0,A=z.length;B<A;++B){var E=z[B];f(E.rpc,E.UZ,E.callback)}}}),_.Lf.setupReceiver(w,t),l[w]=r)}function d(p,t,r){var u=String(2147483647*(0,_.vg)()|0),v=b(u,p,t,r);_.Jf(function(){c(u,v,p,t,r)})}function e(p,t,r){p=b("",p,t,r,"");r=k[p+t];if(!r){r=_.ug();r.update(p);r=r.Rg().toLowerCase();
var u=(0,_.vg)();r+=u;k[p+t]=r}return"apiproxy"+r}function f(p,t,r){var u=void 0,v=!1;if("makeHttpRequests"!==p)throw'only "makeHttpRequests" RPCs are implemented';var w=function(K){if(K){if("undefined"!=typeof u&&"undefined"!=typeof K.root&&u!=K.root)throw"all requests in a batch must have the same root URL";u=K.root||u;v=_.oi.AW(K.headers)}};if(t)for(var z=0,B=t.length;z<B;++z){var A=t[z];A&&w(A.params)}w=!!g("useGapiForXd3");var E=e(v,w,u);l[E]||d(v,w,u);m[E]?_.Lf.call(E,p,function(K){if(this.f==
E&&this.t==_.Lf.getAuthToken(this.f)&&this.origin==_.Lf.getTargetOrigin(this.f)){var W=_.Ef(K);r(W,K)}},t):(n[E]||(n[E]=[]),n[E].push({rpc:p,UZ:t,callback:r}))}function g(p){return _.R("googleapis.config/"+p)}var k={},l={},m={},n={};return{zR:function(p,t,r){var u=r||"auto";p=p||{};if("none"==u)return p;t=t||window.location.href;r=p.Authorization;var v=p.OriginToken;if(!r&&!v){(v=_.Gh())&&v.access_token&&("oauth2"==u||"auto"==u)&&(r=String(v.token_type||"Bearer")+" "+v.access_token);if(v=!r)v=(!!g("auth/useFirstPartyAuth")||
"1p"==u)&&"oauth2"!=u;if(v&&_.oi.CX()){if(a()){r=g("primaryEmail");u=g("appDomain");v=g("fogId");var w=[];r&&w.push({key:"e",value:r});u&&w.push({key:"a",value:u});v&&w.push({key:"u",value:v});r=_.oi.mA(w)}else r=_.oi.mA();r&&(t=_.Eh(t),t=p["X-Goog-AuthUser"]||t,_.Me(_.oh(t))&&(!a()||a()&&_.Me(_.oh(g("primaryEmail")))&&_.Me(_.oh(g("appDomain")))&&_.Me(_.oh(g("fogId"))))&&(t="0"),_.Me(_.oh(t))||(p["X-Goog-AuthUser"]=t))}r?p.Authorization=r:!1!==g("auth/useOriginToken")&&(v=_.oi.MU())&&(p.OriginToken=
v)}return p},sj:f}}();

var Eg,Fg;
_.Dg={AUTHORIZATION:"Authorization",Fx:"Content-ID",Gx:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",MO:"Date",WP:"OriginToken",nR:"WWW-Authenticate",cG:"X-ClientDetails",qR:"X-Goog-AuthUser",my:"X-Goog-Encode-Response-If-Executable",dG:"X-Goog-Meeting-Botguardid",eG:"X-Goog-Meeting-Debugid",fG:"X-Goog-Meeting-Token",rR:"X-Goog-PageId",ny:"X-Goog-Safety-Content-Type",oy:"X-Goog-Safety-Encoding",gG:"X-HTTP-Method-Override",hG:"X-JavaScript-User-Agent",iG:"X-Origin",py:"X-Referer",jG:"X-Requested-With",
sR:"X-Use-HTTP-Status-Code-Override"};
Eg=["Accept","Accept-Language",_.Dg.AUTHORIZATION,"Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.Dg.Gx,_.Dg.CONTENT_TYPE,_.Dg.MO,"GData-Version","google-cloud-resource-prefix","Host","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","MIME-Version","Origin",_.Dg.WP,"Pragma","Range","Slug","Transfer-Encoding","Want-Digest","x-chrome-connected","X-Client-Data",_.Dg.cG,"X-Client-Version","X-Firebase-Locale",
"X-GData-Client","X-GData-Key",_.Dg.qR,_.Dg.rR,_.Dg.my,"X-GoogApps-Allowed-Domains","X-Goog-AdX-Buyer-Impersonation","X-Goog-Api-Client","X-Goog-Api-Key","X-Goog-Correlation-Id","X-Goog-Request-Info","X-Goog-Request-Reason","X-Goog-Experiments","x-goog-ext-124712974-jspb","x-goog-ext-259736195-jspb","X-Goog-Firebase-Installations-Auth","x-goog-iam-authority-selector","x-goog-iam-authorization-token","X-Goog-Spatula","X-Goog-Travel-Bgr","X-Goog-Travel-Settings","X-Goog-Upload-Command","X-Goog-Upload-Content-Disposition",
"X-Goog-Upload-Content-Length","X-Goog-Upload-Content-Type","X-Goog-Upload-File-Name","X-Goog-Upload-Header-Content-Length","X-Goog-Upload-Offset","X-Goog-Upload-Protocol","X-Goog-User-Project","X-Goog-Visitor-Id","X-Goog-FieldMask","X-Google-Project-Override",_.Dg.gG,_.Dg.hG,"X-Pan-Versionid","X-Proxied-User-IP",_.Dg.iG,_.Dg.py,_.Dg.jG,"X-Stadia-Client-Context","X-Upload-Content-Length","X-Upload-Content-Type",_.Dg.sR,"X-Ios-Bundle-Identifier","X-Android-Package","X-Ariane-Xsrf-Token","X-Earth-Engine-App-ID-Token",
"X-Earth-Engine-Computation-Profile","X-Earth-Engine-Computation-Profiling","X-Play-Console-Experiments-Override","X-YouTube-VVT","X-YouTube-Page-CL","X-YouTube-Page-Timestamp",_.Dg.dG,_.Dg.eG,_.Dg.fG,"X-Sfdc-Authorization"];
Fg=["Digest","Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.Dg.Gx,_.Dg.CONTENT_TYPE,"Date","ETag","Expires","Last-Modified","Location","Pragma","Range","Server","Transfer-Encoding",_.Dg.nR,"Vary","Unzipped-Content-MD5","X-Goog-Generation","X-Goog-Metageneration",_.Dg.ny,_.Dg.oy,"X-Google-Trace","X-Goog-Upload-Chunk-Granularity","X-Goog-Upload-Control-URL","X-Goog-Upload-Size-Received","X-Goog-Upload-Status","X-Goog-Upload-URL",
"X-Goog-Diff-Download-Range","X-Goog-Hash","X-Goog-Updated-Authorization","X-Server-Object-Version","X-Guploader-Customer","X-Guploader-Upload-Result","X-Guploader-Uploadid","X-Google-Gfe-Backend-Request-Cost","X-Earth-Engine-Computation-Profile",_.Dg.dG,_.Dg.eG,_.Dg.fG];
var Gg,Hg,Ig,Jg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg;Gg=null;Hg=null;Ig=null;Jg=function(a,b){var c=a.length;if(c!=b.length)return!1;for(var d=0;d<c;++d){var e=a.charCodeAt(d),f=b.charCodeAt(d);65<=e&&90>=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0};
_.Kg=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=0,e=a.length;d<e;++d){var f=a.charAt(d),g=a.charCodeAt(d);if(55296<=g&&56319>=g&&d+1<e){var k=a.charAt(d+1),l=a.charCodeAt(d+1);56320<=l&&57343>=l&&(f+=k,g=65536+(g-55296<<10)+(l-56320),++d)}if(!(0<=g&&1114109>=g)||55296<=g&&57343>=g||64976<=g&&65007>=g||65534==(g&65534))g=65533,f=String.fromCharCode(g);k=!(32<=g&&126>=g)||" "==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?(g=l,f=0==g?"":"%"+(256+l).toString(16).toUpperCase().substr(1),d+=2):k=!0));k&&(f=encodeURIComponent(f),1>=f.length&&(0<=g&&127>=g?f="%"+(256+g).toString(16).toUpperCase().substr(1):(g=65533,f=encodeURIComponent(String.fromCharCode(g)))));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<e;++d)f=b[d],g=f.split("%2E").join("."),g=g.split(encodeURIComponent("\uff0e")).join("."),"."==g?d+1==e&&c.push(""):
".."==g?(0<c.length&&c.pop(),d+1==e&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&"/"==a.charAt(0);)a=a.substr(1);return"/"+a};Lg={"access-control-allow-origin":!0,"access-control-allow-credentials":!0,"access-control-expose-headers":!0,"access-control-max-age":!0,"access-control-allow-headers":!0,"access-control-allow-methods":!0,p3p:!0,"proxy-authenticate":!0,"set-cookie":!0,"set-cookie2":!0,status:!0,tsv:!0,"":!0};
Mg={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,"client-ip":!0,clientip:!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,forwarded:!0,"forwarded-for":!0,"front-end-https":!0,host:!0,"keep-alive":!0,"max-forwards":!0,method:!0,origin:!0,"raw-post-data":!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,url:!0,"user-agent":!0,version:!0,via:!0,"x-att-deviceid":!0,"x-chrome-connected":!0,
"x-client-data":!0,"x-client-ip":!0,"x-do-not-track":!0,"x-forwarded-by":!0,"x-forwarded-for":!0,"x-forwarded-host":!0,"x-forwarded-proto":!0,"x-geo":!0,"x-googapps-allowed-domains":!0,"x-origin":!0,"x-proxyuser-ip":!0,"x-real-ip":!0,"x-referer":!0,"x-uidh":!0,"x-user-ip":!0,"x-wap-profile":!0,"":!0};
Ng=function(a){if(!_.jb(a))return null;for(var b={},c=0;c<a.length;c++){var d=a[c];if("string"===typeof d&&d){var e=d.toLowerCase();Jg(d,e)&&(b[e]=d)}}for(var f in _.Dg)Object.prototype.hasOwnProperty.call(_.Dg,f)&&(d=_.Dg[f],e=d.toLowerCase(),Jg(d,e)&&Object.prototype.hasOwnProperty.call(b,e)&&(b[e]=d));return b};Og=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Pg=/[ \t]*(\r?\n[ \t]+)+/g;Qg=/^[ \t]+|[ \t]+$/g;
Rg=function(a,b){if(!b&&"object"===typeof a&&a&&"number"===typeof a.length){b=a;a="";for(var c=0,d=b.length;c<d;++c){var e=Rg(b[c],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(Pg," "),a=a.replace(Qg,""),""==a.replace(Og,"")&&a))return a};Sg=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.Tg=function(a){if("string"!==typeof a||!a||!a.match(Sg))return null;a=a.toLowerCase();if(null==Ig){var b=[],c=_.R("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.R("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Fg);(c=_.R("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.R("client/headers/request"))&&
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Eg);for(var d in _.Dg)Object.prototype.hasOwnProperty.call(_.Dg,d)&&b.push(_.Dg[d]);Ig=Ng(b)}return null!=Ig&&Ig.hasOwnProperty(a)?Ig[a]:a};
_.Ug=function(a,b){if(!_.Tg(a)||!Rg(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Mg[a])return null;if(null==Gg){b=[];var c=_.R("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.R("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Eg);Gg=Ng(b)}return null!=Gg&&Gg.hasOwnProperty(a)?Gg[a]:null};
_.Vg=function(a,b){if(!_.Tg(a)||!Rg(b))return null;a=a.toLowerCase();if(Lg[a])return null;if(null==Hg){b=[];var c=_.R("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.R("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Fg);Hg=Ng(b)}return null!=Hg&&Hg.hasOwnProperty(a)?a:null};
_.Wg=function(a,b){if(_.Tg(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Jg(d,b)){var e=Rg(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.Xg=function(a,b,c,d){var e=_.Tg(b);if(e){c&&(c=Rg(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Jg(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.Yg=function(a,b){var c={};if(!a)return c;a=a.split("\r\n");for(var d=0,e=a.length;d<e;++d){var f=a[d];if(!f)break;var g=f.indexOf(":");if(!(0>=g)){var k=f.substring(0,g);if(k=_.Tg(k)){for(f=f.substring(g+1);d+1<e&&a[d+1].match(/^[ \t]/);)f+="\r\n"+a[d+1],++d;if(f=Rg(f))if(k=_.Vg(k,f)||(b?void 0:k))k=k.toLowerCase(),g=_.Wg(c,k),void 0!==g&&(f=g+", "+f),_.Xg(c,k,f,!0)}}}return c};

_.Zg=function(){return _.Fb("Firefox")||_.Fb("FxiOS")};_.$g=function(){return(_.Fb("Chrome")||_.Fb("CriOS"))&&!_.Fb("Edge")};_.ah=function(){return _.Fb("Safari")&&!(_.$g()||_.Fb("Coast")||_.Jb()||_.Fb("Edge")||_.Fb("Edg/")||_.Fb("OPR")||_.Zg()||_.Fb("Silk")||_.Fb("Android"))};_.bh=function(){return _.Fb("Android")&&!(_.$g()||_.Zg()||_.Jb()||_.Fb("Silk"))};_.ch=_.Zg();_.dh=_.Ac()||_.Fb("iPod");_.eh=_.Fb("iPad");_.fh=_.bh();_.gh=_.$g();_.hh=_.ah()&&!_.Bc();

var ih;ih={};_.jh=null;_.kh=_.Kc||_.Lc&&!_.hh||_.Gc||!_.hh&&!_.Hc&&"function"==typeof _.q.atob;_.mh=function(a,b){void 0===b&&(b=0);_.lh();b=ih[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")};
_.lh=function(){if(!_.jh){_.jh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ih[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===_.jh[f]&&(_.jh[f]=e)}}}};

var cq;_.aq=function(a,b){a=a.split(".");b=b||_.q;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};_.bq=function(a,b){b=(0,_.rb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};cq=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.dq=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
_.eq=function(){this.Ib=this.Ib;this.im=this.im};_.eq.prototype.Ib=!1;_.eq.prototype.Sn=function(){return this.Ib};_.eq.prototype.Ea=function(){this.Ib||(this.Ib=!0,this.ua())};_.hq=function(a,b){_.fq(a,_.ij(_.gq,b))};_.fq=function(a,b){a.Ib?b():(a.im||(a.im=[]),a.im.push(b))};_.eq.prototype.ua=function(){if(this.im)for(;this.im.length;)this.im.shift()()};_.gq=function(a){a&&"function"==typeof a.Ea&&a.Ea()};
_.iq=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.tm=!1;this.eM=!0};_.iq.prototype.stopPropagation=function(){this.tm=!0};_.iq.prototype.preventDefault=function(){this.defaultPrevented=!0;this.eM=!1};
var kq,lq;_.jq=!_.Hc||_.dd(9);kq=!_.Hc||_.dd(9);lq=_.Hc&&!_.bd("9");!_.Lc||_.bd("528");_.Kc&&_.bd("1.9b")||_.Hc&&_.bd("8")||_.Gc&&_.bd("9.5")||_.Lc&&_.bd("528");_.Kc&&!_.bd("8")||_.Hc&&_.bd("9");var mq=function(){if(!_.q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.q.addEventListener("test",_.ib,b),_.q.removeEventListener("test",_.ib,b)}catch(c){}return a}();
_.nq=_.Lc?"webkitTransitionEnd":_.Gc?"otransitionend":"transitionend";
_.oq=function(a,b){_.iq.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.SC=!1;this.pointerId=0;this.pointerType="";this.we=null;a&&this.init(a,b)};_.H(_.oq,_.iq);var pq={2:"touch",3:"pen",4:"mouse"};
_.oq.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.Kc&&(_.Dc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.Lc||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Lc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.SC=_.Nc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:pq[a.pointerType]||"";this.state=a.state;this.we=a;a.defaultPrevented&&this.preventDefault()};_.oq.prototype.stopPropagation=function(){_.oq.H.stopPropagation.call(this);this.we.stopPropagation?this.we.stopPropagation():this.we.cancelBubble=!0};
_.oq.prototype.preventDefault=function(){_.oq.H.preventDefault.call(this);var a=this.we;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,lq)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var sq;_.qq="closure_listenable_"+(1E6*Math.random()|0);_.rq=function(a){return!(!a||!a[_.qq])};sq=0;
var tq=function(a,b,c,d,e){this.listener=a;this.qw=null;this.src=b;this.type=c;this.capture=!!d;this.Be=e;this.key=++sq;this.qo=this.Ft=!1},uq=function(a){a.qo=!0;a.listener=null;a.qw=null;a.src=null;a.Be=null};
_.vq=function(a){this.src=a;this.wd={};this.Ms=0};_.vq.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.wd[f];a||(a=this.wd[f]=[],this.Ms++);var g=wq(a,b,d,e);-1<g?(b=a[g],c||(b.Ft=!1)):(b=new tq(b,this.src,f,!!d,e),b.Ft=c,a.push(b));return b};_.vq.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.wd))return!1;var e=this.wd[a];b=wq(e,b,c,d);return-1<b?(uq(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.wd[a],this.Ms--),!0):!1};
_.xq=function(a,b){var c=b.type;if(!(c in a.wd))return!1;var d=_.bq(a.wd[c],b);d&&(uq(b),0==a.wd[c].length&&(delete a.wd[c],a.Ms--));return d};_.vq.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.wd)if(!a||c==a){for(var d=this.wd[c],e=0;e<d.length;e++)++b,uq(d[e]);delete this.wd[c];this.Ms--}return b};_.vq.prototype.yn=function(a,b,c,d){a=this.wd[a.toString()];var e=-1;a&&(e=wq(a,b,c,d));return-1<e?a[e]:null};
_.vq.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return cq(this.wd,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var wq=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.qo&&f.listener==b&&f.capture==!!c&&f.Be==d)return e}return-1};
var yq,zq,Aq,Eq,Gq,Hq,Lq,Kq,Iq,Mq;yq="closure_lm_"+(1E6*Math.random()|0);zq={};Aq=0;_.Cq=function(a,b,c,d,e){if(d&&d.once)return _.Bq(a,b,c,d,e);if(_.ab(b)){for(var f=0;f<b.length;f++)_.Cq(a,b[f],c,d,e);return null}c=_.Dq(c);return _.rq(a)?a.U(b,c,_.kb(d)?!!d.capture:!!d,e):Eq(a,b,c,!1,d,e)};
Eq=function(a,b,c,d,e,f){if(!b)throw Error("E");var g=_.kb(e)?!!e.capture:!!e,k=_.Fq(a);k||(a[yq]=k=new _.vq(a));c=k.add(b,c,d,g,f);if(c.qw)return c;d=Gq();c.qw=d;d.src=a;d.listener=c;if(a.addEventListener)mq||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Hq(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("F");Aq++;return c};
Gq=function(){var a=Iq,b=kq?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b};_.Bq=function(a,b,c,d,e){if(_.ab(b)){for(var f=0;f<b.length;f++)_.Bq(a,b[f],c,d,e);return null}c=_.Dq(c);return _.rq(a)?a.Zn(b,c,_.kb(d)?!!d.capture:!!d,e):Eq(a,b,c,!0,d,e)};
_.Jq=function(a){if("number"===typeof a||!a||a.qo)return!1;var b=a.src;if(_.rq(b))return b.GE(a);var c=a.type,d=a.qw;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Hq(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Aq--;(c=_.Fq(b))?(_.xq(c,a),0==c.Ms&&(c.src=null,b[yq]=null)):uq(a);return!0};Hq=function(a){return a in zq?zq[a]:zq[a]="on"+a};
Lq=function(a,b,c,d){var e=!0;if(a=_.Fq(a))if(b=a.wd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.qo&&(f=Kq(f,d),e=e&&!1!==f)}return e};Kq=function(a,b){var c=a.listener,d=a.Be||a.src;a.Ft&&_.Jq(a);return c.call(d,b)};
Iq=function(a,b){if(a.qo)return!0;if(!kq){var c=b||_.aq("window.event");b=new _.oq(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.tm&&0<=e;e--){b.currentTarget=c[e];var f=Lq(c[e],a,!0,b);d=d&&f}for(e=0;!b.tm&&e<c.length;e++)b.currentTarget=c[e],f=Lq(c[e],a,!1,b),d=d&&f}return d}return Kq(a,new _.oq(b,
this))};_.Fq=function(a){a=a[yq];return a instanceof _.vq?a:null};Mq="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Dq=function(a){if(_.mb(a))return a;a[Mq]||(a[Mq]=function(b){return a.handleEvent(b)});return a[Mq]};_.nj(function(a){Iq=a(Iq)});

_.Nq=function(a,b){a.prototype=(0,_.va)(b.prototype);a.prototype.constructor=a;if(_.Ia)(0,_.Ia)(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.H=b.prototype};_.Oq=function(a){a.HB=void 0;a.Ma=function(){return a.HB?a.HB:a.HB=new a}};_.Pq=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Qq=function(a){for(var b in a)return!1;return!0};
_.Rq=function(a,b,c,d,e){if(_.ab(b))for(var f=0;f<b.length;f++)_.Rq(a,b[f],c,d,e);else d=_.kb(d)?!!d.capture:!!d,c=_.Dq(c),_.rq(a)?a.$b(b,c,d,e):a&&(a=_.Fq(a))&&(b=a.yn(b,c,d,e))&&_.Jq(b)};_.Sq=function(){_.eq.call(this);this.Pi=new _.vq(this);this.yR=this;this.MC=null};_.H(_.Sq,_.eq);_.Sq.prototype[_.qq]=!0;_.h=_.Sq.prototype;_.h.Gl=function(){return this.MC};_.h.Qw=_.fa(18);_.h.addEventListener=function(a,b,c,d){_.Cq(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.Rq(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.Gl();if(c)for(b=[];c;c=c.Gl())b.push(c);c=this.yR;var d=a.type||a;if("string"===typeof a)a=new _.iq(a,c);else if(a instanceof _.iq)a.target=a.target||c;else{var e=a;a=new _.iq(d,c);_.Ib(a,e)}e=!0;if(b)for(var f=b.length-1;!a.tm&&0<=f;f--){var g=a.currentTarget=b[f];e=g.jq(d,!0,a)&&e}a.tm||(g=a.currentTarget=c,e=g.jq(d,!0,a)&&e,a.tm||(e=g.jq(d,!1,a)&&e));if(b)for(f=0;!a.tm&&f<b.length;f++)g=a.currentTarget=b[f],e=g.jq(d,!1,a)&&e;return e};
_.h.ua=function(){_.Sq.H.ua.call(this);this.eD();this.MC=null};_.h.U=function(a,b,c,d){return this.Pi.add(String(a),b,!1,c,d)};_.h.Zn=function(a,b,c,d){return this.Pi.add(String(a),b,!0,c,d)};_.h.$b=function(a,b,c,d){return this.Pi.remove(String(a),b,c,d)};_.h.GE=function(a){return _.xq(this.Pi,a)};_.h.eD=function(a){this.Pi&&this.Pi.removeAll(a)};
_.h.jq=function(a,b,c){a=this.Pi.wd[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.qo&&f.capture==b){var g=f.listener,k=f.Be||f.src;f.Ft&&this.GE(f);d=!1!==g.call(k,c)&&d}}return d&&0!=c.eM};_.h.yn=function(a,b,c,d){return this.Pi.yn(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Pi.hasListener(void 0!==a?String(a):void 0,b)};

_.Dt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Et="StopIteration"in _.q?_.q.StopIteration:{message:"StopIteration",stack:""};_.Ft=function(){};_.Ft.prototype.next=function(){throw _.Et;};_.Ft.prototype.Ci=function(){return this};

_.Gt=function(a,b){this.W={};this.Ob=[];this.Rf=this.Xb=0;var c=arguments.length;if(1<c){if(c%2)throw Error("h");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.h=_.Gt.prototype;_.h.Jb=function(){return this.Xb};_.h.Fd=function(){Ht(this);for(var a=[],b=0;b<this.Ob.length;b++)a.push(this.W[this.Ob[b]]);return a};_.h.Bf=function(){Ht(this);return this.Ob.concat()};_.h.qe=function(a){return _.It(this.W,a)};_.h.rl=_.fa(4);
_.h.equals=function(a,b){if(this===a)return!0;if(this.Xb!=a.Jb())return!1;b=b||Jt;Ht(this);for(var c,d=0;c=this.Ob[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Jt=function(a,b){return a===b};_.Gt.prototype.isEmpty=function(){return 0==this.Xb};_.Gt.prototype.clear=function(){this.W={};this.Rf=this.Xb=this.Ob.length=0};_.Gt.prototype.remove=function(a){return _.It(this.W,a)?(delete this.W[a],this.Xb--,this.Rf++,this.Ob.length>2*this.Xb&&Ht(this),!0):!1};
var Ht=function(a){if(a.Xb!=a.Ob.length){for(var b=0,c=0;b<a.Ob.length;){var d=a.Ob[b];_.It(a.W,d)&&(a.Ob[c++]=d);b++}a.Ob.length=c}if(a.Xb!=a.Ob.length){var e={};for(c=b=0;b<a.Ob.length;)d=a.Ob[b],_.It(e,d)||(a.Ob[c++]=d,e[d]=1),b++;a.Ob.length=c}};_.h=_.Gt.prototype;_.h.get=function(a,b){return _.It(this.W,a)?this.W[a]:b};_.h.set=function(a,b){_.It(this.W,a)||(this.Xb++,this.Ob.push(a),this.Rf++);this.W[a]=b};
_.h.addAll=function(a){if(a instanceof _.Gt)for(var b=a.Bf(),c=0;c<b.length;c++)this.set(b[c],a.get(b[c]));else for(b in a)this.set(b,a[b])};_.h.forEach=function(a,b){for(var c=this.Bf(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};_.h.clone=function(){return new _.Gt(this)};_.h.Ci=function(a){Ht(this);var b=0,c=this.Rf,d=this,e=new _.Ft;e.next=function(){if(c!=d.Rf)throw Error("K");if(b>=d.Ob.length)throw _.Et;var f=d.Ob[b++];return a?f:d.W[f]};return e};
_.It=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

_.Kt=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.Lt=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Mt=function(a,b){var c=_.jb(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};_.Nt=function(a){if(a.Fd&&"function"==typeof a.Fd)return a.Fd();if("string"===typeof a)return a.split("");if(_.jb(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.Kt(a)};
_.Ot=function(a){if(a.Bf&&"function"==typeof a.Bf)return a.Bf();if(!a.Fd||"function"!=typeof a.Fd){if(_.jb(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.Lt(a)}};_.Pt=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.jb(a)||"string"===typeof a)(0,_.tb)(a,b,c);else for(var d=_.Ot(a),e=_.Nt(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};

_.iy=function(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c};

var jy;_.ky=function(a){return(new jy).Am(a)};jy=function(){};jy.prototype.Am=function(a){var b=[];ly(this,a,b);return b.join("")};
var ly=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(_.ab(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),ly(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),my(d,c),c.push(":"),ly(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":my(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("oa`"+typeof b);}}},ny={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},oy=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,my=function(a,b){b.push('"',a.replace(oy,function(c){var d=ny[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),ny[c]=d);return d}),'"')};

_.py=function(a,b,c){if(_.mb(a))c&&(a=(0,_.L)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.L)(a.handleEvent,a);else throw Error("pa");return 2147483647<Number(b)?-1:_.q.setTimeout(a,b||0)};_.qy=function(a){_.q.clearTimeout(a)};_.ry=function(a){var b=null;return(new _.Pj(function(c,d){b=_.py(function(){c(void 0)},a);-1==b&&d(Error("qa"))})).hx(function(c){_.qy(b);throw c;})};

var wy,xy,Ay,Cy;_.sy=function(a){return(a=_.fy(a))?new ActiveXObject(a):new XMLHttpRequest};_.ty=function(a){if(!_.ab(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};_.uy=function(a){var b=0,c;for(c in a)b++;return b};_.vy=function(a){var b=_.$a(a);if("object"==b||"array"==b){if(_.mb(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.vy(a[c]);return b}return a};wy=function(a){return Array.prototype.join.call(arguments,"")};
xy=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.rh(a[b],a[b+1],c);return c.join("&")};_.yy=function(a,b){var c=2==arguments.length?xy(arguments[1],0):xy(arguments,1);return _.qh(a,c)};_.zy=function(a,b){_.Pq(a,"/")&&(a=a.substr(0,a.length-1));_.ld(b,"/")&&(b=b.substr(1));return wy(a,"/",b)};Ay={};_.By=function(a){if(Ay[a])return Ay[a];a=String(a);if(!Ay[a]){var b=/function\s+([^\(]+)/m.exec(a);Ay[a]=b?b[1]:"[Anonymous]"}return Ay[a]};
Cy=function(a,b){var c=[];if(_.yb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(_.By(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=_.By(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.substr(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(Cy(a.caller,
b))}catch(g){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")};_.Dy=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||_.Dy),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=Cy(a||arguments.callee.caller,[]));return b};_.Ey=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};
_.Fy=function(a,b){_.Sq.call(this);this.zk=a||1;this.Gs=b||_.q;this.SG=(0,_.L)(this.m1,this);this.vK=(0,_.fb)()};_.H(_.Fy,_.Sq);_.h=_.Fy.prototype;_.h.enabled=!1;_.h.nc=null;_.h.setInterval=function(a){this.zk=a;this.nc&&this.enabled?(this.stop(),this.start()):this.nc&&this.stop()};
_.h.m1=function(){if(this.enabled){var a=(0,_.fb)()-this.vK;0<a&&a<.8*this.zk?this.nc=this.Gs.setTimeout(this.SG,this.zk-a):(this.nc&&(this.Gs.clearTimeout(this.nc),this.nc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.h.start=function(){this.enabled=!0;this.nc||(this.nc=this.Gs.setTimeout(this.SG,this.zk),this.vK=(0,_.fb)())};_.h.stop=function(){this.enabled=!1;this.nc&&(this.Gs.clearTimeout(this.nc),this.nc=null)};
_.h.ua=function(){_.Fy.H.ua.call(this);this.stop();delete this.Gs};
var Hy,Iy,Jy;_.Gy=function(a){_.Sq.call(this);this.headers=new _.Gt;this.zx=a||null;this.qf=!1;this.yx=this.Oa=null;this.Dv="";this.Vn=0;this.Xl=this.DB=this.hv=this.Rz=!1;this.Im=0;this.kd=null;this.Ik="";this.QE=this.xh=!1};_.H(_.Gy,_.Sq);Hy=/^https?$/i;Iy=["POST","PUT"];Jy=[];_.Ky=function(a,b,c,d,e,f){var g=new _.Gy;Jy.push(g);b&&g.U("complete",b);g.Zn("ready",g.iS);f&&g.hE(f);g.send(a,c,d,e)};_.Gy.prototype.iS=function(){this.Ea();_.bq(Jy,this)};
_.Gy.prototype.hE=function(a){this.Im=Math.max(0,a)};
_.Gy.prototype.send=function(a,b,c,d){if(this.Oa)throw Error("ra`"+this.Dv+"`"+a);b=b?b.toUpperCase():"GET";this.Dv=a;this.Vn=0;this.Rz=!1;this.qf=!0;this.Oa=this.zx?_.sy(this.zx):_.sy(_.gy);this.yx=this.zx?this.zx.getOptions():_.gy.getOptions();this.Oa.onreadystatechange=(0,_.L)(this.jL,this);try{this.DB=!0,this.Oa.open(b,String(a),!0),this.DB=!1}catch(f){this.pu(5,f);return}a=c||"";var e=this.headers.clone();d&&_.Pt(d,function(f,g){e.set(g,f)});d=_.jj(e.Bf(),Ly);c=_.q.FormData&&a instanceof _.q.FormData;
!_.yb(Iy,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.Oa.setRequestHeader(g,f)},this);this.Ik&&(this.Oa.responseType=this.Ik);"withCredentials"in this.Oa&&this.Oa.withCredentials!==this.xh&&(this.Oa.withCredentials=this.xh);try{My(this),0<this.Im&&((this.QE=Ny(this.Oa))?(this.Oa.timeout=this.Im,this.Oa.ontimeout=(0,_.L)(this.Bg,this)):this.kd=_.py(this.Bg,this.Im,this)),this.hv=!0,this.Oa.send(a),this.hv=!1}catch(f){this.pu(5,f)}};
var Ny=function(a){return _.Hc&&_.bd(9)&&"number"===typeof a.timeout&&void 0!==a.ontimeout},Ly=function(a){return"content-type"==a.toLowerCase()};_.Gy.prototype.Bg=function(){"undefined"!=typeof _.Za&&this.Oa&&(this.Vn=8,this.dispatchEvent("timeout"),this.abort(8))};_.Gy.prototype.pu=function(a){this.qf=!1;this.Oa&&(this.Xl=!0,this.Oa.abort(),this.Xl=!1);this.Vn=a;Oy(this);Py(this)};var Oy=function(a){a.Rz||(a.Rz=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.Gy.prototype.abort=function(a){this.Oa&&this.qf&&(this.qf=!1,this.Xl=!0,this.Oa.abort(),this.Xl=!1,this.Vn=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Py(this))};_.Gy.prototype.ua=function(){this.Oa&&(this.qf&&(this.qf=!1,this.Xl=!0,this.Oa.abort(),this.Xl=!1),Py(this,!0));_.Gy.H.ua.call(this)};_.Gy.prototype.jL=function(){this.Ib||(this.DB||this.hv||this.Xl?Qy(this):this.AC())};_.Gy.prototype.AC=function(){Qy(this)};
var Qy=function(a){if(a.qf&&"undefined"!=typeof _.Za&&(!a.yx[1]||4!=_.Ry(a)||2!=a.getStatus()))if(a.hv&&4==_.Ry(a))_.py(a.jL,0,a);else if(a.dispatchEvent("readystatechange"),4==_.Ry(a)){a.qf=!1;try{_.Sy(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Vn=6,a.getStatus(),Oy(a))}finally{Py(a)}}},Py=function(a,b){if(a.Oa){My(a);var c=a.Oa,d=a.yx[0]?_.ib:null;a.Oa=null;a.yx=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},My=function(a){a.Oa&&a.QE&&(a.Oa.ontimeout=
null);a.kd&&(_.qy(a.kd),a.kd=null)};_.Gy.prototype.Wd=function(){return!!this.Oa};_.Sy=function(a){var b=a.getStatus(),c;if(!(c=_.Ey(b))){if(b=0===b)a=String(a.Dv).match(_.ph)[1]||null,!a&&_.q.self&&_.q.self.location&&(a=_.q.self.location.protocol,a=a.substr(0,a.length-1)),b=!Hy.test(a?a.toLowerCase():"");c=b}return c};_.Ry=function(a){return a.Oa?a.Oa.readyState:0};_.Gy.prototype.getStatus=function(){try{return 2<_.Ry(this)?this.Oa.status:-1}catch(a){return-1}};
_.Ty=function(a){try{return a.Oa?a.Oa.responseText:""}catch(b){return""}};_.Uy=function(a){try{if(!a.Oa)return null;if("response"in a.Oa)return a.Oa.response;switch(a.Ik){case "":case "text":return a.Oa.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Oa)return a.Oa.mozResponseArrayBuffer}return null}catch(b){return null}};_.Gy.prototype.getResponseHeader=function(a){if(this.Oa&&4==_.Ry(this))return a=this.Oa.getResponseHeader(a),null===a?void 0:a};
_.Gy.prototype.getAllResponseHeaders=function(){return this.Oa&&4==_.Ry(this)?this.Oa.getAllResponseHeaders()||"":""};_.nj(function(a){_.Gy.prototype.AC=a(_.Gy.prototype.AC)});

var Mu,Nu,Ou,Pu,Ru,Su,Tu,Uu,Wu;oauth2={};_.Lu=!1;Mu=function(a){try{_.Lu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Nu=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};Ou=function(a,b){function c(){}if(!a)throw"Child class cannot be empty.";if(!b)throw"Parent class cannot be empty.";c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};
Pu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.Qu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Ru=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Su=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw"Add event handler for "+b+" failed.";};Tu={token:1,id_token:1};
Uu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Vu=window.JSON;Wu=function(a){this.UE=a||[];this.Yb={}};Wu.prototype.addEventListener=function(a,b){if(!(0<=Nu(this.UE,a)))throw"Unrecognized event type: "+a;if(!Pu(b))throw"The listener for event '"+a+"' is not a function.";this.Yb[a]||(this.Yb[a]=[]);0>Nu(this.Yb[a],b)&&this.Yb[a].push(b)};
Wu.prototype.removeEventListener=function(a,b){if(!(0<=Nu(this.UE,a)))throw"Unrecognized event type: "+a;Pu(b)&&this.Yb[a]&&this.Yb[a].length&&(b=Nu(this.Yb[a],b),0<=b&&this.Yb[a].splice(b,1))};Wu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Nu(this.UE,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Yb[b]&&this.Yb[b].length)for(var c=0,d=this.Yb[b].length;c<d;c++)this.Yb[b][c](a)};
var Xu,Yu,Zu,cv,dv,uv,vv,xv,yv,Av,Jv;Xu={};Yu={};Zu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.$u=function(a,b){if(a=Zu[a])return a[b]};_.av=function(a,b){if(!a)throw Error("N");if(!b.authServerUrl)throw Error("O");if(!b.idpIFrameUrl)throw Error("P");Zu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.bv=void 0;
cv=function(a){a.style.position="absolute";a.style.width="1px";a.style.height="1px";a.style.left="-9999px";a.style.top="-9999px";a.style.right="-9999px";a.style.bottom="-9999px";a.style.display="none";a.setAttribute("aria-hidden","true")};dv=function(){this.W1=window;this.Xt=this.ol=this.Nr=this.kh=null};
dv.prototype.open=function(a,b,c,d){ev(this);this.Nr?(this.ol&&(this.ol(),this.ol=null),fv(this)):this.Nr="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.kh=this.W1.open(a,this.Nr,b);try{this.kh.focus();if(this.kh.closed||"undefined"==typeof this.kh.closed)throw Error("R");_.bv=this.kh}catch(e){d&&setTimeout(d,0);this.kh=null;break a}c&&(this.ol=c,gv(this))}};
var ev=function(a){try{if(null==a.kh||a.kh.closed)a.kh=null,a.Nr=null,fv(a),a.ol&&(a.ol(),a.ol=null)}catch(b){a.kh=null,a.Nr=null,fv(a)}},gv=function(a){a.Xt=window.setInterval(function(){ev(a)},300)},fv=function(a){a.Xt&&(window.clearInterval(a.Xt),a.Xt=null)};Yu=Yu||{};var hv=function(a,b){this.Gb=a;this.KB=b;this.kd=null;this.Sl=!1};hv.prototype.start=function(){if(!this.Sl&&!this.kd){var a=this;this.kd=window.setTimeout(function(){a.clear();a.Sl||(a.Gb(),a.Sl=!0)},Yu.UI(this.KB))}};
hv.prototype.clear=function(){this.kd&&(window.clearTimeout(this.kd),this.kd=null)};var iv=function(a,b){var c=Yu.vp;this.NW=Yu.gp;this.cO=c;this.Gb=a;this.KB=b;this.kd=null;this.Sl=!1;var d=this;this.dO=function(){document[d.NW]||(d.clear(),d.start())}};iv.prototype.start=function(){if(!this.Sl&&!this.kd){Su(document,this.cO,this.dO);var a=this;this.kd=window.setTimeout(function(){a.clear();a.Sl||(a.Gb(),a.Sl=!0)},Yu.UI(this.KB))}};
iv.prototype.clear=function(){var a=this.cO,b=this.dO,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw"Remove event handler for "+a+" failed.";this.kd&&(window.clearTimeout(this.kd),this.kd=null)};Yu.gp=null;Yu.vp=null;
Yu.jX=function(){var a=document;"undefined"!==typeof a.hidden?(Yu.gp="hidden",Yu.vp="visibilitychange"):"undefined"!==typeof a.msHidden?(Yu.gp="msHidden",Yu.vp="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Yu.gp="webkitHidden",Yu.vp="webkitvisibilitychange")};Yu.jX();Yu.AS=function(a,b){return Yu.gp&&Yu.vp?new iv(a,b):new hv(a,b)};Yu.UI=function(a){return Math.max(1,a-(new Date).getTime())};
var jv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},kv=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var t=g,r=0;64>r;r+=4)t[r/4]=p[r]<<24|p[r+1]<<16|p[r+2]<<8|p[r+3];for(r=16;80>r;r++)p=t[r-3]^t[r-8]^t[r-14]^t[r-16],t[r]=(p<<1|p>>>31)&4294967295;p=e[0];var u=e[1],v=e[2],w=e[3],z=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var B=w^u&(v^w);var A=1518500249}else B=
u^v^w,A=1859775393;else 60>r?(B=u&v|w&(u|v),A=2400959708):(B=u^v^w,A=3395469782);B=((p<<5|p>>>27)&4294967295)+B+z+A+t[r]&4294967295;z=w;w=v;v=(u<<30|u>>>2)&4294967295;u=p;p=B}e[0]=e[0]+p&4294967295;e[1]=e[1]+u&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],u=0,v=p.length;u<v;++u)r.push(p.charCodeAt(u));p=r}t||(t=p.length);r=0;if(0==m)for(;r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64;for(;r<
t;)if(f[m++]=p[r++],n++,64==m)for(m=0,b(f);r+64<t;)b(p.slice(r,r+64)),r+=64,n+=64}function d(){var p=[],t=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var r=63;56<=r;r--)f[r]=t&255,t>>>=8;b(f);for(r=t=0;5>r;r++)for(var u=24;0<=u;u-=8)p[t++]=e[r]>>u&255;return p}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Rg:function(){for(var p=d(),t="",r=0;r<p.length;r++)t+="0123456789ABCDEF".charAt(Math.floor(p[r]/16))+"0123456789ABCDEF".charAt(p[r]%16);return t}}},lv=
window.crypto,mv=!1,nv=0,ov=1,pv=0,qv="",rv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;ov=ov*b%pv;if(3==++nv)if(a=window,b=rv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("S`mousemove");},sv=function(a){var b=kv();b.update(a);return b.Rg()};mv=!!lv&&"function"==typeof lv.getRandomValues;
mv||(pv=1E6*(screen.width*screen.width+screen.height),qv=sv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Su(window,"mousemove",rv));Xu=Xu||{};Xu.kP="ssIFrame_";
_.tv=function(a,b){this.Db=a;if(!this.Db)throw Error("T");a=_.$u(a,"idpIFrameUrl");if(!a)throw Error("U");this.LJ=a;if(!b)throw Error("V");this.xm=b;a=this.LJ;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];"http:"==b.protocol&&""!=b.port&&"0"!=b.port&&"80"!=b.port?(a.push(":"),a.push(b.port)):"https:"==b.protocol&&""!=b.port&&"0"!=b.port&&"443"!=b.port&&(a.push(":"),a.push(b.port));this.wB=a.join("");this.n_=[location.protocol,"//",location.host].join("");this.vB=
this.Nn=!1;this.HJ=null;this.$v=[];this.no=[];this.Hi={};this.Vl=void 0};_.tv.prototype.show=function(){var a=this.Vl;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.tv.prototype.lc=function(){cv(this.Vl)};
_.tv.prototype.Fv=function(a){if(this.Nn)a&&a(this);else{if(!this.Vl){var b=Xu.kP+this.Db;var c=this.Db;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Nu(e.split("|"),c))?jv(e,d):jv(e?e+"|"+c:c,d);c=!f;f=this.LJ;var g=this.n_;d=this.xm;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Pu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);cv(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Lu&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Vl=e}a&&this.$v.push(a)}};_.tv.prototype.Fl=function(){return this.HJ};uv=function(a){for(var b=0;b<a.$v.length;b++)a.$v[b](a);a.$v=[]};
_.wv=function(a,b,c,d){if(a.Nn){if(a.Nn&&a.vB)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Fl(),Mu(a),Error(a);vv(a,{method:b,params:c},d)}else a.no.push({rpc:{method:b,params:c},callback:d}),a.Fv()};vv=function(a,b,c){if(c){for(var d=b.id;!d||a.Hi[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Hi[d]=c}b.rpcToken=a.xm;a.Vl.contentWindow.postMessage(_.Vu.stringify(b),a.wB)};xv=function(a){if(a&&0<=a.indexOf("::"))throw Error("W");};
_.tv.prototype.Vh=function(a,b,c,d,e,f,g,k){xv(f);b=_.Qu(b);_.wv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.tv.prototype.Ev=function(a,b,c,d,e){b=_.Qu(b);_.wv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};yv=function(a,b,c){xv(b.identifier);_.wv(a,"getSessionSelector",b,c)};
_.zv=function(a,b,c,d,e){xv(b.identifier);_.wv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Av=function(a,b,c){_.wv(a,"monitorClient",{clientId:b},c)};_.tv.prototype.Vr=_.fa(25);_.tv.prototype.Yw=function(a,b){_.wv(this,"showDialog",{V$:a},b)};_.tv.prototype.Mp=_.fa(27);Xu.ev={};Xu.CA=function(a){return Xu.ev[a]};
Xu.Fv=function(a,b){var c=Xu.CA(a);if(!c){c=String;if(mv){var d=new window.Uint32Array(1);lv.getRandomValues(d);d=Number("0."+d[0])}else d=ov,d+=parseInt(qv.substr(0,20),16),qv=sv(qv),d/=pv+Math.pow(16,20);c=c(2147483647*d);c=new _.tv(a,c);Xu.ev[a]=c}c.Fv(b)};Xu.aU=function(a){for(var b in Xu.ev){var c=Xu.CA(b);if(c&&c.Vl&&c.Vl.contentWindow==a.source&&c.wB==a.origin)return c}};Xu.LU=function(a){for(var b in Xu.ev){var c=Xu.CA(b);if(c&&c.wB==a)return c}};Xu=Xu||{};
var Cv=function(){var a=[],b;for(b in Bv)a.push(Bv[b]);Wu.call(this,a);this.tk={};Mu("EventBus is ready.")};Ou(Cv,Wu);var Bv={JQ:"sessionSelectorChanged",Yx:"sessionStateChanged",Dx:"authResult",TO:"displayIFrame"},Ev=function(a){var b=Dv;a&&(b.tk[a]||(b.tk[a]=[]))},Fv=function(a,b,c){return b&&a.tk[b]&&0<=Nu(a.tk[b],c)};_.h=Cv.prototype;
_.h.tZ=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.bv);if(b=c?Xu.LU(a.origin):Xu.aU(a)){try{var d=_.Vu.parse(a.data)}catch(e){Mu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.xm){Mu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.Hi[c.id])delete b.Hi[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Mu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.KJ[a.type]?(d=this.KJ[a.type],
c&&!d.ER?Mu("Bad IDP event. Source window cannot be a popup."):d.Uo&&!d.Uo.call(this,b,a)?Mu("Bad IDP event."):d.Be.call(this,b,a)):Mu("Bad IDP event.")}else Mu("Bad event, no corresponding Idp Stub.")};_.h.N_=function(a,b){return Fv(this,a.Db,b.clientId)};_.h.M_=function(a,b){b=b.clientId;return!b||Fv(this,a.Db,b)};_.h.QR=function(a,b){return Fv(this,a.Db,b.clientId)};_.h.BY=function(a){a.Nn=!0;uv(a);for(var b=0;b<a.no.length;b++)vv(a,a.no[b].rpc,a.no[b].callback);a.no=[]};
_.h.AY=function(a,b){b={error:b.error};a.Nn=!0;a.vB=!0;a.HJ=b;a.no=[];uv(a)};_.h.xw=function(a,b){b.originIdp=a.Db;this.dispatchEvent(b)};var Dv=new Cv,Gv=Dv,Hv={};Hv.idpReady={Be:Gv.BY};Hv.idpError={Be:Gv.AY};Hv.sessionStateChanged={Be:Gv.xw,Uo:Gv.N_};Hv.sessionSelectorChanged={Be:Gv.xw,Uo:Gv.M_};Hv.authResult={Be:Gv.xw,Uo:Gv.QR,ER:!0};Hv.displayIFrame={Be:Gv.xw};Dv.KJ=Hv||{};Su(window,"message",function(a){Dv.tZ.call(Dv,a)});
_.Iv=function(a,b){this.fe=!1;if(!a)throw Error("X");var c=[],d;for(d in a)c.push(a[d]);Wu.call(this,c);this.Gc=[location.protocol,"//",location.host].join("");this.Vc=b.crossSubDomains?b.domain||this.Gc:this.Gc;if(!b)throw Error("Y");if(!b.idpId)throw Error("Z");if(!_.$u(b.idpId,"authServerUrl")||!_.$u(b.idpId,"idpIFrameUrl"))throw Error("$`"+b.idpId);this.Db=b.idpId;this.Wb=void 0;this.HS=!!b.disableTokenRefresh;this.zT=!!b.forceTokenRefresh;this.Q0=!!b.skipTokenCache;this.setOptions(b);this.Vp=
[];this.Yl=this.hK=!1;this.Rn=void 0;this.SL();this.Yc=void 0;var e=this,f=function(){Mu("Token Manager is ready.");if(e.Vp.length)for(var g=0;g<e.Vp.length;g++)e.Vp[g].call(e);e.hK=!0;e.Vp=[]};Xu.Fv(this.Db,function(g){e.Yc=g;g.Nn&&g.vB?(e.Yl=!0,e.Rn=g.Fl(),e.Wv(e.Rn)):e.Wb?Av(e.Yc,e.Wb,function(k){if(k){k=e.Db;var l=e.Wb,m=Dv;k&&l&&(m.tk[k]||(m.tk[k]=[]),0>Nu(m.tk[k],l)&&m.tk[k].push(l));f()}else e.Rn={error:"Not a valid origin for the client: "+e.Gc+" has not been whitelisted for client ID "+e.Wb+
". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.Yl=!0,e.Wv(e.Rn)}):(Ev(e.Db),f())})};Ou(_.Iv,Wu);_.Iv.prototype.setOptions=function(){};_.Iv.prototype.SL=function(){};_.Iv.prototype.Wv=function(){};_.Iv.prototype.Fl=function(){return this.Rn};Jv=function(a,b,c){return function(){b.apply(a,c)}};_.Kv=function(a,b,c){if(a.hK)b.apply(a,c);else{if(a.Yl)throw a.Rn;a.Vp.push(Jv(a,b,c))}};_.Iv.prototype.cH=_.fa(28);_.Iv.prototype.Mp=_.fa(26);
_.Mv=function(a,b){_.Iv.call(this,a,b);this.CL=new dv;this.lj=this.lm=null;Lv(this)};Ou(_.Mv,_.Iv);_.Mv.prototype.setOptions=function(){};
var Nv=function(a,b){a.ee={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Vc};b.crossSubDomains&&(a.ee.policy=b.policy)},Ov=function(a,b){if(!b.authParameters)throw Error("aa");if(!b.authParameters.scope)throw Error("ba");if(!b.authParameters.response_type)throw Error("ca");a.Bp=b.authParameters;a.Bp.redirect_uri||(a.Bp.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.fi=_.Qu(b.rpcAuthParameters||a.Bp);if(!a.fi.scope)throw Error("da");if(!a.fi.response_type)throw Error("ea");
a:{var c=a.fi.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Tu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("fa");b.enableSerialConsent&&(a.fi.enable_serial_consent=!0);b.authResultIdentifier&&(a.RR=b.authResultIdentifier);b.spec_compliant&&(a.fi.spec_compliant=b.spec_compliant)};
_.Mv.prototype.SL=function(){var a=this;Dv.addEventListener(Bv.JQ,function(b){a.fe&&a.ee&&b.originIdp==a.Db&&!b.crossSubDomains==!a.ee.crossSubDomains&&b.domain==a.ee.domain&&b.id==a.ee.id&&a.nL(b)});Dv.addEventListener(Bv.Yx,function(b){a.fe&&b.originIdp==a.Db&&b.clientId==a.Wb&&a.oL(b)});Dv.addEventListener(Bv.Dx,function(b){_.bv=void 0;a.fe&&b.originIdp==a.Db&&b.clientId==a.Wb&&b.id==a.ij&&(a.lm&&(window.clearTimeout(a.lm),a.lm=null),a.ij=void 0,a.Br(b))});Dv.addEventListener(Bv.TO,function(b){a.fe&&
b.originIdp==a.Db&&(b.lc?a.Yc.lc():a.Yc.show())})};_.Mv.prototype.nL=function(){};_.Mv.prototype.oL=function(){};_.Mv.prototype.Br=function(){};var Qv=function(a,b){Pv(a);a.HS||(a.lj=Yu.AS(function(){a.Vh(!0)},b-3E5),navigator.onLine&&a.lj.start())},Pv=function(a){a.lj&&(a.lj.clear(),a.lj=null)},Lv=function(a){var b=window;Uu()&&(b=document.body);Su(b,"online",function(){a.lj&&a.lj.start()});Su(b,"offline",function(){a.lj&&a.lj.clear()})};_.h=_.Mv.prototype;_.h.Vh=function(){};
_.h.Yw=function(a,b){this.Yc.Yw(a,b)};_.h.XK=_.fa(29);_.h.QX=function(a,b){if(!this.Wb)throw Error("ja");this.Yc.Ev(this.Wb,this.fi,this.ee,a,b)};_.h.Ev=function(a,b){_.Kv(this,this.QX,[a,b])};_.Sv=function(a){this.Zd=void 0;this.Sg=!1;this.Fo=void 0;_.Mv.call(this,_.Rv,a)};Ou(_.Sv,_.Mv);_.Rv={GF:"noSessionBound",rp:"userLoggedOut",pO:"activeSessionChanged",Yx:"sessionStateChanged",eR:"tokenReady",dR:"tokenFailed",Dx:"authResult",ERROR:"error"};
_.Sv.prototype.setOptions=function(a){if(!a.clientId)throw Error("ka");this.Wb=a.clientId;this.Ca=a.id;Nv(this,a);Ov(this,a)};_.Sv.prototype.Wv=function(a){this.dispatchEvent({type:_.Rv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Db})};var Tv=function(a){Pv(a);a.Fo=void 0;a.WB=void 0};_.h=_.Sv.prototype;
_.h.nL=function(a){var b=a.newValue||{};if(this.Zd!=b.hint||this.Sg!=!!b.disabled){a=this.Zd;var c=!this.Zd||this.Sg;Tv(this);this.Zd=b.hint;this.Sg=!!b.disabled;(b=!this.Zd||this.Sg)&&!c?this.dispatchEvent({type:_.Rv.rp,idpId:this.Db}):b||(a!=this.Zd&&this.dispatchEvent({type:_.Rv.pO,idpId:this.Db}),this.Zd&&this.Vh())}};
_.h.oL=function(a){this.Sg||(this.Zd?a.user||this.Fo?a.user==this.Zd&&(this.Fo?a.sessionState?this.Fo=a.sessionState:(Tv(this),this.dispatchEvent({type:_.Rv.rp,idpId:this.Db})):a.sessionState&&(this.Fo=a.sessionState,this.Vh())):this.Vh():this.dispatchEvent({type:_.Rv.Yx,idpId:this.Db}))};_.h.Br=function(a){this.dispatchEvent({type:_.Rv.Dx,authResult:a.authResult})};_.h.xq=_.fa(31);_.h.pq=function(a){_.Kv(this,this.pA,[a])};_.h.pA=function(a){yv(this.Yc,this.ee,a)};
_.h.Zw=function(a,b,c){if(!a)throw Error("la");Tv(this);this.Zd=a;this.Sg=!1;b&&_.zv(this.Yc,this.ee,!1,this.Zd);this.fe=!0;this.Vh(c,!0)};_.h.start=function(){_.Kv(this,this.V0,[])};
_.h.V0=function(){var a=this.Wb==Ru("client_id")?Ru("login_hint"):void 0;var b=this.Wb==Ru("client_id")?Ru("state"):void 0;this.tC=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.Zw(a,!0,!0);else{var c=this;this.pq(function(d){c.fe=!0;d&&d.hint?(Tv(c),c.Zd=d.hint,c.Sg=!!d.disabled,c.Sg?c.dispatchEvent({type:_.Rv.rp,idpId:c.Db}):c.Zw(d.hint)):(Tv(c),c.Zd=void 0,c.Sg=!(!d||!d.disabled),c.dispatchEvent({type:_.Rv.GF,
autoOpenAuthUrl:!c.Sg,idpId:c.Db}))})}};_.h.jI=_.fa(32);_.h.Vh=function(a,b){var c=this;this.Yc.Vh(this.Wb,this.fi,this.Zd,this.ee,function(d,e){(e=e||d.error)?"user_logged_out"==e?(Tv(c),c.dispatchEvent({type:_.Rv.rp,idpId:c.Db})):(c.WB=null,c.dispatchEvent({type:_.Rv.dR,idpId:c.Db,error:e})):(c.WB=d,c.Fo=d.session_state,Qv(c,d.expires_at),d.idpId=c.Db,b&&c.tC&&(d.state=c.tC,c.tC=void 0),c.dispatchEvent({type:_.Rv.eR,idpId:c.Db,response:d}))},this.Ca,a)};_.h.Vr=_.fa(24);_.h.fM=_.fa(33);
_.Uv=function(a){this.dl=null;_.Mv.call(this,{},a);this.fe=!0};Ou(_.Uv,_.Mv);_.h=_.Uv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ka");this.Wb=a.clientId;this.Ca=a.id;Nv(this,a);Ov(this,a)};_.h.Wv=function(a){this.dl&&(this.dl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.dl=null)};_.h.Br=function(a){if(this.dl){var b=this.dl;this.dl=null;b(a)}};_.h.xq=_.fa(30);_.h.pq=function(a){this.Yl?a(this.Fl()):_.Kv(this,this.pA,[a])};
_.h.pA=function(a){yv(this.Yc,this.ee,a)};_.Vv=function(a,b,c){a.Yl?c(a.Fl()):_.Kv(a,a.TY,[b,c])};_.Uv.prototype.TY=function(a,b){this.Yc.Vh(this.Wb,this.fi,a,this.ee,function(c,d){d?b({error:d}):b(c)},this.Ca,this.zT,this.Q0)};_.Uv.prototype.zK=_.fa(34);

var Wv=function(a,b,c){if(!a.fe)throw Error("ga");b?_.zv(a.Yc,a.ee,!0,void 0,c):_.zv(a.Yc,a.ee,!0,a.Zd,c)},Xv=function(a){if(!a.fe)throw Error("ga");return a.WB},Yv,Zv,$v,aw,bw,cw,dw,ew,fw,gw,jw,mw;_.Uv.prototype.zK=_.fd(34,function(a,b){var c=this.Yc,d=this.Wb,e=this.ee,f=_.Qu(this.fi);delete f.response_type;_.wv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.Sv.prototype.fM=_.fd(33,function(a){Xv(this)&&Xv(this).access_token&&(this.Yc.Vr(this.Wb,Xv(this).access_token,a),Wv(this,!0))});_.Sv.prototype.jI=_.fd(32,function(){var a=this;this.pq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Rv.rp,idpId:a.Db}):a.Vh(!0):a.dispatchEvent({type:_.Rv.GF,idpId:a.Db})})});_.Sv.prototype.xq=_.fd(31,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.Zw(b.authResult.login_hint,a.Sg||b.authResult.login_hint!=a.Zd,!0)}});
_.Uv.prototype.xq=_.fd(30,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.pq(function(d){_.zv(b.Yc,b.ee,d&&d.disabled,c.authResult.login_hint,function(){_.Vv(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"})}});_.Mv.prototype.XK=_.fd(29,function(){this.Wb&&_.wv(this.Yc,"startPolling",{clientId:this.Wb,origin:this.Gc,id:this.ij},void 0)});
_.tv.prototype.Vr=_.fd(25,function(a,b,c){_.wv(this,"revoke",{clientId:a,token:b},c)});_.Sv.prototype.Vr=_.fd(24,function(a){_.Kv(this,this.fM,[a])});Yv=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};
Zv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/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 12<a||12==a&&1<=b};
$v=function(a,b,c,d,e,f,g){var k=_.$u(a,"authServerUrl");if(!k)throw Error("Q`"+a);a=_.Qu(d);a.response_type=g||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];e&&Zv()&&!a.prompt&&(a.prompt="select_account");b=k+(0>k.indexOf("?")?"?":"&");c=[];for(var m in a)if(a.hasOwnProperty(m)){e=a[m];if(null===e||void 0===e)e="";c.push(encodeURIComponent(m)+"="+encodeURIComponent(e))}return b+c.join("&")};
aw=function(a,b,c,d){if(!a.Wb)throw Error("ha");a.ij=c||a.RR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Gc.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0<g&&(f=f.substring(0,g));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.ij);c.redirect_uri=e.join("")}return $v(a.Db,a.Vc,a.Wb,a.Bp,!0,b,d)};bw=function(a,b,c){if(!a.Wb)throw Error("ha");return $v(a.Db,a.Vc,a.Wb,a.Bp,!1,b,c)};
cw=function(a,b){a.lm&&window.clearTimeout(a.lm);a.lm=window.setTimeout(function(){a.ij==b&&(_.bv=void 0,a.lm=null,a.ij=void 0,a.Br({authResult:{error:"popup_closed_by_user"}}))},1E3)};dw=function(a,b,c){if(!a.Wb)throw Error("ia");c=c||{};c=aw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Yv())&&_.Kv(a,a.XK,[]);var d=a.ij;a.CL.open(c,b,function(){a.ij==d&&cw(a,d)},function(){a.ij=void 0;a.Br({authResult:{error:"popup_blocked_by_browser"}})})};
ew=function(a){_.Kv(a,a.jI,[])};fw=function(a,b,c){a.Yl?c(a.Fl()):_.Kv(a,a.zK,[b,c])};gw=function(a){return Array.prototype.concat.apply([],arguments)};
_.hw=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")};
_.iw=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.jh[m];if(null!=n)return n;if(!_.Me(m))throw Error("w`"+m);}return l}_.lh();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};jw=function(a){var b=[];_.iw(a,function(c){b.push(c)});return b};_.kw=function(a,b){_.Fh[b||"token"]=a};_.lw=function(a){delete _.Fh[a||"token"]};
mw=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.PE=!0,this.rn=Infinity);if(1>this.rn){var b=this.yk;a=this.rn;this.yk="";this.rn=1;a=Math.max(0,a);if(!this.PE){b=this.QC+b;var c=new _.Ih;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.kw+=a;this.kw>=this.rn?(c.reset(),c.update("SEED_SALT:"+b+this.yk),this.yk=String.fromCharCode.apply(String,c.digest()),this.QC="",this.kw=0):this.QC=b}}};_.h=mw.prototype;_.h.PE=!1;_.h.yk="";_.h.QC="";_.h.kw=0;_.h.rn=-1;
var pw=function(a){var b=nw,c=[];if(b.PE)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.rn||0==b.yk.length)throw new ow;var d=new _.Ih;d.update("RANDOM_SALT:"+b.yk);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.yk),b.yk=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},ow=function(){};_.H(ow,Error);ow.prototype.name="Insufficient Entropy";
_.Vu={parse:function(a){a=_.Ef("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Ff(a)}};
_.Uv.prototype.bA=function(a,b){_.Kv(this,this.kT,[a,b])};_.Uv.prototype.kT=function(a,b){this.Yc.bA(this.Wb,a,this.fi,this.ee,b)};
_.tv.prototype.bA=function(a,b,c,d,e){c=_.Qu(c);_.wv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var qw,rw=["client_id","cookie_policy","scope"],sw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),tw=["authuser","after_redirect","access_type","hl"],uw=["login_hint","prompt"],vw={clientid:"client_id",cookiepolicy:"cookie_policy"},ww=["approval_prompt","authuser","login_hint",
"prompt","hd"],xw=["login_hint","g-oauth-window","status"],yw=Math.min(_.R("oauth-flow/authWindowWidth",599),screen.width-20),zw=Math.min(_.R("oauth-flow/authWindowHeight",600),screen.height-30);
var Aw=function(a){_.pb.call(this,a)};_.Nq(Aw,_.pb);Aw.prototype.name="gapi.auth2.ExternallyVisibleError";
var Bw=function(){};Bw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Cw=function(){};Cw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.login_hint){b(d);return}}b()};var Dw=function(a){this.SR=a};
Dw.prototype.select=function(a,b){if(a.sessions)for(var c=0;c<a.sessions.length;c++){var d=a.sessions[c];if(d.session_state&&d.session_state.extraQueryParams&&d.session_state.extraQueryParams.authuser==this.SR){d.login_hint?b(d):b();return}}b()};
var Ew=function(a){this.Nd=a;this.Iw=[]};Ew.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Iw[b];f?(b++,c.Nd.Ev(function(g){g?f.select(g,d):d()})):a()}};d()};var Fw=function(a){a=new Ew(a);a.Iw.push(new Bw);return a},Gw=function(a){a=new Ew(a);a.Iw.push(new Cw);return a},Hw=function(a,b){void 0===b||null===b?b=Fw(a):(a=new Ew(a),a.Iw.push(new Dw(b)),b=a);return b};
var Iw=function(a){this.Be=a;this.Wd=!0};Iw.prototype.remove=function(){this.Wd=!1};Iw.prototype.trigger=function(){};var Jw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Kw=function(){this.Yb=[]};Kw.prototype.add=function(a){this.Yb.push(a)};Kw.prototype.notify=function(a){for(var b=this.Yb,c=[],d=0;d<b.length;d++){var e=b[d];e.Wd&&(c.push(e),_.Dj(Lw(e.Be,a)))}this.Yb=c};var Lw=function(a,b){return function(){a(b)}};
var Nw=function(a){this.ie=null;this.O1=new Mw(this);this.Yb=new Kw;void 0!=a&&this.set(a)};Nw.prototype.set=function(a){a!=this.ie&&(this.ie=a,this.O1.value=a,this.Yb.notify(this.ie))};Nw.prototype.get=function(){return this.ie};Nw.prototype.U=function(a){a=new Ow(this,a);this.Yb.add(a);return a};var Ow=function(a,b){Iw.call(this,b);this.TX=a};_.H(Ow,Iw);Ow.prototype.trigger=function(){var a=this.Be;a(this.TX.get())};var Mw=function(a){this.value=null;this.U=function(b){return new Jw(a.U(b))}};
var Pw={x4:"fetch_basic_profile",O5:"login_hint",G7:"prompt",R7:"redirect_uri",i8:"scope",V9:"ux_mode",p9:"state"},Qw=function(a){this.Ba={};if(a&&!_.Qq(a))if("function"==typeof a.get)this.Ba=a.get();else for(var b in Pw){var c=Pw[b];c in a&&(this.Ba[c]=a[c])}};Qw.prototype.get=function(){return this.Ba};Qw.prototype.$M=function(a){this.Ba.scope=a;return this};Qw.prototype.Iq=function(){return this.Ba.scope};
var Rw=function(a,b){var c=a.Ba.scope;b=gw(b.split(" "),c?c.split(" "):[]);_.Le(b);a.Ba.scope=b.join(" ")};_.h=Qw.prototype;_.h.t0=function(a){this.Ba.prompt=a;return this};_.h.PU=function(){return this.Ba.prompt};_.h.Q_=function(){_.Te("Property app_package_name no longer supported and was not set");return this};_.h.FT=function(){_.Te("Property app_package_name no longer supported")};_.h.kf=function(a){this.Ba.state=a};_.h.getState=function(){return this.Ba.state};
var Sw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+yw,"height="+zw,"top="+(screen.height-zw)/2,"left="+(screen.width-yw)/2].join()},Tw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.hw(jw(a)))},Uw=function(){qw=_.R("auth2/idpValue","google");var a=_.R("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.R("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.av(qw,{authServerUrl:a,idpIFrameUrl:b})},Vw=function(a,b,c){for(var d=0;d<b.length;d++){var e=b[d];if(d===b.length-1){a[e]=c;break}_.kb(a[e])||(a[e]={});a=a[e]}},Ww=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var Xw=function(a){var b=a?(b=Tw(a))?b.sub:null:null;this.Ca=b;this.tc=a?_.tj(a):null};_.h=Xw.prototype;_.h.getId=function(){return this.Ca};_.h.zA=function(){var a=Tw(this.tc);return a?a.hd:null};_.h.Th=function(){return!!this.tc};_.h.fk=function(a){if(a)return this.tc;a=Yw;var b=_.tj(this.tc);!a.nv||a.pB||a.BW||(delete b.access_token,delete b.scope);return b};_.h.dD=function(){return Yw.dD()};_.h.Cj=function(){this.tc=null};_.h.jU=function(){return this.tc?this.tc.scope:null};
_.h.update=function(a){this.Ca=a.Ca;this.tc=a.tc;this.tc.id_token?this.yt=new Zw(this.tc):this.yt&&(this.yt=null)};var $w=function(a){return a.tc&&"object"==typeof a.tc.session_state?_.tj(a.tc.session_state.extraQueryParams||{}):{}};_.h=Xw.prototype;_.h.kq=function(){var a=$w(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.Bj=function(a){var b=Yw,c=new Qw(a);b.pB=c.Iq()?!0:!1;Yw.nv&&Rw(c,"openid profile email");return new _.Pj(function(d,e){var f=$w(this);f.login_hint=this.getId();f.scope=c.Iq();ax(b,d,e,f)},this)};_.h.Lq=function(a){return new _.Pj(function(b,c){var d=a||{},e=Yw;d.login_hint=this.getId();e.Lq(d).then(b,c)},this)};_.h.jV=function(a){return this.Bj(a)};_.h.disconnect=function(){return Yw.disconnect()};_.h.IT=function(){return this.yt};
_.h.Zu=function(a){if(!this.Th())return!1;var b=this.tc&&this.tc.scope?this.tc.scope.split(" "):"";return(0,_.xb)(a?a.split(" "):[],function(c){return _.yb(b,c)})};var Zw=function(a){a=Tw(a);this.CT=a.sub;this.xd=a.name;this.gV=a.given_name;this.iT=a.family_name;this.SJ=a.picture;this.hu=a.email};_.h=Zw.prototype;_.h.getId=function(){return this.CT};_.h.getName=function(){return this.xd};_.h.hU=function(){return this.gV};_.h.cU=function(){return this.iT};_.h.rU=function(){return this.SJ};_.h.Du=function(){return this.hu};
var cx=function(a,b,c){this.fm=b;this.pY=a;for(var d in a)a.hasOwnProperty(d)&&bx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.fm[c[a]]},bx=function(a,b){a[b]=function(){return a.pY[b].apply(a.fm,arguments)}};cx.prototype.then=function(a,b,c){var d=this;return _.Tj().then(function(){return dx(d.fm,a,b,c)})};_.Nj(cx);
var ex;ex=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.fx=function(a){if(!a)throw new Aw("No cookiePolicy");var b=window.location.hostname;"single_host_origin"==a&&(a=window.location.protocol+"//"+b);if("none"==a)return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new Aw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.Pq(b,"."+a)&&!_.Pq(b,a))throw new Aw("Invalid cookiePolicy domain");return d};
var nw;nw=new mw;_.gx=function(){try{for(var a=[],b=0;64>a.length&&128>b;)a.push.apply(a,pw(64-a.length)),b++;if(64>a.length)throw new ow;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.mh(c,3).substring(0,64)};
var ix,hx,jx,kx,lx,mx,ox,tx,px,vx,wx,qx;ix=function(a){var b=a||{},c=hx();(0,_.tb)(sw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};hx=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(0==d.indexOf("google-signin-")){d=d.substring(14);var e=b[c].content;vw[d]&&(d=vw[d]);_.yb(sw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
jx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};kx=function(a){(0,_.tb)(sw,function(b){var c=jx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};lx=function(a){a=ix(a);kx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=sw+tw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
mx=function(a,b){if(!a)throw new Aw("Empty initial options.");for(var c=0;c<rw.length;++c)if(!(b&&"scope"==rw[c]||a[rw[c]]))throw new Aw("Missing required parameter '"+rw[c]+"'");_.fx(a.cookie_policy)};
ox=function(a){var b={authParameters:{redirect_uri:void 0,response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm},clientId:a.client_id,crossSubDomains:!0,domain:ex(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:qw};_.nx(b,a);(0,_.tb)(uw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.nx=function(){};
tx=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,g=a.oidc_spec_compliant,k=a.nonce,l=px(a),m={authParameters:{response_type:l,scope:d,"openid.realm":e},rpcAuthParameters:{response_type:l,scope:d,"openid.realm":e},clientId:b,crossSubDomains:!0,domain:ex(c),idpId:qw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.gx());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);(0,_.tb)(uw.concat(tw),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new qx(a.response_type||"token"),rx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),sx(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&
(m.enableSerialConsent=a.enable_serial_consent);return m};px=function(a){a=new qx(a.response_type||"token");var b=[];sx(a)&&b.push("token");ux(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};vx=["permission","id_token"];wx=/(^|[^_])token/;qx=function(a){this.wo=[];this.GB(a)};
qx.prototype.GB=function(a){a?((0<=a.indexOf("permission")||a.match(wx))&&this.wo.push("permission"),0<=a.indexOf("id_token")&&this.wo.push("id_token"),0<=a.indexOf("code")&&this.wo.push("code")):this.wo=vx};var rx=function(a){return ux(a,"code")},sx=function(a){return ux(a,"permission")};qx.prototype.toString=function(){return this.wo.join(" ")};var ux=function(a,b){var c=!1;(0,_.tb)(a.wo,function(d){d==b&&(c=!0)});return c};
var Yw,xx,Ax,Cx,Dx,dx;Yw=null;_.yx=function(){return Yw?xx():null};xx=function(){return new cx(Ax.prototype,Yw,["currentUser","isSignedIn"])};Ax=function(a){delete a.include_granted_scopes;this.Ba=ox(a);this.wS=a.cookie_policy;this.BW=!!a.scope;(this.nv=!1!==a.fetch_basic_profile)&&(this.Ba.authParameters.scope=Bx(this,"openid profile email"));this.Vq=a.hosted_domain;this.L1=a.ux_mode||"popup";this.yZ=a.redirect_uri||null;Cx(this)};
Cx=function(a){a.currentUser=new Nw(new Xw(null));a.isSignedIn=new Nw(!1);a.Nd=new _.Sv(a.Ba);a.Un=null;a.uv=null;a.HX=new _.Pj(function(b,c){this.Un=b;this.uv=c},a);a.Zv={};a.kr=!0;Dx(a);a.Nd.start()};
Dx=function(a){a.Nd.addEventListener("error",function(b){a.kr&&a.Un&&(a.kr=!1,a.uv({error:b.error,details:b.details}),a.Un=null,a.uv=null)});a.Nd.addEventListener("authResult",function(b){b&&b.authResult&&a.Se(b);a.Nd.xq()(b)});a.Nd.addEventListener("tokenReady",function(b){var c=new Xw(b.response);if(a.Vq&&a.Vq!=c.zA())a.Se({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.zA(),expectedDomain:a.Vq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Yb.notify(d.ie);a.isSignedIn.set(!0);c=c.kq();(d=_.fx(a.wS))&&c&&_.hi.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.De?"S":"H",d.Dh].join(""),c,void 0,void 0,d.domain,d.isSecure);_.kw(b.response);a.Se(b)}});a.Nd.addEventListener("noSessionBound",function(b){a.kr&&b.autoOpenAuthUrl?(a.kr=!1,Fw(a.Nd).select(function(c){if(c&&c.login_hint){var d=a.Nd;_.Kv(d,d.Zw,[c.login_hint,!0])}else a.currentUser.set(new Xw(null)),a.isSignedIn.set(!1),_.lw(),a.Se(b)})):(a.currentUser.set(new Xw(null)),
a.isSignedIn.set(!1),_.lw(),a.Se(b))});a.Nd.addEventListener("tokenFailed",function(b){a.Se(b)});a.Nd.addEventListener("userLoggedOut",function(b){a.currentUser.get().Cj();var c=a.currentUser;c.Yb.notify(c.ie);a.isSignedIn.set(!1);_.lw();a.Se(b)})};dx=function(a,b,c,d){return a.HX.then(function(e){if(b)return b(e.hV)},c,d)};Ax.prototype.Se=function(a){if(a){this.kr=!1;var b=a.type||"";if(this.Zv[b])this.Zv[b](a);this.Un&&(this.Un({hV:this}),this.uv=this.Un=null)}};
var Ex=function(a,b){_.Gb(b,function(c,d){a.Zv[d]=function(e){a.Zv={};c(e)}})},ax=function(a,b,c,d){d=_.tj(d);a.Vq&&(d.hd=a.Vq);var e=d.ux_mode||a.L1;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.yZ||Ww()+window.location.pathname),Fx(a,f)):(delete d.redirect_uri,Gx(a,f),Ex(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):Ex(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Ax.prototype.Bj=function(a){return new _.Pj(function(b,c){var d=new Qw(a);this.pB=d.Iq()?!0:!1;this.nv?(d.Ba.fetch_basic_profile=!0,Rw(d,"email profile openid")):d.Ba.fetch_basic_profile=!1;var e=Bx(this,d.Iq());d.$M(e);ax(this,b,c,d.get())},this)};
Ax.prototype.Lq=function(a){var b=a||{};this.pB=!!b.scope;a=Bx(this,b.scope);if(""==a)return _.Uj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};(0,_.tb)(ww,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?Hx(this,c):Ix(this,c,b.redirect_uri)};
var Ix=function(a,b,c){b.redirect_uri=c;Fx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Tj({message:"Redirecting to IDP."})},Hx=function(a,b){b.origin=Ww();delete b.redirect_uri;Gx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Pj(function(c,d){Ex(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Gx=function(a,b){Vw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");dw(a.Nd,Sw(),b)},Fx=function(a,b){Vw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(bw(a.Nd,b.sessionMeta,b.responseType))};Ax.prototype.Cj=function(a){var b=a||!1;return new _.Pj(function(c){Wv(this.Nd,b,function(){c()})},this)};Ax.prototype.EI=function(){return this.Ba.authParameters.scope};var Bx=function(a,b){a=a.EI();b=gw(b?b.split(" "):[],a?a.split(" "):[]);_.Le(b);return b.join(" ")};
Ax.prototype.dD=function(){var a=this;return new _.Pj(function(b,c){Ex(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});ew(a.Nd)})};Ax.prototype.OR=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Cq(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Bj(f).then(function(g){c&&c(g)},function(g){d&&d(g)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};
Ax.prototype.disconnect=function(){return new _.Pj(function(a){this.Nd.Vr(function(){a()})},this)};
var Jx;_.Pj.prototype["catch"]=_.Pj.prototype.hx;Jx=null;_.Kx=function(a){a=lx(a);if(Yw){if(_.sj(a,Jx||{}))return xx();throw new Aw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}mx(a,!1!==a.fetch_basic_profile);Uw();Jx=a;Yw=new Ax(a);_.Ae.ga=1;return xx()};
var Mx,Ox,Lx,Qx,Px,Rx;_.Nx=function(a,b){Uw();a=lx(a);mx(a);var c=tx(a),d=new _.Uv(c);"none"==a.prompt?Lx(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):Mx(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.CL.kh;b(e)})};
Mx=function(a,b,c){var d=new qx(b.response_type);c=Ox(a,d,c);var e={responseType:d.toString()};Vw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");rx(d)&&Vw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Vw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Vw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Sw();a.Yl?c({authResult:{error:"idpiframe_initialization_failed",details:a.Fl().error}}):(a.dl=
c,dw(a,b,e))};Ox=function(a,b,c){if(sx(b)){var d=Px(c);return function(e){e&&e.authResult&&!e.authResult.error?a.xq(function(f){f&&!f.error?(f=_.tj(f),rx(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.tj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Lx=function(a,b,c){if(rx(new qx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Px(c);b.login_hint?a.bA(b.login_hint,function(e){e?Qx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Hw(a,b.authuser).select(function(e){e&&e.login_hint?Qx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.pq(function(e){e&&e.hint?Qx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Gw(a):Fw(a)).select(function(f){f&&f.login_hint?Qx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Qx=function(a,b,c,d){b=new qx(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Ib(f,k),0==e&&d(f))};(sx(b)||ux(b,"id_token"))&&e++;rx(b)&&e++;(sx(b)||ux(b,"id_token"))&&_.Vv(a,c,g);rx(b)&&fw(a,c,g)};
Px=function(a){return function(b){if(!b||b.error)_.lw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.tj(b);Rx(c);delete c.id_token;delete c.code;_.kw(c)}a(b)}}};Rx=function(a){(0,_.tb)(xw,function(b){delete a[b]})};
_.y("gapi.auth2.init",_.Kx);_.y("gapi.auth2.authorize",function(a,b){if(null!=Yw)throw new Aw("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.Nx(a,function(c){Rx(c);b(c)})});_.y("gapi.auth2._gt",function(){return _.Gh()});_.y("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Lu="0"!=a&&!!a});_.y("gapi.auth2.getAuthInstance",_.yx);
_.y("gapi.auth2.BasicProfile",Zw);_.y("gapi.auth2.BasicProfile.prototype.getId",Zw.prototype.getId);_.y("gapi.auth2.BasicProfile.prototype.getName",Zw.prototype.getName);_.y("gapi.auth2.BasicProfile.prototype.getGivenName",Zw.prototype.hU);_.y("gapi.auth2.BasicProfile.prototype.getFamilyName",Zw.prototype.cU);_.y("gapi.auth2.BasicProfile.prototype.getImageUrl",Zw.prototype.rU);_.y("gapi.auth2.BasicProfile.prototype.getEmail",Zw.prototype.Du);_.y("gapi.auth2.GoogleAuth",Ax);
_.y("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Ax.prototype.OR);_.y("gapi.auth2.GoogleAuth.prototype.disconnect",Ax.prototype.disconnect);_.y("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Ax.prototype.Lq);_.y("gapi.auth2.GoogleAuth.prototype.signIn",Ax.prototype.Bj);_.y("gapi.auth2.GoogleAuth.prototype.signOut",Ax.prototype.Cj);_.y("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Ax.prototype.EI);_.y("gapi.auth2.GoogleUser",Xw);_.y("gapi.auth2.GoogleUser.prototype.grant",Xw.prototype.jV);
_.y("gapi.auth2.GoogleUser.prototype.getId",Xw.prototype.getId);_.y("gapi.auth2.GoogleUser.prototype.isSignedIn",Xw.prototype.Th);_.y("gapi.auth2.GoogleUser.prototype.getAuthResponse",Xw.prototype.fk);_.y("gapi.auth2.GoogleUser.prototype.getBasicProfile",Xw.prototype.IT);_.y("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Xw.prototype.jU);_.y("gapi.auth2.GoogleUser.prototype.getHostedDomain",Xw.prototype.zA);_.y("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Xw.prototype.Lq);
_.y("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Xw.prototype.Zu);_.y("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Xw.prototype.dD);_.y("gapi.auth2.LiveValue",Nw);_.y("gapi.auth2.LiveValue.prototype.listen",Nw.prototype.U);_.y("gapi.auth2.LiveValue.prototype.get",Nw.prototype.get);_.y("gapi.auth2.SigninOptionsBuilder",Qw);_.y("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Qw.prototype.FT);_.y("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Qw.prototype.Q_);
_.y("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Qw.prototype.Iq);_.y("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Qw.prototype.$M);_.y("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Qw.prototype.PU);_.y("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Qw.prototype.t0);_.y("gapi.auth2.SigninOptionsBuilder.prototype.get",Qw.prototype.get);

_.Ve.q4=function(a){var b=[];if(1<arguments.length)for(var c=0,d;d=arguments[c];++c)b.push(d);else b=a;return function(e){for(var f=0;b[f];++f)if(e===b[f])return!0;return!1}};_.Ve.f8=function(a){return function(b){return a.test(b)}};_.Ve.aP=function(a){return"undefined"!==typeof a};_.Ve.P6=function(a){return"string"===typeof a&&0<a.length};_.Ve.G2=function(a){return"boolean"===typeof a};_.Ve.T5=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Oe=_.Oe||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ve&&_.Ve.register("core.util",null,a);_.Oe.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Oe.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Oe.waa=function(){return c}})();

var rr,tr,ur,vr,wr,zr,Cr,Ir,Jr;_.er=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.fr=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.fr.prototype;_.h.clone=function(){return new _.fr(this.x,this.y)};_.h.equals=function(a){return a instanceof _.fr&&_.er(this,a)};_.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
_.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.h.translate=function(a,b){a instanceof _.fr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.gr=function(a,b){this.width=a;this.height=b};_.h=_.gr.prototype;_.h.clone=function(){return new _.gr(this.width,this.height)};_.h.aspectRatio=function(){return this.width/this.height};
_.h.isEmpty=function(){return!(this.width*this.height)};_.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.hr=function(a){return"CSS1Compat"==a.compatMode};
_.jr=function(a){a=a.document;a=_.hr(a)?a.documentElement:a.body;return new _.gr(a.clientWidth,a.clientHeight)};_.kr=function(a){return _.jr(a||window)};_.lr=function(a){return a.scrollingElement?a.scrollingElement:!_.Lc&&_.hr(a)?a.documentElement:a.body||a.documentElement};_.mr=function(a){var b=_.lr(a);a=a.parentWindow||a.defaultView;return _.Hc&&_.bd("10")&&a.pageYOffset!=b.scrollTop?new _.fr(b.scrollLeft,b.scrollTop):new _.fr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.nr=function(a,b,c,d){return _.Qd(a.mb,b,c,d)};_.or=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.pr=function(a,b,c,d){return Array.prototype.splice.apply(a,_.or(arguments,1))};_.qr=function(a,b,c){if(null!==a&&b in a)throw Error("g`"+b);a[b]=c};rr={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};
_.sr=function(a){if(a instanceof _.nc&&a.constructor===_.nc&&a.EQ===_.mc)return a.ZC;_.$a(a);return"type_error:SafeStyleSheet"};tr=/^[a-zA-Z0-9-]+$/;ur={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};vr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
wr=function(a){var b=_.Cd(_.vc),c=b.Jh(),d=[],e=function(f){_.ab(f)?(0,_.tb)(f,e):(f=_.Cd(f),d.push(_.tc(f).toString()),f=f.Jh(),0==c?c=f:0!=f&&c!=f&&(c=null))};(0,_.tb)(a,e);return _.uc(d.join(_.tc(b).toString()),c)};_.xr=function(a){return wr(Array.prototype.slice.call(arguments))};
_.yr=function(a,b,c){var d=String(a);if(!tr.test(d))throw Error("m");if(d.toUpperCase()in vr)throw Error("m");a=String(a);d=null;var e="<"+a,f="";if(b)for(l in b){if(!tr.test(l))throw Error("m");var g=b[l];if(null!=g){var k=l;if(g instanceof _.Ob)g=_.Pb(g);else if("style"==k.toLowerCase()){if(!_.kb(g))throw Error("m");g instanceof _.bc||(g=_.fc(g));g=_.cc(g)}else{if(/^on/i.test(k))throw Error("m");if(k.toLowerCase()in ur)if(g instanceof _.wd)g=_.zd(g);else if(g instanceof _.Wb)g=_.Xb(g);else if("string"===
typeof g)g=_.Zb(g).Df();else throw Error("m");}g.eh&&(g=g.Df());k=k+'="'+_.td(String(g))+'"';f+=" "+k}}var l=e+f;null==c?c=[]:_.ab(c)||(c=[c]);!0===rr[a.toLowerCase()]?l+=">":(c=_.xr(c),l+=">"+_.tc(c).toString()+"</"+a+">",d=c.Jh());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.uc(l,d)};zr=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};_.Ar=function(a,b,c){return _.Wd(document,arguments)};
_.Br=function(a){var b;if(_.Kd&&!(_.Hc&&_.bd("9")&&!_.bd("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.he(b)?b:null};Cr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};Ir={IMG:" ",BR:"\n"};Jr=function(a,b,c){if(!(a.nodeName in Cr))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Ir)b.push(Ir[a.nodeName]);else for(a=a.firstChild;a;)Jr(a,b,c),a=a.nextSibling};
_.Kr=function(a){if(_.Jd&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Jr(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Jd||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Lr=function(a){var b=[];Jr(a,b,!1);return b.join("")};
_.Mr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Mr.prototype;_.h.Oc=function(){return this.right-this.left};_.h.getHeight=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Mr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Mr?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.h.expand=function(a,b,c,d){_.kb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.h.translate=function(a,b){a instanceof _.fr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var Pr,Vr,Tr,Yr,ks,ls;_.Or=function(a,b,c){if("string"===typeof b)(b=_.Nr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Nr(c,d);f&&(c.style[f]=e)}};Pr={};_.Nr=function(a,b){var c=Pr[b];if(!c){var d=_.Gd(b);c=d;void 0===a.style[d]&&(d=(_.Lc?"Webkit":_.Kc?"Moz":_.Hc?"ms":_.Gc?"O":null)+zr(d),void 0!==a.style[d]&&(c=d));Pr[b]=c}return c};
_.Qr=function(a,b){var c=_.Nd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Rr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Sr=function(a,b){return _.Qr(a,b)||_.Rr(a,b)||a.style&&a.style[b]};_.Ur=function(a,b,c){if(b instanceof _.fr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Tr(d,!1);a.style.top=Tr(b,!1)};
Vr=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}_.Hc&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
_.Zr=function(a,b){b=b||_.lr(document);var c=b||_.lr(document);var d=_.Wr(a),e=_.Wr(c),f=_.Xr(c);if(c==_.lr(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.Hc&&!_.dd(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Yr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.fr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Wr=function(a){var b=_.Nd(a),c=new _.fr(0,0);var d=b?_.Nd(b):document;d=!_.Hc||_.dd(9)||_.hr(_.Od(d).mb)?d.documentElement:d.body;if(a==d)return c;a=Vr(a);b=_.mr(_.Od(b).mb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.as=function(a,b){var c=new _.fr(0,0),d=_.Td(_.Nd(a));if(!_.Dc(d,"parent"))return c;do{var e=d==b?_.Wr(a):_.$r(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.$r=function(a){a=Vr(a);return new _.fr(a.left,a.top)};
_.bs=function(a,b,c){if(b instanceof _.gr)c=b.height,b=b.width;else if(void 0==c)throw Error("H");a.style.width=Tr(b,!0);a.style.height=Tr(c,!0)};Tr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.cs=function(a){var b=Yr;if("none"!=_.Sr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};
Yr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Lc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Vr(a),new _.gr(a.right-a.left,a.bottom-a.top)):new _.gr(b,c)};_.ds=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")};_.es=function(a,b){a.style.display=b?"":"none"};
_.gs=function(a){var b=_.Od(void 0),c=b.tb();if(_.Hc&&c.createStyleSheet)return b=c.createStyleSheet(),_.fs(b,a),b;c=_.nr(b,"HEAD")[0];if(!c){var d=_.nr(b,"BODY")[0];c=b.ma("HEAD");d.parentNode.insertBefore(c,d)}d=b.ma("STYLE");_.fs(d,a);b.appendChild(c,d);return d};_.fs=function(a,b){b=_.sr(b);_.Hc&&void 0!==a.cssText?a.cssText=b:a.innerHTML=b};_.hs=function(a){return"rtl"==_.Sr(a,"direction")};_.is=_.Kc?"MozUserSelect":_.Lc||_.Ic?"WebkitUserSelect":null;
_.js=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};ks={thin:2,medium:4,thick:6};ls=function(a,b){if("none"==_.Rr(a,b+"Style"))return 0;b=_.Rr(a,b+"Width");return b in ks?ks[b]:_.js(a,b)};
_.Xr=function(a){if(_.Hc&&!_.dd(9)){var b=ls(a,"borderLeft"),c=ls(a,"borderRight"),d=ls(a,"borderTop");a=ls(a,"borderBottom");return new _.Mr(d,c,a,b)}b=_.Qr(a,"borderLeftWidth");c=_.Qr(a,"borderRightWidth");d=_.Qr(a,"borderTopWidth");a=_.Qr(a,"borderBottomWidth");return new _.Mr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

_.Vy=function(a){this.q1=a};_.Vy.prototype.toString=function(){return this.q1};
_.Wy=function(a){_.eq.call(this);this.Uh=1;this.lw=[];this.rw=0;this.lf=[];this.wi={};this.NR=!!a};_.H(_.Wy,_.eq);_.h=_.Wy.prototype;_.h.subscribe=function(a,b,c){var d=this.wi[a];d||(d=this.wi[a]=[]);var e=this.Uh;this.lf[e]=a;this.lf[e+1]=b;this.lf[e+2]=c;this.Uh=e+3;d.push(e);return e};_.h.Bs=_.fa(36);_.h.unsubscribe=function(a,b,c){if(a=this.wi[a]){var d=this.lf;if(a=_.jj(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Hj(a)}return!1};
_.h.Hj=function(a){var b=this.lf[a];if(b){var c=this.wi[b];0!=this.rw?(this.lw.push(a),this.lf[a+1]=_.ib):(c&&_.bq(c,a),delete this.lf[a],delete this.lf[a+1],delete this.lf[a+2])}return!!b};
_.h.lo=function(a,b){var c=this.wi[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.NR)for(e=0;e<c.length;e++){var g=c[e];Xy(this.lf[g+1],this.lf[g+2],d)}else{this.rw++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.lf[g+1].apply(this.lf[g+2],d)}finally{if(this.rw--,0<this.lw.length&&0==this.rw)for(;c=this.lw.pop();)this.Hj(c)}}return 0!=e}return!1};var Xy=function(a,b,c){_.Lj(function(){a.apply(b,c)})};
_.Wy.prototype.clear=function(a){if(a){var b=this.wi[a];b&&((0,_.tb)(b,this.Hj,this),delete this.wi[a])}else this.lf.length=0,this.wi={}};_.Wy.prototype.Jb=function(a){if(a){var b=this.wi[a];return b?b.length:0}a=0;for(b in this.wi)a+=this.Jb(b);return a};_.Wy.prototype.ua=function(){_.Wy.H.ua.call(this);this.clear();this.lw.length=0};
_.Yy=function(a){_.eq.call(this);this.Id=new _.Wy(a);_.hq(this,this.Id)};_.H(_.Yy,_.eq);_.h=_.Yy.prototype;_.h.subscribe=function(a,b,c){return this.Id.subscribe(a.toString(),b,c)};_.h.Bs=_.fa(35);_.h.unsubscribe=function(a,b,c){return this.Id.unsubscribe(a.toString(),b,c)};_.h.Hj=function(a){return this.Id.Hj(a)};_.h.lo=function(a,b){return this.Id.lo(a.toString(),b)};_.h.clear=function(a){this.Id.clear(void 0!==a?a.toString():void 0)};
_.h.Jb=function(a){return this.Id.Jb(void 0!==a?a.toString():void 0)};

_.Zy=function(a,b){_.ab(b)||(b=[b]);b=(0,_.vb)(b,function(c){return"string"===typeof c?c:c.ow+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Or(a,"transition",b.join(","))};
_.$y=_.Lb(function(){if(_.Hc)return _.bd("10.0");var a=_.$d("DIV"),b=_.Lc?"-webkit":_.Kc?"-moz":_.Hc?"-ms":_.Gc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.yr("div",{style:c});_.Dd(a,b);a=a.firstChild;b=a.style[_.Gd("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Nr(a,"transition")]||"")});

_.bz=!1;_.cz=function(){_.az="oauth2relay"+String(2147483647*(0,_.vg)()|0)};_.dz=new _.Yy;_.ez=new _.Vy("oauth");_.cz();_.R("oauth-flow/client_id");var fz=String(_.R("oauth-flow/redirectUri"));if(fz)fz.replace(/[#][\s\S]*/,"");else{var gz=_.qg.getOrigin(window.location.href);_.R("oauth-flow/callbackUrl");encodeURIComponent(gz)}_.qg.getOrigin(window.location.href);

var iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,aA,$z,bA,cA,dA,eA,fA,gA,iA,jA,lA;_.hz=function(a,b){if(_.kh&&!b)return _.q.atob(a);var c="";_.iw(a,function(d){c+=String.fromCharCode(d)});return c};iz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};jz=function(a){return _.R("enableMultilogin")&&a("cookie_policy")&&!iz(a)?!0:!1};
mz=function(){var a,b=null;_.Vh.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Wh(c.substring(11)),!a||c.De&&!a.De||c.De==a.De&&c.Dh>a.Dh)&&(a=c,b=d)});return{XR:a,authuser:b}};nz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];oz=function(a){a=a.toUpperCase();for(var b=0,c=nz.length;b<c;++b){var d=a.split(nz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Kh,b.LE(a),a=b.Rg().toUpperCase());return a};
pz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};qz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],O_:pz(a[1]),Xaa:pz(a[2]),eaa:pz(a[3])}};rz=function(a){var b=mz(),c=b.XR;b=b.authuser;var d=a&&oz(a);if(null!==b){var e;_.Vh.iterate(function(g,k){(g=_.Xh(g))&&g.PB&&(d&&g.nS!=d||g.De==c.De&&g.Dh==c.Dh&&(e=k))});if(e){var f=qz(e);a=f&&f.O_[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Fba:a,clientId:f}}}return null};
sz=function(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};_.tz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.kw(c,d):_.lw(d)};
uz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Lf.getOrigin(a));var b=window.location.hostname,c=b,d=_.Uh;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Re("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 _.Re("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,De:d,Dh:b}};
vz=function(a){var b=uz(a);if(!b)return new _.Oh("G_USERSTATE_");a=["G_USERSTATE_",_.Uh&&b.De?"S":"H",b.Dh].join("");var c=_.ai[a];c||(c={aY:63072E3},_.se(_.ei(b),c),c=new _.Lh(a,c),_.ai[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};wz=function(a){var b=vz(a).read();a=_.qe();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
xz=function(a,b,c){var d=wz(b),e=d[a];d[a]="0";var f=[];_.Hl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=vz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};yz=function(a,b){b=wz(b);return"0"==b[a]||"X"==b[a]};zz=function(a){a=uz(a.g_user_cookie_policy);if(!a||a.De&&!_.Uh)a=null;else{var b=["G_AUTHUSER_",_.Uh&&a.De?"S":"H",a.Dh].join(""),c=_.$h[b];c||(c=new _.Vh(b,_.ei(a)),_.$h[b]=c);a=c}_.Ie("googleapis.config/sessionIndex",null);a.clear()};Az=function(a){return iz(function(b){return a[b]})};
Bz=0;Cz=!1;Dz=[];Ez={};Fz={};Gz=null;Hz=function(a){var b=_.az;return function(c){if(this.f==b&&this.t==_.Lf.getAuthToken(this.f)&&this.origin==_.Lf.getTargetOrigin(this.f))return a.apply(this,arguments)}};Iz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Jz=function(a){if(_.bz&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ta");};
Kz=function(a){var b=_.Oe.getUrlParameters,c=b(a).jsh;if(null!=c)return Jz(c),a;if(b=String(b().jsh||_.Ae.h||""))Jz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Lz=function(){return!!_.R("oauth-flow/usegapi")};Mz=function(a,b){Lz()?Gz.unregister(a):_.Lf.unregister(a+":"+b)};Nz=function(a,b,c){Lz()?Gz.register(a,c,_.Tl):_.Lf.register(a+":"+b,Hz(c))};Oz=function(){kz.parentNode.removeChild(kz)};
Pz=function(a){var b=kz;_.Zy(b,[{ow:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Zy(b,[{ow:"transform",duration:1,timing:"ease",delay:0}]);_.py(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Qz=function(){var a=lz+88;Pz(a);lz=a};Rz=function(){var a=lz-88;Pz(a);lz=a};
Sz=function(a){var b=a?Qz:Rz,c=a?Rz:Qz;a=a?"-":"";lz=parseInt(a+88,10);kz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";kz.style.transform="translate3d(0px,"+a+88+"px,0px)";kz.style.display="";kz.style.visibility="visible";b();_.py(c,4E3);_.py(Oz,5E3)};
Tz=function(a){var b=_.R("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");kz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Or(c,"visibility","hidden");_.Or(c,b,"-40px");_.Or(c,"height","128px");var d=c;if("desktop"==_.R("deviceType")){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?"-":"";lz=parseInt(e+88,10);kz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";kz.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){}_.Fl.Xh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Sz(!0):Sz(!1)}})};
Uz=function(a){var b=_.Zm(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.zk.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Vz=function(a,b){var c=null;a&&b&&(c=b.client_id=b.client_id||a.client_id,b.scope=b.scope||a.scope,b.g_user_cookie_policy=a.cookie_policy,b.cookie_policy=b.cookie_policy||a.cookie_policy,b.response_type=b.response_type||a.response_type);if(b){b.issued_at||(b.issued_at=String(Math.floor((new Date).getTime()/1E3)));var d=parseInt(b.expires_in,10)||86400;b.error&&(d=_.R("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d));
b._aa||b.error||null!=rz(c)||!Az(a)||(b._aa="1");a=b.status={};a.google_logged_in=!!b.session_state;c=a.signed_in=!!b.access_token;a.method=c?b["g-oauth-window"]?"PROMPT":"AUTO":null}return b};Wz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Ef(_.hz(a,!0));if(!1===a)throw Error("ua");return a};Xz=function(a){return(a=Wz(a))?a.sub:null};
Yz=function(a){a&&Dz.push(a);a=_.az;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Bz&&6E4>c-Bz)return;var d=_.Lf.getAuthToken(a);d&&(Mz("oauth2relayReady",d),Mz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.cz();a=_.az}Bz=c;var e=String(2147483647*(0,_.vg)()|0);b=_.R("oauth-flow/proxyUrl")||_.R("oauth-flow/relayUrl");Lz()?Gz=_.Fl.Xh({where:_.Oe.getBodyElement(),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(_.qg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Oe.getBodyElement(),d=_.Oe.createIframeElement({name:a,id:a}),d.src=Kz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Iz(d),c.appendChild(d),_.Lf.setupReceiver(a));Nz("oauth2relayReady",e,function(){Mz("oauth2relayReady",e);
var f=Dz;if(null!==f){Dz=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});Nz("oauth2callback",e,function(f){var g=_.Oe.getUrlParameters;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Fz,f)?Fz[f]:null;g.state=f;if(null!=g.state){f=Ez[k];delete Ez[k];k=f&&f.key||"token";var l=g=Vz(f&&f.params,g);var m=(m=Xz(l))?yz(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.R("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Cz||(Cz=
!0,Tz(l)));_.tz(k,g);g=sz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(g),f.callback=null)}}})};_.Zz=function(a){null!==Dz?Yz(a):a&&a()};aA=function(a,b){var c=$z,d=Xz(a);d&&(zz(a),xz(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=Vz(null,e);c(e)}}))};
$z=function(a){a||(a=sz(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||(_.Ae.drw=null);_.tz(a);if(b=a.authuser)_.R("googleapis.config/sessionIndex"),_.Ie("googleapis.config/sessionIndex",b);_.dz.lo(_.ez,a);return a};bA=["client_id","cookie_policy","response_type"];cA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
dA=function(a){var b=_.tj(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.kw(b);return b};
eA=function(a){if(void 0===a.include_granted_scopes){var b=_.R("include_granted_scopes");a.include_granted_scopes=!!b}};fA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
gA=function(a){var b=a||{},c={};(0,_.tb)(cA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.R("googleapis/overrideClientId");null!=a&&(c.client_id=a);eA(c);"string"===typeof b.scope?c.scope=b.scope:_.ab(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{_.fx(c.cookie_policy)}catch(d){c.cookie_policy&&
fA("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||_.R("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
_.hA=function(a,b){var c=gA(a),d=new _.Pj(function(e,f){_.Nx(c,function(g){var k=g||{};(0,_.tb)(bA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=dA(k),null!=g.authuser&&_.Ie("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};iA=_.oi.mA;jA=null;
_.mA=function(a,b){if("force"!==a.approvalprompt){a=_.kA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)jA?(a.client_id!==jA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(jA=a,b=!1);b||lA(a)}};
_.kA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.zb)((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,_.zb)(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||_.R("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.R("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};lA=function(a){_.Sn("waaf0","signin","0");_.hA(a,function(b){_.Sn("waaf1","signin","0");$z(b)})};
_.nA=function(a){a=_.kA(a);_.Ie("oauth-flow/authWindowWidth",445);_.Ie("oauth-flow/authWindowHeight",615);lA(a)};_.oA=function(a){_.dz.unsubscribe(_.ez,a);_.dz.subscribe(_.ez,a)};
var vA,yA;_.qA=function(a){return a.cookiepolicy?!0:(_.pA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.pA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.uA=function(a,b){var c=_.Zm();_.se(a,c);c=Uz(c);if(_.qA(c)){var d=_.rA();_.sA(c);b?_.ze(b,"click",function(){_.tA(c,d)}):_.tA(c,d)}};
_.rA=function(){var a=new vA;_.oA(function(b){a.iC&&b&&(b.access_token&&_.Ie("isPlusUser",!0),b["g-oauth-window"]&&(a.iC=!1,_.Te("OTA app install is no longer supported.")))});return a};vA=function(){this.iC=!1};_.sA=function(a){a=_.wA(a);_.xA(a.callback);_.Zz(function(){_.mA(a)})};_.wA=function(a){yA(a);a.redirecturi&&delete a.redirecturi;jz(function(b){return a[b]})||(a.authuser=0);return a};yA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.xA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.pA('Callback function named "'+a+'" not found');return}a&&_.oA(a)};_.tA=function(a,b){b.iC=!0;a=_.wA(a);_.nA(a)};
_.y("gapi.auth.authorize",_.hA);_.y("gapi.auth.checkSessionState",function(a,b){var c=_.qe();c.client_id=a.client_id;c.session_state=a.session_state;_.Zz(function(){Lz()?Gz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Tl):_.Lf.call(_.az,"check_session_state",Hz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.y("gapi.auth.getAuthHeaderValueForFirstParty",iA);_.y("gapi.auth.getToken",sz);
_.y("gapi.auth.getVersionInfo",function(a,b){_.Zz(function(){var c=_.ni()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Lz()?Gz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Tl):_.Lf.call(_.az,"get_versioninfo",Hz(function(f){a(f)}),d,b):a()})});_.y("gapi.auth.init",_.Zz);_.y("gapi.auth.setToken",_.tz);_.y("gapi.auth.signIn",function(a){_.uA(a)});_.y("gapi.auth.signOut",function(){var a=sz();a&&aA(a,a.cookie_policy)});
_.y("gapi.auth.unsafeUnpackIdToken",Wz);_.y("gapi.auth._pimf",_.mA);_.y("gapi.auth._oart",Tz);_.y("gapi.auth._guss",function(a){return vz(a).read()});

_.zA=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.AA=function(){var a=_.Zm();_.zA(a)&&!_.R("disableRealtimeCallback")?_.sA(a):_.Zz()};_.Dj(function(){_.AA()});

var BA,CA,DA,EA={OG:function(a){BA=a;try{delete EA.OG}catch(b){}},PG:function(a){CA=a;try{delete EA.PG}catch(b){}},QG:function(a){DA=a;try{delete EA.QG}catch(b){}}},FA=function(){var a=!0,b=_.sy(_.gy);b&&void 0!==b.withCredentials||(a=!1);return a},GA=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=_.R("client/rewrite");_.kb(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=_.R("client/firstPartyRewrite"),_.kb(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},HA=function(a){_.pb.call(this,a)};_.Nq(HA,_.pb);HA.prototype.name="gapi.client.Error";
var IA=function(a){if(!a||!_.mb(a))throw new HA("Must provide a function.");this.Jf=null;this.eT=a};IA.prototype.then=function(a,b,c){this.Jf||(this.Jf=this.eT());return this.Jf.then(a,b,c)};IA.prototype.Sw=function(a){this.Jf||(this.Jf=a)};var JA={};JA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.Wg(a,c);d&&(c=_.Vg(c,d))&&_.Xg(b,c,d,!0)}return b};
var KA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},LA=function(a,b,c,d){_.Gy.call(this);this.ld=a;this.mC=b;this.qd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.Wg(d,e),void 0!==b&&(e=_.Ug(e,b))&&_.Xg(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=unescape(encodeURIComponent(a[e])));this.Sq=d;this.Jf=null};_.Nq(LA,_.Gy);
LA.prototype.then=function(a){this.Jf||(this.Jf=(new _.Pj(function(b,c){this.U("error",(0,_.L)(function(){c(MA(this))},this));this.U("success",(0,_.L)(function(){b(MA(this))},this));this.send(this.ld,this.mC,this.qd,this.Sq)},this)).then(function(b){b.headers=JA(b.headers);return b},function(b){return b.status?(b.headers=JA(b.headers),_.Uj(b)):_.Uj({result:KA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
return this.Jf.then.apply(this.Jf,arguments)};
var MA=function(a){var b=a.getStatus(),c=_.Ty(a);var d=204==b?!1:""==a.Ik?_.Ef(c):_.Uy(a);var e=a.getAllResponseHeaders();e=_.Yg(e,!1);try{var f=2<_.Ry(a)?a.Oa.statusText:""}catch(g){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},NA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,OA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,PA=/;\s*charset\s*=/i,QA=/(([\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,RA=
function(a){var b=[];a=a.replace(QA,function(c){b.push(_.hz(c));return""});if(a.length)throw Error("sa");return b.join("")},SA=function(a){var b=a.headers;if(b&&"base64"===_.Wg(b,_.Dg.oy)){var c=RA(a.body),d=_.Wg(b,_.Dg.ny);b[_.Dg.CONTENT_TYPE]=d;if(d.match(NA)||d.match(OA)&&!d.match(PA)){d=[];for(var e=0,f=0;f<c.length;f++){var g=c.charCodeAt(f);255<g&&(d[e++]=g&255,g>>=8);d[e++]=g}c=_.hw(d)}_.Xg(b,_.Dg.oy);_.Xg(b,_.Dg.ny);a.body=c}},TA=function(a,b,c){c||((c=_.R("googleapis.config/proxy"))&&(c=
String(c).replace(/\/static\/proxy\.html$/,"")||"/"),c=String(c||""));c||(c=_.R("googleapis.config/root"),b&&(c=_.R("googleapis.config/root-1p")||c),c=String(c||""));c=String(GA(b,c)||c);return a=_.zy(c,a)},UA=function(a){var b=_.Mt(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.Wg(b,c);d&&(_.Ug(c,d),_.Xg(a,c,d))}c="chrome-extension"==(window.location.href.match(_.ph)[1]||null);a=_.li(a);return!(c&&a)&&FA()},VA=function(a,
b){var c=a.params||_.qe();c.url=c.path;var d=c.root;d=TA("/",_.li(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.qi.sj("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?SA(e.gapiRequest.data):SA(e),b(e,_.Ff(e))):b(e,f)})},WA=function(a){return new _.Pj(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.Ef(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||
null};_.Ey(e.status)?b(e):c(e)};try{VA(a,d)}catch(e){c(e)}})},XA=function(a){var b=!_.R("client/cors")||!!_.R("client/xd4"),c={};_.Hl(a,function(d,e){(d=_.Ug(e,d))||b||(d=_.Tg(e));d&&(e=_.Wg(a,d))&&_.Xg(c,d,e)});return c},YA=function(a){var b=a.params||_.qe();a=_.tj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.uh(d,"$unique",d.search(_.vh))||0<=_.uh(d,e,d.search(_.vh)))){var f=[];for(g in a)Object.prototype.hasOwnProperty.call(a,
g)&&f.push(g.toLowerCase());f.sort();f.push(_.sg(location.href));var g=f.join(":");f=_.ii();f.update(g);g=f.Rg().toLowerCase().substr(0,7);g=String(parseInt(g,16)%1E3+1E3).substr(1);d=_.yy(d,e,"gc"+g)}e=b.body||null;g=b.responseType||null;b=_.li(a)||"1p"==b.authType;_.Xg(a,_.Dg.py,void 0);a=XA(a);var k=new LA(d,c,e,a);k.xh=b;g&&(k.Ik=g);return new _.Pj(function(l,m){k.then(function(n){SA(n);l(n)},function(n){m(n)})})},ZA=function(a,b){var c=function(d){d=_.tj(d);delete d.result;d={gapiRequest:{data:d}};
b&&b(d,_.Ff(d))};YA(a).then(c,c)},$A=function(a,b){(_.R("client/cors")||_.R("client/xd4"))&&UA(a)?ZA(a,b):VA(a,b)},aB=function(a){this.Sc=a;this.qf=!1;this.promise={then:(0,_.L)(function(b,c,d){this.qf||(this.qf=!0);this.Tr&&!this.Rr?this.Sc.resolve(this.Tr):this.Rr&&!this.Tr&&this.Sc.reject(this.Rr);return this.Sc.promise.then(b,c,d)},this)}};aB.prototype.resolve=function(a){this.qf?this.Sc.resolve(a):this.Tr||this.Rr||(this.Tr=a)};
aB.prototype.reject=function(a){this.qf?this.Sc.reject(a):this.Tr||this.Rr||(this.Rr=a)};
var bB=function(a){a=_.vy(a.error);return{code:a.code,data:a.errors,message:a.message}},cB=function(a){throw Error("va`"+a);};
var dB=function(a){IA.call(this,dB.prototype.rm);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new HA("Missing required parameters");if("string"===typeof a){var b={};b.path=a}else b=a;if(!b.path)throw new HA('Missing required parameter: "path"');this.nh={};this.nh.path=b.path;this.nh.method=b.method||"GET";this.nh.params=b.params||{};this.nh.headers=b.headers||{};this.nh.body=b.body;this.nh.root=b.root;this.nh.responseType=b.responseType;this.nh.apiId=b.apiId;this.Cp=b.authType||"auto";this.MX=
!!b.isXd4;this.ZL=!1};_.H(dB,IA);var eB=["appVersion","platform","userAgent"],fB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};dB.prototype.lg=function(){return this.nh};dB.prototype.uj=function(a){this.Cp=a};
dB.prototype.jj=function(){if(!this.ZL){this.ZL=!0;var a=this.nh,b=a.headers=a.headers||{},c=[],d=[];for(g in b)if(Object.prototype.hasOwnProperty.call(b,g)){c.push(g);var e=g,f=_.Wg(b,e);f&&(e=_.Ug(e,f)||_.Tg(e))&&d.push([e,f])}var g=0;for(e=c.length;g<e;++g)delete b[c[g]];c=0;for(g=d.length;c<g;++c)_.Xg(b,d[c][0],d[c][1]);if(this.MX)d="1p"==this.Cp;else{d=b;c=_.Dg.hG;g=String(_.R("client/version","1.1.0"));e=String(_.R("client/name","google-api-javascript-client"));e=!0===fB[e]?e:"google-api-javascript-client";
f=String(_.R("client/appName",""));var k=[];f&&(k.push(f),k.push(" "));k.push(e);g&&(k.push("/"),k.push(g));_.Xg(d,c,k.join(""));_.Xg(b,_.Dg.jG,"XMLHttpRequest");d=_.Wg(b,_.Dg.CONTENT_TYPE);a.body&&!d&&_.Xg(b,_.Dg.CONTENT_TYPE,"application/json");_.R("client/allowExecutableResponse")||_.Xg(b,_.Dg.my,"base64");(d=_.Wg(b,_.Dg.CONTENT_TYPE))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.kb(d)&&(a.body=_.Ff(d));a.key=a.id;b=_.qi.zR(b,void 0,this.Cp);d=
_.li(b);if((c=b)&&window.navigator){g=[];for(e=0;e<eB.length;e++)(f=window.navigator[eB[e]])&&g.push(encodeURIComponent(eB[e])+"="+encodeURIComponent(f));_.Xg(c,_.Dg.cG,g.join("&"))}(c=_.R("client/apiKey"))&&void 0===a.params.key&&(a.params.key=c);(c=_.R("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.Cp&&(d?this.uj("1p"):(b=_.Wg(b,_.Dg.AUTHORIZATION))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.uj("oauth2"):this.uj("none"));(b=String(a.path||"").match(/^(https?:\/\/[^\/?#]+)([\/?#].*)?$/i))&&
!a.root&&(a.root=String(b[1]),a.path=String(b[2]||"/"),a.path.match(/^\/_ah\/api(\/.*)?$/)?(a.root+="/_ah/api",a.path=a.path.substr(8)):(b=_.R("googleapis.config/root"),d&&(b=_.R("googleapis.config/root-1p")||b),b=String(b||""),c=a.root+a.path,b&&c.substr(0,b.length)===b&&(a.path=c.substr(b.length),a.root=b)));b=a.params;c=_.Kg(a.path);g=String(_.R("googleapis.config/xd3")||"");18<=g.length&&"/static/proxy.html"==g.substring(g.length-18)&&(g=g.substring(0,g.length-18));g||(g="/");e=_.Kg(g);if(g!=
e)throw Error("x");"/"!=g.charAt(g.length-1)&&(g+="/");c=_.zy(g,c);_.Pq(c,"/")&&(c=c.substring(0,c.length-1));g=_.qe();for(var l in b)Object.prototype.hasOwnProperty.call(b,l)&&(e=encodeURIComponent(l),g[e]=b[l]);c=_.th(c,g);a.path=c;a.root=GA(!!d,a.root);a.url=TA(a.path,!!d,a.root)}};var gB=function(a){a.jj();var b=a.nh;return{key:"gapiRequest",params:{id:b.id,key:b.key,url:b.url,path:b.path,httpMethod:b.method,body:b.body||"",headers:b.headers||{},urlParams:{},root:b.root,authType:a.Cp}}};
dB.prototype.execute=function(a){var b=gB(this);$A(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e instanceof Array?e[0]:e;if(204!=c.status&&c.body)try{var f=_.Ef(c.body)}catch(g){}a&&a(f,d)})};dB.prototype.rm=function(){var a=gB(this);return(_.R("client/cors")||_.R("client/xd4"))&&UA(a)?YA(a):WA(a)};dB.prototype.lk=function(){return this.rm()};dB.prototype.execute=dB.prototype.execute;dB.prototype.then=dB.prototype.then;dB.prototype.getPromise=dB.prototype.lk;
var hB=function(a){if(!a||"object"!=typeof a)throw new HA("Missing rpc parameters");if(!a.method)throw new HA("Missing rpc method");this.Fw=a};hB.prototype.Ll=function(){var a=this.Fw.transport;return a?a.root||null:null};hB.prototype.execute=function(a){var b=CA();b.add(this,{id:"gapiRpc",callback:this.ur(a)});b.execute()};
hB.prototype.Iv=function(a){var b=this.Fw.method,c=String,d;(d=this.Fw.apiVersion)||(d=String(b).split(".")[0],d=_.R("googleapis.config/versions/"+b)||_.R("googleapis.config/versions/"+d)||"v1",d=String(d));c=c(d);a={jsonrpc:"2.0",id:a,method:b,apiVersion:c};(b=this.Fw.rpcParams)&&(a.params=b);return a};
hB.prototype.ur=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.tj(b.error))}else d=b.result||b.data,_.kb(d)&&null==d.result&&(d.result=_.tj(b.result||b.data));else d=!1;a(d,c)}};hB.prototype.execute=hB.prototype.execute;
var jB=function(a,b){this.yf=b||0;2==this.yf?(b=null,null!=a&&_.kb(a)&&(b={},b.method=a.method,b.rpcParams=a.rpcParams,b.transport=a.transport,b.root=a.root,b.apiVersion=a.apiVersion,b.authType=a.authType),this.Mb=new hB(b)):(0==this.yf&&(b=a&&a.callback)&&(a.callback=iB(b)),b=null,null!=a&&(_.kb(a)?(b={},b.path=a.path,b.method=a.method,b.params=a.params,b.headers=a.headers,b.body=a.body,b.root=a.root,b.responseType=a.responseType,b.authType=a.authType,b.apiId=a.apiId):"string"===typeof a&&(b=a)),
this.Mb=new dB(b))},iB=function(a){return function(b){if(null!=b&&_.kb(b)&&b.error){var c=bB(b);b=_.Ff([{id:"gapiRpc",error:c}]);c.error=_.vy(c)}else null==b&&(b={}),c=_.vy(b),c.result=_.vy(b),b=_.Ff([{id:"gapiRpc",result:b}]);a(c,b)}};_.h=jB.prototype;_.h.getFormat=function(){return this.yf};_.h.execute=function(a){this.Mb.execute(a&&1==this.yf?iB(a):a)};_.h.then=function(a,b,c){2==this.yf&&cB('The "then" method is not available on this object.');return this.Mb.then(a,b,c)};
_.h.Sw=function(a){this.Mb.Sw&&this.Mb.Sw(a)};_.h.lg=function(){if(this.Mb.lg)return this.Mb.lg()};_.h.jj=function(){this.Mb.lg&&this.Mb.jj()};_.h.Ll=function(){if(this.Mb.Ll)return this.Mb.Ll()};_.h.Iv=function(a){if(this.Mb.Iv)return this.Mb.Iv(a)};_.h.uj=function(a){this.Mb.uj&&this.Mb.uj(a)};_.h.lk=function(){if(this.Mb.lk)return this.Mb.lk()};jB.prototype.execute=jB.prototype.execute;jB.prototype.then=jB.prototype.then;jB.prototype.getPromise=jB.prototype.lk;
var kB=function(a){IA.call(this,kB.prototype.rm);this.Mb=a};_.H(kB,IA);_.h=kB.prototype;_.h.execute=function(a){var b=this.getFormat(),c=function(d){if(_.mb(a)){var e={gapiRequest:{data:{status:d&&d.status,statusText:d&&d.statusText,headers:d&&d.headers,body:d&&d.body}}},f=a,g=void 0;1===b&&(f=iB(f),g={});var k=d?d.result:!1;d&&204==d.status&&(k=g,delete e.gapiRequest.data.body);d=_.Ff(e);f(k,d)}};this.lk().then(c,c)};
_.h.rm=function(){return new _.Pj(function(a,b){var c=BA(),d=c.add(this.Mb,{id:"gapiRequest"});return c.then(function(e){var f=e.result;if(f&&(f=f[d])){Object.prototype.hasOwnProperty.call(f,"result")||(f.result=!1);Object.prototype.hasOwnProperty.call(f,"body")||(f.body="");_.Ey(f.status)?a(f):b(f);return}b(e)},b)},this)};_.h.lg=function(){if(this.Mb.lg)return this.Mb.lg()};_.h.jj=function(){this.Mb.jj&&this.Mb.jj()};_.h.Ll=function(){if(this.Mb.Ll)return this.Mb.Ll()};
_.h.uj=function(a){this.Mb.uj&&this.Mb.uj(a)};_.h.getFormat=function(){var a=void 0;this.Mb.getFormat&&(a=this.Mb.getFormat());void 0===a&&(a=0);return a};_.h.lk=function(){return this.rm()};kB.prototype.execute=kB.prototype.execute;kB.prototype.then=kB.prototype.then;kB.prototype.getPromise=kB.prototype.lk;
var lB=/<response-(.*)>/,mB=/^application\/http(;.+$|$)/,nB=function(a,b){a=_.Wg(a,b);if(!a)throw new HA("Unable to retrieve header.");return a},pB=function(a,b,c,d){var e="batch"+String(Math.round(2147483647*(0,_.vg)()))+String(Math.round(2147483647*(0,_.vg)())),f="--"+e;e="multipart/mixed; boundary="+e;a:{var g=void 0;for(var k=0;k<a.length;k++){var l=a[k].request.lg().apiId;if("string"!==typeof l){g="batch";break a}if(void 0===g)g=l;else if(g!=l){g="batch";break a}}g=_.R("client/batchPath/"+g)||
"batch/"+g.split(":").join("/")}g={path:g,method:"POST"};k=[];for(l=0;l<a.length;l++)k.push(oB(a[l].request,[f.substr(f.indexOf("--")+2),"+",encodeURIComponent(a[l].id).split("(").join("%28").split(")").join("%29").split(".").join("%2E"),"@googleapis.com"].join("")));g.body=[f,k.join("\r\n"+f+"\r\n"),f+"--"].join("\r\n")+"\r\n";g.root=b||null;if(_.R("client/xd4")&&FA())return g.isXd4=!0,g.params={$ct:e},g.headers={},_.Xg(g.headers,_.Dg.CONTENT_TYPE,"text/plain; charset=UTF-8"),c?g.authType="1p":d&&
(g.authType="oauth2"),new dB(g);g.headers={};_.Xg(g.headers,_.Dg.CONTENT_TYPE,e);return DA(g)},oB=function(a,b){var c=[];a=a.lg();var d=function(f,g){_.Hl(f,function(k,l){g.push(l+": "+k)})},e={};e[_.Dg.CONTENT_TYPE]="application/http";e[_.Dg.Gx]="binary";e[_.Dg.Fx]="<"+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")},rB=function(a,b){a=qB(a,b);var c={};_.Gb(a,function(d,e){c[e]={result:d.result||d.body,rawResult:_.Ff({id:e,
result:d.result||d.body}),id:e}});return c},qB=function(a,b){a=(0,_.zb)(a);_.Pq(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.qe();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.Pq(d,"\r\n")&&(d=d.substring(0,d.length-2));if(d){d=d.split("\r\n");for(var e=0,f={headers:{},body:""};e<d.length&&""==d[e];)e++;for(f.outerHeaders=sB(d,e);e<d.length&&""!=d[e];)e++;e++;var g=d[e++].split(" ");f.status=Number(g[1]);f.statusText=g.slice(2).join(" ");for(f.headers=sB(d,e);e<d.length&&""!=d[e];)e++;
e++;f.body=d.slice(e).join("\r\n");SA(f);d=f}else d=null;e=_.qe();f=nB(d.outerHeaders,_.Dg.CONTENT_TYPE);if(null==mB.exec(f))throw new HA("Unexpected Content-Type <"+f+">");f=nB(d.outerHeaders,_.Dg.Fx);f=lB.exec(f);if(!f)throw new HA("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=_.Ef(d.body));d=e}else d=null;d&&d.id&&
(b[d.id]=d.response)}return b},sB=function(a,b){for(var c=[];b<a.length&&a[b];b++)c.push(a[b]);return _.Yg(c.join("\r\n"),!1)};
var tB=function(a){IA.call(this,tB.prototype.rm);this.Rb=[];this.Lf=a;this.$X=!!a;this.oB=this.nB=!1};_.H(tB,IA);var uB=function(a,b){for(var c=0;c<a.Rb.length;c++)if(a.Rb[c].id==b)return!0;return!1};_.h=tB.prototype;
_.h.add=function(a,b){b=b||_.qe();var c=_.qe();if(!a)throw new HA("Batch entry "+(_.re(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");a.jj();c.request=a;var d=_.Zj();d=new aB(d);c.vo=d;a.Sw(c.vo.promise);d=a.lg().headers;_.li(d)&&(this.nB=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.oB=!0);a=a.lg().root;if(!this.$X){if(a&&this.Lf&&a!=this.Lf)throw new HA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.Lf=a||this.Lf}if(_.re(b,"id")){a=b.id;if(uB(this,a))throw new HA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(Math.round(2147483647*(0,_.vg)()));while(uB(this,c.id))}c.callback=b.callback;this.Rb.push(c);return c.id};_.h.execute=function(a){1>this.Rb.length||(_.Gl(this.Rb,function(b){b.request.jj()}),a=this.ur(a),pB(this.Rb,this.Lf,this.nB,this.oB).execute(a))};
_.h.rm=function(){if(1>this.Rb.length)return new _.Pj(function(d){d({})});_.Gl(this.Rb,function(d){d.request.jj()});var a=pB(this.Rb,this.Lf,this.nB,this.oB),b=(0,_.L)(function(d){vB(d);if(0!=nB(d.headers,_.Dg.CONTENT_TYPE).indexOf("multipart/mixed"))throw new HA("The response's Content-Type is not multipart/mixed.");var e=nB(d.headers,_.Dg.CONTENT_TYPE).split("boundary=")[1];if(!e)throw new HA("Boundary not indicated in response.");e=qB(d.body,"--"+e);d.result=e||{};for(var f=0;f<this.Rb.length;f++){var g=
this.Rb[f],k=e[g.id];k&&_.Ey(k.status)?g.vo.resolve(k):g.vo.reject(k)}return d},this),c=(0,_.L)(function(d){for(var e=0;e<this.Rb.length;e++){var f=this.Rb[e],g={error:{code:0,message:"The batch request could not be fulfilled."}};d&&d.message||d.message?g.error.message+=" "+(d.message||d.message):d&&d.error&&d.error.message&&(g.error.message=d.error.message,g.error.code=d.error.code||0);f.vo.reject({result:g,body:_.Ff(g),headers:null,status:null,statusText:null})}throw d;},this);return a.then(b,c)};
_.h.ur=function(a){return(0,_.L)(function(b,c){this.Ey(b,c,a)},this)};
_.h.Ey=function(a,b,c){try{a=wB(a,b);if(!a)throw new HA("The batch response is missing.");if(0!=nB(a.headers,_.Dg.CONTENT_TYPE).indexOf("multipart/mixed"))throw new HA("The response's Content-Type is not multipart/mixed.");if(200<=a.status&&299>=a.status){var d=nB(a.headers,_.Dg.CONTENT_TYPE).split("boundary=")[1];if(!d)throw new HA("Boundary not indicated in response.");var e=rB(a.body,"--"+d);for(a=0;a<this.Rb.length;a++){var f=this.Rb[a],g=e[f.id];if(g&&Object.prototype.hasOwnProperty.call(g,"rawResult")){g.rawResult=
void 0;try{delete g.rawResult}catch(l){}}if(f.callback){var k=_.Ff(g);try{f.callback(g||!1,k)}catch(l){(function(m){setTimeout(function(){throw m;})})(l)}}}}if(c)try{c(e||null,b)}catch(l){(function(m){setTimeout(function(){throw m;})})(l)}}catch(l){b=!0;f={error:{code:0,message:"The batch request could not be fulfilled."}};if(l&&l.message||l.message)f.error.message+=" "+(l.message||l.message);e={result:f,body:_.Ff(f),headers:null,status:null,statusText:null};g=_.Ff(e);if(this.Rb)for(a=0;a<this.Rb.length;a++)if(f=
this.Rb[a],f.callback)try{f.callback(e,g)}catch(m){(function(n){setTimeout(function(){throw n;})})(m)}else b=!1;else b=!1;if(c){try{c(e,g)}catch(m){(function(n){setTimeout(function(){throw n;})})(m)}b=!0}if(!b)throw l;}};var wB=function(a,b){b&&!a&&(b=_.Ef(b))&&(a=b.gapiRequest?b.gapiRequest.data:b);vB(a);return a},vB=function(a){if(a){var b=a.headers;if(b){var c=_.qe(),d;for(d in b)if(Object.prototype.hasOwnProperty.call(b,d)){var e=_.Wg(b,d);_.Xg(c,d,e,!0)}a.headers=c}}};tB.prototype.add=tB.prototype.add;
tB.prototype.execute=tB.prototype.execute;tB.prototype.then=tB.prototype.then;
var xB=function(){this.Rb=[];this.Lf=this.Rc=null};
xB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.rpc=a;else throw new HA("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<this.Rb.length;d++)if(this.Rb[d].id==a)throw new HA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*(0,_.vg)()|0);while(d.call(this.Rb,c.id))}c.callback=b.callback;this.Rb.push(c);return c.id};
var yB=function(a){return function(b){var c=b.body;if(b=b.result){for(var d={},e=0,f=b.length;e<f;++e)d[b[e].id]=b[e];a(d,c)}else a(b,c)}};
xB.prototype.execute=function(a){this.Rc=[];for(var b,c,d=0;d<this.Rb.length;d++)b=this.Rb[d],c=b.rpc,this.Rc.push(c.Iv(b.id)),this.Lf=c.Ll()||this.Lf;b={requests:this.Rc,root:this.Lf};c=this.ur(a);a={};d=b.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var g=_.Wg(d,f);g&&(f=_.Ug(f,g)||_.Tg(f))&&_.Xg(a,f,g)}}_.Xg(a,_.Dg.CONTENT_TYPE,"application/json");e=yB(c);DA({method:"POST",root:b.root||void 0,path:"/rpc",params:b.urlParams,headers:a,body:b.requests||[]}).then(e,
e)};xB.prototype.ur=function(a){var b=this;return function(c,d){b.Ey(c,d,a)}};xB.prototype.Ey=function(a,b,c){a||(a={});for(var d=0;d<this.Rb.length;d++){var e=this.Rb[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};EA.PG(function(){return new xB});xB.prototype.add=xB.prototype.add;xB.prototype.execute=xB.prototype.execute;
var zB=function(a,b){this.$Y=a;this.yf=b||null;this.Qe=null};zB.prototype.GB=function(a){this.yf=a;this.Qe=2==this.yf?new xB:new tB(this.$Y)};zB.prototype.add=function(a,b){if(!a)throw a=b||_.qe(),new HA("Batch entry "+(_.re(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.yf&&this.GB(a.getFormat());this.yf!==a.getFormat()&&cB("Unable to add item to batch.");var c=b&&b.callback;1==this.yf&&c&&(b.callback=function(d){d=AB(d);var e=_.Ff([d]);c(d,e)});return this.Qe.add(a,b)};
zB.prototype.execute=function(a){var b=a&&1==this.yf?function(c){var d=[];_.Hl(c,function(f,g){f=AB(f);c[g]=f;d.push(f)});var e=_.Ff(d);a(c,e)}:a;this.Qe&&this.Qe.execute(b)};var AB=function(a){var b=a?_.Mt(a,"result"):null;_.kb(b)&&null!=b.error&&(b=bB(b),a={id:a.id,error:b});return a};zB.prototype.then=function(a,b,c){2==this.yf&&cB('The "then" method is not available on this object.');return this.Qe.then(a,b,c)};zB.prototype.add=zB.prototype.add;zB.prototype.execute=zB.prototype.execute;
zB.prototype.then=zB.prototype.then;
var BB="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",CB=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+BB)},EB=function(a,b,c,d){if(_.kb(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new HA("Missing required parameters.");var g=c||function(){},k=_.kb(d)?d:{};c=function(l){var m=l&&l.result;if(!m||m.error||!m.name||!l||l.error||l.message||l.message)g(m&&
m.error?m:l&&(l.error||l.message||l.message)?l:new HA("API discovery response missing required fields."));else{l=k.root;l=null!=m.rootUrl?String(m.rootUrl):l;l="string"===typeof l?l.replace(/([^\/])\/$/,"$1"):void 0;k.root=l;m.name&&m.version&&!m.id&&(m.id=[m.name,m.version].join(":"));m.id&&(k.apiId=m.id,l="client/batchPath/"+m.id,m.batchPath&&!_.R(l)&&_.Ie(l,m.batchPath));var n=m.servicePath,p=m.parameters,t=function(u){_.Hl(u,function(v){if(!(v&&v.id&&v.path&&v.httpMethod))throw new HA("Missing required parameters");
var w=v.id.split("."),z=window.gapi.client,B;for(B=0;B<w.length-1;B++){var A=w[B];z[A]=z[A]||{};z=z[A]}var E,K;k&&(k.hasOwnProperty("root")&&(E=k.root),k.hasOwnProperty("apiId")&&(K=k.apiId));A=window.gapi.client[w[0]];A.eF||(A.eF={servicePath:n||"",parameters:p,apiId:K});w=w[B];z[w]||(z[w]=_.ij(DB,{path:"string"===typeof v.path?v.path:null,httpMethod:"string"===typeof v.httpMethod?v.httpMethod:null,parameters:v.parameters,parameterName:(v.request||{}).parameterName||"",request:v.request,root:E},
A.eF))})},r=function(u){_.Hl(u,function(v){t(v.methods);r(v.resources)})};r(m.resources);t(m.methods);g.call()}};e?c({result:e}):0<f.indexOf("://")?DA({path:f,params:{pp:0,fields:0<=("/"+f).indexOf("/discovery/v1/apis/")?"kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id":'fields["kind"],fields["name"],fields["version"],fields["rootUrl"],fields["servicePath"],fields["resources"],fields["parameters"],fields["methods"],fields["batchPath"],fields["id"]'}}).then(c,c):DA({path:CB(f,
a),root:d&&d.root}).then(c,c)},DB=function(a,b,c,d){var e=b.servicePath||"";_.ld(e,"/")||(e="/"+e);var f=FB(a.path,[a.parameters,b.parameters],c||{});c=f.Dk;var g=f.z1;e=_.zy(e,f.path);f=g.root;delete g.root;var k=a.parameterName;!k&&1==_.uy(g)&&g.hasOwnProperty("resource")&&(k="resource");if(k){var l=g[k];delete g[k]}null==l&&(l=d);null==l&&a.request&&(_.Qq(g)&&(g=void 0),l=g);k={};var m=a.httpMethod;"GET"==m&&void 0!==l&&""!=String(l)&&(_.Xg(k,_.Dg.gG,m),m="POST");if((null==l||null!=d)&&g)for(var n in g)"string"===
typeof g[n]&&(c[n]=g[n]);return DA({path:e,method:m,params:c,headers:k,body:l,root:f||a.root,apiId:b.apiId},1)},FB=function(a,b,c){c=_.tj(c);var d={};_.Gl(b,function(e){_.Hl(e,function(f,g){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,g))-1!=a.indexOf("{"+g+"}")?(f=_.nh(c[g]),a=a.replace("{"+g+"}",f)):-1!=a.indexOf("{+"+g+"}")&&(f=encodeURI(String(c[g])),a=a.replace("{+"+g+"}",f)),delete c[g];else{if(k)throw new HA("Required path parameter "+g+" is missing.");}else"query"==
f.location&&Object.prototype.hasOwnProperty.call(c,g)&&(d[g]=c[g],delete c[g])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Dk:d,z1:c}};
var GB=function(a,b,c,d){var e=b||"v1",f=_.kb(d)?d:{root:d};if(c)EB(a,e,function(g){if(g)if(g.error)c(g);else{var k="API discovery was unsuccessful.";if(g.message||g.message)k=g.message||g.message;c({error:k,code:0})}else c()},f);else return new _.Pj(function(g,k){var l=function(m){m?k(m):g()};try{EB(a,e,l,f)}catch(m){k(m)}})},HB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),IB=function(a,b){if(!a)throw new HA("Missing required parameters");
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new jB(c,b);if(c=!!_.R("client/xd4")&&FA()){var d=b.lg();c=d.path;(d=d.root)&&"/"!==d.charAt(d.length-1)&&(d+="/");d&&c&&c.substr(0,d.length)===d&&(c=c.substr(d.length));c=!c.match(HB)}c&&(b=new kB(b));return a?(b.execute(a),null):b};EA.QG(function(a){return IB.apply(null,arguments)});
var JB=function(a,b){if(!a)throw new HA("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e<c.length-1;e++){var f=c[e];d[f]=d[f]||{};d=d[f]}c=c[c.length-1];if(!d[c]){var g=b||{};d[c]=function(k){var l="string"==typeof g?g:g.root;k&&k.root&&(l=k.root);return new jB({method:a,apiVersion:g.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},KB=function(a){return new zB(a)};EA.OG(function(a){return KB.apply(null,arguments)});var LB=function(a){_.Re(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
_.y("gapi.client.init",function(a){a.apiKey&&_.Ie("client/apiKey",a.apiKey);var b=(0,_.vb)(a.discoveryDocs||[],function(d){return GB(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.Pj(function(d,e){_.q.gapi.load("auth2",{callback:function(){_.q.gapi.auth2.init.call(_.q.gapi.auth2,a).then(function(){d()},e)},onerror:function(f){e(f||Error("wa"))}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Re("client_id and scope must both be provided to initialize OAuth.");return _.Xj(b).then(function(){})});
_.y("gapi.client.load",GB);_.y("gapi.client.newBatch",KB);_.y("gapi.client.newRpcBatch",function(){LB("gapi.client.newRpcBatch");return KB()});_.y("gapi.client.newHttpBatch",function(a){LB("gapi.client.newHttpBatch");return new zB(a,0)});_.y("gapi.client.register",function(a,b){LB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});JB(a,c)});_.y("gapi.client.request",IB);
_.y("gapi.client.rpcRequest",function(a,b,c){LB("gapi.client.rpcRequest");if(!a)throw new HA('Missing required parameter "method".');return new jB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.y("gapi.client.setApiKey",function(a){_.Ie("client/apiKey",a);_.Ie("googleapis.config/developerKey",a)});_.y("gapi.client.setApiVersions",function(a){LB("gapi.client.setApiVersions");_.Ie("googleapis.config/versions",a)});_.y("gapi.client.getToken",function(a){return _.Gh(a)});
_.y("gapi.client.setToken",function(a,b){a?_.kw(a,b):_.lw(b)});_.y("gapi.client.AuthType",{o2:"auto",NONE:"none",Q6:"oauth2",B4:"1p"});_.y("gapi.client.AuthType.AUTO","auto");_.y("gapi.client.AuthType.NONE","none");_.y("gapi.client.AuthType.OAUTH2","oauth2");_.y("gapi.client.AuthType.FIRST_PARTY","1p");

});
// Google Inc.
