/* JS */ gapi.loaded_1(function(_){var window=this;
var gy=function(){};gy.prototype.VG=null;gy.prototype.getOptions=function(){var a;(a=this.VG)||(a={},_.hy(this)&&(a[0]=!0,a[1]=!0),a=this.VG=a);return a};var jy;jy=function(){};_.F(jy,gy);_.hy=function(a){if(!a.QJ&&"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.QJ=d}catch(e){}}throw Error("qa");}return a.QJ};_.iy=new jy;

_.Qe=_.Qe||{};
(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}_.Qe.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)};_.Qe.vH=function(b){var c=_.Qe.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(_.Qe.uu(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Qe.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};_.Qe.rI=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};_.Qe.Eaa=function(b){return a(b)}})();

_.Kh={};_.Lh=function(a){return _.Kh[a||"token"]||null};
var Rh,Sh;_.Qh=function(a,b){this.yd=a;a=b||{};this.qY=Number(a.maxAge)||0;this.Xc=a.domain;this.jj=a.path;this.O_=!!a.secure};Rh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;Sh=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Qh.prototype.read=function(){for(var a=this.yd+"=",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)}};
_.Qh.prototype.write=function(a,b){if(!Sh.test(this.yd))throw"Invalid cookie name";if(!Rh.test(a))throw"Invalid cookie value";a=this.yd+"="+a;this.Xc&&(a+=";domain="+this.Xc);this.jj&&(a+=";path="+this.jj);b="number"===typeof b?b:this.qY;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.O_&&(a+=";secure");document.cookie=a;return!0};_.Qh.prototype.clear=function(){this.write("",0)}; _.Qh.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 Uh;_.Th=function(a){this.Vh=a};Uh={};_.Th.prototype.read=function(){if(Uh.hasOwnProperty(this.Vh))return Uh[this.Vh]};_.Th.prototype.write=function(a){Uh[this.Vh]=a;return!0};_.Th.prototype.clear=function(){delete Uh[this.Vh]};_.Th.iterate=function(a){for(var b in Uh)Uh.hasOwnProperty(b)&&a(b,Uh[b])};
var Vh=function(){this.je=null;this.key=function(){return null};this.getItem=function(){return this.je};this.setItem=function(a,b){this.je=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.je=null;this.length=0};this.length=0},Wh=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}},Xh=function(a,b){this.yd=a;this.Of=
Wh(b)?b||window.sessionStorage:new Vh};Xh.prototype.read=function(){return this.Of.getItem(this.yd)};Xh.prototype.write=function(a){try{this.Of.setItem(this.yd,a)}catch(b){return!1}return!0};Xh.prototype.clear=function(){this.Of.removeItem(this.yd)};Xh.iterate=function(a){if(Wh())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var Yh=0;64>Yh;++Yh);_.Zh="https:"===window.location.protocol;_.$h=_.Zh||"http:"===window.location.protocol?_.Qh:_.Th;_.ai=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{Ge:"S"==a.charAt(0),domain:d,Eh:c}};
_.bi=function(a){if(0!==a.indexOf("GCSC"))return null;var b={MB:!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=_.ai(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Ge;return!d&&("U"!==c||e.Ge)||d&&!_.Zh?b:{MB:!0,Ge:d,mS:a.substr(1),domain:e.domain,Eh:e.Eh}};
var ci,di,gi,hi,ii;ci=_.te();di=_.te();_.ei=_.te();_.fi=_.te();gi="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");hi=function(a){this.CL=a;this.fC=null};hi.prototype.write=function(a){var b=_.te(),c=_.te();for(d in a)_.ue(a,d)&&(c[d]=a[d],b[d]=a[d]);var d=0;for(var e=gi.length;d<e;++d)delete c[gi[d]];a=String(a.authuser||0);d=_.te();d[a]=_.Qe.Ic("#"+ii(c));this.CL.write(_.Hf(d));this.fC=b};hi.prototype.read=function(){return this.fC};
hi.prototype.clear=function(){this.CL.clear();this.fC=_.te()};_.ji=function(a){return a?{domain:a.domain,path:"/",secure:a.Ge}:null};ii=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}; Xh.iterate(function(a){var b=_.bi(a);b&&b.MB&&(ci[a]=new hi(new Xh(a)))});_.$h.iterate(function(a){ci[a]&&(di[a]=new _.$h(a,_.ji(_.bi(a))))});

_.Eg=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 li;_.ki=function(a){this.Ta=a||{cookie:""}};_.h=_.ki.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};_.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error("D`"+a);if(/[;\r\n]/.test(b))throw Error("E`"+b);_.Va(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,_.eb)()+1E3*c)).toUTCString();this.Ta.cookie=a+"="+b+e+d+c+f};
_.h.get=function(a,b){for(var c=a+"=",d=(this.Ta.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.Fb)(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.ue(a);this.set(a,"",0,b,c);return d};_.h.Bf=function(){return li(this).keys};_.h.Gd=function(){return li(this).values};_.h.isEmpty=function(){return!this.Ta.cookie};_.h.Hb=function(){return this.Ta.cookie?(this.Ta.cookie||"").split(";").length:0};_.h.ue=function(a){return _.Va(this.get(a))};
_.h.ul=function(a){for(var b=li(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=li(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};li=function(a){a=(a.Ta.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.Fb)(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}};_.mi=new _.ki("undefined"==typeof document?null:document);

var oi,pi,ri;
_.ni=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 v=e[1],u=e[2],w=e[3],C=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var D=w^v&(u^w);var A=1518500249}else D=v^u^w,A=1859775393;else 60>r?(D=v&u|w&(v|u),A=2400959708):(D=v^u^w,A=3395469782);D=((p<<5|p>>>27)&4294967295)+
D+C+A+t[r]&4294967295;C=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+C&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;v<u;++v)r.push(p.charCodeAt(v));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 v=24;0<=v;v-=8)p[t++]=e[r]>>v&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}}};oi=function(a){var b=_.ni();b.update(a);return b.Rg().toLowerCase()};
pi=function(a,b,c){var d=[],e=[];if(1==(_.ab(c)?2:1))return e=[b,a],(0,_.yb)(d,function(k){e.push(k)}),oi(e.join(" "));var f=[],g=[];(0,_.yb)(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,_.yb)(d,function(k){e.push(k)});a=oi(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")};
_.qi=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};ri=function(){var a=_.q.__OVERRIDE_SID;null==a&&(a=(new _.ki(document)).get("SID"));return!!a};
_.si=function(a){var b=_.ug(String(_.q.location.href));if(ri()){var c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:");b=c?_.q.__SAPISID:_.q.__APISID;null==b&&(b=(new _.ki(document)).get(c?"SAPISID":"APISID"));if(b){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(_.q.location.href);return d&&b&&c?[c,pi(_.ug(d),b,a||null)].join(" "):null}}return null};_.ti={QW:_.qi,RX:ri,WU:function(){var a=null;ri()&&(a=window.__PVT,null==a&&(a=_.Eg.get("BEAT")));return a},kA:_.si};

_.sh=function(a){return encodeURIComponent(String(a))};_.th=function(a){return null==a?"":String(a)};_.uh=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;_.vh=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]};
_.wh=function(a,b,c){if(_.ab(b))for(var d=0;d<b.length;d++)_.wh(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+_.sh(b)))};_.xh=function(a){var b=[],c;for(c in a)_.wh(c,a[c],b);return b.join("&")};_.yh=function(a,b){b=_.xh(b);return _.vh(a,b)};_.zh=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};_.Ah=/#|$/;

var ui;
ui=function(a,b){a=_.Qe.vH({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};
_.vi=function(){function a(){return!!g("auth/useFirstPartyAuthV2")}function b(p,t,r,v,u){var w=g("proxy");if(v||!w){w=g("root");var C=g("root-1p")||w;w=w||"https://content.googleapis.com";C=C||"https://clients6.google.com";var D=g("xd3")||"/static/proxy.html";w=(v||String(t?C:w))+D}w=String(w);r&&(w+=(0<=w.indexOf("?")?"&":"?")+"usegapi=1");(t=_.Qe.Ic().jsh||_.sg.Ey.FI())&&(w+=(0<=w.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(t));w+="#parent="+encodeURIComponent(null!=u?String(u):_.sg.Pa(document.location.href));
return w+("&rpctoken="+p)}function c(p,t,r,v,u){var w=e(r,v,u);l[w]||(r=ui(w,t),_.Nf.register("ready:"+p,function(){_.Nf.unregister("ready:"+p);if(!m[w]){m[w]=!0;var C=n[w];n[w]=[];for(var D=0,A=C.length;D<A;++D){var E=C[D];f(E.Dm,E.i_,E.callback)}}}),_.Nf.ws(w,t),l[w]=r)}function d(p,t,r){var v=String(2147483647*(0,_.xg)()|0),u=b(v,p,t,r);_.Lf(function(){c(v,u,p,t,r)})}function e(p,t,r){p=b("",p,t,r,"");r=k[p+t];if(!r){r=_.wg();r.update(p);r=r.Rg().toLowerCase();var v=(0,_.xg)();r+=v;k[p+t]=r}return"apiproxy"+
r}function f(p,t,r){var v=void 0,u=!1;if("makeHttpRequests"!==p)throw'only "makeHttpRequests" RPCs are implemented';var w=function(I){if(I){if("undefined"!=typeof v&&"undefined"!=typeof I.root&&v!=I.root)throw"all requests in a batch must have the same root URL";v=I.root||v;u=_.ti.QW(I.headers)}};if(t)for(var C=0,D=t.length;C<D;++C){var A=t[C];A&&w(A.params)}w=!!g("useGapiForXd3");var E=e(u,w,v);l[E]||d(u,w,v);m[E]?_.Nf.call(E,p,function(I){if(this.f==E&&this.t==_.Nf.El(this.f)&&this.origin==_.Nf.Tl(this.f)){var W=
_.Gf(I);r(W,I)}},t):(n[E]||(n[E]=[]),n[E].push({Dm:p,i_:t,callback:r}))}function g(p){return _.Q("googleapis.config/"+p)}var k={},l={},m={},n={};return{xR:function(p,t,r){var v=r||"auto";p=p||{};if("none"==v)return p;t=t||window.location.href;r=p.Authorization;var u=p.OriginToken;if(!r&&!u){(u=_.Lh())&&u.access_token&&("oauth2"==v||"auto"==v)&&(r=String(u.token_type||"Bearer")+" "+u.access_token);if(u=!r)u=(!!g("auth/useFirstPartyAuth")||"1p"==v)&&"oauth2"!=v;if(u&&_.ti.RX()){if(a()){r=g("primaryEmail");
v=g("appDomain");u=g("fogId");var w=[];r&&w.push({key:"e",value:r});v&&w.push({key:"a",value:v});u&&w.push({key:"u",value:u});r=_.ti.kA(w)}else r=_.ti.kA();r&&(t=_.Jh(t),t=p["X-Goog-AuthUser"]||t,_.Oe(_.th(t))&&(!a()||a()&&_.Oe(_.th(g("primaryEmail")))&&_.Oe(_.th(g("appDomain")))&&_.Oe(_.th(g("fogId"))))&&(t="0"),_.Oe(_.th(t))||(p["X-Goog-AuthUser"]=t))}r?p.Authorization=r:!1!==g("auth/useOriginToken")&&(u=_.ti.WU())&&(p.OriginToken=u)}return p},vj:f}}();

var Gg,Hg;
_.Fg={fF:"Authorization",Kx:"Content-ID",Lx:"Content-Transfer-Encoding",ke:"Content-Type",LO:"Date",VP:"OriginToken",lR:"WWW-Authenticate",aG:"X-ClientDetails",oR:"X-Goog-AuthUser",ly:"X-Goog-Encode-Response-If-Executable",bG:"X-Goog-Meeting-Botguardid",cG:"X-Goog-Meeting-Debugid",dG:"X-Goog-Meeting-Token",pR:"X-Goog-PageId",my:"X-Goog-Safety-Content-Type",ny:"X-Goog-Safety-Encoding",eG:"X-HTTP-Method-Override",fG:"X-JavaScript-User-Agent",gG:"X-Origin",oy:"X-Referer",hG:"X-Requested-With",qR:"X-Use-HTTP-Status-Code-Override"};
Gg=["Accept","Accept-Language",_.Fg.fF,"Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.Fg.Lx,_.Fg.ke,_.Fg.LO,"GData-Version","google-cloud-resource-prefix","Host","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","MIME-Version","Origin",_.Fg.VP,"Pragma","Range","Slug","Transfer-Encoding","Want-Digest","x-chrome-connected","X-Client-Data",_.Fg.aG,"X-Client-Version","X-Firebase-Locale","X-GData-Client","X-GData-Key",
_.Fg.oR,_.Fg.pR,_.Fg.ly,"X-Goog-AdX-Buyer-Impersonation","X-Goog-Api-Client","X-Goog-Correlation-Id","X-Goog-Request-Info","X-Goog-Request-Reason","X-Goog-Experiments","x-goog-iam-authority-selector","x-goog-iam-authorization-token","X-Goog-Spatula","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-Visitor-Id",
"X-Goog-FieldMask",_.Fg.eG,_.Fg.fG,"X-Pan-Versionid","X-Proxied-User-IP",_.Fg.gG,_.Fg.oy,_.Fg.hG,"X-Upload-Content-Length","X-Upload-Content-Type",_.Fg.qR,"X-Ios-Bundle-Identifier","X-Android-Package","X-Ariane-Xsrf-Token","X-YouTube-VVT","X-YouTube-Page-CL","X-YouTube-Page-Timestamp",_.Fg.bG,_.Fg.cG,_.Fg.dG,"X-Sfdc-Authorization"];
Hg=["Digest","Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.Fg.Lx,_.Fg.ke,"Date","ETag","Expires","Last-Modified","Location","Pragma","Range","Server","Transfer-Encoding",_.Fg.lR,"Vary","Unzipped-Content-MD5","X-Goog-Generation","X-Goog-Metageneration",_.Fg.my,_.Fg.ny,"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",_.Fg.bG,_.Fg.cG,_.Fg.dG];
var Ig,Jg,Kg,Lg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug;Ig=null;Jg=null;Kg=null;Lg=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};
_.Mg=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};Ng={"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};
Og={"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};
Pg=function(a){if(!_.nb(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();Lg(d,e)&&(b[e]=d)}}for(var f in _.Fg)Object.prototype.hasOwnProperty.call(_.Fg,f)&&(d=_.Fg[f],e=d.toLowerCase(),Lg(d,e)&&Object.prototype.hasOwnProperty.call(b,e)&&(b[e]=d));return b};Qg=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Rg=/[ \t]*(\r?\n[ \t]+)+/g;Sg=/^[ \t]+|[ \t]+$/g;
Tg=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=Tg(b[c],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(Rg," "),a=a.replace(Sg,""),""==a.replace(Qg,"")&&a))return a};Ug=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.Vg=function(a){if("string"!==typeof a||!a||!a.match(Ug))return null;a=a.toLowerCase();if(null==Kg){var b=[],c=_.Q("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Q("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Hg);(c=_.Q("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Q("client/headers/request"))&&
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Gg);for(var d in _.Fg)Object.prototype.hasOwnProperty.call(_.Fg,d)&&b.push(_.Fg[d]);Kg=Pg(b)}return null!=Kg&&Kg.hasOwnProperty(a)?Kg[a]:a};
_.Wg=function(a,b){if(!_.Vg(a)||!Tg(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Og[a])return null;if(null==Ig){b=[];var c=_.Q("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Q("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Gg);Ig=Pg(b)}return null!=Ig&&Ig.hasOwnProperty(a)?Ig[a]:null};
_.Xg=function(a,b){if(!_.Vg(a)||!Tg(b))return null;a=a.toLowerCase();if(Ng[a])return null;if(null==Jg){b=[];var c=_.Q("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Q("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Hg);Jg=Pg(b)}return null!=Jg&&Jg.hasOwnProperty(a)?a:null};
_.Yg=function(a,b){if(_.Vg(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Lg(d,b)){var e=Tg(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.Zg=function(a,b,c,d){var e=_.Vg(b);if(e){c&&(c=Tg(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Lg(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.$g=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=_.Vg(k)){for(f=f.substring(g+1);d+1<e&&a[d+1].match(/^[ \t]/);)f+="\r\n"+a[d+1],++d;if(f=Tg(f))if(k=_.Xg(k,f)||(b?void 0:k))k=k.toLowerCase(),g=_.Yg(c,k),void 0!==g&&(f=g+", "+f),_.Zg(c,k,f,!0)}}}return c};

_.ah=function(a,b){a.prototype=(0,_.wa)(b.prototype);a.prototype.constructor=a;if(_.Ha)(0,_.Ha)(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};_.bh=function(){return _.Tb("Firefox")||_.Tb("FxiOS")};_.ch=function(){return(_.Tb("Chrome")||_.Tb("CriOS"))&&!_.Tb("Edge")};
_.dh=function(){return _.Tb("Safari")&&!(_.ch()||_.Tb("Coast")||_.Xb()||_.Tb("Edge")||_.Tb("Edg/")||_.bh()||_.Tb("Silk")||_.Tb("Android"))};_.eh=function(){return _.Tb("Android")&&!(_.ch()||_.bh()||_.Xb()||_.Tb("Silk"))};_.fh=_.bh();_.gh=_.Xc()||_.Tb("iPod");_.hh=_.Tb("iPad");_.ih=_.eh();_.jh=_.ch();_.kh=_.dh()&&!_.Zc();

_.lh=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=_.ob(f)?"o"+_.rb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};var mh,oh;mh=null;_.nh=null;oh=null;_.ph=_.hd||_.id&&!_.kh||_.dd||!_.kh&&!_.ed&&"function"==typeof _.q.atob;_.rh=function(a,b){_.qh();b=b?oh:mh;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("")};
_.qh=function(){if(!mh){mh={};_.nh={};oh={};for(var a=0;65>a;a++)mh[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),_.nh[mh[a]]=a,oh[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(_.nh["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};

var gq;_.eq=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};_.fq=function(a,b){b=(0,_.wb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};gq=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.hq=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
_.iq=function(){this.Gb=this.Gb;this.om=this.om};_.iq.prototype.Gb=!1;_.iq.prototype.Un=function(){return this.Gb};_.iq.prototype.Ca=function(){this.Gb||(this.Gb=!0,this.ta())};_.lq=function(a,b){_.jq(a,_.nj(_.kq,b))};_.jq=function(a,b){a.Gb?_.Va(void 0)?b.call(void 0):b():(a.om||(a.om=[]),a.om.push(_.Va(void 0)?(0,_.G)(b,void 0):b))};_.iq.prototype.ta=function(){if(this.om)for(;this.om.length;)this.om.shift()()};_.kq=function(a){a&&"function"==typeof a.Ca&&a.Ca()};
_.mq=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.ym=!1;this.gM=!0};_.mq.prototype.stopPropagation=function(){this.ym=!0};_.mq.prototype.preventDefault=function(){this.defaultPrevented=!0;this.gM=!1};var oq,pq;_.nq=!_.ed||_.Bd(9);oq=!_.ed||_.Bd(9);pq=_.ed&&!_.yd("9");!_.id||_.yd("528");_.hd&&_.yd("1.9b")||_.ed&&_.yd("8")||_.dd&&_.yd("9.5")||_.id&&_.yd("528");_.hd&&!_.yd("8")||_.ed&&_.yd("9");var qq=function(){if(!_.q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.q.addEventListener("test",_.mb,b),_.q.removeEventListener("test",_.mb,b)}catch(c){}return a}();
_.rq=_.id?"webkitTransitionEnd":_.dd?"otransitionend":"transitionend";_.sq=function(a,b){_.mq.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.NC=!1;this.pointerId=0;this.pointerType="";this.ye=null;a&&this.Rb(a,b)};_.F(_.sq,_.mq);var tq={2:"touch",3:"pen",4:"mouse"};
_.sq.prototype.Rb=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)?_.hd&&(_.ad(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=_.id||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.id||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.NC=_.kd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType=_.Wa(a.pointerType)?a.pointerType:tq[a.pointerType]||"";this.state=a.state;this.ye=a;a.defaultPrevented&&this.preventDefault()};_.sq.prototype.stopPropagation=function(){_.sq.H.stopPropagation.call(this);this.ye.stopPropagation?this.ye.stopPropagation():this.ye.cancelBubble=!0}; _.sq.prototype.preventDefault=function(){_.sq.H.preventDefault.call(this);var a=this.ye;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,pq)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var wq;_.uq="closure_listenable_"+(1E6*Math.random()|0);_.vq=function(a){return!(!a||!a[_.uq])};wq=0;var xq=function(a,b,c,d,e){this.listener=a;this.Aw=null;this.src=b;this.type=c;this.capture=!!d;this.Ee=e;this.key=++wq;this.qo=this.Jt=!1},yq=function(a){a.qo=!0;a.listener=null;a.Aw=null;a.src=null;a.Ee=null};_.zq=function(a){this.src=a;this.xd={};this.Rs=0};_.zq.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.xd[f];a||(a=this.xd[f]=[],this.Rs++);var g=Aq(a,b,d,e);-1<g?(b=a[g],c||(b.Jt=!1)):(b=new xq(b,this.src,f,!!d,e),b.Jt=c,a.push(b));return b};_.zq.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.xd))return!1;var e=this.xd[a];b=Aq(e,b,c,d);return-1<b?(yq(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.xd[a],this.Rs--),!0):!1};
_.Bq=function(a,b){var c=b.type;if(!(c in a.xd))return!1;var d=_.fq(a.xd[c],b);d&&(yq(b),0==a.xd[c].length&&(delete a.xd[c],a.Rs--));return d};_.zq.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.xd)if(!a||c==a){for(var d=this.xd[c],e=0;e<d.length;e++)++b,yq(d[e]);delete this.xd[c];this.Rs--}return b};_.zq.prototype.An=function(a,b,c,d){a=this.xd[a.toString()];var e=-1;a&&(e=Aq(a,b,c,d));return-1<e?a[e]:null};
_.zq.prototype.hasListener=function(a,b){var c=_.Va(a),d=c?a.toString():"",e=_.Va(b);return gq(this.xd,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 Aq=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.Ee==d)return e}return-1};
var Cq,Dq,Eq,Iq,Kq,Lq,Pq,Oq,Mq,Qq;Cq="closure_lm_"+(1E6*Math.random()|0);Dq={};Eq=0;_.Gq=function(a,b,c,d,e){if(d&&d.once)return _.Fq(a,b,c,d,e);if(_.ab(b)){for(var f=0;f<b.length;f++)_.Gq(a,b[f],c,d,e);return null}c=_.Hq(c);return _.vq(a)?a.T(b,c,_.ob(d)?!!d.capture:!!d,e):Iq(a,b,c,!1,d,e)};
Iq=function(a,b,c,d,e,f){if(!b)throw Error("I");var g=_.ob(e)?!!e.capture:!!e,k=_.Jq(a);k||(a[Cq]=k=new _.zq(a));c=k.add(b,c,d,g,f);if(c.Aw)return c;d=Kq();c.Aw=d;d.src=a;d.listener=c;if(a.addEventListener)qq||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Lq(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("J");Eq++;return c};
Kq=function(){var a=Mq,b=oq?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};_.Fq=function(a,b,c,d,e){if(_.ab(b)){for(var f=0;f<b.length;f++)_.Fq(a,b[f],c,d,e);return null}c=_.Hq(c);return _.vq(a)?a.bo(b,c,_.ob(d)?!!d.capture:!!d,e):Iq(a,b,c,!0,d,e)};
_.Nq=function(a){if(_.kb(a)||!a||a.qo)return!1;var b=a.src;if(_.vq(b))return b.DE(a);var c=a.type,d=a.Aw;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Lq(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Eq--;(c=_.Jq(b))?(_.Bq(c,a),0==c.Rs&&(c.src=null,b[Cq]=null)):yq(a);return!0};Lq=function(a){return a in Dq?Dq[a]:Dq[a]="on"+a};
Pq=function(a,b,c,d){var e=!0;if(a=_.Jq(a))if(b=a.xd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.qo&&(f=Oq(f,d),e=e&&!1!==f)}return e};Oq=function(a,b){var c=a.listener,d=a.Ee||a.src;a.Jt&&_.Nq(a);return c.call(d,b)};
Mq=function(a,b){if(a.qo)return!0;if(!oq){var c=b||_.eq("window.event");b=new _.sq(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.ym&&0<=e;e--){b.currentTarget=c[e];var f=Pq(c[e],a,!0,b);d=d&&f}for(e=0;!b.ym&&e<c.length;e++)b.currentTarget=c[e],f=Pq(c[e],a,!1,b),d=d&&f}return d}return Oq(a,new _.sq(b, this))};_.Jq=function(a){a=a[Cq];return a instanceof _.zq?a:null};Qq="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Hq=function(a){if(_.pb(a))return a;a[Qq]||(a[Qq]=function(b){return a.handleEvent(b)});return a[Qq]};_.sj(function(a){Mq=a(Mq)});

_.Rq=function(a){a.DB=void 0;a.La=function(){return a.DB?a.DB:a.DB=new a}};_.Sq=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Tq=function(a){for(var b in a)return!1;return!0};_.Uq=function(a,b,c,d,e){if(_.ab(b))for(var f=0;f<b.length;f++)_.Uq(a,b[f],c,d,e);else d=_.ob(d)?!!d.capture:!!d,c=_.Hq(c),_.vq(a)?a.nc(b,c,d,e):a&&(a=_.Jq(a))&&(b=a.An(b,c,d,e))&&_.Nq(b)};_.Vq=function(){_.iq.call(this);this.Qi=new _.zq(this);this.wR=this;this.HC=null};_.F(_.Vq,_.iq);
_.Vq.prototype[_.uq]=!0;_.h=_.Vq.prototype;_.h.Jq=function(){return this.HC};_.h.bx=_.ea(19);_.h.addEventListener=function(a,b,c,d){_.Gq(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.Uq(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.Jq();if(c)for(b=[];c;c=c.Jq())b.push(c);c=this.wR;var d=a.type||a;if(_.Wa(a))a=new _.mq(a,c);else if(a instanceof _.mq)a.target=a.target||c;else{var e=a;a=new _.mq(d,c);_.Wb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.ym&&0<=f;f--){var g=a.currentTarget=b[f];e=g.lq(d,!0,a)&&e}a.ym||(g=a.currentTarget=c,e=g.lq(d,!0,a)&&e,a.ym||(e=g.lq(d,!1,a)&&e));if(b)for(f=0;!a.ym&&f<b.length;f++)g=a.currentTarget=b[f],e=g.lq(d,!1,a)&&e;return e};
_.h.ta=function(){_.Vq.H.ta.call(this);this.bD();this.HC=null};_.h.T=function(a,b,c,d){return this.Qi.add(String(a),b,!1,c,d)};_.h.bo=function(a,b,c,d){return this.Qi.add(String(a),b,!0,c,d)};_.h.nc=function(a,b,c,d){return this.Qi.remove(String(a),b,c,d)};_.h.DE=function(a){return _.Bq(this.Qi,a)};_.h.bD=function(a){this.Qi&&this.Qi.removeAll(a)};
_.h.lq=function(a,b,c){a=this.Qi.xd[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.Ee||f.src;f.Jt&&this.DE(f);d=!1!==g.call(k,c)&&d}}return d&&0!=c.gM};_.h.An=function(a,b,c,d){return this.Qi.An(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Qi.hasListener(_.Va(a)?String(a):void 0,b)};

_.Gt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Ht="StopIteration"in _.q?_.q.StopIteration:{message:"StopIteration",stack:""};_.It=function(){};_.It.prototype.next=function(){throw _.Ht;};_.It.prototype.Ei=function(){return this};

_.Jt=function(a,b){this.V={};this.Nb=[];this.Sf=this.Xb=0;var c=arguments.length;if(1<c){if(c%2)throw Error("g");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.h=_.Jt.prototype;_.h.Hb=function(){return this.Xb};_.h.Gd=function(){Kt(this);for(var a=[],b=0;b<this.Nb.length;b++)a.push(this.V[this.Nb[b]]);return a};_.h.Bf=function(){Kt(this);return this.Nb.concat()};_.h.ue=function(a){return _.Lt(this.V,a)};_.h.ul=_.ea(5);
_.h.equals=function(a,b){if(this===a)return!0;if(this.Xb!=a.Hb())return!1;b=b||Mt;Kt(this);for(var c,d=0;c=this.Nb[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Mt=function(a,b){return a===b};_.Jt.prototype.isEmpty=function(){return 0==this.Xb};_.Jt.prototype.clear=function(){this.V={};this.Sf=this.Xb=this.Nb.length=0};_.Jt.prototype.remove=function(a){return _.Lt(this.V,a)?(delete this.V[a],this.Xb--,this.Sf++,this.Nb.length>2*this.Xb&&Kt(this),!0):!1};
var Kt=function(a){if(a.Xb!=a.Nb.length){for(var b=0,c=0;b<a.Nb.length;){var d=a.Nb[b];_.Lt(a.V,d)&&(a.Nb[c++]=d);b++}a.Nb.length=c}if(a.Xb!=a.Nb.length){var e={};for(c=b=0;b<a.Nb.length;)d=a.Nb[b],_.Lt(e,d)||(a.Nb[c++]=d,e[d]=1),b++;a.Nb.length=c}};_.h=_.Jt.prototype;_.h.get=function(a,b){return _.Lt(this.V,a)?this.V[a]:b};_.h.set=function(a,b){_.Lt(this.V,a)||(this.Xb++,this.Nb.push(a),this.Sf++);this.V[a]=b};
_.h.addAll=function(a){if(a instanceof _.Jt)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 _.Jt(this)};_.h.Ei=function(a){Kt(this);var b=0,c=this.Sf,d=this,e=new _.It;e.next=function(){if(c!=d.Sf)throw Error("O");if(b>=d.Nb.length)throw _.Ht;var f=d.Nb[b++];return a?f:d.V[f]};return e}; _.Lt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

_.Nt=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};_.Ot=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};_.Pt=function(a,b){var c=_.nb(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};_.Qt=function(a){if(a.Gd&&"function"==typeof a.Gd)return a.Gd();if(_.Wa(a))return a.split("");if(_.nb(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.Nt(a)};
_.Rt=function(a){if(a.Bf&&"function"==typeof a.Bf)return a.Bf();if(!a.Gd||"function"!=typeof a.Gd){if(_.nb(a)||_.Wa(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.Ot(a)}};_.St=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.nb(a)||_.Wa(a))(0,_.yb)(a,b,c);else for(var d=_.Rt(a),e=_.Qt(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};

_.ky=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 ly;_.my=function(a){return(new ly).Go(a)};ly=function(){};ly.prototype.Go=function(a){var b=[];ny(this,a,b);return b.join("")};
var ny=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),ny(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),oy(d,c),c.push(":"),ny(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":oy(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("sa`"+typeof b);}}},py={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},qy=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,oy=function(a,b){b.push('"',a.replace(qy,function(c){var d=py[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),py[c]=d);return d}),'"')};

_.ry=function(a,b,c){if(_.pb(a))c&&(a=(0,_.G)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.G)(a.handleEvent,a);else throw Error("ta");return 2147483647<Number(b)?-1:_.q.setTimeout(a,b||0)};_.sy=function(a){var b=null;return(new _.Uj(function(c,d){b=_.ry(function(){c(void 0)},a);-1==b&&d(Error("ua"))})).px(function(c){_.q.clearTimeout(b);throw c;})};

var xy,yy,By,Dy;_.ty=function(a){return(a=_.hy(a))?new ActiveXObject(a):new XMLHttpRequest};_.uy=function(a){if(!_.ab(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};_.vy=function(a){var b=0,c;for(c in a)b++;return b};_.wy=function(a){var b=_.Za(a);if("object"==b||"array"==b){if(_.pb(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.wy(a[c]);return b}return a};xy=function(a){return Array.prototype.join.call(arguments,"")};
yy=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.wh(a[b],a[b+1],c);return c.join("&")};_.zy=function(a,b){var c=2==arguments.length?yy(arguments[1],0):yy(arguments,1);return _.vh(a,c)};_.Ay=function(a,b){_.Sq(a,"/")&&(a=a.substr(0,a.length-1));_.Id(b,"/")&&(b=b.substr(1));return xy(a,"/",b)};By={};_.Cy=function(a){if(By[a])return By[a];a=String(a);if(!By[a]){var b=/function\s+([^\(]+)/m.exec(a);By[a]=b?b[1]:"[Anonymous]"}return By[a]};
Dy=function(a,b){var c=[];if(_.Eb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(_.Cy(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=_.Cy(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(Dy(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("")};_.Ey=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||_.Ey),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=Dy(a||arguments.callee.caller,[]));return b};_.Fy=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};
_.Gy=function(a,b){_.Vq.call(this);this.Ak=a||1;this.Ls=b||_.q;this.QG=(0,_.G)(this.A1,this);this.yK=(0,_.eb)()};_.F(_.Gy,_.Vq);_.h=_.Gy.prototype;_.h.enabled=!1;_.h.mc=null;_.h.setInterval=function(a){this.Ak=a;this.mc&&this.enabled?(this.stop(),this.start()):this.mc&&this.stop()};
_.h.A1=function(){if(this.enabled){var a=(0,_.eb)()-this.yK;0<a&&a<.8*this.Ak?this.mc=this.Ls.setTimeout(this.QG,this.Ak-a):(this.mc&&(this.Ls.clearTimeout(this.mc),this.mc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.h.start=function(){this.enabled=!0;this.mc||(this.mc=this.Ls.setTimeout(this.QG,this.Ak),this.yK=(0,_.eb)())};_.h.stop=function(){this.enabled=!1;this.mc&&(this.Ls.clearTimeout(this.mc),this.mc=null)}; _.h.ta=function(){_.Gy.H.ta.call(this);this.stop();delete this.Ls};
var Iy,Jy,Ky;_.Hy=function(a){_.Vq.call(this);this.headers=new _.Jt;this.Ex=a||null;this.rf=!1;this.Dx=this.Ma=null;this.Kv="";this.Xn=0;this.dm=this.zB=this.ov=this.Pz=!1;this.Nm=0;this.nd=null;this.Ik="";this.NE=this.yh=!1};_.F(_.Hy,_.Vq);Iy=/^https?$/i;Jy=["POST","PUT"];Ky=[];_.Ly=function(a,b,c,d,e,f){var g=new _.Hy;Ky.push(g);b&&g.T("complete",b);g.bo("ready",g.hS);f&&g.fE(f);g.send(a,c,d,e)};_.Hy.prototype.hS=function(){this.Ca();_.fq(Ky,this)};
_.Hy.prototype.fE=function(a){this.Nm=Math.max(0,a)};
_.Hy.prototype.send=function(a,b,c,d){if(this.Ma)throw Error("va`"+this.Kv+"`"+a);b=b?b.toUpperCase():"GET";this.Kv=a;this.Xn=0;this.Pz=!1;this.rf=!0;this.Ma=this.Ex?_.ty(this.Ex):_.ty(_.iy);this.Dx=this.Ex?this.Ex.getOptions():_.iy.getOptions();this.Ma.onreadystatechange=(0,_.G)(this.kL,this);try{this.zB=!0,this.Ma.open(b,String(a),!0),this.zB=!1}catch(f){this.tu(5,f);return}a=c||"";var e=this.headers.clone();d&&_.St(d,function(f,g){e.set(g,f)});d=_.oj(e.Bf(),My);c=_.q.FormData&&a instanceof _.q.FormData;
!_.Eb(Jy,b)||d||c||e.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");e.forEach(function(f,g){this.Ma.setRequestHeader(g,f)},this);this.Ik&&(this.Ma.responseType=this.Ik);"withCredentials"in this.Ma&&this.Ma.withCredentials!==this.yh&&(this.Ma.withCredentials=this.yh);try{Ny(this),0<this.Nm&&((this.NE=Oy(this.Ma))?(this.Ma.timeout=this.Nm,this.Ma.ontimeout=(0,_.G)(this.Cg,this)):this.nd=_.ry(this.Cg,this.Nm,this)),this.ov=!0,this.Ma.send(a),this.ov=!1}catch(f){this.tu(5,f)}};
var Oy=function(a){return _.ed&&_.yd(9)&&_.kb(a.timeout)&&_.Va(a.ontimeout)},My=function(a){return"content-type"==a.toLowerCase()};_.Hy.prototype.Cg=function(){"undefined"!=typeof _.Ua&&this.Ma&&(this.Xn=8,this.dispatchEvent("timeout"),this.abort(8))};_.Hy.prototype.tu=function(a){this.rf=!1;this.Ma&&(this.dm=!0,this.Ma.abort(),this.dm=!1);this.Xn=a;Py(this);Qy(this)};var Py=function(a){a.Pz||(a.Pz=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.Hy.prototype.abort=function(a){this.Ma&&this.rf&&(this.rf=!1,this.dm=!0,this.Ma.abort(),this.dm=!1,this.Xn=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Qy(this))};_.Hy.prototype.ta=function(){this.Ma&&(this.rf&&(this.rf=!1,this.dm=!0,this.Ma.abort(),this.dm=!1),Qy(this,!0));_.Hy.H.ta.call(this)};_.Hy.prototype.kL=function(){this.Gb||(this.zB||this.ov||this.dm?Ry(this):this.vC())};_.Hy.prototype.vC=function(){Ry(this)};
var Ry=function(a){if(a.rf&&"undefined"!=typeof _.Ua&&(!a.Dx[1]||4!=_.Sy(a)||2!=a.getStatus()))if(a.ov&&4==_.Sy(a))_.ry(a.kL,0,a);else if(a.dispatchEvent("readystatechange"),4==_.Sy(a)){a.rf=!1;try{_.Ty(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Xn=6,a.getStatus(),Py(a))}finally{Qy(a)}}},Qy=function(a,b){if(a.Ma){Ny(a);var c=a.Ma,d=a.Dx[0]?_.mb:null;a.Ma=null;a.Dx=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Ny=function(a){a.Ma&&a.NE&&(a.Ma.ontimeout=
null);a.nd&&(_.q.clearTimeout(a.nd),a.nd=null)};_.Hy.prototype.Xd=function(){return!!this.Ma};_.Ty=function(a){var b=a.getStatus(),c;if(!(c=_.Fy(b))){if(b=0===b)a=String(a.Kv).match(_.uh)[1]||null,!a&&_.q.self&&_.q.self.location&&(a=_.q.self.location.protocol,a=a.substr(0,a.length-1)),b=!Iy.test(a?a.toLowerCase():"");c=b}return c};_.Sy=function(a){return a.Ma?a.Ma.readyState:0};_.Hy.prototype.getStatus=function(){try{return 2<_.Sy(this)?this.Ma.status:-1}catch(a){return-1}};
_.Uy=function(a){try{return a.Ma?a.Ma.responseText:""}catch(b){return""}};_.Vy=function(a){try{if(!a.Ma)return null;if("response"in a.Ma)return a.Ma.response;switch(a.Ik){case "":case "text":return a.Ma.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ma)return a.Ma.mozResponseArrayBuffer}return null}catch(b){return null}};_.Hy.prototype.getResponseHeader=function(a){if(this.Ma&&4==_.Sy(this))return a=this.Ma.getResponseHeader(a),null===a?void 0:a}; _.Hy.prototype.getAllResponseHeaders=function(){return this.Ma&&4==_.Sy(this)?this.Ma.getAllResponseHeaders()||"":""};_.sj(function(a){_.Hy.prototype.vC=a(_.Hy.prototype.vC)});

var Ou,Pu,Qu,Ru,Tu,Uu,Vu,Wu,Yu;_.Nu=!1;Ou=function(a){try{_.Nu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Pu=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};Qu=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};Ru=function(a){return"[object Function]"===Object.prototype.toString.call(a)};
_.Su=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Tu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Uu=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.";};Vu={token:1,id_token:1};
Wu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Xu=window.JSON;Yu=function(a){this.RE=a||[];this.Zb={}};Yu.prototype.addEventListener=function(a,b){if(!(0<=Pu(this.RE,a)))throw"Unrecognized event type: "+a;if(!Ru(b))throw"The listener for event '"+a+"' is not a function.";this.Zb[a]||(this.Zb[a]=[]);0>Pu(this.Zb[a],b)&&this.Zb[a].push(b)};
Yu.prototype.removeEventListener=function(a,b){if(!(0<=Pu(this.RE,a)))throw"Unrecognized event type: "+a;Ru(b)&&this.Zb[a]&&this.Zb[a].length&&(b=Pu(this.Zb[a],b),0<=b&&this.Zb[a].splice(b,1))};Yu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Pu(this.RE,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Zb[b]&&this.Zb[b].length)for(var c=0,d=this.Zb[b].length;c<d;c++)this.Zb[b][c](a)};
var Zu,$u,av,ev,fv,wv,xv,zv,Av,Cv,Lv;Zu={};$u={};av={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.bv=function(a,b){if(a=av[a])return a[b]};_.cv=function(a,b){if(!a)throw Error("R");if(!b.authServerUrl)throw Error("S");if(!b.idpIFrameUrl)throw Error("T");av[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.dv=void 0;
ev=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")};fv=function(){this.h2=window;this.bu=this.rl=this.Rr=this.kh=null};
fv.prototype.open=function(a,b,c,d){gv(this);this.Rr?(this.rl&&(this.rl(),this.rl=null),hv(this)):this.Rr="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.kh=this.h2.open(a,this.Rr,b);try{this.kh.focus();if(this.kh.closed||"undefined"==typeof this.kh.closed)throw Error("V");_.dv=this.kh}catch(e){d&&setTimeout(d,0);this.kh=null;break a}c&&(this.rl=c,iv(this))}};
var gv=function(a){try{if(null==a.kh||a.kh.closed)a.kh=null,a.Rr=null,hv(a),a.rl&&(a.rl(),a.rl=null)}catch(b){a.kh=null,a.Rr=null,hv(a)}},iv=function(a){a.bu=window.setInterval(function(){gv(a)},300)},hv=function(a){a.bu&&(window.clearInterval(a.bu),a.bu=null)};$u=$u||{};var jv=function(a,b){this.Mb=a;this.GB=b;this.nd=null;this.Xl=!1};jv.prototype.start=function(){if(!this.Xl&&!this.nd){var a=this;this.nd=window.setTimeout(function(){a.clear();a.Xl||(a.Mb(),a.Xl=!0)},$u.YI(this.GB))}};
jv.prototype.clear=function(){this.nd&&(window.clearTimeout(this.nd),this.nd=null)};var kv=function(a,b){var c=$u.yp;this.bX=$u.hp;this.dO=c;this.Mb=a;this.GB=b;this.nd=null;this.Xl=!1;var d=this;this.eO=function(){document[d.bX]||(d.clear(),d.start())}};kv.prototype.start=function(){if(!this.Xl&&!this.nd){Uu(document,this.dO,this.eO);var a=this;this.nd=window.setTimeout(function(){a.clear();a.Xl||(a.Mb(),a.Xl=!0)},$u.YI(this.GB))}};
kv.prototype.clear=function(){var a=this.dO,b=this.eO,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.nd&&(window.clearTimeout(this.nd),this.nd=null)};$u.hp=null;$u.yp=null;
$u.yX=function(){var a=document;"undefined"!==typeof a.hidden?($u.hp="hidden",$u.yp="visibilitychange"):"undefined"!==typeof a.msHidden?($u.hp="msHidden",$u.yp="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&($u.hp="webkitHidden",$u.yp="webkitvisibilitychange")};$u.yX();$u.BS=function(a,b){return $u.hp&&$u.yp?new kv(a,b):new jv(a,b)};$u.YI=function(a){return Math.max(1,a-(new Date).getTime())};
var lv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},mv=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 v=e[1],u=e[2],w=e[3],C=e[4];for(r=0;80>r;r++){if(40>r)if(20>r){var D=w^v&(u^w);var A=1518500249}else D=
v^u^w,A=1859775393;else 60>r?(D=v&u|w&(v|u),A=2400959708):(D=v^u^w,A=3395469782);D=((p<<5|p>>>27)&4294967295)+D+C+A+t[r]&4294967295;C=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=D}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+u&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+C&4294967295}function c(p,t){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var r=[],v=0,u=p.length;v<u;++v)r.push(p.charCodeAt(v));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 v=24;0<=v;v-=8)p[t++]=e[r]>>v&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}}},nv=
window.crypto,ov=!1,pv=0,qv=1,rv=0,sv="",tv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;qv=qv*b%rv;if(3==++pv)if(a=window,b=tv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("W`mousemove");},uv=function(a){var b=mv();b.update(a);return b.Rg()};ov=!!nv&&"function"==typeof nv.getRandomValues;
ov||(rv=1E6*(screen.width*screen.width+screen.height),sv=uv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Uu(window,"mousemove",tv));Zu=Zu||{};Zu.iP="ssIFrame_";
_.vv=function(a,b){this.Bb=a;if(!this.Bb)throw Error("X");a=_.bv(a,"idpIFrameUrl");if(!a)throw Error("Y");this.PJ=a;if(!b)throw Error("Z");this.Ao=b;a=this.PJ;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.tB=a.join("");this.C_=[location.protocol,"//",location.host].join("");this.sB=
this.On=!1;this.LJ=null;this.iw=[];this.no=[];this.Ii={};this.$l=void 0};_.vv.prototype.show=function(){var a=this.$l;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")};_.vv.prototype.kc=function(){ev(this.$l)};
_.vv.prototype.Mv=function(a){if(this.On)a&&a(this);else{if(!this.$l){var b=Zu.iP+this.Bb;var c=this.Bb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Pu(e.split("|"),c))?lv(e,d):lv(e?e+"|"+c:c,d);c=!f;f=this.PJ;var g=this.C_;d=this.Ao;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Ru(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);ev(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Nu&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.$l=e}a&&this.iw.push(a)}};_.vv.prototype.Jl=function(){return this.LJ};wv=function(a){for(var b=0;b<a.iw.length;b++)a.iw[b](a);a.iw=[]};
_.yv=function(a,b,c,d){if(a.On){if(a.On&&a.sB)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Jl(),Ou(a),Error(a);xv(a,{method:b,params:c},d)}else a.no.push({Dm:{method:b,params:c},callback:d}),a.Mv()};xv=function(a,b,c){if(c){for(var d=b.id;!d||a.Ii[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Ii[d]=c}b.rpcToken=a.Ao;a.$l.contentWindow.postMessage(_.Xu.stringify(b),a.tB)};zv=function(a){if(a&&0<=a.indexOf("::"))throw Error("$");};
_.vv.prototype.Wh=function(a,b,c,d,e,f,g,k){zv(f);b=_.Su(b);_.yv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.vv.prototype.Lv=function(a,b,c,d,e){b=_.Su(b);_.yv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Av=function(a,b,c){zv(b.identifier);_.yv(a,"getSessionSelector",b,c)};
_.Bv=function(a,b,c,d,e){zv(b.identifier);_.yv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Cv=function(a,b,c){_.yv(a,"monitorClient",{clientId:b},c)};_.vv.prototype.$r=_.ea(26);_.vv.prototype.jx=function(a,b){_.yv(this,"showDialog",{jaa:a},b)};_.vv.prototype.Pp=_.ea(28);Zu.kv={};Zu.zA=function(a){return Zu.kv[a]};
Zu.Mv=function(a,b){var c=Zu.zA(a);if(!c){c=String;if(ov){var d=new window.Uint32Array(1);nv.getRandomValues(d);d=Number("0."+d[0])}else d=qv,d+=parseInt(sv.substr(0,20),16),sv=uv(sv),d/=rv+Math.pow(16,20);c=c(2147483647*d);c=new _.vv(a,c);Zu.kv[a]=c}c.Mv(b)};Zu.fU=function(a){for(var b in Zu.kv){var c=Zu.zA(b);if(c&&c.$l&&c.$l.contentWindow==a.source&&c.tB==a.origin)return c}};Zu.VU=function(a){for(var b in Zu.kv){var c=Zu.zA(b);if(c&&c.tB==a)return c}};Zu=Zu||{};
var Ev=function(){var a=[],b;for(b in Dv)a.push(Dv[b]);Yu.call(this,a);this.uk={};Ou("EventBus is ready.")};Qu(Ev,Yu);var Dv={JQ:"sessionSelectorChanged",cy:"sessionStateChanged",Ix:"authResult",TO:"displayIFrame"},Gv=function(a){var b=Fv;a&&(b.uk[a]||(b.uk[a]=[]))},Hv=function(a,b,c){return b&&a.uk[b]&&0<=Pu(a.uk[b],c)};_.h=Ev.prototype;
_.h.IZ=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.dv);if(b=c?Zu.VU(a.origin):Zu.fU(a)){try{var d=_.Xu.parse(a.data)}catch(e){Ou("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Ao){Ou("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.Ii[c.id])delete b.Ii[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Ou("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.OJ[a.type]?(d=this.OJ[a.type],
c&&!d.DR?Ou("Bad IDP event. Source window cannot be a popup."):d.Vo&&!d.Vo.call(this,b,a)?Ou("Bad IDP event."):d.Ee.call(this,b,a)):Ou("Bad IDP event.")}else Ou("Bad event, no corresponding Idp Stub.")};_.h.a0=function(a,b){return Hv(this,a.Bb,b.clientId)};_.h.$_=function(a,b){b=b.clientId;return!b||Hv(this,a.Bb,b)};_.h.PR=function(a,b){return Hv(this,a.Bb,b.clientId)};_.h.QY=function(a){a.On=!0;wv(a);for(var b=0;b<a.no.length;b++)xv(a,a.no[b].Dm,a.no[b].callback);a.no=[]};
_.h.PY=function(a,b){b={error:b.error};a.On=!0;a.sB=!0;a.LJ=b;a.no=[];wv(a)};_.h.Fw=function(a,b){b.originIdp=a.Bb;this.dispatchEvent(b)};var Fv=new Ev,Iv=Fv,Jv={};Jv.idpReady={Ee:Iv.QY};Jv.idpError={Ee:Iv.PY};Jv.sessionStateChanged={Ee:Iv.Fw,Vo:Iv.a0};Jv.sessionSelectorChanged={Ee:Iv.Fw,Vo:Iv.$_};Jv.authResult={Ee:Iv.Fw,Vo:Iv.PR,DR:!0};Jv.displayIFrame={Ee:Iv.Fw};Fv.OJ=Jv||{};Uu(window,"message",function(a){Fv.IZ.call(Fv,a)});
_.Kv=function(a,b){this.he=!1;if(!a)throw Error("aa");var c=[],d;for(d in a)c.push(a[d]);Yu.call(this,c);this.Rc=[location.protocol,"//",location.host].join("");this.Xc=b.crossSubDomains?b.domain||this.Rc:this.Rc;if(!b)throw Error("ba");if(!b.idpId)throw Error("ca");if(!_.bv(b.idpId,"authServerUrl")||!_.bv(b.idpId,"idpIFrameUrl"))throw Error("da`"+b.idpId);this.Bb=b.idpId;this.Wb=void 0;this.KS=!!b.disableTokenRefresh;this.BT=!!b.forceTokenRefresh;this.e1=!!b.skipTokenCache;this.setOptions(b);this.Yp=
[];this.em=this.lK=!1;this.Sn=void 0;this.TL();this.$c=void 0;var e=this,f=function(){Ou("Token Manager is ready.");if(e.Yp.length)for(var g=0;g<e.Yp.length;g++)e.Yp[g].call(e);e.lK=!0;e.Yp=[]};Zu.Mv(this.Bb,function(g){e.$c=g;g.On&&g.sB?(e.em=!0,e.Sn=g.Jl(),e.ew(e.Sn)):e.Wb?Cv(e.$c,e.Wb,function(k){if(k){k=e.Bb;var l=e.Wb,m=Fv;k&&l&&(m.uk[k]||(m.uk[k]=[]),0>Pu(m.uk[k],l)&&m.uk[k].push(l));f()}else e.Sn={error:"Not a valid origin for the client: "+e.Rc+" 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.em=!0,e.ew(e.Sn)}):(Gv(e.Bb),f())})};Qu(_.Kv,Yu);_.Kv.prototype.setOptions=function(){};_.Kv.prototype.TL=function(){};_.Kv.prototype.ew=function(){};_.Kv.prototype.Jl=function(){return this.Sn};Lv=function(a,b,c){return function(){b.apply(a,c)}};_.Mv=function(a,b,c){if(a.lK)b.apply(a,c);else{if(a.em)throw a.Sn;a.Yp.push(Lv(a,b,c))}};_.Kv.prototype.bH=_.ea(29);_.Kv.prototype.Pp=_.ea(27);
_.Ov=function(a,b){_.Kv.call(this,a,b);this.DL=new fv;this.oj=this.um=null;Nv(this)};Qu(_.Ov,_.Kv);_.Ov.prototype.setOptions=function(){};
var Pv=function(a,b){a.fe={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Xc};b.crossSubDomains&&(a.fe.policy=b.policy)},Qv=function(a,b){if(!b.authParameters)throw Error("ea");if(!b.authParameters.scope)throw Error("fa");if(!b.authParameters.response_type)throw Error("ga");a.Ep=b.authParameters;a.Ep.redirect_uri||(a.Ep.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.ii=_.Su(b.rpcAuthParameters||a.Ep);if(!a.ii.scope)throw Error("ha");if(!a.ii.response_type)throw Error("ia");
a:{var c=a.ii.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Vu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ja");b.enableSerialConsent&&(a.ii.enable_serial_consent=!0);b.authResultIdentifier&&(a.QR=b.authResultIdentifier);b.spec_compliant&&(a.ii.spec_compliant=b.spec_compliant)};
_.Ov.prototype.TL=function(){var a=this;Fv.addEventListener(Dv.JQ,function(b){a.he&&a.fe&&b.originIdp==a.Bb&&!b.crossSubDomains==!a.fe.crossSubDomains&&b.domain==a.fe.domain&&b.id==a.fe.id&&a.oL(b)});Fv.addEventListener(Dv.cy,function(b){a.he&&b.originIdp==a.Bb&&b.clientId==a.Wb&&a.pL(b)});Fv.addEventListener(Dv.Ix,function(b){_.dv=void 0;a.he&&b.originIdp==a.Bb&&b.clientId==a.Wb&&b.id==a.kj&&(a.um&&(window.clearTimeout(a.um),a.um=null),a.kj=void 0,a.Fr(b))});Fv.addEventListener(Dv.TO,function(b){a.he&&
b.originIdp==a.Bb&&(b.kc?a.$c.kc():a.$c.show())})};_.Ov.prototype.oL=function(){};_.Ov.prototype.pL=function(){};_.Ov.prototype.Fr=function(){};var Sv=function(a,b){Rv(a);a.KS||(a.oj=$u.BS(function(){a.Wh(!0)},b-3E5),navigator.onLine&&a.oj.start())},Rv=function(a){a.oj&&(a.oj.clear(),a.oj=null)},Nv=function(a){var b=window;Wu()&&(b=document.body);Uu(b,"online",function(){a.oj&&a.oj.start()});Uu(b,"offline",function(){a.oj&&a.oj.clear()})};_.h=_.Ov.prototype;_.h.Wh=function(){};
_.h.jx=function(a,b){this.$c.jx(a,b)};_.h.ZK=_.ea(30);_.h.fY=function(a,b){if(!this.Wb)throw Error("na");this.$c.Lv(this.Wb,this.ii,this.fe,a,b)};_.h.Lv=function(a,b){_.Mv(this,this.fY,[a,b])};_.Uv=function(a){this.$d=void 0;this.Sg=!1;this.Ho=void 0;_.Ov.call(this,_.Tv,a)};Qu(_.Uv,_.Ov);_.Tv={EF:"noSessionBound",xp:"userLoggedOut",qO:"activeSessionChanged",cy:"sessionStateChanged",dR:"tokenReady",cR:"tokenFailed",Ix:"authResult",ERROR:"error"};
_.Uv.prototype.setOptions=function(a){if(!a.clientId)throw Error("oa");this.Wb=a.clientId;this.ya=a.id;Pv(this,a);Qv(this,a)};_.Uv.prototype.ew=function(a){this.dispatchEvent({type:_.Tv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Bb})};var Vv=function(a){Rv(a);a.Ho=void 0;a.TB=void 0};_.h=_.Uv.prototype;
_.h.oL=function(a){var b=a.newValue||{};if(this.$d!=b.hint||this.Sg!=!!b.disabled){a=this.$d;var c=!this.$d||this.Sg;Vv(this);this.$d=b.hint;this.Sg=!!b.disabled;(b=!this.$d||this.Sg)&&!c?this.dispatchEvent({type:_.Tv.xp,idpId:this.Bb}):b||(a!=this.$d&&this.dispatchEvent({type:_.Tv.qO,idpId:this.Bb}),this.$d&&this.Wh())}};
_.h.pL=function(a){this.Sg||(this.$d?a.user||this.Ho?a.user==this.$d&&(this.Ho?a.sessionState?this.Ho=a.sessionState:(Vv(this),this.dispatchEvent({type:_.Tv.xp,idpId:this.Bb})):a.sessionState&&(this.Ho=a.sessionState,this.Wh())):this.Wh():this.dispatchEvent({type:_.Tv.cy,idpId:this.Bb}))};_.h.Fr=function(a){this.dispatchEvent({type:_.Tv.Ix,authResult:a.authResult})};_.h.zq=_.ea(32);_.h.rq=function(a){_.Mv(this,this.nA,[a])};_.h.nA=function(a){Av(this.$c,this.fe,a)};
_.h.kx=function(a,b,c){if(!a)throw Error("pa");Vv(this);this.$d=a;this.Sg=!1;b&&_.Bv(this.$c,this.fe,!1,this.$d);this.he=!0;this.Wh(c,!0)};_.h.start=function(){_.Mv(this,this.j1,[])};
_.h.j1=function(){var a=this.Wb==Tu("client_id")?Tu("login_hint"):void 0;var b=this.Wb==Tu("client_id")?Tu("state"):void 0;this.oC=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.kx(a,!0,!0);else{var c=this;this.rq(function(d){c.he=!0;d&&d.hint?(Vv(c),c.$d=d.hint,c.Sg=!!d.disabled,c.Sg?c.dispatchEvent({type:_.Tv.xp,idpId:c.Bb}):c.kx(d.hint)):(Vv(c),c.$d=void 0,c.Sg=!(!d||!d.disabled),c.dispatchEvent({type:_.Tv.EF,
autoOpenAuthUrl:!c.Sg,idpId:c.Bb}))})}};_.h.lI=_.ea(33);_.h.Wh=function(a,b){var c=this;this.$c.Wh(this.Wb,this.ii,this.$d,this.fe,function(d,e){(e=e||d.error)?"user_logged_out"==e?(Vv(c),c.dispatchEvent({type:_.Tv.xp,idpId:c.Bb})):(c.TB=null,c.dispatchEvent({type:_.Tv.cR,idpId:c.Bb,error:e})):(c.TB=d,c.Ho=d.session_state,Sv(c,d.expires_at),d.idpId=c.Bb,b&&c.oC&&(d.state=c.oC,c.oC=void 0),c.dispatchEvent({type:_.Tv.dR,idpId:c.Bb,response:d}))},this.ya,a)};_.h.$r=_.ea(25);_.h.hM=_.ea(34);
_.Wv=function(a){this.jl=null;_.Ov.call(this,{},a);this.he=!0};Qu(_.Wv,_.Ov);_.h=_.Wv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("oa");this.Wb=a.clientId;this.ya=a.id;Pv(this,a);Qv(this,a)};_.h.ew=function(a){this.jl&&(this.jl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.jl=null)};_.h.Fr=function(a){if(this.jl){var b=this.jl;this.jl=null;b(a)}};_.h.zq=_.ea(31);_.h.rq=function(a){this.em?a(this.Jl()):_.Mv(this,this.nA,[a])};
_.h.nA=function(a){Av(this.$c,this.fe,a)};_.Xv=function(a,b,c){a.em?c(a.Jl()):_.Mv(a,a.hZ,[b,c])};_.Wv.prototype.hZ=function(a,b){this.$c.Wh(this.Wb,this.ii,a,this.fe,function(c,d){d?b({error:d}):b(c)},this.ya,this.BT,this.e1)};_.Wv.prototype.CK=_.ea(35);

var Yv=function(a,b,c){if(!a.he)throw Error("ka");b?_.Bv(a.$c,a.fe,!0,void 0,c):_.Bv(a.$c,a.fe,!0,a.$d,c)},Zv=function(a){if(!a.he)throw Error("ka");return a.TB},$v,aw,bw,cw,dw,ew,fw,gw,hw,iw,lw,ow;_.Wv.prototype.CK=_.Ed(35,function(a,b){var c=this.$c,d=this.Wb,e=this.fe,f=_.Su(this.ii);delete f.response_type;_.yv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.Uv.prototype.hM=_.Ed(34,function(a){Zv(this)&&Zv(this).access_token&&(this.$c.$r(this.Wb,Zv(this).access_token,a),Yv(this,!0))});_.Uv.prototype.lI=_.Ed(33,function(){var a=this;this.rq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Tv.xp,idpId:a.Bb}):a.Wh(!0):a.dispatchEvent({type:_.Tv.EF,idpId:a.Bb})})});_.Uv.prototype.zq=_.Ed(32,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.kx(b.authResult.login_hint,a.Sg||b.authResult.login_hint!=a.$d,!0)}});
_.Wv.prototype.zq=_.Ed(31,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.rq(function(d){_.Bv(b.$c,b.fe,d&&d.disabled,c.authResult.login_hint,function(){_.Xv(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"})}});_.Ov.prototype.ZK=_.Ed(30,function(){this.Wb&&_.yv(this.$c,"startPolling",{clientId:this.Wb,origin:this.Rc,id:this.kj},void 0)});
_.vv.prototype.$r=_.Ed(26,function(a,b,c){_.yv(this,"revoke",{clientId:a,token:b},c)});_.Uv.prototype.$r=_.Ed(25,function(a){_.Mv(this,this.hM,[a])});$v=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};
aw=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};
bw=function(a,b,c,d,e,f,g){var k=_.bv(a,"authServerUrl");if(!k)throw Error("U`"+a);a=_.Su(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&&aw()&&!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("&")};
cw=function(a,b,c,d){if(!a.Wb)throw Error("la");a.kj=c||a.QR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Rc.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.kj);c.redirect_uri=e.join("")}return bw(a.Bb,a.Xc,a.Wb,a.Ep,!0,b,d)};dw=function(a,b,c){if(!a.Wb)throw Error("la");return bw(a.Bb,a.Xc,a.Wb,a.Ep,!1,b,c)};
ew=function(a,b){a.um&&window.clearTimeout(a.um);a.um=window.setTimeout(function(){a.kj==b&&(_.dv=void 0,a.um=null,a.kj=void 0,a.Fr({authResult:{error:"popup_closed_by_user"}}))},1E3)};fw=function(a,b,c){if(!a.Wb)throw Error("ma");c=c||{};c=cw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||$v())&&_.Mv(a,a.ZK,[]);var d=a.kj;a.DL.open(c,b,function(){a.kj==d&&ew(a,d)},function(){a.kj=void 0;a.Fr({authResult:{error:"popup_blocked_by_browser"}})})};
gw=function(a){_.Mv(a,a.lI,[])};hw=function(a,b,c){a.em?c(a.Jl()):_.Mv(a,a.CK,[b,c])};iw=function(a){return Array.prototype.concat.apply([],arguments)};
_.jw=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("")};
_.kw=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.nh[m];if(null!=n)return n;if(!_.Oe(m))throw Error("A`"+m);}return l}_.qh();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))}};lw=function(a){var b=[];_.kw(a,function(c){b.push(c)});return b};_.mw=function(a,b){_.Kh[b||"token"]=a};_.nw=function(a){delete _.Kh[a||"token"]};
ow=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.ME=!0,this.wn=Infinity);if(1>this.wn){var b=this.zk;a=this.wn;this.zk="";this.wn=1;a=Math.max(0,a);if(!this.ME){b=this.LC+b;var c=new _.Nh;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.uw+=a;this.uw>=this.wn?(c.reset(),c.update("SEED_SALT:"+b+this.zk),this.zk=String.fromCharCode.apply(String,c.digest()),this.LC="",this.uw=0):this.LC=b}}};_.h=ow.prototype;_.h.ME=!1;_.h.zk="";_.h.LC="";_.h.uw=0;_.h.wn=-1;
var rw=function(a){var b=pw,c=[];if(b.ME)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.wn||0==b.zk.length)throw new qw;var d=new _.Nh;d.update("RANDOM_SALT:"+b.zk);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.zk),b.zk=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},qw=function(){};_.F(qw,Error);qw.prototype.name="Insufficient Entropy";
_.Xu={parse:function(a){a=_.Gf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Hf(a)}};_.Wv.prototype.$z=function(a,b){_.Mv(this,this.mT,[a,b])};_.Wv.prototype.mT=function(a,b){this.$c.$z(this.Wb,a,this.ii,this.fe,b)};_.vv.prototype.$z=function(a,b,c,d,e){c=_.Su(c);_.yv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var sw,tw=["client_id","cookie_policy","scope"],uw="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(" "),vw=["authuser","after_redirect","access_type","hl"],ww=["login_hint","prompt"],xw={clientid:"client_id",cookiepolicy:"cookie_policy"},yw=["approval_prompt","authuser","login_hint", "prompt","hd"],zw=["login_hint","g-oauth-window","status"],Aw=Math.min(_.Q("oauth-flow/authWindowWidth",599),screen.width-20),Bw=Math.min(_.Q("oauth-flow/authWindowHeight",600),screen.height-30);
var Cw=function(a){_.ub.call(this,a)};_.ah(Cw,_.ub);Cw.prototype.name="gapi.auth2.ExternallyVisibleError";var Dw=function(){};Dw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Ew=function(){};Ew.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 Fw=function(a){this.RR=a}; Fw.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.RR){d.login_hint?b(d):b();return}}b()};
var Gw=function(a){this.Od=a;this.Qw=[]};Gw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Qw[b];f?(b++,c.Od.Lv(function(g){g?f.select(g,d):d()})):a()}};d()};var Hw=function(a){a=new Gw(a);a.Qw.push(new Dw);return a},Iw=function(a){a=new Gw(a);a.Qw.push(new Ew);return a},Jw=function(a,b){void 0===b||null===b?b=Hw(a):(a=new Gw(a),a.Qw.push(new Fw(b)),b=a);return b};
var Kw=function(a){this.Ee=a;this.Xd=!0};Kw.prototype.remove=function(){this.Xd=!1};Kw.prototype.trigger=function(){};var Lw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Mw=function(){this.Zb=[]};Mw.prototype.add=function(a){this.Zb.push(a)};Mw.prototype.notify=function(a){for(var b=this.Zb,c=[],d=0;d<b.length;d++){var e=b[d];e.Xd&&(c.push(e),_.Ij(Nw(e.Ee,a)))}this.Zb=c};var Nw=function(a,b){return function(){a(b)}};
var Pw=function(a){this.je=null;this.Z1=new Ow(this);this.Zb=new Mw;void 0!=a&&this.set(a)};Pw.prototype.set=function(a){a!=this.je&&(this.je=a,this.Z1.value=a,this.Zb.notify(this.je))};Pw.prototype.get=function(){return this.je};Pw.prototype.T=function(a){a=new Qw(this,a);this.Zb.add(a);return a};var Qw=function(a,b){Kw.call(this,b);this.iY=a};_.F(Qw,Kw);Qw.prototype.trigger=function(){var a=this.Ee;a(this.iY.get())};var Ow=function(a){this.value=null;this.T=function(b){return new Lw(a.T(b))}};
var Rw={J4:"fetch_basic_profile",Z5:"login_hint",S7:"prompt",d8:"redirect_uri",v8:"scope",j$:"ux_mode",C9:"state"},Sw=function(a){this.wa={};if(a&&!_.Tq(a))if("function"==typeof a.get)this.wa=a.get();else for(var b in Rw){var c=Rw[b];c in a&&(this.wa[c]=a[c])}};Sw.prototype.get=function(){return this.wa};Sw.prototype.YM=function(a){this.wa.scope=a;return this};Sw.prototype.Mq=function(){return this.wa.scope};
var Tw=function(a,b){var c=a.wa.scope;b=iw(b.split(" "),c?c.split(" "):[]);_.lh(b);a.wa.scope=b.join(" ")};_.h=Sw.prototype;_.h.I0=function(a){this.wa.prompt=a;return this};_.h.ZU=function(){return this.wa.prompt};_.h.d0=function(){_.We("Property app_package_name no longer supported and was not set");return this};_.h.HT=function(){_.We("Property app_package_name no longer supported")};_.h.mf=function(a){this.wa.state=a};_.h.getState=function(){return this.wa.state};
var Uw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Aw,"height="+Bw,"top="+(screen.height-Bw)/2,"left="+(screen.width-Aw)/2].join()},Vw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.jw(lw(a)))},Ww=function(){sw=_.Q("auth2/idpValue","google");var a=_.Q("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Q("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.cv(sw,{authServerUrl:a,idpIFrameUrl:b})},Xw=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}_.ob(a[e])||(a[e]={});a=a[e]}},Yw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var Zw=function(a){var b=a?(b=Vw(a))?b.sub:null:null;this.ya=b;this.tc=a?_.yj(a):null};_.h=Zw.prototype;_.h.getId=function(){return this.ya};_.h.wA=function(){var a=Vw(this.tc);return a?a.hd:null};_.h.Uh=function(){return!!this.tc};_.h.hk=function(a){if(a)return this.tc;a=$w;var b=_.yj(this.tc);!a.uv||a.mB||a.RW||(delete b.access_token,delete b.scope);return b};_.h.aD=function(){return $w.aD()};_.h.Dj=function(){this.tc=null};_.h.pU=function(){return this.tc?this.tc.scope:null};
_.h.update=function(a){this.ya=a.ya;this.tc=a.tc;this.tc.id_token?this.Ct=new ax(this.tc):this.Ct&&(this.Ct=null)};var bx=function(a){return a.tc&&"object"==typeof a.tc.session_state?_.yj(a.tc.session_state.extraQueryParams||{}):{}};_.h=Zw.prototype;_.h.mq=function(){var a=bx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.Cj=function(a){var b=$w,c=new Sw(a);b.mB=c.Mq()?!0:!1;$w.uv&&Tw(c,"openid profile email");return new _.Uj(function(d,e){var f=bx(this);f.login_hint=this.getId();f.scope=c.Mq();cx(b,d,e,f)},this)};_.h.Pq=function(a){return new _.Uj(function(b,c){var d=a||{},e=$w;d.login_hint=this.getId();e.Pq(d).then(b,c)},this)};_.h.wV=function(a){return this.Cj(a)};_.h.disconnect=function(){return $w.disconnect()};_.h.KT=function(){return this.Ct};
_.h.hv=function(a){if(!this.Uh())return!1;var b=this.tc&&this.tc.scope?this.tc.scope.split(" "):"";return(0,_.Db)(a?a.split(" "):[],function(c){return _.Eb(b,c)})};var ax=function(a){a=Vw(a);this.ET=a.sub;this.yd=a.name;this.tV=a.given_name;this.kT=a.family_name;this.WJ=a.picture;this.lu=a.email};_.h=ax.prototype;_.h.getId=function(){return this.ET};_.h.getName=function(){return this.yd};_.h.nU=function(){return this.tV};_.h.hU=function(){return this.kT};_.h.xU=function(){return this.WJ};_.h.Iu=function(){return this.lu};
var ex=function(a,b,c){this.mm=b;this.FY=a;for(var d in a)a.hasOwnProperty(d)&&dx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.mm[c[a]]},dx=function(a,b){a[b]=function(){return a.FY[b].apply(a.mm,arguments)}};ex.prototype.then=function(a,b,c){var d=this;return _.Yj().then(function(){return fx(d.mm,a,b,c)})};_.Sj(ex);
var gx;gx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.hx=function(a){if(!a)throw new Cw("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 Cw("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(!_.Sq(b,"."+a)&&!_.Sq(b,a))throw new Cw("Invalid cookiePolicy domain");return d};
var pw;pw=new ow;_.ix=function(){try{for(var a=[],b=0;64>a.length&&128>b;)a.push.apply(a,rw(64-a.length)),b++;if(64>a.length)throw new qw;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.rh(c,!0).substring(0,64)};
var kx,jx,lx,mx,nx,ox,qx,wx,rx,yx,zx,sx;kx=function(a){var b=a||{},c=jx();(0,_.yb)(uw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};jx=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;xw[d]&&(d=xw[d]);_.Eb(uw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
lx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};mx=function(a){(0,_.yb)(uw,function(b){var c=lx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};nx=function(a){a=kx(a);mx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=uw+vw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
ox=function(a,b){if(!a)throw new Cw("Empty initial options.");for(var c=0;c<tw.length;++c)if(!(b&&"scope"==tw[c]||a[tw[c]]))throw new Cw("Missing required parameter '"+tw[c]+"'");_.hx(a.cookie_policy)};
qx=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:gx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:sw};_.px(b,a);(0,_.yb)(ww,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.px=function(){};
wx=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=rx(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:gx(c),idpId:sw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.ix());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);(0,_.yb)(ww.concat(vw),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 sx(a.response_type||"token"),tx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),vx(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};rx=function(a){a=new sx(a.response_type||"token");var b=[];vx(a)&&b.push("token");xx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};yx=["permission","id_token"];zx=/(^|[^_])token/;sx=function(a){this.wo=[];this.CB(a)};
sx.prototype.CB=function(a){a?((0<=a.indexOf("permission")||a.match(zx))&&this.wo.push("permission"),0<=a.indexOf("id_token")&&this.wo.push("id_token"),0<=a.indexOf("code")&&this.wo.push("code")):this.wo=yx};var tx=function(a){return xx(a,"code")},vx=function(a){return xx(a,"permission")};sx.prototype.toString=function(){return this.wo.join(" ")};var xx=function(a,b){var c=!1;(0,_.yb)(a.wo,function(d){d==b&&(c=!0)});return c};
var $w,Ax,Cx,Ex,Fx,fx;$w=null;_.Bx=function(){return $w?Ax():null};Ax=function(){return new ex(Cx.prototype,$w,["currentUser","isSignedIn"])};Cx=function(a){delete a.include_granted_scopes;this.wa=qx(a);this.vS=a.cookie_policy;this.RW=!!a.scope;(this.uv=!1!==a.fetch_basic_profile)&&(this.wa.authParameters.scope=Dx(this,"openid profile email"));this.Zq=a.hosted_domain;this.W1=a.ux_mode||"popup";this.NZ=a.redirect_uri||null;Ex(this)};
Ex=function(a){a.currentUser=new Pw(new Zw(null));a.isSignedIn=new Pw(!1);a.Od=new _.Uv(a.wa);a.Wn=null;a.Bv=null;a.XX=new _.Uj(function(b,c){this.Wn=b;this.Bv=c},a);a.hw={};a.qr=!0;Fx(a);a.Od.start()};
Fx=function(a){a.Od.addEventListener("error",function(b){a.qr&&a.Wn&&(a.qr=!1,a.Bv({error:b.error,details:b.details}),a.Wn=null,a.Bv=null)});a.Od.addEventListener("authResult",function(b){b&&b.authResult&&a.We(b);a.Od.zq()(b)});a.Od.addEventListener("tokenReady",function(b){var c=new Zw(b.response);if(a.Zq&&a.Zq!=c.wA())a.We({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.wA(),expectedDomain:a.Zq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Zb.notify(d.je);a.isSignedIn.set(!0);c=c.mq();(d=_.hx(a.vS))&&c&&_.mi.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Ge?"S":"H",d.Eh].join(""),c,void 0,void 0,d.domain,d.isSecure);_.mw(b.response);a.We(b)}});a.Od.addEventListener("noSessionBound",function(b){a.qr&&b.autoOpenAuthUrl?(a.qr=!1,Hw(a.Od).select(function(c){if(c&&c.login_hint){var d=a.Od;_.Mv(d,d.kx,[c.login_hint,!0])}else a.currentUser.set(new Zw(null)),a.isSignedIn.set(!1),_.nw(),a.We(b)})):(a.currentUser.set(new Zw(null)),
a.isSignedIn.set(!1),_.nw(),a.We(b))});a.Od.addEventListener("tokenFailed",function(b){a.We(b)});a.Od.addEventListener("userLoggedOut",function(b){a.currentUser.get().Dj();var c=a.currentUser;c.Zb.notify(c.je);a.isSignedIn.set(!1);_.nw();a.We(b)})};fx=function(a,b,c,d){return a.XX.then(function(e){if(b)return b(e.uV)},c,d)};Cx.prototype.We=function(a){if(a){this.qr=!1;var b=a.type||"";if(this.hw[b])this.hw[b](a);this.Wn&&(this.Wn({uV:this}),this.Bv=this.Wn=null)}};
var Gx=function(a,b){_.Ub(b,function(c,d){a.hw[d]=function(e){a.hw={};c(e)}})},cx=function(a,b,c,d){d=_.yj(d);a.Zq&&(d.hd=a.Zq);var e=d.ux_mode||a.W1;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.NZ||Yw()+window.location.pathname),Hx(a,f)):(delete d.redirect_uri,Ix(a,f),Gx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):Gx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Cx.prototype.Cj=function(a){return new _.Uj(function(b,c){var d=new Sw(a);this.mB=d.Mq()?!0:!1;this.uv?(d.wa.fetch_basic_profile=!0,Tw(d,"email profile openid")):d.wa.fetch_basic_profile=!1;var e=Dx(this,d.Mq());d.YM(e);cx(this,b,c,d.get())},this)};
Cx.prototype.Pq=function(a){var b=a||{};this.mB=!!b.scope;a=Dx(this,b.scope);if(""==a)return _.Zj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};(0,_.yb)(yw,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?Jx(this,c):Kx(this,c,b.redirect_uri)};
var Kx=function(a,b,c){b.redirect_uri=c;Hx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Yj({message:"Redirecting to IDP."})},Jx=function(a,b){b.origin=Yw();delete b.redirect_uri;Ix(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Uj(function(c,d){Gx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Ix=function(a,b){Xw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");fw(a.Od,Uw(),b)},Hx=function(a,b){Xw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(dw(a.Od,b.sessionMeta,b.responseType))};Cx.prototype.Dj=function(a){var b=a||!1;return new _.Uj(function(c){Yv(this.Od,b,function(){c()})},this)};Cx.prototype.HI=function(){return this.wa.authParameters.scope};var Dx=function(a,b){a=a.HI();b=iw(b?b.split(" "):[],a?a.split(" "):[]);_.lh(b);return b.join(" ")};
Cx.prototype.aD=function(){var a=this;return new _.Uj(function(b,c){Gx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});gw(a.Od)})};Cx.prototype.NR=function(a,b,c,d){if(a=_.Wa(a)?document.getElementById(a):a){var e=this;_.Gq(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Cj(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."})}; Cx.prototype.disconnect=function(){return new _.Uj(function(a){this.Od.$r(function(){a()})},this)};
var Lx;_.Uj.prototype["catch"]=_.Uj.prototype.px;Lx=null;_.Zx=function(a){a=nx(a);if($w){if(_.xj(a,Lx||{}))return Ax();throw new Cw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}ox(a,!1!==a.fetch_basic_profile);Ww();Lx=a;$w=new Cx(a);_.De.ga=1;return Ax()};
var ay,cy,$x,ey,dy,fy;_.by=function(a,b){Ww();a=nx(a);ox(a);var c=wx(a),d=new _.Wv(c);"none"==a.prompt?$x(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)}):ay(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.DL.kh;b(e)})};
ay=function(a,b,c){var d=new sx(b.response_type);c=cy(a,d,c);var e={responseType:d.toString()};Xw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");tx(d)&&Xw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Xw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Xw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Uw();a.em?c({authResult:{error:"idpiframe_initialization_failed",details:a.Jl().error}}):(a.jl=
c,fw(a,b,e))};cy=function(a,b,c){if(vx(b)){var d=dy(c);return function(e){e&&e.authResult&&!e.authResult.error?a.zq(function(f){f&&!f.error?(f=_.yj(f),tx(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(_.yj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
$x=function(a,b,c){if(tx(new sx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=dy(c);b.login_hint?a.$z(b.login_hint,function(e){e?ey(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Jw(a,b.authuser).select(function(e){e&&e.login_hint?ey(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.rq(function(e){e&&e.hint?ey(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Iw(a):Hw(a)).select(function(f){f&&f.login_hint?ey(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};ey=function(a,b,c,d){b=new sx(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Wb(f,k),0==e&&d(f))};(vx(b)||xx(b,"id_token"))&&e++;tx(b)&&e++;(vx(b)||xx(b,"id_token"))&&_.Xv(a,c,g);tx(b)&&hw(a,c,g)}; dy=function(a){return function(b){if(!b||b.error)_.nw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.yj(b);fy(c);delete c.id_token;delete c.code;_.mw(c)}a(b)}}};fy=function(a){(0,_.yb)(zw,function(b){delete a[b]})};
_.z("gapi.auth2.init",_.Zx);_.z("gapi.auth2.authorize",function(a,b){if(null!=$w)throw new Cw("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).");_.by(a,function(c){fy(c);b(c)})});_.z("gapi.auth2._gt",function(){return _.Lh()});_.z("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Nu="0"!=a&&!!a});_.z("gapi.auth2.getAuthInstance",_.Bx);
_.z("gapi.auth2.BasicProfile",ax);_.z("gapi.auth2.BasicProfile.prototype.getId",ax.prototype.getId);_.z("gapi.auth2.BasicProfile.prototype.getName",ax.prototype.getName);_.z("gapi.auth2.BasicProfile.prototype.getGivenName",ax.prototype.nU);_.z("gapi.auth2.BasicProfile.prototype.getFamilyName",ax.prototype.hU);_.z("gapi.auth2.BasicProfile.prototype.getImageUrl",ax.prototype.xU);_.z("gapi.auth2.BasicProfile.prototype.getEmail",ax.prototype.Iu);_.z("gapi.auth2.GoogleAuth",Cx);
_.z("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Cx.prototype.NR);_.z("gapi.auth2.GoogleAuth.prototype.disconnect",Cx.prototype.disconnect);_.z("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Cx.prototype.Pq);_.z("gapi.auth2.GoogleAuth.prototype.signIn",Cx.prototype.Cj);_.z("gapi.auth2.GoogleAuth.prototype.signOut",Cx.prototype.Dj);_.z("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Cx.prototype.HI);_.z("gapi.auth2.GoogleUser",Zw);_.z("gapi.auth2.GoogleUser.prototype.grant",Zw.prototype.wV);
_.z("gapi.auth2.GoogleUser.prototype.getId",Zw.prototype.getId);_.z("gapi.auth2.GoogleUser.prototype.isSignedIn",Zw.prototype.Uh);_.z("gapi.auth2.GoogleUser.prototype.getAuthResponse",Zw.prototype.hk);_.z("gapi.auth2.GoogleUser.prototype.getBasicProfile",Zw.prototype.KT);_.z("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Zw.prototype.pU);_.z("gapi.auth2.GoogleUser.prototype.getHostedDomain",Zw.prototype.wA);_.z("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Zw.prototype.Pq);
_.z("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Zw.prototype.hv);_.z("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Zw.prototype.aD);_.z("gapi.auth2.LiveValue",Pw);_.z("gapi.auth2.LiveValue.prototype.listen",Pw.prototype.T);_.z("gapi.auth2.LiveValue.prototype.get",Pw.prototype.get);_.z("gapi.auth2.SigninOptionsBuilder",Sw);_.z("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Sw.prototype.HT);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Sw.prototype.d0);
_.z("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Sw.prototype.Mq);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Sw.prototype.YM);_.z("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Sw.prototype.ZU);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Sw.prototype.I0);_.z("gapi.auth2.SigninOptionsBuilder.prototype.get",Sw.prototype.get);

_.Ye.B4=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}};_.Ye.r8=function(a){return function(b){return a.test(b)}};_.Ye.ZO=function(a){return"undefined"!==typeof a};_.Ye.a7=function(a){return"string"===typeof a&&0<a.length};_.Ye.Q2=function(a){return"boolean"===typeof a};_.Ye.e6=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Qe=_.Qe||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Ye&&_.Ye.register("core.util",null,a);_.Qe.Daa=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Qe.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Qe.Laa=function(){return c}})();

var tr,Ar,Br,Cr,Dr,Hr,Kr,Lr,Mr;_.ir=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.jr=function(a,b){this.x=_.Va(a)?a:0;this.y=_.Va(b)?b:0};_.h=_.jr.prototype;_.h.clone=function(){return new _.jr(this.x,this.y)};_.h.equals=function(a){return a instanceof _.jr&&_.ir(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 _.jr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),_.kb(b)&&(this.y+=b));return this};_.h.scale=function(a,b){b=_.kb(b)?b:a;this.x*=a;this.y*=b;return this};_.kr=function(a,b){this.width=a;this.height=b};_.h=_.kr.prototype;_.h.clone=function(){return new _.kr(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){b=_.kb(b)?b:a;this.width*=a;this.height*=b;return this};_.lr=function(a){return"CSS1Compat"==a.compatMode};
_.mr=function(a){a=a.document;a=_.lr(a)?a.documentElement:a.body;return new _.kr(a.clientWidth,a.clientHeight)};_.nr=function(a){return _.mr(a||window)};_.or=function(a){return a.scrollingElement?a.scrollingElement:!_.id&&_.lr(a)?a.documentElement:a.body||a.documentElement};_.pr=function(a){var b=_.or(a);a=a.parentWindow||a.defaultView;return _.ed&&_.yd("10")&&a.pageYOffset!=b.scrollTop?new _.jr(b.scrollLeft,b.scrollTop):new _.jr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.qr=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.rr=function(a,b,c,d){return Array.prototype.splice.apply(a,_.qr(arguments,1))};_.sr=function(a,b,c){if(null!==a&&b in a)throw Error("f`"+b);a[b]=c};tr={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};_.ur=function(a){if(a instanceof _.Jc&&a.constructor===_.Jc&&a.EQ===_.Ic)return a.UC;_.Za(a);return"type_error:SafeStyleSheet"};
Ar=/^[a-zA-Z0-9-]+$/;Br={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};Cr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};Dr=function(a){var b=_.Jd(_.Qc),c=b.Wg(),d=[],e=function(f){_.ab(f)?(0,_.yb)(f,e):(f=_.Jd(f),d.push(_.Oc(f).toString()),f=f.Wg(),0==c?c=f:0!=f&&c!=f&&(c=null))};(0,_.yb)(a,e);return _.Pc(d.join(_.Oc(b).toString()),c)};_.Er=function(a){return Dr(Array.prototype.slice.call(arguments))};
_.Fr=function(a,b,c){var d=String(a);if(!Ar.test(d))throw Error("l`"+d);if(d.toUpperCase()in Cr)throw Error("m`"+d);a=String(a);d=null;var e="<"+a,f="";if(b)for(m in b){if(!Ar.test(m))throw Error("q`"+m);var g=b[m];if(null!=g){var k=a;var l=m;if(g instanceof _.cc)g=_.dc(g);else if("style"==l.toLowerCase()){if(!_.ob(g))throw Error("p`"+typeof g+"`"+g);g instanceof _.xc||(g=_.Bc(g));g=_.yc(g)}else{if(/^on/i.test(l))throw Error("n`"+l+"`"+g);if(l.toLowerCase()in Br)if(g instanceof _.ic)g=_.lc(g);else if(g instanceof
_.pc)g=_.qc(g).toString();else if(_.Wa(g))g=_.uc(g).Df();else throw Error("o`"+l+"`"+k+"`"+g);}g.fh&&(g=g.Df());l=l+'="'+_.Nb(String(g))+'"';f+=" "+l}}var m=e+f;null!=c?_.ab(c)||(c=[c]):c=[];!0===tr[a.toLowerCase()]?m+=">":(c=_.Er(c),m+=">"+_.Oc(c).toString()+"</"+a+">",d=c.Wg());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.Pc(m,d)};_.Gr=function(a,b){if((0,_.Sc)())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.Oc(b)};
Hr=function(a){var b=_.Wa(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})};_.Ir=function(a,b,c){return _.ae(document,arguments)};_.Jr=function(a){var b;if(_.Od&&!(_.ed&&_.yd("9")&&!_.yd("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ke(b)?b:null};
Kr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};Lr={IMG:" ",BR:"\n"};Mr=function(a,b,c){if(!(a.nodeName in Kr))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 Lr)b.push(Lr[a.nodeName]);else for(a=a.firstChild;a;)Mr(a,b,c),a=a.nextSibling};
_.Nr=function(a){if(_.Nd&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Mr(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Nd||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Or=function(a){var b=[];Mr(a,b,!1);return b.join("")};
_.Pr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Pr.prototype;_.h.wd=function(){return this.right-this.left};_.h.Gc=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Pr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Pr?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){_.ob(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 _.jr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,_.kb(b)&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b=_.kb(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var Sr,Yr,Wr,as,ns,os;_.Rr=function(a,b,c){if(_.Wa(b))(b=_.Qr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Qr(c,d);f&&(c.style[f]=e)}};Sr={};_.Qr=function(a,b){var c=Sr[b];if(!c){var d=_.Kd(b);c=d;void 0===a.style[d]&&(d=(_.id?"Webkit":_.hd?"Moz":_.ed?"ms":_.dd?"O":null)+Hr(d),void 0!==a.style[d]&&(c=d));Sr[b]=c}return c};
_.Tr=function(a,b){var c=_.Rd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ur=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Vr=function(a,b){return _.Tr(a,b)||_.Ur(a,b)||a.style&&a.style[b]};_.Xr=function(a,b,c){if(b instanceof _.jr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Wr(d,!1);a.style.top=Wr(b,!1)};
Yr=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}_.ed&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
_.bs=function(a,b){b=b||_.or(document);var c=b||_.or(document);var d=_.Zr(a),e=_.Zr(c),f=_.$r(c);if(c==_.or(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.ed&&!_.Bd(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=as(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 _.jr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Zr=function(a){var b=_.Rd(a),c=new _.jr(0,0);var d=b?_.Rd(b):document;d=!_.ed||_.Bd(9)||_.lr(_.Sd(d).Ta)?d.documentElement:d.body;if(a==d)return c;a=Yr(a);b=_.pr(_.Sd(b).Ta);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.ds=function(a,b){var c=new _.jr(0,0),d=_.Xd(_.Rd(a));if(!_.ad(d,"parent"))return c;do{var e=d==b?_.Zr(a):_.cs(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.cs=function(a){a=Yr(a);return new _.jr(a.left,a.top)};
_.es=function(a,b,c){if(b instanceof _.kr)c=b.height,b=b.width;else if(void 0==c)throw Error("L");a.style.width=Wr(b,!0);a.style.height=Wr(c,!0)};Wr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.fs=function(a){var b=as;if("none"!=_.Vr(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};
as=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.id&&!b&&!c;return _.Va(b)&&!d||!a.getBoundingClientRect?new _.kr(b,c):(a=Yr(a),new _.kr(a.right-a.left,a.bottom-a.top))};_.gs=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)+")")};_.hs=function(a,b){a.style.display=b?"":"none"};
_.js=function(a){var b=_.Sd(void 0),c=b.nb();if(_.ed&&c.createStyleSheet)return b=c.createStyleSheet(),_.is(b,a),b;c=_.Ud(b.Ta,"HEAD",void 0,void 0)[0];if(!c){var d=_.Ud(b.Ta,"BODY",void 0,void 0)[0];c=b.ka("HEAD");d.parentNode.insertBefore(c,d)}d=b.ka("STYLE");_.is(d,a);b.appendChild(c,d);return d};_.is=function(a,b){b=_.ur(b);_.ed&&_.Va(a.cssText)?a.cssText=b:a.innerHTML=b};_.ks=function(a){return"rtl"==_.Vr(a,"direction")};_.ls=_.hd?"MozUserSelect":_.id||_.fd?"WebkitUserSelect":null;
_.ms=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};ns={thin:2,medium:4,thick:6};os=function(a,b){if("none"==_.Ur(a,b+"Style"))return 0;b=_.Ur(a,b+"Width");return b in ns?ns[b]:_.ms(a,b)};
_.$r=function(a){if(_.ed&&!_.Bd(9)){var b=os(a,"borderLeft"),c=os(a,"borderRight"),d=os(a,"borderTop");a=os(a,"borderBottom");return new _.Pr(d,c,a,b)}b=_.Tr(a,"borderLeftWidth");c=_.Tr(a,"borderRightWidth");d=_.Tr(a,"borderTopWidth");a=_.Tr(a,"borderBottomWidth");return new _.Pr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

_.Wy=function(a){this.E1=a};_.Wy.prototype.toString=function(){return this.E1};_.Xy=function(a){_.iq.call(this);this.Vh=1;this.ww=[];this.Bw=0;this.nf=[];this.yi={};this.MR=!!a};_.F(_.Xy,_.iq);_.h=_.Xy.prototype;_.h.subscribe=function(a,b,c){var d=this.yi[a];d||(d=this.yi[a]=[]);var e=this.Vh;this.nf[e]=a;this.nf[e+1]=b;this.nf[e+2]=c;this.Vh=e+3;d.push(e);return e};_.h.Hs=_.ea(37);_.h.unsubscribe=function(a,b,c){if(a=this.yi[a]){var d=this.nf;if(a=_.oj(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Ij(a)}return!1};
_.h.Ij=function(a){var b=this.nf[a];if(b){var c=this.yi[b];0!=this.Bw?(this.ww.push(a),this.nf[a+1]=_.mb):(c&&_.fq(c,a),delete this.nf[a],delete this.nf[a+1],delete this.nf[a+2])}return!!b};
_.h.lo=function(a,b){var c=this.yi[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.MR)for(e=0;e<c.length;e++){var g=c[e];Yy(this.nf[g+1],this.nf[g+2],d)}else{this.Bw++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.nf[g+1].apply(this.nf[g+2],d)}finally{if(this.Bw--,0<this.ww.length&&0==this.Bw)for(;c=this.ww.pop();)this.Ij(c)}}return 0!=e}return!1};var Yy=function(a,b,c){_.Qj(function(){a.apply(b,c)})};
_.Xy.prototype.clear=function(a){if(a){var b=this.yi[a];b&&((0,_.yb)(b,this.Ij,this),delete this.yi[a])}else this.nf.length=0,this.yi={}};_.Xy.prototype.Hb=function(a){if(a){var b=this.yi[a];return b?b.length:0}a=0;for(b in this.yi)a+=this.Hb(b);return a};_.Xy.prototype.ta=function(){_.Xy.H.ta.call(this);this.clear();this.ww.length=0};
_.Zy=function(a){_.iq.call(this);this.Kd=new _.Xy(a);_.lq(this,this.Kd)};_.F(_.Zy,_.iq);_.h=_.Zy.prototype;_.h.subscribe=function(a,b,c){return this.Kd.subscribe(a.toString(),b,c)};_.h.Hs=_.ea(36);_.h.unsubscribe=function(a,b,c){return this.Kd.unsubscribe(a.toString(),b,c)};_.h.Ij=function(a){return this.Kd.Ij(a)};_.h.lo=function(a,b){return this.Kd.lo(a.toString(),b)};_.h.clear=function(a){this.Kd.clear(_.Va(a)?a.toString():void 0)};_.h.Hb=function(a){return this.Kd.Hb(_.Va(a)?a.toString():void 0)};

_.$y=function(a,b){_.ab(b)||(b=[b]);b=(0,_.Bb)(b,function(c){return _.Wa(c)?c:c.zw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Rr(a,"transition",b.join(","))};
_.az=_.Zb(function(){if(_.ed)return _.yd("10.0");var a=_.ce("DIV"),b=_.id?"-webkit":_.hd?"-moz":_.ed?"-ms":_.dd?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Fr("div",{style:c});_.Gr(a,b);a=a.firstChild;b=a.style[_.Kd("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Qr(a,"transition")]||"")});

_.cz=!1;_.dz=function(){_.bz="oauth2relay"+String(2147483647*(0,_.xg)()|0)};_.ez=new _.Zy;_.fz=new _.Wy("oauth");_.dz();_.Q("oauth-flow/client_id");var gz=String(_.Q("oauth-flow/redirectUri"));if(gz)gz.replace(/[#][\s\S]*/,"");else{var hz=_.sg.Pa(window.location.href);_.Q("oauth-flow/callbackUrl");encodeURIComponent(hz)}_.sg.Pa(window.location.href);

var jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,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,Zz,bA,aA,cA,dA,eA,fA,gA,hA,jA,kA,mA;_.iz=function(a,b){if(_.ph&&!b)return _.q.atob(a);var c="";_.kw(a,function(d){c+=String.fromCharCode(d)});return c};jz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};kz=function(a){return _.Q("enableMultilogin")&&a("cookie_policy")&&!jz(a)?!0:!1};
nz=function(){var a,b=null;_.$h.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.ai(c.substring(11)),!a||c.Ge&&!a.Ge||c.Ge==a.Ge&&c.Eh>a.Eh)&&(a=c,b=d)});return{WR:a,authuser:b}};oz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];pz=function(a){a=a.toUpperCase();for(var b=0,c=oz.length;b<c;++b){var d=a.split(oz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Ph,b.IE(a),a=b.Rg().toUpperCase());return a};
qz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};rz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],b0:qz(a[1]),lba:qz(a[2]),uaa:qz(a[3])}};sz=function(a){var b=nz(),c=b.WR;b=b.authuser;var d=a&&pz(a);if(null!==b){var e;_.$h.iterate(function(g,k){(g=_.bi(g))&&g.MB&&(d&&g.mS!=d||g.Ge==c.Ge&&g.Eh==c.Eh&&(e=k))});if(e){var f=rz(e);a=f&&f.b0[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Xba:a,clientId:f}}}return null};
tz=function(a,b){a=_.Lh(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};_.uz=function(a,b){if(b){var c=b;var d=a}else _.Wa(a)?d=a:c=a;c?_.mw(c,d):_.nw(d)};
vz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Nf.Pa(a));var b=window.location.hostname,c=b,d=_.Zh;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Te("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 _.Te("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ge:d,Eh:b}};
wz=function(a){var b=vz(a);if(!b)return new _.Th("G_USERSTATE_");a=["G_USERSTATE_",_.Zh&&b.Ge?"S":"H",b.Eh].join("");var c=_.fi[a];c||(c={rba:63072E3},_.ve(_.ji(b),c),c=new _.Qh(a,c),_.fi[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};xz=function(a){var b=wz(a).read();a=_.te();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
yz=function(a,b,c){var d=xz(b),e=d[a];d[a]="0";var f=[];_.Ml(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=wz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};zz=function(a,b){b=xz(b);return"0"==b[a]||"X"==b[a]};Az=function(a){a=vz(a.g_user_cookie_policy);if(!a||a.Ge&&!_.Zh)a=null;else{var b=["G_AUTHUSER_",_.Zh&&a.Ge?"S":"H",a.Eh].join(""),c=_.ei[b];c||(c=new _.$h(b,_.ji(a)),_.ei[b]=c);a=c}_.Le("googleapis.config/sessionIndex",null);a.clear()};Bz=function(a){return jz(function(b){return a[b]})};
Cz=0;Dz=!1;Ez=[];Fz={};Gz={};Hz=null;Iz=function(a){var b=_.bz;return function(c){if(this.f==b&&this.t==_.Nf.El(this.f)&&this.origin==_.Nf.Tl(this.f))return a.apply(this,arguments)}};Jz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Kz=function(a){if(_.cz&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("xa");};
Lz=function(a){var b=_.Qe.Ic,c=b(a).jsh;if(null!=c)return Kz(c),a;if(b=String(b().jsh||_.De.h||""))Kz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Mz=function(){return!!_.Q("oauth-flow/usegapi")};Nz=function(a,b){Mz()?Hz.unregister(a):_.Nf.unregister(a+":"+b)};Oz=function(a,b,c){Mz()?Hz.register(a,c,_.Yl):_.Nf.register(a+":"+b,Iz(c))};Pz=function(){lz.parentNode.removeChild(lz)};
Qz=function(a){var b=lz;_.$y(b,[{zw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.$y(b,[{zw:"transform",duration:1,timing:"ease",delay:0}]);_.ry(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Rz=function(){var a=mz+88;Qz(a);mz=a};Sz=function(){var a=mz-88;Qz(a);mz=a};
Tz=function(a){var b=a?Rz:Sz,c=a?Sz:Rz;a=a?"-":"";mz=parseInt(a+88,10);lz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";lz.style.transform="translate3d(0px,"+a+88+"px,0px)";lz.style.display="";lz.style.visibility="visible";b();_.ry(c,4E3);_.ry(Pz,5E3)};
Uz=function(a){var b=_.Q("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");lz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Rr(c,"visibility","hidden");_.Rr(c,b,"-40px");_.Rr(c,"height","128px");var d=c;if("desktop"==_.Q("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?"-":"";mz=parseInt(e+88,10);lz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";lz.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){}_.Kl.Yh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Tz(!0):Tz(!1)}})};
Vz=function(a){var b=_.dn(),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==_.Ek.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Wz=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=_.Q("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!=sz(c)||!Bz(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};Xz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Gf(_.iz(a,!0));if(!1===a)throw Error("ya");return a};Yz=function(a){return(a=Xz(a))?a.sub:null};
Zz=function(a){a&&Ez.push(a);a=_.bz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Cz&&6E4>c-Cz)return;var d=_.Nf.El(a);d&&(Nz("oauth2relayReady",d),Nz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.dz();a=_.bz}Cz=c;var e=String(2147483647*(0,_.xg)()|0);b=_.Q("oauth-flow/proxyUrl")||_.Q("oauth-flow/relayUrl");Mz()?Hz=_.Kl.Yh({where:_.Qe.rI(),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(_.sg.Pa(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Qe.rI(),d=_.Qe.vH({name:a,id:a}),d.src=Lz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Jz(d),c.appendChild(d),_.Nf.ws(a));Oz("oauth2relayReady",e,function(){Nz("oauth2relayReady",e);var f=Ez;if(null!==f){Ez=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});Oz("oauth2callback",
e,function(f){var g=_.Qe.Ic;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Gz,f)?Gz[f]:null;g.state=f;if(null!=g.state){f=Fz[k];delete Fz[k];k=f&&f.key||"token";var l=g=Wz(f&&f.params,g);var m=(m=Yz(l))?zz(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Q("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Dz||(Dz=!0,Uz(l)));_.uz(k,g);g=tz(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)}}})};_.$z=function(a){null===Ez?a&&a():Zz(a)};bA=function(a,b){var c=aA,d=Yz(a);d&&(Az(a),yz(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=Wz(null,e);c(e)}}))};
aA=function(a){a||(a=tz(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||(_.De.drw=null);_.uz(a);if(b=a.authuser)_.Q("googleapis.config/sessionIndex"),_.Le("googleapis.config/sessionIndex",b);_.ez.lo(_.fz,a);return a};cA=["client_id","cookie_policy","response_type"];dA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
eA=function(a){var b=_.yj(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);_.mw(b);return b};
fA=function(a){if(!_.Va(a.include_granted_scopes)){var b=_.Q("include_granted_scopes");a.include_granted_scopes=!!b}};gA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
hA=function(a){var b=a||{},c={};(0,_.yb)(dA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Q("googleapis/overrideClientId");null!=a&&(c.client_id=a);fA(c);_.Wa(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{_.hx(c.cookie_policy)}catch(d){c.cookie_policy&&
gA("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=_.Jh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Q("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
_.iA=function(a,b){var c=hA(a),d=new _.Uj(function(e,f){_.by(c,function(g){var k=g||{};(0,_.yb)(cA,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=eA(k),null!=g.authuser&&_.Le("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};jA=_.ti.kA;kA=null;
_.nA=function(a,b){if("force"!==a.approvalprompt){a=_.lA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)kA?(a.client_id!==kA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(kA=a,b=!1);b||mA(a)}};
_.lA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.Fb)((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,_.Fb)(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||_.Q("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Q("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};mA=function(a){_.Wn("waaf0","signin","0");_.iA(a,function(b){_.Wn("waaf1","signin","0");aA(b)})}; _.oA=function(a){a=_.lA(a);_.Le("oauth-flow/authWindowWidth",445);_.Le("oauth-flow/authWindowHeight",615);mA(a)};_.pA=function(a){_.ez.unsubscribe(_.fz,a);_.ez.subscribe(_.fz,a)};
var wA,zA;_.rA=function(a){return a.cookiepolicy?!0:(_.qA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.qA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.vA=function(a,b){var c=_.dn();_.ve(a,c);c=Vz(c);if(_.rA(c)){var d=_.sA();_.tA(c);b?_.Ce(b,"click",function(){_.uA(c,d)}):_.uA(c,d)}};
_.sA=function(){var a=new wA;_.pA(function(b){a.eC&&b&&(b.access_token&&_.Le("isPlusUser",!0),b["g-oauth-window"]&&(a.eC=!1,_.We("OTA app install is no longer supported.")))});return a};wA=function(){this.eC=!1};_.tA=function(a){a=_.xA(a);_.yA(a.callback);_.$z(function(){_.nA(a)})};_.xA=function(a){zA(a);a.redirecturi&&delete a.redirecturi;kz(function(b){return a[b]})||(a.authuser=0);return a};zA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.yA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.qA('Callback function named "'+a+'" not found');return}a&&_.pA(a)};_.uA=function(a,b){b.eC=!0;a=_.xA(a);_.oA(a)};
_.z("gapi.auth.authorize",_.iA);_.z("gapi.auth.checkSessionState",function(a,b){var c=_.te();c.client_id=a.client_id;c.session_state=a.session_state;_.$z(function(){Mz()?Hz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Yl):_.Nf.call(_.bz,"check_session_state",Iz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.z("gapi.auth.getAuthHeaderValueForFirstParty",jA);_.z("gapi.auth.getToken",tz);
_.z("gapi.auth.getVersionInfo",function(a,b){_.$z(function(){var c=_.si()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Mz()?Hz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Yl):_.Nf.call(_.bz,"get_versioninfo",Iz(function(f){a(f)}),d,b):a()})});_.z("gapi.auth.init",_.$z);_.z("gapi.auth.setToken",_.uz);_.z("gapi.auth.signIn",function(a){_.vA(a)});_.z("gapi.auth.signOut",function(){var a=tz();a&&bA(a,a.cookie_policy)}); _.z("gapi.auth.unsafeUnpackIdToken",Xz);_.z("gapi.auth._pimf",_.nA);_.z("gapi.auth._oart",Uz);_.z("gapi.auth._guss",function(a){return wz(a).read()});

_.AA=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.BA=function(){var a=_.dn();_.AA(a)&&!_.Q("disableRealtimeCallback")?_.tA(a):_.$z()};_.Ij(function(){_.BA()});
var CA,DA,EA,FA={NG:function(a){CA=a;try{delete FA.NG}catch(b){}},OG:function(a){DA=a;try{delete FA.OG}catch(b){}},PG:function(a){EA=a;try{delete FA.PG}catch(b){}}},GA=function(){var a=!0,b=_.ty(_.iy);b&&_.Va(b.withCredentials)||(a=!1);return a},HA=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=_.Q("client/rewrite");_.ob(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=_.Q("client/firstPartyRewrite"),_.ob(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},IA=function(a){_.ub.call(this,a)};_.ah(IA,_.ub);IA.prototype.name="gapi.client.Error";
var JA=function(a){if(!a||!_.pb(a))throw new IA("Must provide a function.");this.Jf=null;this.gT=a};JA.prototype.then=function(a,b,c){this.Jf||(this.Jf=this.gT());return this.Jf.then(a,b,c)};JA.prototype.dx=function(a){this.Jf||(this.Jf=a)};var KA={};KA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.Yg(a,c);d&&(c=_.Xg(c,d))&&_.Zg(b,c,d,!0)}return b};
var LA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},MA=function(a,b,c,d){_.Hy.call(this);this.Uc=a;this.hC=b;this.sd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.Yg(d,e),void 0!==b&&(e=_.Wg(e,b))&&_.Zg(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=unescape(encodeURIComponent(a[e])));this.Wq=d;this.Jf=null};_.ah(MA,_.Hy);
MA.prototype.then=function(a){this.Jf||(this.Jf=(new _.Uj(function(b,c){this.T("error",(0,_.G)(function(){c(NA(this))},this));this.T("success",(0,_.G)(function(){b(NA(this))},this));this.send(this.Uc,this.hC,this.sd,this.Wq)},this)).then(function(b){b.headers=KA(b.headers);return b},function(b){return b.status?(b.headers=KA(b.headers),_.Zj(b)):_.Zj({result:LA,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 NA=function(a){var b=a.getStatus(),c=_.Uy(a);var d=204==b?!1:""==a.Ik?_.Gf(c):_.Vy(a);var e=a.getAllResponseHeaders();e=_.$g(e,!1);try{var f=2<_.Sy(a)?a.Ma.statusText:""}catch(g){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},OA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,PA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,QA=/;\s*charset\s*=/i,RA=/(([\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,SA=
function(a){var b=[];a=a.replace(RA,function(c){b.push(_.iz(c));return""});if(a.length)throw Error("wa");return b.join("")},TA=function(a){var b=a.headers;if(b&&"base64"===_.Yg(b,_.Fg.ny)){var c=SA(a.body),d=_.Yg(b,_.Fg.my);b[_.Fg.ke]=d;if(d.match(OA)||d.match(PA)&&!d.match(QA)){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=_.jw(d)}_.Zg(b,_.Fg.ny);_.Zg(b,_.Fg.my);a.body=c}},UA=function(a,b,c){c||((c=_.Q("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,
"")||"/"),c=String(c||""));c||(c=_.Q("googleapis.config/root"),b&&(c=_.Q("googleapis.config/root-1p")||c),c=String(c||""));c=String(HA(b,c)||c);return a=_.Ay(c,a)},VA=function(a){var b=_.Pt(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.Yg(b,c);d&&(_.Wg(c,d),_.Zg(a,c,d))}c="chrome-extension"==(window.location.href.match(_.uh)[1]||null);a=_.qi(a);return!(c&&a)&&GA()},WA=function(a,b){var c=a.params||_.te();c.url=c.path;
var d=c.root;d=UA("/",_.qi(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.vi.vj("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?TA(e.gapiRequest.data):TA(e),b(e,_.Hf(e))):b(e,f)})},XA=function(a){return new _.Uj(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.Gf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};_.Fy(e.status)?
b(e):c(e)};try{WA(a,d)}catch(e){c(e)}})},YA=function(a){var b=!_.Q("client/cors")||!!_.Q("client/xd4"),c={};_.Ml(a,function(d,e){(d=_.Wg(e,d))||b||(d=_.Vg(e));d&&(e=_.Yg(a,d))&&_.Zg(c,d,e)});return c},ZA=function(a){var b=a.params||_.te();a=_.yj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.zh(d,"$unique",d.search(_.Ah))||0<=_.zh(d,e,d.search(_.Ah)))){var f=[];for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&f.push(g.toLowerCase());
f.sort();f.push(_.ug(location.href));var g=f.join(":");f=_.ni();f.update(g);g=f.Rg().toLowerCase().substr(0,7);g=String(parseInt(g,16)%1E3+1E3).substr(1);d=_.zy(d,e,"gc"+g)}e=b.body||null;g=b.responseType||null;b=_.qi(a)||"1p"==b.authType;_.Zg(a,_.Fg.oy,void 0);a=YA(a);var k=new MA(d,c,e,a);k.yh=b;g&&(k.Ik=g);return new _.Uj(function(l,m){k.then(function(n){TA(n);l(n)},function(n){m(n)})})},$A=function(a,b){var c=function(d){d=_.yj(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Hf(d))};ZA(a).then(c,
c)},aB=function(a,b){(_.Q("client/cors")||_.Q("client/xd4"))&&VA(a)?$A(a,b):WA(a,b)},bB=function(a){this.Tc=a;this.rf=!1;this.promise={then:(0,_.G)(function(b,c,d){this.rf||(this.rf=!0);this.Yr&&!this.Wr?this.Tc.resolve(this.Yr):this.Wr&&!this.Yr&&this.Tc.reject(this.Wr);return this.Tc.promise.then(b,c,d)},this)}};bB.prototype.resolve=function(a){this.rf?this.Tc.resolve(a):this.Yr||this.Wr||(this.Yr=a)};bB.prototype.reject=function(a){this.rf?this.Tc.reject(a):this.Yr||this.Wr||(this.Wr=a)};
var cB=function(a){a=_.wy(a.error);return{code:a.code,data:a.errors,message:a.message}},dB=function(a){throw Error("za`"+a);};var eB=function(a){JA.call(this,eB.prototype.xm);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new IA("Missing required parameters");if(_.Wa(a)){var b={};b.path=a}else b=a;if(!b.path)throw new IA('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.Fp=b.authType||"auto";this.bY=!!b.isXd4;
this.aM=!1};_.F(eB,JA);var fB=["appVersion","platform","userAgent"],gB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};eB.prototype.mg=function(){return this.nh};eB.prototype.xj=function(a){this.Fp=a};
eB.prototype.mj=function(){if(!this.aM){this.aM=!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=_.Yg(b,e);f&&(e=_.Wg(e,f)||_.Vg(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)_.Zg(b,d[c][0],d[c][1]);if(this.bY)d="1p"==this.Fp;else{d=b;c=_.Fg.fG;g=String(_.Q("client/version","1.1.0"));e=String(_.Q("client/name","google-api-javascript-client"));e=!0===gB[e]?e:"google-api-javascript-client";
f=String(_.Q("client/appName",""));var k=[];f&&(k.push(f),k.push(" "));k.push(e);g&&(k.push("/"),k.push(g));_.Zg(d,c,k.join(""));_.Zg(b,_.Fg.hG,"XMLHttpRequest");d=_.Yg(b,_.Fg.ke);a.body&&!d&&_.Zg(b,_.Fg.ke,"application/json");_.Q("client/allowExecutableResponse")||_.Zg(b,_.Fg.ly,"base64");(d=_.Yg(b,_.Fg.ke))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.ob(d)&&(a.body=_.Hf(d));a.key=a.id;b=_.vi.xR(b,void 0,this.Fp);d=_.qi(b);if((c=b)&&window.navigator){g=
[];for(e=0;e<fB.length;e++)(f=window.navigator[fB[e]])&&g.push(encodeURIComponent(fB[e])+"="+encodeURIComponent(f));_.Zg(c,_.Fg.aG,g.join("&"))}(c=_.Q("client/apiKey"))&&!_.Va(a.params.key)&&(a.params.key=c);(c=_.Q("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.Fp&&(d?this.xj("1p"):(b=_.Yg(b,_.Fg.fF))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.xj("oauth2"):this.xj("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=_.Q("googleapis.config/root"),d&&(b=_.Q("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=_.Mg(a.path);g=String(_.Q("googleapis.config/xd3")||"");18<=g.length&&"/static/proxy.html"==g.substring(g.length-18)&&(g=g.substring(0,g.length-18));g||(g="/");e=_.Mg(g);if(g!=e)throw Error("B");"/"!=g.charAt(g.length-
1)&&(g+="/");c=_.Ay(g,c);_.Sq(c,"/")&&(c=c.substring(0,c.length-1));g=_.te();for(var l in b)Object.prototype.hasOwnProperty.call(b,l)&&(e=encodeURIComponent(l),g[e]=b[l]);c=_.yh(c,g);a.path=c;a.root=HA(!!d,a.root);a.url=UA(a.path,!!d,a.root)}};var hB=function(a){a.mj();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.Fp}}};
eB.prototype.execute=function(a){var b=hB(this);aB(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=_.Gf(c.body)}catch(g){}a&&a(f,d)})};eB.prototype.xm=function(){var a=hB(this);return(_.Q("client/cors")||_.Q("client/xd4"))&&VA(a)?ZA(a):XA(a)};eB.prototype.mk=function(){return this.xm()};eB.prototype.execute=eB.prototype.execute;eB.prototype.then=eB.prototype.then;eB.prototype.getPromise=eB.prototype.mk;
var iB=function(a){if(!a||"object"!=typeof a)throw new IA("Missing rpc parameters");if(!a.method)throw new IA("Missing rpc method");this.Nw=a};iB.prototype.Pl=function(){var a=this.Nw.transport;return a?a.root||null:null};iB.prototype.execute=function(a){var b=DA();b.add(this,{id:"gapiRpc",callback:this.zr(a)});b.execute()};
iB.prototype.Qv=function(a){var b=this.Nw.method,c=String,d;(d=this.Nw.apiVersion)||(d=String(b).split(".")[0],d=_.Q("googleapis.config/versions/"+b)||_.Q("googleapis.config/versions/"+d)||"v1",d=String(d));c=c(d);a={jsonrpc:"2.0",id:a,method:b,apiVersion:c};(b=this.Nw.rpcParams)&&(a.params=b);return a};
iB.prototype.zr=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.yj(b.error))}else d=b.result||b.data,_.ob(d)&&null==d.result&&(d.result=_.yj(b.result||b.data));else d=!1;a(d,c)}};iB.prototype.execute=iB.prototype.execute;
var kB=function(a,b){this.yf=b||0;2==this.yf?(b=null,null!=a&&_.ob(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.Kb=new iB(b)):(0==this.yf&&(b=a&&a.callback)&&(a.callback=jB(b)),b=null,null!=a&&(_.ob(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):_.Wa(a)&&(b=a)),this.Kb=new eB(b))},
jB=function(a){return function(b){if(null!=b&&_.ob(b)&&b.error){var c=cB(b);b=_.Hf([{id:"gapiRpc",error:c}]);c.error=_.wy(c)}else null!=b||(b={}),c=_.wy(b),c.result=_.wy(b),b=_.Hf([{id:"gapiRpc",result:b}]);a(c,b)}};_.h=kB.prototype;_.h.getFormat=function(){return this.yf};_.h.execute=function(a){this.Kb.execute(a&&1==this.yf?jB(a):a)};_.h.then=function(a,b,c){2==this.yf&&dB('The "then" method is not available on this object.');return this.Kb.then(a,b,c)};_.h.dx=function(a){this.Kb.dx&&this.Kb.dx(a)};
_.h.mg=function(){if(this.Kb.mg)return this.Kb.mg()};_.h.mj=function(){this.Kb.mg&&this.Kb.mj()};_.h.Pl=function(){if(this.Kb.Pl)return this.Kb.Pl()};_.h.Qv=function(a){if(this.Kb.Qv)return this.Kb.Qv(a)};_.h.xj=function(a){this.Kb.xj&&this.Kb.xj(a)};_.h.mk=function(){if(this.Kb.mk)return this.Kb.mk()};kB.prototype.execute=kB.prototype.execute;kB.prototype.then=kB.prototype.then;kB.prototype.getPromise=kB.prototype.mk;
var lB=function(a){JA.call(this,lB.prototype.xm);this.Kb=a};_.F(lB,JA);_.h=lB.prototype;_.h.execute=function(a){var b=this.getFormat(),c=function(d){if(_.pb(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=jB(f),g={});var k=d?d.result:!1;d&&204==d.status&&(k=g,delete e.gapiRequest.data.body);d=_.Hf(e);f(k,d)}};this.mk().then(c,c)};
_.h.xm=function(){return new _.Uj(function(a,b){var c=CA(),d=c.add(this.Kb,{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="");_.Fy(f.status)?a(f):b(f);return}b(e)},b)},this)};_.h.mg=function(){if(this.Kb.mg)return this.Kb.mg()};_.h.mj=function(){this.Kb.mj&&this.Kb.mj()};_.h.Pl=function(){if(this.Kb.Pl)return this.Kb.Pl()};
_.h.xj=function(a){this.Kb.xj&&this.Kb.xj(a)};_.h.getFormat=function(){var a=void 0;this.Kb.getFormat&&(a=this.Kb.getFormat());void 0===a&&(a=0);return a};_.h.mk=function(){return this.xm()};lB.prototype.execute=lB.prototype.execute;lB.prototype.then=lB.prototype.then;lB.prototype.getPromise=lB.prototype.mk;
var mB=/<response-(.*)>/,nB=/^application\/http(;.+$|$)/,oB=function(a,b){a=_.Yg(a,b);if(!a)throw new IA("Unable to retrieve header.");return a},qB=function(a,b,c,d){var e="batch"+String(Math.round(2147483647*(0,_.xg)()))+String(Math.round(2147483647*(0,_.xg)())),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.mg().apiId;if(!_.Wa(l)){g="batch";break a}if(!_.Va(g))g=l;else if(g!=l){g="batch";break a}}g=_.Q("client/batchPath/"+g)||"batch/"+g.split(":").join("/")}g=
{path:g,method:"POST"};k=[];for(l=0;l<a.length;l++)k.push(pB(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(_.Q("client/xd4")&&GA())return g.isXd4=!0,g.params={$ct:e},g.headers={},_.Zg(g.headers,_.Fg.ke,"text/plain; charset=UTF-8"),c?g.authType="1p":d&&(g.authType="oauth2"),new eB(g);g.headers=
{};_.Zg(g.headers,_.Fg.ke,e);return EA(g)},pB=function(a,b){var c=[];a=a.mg();var d=function(f,g){_.Ml(f,function(k,l){g.push(l+": "+k)})},e={};e[_.Fg.ke]="application/http";e[_.Fg.Lx]="binary";e[_.Fg.Kx]="<"+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")},sB=function(a,b){a=rB(a,b);var c={};_.Ub(a,function(d,e){c[e]={result:d.result||d.body,rawResult:_.Hf({id:e,result:d.result||d.body}),id:e}});return c},rB=function(a,b){a=
(0,_.Fb)(a);_.Sq(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.te();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.Sq(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=tB(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=tB(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");TA(f);d=f}else d=null;
e=_.te();f=oB(d.outerHeaders,_.Fg.ke);if(null==nB.exec(f))throw new IA("Unexpected Content-Type <"+f+">");f=oB(d.outerHeaders,_.Fg.Kx);f=mB.exec(f);if(!f)throw new IA("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=_.Gf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},tB=function(a,b){for(var c=[];b<a.length&& a[b];b++)c.push(a[b]);return _.$g(c.join("\r\n"),!1)};
var uB=function(a){JA.call(this,uB.prototype.xm);this.Pb=[];this.Lf=a;this.pY=!!a;this.lB=this.kB=!1};_.F(uB,JA);var vB=function(a,b){for(var c=0;c<a.Pb.length;c++)if(a.Pb[c].id==b)return!0;return!1};_.h=uB.prototype;
_.h.add=function(a,b){b=b||_.te();var c=_.te();if(!a)throw new IA("Batch entry "+(_.ue(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");a.mj();c.request=a;var d=_.ek();d=new bB(d);c.vo=d;a.dx(c.vo.promise);d=a.mg().headers;_.qi(d)&&(this.kB=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.lB=!0);a=a.mg().root;if(!this.pY){if(a&&this.Lf&&a!=this.Lf)throw new IA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.Lf=a||this.Lf}if(_.ue(b,"id")){a=b.id;if(vB(this,a))throw new IA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(Math.round(2147483647*(0,_.xg)()));while(vB(this,c.id))}c.callback=b.callback;this.Pb.push(c);return c.id};_.h.execute=function(a){1>this.Pb.length||(_.Ll(this.Pb,function(b){b.request.mj()}),a=this.zr(a),qB(this.Pb,this.Lf,this.kB,this.lB).execute(a))};
_.h.xm=function(){if(1>this.Pb.length)return new _.Uj(function(d){d({})});_.Ll(this.Pb,function(d){d.request.mj()});var a=qB(this.Pb,this.Lf,this.kB,this.lB),b=(0,_.G)(function(d){wB(d);if(0!=oB(d.headers,_.Fg.ke).indexOf("multipart/mixed"))throw new IA("The response's Content-Type is not multipart/mixed.");var e=oB(d.headers,_.Fg.ke).split("boundary=")[1];if(!e)throw new IA("Boundary not indicated in response.");e=rB(d.body,"--"+e);d.result=e||{};for(var f=0;f<this.Pb.length;f++){var g=this.Pb[f],
k=e[g.id];k&&_.Fy(k.status)?g.vo.resolve(k):g.vo.reject(k)}return d},this),c=(0,_.G)(function(d){for(var e=0;e<this.Pb.length;e++){var f=this.Pb[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:_.Hf(g),headers:null,status:null,statusText:null})}throw d;},this);return a.then(b,c)};
_.h.zr=function(a){return(0,_.G)(function(b,c){this.Dy(b,c,a)},this)};
_.h.Dy=function(a,b,c){try{a=xB(a,b);if(!a)throw new IA("The batch response is missing.");if(0!=oB(a.headers,_.Fg.ke).indexOf("multipart/mixed"))throw new IA("The response's Content-Type is not multipart/mixed.");if(200<=a.status&&299>=a.status){var d=oB(a.headers,_.Fg.ke).split("boundary=")[1];if(!d)throw new IA("Boundary not indicated in response.");var e=sB(a.body,"--"+d);for(a=0;a<this.Pb.length;a++){var f=this.Pb[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=_.Hf(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:_.Hf(f),headers:null,status:null,statusText:null};g=_.Hf(e);if(this.Pb)for(a=0;a<this.Pb.length;a++)if(f=
this.Pb[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 xB=function(a,b){b&&!a&&(b=_.Gf(b))&&(a=b.gapiRequest?b.gapiRequest.data:b);wB(a);return a},wB=function(a){if(a){var b=a.headers;if(b){var c=_.te(),d;for(d in b)if(Object.prototype.hasOwnProperty.call(b,d)){var e=_.Yg(b,d);_.Zg(c,d,e,!0)}a.headers=c}}};uB.prototype.add=uB.prototype.add; uB.prototype.execute=uB.prototype.execute;uB.prototype.then=uB.prototype.then;
var yB=function(){this.Pb=[];this.Lf=this.Sc=null};
yB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.Dm=a;else throw new IA("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.Pb.length;d++)if(this.Pb[d].id==a)throw new IA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*(0,_.xg)()|0);while(d.call(this.Pb,c.id))}c.callback=b.callback;this.Pb.push(c);return c.id};
var zB=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)}};
yB.prototype.execute=function(a){this.Sc=[];for(var b,c,d=0;d<this.Pb.length;d++)b=this.Pb[d],c=b.Dm,this.Sc.push(c.Qv(b.id)),this.Lf=c.Pl()||this.Lf;b={requests:this.Sc,root:this.Lf};c=this.zr(a);a={};d=b.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var g=_.Yg(d,f);g&&(f=_.Wg(f,g)||_.Vg(f))&&_.Zg(a,f,g)}}_.Zg(a,_.Fg.ke,"application/json");e=zB(c);EA({method:"POST",root:b.root||void 0,path:"/rpc",params:b.urlParams,headers:a,body:b.requests||[]}).then(e,e)};
yB.prototype.zr=function(a){var b=this;return function(c,d){b.Dy(c,d,a)}};yB.prototype.Dy=function(a,b,c){a||(a={});for(var d=0;d<this.Pb.length;d++){var e=this.Pb[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};FA.OG(function(){return new yB});yB.prototype.add=yB.prototype.add;yB.prototype.execute=yB.prototype.execute;
var AB=function(a,b){this.oZ=a;this.yf=b||null;this.Ue=null};AB.prototype.CB=function(a){this.yf=a;this.Ue=2==this.yf?new yB:new uB(this.oZ)};AB.prototype.add=function(a,b){if(!a)throw a=b||_.te(),new IA("Batch entry "+(_.ue(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.yf&&this.CB(a.getFormat());this.yf!==a.getFormat()&&dB("Unable to add item to batch.");var c=b&&b.callback;1==this.yf&&c&&(b.callback=function(d){d=BB(d);var e=_.Hf([d]);c(d,e)});return this.Ue.add(a,b)};
AB.prototype.execute=function(a){var b=a&&1==this.yf?function(c){var d=[];_.Ml(c,function(f,g){f=BB(f);c[g]=f;d.push(f)});var e=_.Hf(d);a(c,e)}:a;this.Ue&&this.Ue.execute(b)};var BB=function(a){var b=a?_.Pt(a,"result"):null;_.ob(b)&&null!=b.error&&(b=cB(b),a={id:a.id,error:b});return a};AB.prototype.then=function(a,b,c){2==this.yf&&dB('The "then" method is not available on this object.');return this.Ue.then(a,b,c)};AB.prototype.add=AB.prototype.add;AB.prototype.execute=AB.prototype.execute; AB.prototype.then=AB.prototype.then;
var CB="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",DB=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+CB)},FB=function(a,b,c,d){if(_.ob(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new IA("Missing required parameters.");var g=c||function(){},k=_.ob(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 IA("API discovery response missing required fields."));else{l=k.root;l=null!=m.rootUrl?String(m.rootUrl):l;l=_.Wa(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&&!_.Q(l)&&_.Le(l,m.batchPath));var n=m.servicePath,p=m.parameters,t=function(v){_.Ml(v,function(u){if(!(u&&u.id&&u.path&&u.httpMethod))throw new IA("Missing required parameters");
var w=u.id.split("."),C=window.gapi.client,D;for(D=0;D<w.length-1;D++){var A=w[D];C[A]=C[A]||{};C=C[A]}var E,I;k&&(k.hasOwnProperty("root")&&(E=k.root),k.hasOwnProperty("apiId")&&(I=k.apiId));A=window.gapi.client[w[0]];A.bF||(A.bF={servicePath:n||"",parameters:p,apiId:I});w=w[D];C[w]||(C[w]=_.nj(EB,{path:_.Wa(u.path)?u.path:null,httpMethod:_.Wa(u.httpMethod)?u.httpMethod:null,parameters:u.parameters,parameterName:(u.request||{}).parameterName||"",request:u.request,root:E},A.bF))})},r=function(v){_.Ml(v,
function(u){t(u.methods);r(u.resources)})};r(m.resources);t(m.methods);g.call()}};e?c({result:e}):0<f.indexOf("://")?EA({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):EA({path:DB(f,a),root:d&&d.root}).then(c,
c)},EB=function(a,b,c,d){var e=b.servicePath||"";_.Id(e,"/")||(e="/"+e);var f=GB(a.path,[a.parameters,b.parameters],c||{});c=f.Ek;var g=f.L1;e=_.Ay(e,f.path);f=g.root;delete g.root;var k=a.parameterName;!k&&1==_.vy(g)&&g.hasOwnProperty("resource")&&(k="resource");if(k){var l=g[k];delete g[k]}null!=l||(l=d);null==l&&a.request&&(_.Tq(g)&&(g=void 0),l=g);k={};var m=a.httpMethod;"GET"==m&&_.Va(l)&&""!=String(l)&&(_.Zg(k,_.Fg.eG,m),m="POST");if((null==l||null!=d)&&g)for(var n in g)_.Wa(g[n])&&(c[n]=g[n]);
return EA({path:e,method:m,params:c,headers:k,body:l,root:f||a.root,apiId:b.apiId},1)},GB=function(a,b,c){c=_.yj(c);var d={};_.Ll(b,function(e){_.Ml(e,function(f,g){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,g))-1!=a.indexOf("{"+g+"}")?(f=_.sh(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 IA("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,Ek:d,L1:c}};
var HB=function(a,b,c,d){var e=b||"v1",f=_.ob(d)?d:{root:d};if(c)FB(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 _.Uj(function(g,k){var l=function(m){m?k(m):g()};try{FB(a,e,l,f)}catch(m){k(m)}})},IB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),JB=function(a,b){if(!a)throw new IA("Missing required parameters");
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new kB(c,b);if(c=!!_.Q("client/xd4")&&GA()){var d=b.mg();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(IB)}c&&(b=new lB(b));return a?(b.execute(a),null):b};FA.PG(function(a){return JB.apply(null,arguments)});
var KB=function(a,b){if(!a)throw new IA("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 kB({method:a,apiVersion:g.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},LB=function(a){return new AB(a)};FA.NG(function(a){return LB.apply(null,arguments)});var MB=function(a){_.Te(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
_.z("gapi.client.init",function(a){a.apiKey&&_.Le("client/apiKey",a.apiKey);var b=(0,_.Bb)(a.discoveryDocs||[],function(d){return HB(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.Uj(function(d,e){_.q.gapi.load("auth2",{callback:function(){_.q.gapi.auth2.init.call(_.q.gapi.auth2,a).then(function(){d()},e)},onerror:function(){e()}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Te("client_id and scope must both be provided to initialize OAuth.");return _.ck(b).then(function(){})});
_.z("gapi.client.load",HB);_.z("gapi.client.newBatch",LB);_.z("gapi.client.newRpcBatch",function(){MB("gapi.client.newRpcBatch");return LB()});_.z("gapi.client.newHttpBatch",function(a){MB("gapi.client.newHttpBatch");return new AB(a,0)});_.z("gapi.client.register",function(a,b){MB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});KB(a,c)});_.z("gapi.client.request",JB);
_.z("gapi.client.rpcRequest",function(a,b,c){MB("gapi.client.rpcRequest");if(!a)throw new IA('Missing required parameter "method".');return new kB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.z("gapi.client.setApiKey",function(a){_.Le("client/apiKey",a);_.Le("googleapis.config/developerKey",a)});_.z("gapi.client.setApiVersions",function(a){MB("gapi.client.setApiVersions");_.Le("googleapis.config/versions",a)});_.z("gapi.client.getToken",function(a){return _.Lh(a)});
_.z("gapi.client.setToken",function(a,b){a?_.mw(a,b):_.nw(b)});_.z("gapi.client.AuthType",{z2:"auto",NONE:"none",b7:"oauth2",N4:"1p"});_.z("gapi.client.AuthType.AUTO","auto");_.z("gapi.client.AuthType.NONE","none");_.z("gapi.client.AuthType.OAUTH2","oauth2");_.z("gapi.client.AuthType.FIRST_PARTY","1p");

});
// Google Inc.
