/* JS */ gapi.loaded_1(function(_){var window=this;
var cy=function(){};cy.prototype.OG=null;cy.prototype.getOptions=function(){var a;(a=this.OG)||(a={},_.dy(this)&&(a[0]=!0,a[1]=!0),a=this.OG=a);return a};var fy;fy=function(){};_.F(fy,cy);_.dy=function(a){if(!a.JJ&&"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.JJ=d}catch(e){}}throw Error("oa");}return a.JJ};_.ey=new fy;

_.Me=_.Me||{};
(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}_.Me.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)};_.Me.pH=function(b){var c=_.Me.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(_.Me.ru(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Me.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};_.Me.kI=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};_.Me.oaa=function(b){return a(b)}})();

_.Gh={};_.Hh=function(a){return _.Gh[a||"token"]||null};
var Nh,Oh;_.Mh=function(a,b){this.xd=a;a=b||{};this.fY=Number(a.maxAge)||0;this.Xc=a.domain;this.hj=a.path;this.E_=!!a.secure};Nh=/^[-+/_=.:|%&a-zA-Z0-9@]*$/;Oh=/^[A-Z_][A-Z0-9_]{0,63}$/;_.Mh.prototype.read=function(){for(var a=this.xd+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.Mh.prototype.write=function(a,b){if(!Oh.test(this.xd))throw"Invalid cookie name";if(!Nh.test(a))throw"Invalid cookie value";a=this.xd+"="+a;this.Xc&&(a+=";domain="+this.Xc);this.hj&&(a+=";path="+this.hj);b="number"===typeof b?b:this.fY;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.E_&&(a+=";secure");document.cookie=a;return!0};_.Mh.prototype.clear=function(){this.write("",0)}; _.Mh.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 Qh;_.Ph=function(a){this.Uh=a};Qh={};_.Ph.prototype.read=function(){if(Qh.hasOwnProperty(this.Uh))return Qh[this.Uh]};_.Ph.prototype.write=function(a){Qh[this.Uh]=a;return!0};_.Ph.prototype.clear=function(){delete Qh[this.Uh]};_.Ph.iterate=function(a){for(var b in Qh)Qh.hasOwnProperty(b)&&a(b,Qh[b])};
var Rh=function(){this.ke=null;this.key=function(){return null};this.getItem=function(){return this.ke};this.setItem=function(a,b){this.ke=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.ke=null;this.length=0};this.length=0},Sh=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}},Th=function(a,b){this.xd=a;this.Mf=
Sh(b)?b||window.sessionStorage:new Rh};Th.prototype.read=function(){return this.Mf.getItem(this.xd)};Th.prototype.write=function(a){try{this.Mf.setItem(this.xd,a)}catch(b){return!1}return!0};Th.prototype.clear=function(){this.Mf.removeItem(this.xd)};Th.iterate=function(a){if(Sh())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var Uh=0;64>Uh;++Uh);_.Vh="https:"===window.location.protocol;_.Wh=_.Vh||"http:"===window.location.protocol?_.Mh:_.Ph;_.Xh=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{Fe:"S"==a.charAt(0),domain:d,Ch:c}};
_.Yh=function(a){if(0!==a.indexOf("GCSC"))return null;var b={IB:!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=_.Xh(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Fe;return!d&&("U"!==c||e.Fe)||d&&!_.Vh?b:{IB:!0,Fe:d,dS:a.substr(1),domain:e.domain,Ch:e.Ch}};
var Zh,$h,ci,di,ei;Zh=_.pe();$h=_.pe();_.ai=_.pe();_.bi=_.pe();ci="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");di=function(a){this.wL=a;this.bC=null};di.prototype.write=function(a){var b=_.pe(),c=_.pe();for(d in a)_.qe(a,d)&&(c[d]=a[d],b[d]=a[d]);var d=0;for(var e=ci.length;d<e;++d)delete c[ci[d]];a=String(a.authuser||0);d=_.pe();d[a]=_.Me.Hc("#"+ei(c));this.wL.write(_.Df(d));this.bC=b};di.prototype.read=function(){return this.bC};
di.prototype.clear=function(){this.wL.clear();this.bC=_.pe()};_.fi=function(a){return a?{domain:a.domain,path:"/",secure:a.Fe}:null};ei=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}; Th.iterate(function(a){var b=_.Yh(a);b&&b.IB&&(Zh[a]=new di(new Th(a)))});_.Wh.iterate(function(a){Zh[a]&&($h[a]=new _.Wh(a,_.fi(_.Yh(a))))});

_.Ag=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 hi;_.gi=function(a){this.Ta=a||{cookie:""}};_.h=_.gi.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};_.h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error("B`"+a);if(/[;\r\n]/.test(b))throw Error("C`"+b);_.Ta(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,_.ab)()+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,_.Bb)(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.Rd(a);this.set(a,"",0,b,c);return d};_.h.Af=function(){return hi(this).keys};_.h.Fd=function(){return hi(this).values};_.h.isEmpty=function(){return!this.Ta.cookie};_.h.Hb=function(){return this.Ta.cookie?(this.Ta.cookie||"").split(";").length:0};_.h.Rd=function(a){return _.Ta(this.get(a))};
_.h.tl=function(a){for(var b=hi(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=hi(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};hi=function(a){a=(a.Ta.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.Bb)(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}};_.ii=new _.gi("undefined"==typeof document?null:document);

var ki,li,ni;
_.ji=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,Og: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}}};ki=function(a){var b=_.ji();b.update(a);return b.Og().toLowerCase()};
li=function(a,b,c){var d=[],e=[];if(1==(_.Wa(c)?2:1))return e=[b,a],(0,_.ub)(d,function(k){e.push(k)}),ki(e.join(" "));var f=[],g=[];(0,_.ub)(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,_.ub)(d,function(k){e.push(k)});a=ki(e.join(" "));a=[c,a];0==g.length||a.push(g.join(""));return a.join("_")};
_.mi=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};ni=function(){var a=_.q.__OVERRIDE_SID;null==a&&(a=(new _.gi(document)).get("SID"));return!!a};
_.oi=function(a){var b=_.qg(String(_.q.location.href));if(ni()){var c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:");b=c?_.q.__SAPISID:_.q.__APISID;null==b&&(b=(new _.gi(document)).get(c?"SAPISID":"APISID"));if(b){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(_.q.location.href);return d&&b&&c?[c,li(_.qg(d),b,a||null)].join(" "):null}}return null};_.pi={FW:_.mi,GX:ni,LU:function(){var a=null;ni()&&(a=window.__PVT,null==a&&(a=_.Ag.get("BEAT")));return a},gA:_.oi};

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

var qi;
qi=function(a,b){a=_.Me.pH({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};
_.ri=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=_.Me.Hc().jsh||_.og.Ay.xI())&&(w+=(0<=w.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(t));w+="#parent="+encodeURIComponent(null!=u?String(u):_.og.Pa(document.location.href));
return w+("&rpctoken="+p)}function c(p,t,r,v,u){var w=e(r,v,u);l[w]||(r=qi(w,t),_.Jf.register("ready:"+p,function(){_.Jf.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.Cm,E.a_,E.callback)}}}),_.Jf.vs(w,t),l[w]=r)}function d(p,t,r){var v=String(2147483647*(0,_.tg)()|0),u=b(v,p,t,r);_.Hf(function(){c(v,u,p,t,r)})}function e(p,t,r){p=b("",p,t,r,"");r=k[p+t];if(!r){r=_.sg();r.update(p);r=r.Og().toLowerCase();var v=(0,_.tg)();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=_.pi.FW(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]?_.Jf.call(E,p,function(I){if(this.f==E&&this.t==_.Jf.Cl(this.f)&&this.origin==_.Jf.Rl(this.f)){var W=
_.Cf(I);r(W,I)}},t):(n[E]||(n[E]=[]),n[E].push({Cm:p,a_:t,callback:r}))}function g(p){return _.Q("googleapis.config/"+p)}var k={},l={},m={},n={};return{pR: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=_.Hh())&&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&&_.pi.GX()){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=_.pi.gA(w)}else r=_.pi.gA();r&&(t=_.Fh(t),t=p["X-Goog-AuthUser"]||t,_.Ke(_.oh(t))&&(!a()||a()&&_.Ke(_.oh(g("primaryEmail")))&&_.Ke(_.oh(g("appDomain")))&&_.Ke(_.oh(g("fogId"))))&&(t="0"),_.Ke(_.oh(t))||(p["X-Goog-AuthUser"]=t))}r?p.Authorization=r:!1!==g("auth/useOriginToken")&&(u=_.pi.LU())&&(p.OriginToken=u)}return p},tj:f}}();

var Cg,Dg;
_.Bg={bF:"Authorization",Gx:"Content-ID",Hx:"Content-Transfer-Encoding",le:"Content-Type",DO:"Date",NP:"OriginToken",dR:"WWW-Authenticate",XF:"X-ClientDetails",gR:"X-Goog-AuthUser",hy:"X-Goog-Encode-Response-If-Executable",YF:"X-Goog-Meeting-Botguardid",ZF:"X-Goog-Meeting-Debugid",$F:"X-Goog-Meeting-Token",hR:"X-Goog-PageId",iy:"X-Goog-Safety-Content-Type",jy:"X-Goog-Safety-Encoding",aG:"X-HTTP-Method-Override",bG:"X-JavaScript-User-Agent",cG:"X-Origin",ky:"X-Referer",dG:"X-Requested-With",iR:"X-Use-HTTP-Status-Code-Override"};
Cg=["Accept","Accept-Language",_.Bg.bF,"Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.Bg.Hx,_.Bg.le,_.Bg.DO,"GData-Version","google-cloud-resource-prefix","Host","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","MIME-Version","Origin",_.Bg.NP,"Pragma","Range","Slug","Transfer-Encoding","Want-Digest","x-chrome-connected","X-Client-Data",_.Bg.XF,"X-Client-Version","X-Firebase-Locale","X-GData-Client","X-GData-Key",
_.Bg.gR,_.Bg.hR,_.Bg.hy,"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",_.Bg.aG,_.Bg.bG,"X-Pan-Versionid","X-Proxied-User-IP",_.Bg.cG,_.Bg.ky,_.Bg.dG,"X-Upload-Content-Length","X-Upload-Content-Type",_.Bg.iR,"X-Ios-Bundle-Identifier","X-Android-Package","X-Ariane-Xsrf-Token","X-YouTube-VVT","X-YouTube-Page-CL","X-YouTube-Page-Timestamp",_.Bg.YF,_.Bg.ZF,_.Bg.$F,"X-Sfdc-Authorization"];
Dg=["Digest","Cache-Control","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-MD5","Content-Range",_.Bg.Hx,_.Bg.le,"Date","ETag","Expires","Last-Modified","Location","Pragma","Range","Server","Transfer-Encoding",_.Bg.dR,"Vary","Unzipped-Content-MD5","X-Goog-Generation","X-Goog-Metageneration",_.Bg.iy,_.Bg.jy,"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",_.Bg.YF,_.Bg.ZF,_.Bg.$F];
var Eg,Fg,Gg,Hg,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg;Eg=null;Fg=null;Gg=null;Hg=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};
_.Ig=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};Jg={"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};
Kg={"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};
Lg=function(a){if(!_.lb(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();Hg(d,e)&&(b[e]=d)}}for(var f in _.Bg)Object.prototype.hasOwnProperty.call(_.Bg,f)&&(d=_.Bg[f],e=d.toLowerCase(),Hg(d,e)&&Object.prototype.hasOwnProperty.call(b,e)&&(b[e]=d));return b};Mg=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");Ng=/[ \t]*(\r?\n[ \t]+)+/g;Og=/^[ \t]+|[ \t]+$/g;
Pg=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=Pg(b[c],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(Ng," "),a=a.replace(Og,""),""==a.replace(Mg,"")&&a))return a};Qg=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
_.Rg=function(a){if("string"!==typeof a||!a||!a.match(Qg))return null;a=a.toLowerCase();if(null==Gg){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(Dg);(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(Cg);for(var d in _.Bg)Object.prototype.hasOwnProperty.call(_.Bg,d)&&b.push(_.Bg[d]);Gg=Lg(b)}return null!=Gg&&Gg.hasOwnProperty(a)?Gg[a]:a};
_.Sg=function(a,b){if(!_.Rg(a)||!Pg(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||Kg[a])return null;if(null==Eg){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(Cg);Eg=Lg(b)}return null!=Eg&&Eg.hasOwnProperty(a)?Eg[a]:null};
_.Tg=function(a,b){if(!_.Rg(a)||!Pg(b))return null;a=a.toLowerCase();if(Jg[a])return null;if(null==Fg){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(Dg);Fg=Lg(b)}return null!=Fg&&Fg.hasOwnProperty(a)?a:null};
_.Ug=function(a,b){if(_.Rg(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Hg(d,b)){var e=Pg(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.Vg=function(a,b,c,d){var e=_.Rg(b);if(e){c&&(c=Pg(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Hg(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
_.Wg=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=_.Rg(k)){for(f=f.substring(g+1);d+1<e&&a[d+1].match(/^[ \t]/);)f+="\r\n"+a[d+1],++d;if(f=Pg(f))if(k=_.Tg(k,f)||(b?void 0:k))k=k.toLowerCase(),g=_.Ug(c,k),void 0!==g&&(f=g+", "+f),_.Vg(c,k,f,!0)}}}return c};

_.Xg=function(){return _.Hb("Firefox")||_.Hb("FxiOS")};_.Yg=function(){return(_.Hb("Chrome")||_.Hb("CriOS"))&&!_.Hb("Edge")};_.Zg=function(){return _.Hb("Safari")&&!(_.Yg()||_.Hb("Coast")||_.Lb()||_.Hb("Edge")||_.Xg()||_.Hb("Silk")||_.Hb("Android"))};_.$g=function(){return _.Hb("Android")&&!(_.Yg()||_.Xg()||_.Lb()||_.Hb("Silk"))};_.ah=_.Xg();_.bh=_.Pb()||_.Hb("iPod");_.ch=_.Hb("iPad");_.dh=_.$g();_.eh=_.Yg();_.fh=_.Zg()&&!_.Qb();

_.gh=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=_.mb(f)?"o"+_.pb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};var hh,jh;hh=null;_.ih=null;jh=null;_.kh=_.$b||_.ac&&!_.fh||_.Vb||!_.fh&&!_.Wb&&"function"==typeof _.q.atob;_.mh=function(a,b){_.lh();b=b?jh:hh;for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g],b[l])}return c.join("")};
_.lh=function(){if(!hh){hh={};_.ih={};jh={};for(var a=0;65>a;a++)hh[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a),_.ih[hh[a]]=a,jh[a]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a),62<=a&&(_.ih["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(a)]=a)}};

var bq;_.$p=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};_.aq=function(a,b){b=(0,_.sb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};bq=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
_.cq=function(){this.Gb=this.Gb;this.mm=this.mm};_.cq.prototype.Gb=!1;_.cq.prototype.Sn=function(){return this.Gb};_.cq.prototype.Ba=function(){this.Gb||(this.Gb=!0,this.ta())};_.fq=function(a,b){_.dq(a,_.jj(_.eq,b))};_.dq=function(a,b){a.Gb?_.Ta(void 0)?b.call(void 0):b():(a.mm||(a.mm=[]),a.mm.push(_.Ta(void 0)?(0,_.G)(b,void 0):b))};_.cq.prototype.ta=function(){if(this.mm)for(;this.mm.length;)this.mm.shift()()};_.eq=function(a){a&&"function"==typeof a.Ba&&a.Ba()};
_.gq=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.xm=!1;this.ZL=!0};_.gq.prototype.stopPropagation=function(){this.xm=!0};_.gq.prototype.preventDefault=function(){this.defaultPrevented=!0;this.ZL=!1};var iq,jq;_.hq=!_.Wb||_.uc(9);iq=!_.Wb||_.uc(9);jq=_.Wb&&!_.rc("9");!_.ac||_.rc("528");_.$b&&_.rc("1.9b")||_.Wb&&_.rc("8")||_.Vb&&_.rc("9.5")||_.ac&&_.rc("528");_.$b&&!_.rc("8")||_.Wb&&_.rc("9");var kq=function(){if(!_.q.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.q.addEventListener("test",_.jb,b),_.q.removeEventListener("test",_.jb,b)}catch(c){}return a}();
_.lq=_.ac?"webkitTransitionEnd":_.Vb?"otransitionend":"transitionend";_.mq=function(a,b){_.gq.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.JC=!1;this.pointerId=0;this.pointerType="";this.xe=null;a&&this.Qb(a,b)};_.F(_.mq,_.gq);var nq={2:"touch",3:"pen",4:"mouse"};
_.mq.prototype.Qb=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)?_.$b&&(_.Sb(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=_.ac||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.ac||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.JC=_.cc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType=_.Ua(a.pointerType)?a.pointerType:nq[a.pointerType]||"";this.state=a.state;this.xe=a;a.defaultPrevented&&this.preventDefault()};_.mq.prototype.stopPropagation=function(){_.mq.H.stopPropagation.call(this);this.xe.stopPropagation?this.xe.stopPropagation():this.xe.cancelBubble=!0}; _.mq.prototype.preventDefault=function(){_.mq.H.preventDefault.call(this);var a=this.xe;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,jq)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var qq;_.oq="closure_listenable_"+(1E6*Math.random()|0);_.pq=function(a){return!(!a||!a[_.oq])};qq=0;var rq=function(a,b,c,d,e){this.listener=a;this.ww=null;this.src=b;this.type=c;this.capture=!!d;this.De=e;this.key=++qq;this.lo=this.It=!1},sq=function(a){a.lo=!0;a.listener=null;a.ww=null;a.src=null;a.De=null};_.tq=function(a){this.src=a;this.wd={};this.Qs=0};_.tq.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.wd[f];a||(a=this.wd[f]=[],this.Qs++);var g=uq(a,b,d,e);-1<g?(b=a[g],c||(b.It=!1)):(b=new rq(b,this.src,f,!!d,e),b.It=c,a.push(b));return b};_.tq.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.wd))return!1;var e=this.wd[a];b=uq(e,b,c,d);return-1<b?(sq(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.wd[a],this.Qs--),!0):!1};
_.vq=function(a,b){var c=b.type;if(!(c in a.wd))return!1;var d=_.aq(a.wd[c],b);d&&(sq(b),0==a.wd[c].length&&(delete a.wd[c],a.Qs--));return d};_.tq.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.wd)if(!a||c==a){for(var d=this.wd[c],e=0;e<d.length;e++)++b,sq(d[e]);delete this.wd[c];this.Qs--}return b};_.tq.prototype.yn=function(a,b,c,d){a=this.wd[a.toString()];var e=-1;a&&(e=uq(a,b,c,d));return-1<e?a[e]:null};
_.tq.prototype.hasListener=function(a,b){var c=_.Ta(a),d=c?a.toString():"",e=_.Ta(b);return bq(this.wd,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var uq=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.lo&&f.listener==b&&f.capture==!!c&&f.De==d)return e}return-1};
var wq,xq,yq,Cq,Eq,Fq,Jq,Iq,Gq,Kq;wq="closure_lm_"+(1E6*Math.random()|0);xq={};yq=0;_.Aq=function(a,b,c,d,e){if(d&&d.once)return _.zq(a,b,c,d,e);if(_.Wa(b)){for(var f=0;f<b.length;f++)_.Aq(a,b[f],c,d,e);return null}c=_.Bq(c);return _.pq(a)?a.T(b,c,_.mb(d)?!!d.capture:!!d,e):Cq(a,b,c,!1,d,e)};
Cq=function(a,b,c,d,e,f){if(!b)throw Error("G");var g=_.mb(e)?!!e.capture:!!e,k=_.Dq(a);k||(a[wq]=k=new _.tq(a));c=k.add(b,c,d,g,f);if(c.ww)return c;d=Eq();c.ww=d;d.src=a;d.listener=c;if(a.addEventListener)kq||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Fq(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("H");yq++;return c};
Eq=function(){var a=Gq,b=iq?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};_.zq=function(a,b,c,d,e){if(_.Wa(b)){for(var f=0;f<b.length;f++)_.zq(a,b[f],c,d,e);return null}c=_.Bq(c);return _.pq(a)?a.Zn(b,c,_.mb(d)?!!d.capture:!!d,e):Cq(a,b,c,!0,d,e)};
_.Hq=function(a){if(_.ib(a)||!a||a.lo)return!1;var b=a.src;if(_.pq(b))return b.zE(a);var c=a.type,d=a.ww;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Fq(c),d):b.addListener&&b.removeListener&&b.removeListener(d);yq--;(c=_.Dq(b))?(_.vq(c,a),0==c.Qs&&(c.src=null,b[wq]=null)):sq(a);return!0};Fq=function(a){return a in xq?xq[a]:xq[a]="on"+a};
Jq=function(a,b,c,d){var e=!0;if(a=_.Dq(a))if(b=a.wd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.lo&&(f=Iq(f,d),e=e&&!1!==f)}return e};Iq=function(a,b){var c=a.listener,d=a.De||a.src;a.It&&_.Hq(a);return c.call(d,b)};
Gq=function(a,b){if(a.lo)return!0;if(!iq){var c=b||_.$p("window.event");b=new _.mq(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.xm&&0<=e;e--){b.currentTarget=c[e];var f=Jq(c[e],a,!0,b);d=d&&f}for(e=0;!b.xm&&e<c.length;e++)b.currentTarget=c[e],f=Jq(c[e],a,!1,b),d=d&&f}return d}return Iq(a,new _.mq(b, this))};_.Dq=function(a){a=a[wq];return a instanceof _.tq?a:null};Kq="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Bq=function(a){if(_.nb(a))return a;a[Kq]||(a[Kq]=function(b){return a.handleEvent(b)});return a[Kq]};_.oj(function(a){Gq=a(Gq)});

_.Lq=function(a){a.zB=void 0;a.La=function(){return a.zB?a.zB:a.zB=new a}};_.Mq=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Nq=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};_.Oq=function(a){for(var b in a)return!1;return!0};_.Pq=function(a,b,c,d,e){if(_.Wa(b))for(var f=0;f<b.length;f++)_.Pq(a,b[f],c,d,e);else d=_.mb(d)?!!d.capture:!!d,c=_.Bq(c),_.pq(a)?a.nc(b,c,d,e):a&&(a=_.Dq(a))&&(b=a.yn(b,c,d,e))&&_.Hq(b)};
_.Qq=function(){_.cq.call(this);this.Oi=new _.tq(this);this.oR=this;this.DC=null};_.F(_.Qq,_.cq);_.Qq.prototype[_.oq]=!0;_.h=_.Qq.prototype;_.h.Hq=function(){return this.DC};_.h.Xw=_.ea(17);_.h.addEventListener=function(a,b,c,d){_.Aq(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.Pq(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.Hq();if(c)for(b=[];c;c=c.Hq())b.push(c);c=this.oR;var d=a.type||a;if(_.Ua(a))a=new _.gq(a,c);else if(a instanceof _.gq)a.target=a.target||c;else{var e=a;a=new _.gq(d,c);_.Kb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.xm&&0<=f;f--){var g=a.currentTarget=b[f];e=g.jq(d,!0,a)&&e}a.xm||(g=a.currentTarget=c,e=g.jq(d,!0,a)&&e,a.xm||(e=g.jq(d,!1,a)&&e));if(b)for(f=0;!a.xm&&f<b.length;f++)g=a.currentTarget=b[f],e=g.jq(d,!1,a)&&e;return e};
_.h.ta=function(){_.Qq.H.ta.call(this);this.YC();this.DC=null};_.h.T=function(a,b,c,d){return this.Oi.add(String(a),b,!1,c,d)};_.h.Zn=function(a,b,c,d){return this.Oi.add(String(a),b,!0,c,d)};_.h.nc=function(a,b,c,d){return this.Oi.remove(String(a),b,c,d)};_.h.zE=function(a){return _.vq(this.Oi,a)};_.h.YC=function(a){this.Oi&&this.Oi.removeAll(a)};
_.h.jq=function(a,b,c){a=this.Oi.wd[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.lo&&f.capture==b){var g=f.listener,k=f.De||f.src;f.It&&this.zE(f);d=!1!==g.call(k,c)&&d}}return d&&0!=c.ZL};_.h.yn=function(a,b,c,d){return this.Oi.yn(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Oi.hasListener(_.Ta(a)?String(a):void 0,b)};

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

_.Et=function(a,b){this.V={};this.Mb=[];this.Qf=this.Xb=0;var c=arguments.length;if(1<c){if(c%2)throw Error("e");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};_.h=_.Et.prototype;_.h.Hb=function(){return this.Xb};_.h.Fd=function(){Ft(this);for(var a=[],b=0;b<this.Mb.length;b++)a.push(this.V[this.Mb[b]]);return a};_.h.Af=function(){Ft(this);return this.Mb.concat()};_.h.Rd=function(a){return _.Gt(this.V,a)};_.h.tl=_.ea(2);
_.h.equals=function(a,b){if(this===a)return!0;if(this.Xb!=a.Hb())return!1;b=b||Ht;Ft(this);for(var c,d=0;c=this.Mb[d];d++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Ht=function(a,b){return a===b};_.Et.prototype.isEmpty=function(){return 0==this.Xb};_.Et.prototype.clear=function(){this.V={};this.Qf=this.Xb=this.Mb.length=0};_.Et.prototype.remove=function(a){return _.Gt(this.V,a)?(delete this.V[a],this.Xb--,this.Qf++,this.Mb.length>2*this.Xb&&Ft(this),!0):!1};
var Ft=function(a){if(a.Xb!=a.Mb.length){for(var b=0,c=0;b<a.Mb.length;){var d=a.Mb[b];_.Gt(a.V,d)&&(a.Mb[c++]=d);b++}a.Mb.length=c}if(a.Xb!=a.Mb.length){var e={};for(c=b=0;b<a.Mb.length;)d=a.Mb[b],_.Gt(e,d)||(a.Mb[c++]=d,e[d]=1),b++;a.Mb.length=c}};_.h=_.Et.prototype;_.h.get=function(a,b){return _.Gt(this.V,a)?this.V[a]:b};_.h.set=function(a,b){_.Gt(this.V,a)||(this.Xb++,this.Mb.push(a),this.Qf++);this.V[a]=b};
_.h.addAll=function(a){if(a instanceof _.Et)for(var b=a.Af(),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.Af(),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 _.Et(this)};_.h.Bi=function(a){Ft(this);var b=0,c=this.Qf,d=this,e=new _.Dt;e.next=function(){if(c!=d.Qf)throw Error("M");if(b>=d.Mb.length)throw _.Ct;var f=d.Mb[b++];return a?f:d.V[f]};return e}; _.Gt=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

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

_.gy=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 hy;_.iy=function(a){return(new hy).Do(a)};hy=function(){};hy.prototype.Do=function(a){var b=[];jy(this,a,b);return b.join("")};
var jy=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(_.Wa(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),jy(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),ky(d,c),c.push(":"),jy(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":ky(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("qa`"+typeof b);}}},ly={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},my=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ky=function(a,b){b.push('"',a.replace(my,function(c){var d=ly[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),ly[c]=d);return d}),'"')};

_.ny=function(a,b){if(-1!=a.indexOf("<"))throw Error("g`"+a);var c=a.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(c))throw Error("h`"+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;f<c.length;f++){var g=c[f];if(d[g])e.push(d[g]);else if(_.Nq(d,g)&&e.pop()!=g){c=!1;break a}}c=0==e.length}if(!c)throw Error("i`"+a);b instanceof _.od||(b=_.sd(b));a=a+"{"+_.pd(b).replace(/</g,"\\3C ")+"}";return(new _.Bd).Zg(a)};
_.oy=function(a,b,c){if(_.nb(a))c&&(a=(0,_.G)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.G)(a.handleEvent,a);else throw Error("ra");return 2147483647<Number(b)?-1:_.q.setTimeout(a,b||0)};_.py=function(a){var b=null;return(new _.Pj(function(c,d){b=_.oy(function(){c(void 0)},a);-1==b&&d(Error("sa"))})).lx(function(c){_.q.clearTimeout(b);throw c;})};

var uy,vy,yy,Ay;_.qy=function(a){return(a=_.dy(a))?new ActiveXObject(a):new XMLHttpRequest};_.ry=function(a){if(!_.Wa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};_.sy=function(a){var b=0,c;for(c in a)b++;return b};_.ty=function(a){var b=_.Va(a);if("object"==b||"array"==b){if(_.nb(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=_.ty(a[c]);return b}return a};uy=function(a){return Array.prototype.join.call(arguments,"")};
vy=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.sh(a[b],a[b+1],c);return c.join("&")};_.wy=function(a,b){var c=2==arguments.length?vy(arguments[1],0):vy(arguments,1);return _.rh(a,c)};_.xy=function(a,b){_.Mq(a,"/")&&(a=a.substr(0,a.length-1));_.Dc(b,"/")&&(b=b.substr(1));return uy(a,"/",b)};yy={};_.zy=function(a){if(yy[a])return yy[a];a=String(a);if(!yy[a]){var b=/function\s+([^\(]+)/m.exec(a);yy[a]=b?b[1]:"[Anonymous]"}return yy[a]};
Ay=function(a,b){var c=[];if(_.zb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(_.zy(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=_.zy(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(Ay(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("")};_.By=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||_.By),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=Ay(a||arguments.callee.caller,[]));return b};_.Cy=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};
_.Dy=function(a,b){_.Qq.call(this);this.zk=a||1;this.Ks=b||_.q;this.KG=(0,_.G)(this.o1,this);this.rK=(0,_.ab)()};_.F(_.Dy,_.Qq);_.h=_.Dy.prototype;_.h.enabled=!1;_.h.mc=null;_.h.setInterval=function(a){this.zk=a;this.mc&&this.enabled?(this.stop(),this.start()):this.mc&&this.stop()};
_.h.o1=function(){if(this.enabled){var a=(0,_.ab)()-this.rK;0<a&&a<.8*this.zk?this.mc=this.Ks.setTimeout(this.KG,this.zk-a):(this.mc&&(this.Ks.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.Ks.setTimeout(this.KG,this.zk),this.rK=(0,_.ab)())};_.h.stop=function(){this.enabled=!1;this.mc&&(this.Ks.clearTimeout(this.mc),this.mc=null)}; _.h.ta=function(){_.Dy.H.ta.call(this);this.stop();delete this.Ks};
var Fy,Gy,Hy;_.Ey=function(a){_.Qq.call(this);this.headers=new _.Et;this.Ax=a||null;this.qf=!1;this.zx=this.Ma=null;this.Gv="";this.Vn=0;this.bm=this.vB=this.kv=this.Lz=!1;this.Mm=0;this.nd=null;this.Hk="";this.JE=this.uh=!1};_.F(_.Ey,_.Qq);Fy=/^https?$/i;Gy=["POST","PUT"];Hy=[];_.Iy=function(a,b,c,d,e,f){var g=new _.Ey;Hy.push(g);b&&g.T("complete",b);g.Zn("ready",g.ZR);f&&g.bE(f);g.send(a,c,d,e)};_.Ey.prototype.ZR=function(){this.Ba();_.aq(Hy,this)};
_.Ey.prototype.bE=function(a){this.Mm=Math.max(0,a)};
_.Ey.prototype.send=function(a,b,c,d){if(this.Ma)throw Error("ta`"+this.Gv+"`"+a);b=b?b.toUpperCase():"GET";this.Gv=a;this.Vn=0;this.Lz=!1;this.qf=!0;this.Ma=this.Ax?_.qy(this.Ax):_.qy(_.ey);this.zx=this.Ax?this.Ax.getOptions():_.ey.getOptions();this.Ma.onreadystatechange=(0,_.G)(this.eL,this);try{this.vB=!0,this.Ma.open(b,String(a),!0),this.vB=!1}catch(f){this.qu(5,f);return}a=c||"";var e=this.headers.clone();d&&_.Nt(d,function(f,g){e.set(g,f)});d=_.kj(e.Af(),Jy);c=_.q.FormData&&a instanceof _.q.FormData;
!_.zb(Gy,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.Hk&&(this.Ma.responseType=this.Hk);"withCredentials"in this.Ma&&this.Ma.withCredentials!==this.uh&&(this.Ma.withCredentials=this.uh);try{Ky(this),0<this.Mm&&((this.JE=Ly(this.Ma))?(this.Ma.timeout=this.Mm,this.Ma.ontimeout=(0,_.G)(this.Ag,this)):this.nd=_.oy(this.Ag,this.Mm,this)),this.kv=!0,this.Ma.send(a),this.kv=!1}catch(f){this.qu(5,f)}};
var Ly=function(a){return _.Wb&&_.rc(9)&&_.ib(a.timeout)&&_.Ta(a.ontimeout)},Jy=function(a){return"content-type"==a.toLowerCase()};_.Ey.prototype.Ag=function(){"undefined"!=typeof _.Sa&&this.Ma&&(this.Vn=8,this.dispatchEvent("timeout"),this.abort(8))};_.Ey.prototype.qu=function(a){this.qf=!1;this.Ma&&(this.bm=!0,this.Ma.abort(),this.bm=!1);this.Vn=a;My(this);Ny(this)};var My=function(a){a.Lz||(a.Lz=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
_.Ey.prototype.abort=function(a){this.Ma&&this.qf&&(this.qf=!1,this.bm=!0,this.Ma.abort(),this.bm=!1,this.Vn=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ny(this))};_.Ey.prototype.ta=function(){this.Ma&&(this.qf&&(this.qf=!1,this.bm=!0,this.Ma.abort(),this.bm=!1),Ny(this,!0));_.Ey.H.ta.call(this)};_.Ey.prototype.eL=function(){this.Gb||(this.vB||this.kv||this.bm?Oy(this):this.rC())};_.Ey.prototype.rC=function(){Oy(this)};
var Oy=function(a){if(a.qf&&"undefined"!=typeof _.Sa&&(!a.zx[1]||4!=_.Py(a)||2!=a.getStatus()))if(a.kv&&4==_.Py(a))_.oy(a.eL,0,a);else if(a.dispatchEvent("readystatechange"),4==_.Py(a)){a.qf=!1;try{_.Qy(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Vn=6,a.getStatus(),My(a))}finally{Ny(a)}}},Ny=function(a,b){if(a.Ma){Ky(a);var c=a.Ma,d=a.zx[0]?_.jb:null;a.Ma=null;a.zx=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Ky=function(a){a.Ma&&a.JE&&(a.Ma.ontimeout=
null);a.nd&&(_.q.clearTimeout(a.nd),a.nd=null)};_.Ey.prototype.Yd=function(){return!!this.Ma};_.Qy=function(a){var b=a.getStatus(),c;if(!(c=_.Cy(b))){if(b=0===b)a=String(a.Gv).match(_.qh)[1]||null,!a&&_.q.self&&_.q.self.location&&(a=_.q.self.location.protocol,a=a.substr(0,a.length-1)),b=!Fy.test(a?a.toLowerCase():"");c=b}return c};_.Py=function(a){return a.Ma?a.Ma.readyState:0};_.Ey.prototype.getStatus=function(){try{return 2<_.Py(this)?this.Ma.status:-1}catch(a){return-1}};
_.Ry=function(a){try{return a.Ma?a.Ma.responseText:""}catch(b){return""}};_.Sy=function(a){try{if(!a.Ma)return null;if("response"in a.Ma)return a.Ma.response;switch(a.Hk){case "":case "text":return a.Ma.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ma)return a.Ma.mozResponseArrayBuffer}return null}catch(b){return null}};_.Ey.prototype.getResponseHeader=function(a){if(this.Ma&&4==_.Py(this))return a=this.Ma.getResponseHeader(a),null===a?void 0:a}; _.Ey.prototype.getAllResponseHeaders=function(){return this.Ma&&4==_.Py(this)?this.Ma.getAllResponseHeaders()||"":""};_.oj(function(a){_.Ey.prototype.rC=a(_.Ey.prototype.rC)});

var Ku,Lu,Mu,Nu,Pu,Qu,Ru,Su,Uu;_.Ju=!1;Ku=function(a){try{_.Ju&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Lu=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};Mu=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};Nu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};
_.Ou=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Pu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Qu=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.";};Ru={token:1,id_token:1};
Su=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Tu=window.JSON;Uu=function(a){this.NE=a||[];this.Zb={}};Uu.prototype.addEventListener=function(a,b){if(!(0<=Lu(this.NE,a)))throw"Unrecognized event type: "+a;if(!Nu(b))throw"The listener for event '"+a+"' is not a function.";this.Zb[a]||(this.Zb[a]=[]);0>Lu(this.Zb[a],b)&&this.Zb[a].push(b)};
Uu.prototype.removeEventListener=function(a,b){if(!(0<=Lu(this.NE,a)))throw"Unrecognized event type: "+a;Nu(b)&&this.Zb[a]&&this.Zb[a].length&&(b=Lu(this.Zb[a],b),0<=b&&this.Zb[a].splice(b,1))};Uu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Lu(this.NE,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 Vu,Wu,Xu,av,bv,sv,tv,vv,wv,yv,Hv;Vu={};Wu={};Xu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Yu=function(a,b){if(a=Xu[a])return a[b]};_.Zu=function(a,b){if(!a)throw Error("P");if(!b.authServerUrl)throw Error("Q");if(!b.idpIFrameUrl)throw Error("R");Xu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.$u=void 0;
av=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")};bv=function(){this.V1=window;this.Yt=this.ql=this.Pr=this.eh=null};
bv.prototype.open=function(a,b,c,d){cv(this);this.Pr?(this.ql&&(this.ql(),this.ql=null),dv(this)):this.Pr="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.eh=this.V1.open(a,this.Pr,b);try{this.eh.focus();if(this.eh.closed||"undefined"==typeof this.eh.closed)throw Error("T");_.$u=this.eh}catch(e){d&&setTimeout(d,0);this.eh=null;break a}c&&(this.ql=c,ev(this))}};
var cv=function(a){try{if(null==a.eh||a.eh.closed)a.eh=null,a.Pr=null,dv(a),a.ql&&(a.ql(),a.ql=null)}catch(b){a.eh=null,a.Pr=null,dv(a)}},ev=function(a){a.Yt=window.setInterval(function(){cv(a)},300)},dv=function(a){a.Yt&&(window.clearInterval(a.Yt),a.Yt=null)};Wu=Wu||{};var fv=function(a,b){this.Vb=a;this.CB=b;this.nd=null;this.Wl=!1};fv.prototype.start=function(){if(!this.Wl&&!this.nd){var a=this;this.nd=window.setTimeout(function(){a.clear();a.Wl||(a.Vb(),a.Wl=!0)},Wu.RI(this.CB))}};
fv.prototype.clear=function(){this.nd&&(window.clearTimeout(this.nd),this.nd=null)};var gv=function(a,b){var c=Wu.vp;this.RW=Wu.ep;this.WN=c;this.Vb=a;this.CB=b;this.nd=null;this.Wl=!1;var d=this;this.XN=function(){document[d.RW]||(d.clear(),d.start())}};gv.prototype.start=function(){if(!this.Wl&&!this.nd){Qu(document,this.WN,this.XN);var a=this;this.nd=window.setTimeout(function(){a.clear();a.Wl||(a.Vb(),a.Wl=!0)},Wu.RI(this.CB))}};
gv.prototype.clear=function(){var a=this.WN,b=this.XN,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)};Wu.ep=null;Wu.vp=null;
Wu.nX=function(){var a=document;"undefined"!==typeof a.hidden?(Wu.ep="hidden",Wu.vp="visibilitychange"):"undefined"!==typeof a.msHidden?(Wu.ep="msHidden",Wu.vp="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Wu.ep="webkitHidden",Wu.vp="webkitvisibilitychange")};Wu.nX();Wu.sS=function(a,b){return Wu.ep&&Wu.vp?new gv(a,b):new fv(a,b)};Wu.RI=function(a){return Math.max(1,a-(new Date).getTime())};
var hv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},iv=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,Og: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}}},jv=
window.crypto,kv=!1,lv=0,mv=1,nv=0,ov="",pv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;mv=mv*b%nv;if(3==++lv)if(a=window,b=pv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("U`mousemove");},qv=function(a){var b=iv();b.update(a);return b.Og()};kv=!!jv&&"function"==typeof jv.getRandomValues;
kv||(nv=1E6*(screen.width*screen.width+screen.height),ov=qv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Qu(window,"mousemove",pv));Vu=Vu||{};Vu.aP="ssIFrame_";
_.rv=function(a,b){this.Bb=a;if(!this.Bb)throw Error("V");a=_.Yu(a,"idpIFrameUrl");if(!a)throw Error("W");this.IJ=a;if(!b)throw Error("X");this.xo=b;a=this.IJ;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.pB=a.join("");this.s_=[location.protocol,"//",location.host].join("");this.oB=
this.Mn=!1;this.EJ=null;this.ew=[];this.jo=[];this.Gi={};this.Zl=void 0};_.rv.prototype.show=function(){var a=this.Zl;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")};_.rv.prototype.kc=function(){av(this.Zl)};
_.rv.prototype.Iv=function(a){if(this.Mn)a&&a(this);else{if(!this.Zl){var b=Vu.aP+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<=Lu(e.split("|"),c))?hv(e,d):hv(e?e+"|"+c:c,d);c=!f;f=this.IJ;var g=this.s_;d=this.xo;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Nu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);av(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Ju&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Zl=e}a&&this.ew.push(a)}};_.rv.prototype.Gl=function(){return this.EJ};sv=function(a){for(var b=0;b<a.ew.length;b++)a.ew[b](a);a.ew=[]};
_.uv=function(a,b,c,d){if(a.Mn){if(a.Mn&&a.oB)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Gl(),Ku(a),Error(a);tv(a,{method:b,params:c},d)}else a.jo.push({Cm:{method:b,params:c},callback:d}),a.Iv()};tv=function(a,b,c){if(c){for(var d=b.id;!d||a.Gi[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Gi[d]=c}b.rpcToken=a.xo;a.Zl.contentWindow.postMessage(_.Tu.stringify(b),a.pB)};vv=function(a){if(a&&0<=a.indexOf("::"))throw Error("Y");};
_.rv.prototype.Vh=function(a,b,c,d,e,f,g,k){vv(f);b=_.Ou(b);_.uv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.rv.prototype.Hv=function(a,b,c,d,e){b=_.Ou(b);_.uv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};wv=function(a,b,c){vv(b.identifier);_.uv(a,"getSessionSelector",b,c)};
_.xv=function(a,b,c,d,e){vv(b.identifier);_.uv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};yv=function(a,b,c){_.uv(a,"monitorClient",{clientId:b},c)};_.rv.prototype.Zr=_.ea(24);_.rv.prototype.fx=function(a,b){_.uv(this,"showDialog",{V$:a},b)};_.rv.prototype.Mp=_.ea(26);Vu.gv={};Vu.uA=function(a){return Vu.gv[a]};
Vu.Iv=function(a,b){var c=Vu.uA(a);if(!c){c=String;if(kv){var d=new window.Uint32Array(1);jv.getRandomValues(d);d=Number("0."+d[0])}else d=mv,d+=parseInt(ov.substr(0,20),16),ov=qv(ov),d/=nv+Math.pow(16,20);c=c(2147483647*d);c=new _.rv(a,c);Vu.gv[a]=c}c.Iv(b)};Vu.UT=function(a){for(var b in Vu.gv){var c=Vu.uA(b);if(c&&c.Zl&&c.Zl.contentWindow==a.source&&c.pB==a.origin)return c}};Vu.KU=function(a){for(var b in Vu.gv){var c=Vu.uA(b);if(c&&c.pB==a)return c}};Vu=Vu||{};
var Av=function(){var a=[],b;for(b in zv)a.push(zv[b]);Uu.call(this,a);this.tk={};Ku("EventBus is ready.")};Mu(Av,Uu);var zv={BQ:"sessionSelectorChanged",Yx:"sessionStateChanged",Ex:"authResult",LO:"displayIFrame"},Cv=function(a){var b=Bv;a&&(b.tk[a]||(b.tk[a]=[]))},Dv=function(a,b,c){return b&&a.tk[b]&&0<=Lu(a.tk[b],c)};_.h=Av.prototype;
_.h.zZ=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.$u);if(b=c?Vu.KU(a.origin):Vu.UT(a)){try{var d=_.Tu.parse(a.data)}catch(e){Ku("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.xo){Ku("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.Gi[c.id])delete b.Gi[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Ku("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.HJ[a.type]?(d=this.HJ[a.type],
c&&!d.uR?Ku("Bad IDP event. Source window cannot be a popup."):d.So&&!d.So.call(this,b,a)?Ku("Bad IDP event."):d.De.call(this,b,a)):Ku("Bad IDP event.")}else Ku("Bad event, no corresponding Idp Stub.")};_.h.R_=function(a,b){return Dv(this,a.Bb,b.clientId)};_.h.Q_=function(a,b){b=b.clientId;return!b||Dv(this,a.Bb,b)};_.h.GR=function(a,b){return Dv(this,a.Bb,b.clientId)};_.h.FY=function(a){a.Mn=!0;sv(a);for(var b=0;b<a.jo.length;b++)tv(a,a.jo[b].Cm,a.jo[b].callback);a.jo=[]};
_.h.EY=function(a,b){b={error:b.error};a.Mn=!0;a.oB=!0;a.EJ=b;a.jo=[];sv(a)};_.h.Bw=function(a,b){b.originIdp=a.Bb;this.dispatchEvent(b)};var Bv=new Av,Ev=Bv,Fv={};Fv.idpReady={De:Ev.FY};Fv.idpError={De:Ev.EY};Fv.sessionStateChanged={De:Ev.Bw,So:Ev.R_};Fv.sessionSelectorChanged={De:Ev.Bw,So:Ev.Q_};Fv.authResult={De:Ev.Bw,So:Ev.GR,uR:!0};Fv.displayIFrame={De:Ev.Bw};Bv.HJ=Fv||{};Qu(window,"message",function(a){Bv.zZ.call(Bv,a)});
_.Gv=function(a,b){this.ie=!1;if(!a)throw Error("Z");var c=[],d;for(d in a)c.push(a[d]);Uu.call(this,c);this.Qc=[location.protocol,"//",location.host].join("");this.Xc=b.crossSubDomains?b.domain||this.Qc:this.Qc;if(!b)throw Error("$");if(!b.idpId)throw Error("aa");if(!_.Yu(b.idpId,"authServerUrl")||!_.Yu(b.idpId,"idpIFrameUrl"))throw Error("ba`"+b.idpId);this.Bb=b.idpId;this.Wb=void 0;this.AS=!!b.disableTokenRefresh;this.qT=!!b.forceTokenRefresh;this.T0=!!b.skipTokenCache;this.setOptions(b);this.Wp=
[];this.dm=this.eK=!1;this.Qn=void 0;this.LL();this.jd=void 0;var e=this,f=function(){Ku("Token Manager is ready.");if(e.Wp.length)for(var g=0;g<e.Wp.length;g++)e.Wp[g].call(e);e.eK=!0;e.Wp=[]};Vu.Iv(this.Bb,function(g){e.jd=g;g.Mn&&g.oB?(e.dm=!0,e.Qn=g.Gl(),e.$v(e.Qn)):e.Wb?yv(e.jd,e.Wb,function(k){if(k){k=e.Bb;var l=e.Wb,m=Bv;k&&l&&(m.tk[k]||(m.tk[k]=[]),0>Lu(m.tk[k],l)&&m.tk[k].push(l));f()}else e.Qn={error:"Not a valid origin for the client: "+e.Qc+" 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.dm=!0,e.$v(e.Qn)}):(Cv(e.Bb),f())})};Mu(_.Gv,Uu);_.Gv.prototype.setOptions=function(){};_.Gv.prototype.LL=function(){};_.Gv.prototype.$v=function(){};_.Gv.prototype.Gl=function(){return this.Qn};Hv=function(a,b,c){return function(){b.apply(a,c)}};_.Iv=function(a,b,c){if(a.eK)b.apply(a,c);else{if(a.dm)throw a.Qn;a.Wp.push(Hv(a,b,c))}};_.Gv.prototype.WG=_.ea(27);_.Gv.prototype.Mp=_.ea(25);
_.Kv=function(a,b){_.Gv.call(this,a,b);this.xL=new bv;this.mj=this.tm=null;Jv(this)};Mu(_.Kv,_.Gv);_.Kv.prototype.setOptions=function(){};
var Lv=function(a,b){a.he={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Xc};b.crossSubDomains&&(a.he.policy=b.policy)},Mv=function(a,b){if(!b.authParameters)throw Error("ca");if(!b.authParameters.scope)throw Error("da");if(!b.authParameters.response_type)throw Error("ea");a.Bp=b.authParameters;a.Bp.redirect_uri||(a.Bp.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.fi=_.Ou(b.rpcAuthParameters||a.Bp);if(!a.fi.scope)throw Error("fa");if(!a.fi.response_type)throw Error("ga");
a:{var c=a.fi.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Ru[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ha");b.enableSerialConsent&&(a.fi.enable_serial_consent=!0);b.authResultIdentifier&&(a.HR=b.authResultIdentifier);b.spec_compliant&&(a.fi.spec_compliant=b.spec_compliant)};
_.Kv.prototype.LL=function(){var a=this;Bv.addEventListener(zv.BQ,function(b){a.ie&&a.he&&b.originIdp==a.Bb&&!b.crossSubDomains==!a.he.crossSubDomains&&b.domain==a.he.domain&&b.id==a.he.id&&a.iL(b)});Bv.addEventListener(zv.Yx,function(b){a.ie&&b.originIdp==a.Bb&&b.clientId==a.Wb&&a.jL(b)});Bv.addEventListener(zv.Ex,function(b){_.$u=void 0;a.ie&&b.originIdp==a.Bb&&b.clientId==a.Wb&&b.id==a.ij&&(a.tm&&(window.clearTimeout(a.tm),a.tm=null),a.ij=void 0,a.Dr(b))});Bv.addEventListener(zv.LO,function(b){a.ie&&
b.originIdp==a.Bb&&(b.kc?a.jd.kc():a.jd.show())})};_.Kv.prototype.iL=function(){};_.Kv.prototype.jL=function(){};_.Kv.prototype.Dr=function(){};var Ov=function(a,b){Nv(a);a.AS||(a.mj=Wu.sS(function(){a.Vh(!0)},b-3E5),navigator.onLine&&a.mj.start())},Nv=function(a){a.mj&&(a.mj.clear(),a.mj=null)},Jv=function(a){var b=window;Su()&&(b=document.body);Qu(b,"online",function(){a.mj&&a.mj.start()});Qu(b,"offline",function(){a.mj&&a.mj.clear()})};_.h=_.Kv.prototype;_.h.Vh=function(){};
_.h.fx=function(a,b){this.jd.fx(a,b)};_.h.TK=_.ea(28);_.h.VX=function(a,b){if(!this.Wb)throw Error("la");this.jd.Hv(this.Wb,this.fi,this.he,a,b)};_.h.Hv=function(a,b){_.Iv(this,this.VX,[a,b])};_.Qv=function(a){this.de=void 0;this.Pg=!1;this.Eo=void 0;_.Kv.call(this,_.Pv,a)};Mu(_.Qv,_.Kv);_.Pv={AF:"noSessionBound",rp:"userLoggedOut",iO:"activeSessionChanged",Yx:"sessionStateChanged",WQ:"tokenReady",VQ:"tokenFailed",Ex:"authResult",ERROR:"error"};
_.Qv.prototype.setOptions=function(a){if(!a.clientId)throw Error("ma");this.Wb=a.clientId;this.ya=a.id;Lv(this,a);Mv(this,a)};_.Qv.prototype.$v=function(a){this.dispatchEvent({type:_.Pv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Bb})};var Rv=function(a){Nv(a);a.Eo=void 0;a.PB=void 0};_.h=_.Qv.prototype;
_.h.iL=function(a){var b=a.newValue||{};if(this.de!=b.hint||this.Pg!=!!b.disabled){a=this.de;var c=!this.de||this.Pg;Rv(this);this.de=b.hint;this.Pg=!!b.disabled;(b=!this.de||this.Pg)&&!c?this.dispatchEvent({type:_.Pv.rp,idpId:this.Bb}):b||(a!=this.de&&this.dispatchEvent({type:_.Pv.iO,idpId:this.Bb}),this.de&&this.Vh())}};
_.h.jL=function(a){this.Pg||(this.de?a.user||this.Eo?a.user==this.de&&(this.Eo?a.sessionState?this.Eo=a.sessionState:(Rv(this),this.dispatchEvent({type:_.Pv.rp,idpId:this.Bb})):a.sessionState&&(this.Eo=a.sessionState,this.Vh())):this.Vh():this.dispatchEvent({type:_.Pv.Yx,idpId:this.Bb}))};_.h.Dr=function(a){this.dispatchEvent({type:_.Pv.Ex,authResult:a.authResult})};_.h.xq=_.ea(30);_.h.pq=function(a){_.Iv(this,this.jA,[a])};_.h.jA=function(a){wv(this.jd,this.he,a)};
_.h.gx=function(a,b,c){if(!a)throw Error("na");Rv(this);this.de=a;this.Pg=!1;b&&_.xv(this.jd,this.he,!1,this.de);this.ie=!0;this.Vh(c,!0)};_.h.start=function(){_.Iv(this,this.Y0,[])};
_.h.Y0=function(){var a=this.Wb==Pu("client_id")?Pu("login_hint"):void 0;var b=this.Wb==Pu("client_id")?Pu("state"):void 0;this.kC=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.gx(a,!0,!0);else{var c=this;this.pq(function(d){c.ie=!0;d&&d.hint?(Rv(c),c.de=d.hint,c.Pg=!!d.disabled,c.Pg?c.dispatchEvent({type:_.Pv.rp,idpId:c.Bb}):c.gx(d.hint)):(Rv(c),c.de=void 0,c.Pg=!(!d||!d.disabled),c.dispatchEvent({type:_.Pv.AF,
autoOpenAuthUrl:!c.Pg,idpId:c.Bb}))})}};_.h.fI=_.ea(31);_.h.Vh=function(a,b){var c=this;this.jd.Vh(this.Wb,this.fi,this.de,this.he,function(d,e){(e=e||d.error)?"user_logged_out"==e?(Rv(c),c.dispatchEvent({type:_.Pv.rp,idpId:c.Bb})):(c.PB=null,c.dispatchEvent({type:_.Pv.VQ,idpId:c.Bb,error:e})):(c.PB=d,c.Eo=d.session_state,Ov(c,d.expires_at),d.idpId=c.Bb,b&&c.kC&&(d.state=c.kC,c.kC=void 0),c.dispatchEvent({type:_.Pv.WQ,idpId:c.Bb,response:d}))},this.ya,a)};_.h.Zr=_.ea(23);_.h.$L=_.ea(32);
_.Sv=function(a){this.fl=null;_.Kv.call(this,{},a);this.ie=!0};Mu(_.Sv,_.Kv);_.h=_.Sv.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ma");this.Wb=a.clientId;this.ya=a.id;Lv(this,a);Mv(this,a)};_.h.$v=function(a){this.fl&&(this.fl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.fl=null)};_.h.Dr=function(a){if(this.fl){var b=this.fl;this.fl=null;b(a)}};_.h.xq=_.ea(29);_.h.pq=function(a){this.dm?a(this.Gl()):_.Iv(this,this.jA,[a])};
_.h.jA=function(a){wv(this.jd,this.he,a)};_.Tv=function(a,b,c){a.dm?c(a.Gl()):_.Iv(a,a.XY,[b,c])};_.Sv.prototype.XY=function(a,b){this.jd.Vh(this.Wb,this.fi,a,this.he,function(c,d){d?b({error:d}):b(c)},this.ya,this.qT,this.T0)};_.Sv.prototype.vK=_.ea(33);

var Uv=function(a,b,c){if(!a.ie)throw Error("ia");b?_.xv(a.jd,a.he,!0,void 0,c):_.xv(a.jd,a.he,!0,a.de,c)},Vv=function(a){if(!a.ie)throw Error("ia");return a.PB},Wv,Xv,Yv,Zv,$v,aw,bw,cw,dw,ew,hw,kw;_.Sv.prototype.vK=_.xc(33,function(a,b){var c=this.jd,d=this.Wb,e=this.he,f=_.Ou(this.fi);delete f.response_type;_.uv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.Qv.prototype.$L=_.xc(32,function(a){Vv(this)&&Vv(this).access_token&&(this.jd.Zr(this.Wb,Vv(this).access_token,a),Uv(this,!0))});_.Qv.prototype.fI=_.xc(31,function(){var a=this;this.pq(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Pv.rp,idpId:a.Bb}):a.Vh(!0):a.dispatchEvent({type:_.Pv.AF,idpId:a.Bb})})});_.Qv.prototype.xq=_.xc(30,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.gx(b.authResult.login_hint,a.Pg||b.authResult.login_hint!=a.de,!0)}});
_.Sv.prototype.xq=_.xc(29,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.pq(function(d){_.xv(b.jd,b.he,d&&d.disabled,c.authResult.login_hint,function(){_.Tv(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"})}});_.Kv.prototype.TK=_.xc(28,function(){this.Wb&&_.uv(this.jd,"startPolling",{clientId:this.Wb,origin:this.Qc,id:this.ij},void 0)});
_.rv.prototype.Zr=_.xc(24,function(a,b,c){_.uv(this,"revoke",{clientId:a,token:b},c)});_.Qv.prototype.Zr=_.xc(23,function(a){_.Iv(this,this.$L,[a])});Wv=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};
Xv=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};
Yv=function(a,b,c,d,e,f,g){var k=_.Yu(a,"authServerUrl");if(!k)throw Error("S`"+a);a=_.Ou(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&&Xv()&&!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("&")};
Zv=function(a,b,c,d){if(!a.Wb)throw Error("ja");a.ij=c||a.HR||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Qc.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0<g&&(f=f.substring(0,g));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.ij);c.redirect_uri=e.join("")}return Yv(a.Bb,a.Xc,a.Wb,a.Bp,!0,b,d)};$v=function(a,b,c){if(!a.Wb)throw Error("ja");return Yv(a.Bb,a.Xc,a.Wb,a.Bp,!1,b,c)};
aw=function(a,b){a.tm&&window.clearTimeout(a.tm);a.tm=window.setTimeout(function(){a.ij==b&&(_.$u=void 0,a.tm=null,a.ij=void 0,a.Dr({authResult:{error:"popup_closed_by_user"}}))},1E3)};bw=function(a,b,c){if(!a.Wb)throw Error("ka");c=c||{};c=Zv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Wv())&&_.Iv(a,a.TK,[]);var d=a.ij;a.xL.open(c,b,function(){a.ij==d&&aw(a,d)},function(){a.ij=void 0;a.Dr({authResult:{error:"popup_blocked_by_browser"}})})};
cw=function(a){_.Iv(a,a.fI,[])};dw=function(a,b,c){a.dm?c(a.Gl()):_.Iv(a,a.vK,[b,c])};ew=function(a){return Array.prototype.concat.apply([],arguments)};
_.fw=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("")};
_.gw=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.ih[m];if(null!=n)return n;if(!_.Ke(m))throw Error("y`"+m);}return l}_.lh();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};hw=function(a){var b=[];_.gw(a,function(c){b.push(c)});return b};_.iw=function(a,b){_.Gh[b||"token"]=a};_.jw=function(a){delete _.Gh[a||"token"]};
kw=function(){var a=window.crypto||window.msCrypto;a&&a.getRandomValues&&(this.IE=!0,this.un=Infinity);if(1>this.un){var b=this.yk;a=this.un;this.yk="";this.un=1;a=Math.max(0,a);if(!this.IE){b=this.HC+b;var c=new _.Jh;c.update(b);b=String.fromCharCode.apply(String,c.digest());this.ow+=a;this.ow>=this.un?(c.reset(),c.update("SEED_SALT:"+b+this.yk),this.yk=String.fromCharCode.apply(String,c.digest()),this.HC="",this.ow=0):this.HC=b}}};_.h=kw.prototype;_.h.IE=!1;_.h.yk="";_.h.HC="";_.h.ow=0;_.h.un=-1;
var nw=function(a){var b=lw,c=[];if(b.IE)a=new window.Uint8Array(Math.min(65536,a||1)),(window.crypto||window.msCrypto).getRandomValues(a),c=[].slice.call(a);else{if(0>b.un||0==b.yk.length)throw new mw;var d=new _.Jh;d.update("RANDOM_SALT:"+b.yk);var e=d.digest();null!==e&&(d.reset(),d.update("SEED_SALT:"+b.yk),b.yk=String.fromCharCode.apply(String,d.digest()),c=e.slice(0,a||e.length))}return c},mw=function(){};_.F(mw,Error);mw.prototype.name="Insufficient Entropy";
_.Tu={parse:function(a){a=_.Cf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Df(a)}};_.Sv.prototype.Wz=function(a,b){_.Iv(this,this.bT,[a,b])};_.Sv.prototype.bT=function(a,b){this.jd.Wz(this.Wb,a,this.fi,this.he,b)};_.rv.prototype.Wz=function(a,b,c,d,e){c=_.Ou(c);_.uv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var ow,pw=["client_id","cookie_policy","scope"],qw="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(" "),rw=["authuser","after_redirect","access_type","hl"],sw=["login_hint","prompt"],tw={clientid:"client_id",cookiepolicy:"cookie_policy"},uw=["approval_prompt","authuser","login_hint", "prompt","hd"],vw=["login_hint","g-oauth-window","status"],ww=Math.min(_.Q("oauth-flow/authWindowWidth",599),screen.width-20),xw=Math.min(_.Q("oauth-flow/authWindowHeight",600),screen.height-30);
var yw=function(a){_.yc.call(this,a)};_.F(yw,_.yc);yw.prototype.name="gapi.auth2.ExternallyVisibleError";var zw=function(){};zw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Aw=function(){};Aw.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 Bw=function(a){this.IR=a}; Bw.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.IR){d.login_hint?b(d):b();return}}b()};
var Cw=function(a){this.Od=a;this.Mw=[]};Cw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Mw[b];f?(b++,c.Od.Hv(function(g){g?f.select(g,d):d()})):a()}};d()};var Dw=function(a){a=new Cw(a);a.Mw.push(new zw);return a},Ew=function(a){a=new Cw(a);a.Mw.push(new Aw);return a},Fw=function(a,b){void 0===b||null===b?b=Dw(a):(a=new Cw(a),a.Mw.push(new Bw(b)),b=a);return b};
var Gw=function(a){this.De=a;this.Yd=!0};Gw.prototype.remove=function(){this.Yd=!1};Gw.prototype.trigger=function(){};var Hw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Iw=function(){this.Zb=[]};Iw.prototype.add=function(a){this.Zb.push(a)};Iw.prototype.notify=function(a){for(var b=this.Zb,c=[],d=0;d<b.length;d++){var e=b[d];e.Yd&&(c.push(e),_.Dj(Jw(e.De,a)))}this.Zb=c};var Jw=function(a,b){return function(){a(b)}};
var Lw=function(a){this.ke=null;this.N1=new Kw(this);this.Zb=new Iw;void 0!=a&&this.set(a)};Lw.prototype.set=function(a){a!=this.ke&&(this.ke=a,this.N1.value=a,this.Zb.notify(this.ke))};Lw.prototype.get=function(){return this.ke};Lw.prototype.T=function(a){a=new Mw(this,a);this.Zb.add(a);return a};var Mw=function(a,b){Gw.call(this,b);this.YX=a};_.F(Mw,Gw);Mw.prototype.trigger=function(){var a=this.De;a(this.YX.get())};var Kw=function(a){this.value=null;this.T=function(b){return new Hw(a.T(b))}};
var Nw={w4:"fetch_basic_profile",L5:"login_hint",C7:"prompt",O7:"redirect_uri",g8:"scope",U9:"ux_mode",n9:"state"},Ow=function(a){this.va={};if(a&&!_.Oq(a))if("function"==typeof a.get)this.va=a.get();else for(var b in Nw){var c=Nw[b];c in a&&(this.va[c]=a[c])}};Ow.prototype.get=function(){return this.va};Ow.prototype.RM=function(a){this.va.scope=a;return this};Ow.prototype.Kq=function(){return this.va.scope};
var Pw=function(a,b){var c=a.va.scope;b=ew(b.split(" "),c?c.split(" "):[]);_.gh(b);a.va.scope=b.join(" ")};_.h=Ow.prototype;_.h.y0=function(a){this.va.prompt=a;return this};_.h.OU=function(){return this.va.prompt};_.h.U_=function(){_.Se("Property app_package_name no longer supported and was not set");return this};_.h.wT=function(){_.Se("Property app_package_name no longer supported")};_.h.lf=function(a){this.va.state=a};_.h.getState=function(){return this.va.state};
var Qw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+ww,"height="+xw,"top="+(screen.height-xw)/2,"left="+(screen.width-ww)/2].join()},Rw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.fw(hw(a)))},Sw=function(){ow=_.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");_.Zu(ow,{authServerUrl:a,idpIFrameUrl:b})},Tw=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}_.mb(a[e])||(a[e]={});a=a[e]}},Uw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var Vw=function(a){var b=a?(b=Rw(a))?b.sub:null:null;this.ya=b;this.tc=a?_.uj(a):null};_.h=Vw.prototype;_.h.getId=function(){return this.ya};_.h.sA=function(){var a=Rw(this.tc);return a?a.hd:null};_.h.Th=function(){return!!this.tc};_.h.ek=function(a){if(a)return this.tc;a=Ww;var b=_.uj(this.tc);!a.qv||a.iB||a.GW||(delete b.access_token,delete b.scope);return b};_.h.XC=function(){return Ww.XC()};_.h.Bj=function(){this.tc=null};_.h.eU=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.Bt=new Xw(this.tc):this.Bt&&(this.Bt=null)};var Yw=function(a){return a.tc&&"object"==typeof a.tc.session_state?_.uj(a.tc.session_state.extraQueryParams||{}):{}};_.h=Vw.prototype;_.h.kq=function(){var a=Yw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.Aj=function(a){var b=Ww,c=new Ow(a);b.iB=c.Kq()?!0:!1;Ww.qv&&Pw(c,"openid profile email");return new _.Pj(function(d,e){var f=Yw(this);f.login_hint=this.getId();f.scope=c.Kq();Zw(b,d,e,f)},this)};_.h.Nq=function(a){return new _.Pj(function(b,c){var d=a||{},e=Ww;d.login_hint=this.getId();e.Nq(d).then(b,c)},this)};_.h.lV=function(a){return this.Aj(a)};_.h.disconnect=function(){return Ww.disconnect()};_.h.zT=function(){return this.Bt};
_.h.cv=function(a){if(!this.Th())return!1;var b=this.tc&&this.tc.scope?this.tc.scope.split(" "):"";return(0,_.yb)(a?a.split(" "):[],function(c){return _.zb(b,c)})};var Xw=function(a){a=Rw(a);this.tT=a.sub;this.xd=a.name;this.iV=a.given_name;this.$S=a.family_name;this.PJ=a.picture;this.iu=a.email};_.h=Xw.prototype;_.h.getId=function(){return this.tT};_.h.getName=function(){return this.xd};_.h.cU=function(){return this.iV};_.h.WT=function(){return this.$S};_.h.mU=function(){return this.PJ};_.h.Fu=function(){return this.iu};
var ax=function(a,b,c){this.lm=b;this.uY=a;for(var d in a)a.hasOwnProperty(d)&&$w(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.lm[c[a]]},$w=function(a,b){a[b]=function(){return a.uY[b].apply(a.lm,arguments)}};ax.prototype.then=function(a,b,c){var d=this;return _.Tj().then(function(){return bx(d.lm,a,b,c)})};_.Nj(ax);
var cx;cx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.dx=function(a){if(!a)throw new yw("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 yw("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(!_.Mq(b,"."+a)&&!_.Mq(b,a))throw new yw("Invalid cookiePolicy domain");return d};
var lw;lw=new kw;_.ex=function(){try{for(var a=[],b=0;64>a.length&&128>b;)a.push.apply(a,nw(64-a.length)),b++;if(64>a.length)throw new mw;var c=a.slice(0,64)}catch(d){for(c=[],a=0;64>a;a++)c[a]=Math.floor(256*Math.random())}return _.mh(c,!0).substring(0,64)};
var gx,fx,hx,ix,jx,kx,nx,sx,ox,ux,vx,px;gx=function(a){var b=a||{},c=fx();(0,_.ub)(qw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};fx=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;tw[d]&&(d=tw[d]);_.zb(qw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
hx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};ix=function(a){(0,_.ub)(qw,function(b){var c=hx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};jx=function(a){a=gx(a);ix(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=qw+rw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
kx=function(a,b){if(!a)throw new yw("Empty initial options.");for(var c=0;c<pw.length;++c)if(!(b&&"scope"==pw[c]||a[pw[c]]))throw new yw("Missing required parameter '"+pw[c]+"'");_.dx(a.cookie_policy)};
nx=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:cx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:ow};_.lx(b,a);(0,_.ub)(sw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.lx=function(){};
sx=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=ox(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:cx(c),idpId:ow};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.ex());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);(0,_.ub)(sw.concat(rw),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 px(a.response_type||"token"),qx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),rx(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};ox=function(a){a=new px(a.response_type||"token");var b=[];rx(a)&&b.push("token");tx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};ux=["permission","id_token"];vx=/(^|[^_])token/;px=function(a){this.to=[];this.yB(a)};
px.prototype.yB=function(a){a?((0<=a.indexOf("permission")||a.match(vx))&&this.to.push("permission"),0<=a.indexOf("id_token")&&this.to.push("id_token"),0<=a.indexOf("code")&&this.to.push("code")):this.to=ux};var qx=function(a){return tx(a,"code")},rx=function(a){return tx(a,"permission")};px.prototype.toString=function(){return this.to.join(" ")};var tx=function(a,b){var c=!1;(0,_.ub)(a.to,function(d){d==b&&(c=!0)});return c};
var Ww,wx,yx,Ax,Bx,bx;Ww=null;_.xx=function(){return Ww?wx():null};wx=function(){return new ax(yx.prototype,Ww,["currentUser","isSignedIn"])};yx=function(a){delete a.include_granted_scopes;this.va=nx(a);this.mS=a.cookie_policy;this.GW=!!a.scope;(this.qv=!1!==a.fetch_basic_profile)&&(this.va.authParameters.scope=zx(this,"openid profile email"));this.Xq=a.hosted_domain;this.K1=a.ux_mode||"popup";this.EZ=a.redirect_uri||null;Ax(this)};
Ax=function(a){a.currentUser=new Lw(new Vw(null));a.isSignedIn=new Lw(!1);a.Od=new _.Qv(a.va);a.Un=null;a.xv=null;a.MX=new _.Pj(function(b,c){this.Un=b;this.xv=c},a);a.dw={};a.mr=!0;Bx(a);a.Od.start()};
Bx=function(a){a.Od.addEventListener("error",function(b){a.mr&&a.Un&&(a.mr=!1,a.xv({error:b.error,details:b.details}),a.Un=null,a.xv=null)});a.Od.addEventListener("authResult",function(b){b&&b.authResult&&a.Ve(b);a.Od.xq()(b)});a.Od.addEventListener("tokenReady",function(b){var c=new Vw(b.response);if(a.Xq&&a.Xq!=c.sA())a.Ve({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.sA(),expectedDomain:a.Xq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Zb.notify(d.ke);a.isSignedIn.set(!0);c=c.kq();(d=_.dx(a.mS))&&c&&_.ii.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Fe?"S":"H",d.Ch].join(""),c,void 0,void 0,d.domain,d.isSecure);_.iw(b.response);a.Ve(b)}});a.Od.addEventListener("noSessionBound",function(b){a.mr&&b.autoOpenAuthUrl?(a.mr=!1,Dw(a.Od).select(function(c){if(c&&c.login_hint){var d=a.Od;_.Iv(d,d.gx,[c.login_hint,!0])}else a.currentUser.set(new Vw(null)),a.isSignedIn.set(!1),_.jw(),a.Ve(b)})):(a.currentUser.set(new Vw(null)),
a.isSignedIn.set(!1),_.jw(),a.Ve(b))});a.Od.addEventListener("tokenFailed",function(b){a.Ve(b)});a.Od.addEventListener("userLoggedOut",function(b){a.currentUser.get().Bj();var c=a.currentUser;c.Zb.notify(c.ke);a.isSignedIn.set(!1);_.jw();a.Ve(b)})};bx=function(a,b,c,d){return a.MX.then(function(e){if(b)return b(e.jV)},c,d)};yx.prototype.Ve=function(a){if(a){this.mr=!1;var b=a.type||"";if(this.dw[b])this.dw[b](a);this.Un&&(this.Un({jV:this}),this.xv=this.Un=null)}};
var Cx=function(a,b){_.Ib(b,function(c,d){a.dw[d]=function(e){a.dw={};c(e)}})},Zw=function(a,b,c,d){d=_.uj(d);a.Xq&&(d.hd=a.Xq);var e=d.ux_mode||a.K1;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.EZ||Uw()+window.location.pathname),Dx(a,f)):(delete d.redirect_uri,Rx(a,f),Cx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):Cx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};yx.prototype.Aj=function(a){return new _.Pj(function(b,c){var d=new Ow(a);this.iB=d.Kq()?!0:!1;this.qv?(d.va.fetch_basic_profile=!0,Pw(d,"email profile openid")):d.va.fetch_basic_profile=!1;var e=zx(this,d.Kq());d.RM(e);Zw(this,b,c,d.get())},this)};
yx.prototype.Nq=function(a){var b=a||{};this.iB=!!b.scope;a=zx(this,b.scope);if(""==a)return _.Uj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};(0,_.ub)(uw,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?Sx(this,c):Tx(this,c,b.redirect_uri)};
var Tx=function(a,b,c){b.redirect_uri=c;Dx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Tj({message:"Redirecting to IDP."})},Sx=function(a,b){b.origin=Uw();delete b.redirect_uri;Rx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Pj(function(c,d){Cx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Rx=function(a,b){Tw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");bw(a.Od,Qw(),b)},Dx=function(a,b){Tw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign($v(a.Od,b.sessionMeta,b.responseType))};yx.prototype.Bj=function(a){var b=a||!1;return new _.Pj(function(c){Uv(this.Od,b,function(){c()})},this)};yx.prototype.AI=function(){return this.va.authParameters.scope};var zx=function(a,b){a=a.AI();b=ew(b?b.split(" "):[],a?a.split(" "):[]);_.gh(b);return b.join(" ")};
yx.prototype.XC=function(){var a=this;return new _.Pj(function(b,c){Cx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});cw(a.Od)})};yx.prototype.ER=function(a,b,c,d){if(a=_.Ua(a)?document.getElementById(a):a){var e=this;_.Aq(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Aj(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."})}; yx.prototype.disconnect=function(){return new _.Pj(function(a){this.Od.Zr(function(){a()})},this)};
var Ux;_.Pj.prototype["catch"]=_.Pj.prototype.lx;Ux=null;_.Vx=function(a){a=jx(a);if(Ww){if(_.tj(a,Ux||{}))return wx();throw new yw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}kx(a,!1!==a.fetch_basic_profile);Sw();Ux=a;Ww=new yx(a);_.ze.ga=1;return wx()};
var Xx,Zx,Wx,ay,$x,by;_.Yx=function(a,b){Sw();a=jx(a);kx(a);var c=sx(a),d=new _.Sv(c);"none"==a.prompt?Wx(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)}):Xx(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.xL.eh;b(e)})};
Xx=function(a,b,c){var d=new px(b.response_type);c=Zx(a,d,c);var e={responseType:d.toString()};Tw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");qx(d)&&Tw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Tw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Tw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Qw();a.dm?c({authResult:{error:"idpiframe_initialization_failed",details:a.Gl().error}}):(a.fl=
c,bw(a,b,e))};Zx=function(a,b,c){if(rx(b)){var d=$x(c);return function(e){e&&e.authResult&&!e.authResult.error?a.xq(function(f){f&&!f.error?(f=_.uj(f),qx(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(_.uj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Wx=function(a,b,c){if(qx(new px(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=$x(c);b.login_hint?a.Wz(b.login_hint,function(e){e?ay(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Fw(a,b.authuser).select(function(e){e&&e.login_hint?ay(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.pq(function(e){e&&e.hint?ay(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Ew(a):Dw(a)).select(function(f){f&&f.login_hint?ay(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};ay=function(a,b,c,d){b=new px(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Kb(f,k),0==e&&d(f))};(rx(b)||tx(b,"id_token"))&&e++;qx(b)&&e++;(rx(b)||tx(b,"id_token"))&&_.Tv(a,c,g);qx(b)&&dw(a,c,g)}; $x=function(a){return function(b){if(!b||b.error)_.jw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.uj(b);by(c);delete c.id_token;delete c.code;_.iw(c)}a(b)}}};by=function(a){(0,_.ub)(vw,function(b){delete a[b]})};
_.z("gapi.auth2.init",_.Vx);_.z("gapi.auth2.authorize",function(a,b){if(null!=Ww)throw new yw("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).");_.Yx(a,function(c){by(c);b(c)})});_.z("gapi.auth2._gt",function(){return _.Hh()});_.z("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Ju="0"!=a&&!!a});_.z("gapi.auth2.getAuthInstance",_.xx);
_.z("gapi.auth2.BasicProfile",Xw);_.z("gapi.auth2.BasicProfile.prototype.getId",Xw.prototype.getId);_.z("gapi.auth2.BasicProfile.prototype.getName",Xw.prototype.getName);_.z("gapi.auth2.BasicProfile.prototype.getGivenName",Xw.prototype.cU);_.z("gapi.auth2.BasicProfile.prototype.getFamilyName",Xw.prototype.WT);_.z("gapi.auth2.BasicProfile.prototype.getImageUrl",Xw.prototype.mU);_.z("gapi.auth2.BasicProfile.prototype.getEmail",Xw.prototype.Fu);_.z("gapi.auth2.GoogleAuth",yx);
_.z("gapi.auth2.GoogleAuth.prototype.attachClickHandler",yx.prototype.ER);_.z("gapi.auth2.GoogleAuth.prototype.disconnect",yx.prototype.disconnect);_.z("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",yx.prototype.Nq);_.z("gapi.auth2.GoogleAuth.prototype.signIn",yx.prototype.Aj);_.z("gapi.auth2.GoogleAuth.prototype.signOut",yx.prototype.Bj);_.z("gapi.auth2.GoogleAuth.prototype.getInitialScopes",yx.prototype.AI);_.z("gapi.auth2.GoogleUser",Vw);_.z("gapi.auth2.GoogleUser.prototype.grant",Vw.prototype.lV);
_.z("gapi.auth2.GoogleUser.prototype.getId",Vw.prototype.getId);_.z("gapi.auth2.GoogleUser.prototype.isSignedIn",Vw.prototype.Th);_.z("gapi.auth2.GoogleUser.prototype.getAuthResponse",Vw.prototype.ek);_.z("gapi.auth2.GoogleUser.prototype.getBasicProfile",Vw.prototype.zT);_.z("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Vw.prototype.eU);_.z("gapi.auth2.GoogleUser.prototype.getHostedDomain",Vw.prototype.sA);_.z("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Vw.prototype.Nq);
_.z("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Vw.prototype.cv);_.z("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Vw.prototype.XC);_.z("gapi.auth2.LiveValue",Lw);_.z("gapi.auth2.LiveValue.prototype.listen",Lw.prototype.T);_.z("gapi.auth2.LiveValue.prototype.get",Lw.prototype.get);_.z("gapi.auth2.SigninOptionsBuilder",Ow);_.z("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Ow.prototype.wT);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Ow.prototype.U_);
_.z("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Ow.prototype.Kq);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Ow.prototype.RM);_.z("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Ow.prototype.OU);_.z("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Ow.prototype.y0);_.z("gapi.auth2.SigninOptionsBuilder.prototype.get",Ow.prototype.get);

_.Ue.p4=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}};_.Ue.c8=function(a){return function(b){return a.test(b)}};_.Ue.RO=function(a){return"undefined"!==typeof a};_.Ue.M6=function(a){return"string"===typeof a&&0<a.length};_.Ue.D2=function(a){return"boolean"===typeof a};_.Ue.Q5=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

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

var pr,qr,xr,yr,zr,Ar,Gr,Hr,Ir;_.dr=function(a){if(a instanceof _.Fd)return a;var b="object"==typeof a,c=null;b&&a.uB&&(c=a.hk());return _.Hd(_.Lc(b&&a.Yg?a.Cf():String(a)),c)};_.er=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.fr=function(a,b){this.x=_.Ta(a)?a:0;this.y=_.Ta(b)?b:0};_.h=_.fr.prototype;_.h.clone=function(){return new _.fr(this.x,this.y)};_.h.equals=function(a){return a instanceof _.fr&&_.er(this,a)};
_.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.h.translate=function(a,b){a instanceof _.fr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),_.ib(b)&&(this.y+=b));return this};_.h.scale=function(a,b){b=_.ib(b)?b:a;this.x*=a;this.y*=b;return this};_.gr=function(a,b){this.width=a;this.height=b};
_.h=_.gr.prototype;_.h.clone=function(){return new _.gr(this.width,this.height)};_.h.aspectRatio=function(){return this.width/this.height};_.h.isEmpty=function(){return!(this.width*this.height)};_.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
_.h.scale=function(a,b){b=_.ib(b)?b:a;this.width*=a;this.height*=b;return this};_.hr=function(a){return"CSS1Compat"==a.compatMode};_.ir=function(a){a=a.document;a=_.hr(a)?a.documentElement:a.body;return new _.gr(a.clientWidth,a.clientHeight)};_.jr=function(a){return _.ir(a||window)};_.kr=function(a){return a.scrollingElement?a.scrollingElement:!_.ac&&_.hr(a)?a.documentElement:a.body||a.documentElement};
_.lr=function(a){var b=_.kr(a);a=a.parentWindow||a.defaultView;return _.Wb&&_.rc("10")&&a.pageYOffset!=b.scrollTop?new _.fr(b.scrollLeft,b.scrollTop):new _.fr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.mr=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.nr=function(a,b,c,d){return Array.prototype.splice.apply(a,_.mr(arguments,1))};_.or=function(a,b,c){if(null!==a&&b in a)throw Error("d`"+b);a[b]=c};
pr=function(a){var b=_.Ua(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()})};qr={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};_.wr=function(a){if(a instanceof _.Bd&&a.constructor===_.Bd&&a.wQ===_.Ad)return a.QC;_.Va(a);return"type_error:SafeStyleSheet"};
xr=/^[a-zA-Z0-9-]+$/;yr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};zr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};Ar=function(a){var b=_.dr(_.Id),c=b.hk(),d=[],e=function(f){_.Wa(f)?(0,_.ub)(f,e):(f=_.dr(f),d.push(_.Gd(f).toString()),f=f.hk(),0==c?c=f:0!=f&&c!=f&&(c=null))};(0,_.ub)(a,e);return _.Hd(d.join(_.Gd(b).toString()),c)};_.Br=function(a){return Ar(Array.prototype.slice.call(arguments))};
_.Cr=function(a,b,c){var d=String(a);if(!xr.test(d))throw Error("j`"+d);if(d.toUpperCase()in zr)throw Error("k`"+d);a=String(a);d=null;var e="<"+a,f="";if(b)for(m in b){if(!xr.test(m))throw Error("o`"+m);var g=b[m];if(null!=g){var k=a;var l=m;if(g instanceof _.Wc)g=_.Xc(g);else if("style"==l.toLowerCase()){if(!_.mb(g))throw Error("n`"+typeof g+"`"+g);g instanceof _.od||(g=_.sd(g));g=_.pd(g)}else{if(/^on/i.test(l))throw Error("l`"+l+"`"+g);if(l.toLowerCase()in yr)if(g instanceof _.bd)g=_.dd(g);else if(g instanceof
_.hd)g=_.id(g).toString();else if(_.Ua(g))g=_.ld(g).Cf();else throw Error("m`"+l+"`"+k+"`"+g);}g.Yg&&(g=g.Cf());l=l+'="'+_.Lc(String(g))+'"';f+=" "+l}}var m=e+f;null!=c?_.Wa(c)||(c=[c]):c=[];!0===qr[a.toLowerCase()]?m+=">":(c=_.Br(c),m+=">"+_.Gd(c).toString()+"</"+a+">",d=c.hk());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.Hd(m,d)};_.Dr=function(a,b){if((0,_.Kd)())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=_.Gd(b)};_.Er=function(a,b,c){return _.Vd(document,arguments)};
_.Fr=function(a){var b;if(_.Rc&&!(_.Wb&&_.rc("9")&&!_.rc("10")&&_.q.SVGElement&&a instanceof _.q.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ge(b)?b:null};Gr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};Hr={IMG:" ",BR:"\n"};Ir=function(a,b,c){if(!(a.nodeName in Gr))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 Hr)b.push(Hr[a.nodeName]);else for(a=a.firstChild;a;)Ir(a,b,c),a=a.nextSibling};
_.Jr=function(a){if(_.Qc&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Ir(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Qc||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Kr=function(a){var b=[];Ir(a,b,!1);return b.join("")};
_.Lr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Lr.prototype;_.h.Gd=_.ea(3);_.h.Zc=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Lr(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Lr?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){_.mb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.h.translate=function(a,b){a instanceof _.fr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,_.ib(b)&&(this.top+=b,this.bottom+=b));return this};_.h.scale=function(a,b){b=_.ib(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var Or,Ur,Sr,Xr,js,ks;_.Nr=function(a,b,c){if(_.Ua(b))(b=_.Mr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Mr(c,d);f&&(c.style[f]=e)}};Or={};_.Mr=function(a,b){var c=Or[b];if(!c){var d=_.Nc(b);c=d;void 0===a.style[d]&&(d=(_.ac?"Webkit":_.$b?"Moz":_.Wb?"ms":_.Vb?"O":null)+pr(d),void 0!==a.style[d]&&(c=d));Or[b]=c}return c};
_.Pr=function(a,b){var c=_.Nd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Qr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Rr=function(a,b){return _.Pr(a,b)||_.Qr(a,b)||a.style&&a.style[b]};_.Tr=function(a,b,c){if(b instanceof _.fr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Sr(d,!1);a.style.top=Sr(b,!1)};
Ur=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}_.Wb&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
_.Yr=function(a,b){b=b||_.kr(document);var c=b||_.kr(document);var d=_.Vr(a),e=_.Vr(c),f=_.Wr(c);if(c==_.kr(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.Wb&&!_.uc(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Xr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.fr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Vr=function(a){var b=_.Nd(a),c=new _.fr(0,0);var d=b?_.Nd(b):document;d=!_.Wb||_.uc(9)||_.hr(_.Od(d).Ta)?d.documentElement:d.body;if(a==d)return c;a=Ur(a);b=_.lr(_.Od(b).Ta);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.$r=function(a,b){var c=new _.fr(0,0),d=_.Td(_.Nd(a));if(!_.Sb(d,"parent"))return c;do{var e=d==b?_.Vr(a):_.Zr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Zr=function(a){a=Ur(a);return new _.fr(a.left,a.top)};
_.as=function(a,b,c){if(b instanceof _.gr)c=b.height,b=b.width;else if(void 0==c)throw Error("J");a.style.width=Sr(b,!0);a.style.height=Sr(c,!0)};Sr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.bs=function(a){var b=Xr;if("none"!=_.Rr(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};
Xr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.ac&&!b&&!c;return _.Ta(b)&&!d||!a.getBoundingClientRect?new _.gr(b,c):(a=Ur(a),new _.gr(a.right-a.left,a.bottom-a.top))};_.cs=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)+")")};_.ds=function(a,b){a.style.display=b?"":"none"};
_.fs=function(a){var b=_.Od(void 0),c=b.nb();if(_.Wb&&c.createStyleSheet)return b=c.createStyleSheet(),_.es(b,a),b;c=_.Qd(b.Ta,"HEAD",void 0,void 0)[0];if(!c){var d=_.Qd(b.Ta,"BODY",void 0,void 0)[0];c=b.ka("HEAD");d.parentNode.insertBefore(c,d)}d=b.ka("STYLE");_.es(d,a);b.appendChild(c,d);return d};_.es=function(a,b){b=_.wr(b);_.Wb&&_.Ta(a.cssText)?a.cssText=b:a.innerHTML=b};_.gs=function(a){return"rtl"==_.Rr(a,"direction")};_.hs=_.$b?"MozUserSelect":_.ac||_.Xb?"WebkitUserSelect":null;
_.is=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};js={thin:2,medium:4,thick:6};ks=function(a,b){if("none"==_.Qr(a,b+"Style"))return 0;b=_.Qr(a,b+"Width");return b in js?js[b]:_.is(a,b)};
_.Wr=function(a){if(_.Wb&&!_.uc(9)){var b=ks(a,"borderLeft"),c=ks(a,"borderRight"),d=ks(a,"borderTop");a=ks(a,"borderBottom");return new _.Lr(d,c,a,b)}b=_.Pr(a,"borderLeftWidth");c=_.Pr(a,"borderRightWidth");d=_.Pr(a,"borderTopWidth");a=_.Pr(a,"borderBottomWidth");return new _.Lr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

_.Ty=function(a){this.s1=a};_.Ty.prototype.toString=function(){return this.s1};_.Uy=function(a){_.cq.call(this);this.Uh=1;this.qw=[];this.xw=0;this.mf=[];this.vi={};this.DR=!!a};_.F(_.Uy,_.cq);_.h=_.Uy.prototype;_.h.subscribe=function(a,b,c){var d=this.vi[a];d||(d=this.vi[a]=[]);var e=this.Uh;this.mf[e]=a;this.mf[e+1]=b;this.mf[e+2]=c;this.Uh=e+3;d.push(e);return e};_.h.Gs=_.ea(35);_.h.unsubscribe=function(a,b,c){if(a=this.vi[a]){var d=this.mf;if(a=_.kj(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Gj(a)}return!1};
_.h.Gj=function(a){var b=this.mf[a];if(b){var c=this.vi[b];0!=this.xw?(this.qw.push(a),this.mf[a+1]=_.jb):(c&&_.aq(c,a),delete this.mf[a],delete this.mf[a+1],delete this.mf[a+2])}return!!b};
_.h.io=function(a,b){var c=this.vi[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.DR)for(e=0;e<c.length;e++){var g=c[e];Vy(this.mf[g+1],this.mf[g+2],d)}else{this.xw++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.mf[g+1].apply(this.mf[g+2],d)}finally{if(this.xw--,0<this.qw.length&&0==this.xw)for(;c=this.qw.pop();)this.Gj(c)}}return 0!=e}return!1};var Vy=function(a,b,c){_.Lj(function(){a.apply(b,c)})};
_.Uy.prototype.clear=function(a){if(a){var b=this.vi[a];b&&((0,_.ub)(b,this.Gj,this),delete this.vi[a])}else this.mf.length=0,this.vi={}};_.Uy.prototype.Hb=function(a){if(a){var b=this.vi[a];return b?b.length:0}a=0;for(b in this.vi)a+=this.Hb(b);return a};_.Uy.prototype.ta=function(){_.Uy.H.ta.call(this);this.clear();this.qw.length=0};
_.Wy=function(a){_.cq.call(this);this.Kd=new _.Uy(a);_.fq(this,this.Kd)};_.F(_.Wy,_.cq);_.h=_.Wy.prototype;_.h.subscribe=function(a,b,c){return this.Kd.subscribe(a.toString(),b,c)};_.h.Gs=_.ea(34);_.h.unsubscribe=function(a,b,c){return this.Kd.unsubscribe(a.toString(),b,c)};_.h.Gj=function(a){return this.Kd.Gj(a)};_.h.io=function(a,b){return this.Kd.io(a.toString(),b)};_.h.clear=function(a){this.Kd.clear(_.Ta(a)?a.toString():void 0)};_.h.Hb=function(a){return this.Kd.Hb(_.Ta(a)?a.toString():void 0)};

_.Xy=function(a,b){_.Wa(b)||(b=[b]);b=(0,_.wb)(b,function(c){return _.Ua(c)?c:c.uw+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Nr(a,"transition",b.join(","))};
_.Yy=_.Tc(function(){if(_.Wb)return _.rc("10.0");var a=_.Zd("DIV"),b=_.ac?"-webkit":_.$b?"-moz":_.Wb?"-ms":_.Vb?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Cr("div",{style:c});_.Dr(a,b);a=a.firstChild;b=a.style[_.Nc("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Mr(a,"transition")]||"")});

_.$y=function(){_.Zy="oauth2relay"+String(2147483647*(0,_.tg)()|0)};_.az=new _.Wy;_.bz=new _.Ty("oauth");_.$y();_.Q("oauth-flow/client_id");var cz=String(_.Q("oauth-flow/redirectUri"));if(cz)cz.replace(/[#][\s\S]*/,"");else{var dz=_.og.Pa(window.location.href);_.Q("oauth-flow/callbackUrl");encodeURIComponent(dz)}_.og.Pa(window.location.href);

var fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Xz,Wz,Yz,Zz,$z,aA,bA,cA,eA,fA,hA;_.ez=function(a,b){if(_.kh&&!b)return _.q.atob(a);var c="";_.gw(a,function(d){c+=String.fromCharCode(d)});return c};fz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};gz=function(a){return _.Q("enableMultilogin")&&a("cookie_policy")&&!fz(a)?!0:!1};
jz=function(){var a,b=null;_.Wh.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Xh(c.substring(11)),!a||c.Fe&&!a.Fe||c.Fe==a.Fe&&c.Ch>a.Ch)&&(a=c,b=d)});return{NR:a,authuser:b}};kz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];lz=function(a){a=a.toUpperCase();for(var b=0,c=kz.length;b<c;++b){var d=a.split(kz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Lh,b.EE(a),a=b.Og().toUpperCase());return a};
mz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};nz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],S_:mz(a[1]),Xaa:mz(a[2]),eaa:mz(a[3])}};oz=function(a){var b=jz(),c=b.NR;b=b.authuser;var d=a&&lz(a);if(null!==b){var e;_.Wh.iterate(function(g,k){(g=_.Yh(g))&&g.IB&&(d&&g.dS!=d||g.Fe==c.Fe&&g.Ch==c.Ch&&(e=k))});if(e){var f=nz(e);a=f&&f.S_[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Hba:a,clientId:f}}}return null};
pz=function(a,b){a=_.Hh(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};_.qz=function(a,b){if(b){var c=b;var d=a}else _.Ua(a)?d=a:c=a;c?_.iw(c,d):_.jw(d)};
rz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Jf.Pa(a));var b=window.location.hostname,c=b,d=_.Vh;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Qe("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 _.Qe("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Fe:d,Ch:b}};
sz=function(a){var b=rz(a);if(!b)return new _.Ph("G_USERSTATE_");a=["G_USERSTATE_",_.Vh&&b.Fe?"S":"H",b.Ch].join("");var c=_.bi[a];c||(c={bba:63072E3},_.re(_.fi(b),c),c=new _.Mh(a,c),_.bi[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};tz=function(a){var b=sz(a).read();a=_.pe();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
uz=function(a,b,c){var d=tz(b),e=d[a];d[a]="0";var f=[];_.Hl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=sz(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};vz=function(a,b){b=tz(b);return"0"==b[a]||"X"==b[a]};wz=function(a){a=rz(a.g_user_cookie_policy);if(!a||a.Fe&&!_.Vh)a=null;else{var b=["G_AUTHUSER_",_.Vh&&a.Fe?"S":"H",a.Ch].join(""),c=_.ai[b];c||(c=new _.Wh(b,_.fi(a)),_.ai[b]=c);a=c}_.He("googleapis.config/sessionIndex",null);a.clear()};xz=function(a){return fz(function(b){return a[b]})};
yz=0;zz=!1;Az=[];Bz={};Cz={};Dz=null;Ez=function(a){var b=_.Zy;return function(c){if(this.f==b&&this.t==_.Jf.Cl(this.f)&&this.origin==_.Jf.Rl(this.f))return a.apply(this,arguments)}};Fz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};Gz=function(a){var b=_.Me.Hc;if(null!=b(a).jsh)return a;if(b=String(b().jsh||_.ze.h||"")){var c=(a+"#").indexOf("#");a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c)}return a};
Hz=function(){return!!_.Q("oauth-flow/usegapi")};Iz=function(a,b){Hz()?Dz.unregister(a):_.Jf.unregister(a+":"+b)};Jz=function(a,b,c){Hz()?Dz.register(a,c,_.Tl):_.Jf.register(a+":"+b,Ez(c))};Kz=function(){hz.parentNode.removeChild(hz)};
Lz=function(a){var b=hz;_.Xy(b,[{uw:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Xy(b,[{uw:"transform",duration:1,timing:"ease",delay:0}]);_.oy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Mz=function(){var a=iz+88;Lz(a);iz=a};Nz=function(){var a=iz-88;Lz(a);iz=a};
Oz=function(a){var b=a?Mz:Nz,c=a?Nz:Mz;a=a?"-":"";iz=parseInt(a+88,10);hz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";hz.style.transform="translate3d(0px,"+a+88+"px,0px)";hz.style.display="";hz.style.visibility="visible";b();_.oy(c,4E3);_.oy(Kz,5E3)};
Pz=function(a){var b=_.Q("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");hz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Nr(c,"visibility","hidden");_.Nr(c,b,"-40px");_.Nr(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?"-":"";iz=parseInt(e+88,10);hz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";hz.style.transform="translate3d(0px,"+e+88+"px,0px)";e=window;try{for(;e.parent!=e&&e.parent.document;)e=e.parent}catch(f){}e=e.document.body;try{e.insertBefore(c,e.firstChild)}catch(f){}_.Fl.Xh({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Oz(!0):Oz(!1)}})};
Qz=function(a){var b=_.Zm(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.zk.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Rz=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!=oz(c)||!xz(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};Sz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Cf(_.ez(a,!0));if(!1===a)throw Error("va");return a};Tz=function(a){return(a=Sz(a))?a.sub:null};
Uz=function(a){a&&Az.push(a);a=_.Zy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(yz&&6E4>c-yz)return;var d=_.Jf.Cl(a);d&&(Iz("oauth2relayReady",d),Iz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.$y();a=_.Zy}yz=c;var e=String(2147483647*(0,_.tg)()|0);b=_.Q("oauth-flow/proxyUrl")||_.Q("oauth-flow/relayUrl");Hz()?Dz=_.Fl.Xh({where:_.Me.kI(),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(_.og.Pa(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Me.kI(),d=_.Me.pH({name:a,id:a}),d.src=Gz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,Fz(d),c.appendChild(d),_.Jf.vs(a));Jz("oauth2relayReady",e,function(){Iz("oauth2relayReady",e);var f=Az;if(null!==f){Az=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});Jz("oauth2callback",
e,function(f){var g=_.Me.Hc;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Cz,f)?Cz[f]:null;g.state=f;if(null!=g.state){f=Bz[k];delete Bz[k];k=f&&f.key||"token";var l=g=Rz(f&&f.params,g);var m=(m=Tz(l))?vz(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",zz||(zz=!0,Pz(l)));_.qz(k,g);g=pz(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)}}})};_.Vz=function(a){null===Az?a&&a():Uz(a)};Xz=function(a,b){var c=Wz,d=Tz(a);d&&(wz(a),uz(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=Rz(null,e);c(e)}}))};
Wz=function(a){a||(a=pz(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||(_.ze.drw=null);_.qz(a);if(b=a.authuser)_.Q("googleapis.config/sessionIndex"),_.He("googleapis.config/sessionIndex",b);_.az.io(_.bz,a);return a};Yz=["client_id","cookie_policy","response_type"];Zz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
$z=function(a){var b=_.uj(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);_.iw(b);return b};
aA=function(a){if(!_.Ta(a.include_granted_scopes)){var b=_.Q("include_granted_scopes");a.include_granted_scopes=!!b}};bA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
cA=function(a){var b=a||{},c={};(0,_.ub)(Zz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Q("googleapis/overrideClientId");null!=a&&(c.client_id=a);aA(c);_.Ua(b.scope)?c.scope=b.scope:_.Wa(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{_.dx(c.cookie_policy)}catch(d){c.cookie_policy&&
bA("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=_.Fh(),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};
_.dA=function(a,b){var c=cA(a),d=new _.Pj(function(e,f){_.Yx(c,function(g){var k=g||{};(0,_.ub)(Yz,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=$z(k),null!=g.authuser&&_.He("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};eA=_.pi.gA;fA=null;
_.iA=function(a,b){if("force"!==a.approvalprompt){a=_.gA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)fA?(a.client_id!==fA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(fA=a,b=!1);b||hA(a)}};
_.gA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.Bb)((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,_.Bb)(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};hA=function(a){_.Rn("waaf0","signin","0");_.dA(a,function(b){_.Rn("waaf1","signin","0");Wz(b)})}; _.jA=function(a){a=_.gA(a);_.He("oauth-flow/authWindowWidth",445);_.He("oauth-flow/authWindowHeight",615);hA(a)};_.kA=function(a){_.az.unsubscribe(_.bz,a);_.az.subscribe(_.bz,a)};
var rA,uA;_.mA=function(a){return a.cookiepolicy?!0:(_.lA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.lA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.qA=function(a,b){var c=_.Zm();_.re(a,c);c=Qz(c);if(_.mA(c)){var d=_.nA();_.oA(c);b?_.ye(b,"click",function(){_.pA(c,d)}):_.pA(c,d)}};
_.nA=function(){var a=new rA;_.kA(function(b){a.aC&&b&&(b.access_token&&_.He("isPlusUser",!0),b["g-oauth-window"]&&(a.aC=!1,_.Se("OTA app install is no longer supported.")))});return a};rA=function(){this.aC=!1};_.oA=function(a){a=_.sA(a);_.tA(a.callback);_.Vz(function(){_.iA(a)})};_.sA=function(a){uA(a);a.redirecturi&&delete a.redirecturi;gz(function(b){return a[b]})||(a.authuser=0);return a};uA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")}; _.tA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.lA('Callback function named "'+a+'" not found');return}a&&_.kA(a)};_.pA=function(a,b){b.aC=!0;a=_.sA(a);_.jA(a)};
_.z("gapi.auth.authorize",_.dA);_.z("gapi.auth.checkSessionState",function(a,b){var c=_.pe();c.client_id=a.client_id;c.session_state=a.session_state;_.Vz(function(){Hz()?Dz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Tl):_.Jf.call(_.Zy,"check_session_state",Ez(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.z("gapi.auth.getAuthHeaderValueForFirstParty",eA);_.z("gapi.auth.getToken",pz);
_.z("gapi.auth.getVersionInfo",function(a,b){_.Vz(function(){var c=_.oi()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Hz()?Dz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Tl):_.Jf.call(_.Zy,"get_versioninfo",Ez(function(f){a(f)}),d,b):a()})});_.z("gapi.auth.init",_.Vz);_.z("gapi.auth.setToken",_.qz);_.z("gapi.auth.signIn",function(a){_.qA(a)});_.z("gapi.auth.signOut",function(){var a=pz();a&&Xz(a,a.cookie_policy)}); _.z("gapi.auth.unsafeUnpackIdToken",Sz);_.z("gapi.auth._pimf",_.iA);_.z("gapi.auth._oart",Pz);_.z("gapi.auth._guss",function(a){return sz(a).read()});

_.vA=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.wA=function(){var a=_.Zm();_.vA(a)&&!_.Q("disableRealtimeCallback")?_.oA(a):_.Vz()};_.Dj(function(){_.wA()});
var xA,yA,zA,AA={HG:function(a){xA=a;try{delete AA.HG}catch(b){}},IG:function(a){yA=a;try{delete AA.IG}catch(b){}},JG:function(a){zA=a;try{delete AA.JG}catch(b){}}},BA=function(){var a=!0,b=_.qy(_.ey);b&&_.Ta(b.withCredentials)||(a=!1);return a},CA=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");_.mb(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"),_.mb(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},DA=function(a){_.yc.call(this,a)};_.F(DA,_.yc);DA.prototype.name="gapi.client.Error";
var EA=function(a){if(!a||!_.nb(a))throw new DA("Must provide a function.");this.If=null;this.WS=a};EA.prototype.then=function(a,b,c){this.If||(this.If=this.WS());return this.If.then(a,b,c)};EA.prototype.Zw=function(a){this.If||(this.If=a)};
var FA=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.Ug(a,c);d&&(c=_.Tg(c,d))&&_.Vg(b,c,d,!0)}return b},GA={error:{code:-1,message:"A network error occurred and the request could not be completed."}},HA=function(a,b,c,d){_.Ey.call(this);this.Uc=a;this.dC=b;this.sd=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.Ug(d,e),void 0!==b&&(e=_.Sg(e,b))&&_.Vg(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=
unescape(encodeURIComponent(a[e])));this.Uq=d;this.If=null};_.F(HA,_.Ey);
HA.prototype.then=function(a){this.If||(this.If=(new _.Pj(function(b,c){this.T("error",(0,_.G)(function(){c(IA(this))},this));this.T("success",(0,_.G)(function(){b(IA(this))},this));this.send(this.Uc,this.dC,this.sd,this.Uq)},this)).then(function(b){b.headers=FA(b.headers);return b},function(b){return b.status?(b.headers=FA(b.headers),_.Uj(b)):_.Uj({result:GA,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
return this.If.then.apply(this.If,arguments)};
var IA=function(a){var b=a.getStatus(),c=_.Ry(a);var d=204==b?!1:""==a.Hk?_.Cf(c):_.Sy(a);var e=a.getAllResponseHeaders();e=_.Wg(e,!1);try{var f=2<_.Py(a)?a.Ma.statusText:""}catch(g){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},JA=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,KA=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,LA=/;\s*charset\s*=/i,MA=/(([\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,NA=
function(a){var b=[];a=a.replace(MA,function(c){b.push(_.ez(c));return""});if(a.length)throw Error("ua");return b.join("")},OA=function(a){var b=a.headers;if(b&&"base64"===_.Ug(b,_.Bg.jy)){var c=NA(a.body),d=_.Ug(b,_.Bg.iy);b[_.Bg.le]=d;if(d.match(JA)||d.match(KA)&&!d.match(LA)){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=_.fw(d)}_.Vg(b,_.Bg.jy);_.Vg(b,_.Bg.iy);a.body=c}},PA=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(CA(b,c)||c);return a=_.xy(c,a)},QA=function(a){var b=_.Kt(a,"params","headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.Ug(b,c);d&&(_.Sg(c,d),_.Vg(a,c,d))}c="chrome-extension"==(window.location.href.match(_.qh)[1]||null);a=_.mi(a);return!(c&&a)&&BA()},RA=function(a,b){var c=a.params||_.pe();c.url=c.path;
var d=c.root;d=PA("/",_.mi(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.ri.tj("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?OA(e.gapiRequest.data):OA(e),b(e,_.Df(e))):b(e,f)})},SA=function(a){return new _.Pj(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.Cf(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};_.Cy(e.status)?
b(e):c(e)};try{RA(a,d)}catch(e){c(e)}})},TA=function(a){var b=!_.Q("client/cors")||!!_.Q("client/xd4"),c={};_.Hl(a,function(d,e){(d=_.Sg(e,d))||b||(d=_.Rg(e));d&&(e=_.Ug(a,d))&&_.Vg(c,d,e)});return c},UA=function(a){var b=a.params||_.pe();a=_.uj(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.vh(d,"$unique",d.search(_.wh))||0<=_.vh(d,e,d.search(_.wh)))){var f=[];for(g in a)Object.prototype.hasOwnProperty.call(a,g)&&f.push(g.toLowerCase());
f.sort();f.push(_.qg(location.href));var g=f.join(":");f=_.ji();f.update(g);g=f.Og().toLowerCase().substr(0,7);g=String(parseInt(g,16)%1E3+1E3).substr(1);d=_.wy(d,e,"gc"+g)}e=b.body||null;g=b.responseType||null;b=_.mi(a)||"1p"==b.authType;_.Vg(a,_.Bg.ky,void 0);a=TA(a);var k=new HA(d,c,e,a);k.uh=b;g&&(k.Hk=g);return new _.Pj(function(l,m){k.then(function(n){OA(n);l(n)},function(n){m(n)})})},VA=function(a,b){var c=function(d){d=_.uj(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Df(d))};UA(a).then(c,
c)},WA=function(a,b){(_.Q("client/cors")||_.Q("client/xd4"))&&QA(a)?VA(a,b):RA(a,b)},XA=function(a){this.Sc=a;this.qf=!1;this.promise={then:(0,_.G)(function(b,c,d){this.qf||(this.qf=!0);this.Xr&&!this.Vr?this.Sc.resolve(this.Xr):this.Vr&&!this.Xr&&this.Sc.reject(this.Vr);return this.Sc.promise.then(b,c,d)},this)}};XA.prototype.resolve=function(a){this.qf?this.Sc.resolve(a):this.Xr||this.Vr||(this.Xr=a)};XA.prototype.reject=function(a){this.qf?this.Sc.reject(a):this.Xr||this.Vr||(this.Vr=a)};
var YA=function(a){a=_.ty(a.error);return{code:a.code,data:a.errors,message:a.message}},ZA=function(a){throw Error("wa`"+a);};var $A=function(a){EA.call(this,$A.prototype.wm);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new DA("Missing required parameters");if(_.Ua(a)){var b={};b.path=a}else b=a;if(!b.path)throw new DA('Missing required parameter: "path"');this.ih={};this.ih.path=b.path;this.ih.method=b.method||"GET";this.ih.params=b.params||{};this.ih.headers=b.headers||{};this.ih.body=b.body;this.ih.root=b.root;this.ih.responseType=b.responseType;this.ih.apiId=b.apiId;this.Cp=b.authType||"auto";this.RX=!!b.isXd4;
this.TL=!1};_.F($A,EA);var aB=["appVersion","platform","userAgent"],bB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};$A.prototype.kg=function(){return this.ih};$A.prototype.vj=function(a){this.Cp=a};
$A.prototype.kj=function(){if(!this.TL){this.TL=!0;var a=this.ih,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=_.Ug(b,e);f&&(e=_.Sg(e,f)||_.Rg(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)_.Vg(b,d[c][0],d[c][1]);if(this.RX)d="1p"==this.Cp;else{d=b;c=_.Bg.bG;g=String(_.Q("client/version","1.1.0"));e=String(_.Q("client/name","google-api-javascript-client"));e=!0===bB[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));_.Vg(d,c,k.join(""));_.Vg(b,_.Bg.dG,"XMLHttpRequest");d=_.Ug(b,_.Bg.le);a.body&&!d&&_.Vg(b,_.Bg.le,"application/json");_.Q("client/allowExecutableResponse")||_.Vg(b,_.Bg.hy,"base64");(d=_.Ug(b,_.Bg.le))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.mb(d)&&(a.body=_.Df(d));a.key=a.id;b=_.ri.pR(b,void 0,this.Cp);d=_.mi(b);if((c=b)&&window.navigator){g=
[];for(e=0;e<aB.length;e++)(f=window.navigator[aB[e]])&&g.push(encodeURIComponent(aB[e])+"="+encodeURIComponent(f));_.Vg(c,_.Bg.XF,g.join("&"))}(c=_.Q("client/apiKey"))&&!_.Ta(a.params.key)&&(a.params.key=c);(c=_.Q("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.Cp&&(d?this.vj("1p"):(b=_.Ug(b,_.Bg.bF))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.vj("oauth2"):this.vj("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=_.Ig(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=_.Ig(g);if(g!=e)throw Error("z");"/"!=g.charAt(g.length-
1)&&(g+="/");c=_.xy(g,c);_.Mq(c,"/")&&(c=c.substring(0,c.length-1));g=_.pe();for(var l in b)Object.prototype.hasOwnProperty.call(b,l)&&(e=encodeURIComponent(l),g[e]=b[l]);c=_.uh(c,g);a.path=c;a.root=CA(!!d,a.root);a.url=PA(a.path,!!d,a.root)}};var cB=function(a){a.kj();var b=a.ih;return{key:"gapiRequest",params:{id:b.id,key:b.key,url:b.url,path:b.path,httpMethod:b.method,body:b.body||"",headers:b.headers||{},urlParams:{},root:b.root,authType:a.Cp}}};
$A.prototype.execute=function(a){var b=cB(this);WA(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=_.Cf(c.body)}catch(g){}a&&a(f,d)})};$A.prototype.wm=function(){var a=cB(this);return(_.Q("client/cors")||_.Q("client/xd4"))&&QA(a)?UA(a):SA(a)};$A.prototype.lk=function(){return this.wm()};$A.prototype.execute=$A.prototype.execute;$A.prototype.then=$A.prototype.then;$A.prototype.getPromise=$A.prototype.lk;
var dB=function(a){if(!a||"object"!=typeof a)throw new DA("Missing rpc parameters");if(!a.method)throw new DA("Missing rpc method");this.Jw=a};dB.prototype.Nl=function(){var a=this.Jw.transport;return a?a.root||null:null};dB.prototype.execute=function(a){var b=yA();b.add(this,{id:"gapiRpc",callback:this.xr(a)});b.execute()};
dB.prototype.Mv=function(a){var b=this.Jw.method,c=String,d;(d=this.Jw.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.Jw.rpcParams)&&(a.params=b);return a};
dB.prototype.xr=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.uj(b.error))}else d=b.result||b.data,_.mb(d)&&null==d.result&&(d.result=_.uj(b.result||b.data));else d=!1;a(d,c)}};dB.prototype.execute=dB.prototype.execute;
var fB=function(a,b){this.xf=b||0;2==this.xf?(b=null,null!=a&&_.mb(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 dB(b)):(0==this.xf&&(b=a&&a.callback)&&(a.callback=eB(b)),b=null,null!=a&&(_.mb(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):_.Ua(a)&&(b=a)),this.Kb=new $A(b))},
eB=function(a){return function(b){if(null!=b&&_.mb(b)&&b.error){var c=YA(b);b=_.Df([{id:"gapiRpc",error:c}]);c.error=_.ty(c)}else null!=b||(b={}),c=_.ty(b),c.result=_.ty(b),b=_.Df([{id:"gapiRpc",result:b}]);a(c,b)}};_.h=fB.prototype;_.h.getFormat=function(){return this.xf};_.h.execute=function(a){this.Kb.execute(a&&1==this.xf?eB(a):a)};_.h.then=function(a,b,c){2==this.xf&&ZA('The "then" method is not available on this object.');return this.Kb.then(a,b,c)};_.h.Zw=function(a){this.Kb.Zw&&this.Kb.Zw(a)};
_.h.kg=function(){if(this.Kb.kg)return this.Kb.kg()};_.h.kj=function(){this.Kb.kg&&this.Kb.kj()};_.h.Nl=function(){if(this.Kb.Nl)return this.Kb.Nl()};_.h.Mv=function(a){if(this.Kb.Mv)return this.Kb.Mv(a)};_.h.vj=function(a){this.Kb.vj&&this.Kb.vj(a)};_.h.lk=function(){if(this.Kb.lk)return this.Kb.lk()};fB.prototype.execute=fB.prototype.execute;fB.prototype.then=fB.prototype.then;fB.prototype.getPromise=fB.prototype.lk;
var gB=function(a){EA.call(this,gB.prototype.wm);this.Kb=a};_.F(gB,EA);_.h=gB.prototype;_.h.execute=function(a){var b=this.getFormat(),c=function(d){if(_.nb(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=eB(f),g={});var k=d?d.result:!1;d&&204==d.status&&(k=g,delete e.gapiRequest.data.body);d=_.Df(e);f(k,d)}};this.lk().then(c,c)};
_.h.wm=function(){return new _.Pj(function(a,b){var c=xA(),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="");_.Cy(f.status)?a(f):b(f);return}b(e)},b)},this)};_.h.kg=function(){if(this.Kb.kg)return this.Kb.kg()};_.h.kj=function(){this.Kb.kj&&this.Kb.kj()};_.h.Nl=function(){if(this.Kb.Nl)return this.Kb.Nl()};
_.h.vj=function(a){this.Kb.vj&&this.Kb.vj(a)};_.h.getFormat=function(){var a=void 0;this.Kb.getFormat&&(a=this.Kb.getFormat());void 0===a&&(a=0);return a};_.h.lk=function(){return this.wm()};gB.prototype.execute=gB.prototype.execute;gB.prototype.then=gB.prototype.then;gB.prototype.getPromise=gB.prototype.lk;
var hB=/<response-(.*)>/,iB=/^application\/http(;.+$|$)/,jB=function(a,b){a=_.Ug(a,b);if(!a)throw new DA("Unable to retrieve header.");return a},lB=function(a,b,c,d){var e="batch"+String(Math.round(2147483647*(0,_.tg)()))+String(Math.round(2147483647*(0,_.tg)())),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.kg().apiId;if(!_.Ua(l)){g="batch";break a}if(!_.Ta(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(kB(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")&&BA())return g.isXd4=!0,g.params={$ct:e},g.headers={},_.Vg(g.headers,_.Bg.le,"text/plain; charset=UTF-8"),c?g.authType="1p":d&&(g.authType="oauth2"),new $A(g);g.headers=
{};_.Vg(g.headers,_.Bg.le,e);return zA(g)},kB=function(a,b){var c=[];a=a.kg();var d=function(f,g){_.Hl(f,function(k,l){g.push(l+": "+k)})},e={};e[_.Bg.le]="application/http";e[_.Bg.Hx]="binary";e[_.Bg.Gx]="<"+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")},nB=function(a,b){a=mB(a,b);var c={};_.Ib(a,function(d,e){c[e]={result:d.result||d.body,rawResult:_.Df({id:e,result:d.result||d.body}),id:e}});return c},mB=function(a,b){a=
(0,_.Bb)(a);_.Mq(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.pe();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.Mq(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=oB(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=oB(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");OA(f);d=f}else d=null;
e=_.pe();f=jB(d.outerHeaders,_.Bg.le);if(null==iB.exec(f))throw new DA("Unexpected Content-Type <"+f+">");f=jB(d.outerHeaders,_.Bg.Gx);f=hB.exec(f);if(!f)throw new DA("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=_.Cf(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},oB=function(a,b){for(var c=[];b<a.length&& a[b];b++)c.push(a[b]);return _.Wg(c.join("\r\n"),!1)};
var pB=function(a){EA.call(this,pB.prototype.wm);this.Ob=[];this.Jf=a;this.eY=!!a;this.hB=this.gB=!1};_.F(pB,EA);var qB=function(a,b){for(var c=0;c<a.Ob.length;c++)if(a.Ob[c].id==b)return!0;return!1};_.h=pB.prototype;
_.h.add=function(a,b){b=b||_.pe();var c=_.pe();if(!a)throw new DA("Batch entry "+(_.qe(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");a.kj();c.request=a;var d=_.Zj();d=new XA(d);c.ro=d;a.Zw(c.ro.promise);d=a.kg().headers;_.mi(d)&&(this.gB=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.hB=!0);a=a.kg().root;if(!this.eY){if(a&&this.Jf&&a!=this.Jf)throw new DA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
this.Jf=a||this.Jf}if(_.qe(b,"id")){a=b.id;if(qB(this,a))throw new DA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(Math.round(2147483647*(0,_.tg)()));while(qB(this,c.id))}c.callback=b.callback;this.Ob.push(c);return c.id};_.h.execute=function(a){1>this.Ob.length||(_.Gl(this.Ob,function(b){b.request.kj()}),a=this.xr(a),lB(this.Ob,this.Jf,this.gB,this.hB).execute(a))};
_.h.wm=function(){if(1>this.Ob.length)return new _.Pj(function(d){d({})});_.Gl(this.Ob,function(d){d.request.kj()});var a=lB(this.Ob,this.Jf,this.gB,this.hB),b=(0,_.G)(function(d){rB(d);if(0!=jB(d.headers,_.Bg.le).indexOf("multipart/mixed"))throw new DA("The response's Content-Type is not multipart/mixed.");var e=jB(d.headers,_.Bg.le).split("boundary=")[1];if(!e)throw new DA("Boundary not indicated in response.");e=mB(d.body,"--"+e);d.result=e||{};for(var f=0;f<this.Ob.length;f++){var g=this.Ob[f],
k=e[g.id];k&&_.Cy(k.status)?g.ro.resolve(k):g.ro.reject(k)}return d},this),c=(0,_.G)(function(d){for(var e=0;e<this.Ob.length;e++){var f=this.Ob[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.ro.reject({result:g,body:_.Df(g),headers:null,status:null,statusText:null})}throw d;},this);return a.then(b,c)};
_.h.xr=function(a){return(0,_.G)(function(b,c){this.zy(b,c,a)},this)};
_.h.zy=function(a,b,c){try{a=sB(a,b);if(!a)throw new DA("The batch response is missing.");if(0!=jB(a.headers,_.Bg.le).indexOf("multipart/mixed"))throw new DA("The response's Content-Type is not multipart/mixed.");if(200<=a.status&&299>=a.status){var d=jB(a.headers,_.Bg.le).split("boundary=")[1];if(!d)throw new DA("Boundary not indicated in response.");var e=nB(a.body,"--"+d);for(a=0;a<this.Ob.length;a++){var f=this.Ob[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=_.Df(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:_.Df(f),headers:null,status:null,statusText:null};g=_.Df(e);if(this.Ob)for(a=0;a<this.Ob.length;a++)if(f=
this.Ob[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 sB=function(a,b){b&&!a&&(b=_.Cf(b))&&(a=b.gapiRequest?b.gapiRequest.data:b);rB(a);return a},rB=function(a){if(a){var b=a.headers;if(b){var c=_.pe(),d;for(d in b)if(Object.prototype.hasOwnProperty.call(b,d)){var e=_.Ug(b,d);_.Vg(c,d,e,!0)}a.headers=c}}};pB.prototype.add=pB.prototype.add; pB.prototype.execute=pB.prototype.execute;pB.prototype.then=pB.prototype.then;
var tB=function(){this.Ob=[];this.Jf=this.Rc=null};
tB.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.Cm=a;else throw new DA("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.Ob.length;d++)if(this.Ob[d].id==a)throw new DA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*(0,_.tg)()|0);while(d.call(this.Ob,c.id))}c.callback=b.callback;this.Ob.push(c);return c.id};
var uB=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)}};
tB.prototype.execute=function(a){this.Rc=[];for(var b,c,d=0;d<this.Ob.length;d++)b=this.Ob[d],c=b.Cm,this.Rc.push(c.Mv(b.id)),this.Jf=c.Nl()||this.Jf;b={requests:this.Rc,root:this.Jf};c=this.xr(a);a={};d=b.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var g=_.Ug(d,f);g&&(f=_.Sg(f,g)||_.Rg(f))&&_.Vg(a,f,g)}}_.Vg(a,_.Bg.le,"application/json");e=uB(c);zA({method:"POST",root:b.root||void 0,path:"/rpc",params:b.urlParams,headers:a,body:b.requests||[]}).then(e,e)};
tB.prototype.xr=function(a){var b=this;return function(c,d){b.zy(c,d,a)}};tB.prototype.zy=function(a,b,c){a||(a={});for(var d=0;d<this.Ob.length;d++){var e=this.Ob[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};AA.IG(function(){return new tB});tB.prototype.add=tB.prototype.add;tB.prototype.execute=tB.prototype.execute;
var vB=function(a,b){this.dZ=a;this.xf=b||null;this.Ep=null};vB.prototype.yB=function(a){this.xf=a;this.Ep=2==this.xf?new tB:new pB(this.dZ)};vB.prototype.add=function(a,b){if(!a)throw a=b||_.pe(),new DA("Batch entry "+(_.qe(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.xf&&this.yB(a.getFormat());this.xf!==a.getFormat()&&ZA("Unable to add item to batch.");var c=b&&b.callback;1==this.xf&&c&&(b.callback=function(d){d=wB(d);var e=_.Df([d]);c(d,e)});return this.Ep.add(a,b)};
vB.prototype.execute=function(a){var b=a&&1==this.xf?function(c){var d=[];_.Hl(c,function(f,g){f=wB(f);c[g]=f;d.push(f)});var e=_.Df(d);a(c,e)}:a;this.Ep&&this.Ep.execute(b)};var wB=function(a){var b=a?_.Kt(a,"result"):null;_.mb(b)&&null!=b.error&&(b=YA(b),a={id:a.id,error:b});return a};vB.prototype.then=function(a,b,c){2==this.xf&&ZA('The "then" method is not available on this object.');return this.Ep.then(a,b,c)};vB.prototype.add=vB.prototype.add;vB.prototype.execute=vB.prototype.execute; vB.prototype.then=vB.prototype.then;
var xB="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",yB=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+xB)},AB=function(a,b,c,d){if(_.mb(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new DA("Missing required parameters.");var g=c||function(){},k=_.mb(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 DA("API discovery response missing required fields."));else{l=k.root;l=null!=m.rootUrl?String(m.rootUrl):l;l=_.Ua(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)&&_.He(l,m.batchPath));var n=m.servicePath,p=m.parameters,t=function(v){_.Hl(v,function(u){if(!(u&&u.id&&u.path&&u.httpMethod))throw new DA("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.YE||(A.YE={servicePath:n||"",parameters:p,apiId:I});w=w[D];C[w]||(C[w]=_.jj(zB,{path:_.Ua(u.path)?u.path:null,httpMethod:_.Ua(u.httpMethod)?u.httpMethod:null,parameters:u.parameters,parameterName:(u.request||{}).parameterName||"",request:u.request,root:E},A.YE))})},r=function(v){_.Hl(v,
function(u){t(u.methods);r(u.resources)})};r(m.resources);t(m.methods);g.call()}};e?c({result:e}):0<f.indexOf("://")?zA({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):zA({path:yB(f,a),root:d&&d.root}).then(c,
c)},zB=function(a,b,c,d){var e=b.servicePath||"";_.Dc(e,"/")||(e="/"+e);var f=BB(a.path,[a.parameters,b.parameters],c||{});c=f.Dk;var g=f.y1;e=_.xy(e,f.path);f=g.root;delete g.root;var k=a.parameterName;!k&&1==_.sy(g)&&g.hasOwnProperty("resource")&&(k="resource");if(k){var l=g[k];delete g[k]}null!=l||(l=d);null==l&&a.request&&(_.Oq(g)&&(g=void 0),l=g);k={};var m=a.httpMethod;"GET"==m&&_.Ta(l)&&""!=String(l)&&(_.Vg(k,_.Bg.aG,m),m="POST");if((null==l||null!=d)&&g)for(var n in g)_.Ua(g[n])&&(c[n]=g[n]);
return zA({path:e,method:m,params:c,headers:k,body:l,root:f||a.root,apiId:b.apiId},1)},BB=function(a,b,c){c=_.uj(c);var d={};_.Gl(b,function(e){_.Hl(e,function(f,g){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,g))-1!=a.indexOf("{"+g+"}")?(f=_.nh(c[g]),a=a.replace("{"+g+"}",f)):-1!=a.indexOf("{+"+g+"}")&&(f=encodeURI(String(c[g])),a=a.replace("{+"+g+"}",f)),delete c[g];else{if(k)throw new DA("Required path parameter "+g+" is missing.");}else"query"==f.location&& Object.prototype.hasOwnProperty.call(c,g)&&(d[g]=c[g],delete c[g])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Dk:d,y1:c}};
var CB=function(a,b,c,d){var e=b||"v1",f=_.mb(d)?d:{root:d};if(c)AB(a,e,function(g){if(g)if(g.error)c(g);else{var k="API discovery was unsuccessful.";if(g.message||g.message)k=g.message||g.message;c({error:k,code:0})}else c()},f);else return new _.Pj(function(g,k){var l=function(m){m?k(m):g()};try{AB(a,e,l,f)}catch(m){k(m)}})},DB=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),EB=function(a,b){if(!a)throw new DA("Missing required parameters");
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new fB(c,b);if(c=!!_.Q("client/xd4")&&BA()){var d=b.kg();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(DB)}c&&(b=new gB(b));return a?(b.execute(a),null):b};AA.JG(function(a){return EB.apply(null,arguments)});
var FB=function(a,b){if(!a)throw new DA("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 fB({method:a,apiVersion:g.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},GB=function(a){return new vB(a)};AA.HG(function(a){return GB.apply(null,arguments)});var HB=function(a){_.Qe(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};
_.z("gapi.client.init",function(a){a.apiKey&&_.He("client/apiKey",a.apiKey);var b=(0,_.wb)(a.discoveryDocs||[],function(d){return CB(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.Pj(function(d,e){_.q.gapi.load("auth2",{callback:function(){_.q.gapi.auth2.init.call(_.q.gapi.auth2,a).then(function(){d()},e)},onerror:function(){e()}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Qe("client_id and scope must both be provided to initialize OAuth.");return _.Xj(b).then(function(){})});
_.z("gapi.client.load",CB);_.z("gapi.client.newBatch",GB);_.z("gapi.client.newRpcBatch",function(){HB("gapi.client.newRpcBatch");return GB()});_.z("gapi.client.newHttpBatch",function(a){HB("gapi.client.newHttpBatch");return new vB(a,0)});_.z("gapi.client.register",function(a,b){HB("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});FB(a,c)});_.z("gapi.client.request",EB);
_.z("gapi.client.rpcRequest",function(a,b,c){HB("gapi.client.rpcRequest");if(!a)throw new DA('Missing required parameter "method".');return new fB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.z("gapi.client.setApiKey",function(a){_.He("client/apiKey",a);_.He("googleapis.config/developerKey",a)});_.z("gapi.client.setApiVersions",function(a){HB("gapi.client.setApiVersions");_.He("googleapis.config/versions",a)});_.z("gapi.client.getToken",function(a){return _.Hh(a)});
_.z("gapi.client.setToken",function(a,b){a?_.iw(a,b):_.jw(b)});_.z("gapi.client.AuthType",{n2:"auto",NONE:"none",N6:"oauth2",A4:"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.
