gapi.loaded_1(function(_){var window=this;
_.xi=function(a){for(var b in a)return!1;return!0};_.Bi=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Ci,Di,Fi;Ci={};Di=null;_.Ei=_.ud||_.vd||!_.wi&&!_.qd&&"function"==typeof _.r.atob;_.Gi=function(a,b){void 0===b&&(b=0);Fi();b=Ci[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],l=a[e+2],m=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")};
_.Hi=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=Di[m];if(null!=n)return n;if(!_.Ic(m))throw Error("E`"+m);}return l}Fi();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
Fi=function(){if(!Di){Di={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Ci[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Di[f]&&(Di[f]=e)}}}};
_.aj={};var cj;_.bj=function(a){this.Hb=a||{cookie:""}};_.g=_.bj.prototype;_.g.isEnabled=function(){if(!_.r.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{QI:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.cra;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.QI}if(/[;=\s]/.test(a))throw Error("H`"+a);if(/[;\r\n]/.test(b))throw Error("I`"+b);void 0===k&&(k=-1);this.Hb.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.Hb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.Jc)(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.cj(a);this.set(a,"",{QI:0,path:b,domain:c});return d};_.g.Gg=function(){return cj(this).keys};_.g.Jd=function(){return cj(this).values};_.g.isEmpty=function(){return!this.Hb.cookie};_.g.Tb=function(){return this.Hb.cookie?(this.Hb.cookie||"").split(";").length:0};
_.g.cj=function(a){return void 0!==this.get(a)};_.g.sk=function(a){for(var b=cj(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=cj(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};cj=function(a){a=(a.Hb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.Jc)(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}};
_.dj=new _.bj("undefined"==typeof document?null:document);
_.oj={};_.pj=function(a){return _.oj[a||"token"]||null};
_.Ij=function(a){a&&"function"==typeof a.Ia&&a.Ia()};_.Jj=function(){this.dh=this.dh;this.lp=this.lp};_.Jj.prototype.dh=!1;_.Jj.prototype.isDisposed=function(){return this.dh};_.Jj.prototype.Ia=function(){this.dh||(this.dh=!0,this.ua())};_.Lj=function(a,b){_.Kj(a,_.$a(_.Ij,b))};_.Kj=function(a,b){a.dh?b():(a.lp||(a.lp=[]),a.lp.push(b))};_.Jj.prototype.ua=function(){if(this.lp)for(;this.lp.length;)this.lp.shift()()};
var Qj=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.Zd.prototype.O=_.hb(1,function(a){return _.ze(this.Hb,a)});_.Rj=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Sj=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.Uj=function(a,b){this.type="function"==typeof _.Tj&&a instanceof _.Tj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Zv=!1};_.Uj.prototype.stopPropagation=function(){this.Zv=!0};_.Uj.prototype.preventDefault=function(){this.defaultPrevented=!0};var Wj=function(){if(!_.r.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};_.r.addEventListener("test",c,b);_.r.removeEventListener("test",c,b)}catch(d){}return a}();_.Xj=function(a,b){_.Uj.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.PJ=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.nf=null;a&&this.Ad(a,b)};_.ab(_.Xj,_.Uj);var Yj={2:"touch",3:"pen",4:"mouse"};
_.Xj.prototype.Ad=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)?_.ud&&(_.od(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=_.vd||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.vd||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.PJ=_.xd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Yj[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.nf=a;a.defaultPrevented&&_.Xj.N.preventDefault.call(this)};_.Xj.prototype.stopPropagation=function(){_.Xj.N.stopPropagation.call(this);this.nf.stopPropagation?this.nf.stopPropagation():this.nf.cancelBubble=!0};_.Xj.prototype.preventDefault=function(){_.Xj.N.preventDefault.call(this);var a=this.nf;a.preventDefault?a.preventDefault():a.returnValue=!1};_.Zj="closure_listenable_"+(1E6*Math.random()|0);_.ak=function(a){return!(!a||!a[_.Zj])};var bk=0;var ck=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Vf=e;this.key=++bk;this.fw=this.uy=!1},dk=function(a){a.fw=!0;a.listener=null;a.proxy=null;a.src=null;a.Vf=null};var ek=function(a){this.src=a;this.ze={};this.px=0};ek.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ze[f];a||(a=this.ze[f]=[],this.px++);var h=fk(a,b,d,e);-1<h?(b=a[h],c||(b.uy=!1)):(b=new ck(b,this.src,f,!!d,e),b.uy=c,a.push(b));return b};ek.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ze))return!1;var e=this.ze[a];b=fk(e,b,c,d);return-1<b?(dk(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.ze[a],this.px--),!0):!1};
var gk=function(a,b){var c=b.type;if(!(c in a.ze))return!1;var d=_.nb(a.ze[c],b);d&&(dk(b),0==a.ze[c].length&&(delete a.ze[c],a.px--));return d};ek.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.ze)if(!a||c==a){for(var d=this.ze[c],e=0;e<d.length;e++)++b,dk(d[e]);delete this.ze[c];this.px--}return b};ek.prototype.Zq=function(a,b,c,d){a=this.ze[a.toString()];var e=-1;a&&(e=fk(a,b,c,d));return-1<e?a[e]:null};
ek.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Qj(this.ze,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var fk=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.fw&&f.listener==b&&f.capture==!!c&&f.Vf==d)return e}return-1};var hk,ik,jk,nk,pk,qk,rk,uk;hk="closure_lm_"+(1E6*Math.random()|0);ik={};jk=0;_.lk=function(a,b,c,d,e){if(d&&d.once)return _.kk(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.lk(a,b[f],c,d,e);return null}c=_.mk(c);return _.ak(a)?a.ma(b,c,_.Rb(d)?!!d.capture:!!d,e):nk(a,b,c,!1,d,e)};
nk=function(a,b,c,d,e,f){if(!b)throw Error("J");var h=_.Rb(e)?!!e.capture:!!e,k=_.ok(a);k||(a[hk]=k=new ek(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=pk();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Wj||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(qk(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("K");jk++;return c};pk=function(){var a=rk,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.kk=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.kk(a,b[f],c,d,e);return null}c=_.mk(c);return _.ak(a)?a.Lr(b,c,_.Rb(d)?!!d.capture:!!d,e):nk(a,b,c,!0,d,e)};_.sk=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.sk(a,b[f],c,d,e);else d=_.Rb(d)?!!d.capture:!!d,c=_.mk(c),_.ak(a)?a.Kc(b,c,d,e):a&&(a=_.ok(a))&&(b=a.Zq(b,c,d,e))&&_.tk(b)};
_.tk=function(a){if("number"===typeof a||!a||a.fw)return!1;var b=a.src;if(_.ak(b))return b.mN(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(qk(c),d):b.addListener&&b.removeListener&&b.removeListener(d);jk--;(c=_.ok(b))?(gk(c,a),0==c.px&&(c.src=null,b[hk]=null)):dk(a);return!0};qk=function(a){return a in ik?ik[a]:ik[a]="on"+a};
rk=function(a,b){if(a.fw)a=!0;else{b=new _.Xj(b,this);var c=a.listener,d=a.Vf||a.src;a.uy&&_.tk(a);a=c.call(d,b)}return a};_.ok=function(a){a=a[hk];return a instanceof ek?a:null};uk="__closure_events_fn_"+(1E9*Math.random()>>>0);_.mk=function(a){if("function"===typeof a)return a;a[uk]||(a[uk]=function(b){return a.handleEvent(b)});return a[uk]};_.Pj(function(a){rk=a(rk)});_.vk=function(){_.Jj.call(this);this.Dk=new ek(this);this.s5=this;this.HJ=null};_.ab(_.vk,_.Jj);_.vk.prototype[_.Zj]=!0;_.g=_.vk.prototype;_.g.Co=function(){return this.HJ};_.g.fD=function(a){this.HJ=a};_.g.addEventListener=function(a,b,c,d){_.lk(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.sk(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Co();if(c)for(b=[];c;c=c.Co())b.push(c);c=this.s5;var d=a.type||a;if("string"===typeof a)a=new _.Uj(a,c);else if(a instanceof _.Uj)a.target=a.target||c;else{var e=a;a=new _.Uj(d,c);_.tb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Zv&&0<=f;f--){var h=a.currentTarget=b[f];e=h.pu(d,!0,a)&&e}a.Zv||(h=a.currentTarget=c,e=h.pu(d,!0,a)&&e,a.Zv||(e=h.pu(d,!1,a)&&e));if(b)for(f=0;!a.Zv&&f<b.length;f++)h=a.currentTarget=b[f],e=h.pu(d,!1,a)&&e;return e};
_.g.ua=function(){_.vk.N.ua.call(this);this.hK();this.HJ=null};_.g.ma=function(a,b,c,d){return this.Dk.add(String(a),b,!1,c,d)};_.g.Lr=function(a,b,c,d){return this.Dk.add(String(a),b,!0,c,d)};_.g.Kc=function(a,b,c,d){return this.Dk.remove(String(a),b,c,d)};_.g.mN=function(a){return gk(this.Dk,a)};_.g.hK=function(){this.Dk&&this.Dk.removeAll(void 0)};
_.g.pu=function(a,b,c){a=this.Dk.ze[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.fw&&f.capture==b){var h=f.listener,k=f.Vf||f.src;f.uy&&this.mN(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Zq=function(a,b,c,d){return this.Dk.Zq(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.Dk.hasListener(void 0!==a?String(a):void 0,b)};
var st;st=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.tt=function(a,b,c,d){return Array.prototype.splice.apply(a,st(arguments,1))};_.ut=function(a,b,c){if(null!==a&&b in a)throw Error("k`"+b);a[b]=c};_.vt=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.be(c,"*",a,b)[0]||null}return a||null};
_.wt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.xt=function(a){var b;if(_.Qd&&(b=a.parentElement))return b;b=a.parentNode;return _.ve(b)?b:null};_.zt=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.At=function(a){_.Jj.call(this);this.Le=a;this.lc={}};_.ab(_.At,_.Jj);var Bt=[];_.At.prototype.ma=function(a,b,c,d){return this.Av(a,b,c,d)};
_.At.prototype.Av=function(a,b,c,d,e){Array.isArray(b)||(b&&(Bt[0]=b.toString()),b=Bt);for(var f=0;f<b.length;f++){var h=_.lk(a,b[f],c||this.handleEvent,d||!1,e||this.Le||this);if(!h)break;this.lc[h.key]=h}return this};_.At.prototype.Lr=function(a,b,c,d){return Ct(this,a,b,c,d)};var Ct=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Ct(a,b,c[h],d,e,f);else{b=_.kk(b,c,d||a.handleEvent,e,f||a.Le||a);if(!b)return a;a.lc[b.key]=b}return a};
_.At.prototype.Kc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Kc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Rb(d)?!!d.capture:!!d,e=e||this.Le||this,c=_.mk(c),d=!!d,b=_.ak(a)?a.Zq(b,c,d,e):a?(a=_.ok(a))?a.Zq(b,c,d,e):null:null,b&&(_.tk(b),delete this.lc[b.key]);return this};_.At.prototype.removeAll=function(){_.pb(this.lc,function(a,b){this.lc.hasOwnProperty(b)&&_.tk(a)},this);this.lc={}};_.At.prototype.ua=function(){_.At.N.ua.call(this);this.removeAll()};
_.At.prototype.handleEvent=function(){throw Error("S");};
var cv,dv,ev,fv,gv,iv,jv,kv,lv,nv;_.bv=!1;cv=function(a){try{_.bv&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};dv=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};ev=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};
fv=function(a,b){function c(){}if(!a)throw Error("V");if(!b)throw Error("W");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};gv=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.hv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};iv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
jv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("X`"+b);};kv={token:1,id_token:1};lv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.mv=window.JSON;nv=function(a){this.BN=a||[];this.zc={}};
nv.prototype.addEventListener=function(a,b){if(!(0<=ev(this.BN,a)))throw Error("Z`"+a);if(!gv(b))throw Error("$`"+a);this.zc[a]||(this.zc[a]=[]);0>ev(this.zc[a],b)&&this.zc[a].push(b)};nv.prototype.removeEventListener=function(a,b){if(!(0<=ev(this.BN,a)))throw Error("Z`"+a);gv(b)&&this.zc[a]&&this.zc[a].length&&(b=ev(this.zc[a],b),0<=b&&this.zc[a].splice(b,1))};
nv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=ev(this.BN,b)))throw Error("aa`"+b);if(this.zc[b]&&this.zc[b].length)for(var c=this.zc[b].length,d=0;d<c;d++)this.zc[b][d](a)};var ov,pv,qv,uv,vv,Mv,Nv,Pv,Qv,Sv,bw;ov={};pv={};qv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.rv=function(a,b){if(a=qv[a])return a[b]};_.sv=function(a,b){if(!a)throw Error("ba");if(!b.authServerUrl)throw Error("ca");if(!b.idpIFrameUrl)throw Error("da");qv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.tv=void 0;
uv=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")};vv=function(){this.Ui=window;this.Py=this.Sn=this.Wv=this.Ji=null};
vv.prototype.open=function(a,b,c,d){wv(this);this.Wv?(this.Sn&&(this.Sn(),this.Sn=null),xv(this)):this.Wv="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Ji=this.Ui.open(a,this.Wv,b);try{this.Ji.focus();if(this.Ji.closed||"undefined"==typeof this.Ji.closed)throw Error("fa");_.tv=this.Ji}catch(e){d&&setTimeout(d,0);this.Ji=null;break a}c&&(this.Sn=c,yv(this))}};
var wv=function(a){try{if(null==a.Ji||a.Ji.closed)a.Ji=null,a.Wv=null,xv(a),a.Sn&&(a.Sn(),a.Sn=null)}catch(b){a.Ji=null,a.Wv=null,xv(a)}},yv=function(a){a.Py=window.setInterval(function(){wv(a)},300)},xv=function(a){a.Py&&(window.clearInterval(a.Py),a.Py=null)};pv=pv||{};var zv=function(a,b){this.mc=a;this.eI=b;this.Qd=null;this.Lo=!1};zv.prototype.start=function(){if(!this.Lo&&!this.Qd){var a=this;this.Qd=window.setTimeout(function(){a.clear();a.Lo||(a.mc(),a.Lo=!0)},pv.mT(this.eI))}};
zv.prototype.clear=function(){this.Qd&&(window.clearTimeout(this.Qd),this.Qd=null)};var Av=function(a,b){var c=pv.rt;this.R$=pv.jt;this.J0=c;this.mc=a;this.eI=b;this.Qd=null;this.Lo=!1;var d=this;this.K0=function(){document[d.R$]||(d.clear(),d.start())}};Av.prototype.start=function(){if(!this.Lo&&!this.Qd){jv(document,this.J0,this.K0);var a=this;this.Qd=window.setTimeout(function(){a.clear();a.Lo||(a.mc(),a.Lo=!0)},pv.mT(this.eI))}};
Av.prototype.clear=function(){var a=this.J0,b=this.K0,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("Y`"+a);this.Qd&&(window.clearTimeout(this.Qd),this.Qd=null)};pv.jt=null;pv.rt=null;
pv.vaa=function(){var a=document;"undefined"!==typeof a.hidden?(pv.jt="hidden",pv.rt="visibilitychange"):"undefined"!==typeof a.msHidden?(pv.jt="msHidden",pv.rt="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(pv.jt="webkitHidden",pv.rt="webkitvisibilitychange")};pv.vaa();pv.J6=function(a,b){return pv.jt&&pv.rt?new Av(a,b):new zv(a,b)};pv.mT=function(a){return Math.max(1,a-(new Date).getTime())};
var Bv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Cv=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 q=h,t=0;64>t;t+=4)q[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=q[t-3]^q[t-8]^q[t-14]^q[t-16],q[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],x=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var z=w^v&(u^w);var F=1518500249}else z=
v^u^w,F=1859775393;else 60>t?(z=v&u|w&(v|u),F=2400959708):(z=v^u^w,F=3395469782);z=((p<<5|p>>>27)&4294967295)+z+x+F+q[t]&4294967295;x=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=z}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]+x&4294967295}function c(p,q){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v<u;++v)t.push(p.charCodeAt(v));p=t}q||(q=p.length);t=0;if(0==m)for(;t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64;for(;t<
q;)if(f[m++]=p[t++],n++,64==m)for(m=0,b(f);t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64}function d(){var p=[],q=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;5>t;t++)for(var v=24;0<=v;v-=8)p[q++]=e[t]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,dj:function(){for(var p=d(),q="",t=0;t<p.length;t++)q+="0123456789ABCDEF".charAt(Math.floor(p[t]/16))+"0123456789ABCDEF".charAt(p[t]%16);return q}}},Dv=
window.crypto,Ev=!1,Fv=0,Gv=1,Hv=0,Iv="",Jv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Gv=Gv*b%Hv;if(3==++Fv)if(a=window,b=Jv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("Y`mousemove");},Kv=function(a){var b=Cv();b.update(a);return b.dj()};Ev=!!Dv&&"function"==typeof Dv.getRandomValues;
Ev||(Hv=1E6*(screen.width*screen.width+screen.height),Iv=Kv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),jv(window,"mousemove",Jv));ov=ov||{};ov.K2="ssIFrame_";
_.Lv=function(a,b,c){c=void 0===c?!1:c;this.Jb=a;if(!this.Jb)throw Error("ga");a=_.rv(a,"idpIFrameUrl");if(!a)throw Error("ha");this.wU=a;if(!b)throw Error("ia");this.vn=b;a=this.wU;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.OH=a.join("");this.aea=[location.protocol,"//",location.host].join("");
this.bx=this.NH=this.Po=!1;this.sU=null;this.MB=[];this.ls=[];this.lk={};this.Qo=void 0;this.Xw=c};_.g=_.Lv.prototype;_.g.show=function(){var a=this.Qo;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")};_.g.kc=function(){uv(this.Qo)};
_.g.oB=function(a){if(this.Po)a&&a(this);else{if(!this.Qo){var b=ov.K2+this.Jb;var c=this.Jb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=ev(e.split("|"),c))?Bv(e,d):Bv(e?e+"|"+c:c,d);c=!f;var h=this.wU,k=this.aea;d=this.vn;e=this.Xw;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&gv(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);uv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.bv&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Qo=f}a&&this.MB.push(a)}};_.g.ZA=function(){return this.Po&&this.bx};_.g.Ao=function(){return this.sU};
Mv=function(a){for(var b=0;b<a.MB.length;b++)a.MB[b](a);a.MB=[]};_.Ov=function(a,b,c,d){if(a.Po){if(a.Po&&a.NH)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Ao(),cv(a),Error(a);Nv(a,{method:b,params:c},d)}else a.ls.push({Ip:{method:b,params:c},callback:d}),a.oB()};Nv=function(a,b,c){if(c){for(var d=b.id;!d||a.lk[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.lk[d]=c}b.rpcToken=a.vn;a.Qo.contentWindow.postMessage(_.mv.stringify(b),a.OH)};
Pv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ja");};_.Lv.prototype.Gj=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Pv(f);b=_.hv(b);_.Ov(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Lv.prototype.mB=function(a,b,c,d,e){b=_.hv(b);_.Ov(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Qv=function(a,b,c){Pv(b.identifier);_.Ov(a,"getSessionSelector",b,c)};
_.Rv=function(a,b,c,d,e){Pv(b.identifier);_.Ov(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Sv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Ov(a,"monitorClient",b,e)};_.Lv.prototype.revoke=_.ea(9);_.Lv.prototype.Jt=_.ea(11);ov.BA={};ov.NG=function(a){return ov.BA[a]};
ov.oB=function(a,b,c){c=void 0===c?!1:c;var d=ov.NG(a);if(!d){d=String;if(Ev){var e=new window.Uint32Array(1);Dv.getRandomValues(e);e=Number("0."+e[0])}else e=Gv,e+=parseInt(Iv.substr(0,20),16),Iv=Kv(Iv),e/=Hv+Math.pow(16,20);d=new _.Lv(a,d(2147483647*e),c);ov.BA[a]=d}d.oB(b)};ov.n8=function(a){for(var b in ov.BA){var c=ov.NG(b);if(c&&c.Qo&&c.Qo.contentWindow==a.source&&c.OH==a.origin)return c}};ov.W8=function(a){for(var b in ov.BA){var c=ov.NG(b);if(c&&c.OH==a)return c}};ov=ov||{};
var Uv=function(){var a=[],b;for(b in Tv)a.push(Tv[b]);nv.call(this,a);this.Lm={};cv("EventBus is ready.")};fv(Uv,nv);var Tv={v4:"sessionSelectorChanged",wE:"sessionStateChanged",aE:"authResult",I1:"displayIFrame"},Wv=function(a,b){var c=Vv;a&&b&&(c.Lm[a]||(c.Lm[a]=[]),0>ev(c.Lm[a],b)&&c.Lm[a].push(b))},Xv=function(a){var b=Vv;a&&(b.Lm[a]||(b.Lm[a]=[]))},Yv=function(a,b,c){return b&&a.Lm[b]&&0<=ev(a.Lm[b],c)};_.g=Uv.prototype;
_.g.dda=function(a){var b,c=!!a.source&&(a.source===_.tv||a.source.opener===window);if(b=c?ov.W8(a.origin):ov.n8(a)){try{var d=_.mv.parse(a.data)}catch(e){cv("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.vn){cv("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.lk[c.id])delete b.lk[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?cv("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.vU[a.type]?(d=this.vU[a.type],
c&&!d.x5?cv("Bad IDP event. Source window cannot be a popup."):d.bt&&!d.bt.call(this,b,a)?cv("Bad IDP event."):d.Vf.call(this,b,a)):cv("Bad IDP event.")}else cv("Bad event, no corresponding Idp Stub.")};_.g.Aea=function(a,b){return Yv(this,a.Jb,b.clientId)};_.g.zea=function(a,b){a=a.Jb;b=b.clientId;return!b||Yv(this,a,b)};_.g.M5=function(a,b){return Yv(this,a.Jb,b.clientId)};
_.g.hca=function(a,b){a.Po=!0;a.bx=!!b.cookieDisabled;Mv(a);for(b=0;b<a.ls.length;b++)Nv(a,a.ls[b].Ip,a.ls[b].callback);a.ls=[]};_.g.gca=function(a,b){b={error:b.error};a.Po=!0;a.NH=!0;a.sU=b;a.ls=[];Mv(a)};_.g.mC=function(a,b){b.originIdp=a.Jb;this.dispatchEvent(b)};var Vv=new Uv,Zv=Vv,$v={};$v.idpReady={Vf:Zv.hca};$v.idpError={Vf:Zv.gca};$v.sessionStateChanged={Vf:Zv.mC,bt:Zv.Aea};$v.sessionSelectorChanged={Vf:Zv.mC,bt:Zv.zea};$v.authResult={Vf:Zv.mC,bt:Zv.M5,x5:!0};$v.displayIFrame={Vf:Zv.mC};
Vv.vU=$v||{};jv(window,"message",function(a){Vv.dda.call(Vv,a)});
_.aw=function(a,b){this.Ve=!1;if(!a)throw Error("ka");var c=[],d;for(d in a)c.push(a[d]);nv.call(this,c);this.Ld=[location.protocol,"//",location.host].join("");this.Ie=b.crossSubDomains?b.domain||this.Ld:this.Ld;if(!b)throw Error("la");if(!b.idpId)throw Error("ma");if(!_.rv(b.idpId,"authServerUrl")||!_.rv(b.idpId,"idpIFrameUrl"))throw Error("na`"+b.idpId);this.Jb=b.idpId;this.qc=void 0;this.R6=!!b.disableTokenRefresh;this.L7=!!b.forceTokenRefresh;this.zfa=!!b.skipTokenCache;this.Xw=!!b.supportBlocked3PCookies;
b.pluginName&&(this.Sca=b.pluginName);b.ackExtensionDate&&(this.o5=b.ackExtensionDate);this.setOptions(b);this.Ut=[];this.bx=this.Qk=this.gV=!1;this.zj=void 0;this.qY();this.de=void 0;var e=this,f=function(){cv("Token Manager is ready.");if(e.Ut.length)for(var h=0;h<e.Ut.length;h++)e.Ut[h].call(e);e.gV=!0;e.Ut=[]};ov.oB(this.Jb,function(h){e.de=h;h.Po&&h.NH?(e.Qk=!0,e.zj=h.Ao(),e.Wr(e.zj)):(e.bx=h.ZA(),e.qc?Sv(e.de,e.qc,e.Sca,e.o5,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
(e.zj={error:"Invalid value for ack_extension_date. Please refer to [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Qk=!0,e.Wr(e.zj)):l?m?n?(dv("You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Wv(e.Jb,e.qc),f()):(e.zj={error:"You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Qk=!0,e.Wr(e.zj)):(dv("Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Wv(e.Jb,e.qc),f()):(e.zj={error:"Not a valid origin for the client: "+e.Ld+" has not been registered for client ID "+e.qc+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Qk=!0,e.Wr(e.zj))}):(Xv(e.Jb),f()))},this.Xw)};fv(_.aw,nv);_.g=_.aw.prototype;_.g.setOptions=function(){};_.g.qY=function(){};_.g.Wr=function(){};_.g.ZA=function(){return this.bx};_.g.Ao=function(){return this.zj};bw=function(a,b,c){return function(){b.apply(a,c)}};
_.cw=function(a,b,c){if(a.gV)b.apply(a,c);else{if(a.Qk)throw a.zj;a.Ut.push(bw(a,b,c))}};_.aw.prototype.NP=_.ea(12);_.aw.prototype.Jt=_.ea(10);_.ew=function(a,b){_.aw.call(this,a,b);this.KX=new vv;this.fl=this.vp=null;dw(this)};fv(_.ew,_.aw);_.ew.prototype.setOptions=function(){};
var fw=function(a,b){a.Se={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Ie};b.crossSubDomains&&(a.Se.policy=b.policy)},gw=function(a,b){if(!b.authParameters)throw Error("oa");if(!b.authParameters.scope)throw Error("pa");if(!b.authParameters.response_type)throw Error("qa");a.At=b.authParameters;a.At.redirect_uri||(a.At.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Qj=_.hv(b.rpcAuthParameters||a.At);if(!a.Qj.scope)throw Error("ra");if(!a.Qj.response_type)throw Error("sa");
a:{var c=a.Qj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!kv[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ta");b.enableSerialConsent&&(a.Qj.enable_serial_consent=!0);b.authResultIdentifier&&(a.N5=b.authResultIdentifier);b.spec_compliant&&(a.Qj.spec_compliant=b.spec_compliant)};
_.ew.prototype.qY=function(){var a=this;Vv.addEventListener(Tv.v4,function(b){a.Ve&&a.Se&&b.originIdp==a.Jb&&!b.crossSubDomains==!a.Se.crossSubDomains&&b.domain==a.Se.domain&&b.id==a.Se.id&&a.aX(b)});Vv.addEventListener(Tv.wE,function(b){a.Ve&&b.originIdp==a.Jb&&b.clientId==a.qc&&a.bX(b)});Vv.addEventListener(Tv.aE,function(b){_.tv=void 0;a.Ve&&b.originIdp==a.Jb&&b.clientId==a.qc&&b.id==a.Yk&&(a.vp&&(window.clearTimeout(a.vp),a.vp=null),a.Yk=void 0,a.Jv(b))});Vv.addEventListener(Tv.I1,function(b){a.Ve&&
b.originIdp==a.Jb&&(b.kc?a.de.kc():a.de.show())})};_.ew.prototype.aX=function(){};_.ew.prototype.bX=function(){};_.ew.prototype.Jv=function(){};var iw=function(a,b){hw(a);a.R6||(a.fl=pv.J6(function(){a.Gj(!0)},b-3E5),navigator.onLine&&a.fl.start())},hw=function(a){a.fl&&(a.fl.clear(),a.fl=null)},dw=function(a){var b=window;lv()&&(b=document.body);jv(b,"online",function(){a.fl&&a.fl.start()});jv(b,"offline",function(){a.fl&&a.fl.clear()})};_.ew.prototype.Gj=function(){};_.ew.prototype.DW=_.ea(13);
_.ew.prototype.dba=function(a,b){if(!this.qc)throw Error("xa");this.de.mB(this.qc,this.Qj,this.Se,a,b)};_.ew.prototype.mB=function(a,b){_.cw(this,this.dba,[a,b])};_.kw=function(a){this.Ne=void 0;this.Xh=!1;this.zs=void 0;_.ew.call(this,_.jw,a)};fv(_.kw,_.ew);_.jw={hO:"noSessionBound",qt:"userLoggedOut",X0:"activeSessionChanged",wE:"sessionStateChanged",xO:"tokenReady",V4:"tokenFailed",aE:"authResult",ERROR:"error"};
_.kw.prototype.setOptions=function(a){if(!a.clientId)throw Error("ya");this.qc=a.clientId;this.Ga=a.id;fw(this,a);gw(this,a)};_.kw.prototype.Wr=function(a){this.dispatchEvent({type:_.jw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Jb})};var lw=function(a){hw(a);a.zs=void 0;a.iB=void 0};_.g=_.kw.prototype;
_.g.aX=function(a){var b=a.newValue||{};if(this.Ne!=b.hint||this.Xh!=!!b.disabled){a=this.Ne;var c=!this.Ne||this.Xh;lw(this);this.Ne=b.hint;this.Xh=!!b.disabled;(b=!this.Ne||this.Xh)&&!c?this.dispatchEvent({type:_.jw.qt,idpId:this.Jb}):b||(a!=this.Ne&&this.dispatchEvent({type:_.jw.X0,idpId:this.Jb}),this.Ne&&this.Gj())}};
_.g.bX=function(a){this.Xh||(this.Ne?a.user||this.zs?a.user==this.Ne&&(this.zs?a.sessionState?this.zs=a.sessionState:(lw(this),this.dispatchEvent({type:_.jw.qt,idpId:this.Jb})):a.sessionState&&(this.zs=a.sessionState,this.Gj())):this.Gj():this.dispatchEvent({type:_.jw.wE,idpId:this.Jb}))};_.g.Jv=function(a){this.dispatchEvent({type:_.jw.aE,authResult:a.authResult})};_.g.Cu=_.ea(15);_.g.wu=function(a){_.cw(this,this.BG,[a])};_.g.BG=function(a){Qv(this.de,this.Se,a)};
_.g.yD=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("za");lw(this);this.Ne=a;this.Xh=!1;b&&_.Rv(this.de,this.Se,!1,this.Ne);this.Ve=!0;this.Gj(c,!0,d)};_.g.start=function(){_.cw(this,this.Ow,[])};
_.g.Ow=function(){var a=this.qc==iv("client_id")?iv("login_hint"):void 0;var b=this.qc==iv("client_id")?iv("state"):void 0;this.kJ=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.yD(a,!0,!0,!0);else{var c=this;this.wu(function(d){c.Ve=!0;d&&d.hint?(lw(c),c.Ne=d.hint,c.Xh=!!d.disabled,c.Xh?c.dispatchEvent({type:_.jw.qt,idpId:c.Jb}):c.yD(d.hint)):(lw(c),c.Ne=void 0,c.Xh=!(!d||!d.disabled),c.dispatchEvent({type:_.jw.hO,
autoOpenAuthUrl:!c.Xh,idpId:c.Jb}))})}};_.g.I7=function(){var a=this;this.wu(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.jw.qt,idpId:a.Jb}):a.Gj(!0):a.dispatchEvent({type:_.jw.hO,idpId:a.Jb})})};_.g.nS=function(){_.cw(this,this.I7,[])};
_.g.Gj=function(a,b,c){var d=this;this.de.Gj(this.qc,this.Qj,this.Ne,this.Se,function(e,f){(f=f||e.error)?"user_logged_out"==f?(lw(d),d.dispatchEvent({type:_.jw.qt,idpId:d.Jb})):(d.iB=null,d.dispatchEvent({type:_.jw.V4,idpId:d.Jb,error:f})):(d.iB=e,d.zs=e.session_state,iw(d,e.expires_at),e.idpId=d.Jb,b&&d.kJ&&(e.state=d.kJ,d.kJ=void 0),d.dispatchEvent({type:_.jw.xO,idpId:d.Jb,response:e}))},this.Ga,a,!1,void 0===c?!1:c)};_.g.revoke=_.ea(8);_.g.JY=_.ea(16);
_.mw=function(a){this.Ln=null;_.ew.call(this,{},a);this.Ve=!0};fv(_.mw,_.ew);_.g=_.mw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("ya");this.qc=a.clientId;this.Ga=a.id;fw(this,a);gw(this,a)};_.g.Wr=function(a){this.Ln&&(this.Ln({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Ln=null)};_.g.Jv=function(a){if(this.Ln){var b=this.Ln;this.Ln=null;b(a)}};_.g.Cu=_.ea(14);_.g.wu=function(a){this.Qk?a(this.Ao()):_.cw(this,this.BG,[a])};
_.g.BG=function(a){Qv(this.de,this.Se,a)};_.nw=function(a,b,c){a.Qk?c(a.Ao()):_.cw(a,a.xca,[b,c])};_.mw.prototype.xca=function(a,b){this.de.Gj(this.qc,this.Qj,a,this.Se,function(c,d){d?b({error:d}):b(c)},this.Ga,this.L7,this.zfa)};_.mw.prototype.RV=_.ea(17);
var ow=function(a){return Array.prototype.concat.apply([],arguments)},pw=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;64>b;b++)a[b]=Math.floor(256*Math.random())}return _.Gi(a,3).substring(0,64)},qw=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},rw=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},sw=function(a,b,c){if(!a.Ve)throw Error("ua");b?_.Rv(a.de,a.Se,!0,void 0,c):_.Rv(a.de,a.Se,!0,a.Ne,c)},tw=function(a){if(!a.Ve)throw Error("ua");return a.iB},uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Ew;_.mw.prototype.RV=_.hb(17,function(a,b){var c=this.de,d=this.qc,e=this.Se,f=_.hv(this.Qj);delete f.response_type;_.Ov(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.kw.prototype.JY=_.hb(16,function(a){tw(this)&&tw(this).access_token&&(this.de.revoke(this.qc,tw(this).access_token,a),sw(this,!0))});
_.kw.prototype.Cu=_.hb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.ZA()&&a.Xw&&(qw()||rw())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.Jb};a.iB=b;a.dispatchEvent({type:_.jw.xO,idpId:a.Jb,response:b})}else a.yD(b.authResult.login_hint,a.Xh||b.authResult.login_hint!=a.Ne,!0,!0)}});
_.mw.prototype.Cu=_.hb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.wu(function(d){_.Rv(b.de,b.Se,d&&d.disabled,c.authResult.login_hint,function(){_.nw(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"})}});_.ew.prototype.DW=_.hb(13,function(){this.qc&&_.Ov(this.de,"startPolling",{clientId:this.qc,origin:this.Ld,id:this.Yk})});
_.Lv.prototype.revoke=_.hb(9,function(a,b,c){_.Ov(this,"revoke",{clientId:a,token:b},c)});_.kw.prototype.revoke=_.hb(8,function(a){_.cw(this,this.JY,[a])});uw=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};
vw=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=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
ww=function(a,b,c,d,e,f,h){var k=_.rv(a,"authServerUrl");if(!k)throw Error("ea`"+a);a=_.hv(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=vw())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")};
xw=function(a,b,c,d){if(!a.qc)throw Error("va");a.Yk=c||a.N5||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Ld.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Yk);c.redirect_uri=e.join("")}return ww(a.Jb,a.Ie,a.qc,a.At,!0,b,d)};yw=function(a,b,c){if(!a.qc)throw Error("va");return ww(a.Jb,a.Ie,a.qc,a.At,!1,b,c)};
zw=function(a){if(!a)return"permission token";var b=a.split(" ");if(-1<b.indexOf("token")||-1<b.indexOf("code")||-1<b.indexOf("gsession"))return a;b.push("token");return b.join(" ")};Aw=function(a,b){a.vp&&window.clearTimeout(a.vp);a.vp=window.setTimeout(function(){a.Yk==b&&(_.tv=void 0,a.vp=null,a.Yk=void 0,a.Jv({authResult:{error:"popup_closed_by_user"}}))},1E3)};
Bw=function(a,b,c){if(!a.qc)throw Error("wa");c=c||{};a.ZA()&&a.Xw&&(qw()||rw())&&(c.responseType=zw(c.responseType));c=xw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||uw())&&_.cw(a,a.DW,[]);var d=a.Yk;a.KX.open(c,b,function(){a.Yk==d&&Aw(a,d)},function(){a.Yk=void 0;a.Jv({authResult:{error:"popup_blocked_by_browser"}})})};Cw=function(a,b,c){a.Qk?c(a.Ao()):_.cw(a,a.RV,[b,c])};
_.Dw=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 h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")};
Ew=function(a){var b=[];_.Hi(a,function(c){b.push(c)});return b};_.Fw=function(a,b){_.oj[b||"token"]=a};_.Gw=function(a){delete _.oj[a||"token"]};_.mv={parse:function(a){a=_.Hg("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Ig(a)}};_.mw.prototype.nG=function(a,b){_.cw(this,this.x7,[a,b])};_.mw.prototype.x7=function(a,b){this.de.nG(this.qc,a,this.Qj,this.Se,b)};_.Lv.prototype.nG=function(a,b,c,d,e){c=_.hv(c);_.Ov(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Hw,Iw=["client_id","cookie_policy","scope"],Jw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date gsiwebsdk".split(" "),Kw=["authuser","after_redirect","access_type","hl"],Lw=["login_hint","prompt"],Mw={clientid:"client_id",cookiepolicy:"cookie_policy"},Nw=["approval_prompt",
"authuser","login_hint","prompt","hd"],Ow=["login_hint","g-oauth-window","status"],Pw=Math.min(_.zf("oauth-flow/authWindowWidth",599),screen.width-20),Qw=Math.min(_.zf("oauth-flow/authWindowHeight",600),screen.height-30);var Rw=function(a){_.ib.call(this,a)};_.E(Rw,_.ib);Rw.prototype.name="gapi.auth2.ExternallyVisibleError";var Sw=function(){};Sw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Tw=function(){};Tw.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 Uw=function(a){this.O5=a};
Uw.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.O5){d.login_hint?b(d):b();return}}b()};var Vw=function(a){this.De=a;this.QC=[]};Vw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.QC[b];f?(b++,c.De.mB(function(h){h?f.select(h,d):d()})):a()}};d()};var Ww=function(a){a=new Vw(a);a.QC.push(new Sw);return a},Xw=function(a){a=new Vw(a);a.QC.push(new Tw);return a},Yw=function(a,b){void 0===b||null===b?b=Ww(a):(a=new Vw(a),a.QC.push(new Uw(b)),b=a);return b};var Zw=function(a){this.Vf=a;this.isActive=!0};Zw.prototype.remove=function(){this.isActive=!1};Zw.prototype.trigger=function(){};var $w=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},ax=function(){this.zc=[]};ax.prototype.add=function(a){this.zc.push(a)};ax.prototype.notify=function(a){for(var b=this.zc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.Sk(bx(e.Vf,a)))}this.zc=c};var bx=function(a,b){return function(){a(b)}};var dx=function(a){this.Ba=null;this.xga=new cx(this);this.zc=new ax;void 0!=a&&this.set(a)};dx.prototype.set=function(a){a!=this.Ba&&(this.Ba=a,this.xga.value=a,this.zc.notify(this.Ba))};dx.prototype.get=function(){return this.Ba};dx.prototype.ma=function(a){a=new ex(this,a);this.zc.add(a);return a};dx.prototype.get=dx.prototype.get;var ex=function(a,b){Zw.call(this,b);this.hba=a};_.E(ex,Zw);ex.prototype.trigger=function(){var a=this.Vf;a(this.hba.get())};
var cx=function(a){this.value=null;this.ma=function(b){return new $w(a.ma(b))}};var fx={Oia:"fetch_basic_profile",Pja:"login_hint",nla:"prompt",tla:"redirect_uri",Lla:"scope",cna:"ux_mode",vma:"state"},gx=function(a){this.Oa={};if(a&&!_.xi(a))if("function"==typeof a.get)this.Oa=a.get();else for(var b in fx){var c=fx[b];c in a&&(this.Oa[c]=a[c])}};gx.prototype.get=function(){return this.Oa};gx.prototype.IZ=function(a){this.Oa.scope=a;return this};gx.prototype.Lu=function(){return this.Oa.scope};
var hx=function(a,b){var c=a.Oa.scope;b=ow(b.split(" "),c?c.split(" "):[]);_.Hk(b);a.Oa.scope=b.join(" ")};_.g=gx.prototype;_.g.bfa=function(a){this.Oa.prompt=a;return this};_.g.Y8=function(){return this.Oa.prompt};_.g.Dea=function(){_.Mg.warn("Property app_package_name no longer supported and was not set");return this};_.g.V7=function(){_.Mg.warn("Property app_package_name no longer supported")};_.g.If=function(a){this.Oa.state=a};_.g.getState=function(){return this.Oa.state};var ix=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Pw,"height="+Qw,"top="+(screen.height-Qw)/2,"left="+(screen.width-Pw)/2].join()},jx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Dw(Ew(a)))},kx=function(){Hw=_.zf("auth2/idpValue","google");var a=_.zf("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.zf("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.sv(Hw,{authServerUrl:a,idpIFrameUrl:b})},lx=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}_.Rb(a[e])||(a[e]={});a=a[e]}},mx=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},ox=function(){var a=nx();a.storage_path&&window.sessionStorage.setItem(a.storage_path,mx()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Rw("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.Mg.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var px=function(a){var b=a?(b=jx(a))?b.sub:null:null;this.Ga=b;this.Tc=a?_.Jk(a):null};_.g=px.prototype;_.g.getId=function(){return this.Ga};_.g.KG=function(){var a=jx(this.Tc);return a?a.hd:null};_.g.Lg=function(){return!!this.Tc};_.g.rm=function(a){if(a)return this.Tc;a=qx;var b=_.Jk(this.Tc);!a.OA||a.IH||a.G$||(delete b.access_token,delete b.scope);return b};_.g.fK=function(){return qx.fK()};_.g.Al=function(){this.Tc=null};_.g.w8=function(){return this.Tc?this.Tc.scope:null};
_.g.update=function(a){this.Ga=a.Ga;this.Tc=a.Tc;this.Tc.id_token?this.ly=new rx(this.Tc):this.ly&&(this.ly=null)};var sx=function(a){return a.Tc&&"object"==typeof a.Tc.session_state?_.Jk(a.Tc.session_state.extraQueryParams||{}):{}};_.g=px.prototype;_.g.zG=function(){var a=sx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.zl=function(a){var b=qx,c=new gx(a);b.IH=c.Lu()?!0:!1;qx.OA&&hx(c,"openid profile email");return new _.cl(function(d,e){var f=sx(this);f.login_hint=this.getId();f.scope=c.Lu();tx(b,d,e,f)},this)};_.g.Ou=function(a){return new _.cl(function(b,c){var d=a||{},e=qx;d.login_hint=this.getId();e.Ou(d).then(b,c)},this)};_.g.s9=function(a){return this.zl(a)};_.g.disconnect=function(){return qx.disconnect()};_.g.X7=function(){return this.ly};
_.g.vA=function(a){if(!this.Lg())return!1;var b=this.Tc&&this.Tc.scope?this.Tc.scope.split(" "):"";return _.uc(a?a.split(" "):[],function(c){return _.mb(b,c)})};var rx=function(a){a=jx(a);this.Q7=a.sub;this.hg=a.name;this.o9=a.given_name;this.v7=a.family_name;this.BU=a.picture;this.dz=a.email};_.g=rx.prototype;_.g.getId=function(){return this.Q7};_.g.Hg=function(){return this.hg};_.g.u8=function(){return this.o9};_.g.p8=function(){return this.v7};_.g.C8=function(){return this.BU};_.g.uo=function(){return this.dz};var nx,ux;nx=function(){var a=_.dj.get("G_AUTH2_MIGRATION");if(!a)return{status:"none"};a=/(enforced|informational)(?::(.*))?/i.exec(a);return a?{status:a[1].toLowerCase(),storage_path:a[2]}:(_.Mg.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};ux=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.vx=function(a){if(!a)throw new Rw("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 Rw("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(!_.Rj(b,"."+a)&&!_.Rj(b,a))throw new Rw("Invalid cookiePolicy domain");return d};var xx=function(a){var b=a||{},c=wx();_.oc(Jw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},wx=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;Mw[d]&&(d=Mw[d]);_.mb(Jw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},yx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},zx=function(a){_.oc(Jw,
function(b){var c=yx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},Ax=function(a){a=xx(a);zx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Jw+Kw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Bx=function(a,b){if(!a)throw new Rw("Empty initial options.");for(var c=0;c<Iw.length;++c)if(!(b&&"scope"==Iw[c]||a[Iw[c]]))throw new Rw("Missing required parameter '"+Iw[c]+"'");_.vx(a.cookie_policy)},Dx=function(a){var b={authParameters:{redirect_uri:void 0,
response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm,include_granted_scopes:!0},clientId:a.client_id,crossSubDomains:!0,domain:ux(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Hw};Cx(b,a);_.oc(Lw,function(d){a[d]&&(b.authParameters[d]=a[d])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);if(a.plugin_name)b.pluginName=a.plugin_name;else{var c=_.zf("auth2/pluginName");c&&(b.pluginName=c)}a.ack_extension_date&&
(b.authParameters.ack_extension_date=a.ack_extension_date,b.ackExtensionDate=a.ack_extension_date);return b},Cx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||pw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Ix=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,h=a.oidc_spec_compliant,k=a.nonce,l=Ex(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:ux(c),idpId:Hw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||pw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.oc(Lw.concat(Kw),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 Fx(a.response_type||"token"),
Gx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Hx(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);a.plugin_name?m.pluginName=a.plugin_name:(b=_.zf("auth2/pluginName"))&&(m.pluginName=b);a.ack_extension_date&&(m.authParameters.ack_extension_date=a.ack_extension_date,m.rpcAuthParameters.ack_extension_date=
a.ack_extension_date,m.ackExtensionDate=a.ack_extension_date);return m},Ex=function(a){a=new Fx(a.response_type||"token");var b=[];Hx(a)&&b.push("token");Jx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Kx=["permission","id_token"],Lx=/(^|[^_])token/,Fx=function(a){this.ts=[];this.aI(a)};
Fx.prototype.aI=function(a){a?((0<=a.indexOf("permission")||a.match(Lx))&&this.ts.push("permission"),0<=a.indexOf("id_token")&&this.ts.push("id_token"),0<=a.indexOf("code")&&this.ts.push("code")):this.ts=Kx};var Gx=function(a){return Jx(a,"code")},Hx=function(a){return Jx(a,"permission")};Fx.prototype.toString=function(){return this.ts.join(" ")};var Jx=function(a,b){var c=!1;_.oc(a.ts,function(d){d==b&&(c=!0)});return c};var Nx=function(a,b,c){this.kp=b;this.Vba=a;for(var d in a)a.hasOwnProperty(d)&&Mx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.kp[c[a]]},Mx=function(a,b){a[b]=function(){return a.Vba[b].apply(a.kp,arguments)}};Nx.prototype.then=function(a,b,c){var d=this;return _.gl().then(function(){return Ox(d.kp,a,b,c)})};_.Mk(Nx);var qx,Px,Rx;qx=null;_.Qx=function(){return qx?Px():null};Px=function(){return new Nx(Rx.prototype,qx,["currentUser","isSignedIn"])};
Rx=function(a){delete a.include_granted_scopes;this.Oa=Dx(a);this.G6=a.cookie_policy;this.G$=!!a.scope;(this.OA=!1!==a.fetch_basic_profile)&&(this.Oa.authParameters.scope=Sx(this,"openid profile email"));if(_.aj.GSI_SUPPORT_BLOCKED_3P_COOKIES||"1"===_.dj.get("GSI_ALLOW_3PCD"))this.Oa.supportBlocked3PCookies=!0;this.ev=a.hosted_domain;this.uga=a.ux_mode||"popup";this.kda=a.redirect_uri||null;this.To()};
Rx.prototype.To=function(){this.currentUser=new dx(new px(null));this.isSignedIn=new dx(!1);this.De=new _.kw(this.Oa);this.UA=this.Er=null;this.Taa=new _.cl(function(a,b){this.Er=a;this.UA=b},this);this.LB={};this.rv=!0;Tx(this);this.De.start()};
var Tx=function(a){a.De.addEventListener("error",function(b){a.rv&&a.Er&&(a.rv=!1,a.UA({error:b.error,details:b.details}),a.Er=null,a.UA=null)});a.De.addEventListener("authResult",function(b){b&&b.authResult&&a.Pf(b);a.De.Cu()(b)});a.De.addEventListener("tokenReady",function(b){var c=new px(b.response);if(a.ev&&a.ev!=c.KG())a.Pf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.KG(),expectedDomain:a.ev});else{a.currentUser.get().update(c);
var d=a.currentUser;d.zc.notify(d.Ba);a.isSignedIn.set(!0);c=c.zG();(d=_.vx(a.G6))&&c&&_.dj.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.wf?"S":"H",d.fj].join(""),c,{domain:d.domain,secure:d.isSecure});_.Fw(b.response);a.Pf(b)}});a.De.addEventListener("noSessionBound",function(b){a.rv&&b.autoOpenAuthUrl?(a.rv=!1,Ww(a.De).select(function(c){if(c&&c.login_hint){var d=a.De;_.cw(d,d.yD,[c.login_hint,!0])}else a.currentUser.set(new px(null)),a.isSignedIn.set(!1),_.Gw(),a.Pf(b)})):(a.currentUser.set(new px(null)),
a.isSignedIn.set(!1),_.Gw(),a.Pf(b))});a.De.addEventListener("tokenFailed",function(b){a.Pf(b)});a.De.addEventListener("userLoggedOut",function(b){a.currentUser.get().Al();var c=a.currentUser;c.zc.notify(c.Ba);a.isSignedIn.set(!1);_.Gw();a.Pf(b)})},Ox=function(a,b,c,d){return a.Taa.then(function(e){if(b)return b(e.q9)},c,d)};Rx.prototype.Pf=function(a){if(a){this.rv=!1;var b=a.type||"";if(this.LB[b])this.LB[b](a);this.Er&&(this.Er({q9:this}),this.UA=this.Er=null)}};
var Ux=function(a,b){_.pb(b,function(c,d){a.LB[d]=function(e){a.LB={};c(e)}})},tx=function(a,b,c,d){d=_.Jk(d);a.ev&&(d.hd=a.ev);var e=d.ux_mode||a.uga;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.kda||mx()+window.location.pathname),Vx(a,f)):(delete d.redirect_uri,Wx(a,f),Ux(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Ux(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Rx.prototype.zl=function(a){return new _.cl(function(b,c){var d=new gx(a);this.IH=d.Lu()?!0:!1;this.OA?(d.Oa.fetch_basic_profile=!0,hx(d,"email profile openid")):d.Oa.fetch_basic_profile=!1;var e=Sx(this,d.Lu());d.IZ(e);tx(this,b,c,d.get())},this)};
Rx.prototype.Ou=function(a){var b=a||{};this.IH=!!b.scope;a=Sx(this,b.scope);if(""==a)return _.hl({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.oc(Nw,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");"postmessage"==b.redirect_uri||void 0==b.redirect_uri?a=Xx(this,c):(c.redirect_uri=b.redirect_uri,Vx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.gl({message:"Redirecting to IDP."}));return a};
var Xx=function(a,b){b.origin=mx();delete b.redirect_uri;Wx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.cl(function(c,d){Ux(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Wx=function(a,b){lx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Bw(a.De,ix(),b)},Vx=function(a,b){lx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(yw(a.De,b.sessionMeta,
b.responseType))};Rx.prototype.Al=function(a){var b=a||!1;return new _.cl(function(c){sw(this.De,b,function(){c()})},this)};Rx.prototype.TS=function(){return this.Oa.authParameters.scope};var Sx=function(a,b){a=a.TS();b=ow(b?b.split(" "):[],a?a.split(" "):[]);_.Hk(b);return b.join(" ")};Rx.prototype.fK=function(){var a=this;return new _.cl(function(b,c){Ux(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.De.nS()})};
Rx.prototype.nP=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.lk(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.zl(f).then(function(h){c&&c(h)},function(h){d&&d(h)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};Rx.prototype.disconnect=function(){return new _.cl(function(a){this.De.revoke(function(){a()})},this)};Rx.prototype.attachClickHandler=Rx.prototype.nP;var Yx;_.cl.prototype["catch"]=_.cl.prototype.Zw;Yx=null;_.Zx=function(a){ox();a=Ax(a);if(qx){if(_.Ik(a,Yx||{}))return Px();throw new Rw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Bx(a,!1!==a.fetch_basic_profile);kx();Yx=a;qx=new Rx(a);_.rf.ga=1;return Px()};var ay,cy,$x,ey,dy,fy;_.by=function(a,b){ox();kx();a=Ax(a);Bx(a);var c=Ix(a),d=new _.mw(c);"none"==a.prompt?$x(d,a,function(e){e.status=e.error?{signed_in:!1,method:null,google_logged_in:!1}:{signed_in:!0,method:"AUTO",google_logged_in:!0};b(e)}):ay(d,a,function(e){if(e.error)e.status={signed_in:!1,method:null,google_logged_in:!1};else{var f=e.access_token||e.id_token;e.status={signed_in:!!f,method:"PROMPT",google_logged_in:!!f}}e["g-oauth-window"]=d.KX.Ji;b(e)})};
ay=function(a,b,c){var d=new Fx(b.response_type);c=cy(a,d,c);var e={responseType:d.toString()};lx(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Gx(d)&&lx(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&lx(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&lx(e,["sessionMeta","extraQueryParams","state"],b.state);b=ix();a.Qk?c({authResult:{error:"idpiframe_initialization_failed",details:a.Ao().error}}):(a.Ln=
c,Bw(a,b,e))};cy=function(a,b,c){if(Hx(b)){var d=dy(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Cu(function(f){f&&!f.error?(f=_.Jk(f),Gx(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(_.Jk(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
$x=function(a,b,c){if(Gx(new Fx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=dy(c);b.login_hint?a.nG(b.login_hint,function(e){e?ey(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Yw(a,b.authuser).select(function(e){e&&e.login_hint?ey(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.wu(function(e){e&&e.hint?ey(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Xw(a):Ww(a)).select(function(f){f&&f.login_hint?ey(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};ey=function(a,b,c,d){b=new Fx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.tb(f,k),0==e&&d(f))};(Hx(b)||Jx(b,"id_token"))&&e++;Gx(b)&&e++;(Hx(b)||Jx(b,"id_token"))&&_.nw(a,c,h);Gx(b)&&Cw(a,c,h)};
dy=function(a){return function(b){if(!b||b.error)_.Gw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Jk(b);fy(c);delete c.id_token;delete c.code;_.Fw(c)}a(b)}}};fy=function(a){_.oc(Ow,function(b){delete a[b]})};_.C("gapi.auth2.init",_.Zx);_.C("gapi.auth2.authorize",function(a,b){if(null!=qx)throw new Rw("gapi.auth2.authorize cannot be called after GoogleAuth has been initialized (i.e. with a call to gapi.auth2.init, or gapi.client.init when given a 'clientId' and a 'scope' parameters).");_.by(a,function(c){fy(c);b(c)})});_.C("gapi.auth2._gt",function(){return _.pj()});_.C("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.bv="0"!=a&&!!a});_.C("gapi.auth2.getAuthInstance",_.Qx);
_.C("gapi.auth2.BasicProfile",rx);_.C("gapi.auth2.BasicProfile.prototype.getId",rx.prototype.getId);_.C("gapi.auth2.BasicProfile.prototype.getName",rx.prototype.Hg);_.C("gapi.auth2.BasicProfile.prototype.getGivenName",rx.prototype.u8);_.C("gapi.auth2.BasicProfile.prototype.getFamilyName",rx.prototype.p8);_.C("gapi.auth2.BasicProfile.prototype.getImageUrl",rx.prototype.C8);_.C("gapi.auth2.BasicProfile.prototype.getEmail",rx.prototype.uo);_.C("gapi.auth2.GoogleAuth",Rx);
_.C("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Rx.prototype.nP);_.C("gapi.auth2.GoogleAuth.prototype.disconnect",Rx.prototype.disconnect);_.C("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Rx.prototype.Ou);_.C("gapi.auth2.GoogleAuth.prototype.signIn",Rx.prototype.zl);_.C("gapi.auth2.GoogleAuth.prototype.signOut",Rx.prototype.Al);_.C("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Rx.prototype.TS);_.C("gapi.auth2.GoogleUser",px);_.C("gapi.auth2.GoogleUser.prototype.grant",px.prototype.s9);
_.C("gapi.auth2.GoogleUser.prototype.getId",px.prototype.getId);_.C("gapi.auth2.GoogleUser.prototype.isSignedIn",px.prototype.Lg);_.C("gapi.auth2.GoogleUser.prototype.getAuthResponse",px.prototype.rm);_.C("gapi.auth2.GoogleUser.prototype.getBasicProfile",px.prototype.X7);_.C("gapi.auth2.GoogleUser.prototype.getGrantedScopes",px.prototype.w8);_.C("gapi.auth2.GoogleUser.prototype.getHostedDomain",px.prototype.KG);_.C("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",px.prototype.Ou);
_.C("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",px.prototype.vA);_.C("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",px.prototype.fK);_.C("gapi.auth2.LiveValue",dx);_.C("gapi.auth2.LiveValue.prototype.listen",dx.prototype.ma);_.C("gapi.auth2.LiveValue.prototype.get",dx.prototype.get);_.C("gapi.auth2.SigninOptionsBuilder",gx);_.C("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",gx.prototype.V7);_.C("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",gx.prototype.Dea);
_.C("gapi.auth2.SigninOptionsBuilder.prototype.getScope",gx.prototype.Lu);_.C("gapi.auth2.SigninOptionsBuilder.prototype.setScope",gx.prototype.IZ);_.C("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",gx.prototype.Y8);_.C("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",gx.prototype.bfa);_.C("gapi.auth2.SigninOptionsBuilder.prototype.get",gx.prototype.get);
_.Xf=_.Xf||{};
(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}_.Xf.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)};_.Xf.kQ=function(b){var c=_.Xf.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(_.Xf.YF(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Xf.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Xf.zS=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};_.Xf.tpa=function(b){return a(b)}})();
_.wh=window.gapi&&window.gapi.util||{};
_.wh=_.wh={};_.wh.getOrigin=function(a){return _.zh(a)};
_.Wy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Ej:!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=_.Uy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.wf;return!d&&("U"!==c||e.wf)||d&&!_.Vy?b:{Ej:!0,wf:d,t6:a.substr(1),domain:e.domain,fj:e.fj}};_.Xy=function(a,b){this.hg=a;a=b||{};this.zba=Number(a.maxAge)||0;this.Ie=a.domain;this.jn=a.path;this.oea=!!a.secure};_.Xy.prototype.read=function(){for(var a=this.hg+"=",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)}};
_.Xy.prototype.write=function(a,b){if(!Yy.test(this.hg))throw"Invalid cookie name";if(!Zy.test(a))throw"Invalid cookie value";a=this.hg+"="+a;this.Ie&&(a+=";domain="+this.Ie);this.jn&&(a+=";path="+this.jn);b="number"===typeof b?b:this.zba;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.oea&&(a+=";secure");document.cookie=a;return!0};_.Xy.prototype.clear=function(){this.write("",0)};var Zy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Yy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Xy.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("="))}};_.$y=function(a){this.ee=a};_.$y.prototype.read=function(){if(az.hasOwnProperty(this.ee))return az[this.ee]};_.$y.prototype.write=function(a){az[this.ee]=a;return!0};_.$y.prototype.clear=function(){delete az[this.ee]};var az={};_.$y.iterate=function(a){for(var b in az)az.hasOwnProperty(b)&&a(b,az[b])};var bz=function(){this.Ba=null;this.key=function(){return null};this.getItem=function(){return this.Ba};this.setItem=function(a,b){this.Ba=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Ba=null;this.length=0};this.length=0},cz=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}},dz=function(a,b){this.hg=a;this.YM=
cz(b)?b||window.sessionStorage:new bz};dz.prototype.read=function(){return this.YM.getItem(this.hg)};dz.prototype.write=function(a){try{this.YM.setItem(this.hg,a)}catch(b){return!1}return!0};dz.prototype.clear=function(){this.YM.removeItem(this.hg)};dz.iterate=function(a){if(cz())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};_.Vy="https:"===window.location.protocol;_.ez=_.Vy||"http:"===window.location.protocol?_.Xy:_.$y;_.Uy=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{wf:"S"==a.charAt(0),domain:d,fj:c}};var fz,gz,jz,kz;fz=_.gf();gz=_.gf();_.hz=_.gf();_.iz=_.gf();jz="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");kz=function(a){this.EX=a;this.SI=null};
kz.prototype.write=function(a){var b=_.gf(),c=_.gf(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.hf(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=jz.length;for(e=0;e<d;++e)delete c[jz[e]];a=String(a.authuser||0);d=_.gf();d[a]=c;c=_.Ig(d);this.EX.write(c);this.SI=b};kz.prototype.read=function(){return this.SI};kz.prototype.clear=function(){this.EX.clear();this.SI=_.gf()};_.lz=function(a){return a?{domain:a.domain,path:"/",secure:a.wf}:null};
dz.iterate(function(a){var b=_.Wy(a);b&&b.Ej&&(fz[a]=new kz(new dz(a)))});_.ez.iterate(function(a){fz[a]&&(gz[a]=new _.ez(a,_.lz(_.Wy(a))))});
_.ej=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 q=h,t=0;64>t;t+=4)q[t/4]=p[t]<<24|p[t+1]<<16|p[t+2]<<8|p[t+3];for(t=16;80>t;t++)p=q[t-3]^q[t-8]^q[t-14]^q[t-16],q[t]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],u=e[2],w=e[3],x=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var z=w^v&(u^w);var F=1518500249}else z=v^u^w,F=1859775393;else 60>t?(z=v&u|w&(v|u),F=2400959708):(z=v^u^w,F=3395469782);z=((p<<5|p>>>27)&4294967295)+
z+x+F+q[t]&4294967295;x=w;w=u;u=(v<<30|v>>>2)&4294967295;v=p;p=z}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]+x&4294967295}function c(p,q){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var t=[],v=0,u=p.length;v<u;++v)t.push(p.charCodeAt(v));p=t}q||(q=p.length);t=0;if(0==m)for(;t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64;for(;t<q;)if(f[m++]=p[t++],n++,64==m)for(m=0,b(f);t+64<q;)b(p.slice(t,t+64)),t+=64,n+=64}function d(){var p=[],
q=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=q&255,q>>>=8;b(f);for(t=q=0;5>t;t++)for(var v=24;0<=v;v-=8)p[q++]=e[t]>>v&255;return p}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,dj:function(){for(var p=d(),q="",t=0;t<p.length;t++)q+="0123456789ABCDEF".charAt(Math.floor(p[t]/16))+"0123456789ABCDEF".charAt(p[t]%16);return q}}};var gj=function(a,b,c){var d=String(_.r.location.href);return d&&a&&b?[b,fj(_.zh(d),a,c||null)].join(" "):null},fj=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.oc(d,function(k){e.push(k)}),hj(e.join(" "));var f=[],h=[];_.oc(c,function(k){h.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];_.oc(d,function(k){e.push(k)});a=hj(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},hj=function(a){var b=
_.ej();b.update(a);return b.dj().toLowerCase()};var kj;_.ij=function(a){return!!_.aj.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.jj=function(a){a=void 0===a?!1:a;var b=_.r.__SAPISID||_.r.__APISID||_.r.__3PSAPISID||_.r.__OVERRIDE_SID;_.ij(a)&&(b=b||_.r.__1PSAPISID);if(b)return!0;if("undefined"!==typeof document){var c=new _.bj(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.ij(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b};
kj=function(a,b,c,d){(a=_.r[a])||"undefined"===typeof document||(a=(new _.bj(document)).get(b));return a?gj(a,c,d):null};
_.lj=function(a,b){b=void 0===b?!1:b;var c=_.zh(String(_.r.location.href)),d=[];if(_.jj(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.r.__SAPISID:_.r.__APISID;e||"undefined"===typeof document||(e=new _.bj(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?gj(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.ij(b)&&((b=kj("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=kj("__3PSAPISID","__Secure-3PAPISID",
"SAPISID3PHASH",a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
_.mj=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.ij(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.nj={XT:_.mj,Qaa:_.jj,WS:function(){var a=null;_.jj()&&(a=window.__PVT,null==a&&(a=(new _.bj(document)).get("BEAT")));return a},xS:_.lj};
_.Yr=function(){return _.Cb&&_.Db?_.Db.mobile:!_.Xr()&&(_.Ab("iPod")||_.Ab("iPhone")||_.Ab("Android")||_.Ab("IEMobile"))};_.Xr=function(){return _.Cb&&_.Db?!_.Db.mobile&&(_.Ab("iPad")||_.Ab("Android")||_.Ab("Silk")):_.Ab("iPad")||_.Ab("Android")&&!_.Ab("Mobile")||_.Ab("Silk")};
var Es,Fs;_.ws=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.xs=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.xs.prototype;_.g.clone=function(){return new _.xs(this.x,this.y)};_.g.equals=function(a){return a instanceof _.xs&&_.ws(this,a)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.translate=function(a,b){a instanceof _.xs?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.ys=function(a){return a.scrollingElement?a.scrollingElement:!_.vd&&_.ie(a)?a.documentElement:a.body||a.documentElement};
_.zs=function(a){var b=_.ys(a);a=a.parentWindow||a.defaultView;return _.qd&&a.pageYOffset!=b.scrollTop?new _.xs(b.scrollLeft,b.scrollTop):new _.xs(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.As=function(a,b,c,d){return _.be(a.Hb,b,c,d)};_.Bs=function(a){if(a instanceof _.Wc&&a.constructor===_.Wc)return a.YX;_.Vb(a);return"type_error:SafeStyle"};_.Cs=function(a){if(a instanceof _.cd&&a.constructor===_.cd)return a.XX;_.Vb(a);return"type_error:SafeStyleSheet"};
_.Ds=function(a){return Number(_.Pd)>=a};Es=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Fs=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Gs=function(a,b,c){return _.ne(document,arguments)};_.Hs=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.Hs.prototype;_.g.Xb=function(){return this.right-this.left};_.g.Vc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Hs(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Hs?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.g.expand=function(a,b,c,d){_.Rb(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.g.translate=function(a,b){a instanceof _.xs?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Ks,Is,Ps,Ss,dt,Rs;_.Js=function(a,b,c){if("string"===typeof b)(b=Is(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Is(c,d);f&&(c.style[f]=e)}};Ks={};Is=function(a,b){var c=Ks[b];if(!c){var d=Es(b);c=d;void 0===a.style[d]&&(d=(_.vd?"Webkit":_.ud?"Moz":_.qd?"ms":null)+Fs(d),void 0!==a.style[d]&&(c=d));Ks[b]=c}return c};_.Ls=function(a,b){var c=a.style[Es(b)];return"undefined"!==typeof c?c:a.style[Is(a,b)]||""};
_.Ms=function(a,b){var c=_.$d(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ns=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Os=function(a,b){return _.Ms(a,b)||_.Ns(a,b)||a.style&&a.style[b]};Ps=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Ts=function(a,b){b=b||_.ys(document);var c=b||_.ys(document);var d=_.Qs(a),e=_.Qs(c);if(_.qd&&!_.Ds(9)){var f=Rs(c,"borderLeft");var h=Rs(c,"borderRight");var k=Rs(c,"borderTop"),l=Rs(c,"borderBottom");h=new _.Hs(k,h,l,f)}else f=_.Ms(c,"borderLeftWidth"),h=_.Ms(c,"borderRightWidth"),k=_.Ms(c,"borderTopWidth"),l=_.Ms(c,"borderBottomWidth"),h=new _.Hs(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.ys(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.qd&&!_.Ds(10)&&(f+=h.left,d+=h.top)):
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Ss(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new _.xs(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Qs=function(a){var b=_.$d(a),c=new _.xs(0,0);var d=b?_.$d(b):document;d=!_.qd||_.Ds(9)||_.ie(_.ae(d).Hb)?d.documentElement:d.body;if(a==d)return c;a=Ps(a);b=_.zs(_.ae(b).Hb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.Vs=function(a,b){var c=new _.xs(0,0),d=_.je(_.$d(a));if(!_.od(d,"parent"))return c;do{var e=d==b?_.Qs(a):_.Us(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Us=function(a){a=Ps(a);return new _.xs(a.left,a.top)};_.Xs=function(a,b,c){if(b instanceof _.Vd)c=b.height,b=b.width;else if(void 0==c)throw Error("R");a.style.width=_.Ws(b,!0);a.style.height=_.Ws(c,!0)};_.Ws=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.Ys=function(a){var b=Ss;if("none"!=_.Os(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};Ss=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.vd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Ps(a),new _.Vd(a.right-a.left,a.bottom-a.top)):new _.Vd(b,c)};_.Zs=function(a,b){a.style.display=b?"":"none"};
_.at=function(a){var b=_.ae(void 0),c=b.ub();if(_.qd&&c.createStyleSheet)b=c.createStyleSheet(),_.$s(b,a);else{c=_.As(b,"HEAD")[0];if(!c){var d=_.As(b,"BODY")[0];c=b.va("HEAD");d.parentNode.insertBefore(c,d)}d=b.va("STYLE");var e;(e=_.Ud('style[nonce],link[rel="stylesheet"][nonce]'))&&d.setAttribute("nonce",e);_.$s(d,a);b.appendChild(c,d)}};_.$s=function(a,b){b=_.Cs(b);_.qd&&void 0!==a.cssText?a.cssText=b:_.r.trustedTypes?_.xe(a,b):a.innerHTML=b};
_.bt=_.ud?"MozUserSelect":_.vd||_.rd?"WebkitUserSelect":null;_.ct=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};dt={thin:2,medium:4,thick:6};Rs=function(a,b){if("none"==_.Ns(a,b+"Style"))return 0;b=_.Ns(a,b+"Width");return b in dt?dt[b]:_.ct(a,b)};
_.ty=function(a,b){_.vk.call(this);this.Rm=a||1;this.hx=b||_.r;this.xP=(0,_.D)(this.Wfa,this);this.IV=_.Zb()};_.ab(_.ty,_.vk);_.g=_.ty.prototype;_.g.enabled=!1;_.g.Sc=null;_.g.setInterval=function(a){this.Rm=a;this.Sc&&this.enabled?(this.stop(),this.start()):this.Sc&&this.stop()};
_.g.Wfa=function(){if(this.enabled){var a=_.Zb()-this.IV;0<a&&a<.8*this.Rm?this.Sc=this.hx.setTimeout(this.xP,this.Rm-a):(this.Sc&&(this.hx.clearTimeout(this.Sc),this.Sc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Sc||(this.Sc=this.hx.setTimeout(this.xP,this.Rm),this.IV=_.Zb())};_.g.stop=function(){this.enabled=!1;this.Sc&&(this.hx.clearTimeout(this.Sc),this.Sc=null)};_.g.ua=function(){_.ty.N.ua.call(this);this.stop();delete this.hx};
_.uy=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.D)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.D)(a.handleEvent,a);else throw Error("Ca");return 2147483647<Number(b)?-1:_.r.setTimeout(a,b||0)};_.vy=function(a){_.r.clearTimeout(a)};
_.mz=function(a){_.Jj.call(this);this.ee=1;this.dC=[];this.iC=0;this.mg=[];this.Zj={};this.I5=!!a};_.ab(_.mz,_.Jj);_.g=_.mz.prototype;_.g.subscribe=function(a,b,c){var d=this.Zj[a];d||(d=this.Zj[a]=[]);var e=this.ee;this.mg[e]=a;this.mg[e+1]=b;this.mg[e+2]=c;this.ee=e+3;d.push(e);return e};_.g.Rw=_.ea(19);_.g.unsubscribe=function(a,b,c){if(a=this.Zj[a]){var d=this.mg;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Hl(a)}return!1};
_.g.Hl=function(a){var b=this.mg[a];if(b){var c=this.Zj[b];0!=this.iC?(this.dC.push(a),this.mg[a+1]=function(){}):(c&&_.nb(c,a),delete this.mg[a],delete this.mg[a+1],delete this.mg[a+2])}return!!b};
_.g.Cp=function(a,b){var c=this.Zj[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.I5)for(e=0;e<c.length;e++){var h=c[e];nz(this.mg[h+1],this.mg[h+2],d)}else{this.iC++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.mg[h+1].apply(this.mg[h+2],d)}finally{if(this.iC--,0<this.dC.length&&0==this.iC)for(;c=this.dC.pop();)this.Hl(c)}}return 0!=e}return!1};var nz=function(a,b,c){_.$k(function(){a.apply(b,c)})};
_.mz.prototype.clear=function(a){if(a){var b=this.Zj[a];b&&(b.forEach(this.Hl,this),delete this.Zj[a])}else this.mg.length=0,this.Zj={}};_.mz.prototype.Tb=function(a){if(a){var b=this.Zj[a];return b?b.length:0}a=0;for(b in this.Zj)a+=this.Tb(b);return a};_.mz.prototype.ua=function(){_.mz.N.ua.call(this);this.clear();this.dC.length=0};
_.oz=function(a){this.Zfa=a};_.oz.prototype.toString=function(){return this.Zfa};_.pz=function(a){_.Jj.call(this);this.Ae=new _.mz(a);_.Lj(this,this.Ae)};_.ab(_.pz,_.Jj);_.g=_.pz.prototype;_.g.subscribe=function(a,b,c){return this.Ae.subscribe(a.toString(),b,c)};_.g.Rw=_.ea(18);_.g.unsubscribe=function(a,b,c){return this.Ae.unsubscribe(a.toString(),b,c)};_.g.Hl=function(a){return this.Ae.Hl(a)};_.g.Cp=function(a,b){return this.Ae.Cp(a.toString(),b)};_.g.clear=function(a){this.Ae.clear(void 0!==a?a.toString():void 0)};
_.g.Tb=function(a){return this.Ae.Tb(void 0!==a?a.toString():void 0)};
var qz=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.ib.call(this,c+a[d])},rz=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},tz=function(a){return a.replace(_.$c,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(sz(d)||_.Gc).toString();return c+f+b+f+e})},vz=function(a){if(a instanceof
_.Ac)return'url("'+_.Bc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.ec)a=_.gc(a);else{a=String(a);var b=a.replace(_.ad,"$1").replace(_.ad,"$1").replace(_.$c,"url");if(_.Zc.test(b)){if(b=!uz.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&rz(a)}a=b?tz(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new qz("Value does not allow [{;}], got: %s.",[a]);return a},wz,xz,yz,sz,uz,Az,Bz,Cz,Ez;_.ab(qz,_.ib);
qz.prototype.name="AssertionError";wz={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};xz=/^data:(.*);base64,[a-z0-9+\/]+=*$/i;yz=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;sz=function(a){if(a instanceof _.Ac)return a;a=String(a);yz.test(a)?a=_.Fc(a):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(xz)?_.Fc(a):null);return a};uz=/\/\*/;
_.zz=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("m`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(vz).join(" "):vz(d),b+=c+":"+d+";")}return b?new _.Wc(b,_.Vc):_.Xc};Az=/^[a-zA-Z0-9-]+$/;Bz={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
Cz=function(a){var b=_.kd(_.ld),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.kd(e),c.push(_.id(e).toString()))};a.forEach(d);return _.jd(c.join(_.id(b).toString()))};_.Dz=function(a){return Cz(Array.prototype.slice.call(arguments))};Ez={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};_.Fz=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.Bp+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Js(a,"transition",b.join(","))};
_.Gz=_.mc(function(){if(_.qd)return!0;var a=_.oe("DIV"),b=_.vd?"-webkit":_.ud?"-moz":_.qd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!Az.test("div"))throw Error("q");if("DIV"in Bz)throw Error("q");b=void 0;var d="";if(c)for(h in c)if(Object.prototype.hasOwnProperty.call(c,h)){if(!Az.test(h))throw Error("q");var e=c[h];if(null!=e){var f=h;if(e instanceof _.ec)e=_.gc(e);else if("style"==f.toLowerCase()){if(!_.Rb(e))throw Error("q");e instanceof
_.Wc||(e=_.zz(e));e=_.Bs(e)}else{if(/^on/i.test(f))throw Error("q");if(f.toLowerCase()in Ez)if(e instanceof _.ic)e=_.jc(e).toString();else if(e instanceof _.Ac)e=_.Bc(e);else if("string"===typeof e)e=(sz(e)||_.Gc).toString();else throw Error("q");}f=f+'="'+_.Sc(String(e))+'"';d+=" "+f}}var h="<div"+d;null==b?b=[]:Array.isArray(b)||(b=[b]);!0===wz.div?h+=">":(b=_.Dz(b),h+=">"+_.id(b).toString()+"</div>");h=_.jd(h);_.Sd(a,h);return""!=_.Ls(a.firstChild,"transition")});
_.Iz=function(){_.Hz="oauth2relay"+String(2147483647*(0,_.Fh)()|0)};_.Jz=new _.pz;_.Kz=new _.oz("oauth");_.Iz();_.zf("oauth-flow/client_id");var Lz=String(_.zf("oauth-flow/redirectUri"));if(Lz)Lz.replace(/[#][\s\S]*/,"");else{var Mz=_.wh.getOrigin(window.location.href);_.zf("oauth-flow/callbackUrl");encodeURIComponent(Mz)}_.wh.getOrigin(window.location.href);
var Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,vA,wA,xA,yA,zA,AA,BA,EA,DA,FA,GA,HA,IA,JA,KA,LA,MA,NA,PA;_.Nz=function(a,b){if(_.Ei&&!b)return _.r.atob(a);var c="";_.Hi(a,function(d){c+=String.fromCharCode(d)});return c};Oz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Pz=function(a){return _.Wi("enableMultilogin")&&a("cookie_policy")&&!Oz(a)?!0:!1};
Sz=function(){var a,b=null;_.ez.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Uy(c.substring(11)),!a||c.wf&&!a.wf||c.wf==a.wf&&c.fj>a.fj)&&(a=c,b=d)});return{U5:a,authuser:b}};Tz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Uz=function(a){a=a.toUpperCase();for(var b=0,c=Tz.length;b<c;++b){var d=a.split(Tz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Eh,b.vx(a),a=b.dj().toUpperCase());return a};
Vz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Wz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],Bea:Vz(a[1]),iqa:Vz(a[2]),cpa:Vz(a[3])}};Xz=function(a){var b=Sz(),c=b.U5;b=b.authuser;var d=a&&Uz(a);if(null!==b){var e;_.ez.iterate(function(h,k){(h=_.Wy(h))&&h.Ej&&(d&&h.t6!=d||h.wf==c.wf&&h.fj==c.fj&&(e=k))});if(e){var f=Wz(e);a=f&&f.Bea[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,ira:a,clientId:f}}}return null};
Yz=function(a,b){a=_.pj(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};_.Zz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Fw(c,d):_.Gw(d)};
$z=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.zh(a));var b=window.location.hostname,c=b,d=_.Vy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Mg.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Mg.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,wf:d,fj:b}};
aA=function(a){var b=$z(a);if(!b)return new _.$y("G_USERSTATE_");a=["G_USERSTATE_",_.Vy&&b.wf?"S":"H",b.fj].join("");var c=_.iz[a];c||(c={QI:63072E3},_.jf(_.lz(b),c),c=new _.Xy(a,c),_.iz[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};bA=function(a){var b=aA(a).read();a=_.gf();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
cA=function(a,b,c){var d=bA(b),e=d[a];d[a]="0";var f=[];_.sn(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=aA(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};dA=function(a){a=$z(a.g_user_cookie_policy);if(!a||a.wf&&!_.Vy)a=null;else{var b=["G_AUTHUSER_",_.Vy&&a.wf?"S":"H",a.fj].join(""),c=_.hz[b];c||(c=new _.ez(b,_.lz(a)),_.hz[b]=c);a=c}_.Af("googleapis.config/sessionIndex",null);a.clear()};eA=function(a){return Oz(function(b){return a[b]})};fA=0;gA=!1;hA=[];iA={};jA={};kA=null;
lA=function(a){var b=_.Hz;return function(c){if(this.f==b&&this.t==_.Rg.qo(this.f)&&this.origin==_.Rg.Go(this.f))return a.apply(this,arguments)}};mA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ha");};nA=function(a){var b=_.Xf.lh,c=b(a).jsh;if(null!=c)return mA(c),a;if(b=String(b().jsh||_.rf.h||""))mA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};oA=function(){return!!_.zf("oauth-flow/usegapi")};
pA=function(a,b){oA()?kA.unregister(a):_.Rg.unregister(a+":"+b)};qA=function(a,b,c){oA()?kA.register(a,c,_.Hn):_.Rg.register(a+":"+b,lA(c))};rA=function(){Qz.parentNode.removeChild(Qz)};sA=function(a){var b=Qz;_.Fz(b,[{Bp:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Fz(b,[{Bp:"transform",duration:1,timing:"ease",delay:0}]);_.uy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};tA=function(){var a=Rz+88;sA(a);Rz=a};
uA=function(){var a=Rz-88;sA(a);Rz=a};vA=function(a){var b=a?tA:uA,c=a?uA:tA;a=a?"-":"";Rz=parseInt(a+88,10);Qz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Qz.style.transform="translate3d(0px,"+a+88+"px,0px)";Qz.style.display="";Qz.style.visibility="visible";b();_.uy(c,4E3);_.uy(rA,5E3)};
wA=function(a){var b=_.zf("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Qz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Js(c,"visibility","hidden");_.Js(c,b,"-40px");_.Js(c,"height","128px");var d=c;if(!_.Yr()&&!_.Xr()){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?"-":"";Rz=parseInt(e+88,10);Qz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Qz.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){}_.En.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?vA(!0):vA(!1)}})};
xA=function(a){var b=_.kp(),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==_.qn.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
yA=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=_.zf("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!=Xz(c)||!eA(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};zA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Hg(_.Nz(a,!0));if(!1===a)throw Error("Ia");return a};AA=function(a){return(a=zA(a))?a.sub:null};
BA=function(a){a&&hA.push(a);a=_.Hz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(fA&&6E4>c-fA)return;var d=_.Rg.qo(a);d&&(pA("oauth2relayReady",d),pA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Iz();a=_.Hz}fA=c;var e=String(2147483647*(0,_.Fh)()|0);b=_.zf("oauth-flow/proxyUrl")||_.zf("oauth-flow/relayUrl");oA()?kA=_.En.openChild({where:_.Xf.zS(),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(_.wh.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Xf.zS(),d=_.Xf.kQ({name:a,id:a}),d.src=nA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,d.setAttribute("aria-hidden","true"),c.appendChild(d),_.Rg.Fw(a));qA("oauth2relayReady",e,function(){pA("oauth2relayReady",e);var f=hA;if(null!==f){hA=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});qA("oauth2callback",e,function(f){var h=_.Xf.lh;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(jA,f)?jA[f]:null;h.state=f;if(null!=h.state){f=iA[k];delete iA[k];k=f&&f.key||"token";var l=h=yA(f&&f.params,h),m=AA(l);if(m){var n=bA(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.zf("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",gA||(gA=!0,wA(l)));
_.Zz(k,h);h=Yz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(p){}f.callback&&(f.callback(h),f.callback=null)}}})};_.CA=function(a){null!==hA?BA(a):a&&a()};EA=function(a,b){var c=DA,d=AA(a);d&&(dA(a),cA(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=yA(null,e);c(e)}}))};
DA=function(a){a||(a=Yz(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||(_.rf.drw=null);_.Zz(a);if(b=a.authuser)_.zf("googleapis.config/sessionIndex"),_.Af("googleapis.config/sessionIndex",b);_.Jz.Cp(_.Kz,a);return a};FA=["client_id","cookie_policy","response_type"];GA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
HA=function(a){var b=_.Jk(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);_.Fw(b);return b};
IA=function(a){if(void 0===a.include_granted_scopes){var b=_.zf("include_granted_scopes");a.include_granted_scopes=!!b}};JA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
KA=function(a){var b=a||{},c={};_.oc(GA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.zf("googleapis/overrideClientId");null!=a&&(c.client_id=a);IA(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.vx(c.cookie_policy)}catch(d){c.cookie_policy&&
JA("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=_.$i(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.zf("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
LA=function(a,b){var c=KA(a),d=new _.cl(function(e,f){_.by(c,function(h){var k=h||{};_.oc(FA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=HA(k),null!=h.authuser&&_.Af("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};MA=_.nj.xS;NA=null;
_.QA=function(a,b){if("force"!==a.approvalprompt){a=_.OA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)NA?(a.client_id!==NA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(NA=a,b=!1);b||PA(a)}};
_.OA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.Jc)((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,_.Jc)(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||_.zf("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.zf("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};PA=function(a){_.Up("waaf0","signin","0");LA(a,function(b){_.Up("waaf1","signin","0");DA(b)})};
_.RA=function(a){a=_.OA(a);_.Af("oauth-flow/authWindowWidth",445);_.Af("oauth-flow/authWindowHeight",615);PA(a)};_.SA=function(a){_.Jz.unsubscribe(_.Kz,a);_.Jz.subscribe(_.Kz,a)};var ZA,bB;_.UA=function(a){return a.cookiepolicy?!0:(_.TA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.TA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.YA=function(a,b){var c=_.kp();_.jf(a,c);c=xA(c);if(_.UA(c)){var d=_.VA();_.WA(c);b?_.qf(b,"click",function(){_.XA(c,d)}):_.XA(c,d)}};
_.VA=function(){var a=new ZA;_.SA(function(b){a.RI&&b&&(b.access_token&&_.Af("isPlusUser",!0),b["g-oauth-window"]&&(a.RI=!1,_.Mg.warn("OTA app install is no longer supported.")))});return a};ZA=function(){this.RI=!1};_.WA=function(a){a=_.$A(a);_.aB(a.callback);_.CA(function(){_.QA(a)})};_.$A=function(a){bB(a);a.redirecturi&&delete a.redirecturi;Pz(function(b){return a[b]})||(a.authuser=0);return a};bB=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.aB=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.TA('Callback function named "'+a+'" not found');return}a&&_.SA(a)};_.XA=function(a,b){b.RI=!0;a=_.$A(a);_.RA(a)};_.C("gapi.auth.authorize",LA);_.C("gapi.auth.checkSessionState",function(a,b){var c=_.gf();c.client_id=a.client_id;c.session_state=a.session_state;_.CA(function(){oA()?kA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Hn):_.Rg.call(_.Hz,"check_session_state",lA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.C("gapi.auth.getAuthHeaderValueForFirstParty",MA);_.C("gapi.auth.getToken",Yz);
_.C("gapi.auth.getVersionInfo",function(a,b){_.CA(function(){var c=_.lj()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?oA()?kA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Hn):_.Rg.call(_.Hz,"get_versioninfo",lA(function(f){a(f)}),d,b):a()})});_.C("gapi.auth.init",_.CA);_.C("gapi.auth.setToken",_.Zz);_.C("gapi.auth.signIn",function(a){_.YA(a)});_.C("gapi.auth.signOut",function(){var a=Yz();a&&EA(a,a.cookie_policy)});
_.C("gapi.auth.unsafeUnpackIdToken",zA);_.C("gapi.auth._pimf",_.QA);_.C("gapi.auth._oart",wA);_.C("gapi.auth._guss",function(a){return aA(a).read()});
var cB=_.kp();cB.clientid&&cB.scope&&cB.callback&&!_.zf("disableRealtimeCallback")&&_.WA(cB);
});
// Google Inc.
