var h,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},k="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ba=function(){ba=function(){};k.Symbol||(k.Symbol=ca)},ca=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),ea=function(){ba();var a=k.Symbol.iterator;a||(a=k.Symbol.iterator=k.Symbol("iterator"));"function"!=typeof Array.prototype[a]&& aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return da(this)}});ea=function(){}},da=function(a){var b=0;return fa(function(){return b>=8);b[c++]=e}return b};var na=null;var oa=function(){this.l=-1};var q=function(a,b,c){this.l=-1;this.B=a;this.l=c||a.l||16;this.Ma=Array(this.l);this.pa=Array(this.l);a=b;a.length>this.l&&(this.B.update(a),a=this.B.digest(),this.B.reset());for(c=0;ce;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.j[0];c=a.j[1];e=a.j[2];var g=a.j[3];var f=b+(g^c&(e^g))+d[0]+3614090360&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[1]+3905402710&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[2]+606105819&4294967295;e=g+(f<<17&4294967295|f>>> 15);f=c+(b^e&(g^b))+d[3]+3250441966&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[4]+4118548399&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[5]+1200080426&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[6]+2821735955&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[7]+4249261313&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[8]+1770035416&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[9]+2336552879&4294967295;g=b+(f<<12&4294967295| f>>>20);f=e+(c^g&(b^c))+d[10]+4294925233&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[11]+2304563134&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(g^c&(e^g))+d[12]+1804603682&4294967295;b=c+(f<<7&4294967295|f>>>25);f=g+(e^b&(c^e))+d[13]+4254626195&4294967295;g=b+(f<<12&4294967295|f>>>20);f=e+(c^g&(b^c))+d[14]+2792965006&4294967295;e=g+(f<<17&4294967295|f>>>15);f=c+(b^e&(g^b))+d[15]+1236535329&4294967295;c=e+(f<<22&4294967295|f>>>10);f=b+(e^g&(c^e))+d[1]+4129170786&4294967295;b=c+(f<< 5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[6]+3225465664&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[11]+643717713&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[0]+3921069994&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[5]+3593408605&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[10]+38016083&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[15]+3634488961&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[4]+3889429448&4294967295;c= e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[9]+568446438&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[14]+3275163606&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[3]+4107603335&4294967295;e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[8]+1163531501&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(e^g&(c^e))+d[13]+2850285829&4294967295;b=c+(f<<5&4294967295|f>>>27);f=g+(c^e&(b^c))+d[2]+4243563512&4294967295;g=b+(f<<9&4294967295|f>>>23);f=e+(b^c&(g^b))+d[7]+1735328473&4294967295; e=g+(f<<14&4294967295|f>>>18);f=c+(g^b&(e^g))+d[12]+2368359562&4294967295;c=e+(f<<20&4294967295|f>>>12);f=b+(c^e^g)+d[5]+4294588738&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[8]+2272392833&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[11]+1839030562&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[14]+4259657740&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[1]+2763975236&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[4]+1272893353&4294967295;g=b+(f<<11&4294967295| f>>>21);f=e+(g^b^c)+d[7]+4139469664&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[10]+3200236656&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[13]+681279174&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[0]+3936430074&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[3]+3572445317&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[6]+76029189&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(c^e^g)+d[9]+3654602809&4294967295;b=c+(f<<4&4294967295|f>>>28);f=g+(b^c^e)+d[12]+ 3873151461&4294967295;g=b+(f<<11&4294967295|f>>>21);f=e+(g^b^c)+d[15]+530742520&4294967295;e=g+(f<<16&4294967295|f>>>16);f=c+(e^g^b)+d[2]+3299628645&4294967295;c=e+(f<<23&4294967295|f>>>9);f=b+(e^(c|~g))+d[0]+4096336452&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[7]+1126891415&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[14]+2878612391&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[5]+4237533241&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[12]+1700485571& 4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[3]+2399980690&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[10]+4293915773&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[1]+2240044497&4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[8]+1873313359&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[15]+4264355552&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[6]+2734768916&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[13]+1309151649& 4294967295;c=e+(f<<21&4294967295|f>>>11);f=b+(e^(c|~g))+d[4]+4149444226&4294967295;b=c+(f<<6&4294967295|f>>>26);f=g+(c^(b|~e))+d[11]+3174756917&4294967295;g=b+(f<<10&4294967295|f>>>22);f=e+(b^(g|~c))+d[2]+718787259&4294967295;e=g+(f<<15&4294967295|f>>>17);f=c+(g^(e|~b))+d[9]+3951481745&4294967295;a.j[0]=a.j[0]+b&4294967295;a.j[1]=a.j[1]+(e+(f<<21&4294967295|f>>>11))&4294967295;a.j[2]=a.j[2]+e&4294967295;a.j[3]=a.j[3]+g&4294967295}; r.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.l,d=this.ab,e=this.U,g=0;gthis.U?this.l:2*this.l)-this.U);a[0]=128;for(var b=1;bb;++b)for(var d=0;32>d;d+=8)a[c++]=this.j[b]>>>d&255;return a};var qa,t,u=void 0,w=function(a){try{return l.JSON.parse.call(l.JSON,a)}catch(b){return!1}},x=function(a){return Object.prototype.toString.call(a)},ra=x(0),sa=x(new Date(0)),ta=x(!0),ua=x(""),va=x({}),wa=x([]),y=function(a,b){if(b)for(var c=0,d=b.length;c1/a&&(a="-0"),b[b.length]=String(a);else if(e===ta)b[b.length]=String(!!Number(a));else{if(e===sa)return y(a.toISOString.call(a),c);if(e===wa&&x(a.length)===ra){b[b.length]="[";var g=0;for(d=Number(a.length)>>0;g>0;g=e?"\\u"+(e+65536).toString(16).substr(1):32<=e&&65535>=e?d:"\ufffd";b[b.length]='"'}else if("object"===d){b[b.length]="{";d=0;for(g in a)Object.prototype.hasOwnProperty.call(a, g)&&(e=y(a[g],c),void 0!==e&&(d++&&(b[b.length]=","),b[b.length]=y(g),b[b.length]=":",b[b.length]=e));b[b.length]="}"}else return}return b.join("")}},xa=/[\0-\x07\x0b\x0e-\x1f]/,ya=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/,za=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/,Aa=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/,Ba=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g,Ca=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g,Da=/[ \t\n\r]+/g, Ea=/[^"]:/,Fa=/""/g,Ga=/true|false|null/g,Ha=/00/,Ia=/[\{]([^0\}]|0[^:])/,Ja=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/,Ka=/[^\[,:][\[\{]/,La=/^(\{|\}|\[|\]|,|:|0)+/,Ma=/\u2028/g,Na=/\u2029/g,Oa=function(a){a=String(a);if(xa.test(a)||ya.test(a)||za.test(a)||Aa.test(a))return!1;var b=a.replace(Ba,'""');b=b.replace(Ca,"0");b=b.replace(Da,"");if(Ea.test(b))return!1;b=b.replace(Fa,"0");b=b.replace(Ga,"0");if(Ha.test(b)||Ia.test(b)||Ja.test(b)||Ka.test(b)||!b||(b=b.replace(La,"")))return!1;a=a.replace(Ma,"\\u2028").replace(Na, "\\u2029");b=void 0;try{b=u?[w(a)]:eval("(function (var_args) {\n return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return b&&1===b.length?b[0]:!1},Pa=function(){var a=((l.document||{}).scripts||[]).length;if((void 0===qa||void 0===u||t!==a)&&-1!==t){qa=u=!1;t=-1;try{try{u=!!l.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===l.JSON.stringify.call(l.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===w("true")&&3===w('[{"a":3}]')[0].a}catch(b){}qa=u&&!w("[00]")&& !w('"\u0007"')&&!w('"\\0"')&&!w('"\\v"')}finally{t=a}}},Qa=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==(new Date(0)).toISOString(),Ra=function(){var a=Date.prototype.getUTCFullYear.call(this);return[0>a?"-"+String(1E6-a).substr(1):9999>=a?String(1E4+a).substr(1):"+"+String(1E6+a).substr(1),"-",String(101+Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1), ":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1E3+Date.prototype.getUTCMilliseconds.call(this)).substr(1),"Z"].join("")};Date.prototype.toISOString=Qa?Ra:Date.prototype.toISOString;var z,Sa=!1,A=function(a){try{Sa&&window.console&&window.console.log&&window.console.log(a)}catch(b){}},B=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;cB(a,b[c]))return!1;return!0},Ya=function(){if("undefined"!=typeof z)return z;a:{try{if(window.localStorage){var a=window.localStorage;break a}}catch(b){}a=void 0}if(!a)return z=!1;try{a.setItem("test","test"),a.removeItem("test"),z=!0}catch(b){z=!1}return z},Za=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)},D=function(){return Object.hasOwnProperty.call(window, "ActiveXObject")&&!window.ActiveXObject},$a=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1b;return b},bb=function(){var a=navigator.userAgent.toLowerCase();return-1a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")},E=window.JSON, F=function(a){this.ua=a||[];this.C={}};F.prototype.addEventListener=function(a,b){if(!(0<=B(this.ua,a)))throw"Unrecognized event type: "+a;if(!Ta(b))throw"The listener for event '"+a+"' is not a function.";this.C[a]||(this.C[a]=[]);0>B(this.C[a],b)&&this.C[a].push(b)};F.prototype.removeEventListener=function(a,b){if(!(0<=B(this.ua,a)))throw"Unrecognized event type: "+a;Ta(b)&&this.C[a]&&this.C[a].length&&(b=B(this.C[a],b),0<=b&&this.C[a].splice(b,1))}; F.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=B(this.ua,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.C[b]&&this.C[b].length)for(var c=0,d=this.C[b].length;ca.xb?(c.splice(0,1),0a.indexOf("?")?"?":"&",a+=b;e.open("GET",a,!0);e.setRequestHeader("X-Requested-With","XmlHttpRequest");if(c)for(var g in c)if(c.hasOwnProperty(g)){b= c[g];if(null===b||void 0===b)b="";e.setRequestHeader(g,b)}A("Call "+a+" with Get method.");e.send()},wb=function(a,b,c){M(I.va,{origin:a.f,client_id:b},null,c)},xb=function(a,b,c){b&&b.length?M(I.Da,{login_hint:b.join(" "),origin:a.f},null,c):c({activeHints:{}})},zb=function(a,b,c){b.origin=a.f;b=yb(b,I.za);M(I.Aa,b,null,c)},Ab=function(a,b,c){b.origin=a.f;b=yb(b,I.Va);M(I.ya,b,null,c)},Bb=function(a,b,c){b.origin=a.f;b=yb(b,I.Wa);M(I.ha,b,null,c)},Cb=function(a,b,c){vb(a,{token:b},c)},yb=function(a, b){for(var c={},d=0;db.expires_at-(new Date).getTime()?P(d).removeItem(d.h(a),c):Xa(b.scope,a.scope)&&Xa(a.scope,b.scope)?(b.expires_in=Math.floor((b.expires_at-(new Date).getTime())/1E3),c&&c(b)):P(d).removeItem(d.h(a),c):c&&c(void 0)})}; Hb.prototype.s=function(a,b,c,d){var e;b&&b.expires_at&&18E4b.R.expires_at-(new Date).getTime()?P(d).removeItem(d.h(a),c):Xa(b.R.scope,a.scope)?Xa(b.responseType,a.responseType)?(b=b.R,b.expires_in=Math.floor((b.expires_at-(new Date).getTime())/1E3),c&&c(b)):P(d).removeItem(d.h(a),c):P(d).removeItem(d.h(a),c):c&&c(void 0)})}; Ib.prototype.s=function(a,b,c,d){var e;b&&b.expires_at&&18E4c;c++)na[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c);c=na;for(var d=[],e=0;e>2;g=(g&3)<<4|n>>4;n=(n&15)<<2|v>>6;v&=63;m||(v=64,f||(n=64));d.push(c[kc],c[g],c[n],c[v])}b["X-Csrf-Token"]=d.join("")}return b};var lc=function(){};C(lc,Q);lc.prototype.h=function(a){a=void 0===a?{}:a;return["gsi_gs",void 0===a.origin?null:a.origin,void 0===a.clientId?null:a.clientId].join(I.i)};lc.prototype.o=function(a,b,c){var d=this;c=void 0===c?function(){}:c;Q.prototype.o.call(this,a,b,function(b){b?!b.expires_at||b.expires_at<=(new Date).getTime()?P(d).removeItem(d.h(a),function(){return c(null)}):(b.expires_at=void 0,c(b)):c(null)})}; lc.prototype.s=function(a,b,c,d){b&&(b.expires_at=(new Date).getTime()+864E5);Q.prototype.s.call(this,a,b,c,d)};W.prototype.hb=function(a){var b=this;a=void 0===a?{}:a;var c=a.id,d=void 0===a.params?{}:a.params,e=function(a){a&&a.sessions?(a=mc(g,a.sessions),U(b.b,c,a)):U(b.b,c,null)},g=d.loginHint;delete d.loginHint;var f=L(this.m);if(f){a=d.clientId;var n=d.request;d=d.sessionSelector;n.client_id=a;n.ss_domain=d.domain;var m=new lc,v={clientId:a,origin:this.f};m.o(v,f,function(a){a?e(a):jc(b.F,n,function(a){!a||a.error?e(null):m.s(v,a,f,function(){e(a)})})})}else e(null)}; function mc(a,b){if(!b.length)return null;var c=a.toLowerCase();b=ha(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.login_hint){if(a===d.obfuscatedGaiaId)return d.login_hint;if(d.emails&&d.emails.length)for(var e=ha(d.emails),g=e.next();!g.done;g=e.next())if(c===g.value.toLowerCase())return d.login_hint}return null};W.prototype.ib=function(a){a=void 0===a?{}:a;a=void 0===a.params?{}:a.params;var b=!!a.clientId&&!K(a.clientId),c=!!a.request,d=!!a.sessionSelector;return!!a.loginHint&&b&&c&&d};W.prototype.Ga=function(){var a={w:[],I:[]};gc(this,a);a.w.push({method:"gsi:fetchLoginHint",A:X(this,this.hb),K:!0,D:X(this,this.ib)});return a};I.ia="APISID";I.Ba="SAPISID";I.Da="/o/oauth2/iframerpc?action=sessionState";I.va="/o/oauth2/iframerpc?action=checkOrigin";I.Aa="/o/oauth2/iframerpc?action=issueToken";I.ya="/o/oauth2/iframerpc?action=issueOnlineCode";I.ha="/o/oauth2/iframerpc?action=listSessions"; var nc=function(){var a=Va("origin");if(!a)throw"Failed to get parent origin from URL hash!";var b=Va("rpcToken");if(!b)throw"Failed to get rpcToken from URL hash!";var c=Va("debug");Sa="0"!=c&&!!c;(new W(a,b)).start()},oc=["lso","startIdpIFrame"],Y=l;oc[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+oc[0]);for(var Z;oc.length&&(Z=oc.shift());)oc.length||void 0===nc?Y=Y[Z]&&Y[Z]!==Object.prototype[Z]?Y[Z]:Y[Z]={}:Y[Z]=nc;