gapi.loaded_1(function(_){var window=this;
_.Ah=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.nd(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};_.Bh=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.tb(f)?"o"+_.rh(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};_.Ch=function(a){for(var b in a)return!1;return!0};
_.Dh=function(a,b){a.src=_.mc(b);(b=_.Kc("script",a.ownerDocument))&&a.setAttribute("nonce",b)};_.Eh=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);e>255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};var Fh,Gh,Ih;Fh={};Gh=null;_.Hh=_.Ed||_.Fd||!_.zh&&typeof _.Xa.atob=="function";_.Jh=function(a,b){b===void 0&&(b=0);Ih();b=Fh[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("")};
_.Kh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=Gh[m];if(n!=null)return n;if(!_.Dc(m))throw Error("w`"+m);}return l}Ih();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(k===64&&e===-1)break;b(e<<2|f>>4);h!=64&&(b(f<<4&240|h>>2),k!=64&&b(h<<6&192|k))}};
Ih=function(){if(!Gh){Gh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Fh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];Gh[f]===void 0&&(Gh[f]=e)}}}};
var gi;_.fi=function(a){this.Bc=a||{cookie:""}};_.g=_.fi.prototype;_.g.isEnabled=function(){if(!_.Xa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{VJ:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.VBa;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.VJ}if(/[;=\s]/.test(a))throw Error("z`"+a);if(/[;\r\n]/.test(b))throw Error("A`"+b);k===void 0&&(k=-1);this.Bc.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(k<0?"":k==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+k*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.Bc.cookie||"").split(";"),e=0,f;e<d.length;e++){f=_.Fc(d[e]);if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.Nl(a);this.set(a,"",{VJ:0,path:b,domain:c});return d};_.g.og=function(){return gi(this).keys};_.g.hf=function(){return gi(this).values};_.g.isEmpty=function(){return!this.Bc.cookie};_.g.jc=function(){return this.Bc.cookie?(this.Bc.cookie||"").split(";").length:0};
_.g.Nl=function(a){return this.get(a)!==void 0};_.g.clear=function(){for(var a=gi(this).keys,b=a.length-1;b>=0;b--)this.remove(a[b])};gi=function(a){a=(a.Bc.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=_.Fc(a[f]),d=e.indexOf("="),d==-1?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};_.hi=new _.fi(typeof document=="undefined"?null:document);
_.pi={};_.qi=function(a){return _.pi[a||"token"]||null};
_.Ui=function(a){a&&typeof a.dispose=="function"&&a.dispose()};_.Vi=function(){this.Ng=this.Ng;this.hp=this.hp};_.Vi.prototype.Ng=!1;_.Vi.prototype.isDisposed=function(){return this.Ng};_.Vi.prototype.dispose=function(){this.Ng||(this.Ng=!0,this.Aa())};_.Vi.prototype[Symbol.dispose]=function(){this.dispose()};_.Xi=function(a,b){_.Wi(a,_.ab(_.Ui,b))};_.Wi=function(a,b){a.Ng?b():(a.hp||(a.hp=[]),a.hp.push(b))};_.Vi.prototype.Aa=function(){if(this.hp)for(;this.hp.length;)this.hp.shift()()};
var ej;ej=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.fj=function(a){this.src=a;this.qe={};this.oy=0};_.hj=function(a,b){this.type="function"==typeof _.gj&&a instanceof _.gj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Qw=!1};_.hj.prototype.stopPropagation=function(){this.Qw=!0};_.hj.prototype.preventDefault=function(){this.defaultPrevented=!0};_.ij=function(a,b){_.hj.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.WK=!1;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.Hf=null;a&&this.init(a,b)};_.cb(_.ij,_.hj);
_.ij.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.Fd||a.offsetX!==void 0?a.offsetX:a.layerX,
this.offsetY=_.Fd||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?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||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.WK=_.Hd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=
a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.Hf=a;a.defaultPrevented&&_.ij.O.preventDefault.call(this)};_.ij.prototype.stopPropagation=function(){_.ij.O.stopPropagation.call(this);this.Hf.stopPropagation?this.Hf.stopPropagation():this.Hf.cancelBubble=!0};_.ij.prototype.preventDefault=function(){_.ij.O.preventDefault.call(this);var a=this.Hf;a.preventDefault?a.preventDefault():a.returnValue=!1};_.jj="closure_listenable_"+(Math.random()*1E6|0);_.kj=function(a){return!(!a||!a[_.jj])};var lj=0;var mj=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Nf=e;this.key=++lj;this.Vw=this.wz=!1},nj=function(a){a.Vw=!0;a.listener=null;a.proxy=null;a.src=null;a.Nf=null};_.fj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.qe[f];a||(a=this.qe[f]=[],this.oy++);var h=oj(a,b,d,e);h>-1?(b=a[h],c||(b.wz=!1)):(b=new mj(b,this.src,f,!!d,e),b.wz=c,a.push(b));return b};_.fj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.qe))return!1;var e=this.qe[a];b=oj(e,b,c,d);return b>-1?(nj(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.qe[a],this.oy--),!0):!1};
_.pj=function(a,b){var c=b.type;if(!(c in a.qe))return!1;var d=_.Yi(a.qe[c],b);d&&(nj(b),a.qe[c].length==0&&(delete a.qe[c],a.oy--));return d};_.fj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.qe)if(!a||c==a){for(var d=this.qe[c],e=0;e<d.length;e++)++b,nj(d[e]);delete this.qe[c];this.oy--}return b};_.fj.prototype.Yq=function(a,b,c,d){a=this.qe[a.toString()];var e=-1;a&&(e=oj(a,b,c,d));return e>-1?a[e]:null};
_.fj.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return ej(this.qe,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 oj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Vw&&f.listener==b&&f.capture==!!c&&f.Nf==d)return e}return-1};var qj,rj,sj,wj,yj,zj,Aj,Cj;qj="closure_lm_"+(Math.random()*1E6|0);rj={};sj=0;_.uj=function(a,b,c,d,e){if(d&&d.once)return _.tj(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.uj(a,b[f],c,d,e);return null}c=_.vj(c);return _.kj(a)?a.va(b,c,_.tb(d)?!!d.capture:!!d,e):wj(a,b,c,!1,d,e)};
wj=function(a,b,c,d,e,f){if(!b)throw Error("B");var h=_.tb(e)?!!e.capture:!!e,k=_.xj(a);k||(a[qj]=k=new _.fj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=yj();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)_.ri||(e=h),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(zj(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("C");sj++;return c};
yj=function(){var a=Aj,b=function(c){return a.call(b.src,b.listener,c)};return b};_.tj=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.tj(a,b[f],c,d,e);return null}c=_.vj(c);return _.kj(a)?a.Rr(b,c,_.tb(d)?!!d.capture:!!d,e):wj(a,b,c,!0,d,e)};
_.Bj=function(a){if(typeof a==="number"||!a||a.Vw)return!1;var b=a.src;if(_.kj(b))return b.AO(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(zj(c),d):b.addListener&&b.removeListener&&b.removeListener(d);sj--;(c=_.xj(b))?(_.pj(c,a),c.oy==0&&(c.src=null,b[qj]=null)):nj(a);return!0};zj=function(a){return a in rj?rj[a]:rj[a]="on"+a};
Aj=function(a,b){if(a.Vw)a=!0;else{b=new _.ij(b,this);var c=a.listener,d=a.Nf||a.src;a.wz&&_.Bj(a);a=c.call(d,b)}return a};_.xj=function(a){a=a[qj];return a instanceof _.fj?a:null};Cj="__closure_events_fn_"+(Math.random()*1E9>>>0);_.vj=function(a){if(typeof a==="function")return a;a[Cj]||(a[Cj]=function(b){return a.handleEvent(b)});return a[Cj]};_.dj(function(a){Aj=a(Aj)});
_.Dj=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c};_.Yd.prototype.U=_.kb(1,function(a){return _.ae(this.Bc,a)});_.Ej=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Ej(a,b[f],c,d,e);else d=_.tb(d)?!!d.capture:!!d,c=_.vj(c),_.kj(a)?a.Ac(b,c,d,e):a&&(a=_.xj(a))&&(b=a.Yq(b,c,d,e))&&_.Bj(b)};_.Fj=function(){_.Vi.call(this);this.tk=new _.fj(this);this.yfa=this;this.NK=null};_.cb(_.Fj,_.Vi);_.Fj.prototype[_.jj]=!0;_.g=_.Fj.prototype;_.g.wo=function(){return this.NK};
_.g.dE=function(a){this.NK=a};_.g.addEventListener=function(a,b,c,d){_.uj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Ej(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.wo();if(c)for(b=[];c;c=c.wo())b.push(c);c=this.yfa;var d=a.type||a;if(typeof a==="string")a=new _.hj(a,c);else if(a instanceof _.hj)a.target=a.target||c;else{var e=a;a=new _.hj(d,c);_.$i(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.Qw&&f>=0;f--){var h=a.currentTarget=b[f];e=h.Su(d,!0,a)&&e}a.Qw||(h=a.currentTarget=c,e=h.Su(d,!0,a)&&e,a.Qw||(e=h.Su(d,!1,a)&&e));if(b)for(f=0;!a.Qw&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Su(d,!1,a)&&e;return e};
_.g.Aa=function(){_.Fj.O.Aa.call(this);this.sL();this.NK=null};_.g.va=function(a,b,c,d){return this.tk.add(String(a),b,!1,c,d)};_.g.Rr=function(a,b,c,d){return this.tk.add(String(a),b,!0,c,d)};_.g.Ac=function(a,b,c,d){return this.tk.remove(String(a),b,c,d)};_.g.AO=function(a){return _.pj(this.tk,a)};_.g.sL=function(){this.tk&&this.tk.removeAll(void 0)};
_.g.Su=function(a,b,c){a=this.tk.qe[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.Vw&&f.capture==b){var h=f.listener,k=f.Nf||f.src;f.wz&&this.AO(f);d=h.call(k,c)!==!1&&d}}return d&&!c.defaultPrevented};_.g.Yq=function(a,b,c,d){return this.tk.Yq(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.tk.hasListener(a!==void 0?String(a):void 0,b)};
var kr;kr=function(){var a=_.Mc();if(_.Tc())return _.ad(a);a=_.Qc(a);var b=_.$c(a);return _.Sc()?b(["Version","Opera"]):_.Vc()?b(["Edge"]):_.Wc()?b(["Edg"]):_.Pc("Silk")?b(["Silk"]):_.Zc()?b(["Chrome","CriOS","HeadlessChrome"]):(a=a[2])&&a[1]||""};_.lr=function(a){return _.Hc(kr(),a)>=0};_.nr=function(){return _.Ub&&_.Nc?_.Nc.mobile:!_.mr()&&(_.Pc("iPod")||_.Pc("iPhone")||_.Pc("Android")||_.Pc("IEMobile"))};
_.mr=function(){return _.Ub&&_.Nc?!_.Nc.mobile&&(_.Pc("iPad")||_.Pc("Android")||_.Pc("Silk")):_.Pc("iPad")||_.Pc("Android")&&!_.Pc("Mobile")||_.Pc("Silk")};_.or=function(){return!_.nr()&&!_.mr()};
var ys;ys=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.zs=function(a,b,c,d){return Array.prototype.splice.apply(a,ys(arguments,1))};_.As=function(a,b,c){if(a!==null&&b in a)throw Error("h`"+b);a[b]=c};_.Bs=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=document,a=a?(b||c).querySelector(a?"."+a:""):_.be(c,"*",a,b)[0]||null);return a||null};
_.Cs=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Ds=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.Es=function(a){_.Vi.call(this);this.xg=a;this.qc={}};_.cb(_.Es,_.Vi);var Fs=[];_.Es.prototype.va=function(a,b,c,d){return this.mw(a,b,c,d)};
_.Es.prototype.mw=function(a,b,c,d,e){Array.isArray(b)||(b&&(Fs[0]=b.toString()),b=Fs);for(var f=0;f<b.length;f++){var h=_.uj(a,b[f],c||this.handleEvent,d||!1,e||this.xg||this);if(!h)break;this.qc[h.key]=h}return this};_.Es.prototype.Rr=function(a,b,c,d){return Gs(this,a,b,c,d)};var Gs=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Gs(a,b,c[h],d,e,f);else{b=_.tj(b,c,d||a.handleEvent,e,f||a.xg||a);if(!b)return a;a.qc[b.key]=b}return a};
_.Es.prototype.Ac=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Ac(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.tb(d)?!!d.capture:!!d,e=e||this.xg||this,c=_.vj(c),d=!!d,b=_.kj(a)?a.Yq(b,c,d,e):a?(a=_.xj(a))?a.Yq(b,c,d,e):null:null,b&&(_.Bj(b),delete this.qc[b.key]);return this};_.Es.prototype.removeAll=function(){_.$b(this.qc,function(a,b){this.qc.hasOwnProperty(b)&&_.Bj(a)},this);this.qc={}};_.Es.prototype.Aa=function(){_.Es.O.Aa.call(this);this.removeAll()};
_.Es.prototype.handleEvent=function(){throw Error("K");};
var su,tu,uu,vu,wu,yu,zu,Au,Bu,Du;_.qu=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};_.ru=!1;su=function(a){try{_.ru&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};tu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};uu=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};
vu=function(a,b){function c(){}if(!a)throw Error("N");if(!b)throw Error("O");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};wu=function(a){return Object.prototype.toString.call(a)==="[object Function]"};_.xu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};yu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return b==null?"":b[1].replace(/\+/g," ")};
zu=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("P`"+b);};Au={token:1,id_token:1};Bu=function(){var a=navigator.userAgent.toLowerCase();return a.indexOf("msie")!=-1&&parseInt(a.split("msie")[1],10)==8};_.Cu=window.JSON;Du=function(a){this.MO=a||[];this.tc={}};
Du.prototype.addEventListener=function(a,b){if(!(uu(this.MO,a)>=0))throw Error("R`"+a);if(!wu(b))throw Error("S`"+a);this.tc[a]||(this.tc[a]=[]);uu(this.tc[a],b)<0&&this.tc[a].push(b)};Du.prototype.removeEventListener=function(a,b){if(!(uu(this.MO,a)>=0))throw Error("R`"+a);wu(b)&&this.tc[a]&&this.tc[a].length&&(b=uu(this.tc[a],b),b>=0&&this.tc[a].splice(b,1))};
Du.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&uu(this.MO,b)>=0))throw Error("T`"+b);if(this.tc[b]&&this.tc[b].length)for(var c=this.tc[b].length,d=0;d<c;d++)this.tc[b][d](a)};var Eu,Fu,Hu,Lu,Mu,cv,dv,fv,gv,iv,mv,nv,ov,sv;Eu={};Fu={};_.Gu=function(){if(_.id()&&!_.lr("118"))return!1;var a=_.Zc()&&!_.Wc()&&!_.Xc()&&!navigator.userAgent.includes("SamsungBrowser"),b=_.cd()||_.or();return"IdentityCredential"in window&&a&&b&&_.lr("132")&&(_.or()||_.cd())};Hu={google:{fedcmConfigUrl:"https://accounts.google.com/o/fedcm/config.json",authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Iu=function(a,b){if(a=Hu[a])return a[b]};
_.Ju=function(a,b){if(!a)throw Error("U");if(!b.authServerUrl)throw Error("V");if(!b.idpIFrameUrl)throw Error("W");Hu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl};b.fedcmConfigUrl?Hu[a].fedcmConfigUrl=b.fedcmConfigUrl:a==="google"&&(Hu[a].fedcmConfigUrl="https://accounts.google.com/o/fedcm/config.json")};_.Ku=void 0;
Lu=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")};Mu=function(){this.Mi=window;this.Uz=this.On=this.Nw=this.Bi=null};
Mu.prototype.open=function(a,b,c,d){Nu(this);this.Nw?(this.On&&(this.On(),this.On=null),Ou(this)):this.Nw="authPopup"+Math.floor(Math.random()*1E6+1);a:{this.Bi=this.Mi.open(a,this.Nw,b);try{this.Bi.focus();if(this.Bi.closed||typeof this.Bi.closed=="undefined")throw Error("Y");_.Ku=this.Bi}catch(e){d&&setTimeout(d,0);this.Bi=null;break a}c&&(this.On=c,Pu(this))}};
var Nu=function(a){try{if(a.Bi==null||a.Bi.closed)a.Bi=null,a.Nw=null,Ou(a),a.On&&(a.On(),a.On=null)}catch(b){a.Bi=null,a.Nw=null,Ou(a)}},Pu=function(a){a.Uz=window.setInterval(function(){Nu(a)},300)},Ou=function(a){a.Uz&&(window.clearInterval(a.Uz),a.Uz=null)};Fu=Fu||{};var Qu=function(a,b){this.Zb=a;this.jJ=b;this.Tc=null;this.Io=!1};Qu.prototype.start=function(){if(!this.Io&&!this.Tc){var a=this;this.Tc=window.setTimeout(function(){a.clear();a.Io||(a.Zb(),a.Io=!0)},Fu.KW(this.jJ))}};
Qu.prototype.clear=function(){this.Tc&&(window.clearTimeout(this.Tc),this.Tc=null)};var Ru=function(a,b){var c=Fu.It;this.Mka=Fu.zt;this.G7=c;this.Zb=a;this.jJ=b;this.Tc=null;this.Io=!1;var d=this;this.H7=function(){document[d.Mka]||(d.clear(),d.start())}};Ru.prototype.start=function(){if(!this.Io&&!this.Tc){zu(document,this.G7,this.H7);var a=this;this.Tc=window.setTimeout(function(){a.clear();a.Io||(a.Zb(),a.Io=!0)},Fu.KW(this.jJ))}};
Ru.prototype.clear=function(){var a=this.G7,b=this.H7,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("Q`"+a);this.Tc&&(window.clearTimeout(this.Tc),this.Tc=null)};Fu.zt=null;Fu.It=null;
Fu.pla=function(){var a=document;typeof a.hidden!=="undefined"?(Fu.zt="hidden",Fu.It="visibilitychange"):typeof a.msHidden!=="undefined"?(Fu.zt="msHidden",Fu.It="msvisibilitychange"):typeof a.webkitHidden!=="undefined"&&(Fu.zt="webkitHidden",Fu.It="webkitvisibilitychange")};Fu.pla();Fu.Qga=function(a,b){return Fu.zt&&Fu.It?new Ru(a,b):new Qu(a,b)};Fu.KW=function(a){return Math.max(1,a-(new Date).getTime())};
var Su=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Tu=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(r){for(var t=h,w=0;w<64;w+=4)t[w/4]=r[w]<<24|r[w+1]<<16|r[w+2]<<8|r[w+3];for(w=16;w<80;w++)r=t[w-3]^t[w-8]^t[w-14]^t[w-16],t[w]=(r<<1|r>>>31)&4294967295;r=e[0];var x=e[1],v=e[2],z=e[3],B=e[4];for(w=0;w<80;w++){if(w<40)if(w<20){var C=z^x&(v^z);var D=1518500249}else C=
x^v^z,D=1859775393;else w<60?(C=x&v|z&(x|v),D=2400959708):(C=x^v^z,D=3395469782);C=((r<<5|r>>>27)&4294967295)+C+B+D+t[w]&4294967295;B=z;z=v;v=(x<<30|x>>>2)&4294967295;x=r;r=C}e[0]=e[0]+r&4294967295;e[1]=e[1]+x&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+B&4294967295}function c(r,t){if(typeof r==="string"){r=unescape(encodeURIComponent(r));for(var w=[],x=0,v=r.length;x<v;++x)w.push(r.charCodeAt(x));r=w}t||(t=r.length);w=0;if(m==0)for(;w+64<t;)b(r.slice(w,w+64)),w+=64,n+=64;for(;w<
t;)if(f[m++]=r[w++],n++,m==64)for(m=0,b(f);w+64<t;)b(r.slice(w,w+64)),w+=64,n+=64}function d(){var r=[],t=n*8;m<56?c(k,56-m):c(k,64-(m-56));for(var w=63;w>=56;w--)f[w]=t&255,t>>>=8;b(f);for(w=t=0;w<5;w++)for(var x=24;x>=0;x-=8)r[t++]=e[w]>>x&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Wi:function(){for(var r=d(),t="",w=0;w<r.length;w++)t+="0123456789ABCDEF".charAt(Math.floor(r[w]/16))+"0123456789ABCDEF".charAt(r[w]%16);return t}}},Uu=
window.crypto,Vu=!1,Wu=0,Xu=1,Yu=0,Zu="",$u=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Xu=Xu*b%Yu;if(++Wu==3)if(a=window,b=$u,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("Q`mousemove");},av=function(a){var b=Tu();b.update(a);return b.Wi()};Vu=!!Uu&&typeof Uu.getRandomValues=="function";
Vu||(Yu=(screen.width*screen.width+screen.height)*1E6,Zu=av(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),zu(window,"mousemove",$u));Eu=Eu||{};Eu.maa="ssIFrame_";
_.bv=function(a,b,c){c=c===void 0?!1:c;this.Gb=a;if(!this.Gb)throw Error("Z");a=_.Iu(a,"idpIFrameUrl");if(!a)throw Error("$");this.XX=a;if(!b)throw Error("aa");this.hn=b;a=this.XX;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];b.protocol=="http:"&&b.port!=""&&b.port!="0"&&b.port!="80"?(a.push(":"),a.push(b.port)):b.protocol=="https:"&&b.port!=""&&b.port!="0"&&b.port!="443"&&(a.push(":"),a.push(b.port));this.RI=a.join("");this.Loa=[location.protocol,"//",location.host].join("");
this.Xx=this.QI=this.Mo=!1;this.RX=null;this.GC=[];this.vs=[];this.dk={};this.No=void 0;this.ct=c};_.g=_.bv.prototype;_.g.show=function(){var a=this.No;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.hide=function(){Lu(this.No)};
_.g.mC=function(a){if(this.Mo)a&&a(this);else{if(!this.No){var b=Eu.maa+this.Gb;var c=this.Gb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&f.length>2&&(e=f[2]);(f=e&&uu(e.split("|"),c)>=0)?Su(e,d):Su(e?e+"|"+c:c,d);c=!f;var h=this.XX,k=this.Loa;d=this.hn;e=this.ct;e=e===void 0?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&wu(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);f.setAttribute("allow","identity-credentials-get");Lu(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.ru&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.No=f}a&&this.GC.push(a)}};_.g.oZ=function(){return this.Mo&&this.Xx};_.g.uo=function(){return this.RX};
cv=function(a){for(var b=0;b<a.GC.length;b++)a.GC[b](a);a.GC=[]};_.ev=function(a,b,c,d){if(a.Mo){if(a.Mo&&a.QI)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.uo(),su(a),Error(a);dv(a,{method:b,params:c},d)}else a.vs.push({Ep:{method:b,params:c},callback:d}),a.mC()};dv=function(a,b,c){if(c){for(var d=b.id;!d||a.dk[d];)d=(new Date).getMilliseconds()+"-"+(Math.random()*1E6+1);b.id=d;a.dk[d]=c}b.rpcToken=a.hn;a.No.contentWindow.postMessage(_.Cu.stringify(b),a.RI)};
fv=function(a){if(a&&a.indexOf("::")>=0)throw Error("ba");};_.bv.prototype.Aj=function(a,b,c,d,e,f,h,k,l){l=l===void 0?!1:l;fv(f);b=_.xu(b);_.ev(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.bv.prototype.kC=function(a,b,c,d,e){b=_.xu(b);_.ev(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};gv=function(a,b,c){fv(b.identifier);_.ev(a,"getSessionSelector",b,c)};
_.hv=function(a,b,c,d,e){fv(b.identifier);_.ev(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};iv=function(a,b,c,d,e,f,h){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);b.useFedCm=e;f&&(b.fedCmEnabled=f);_.ev(a,"monitorClient",b,h)};_.bv.prototype.revoke=_.gb(8);_.bv.prototype.Xt=_.gb(10);Eu.DB={};Eu.OH=function(a){return Eu.DB[a]};
Eu.mC=function(a,b,c){c=c===void 0?!1:c;var d=Eu.OH(a);if(!d){d=String;if(Vu){var e=new window.Uint32Array(1);Uu.getRandomValues(e);e=Number("0."+e[0])}else e=Xu,e+=parseInt(Zu.substr(0,20),16),Zu=av(Zu),e/=Yu+1.2089258196146292E24;d=new _.bv(a,d(2147483647*e),c);Eu.DB[a]=d}d.mC(b)};Eu.wia=function(a){for(var b in Eu.DB){var c=Eu.OH(b);if(c&&c.No&&c.No.contentWindow==a.source&&c.RI==a.origin)return c}};Eu.Yia=function(a){for(var b in Eu.DB){var c=Eu.OH(b);if(c&&c.RI==a)return c}};Eu=Eu||{};
var kv=function(){var a=[],b;for(b in _.jv)a.push(_.jv[b]);Du.call(this,a);this.Cm={};su("EventBus is ready.")};vu(kv,Du);_.jv={ida:"sessionSelectorChanged",zF:"sessionStateChanged",vt:"authResult",s9:"displayIFrame"};mv=function(a,b){var c=lv;a&&b&&(c.Cm[a]||(c.Cm[a]=[]),uu(c.Cm[a],b)<0&&c.Cm[a].push(b))};nv=function(a){var b=lv;a&&(b.Cm[a]||(b.Cm[a]=[]))};ov=function(a,b,c){return b&&a.Cm[b]&&uu(a.Cm[b],c)>=0};_.g=kv.prototype;
_.g.Rna=function(a){var b,c=!!a.source&&(a.source===_.Ku||a.source.opener===window);if(b=c?Eu.Yia(a.origin):Eu.wia(a)){try{var d=_.Cu.parse(a.data)}catch(e){su("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.hn){su("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.dk[c.id])delete b.dk[c.id],a(c.result,c.error);return}}d.method!="fireIdpEvent"?su("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.WX[a.type]?(d=this.WX[a.type],
c&&!d.Dfa?su("Bad IDP event. Source window cannot be a popup."):d.mt&&!d.mt.call(this,b,a)?su("Bad IDP event."):d.Nf.call(this,b,a)):su("Bad IDP event.")}else su("Bad event, no corresponding Idp Stub.")};_.g.rpa=function(a,b){return ov(this,a.Gb,b.clientId)};_.g.qpa=function(a,b){a=a.Gb;b=b.clientId;return!b||ov(this,a,b)};_.g.Pfa=function(a,b){return ov(this,a.Gb,b.clientId)};
_.g.bna=function(a,b){a.Mo=!0;a.Xx=!!b.cookieDisabled;cv(a);for(b=0;b<a.vs.length;b++)dv(a,a.vs[b].Ep,a.vs[b].callback);a.vs=[]};_.g.ana=function(a,b){b={error:b.error};a.Mo=!0;a.QI=!0;a.RX=b;a.vs=[];cv(a)};_.g.gD=function(a,b){b.originIdp=a.Gb;this.dispatchEvent(b)};var lv=new kv,pv=lv,qv={};qv.idpReady={Nf:pv.bna};qv.idpError={Nf:pv.ana};qv.sessionStateChanged={Nf:pv.gD,mt:pv.rpa};qv.sessionSelectorChanged={Nf:pv.gD,mt:pv.qpa};qv.authResult={Nf:pv.gD,mt:pv.Pfa,Dfa:!0};qv.displayIFrame={Nf:pv.gD};
lv.WX=qv||{};zu(window,"message",function(a){lv.Rna.call(lv,a)});
_.rv=function(a,b){this.Ue=!1;if(!a)throw Error("ca");var c=[],d;for(d in a)c.push(a[d]);Du.call(this,c);this.Fd=[location.protocol,"//",location.host].join("");this.Zd=b.crossSubDomains?b.domain||this.Fd:this.Fd;if(!b)throw Error("da");if(!b.idpId)throw Error("ea");if(!_.Iu(b.idpId,"authServerUrl")||!_.Iu(b.idpId,"idpIFrameUrl"))throw Error("fa`"+b.idpId);this.Gb=b.idpId;this.Tb=void 0;this.aha=!!b.disableTokenRefresh;this.Sha=!!b.forceTokenRefresh;this.nqa=!!b.skipTokenCache;this.ct=!!b.supportBlocked3PCookies;
b.pluginName&&(this.Gna=b.pluginName);b.ackExtensionDate&&(this.ufa=b.ackExtensionDate);this.n7=b.useFedCm;this.Dha=this.ct&&_.Gu();this.setOptions(b);this.ru=[];this.Xx=this.Gk=this.WY=!1;this.tj=void 0;this.E2();this.Qd=void 0;var e=this,f=function(){su("Token Manager is ready.");if(e.ru.length)for(var h=0;h<e.ru.length;h++)e.ru[h].call(e);e.WY=!0;e.ru=[]};Eu.mC(this.Gb,function(h){e.Qd=h;h.Mo&&h.QI?(e.Gk=!0,e.tj=h.uo(),e.bs(e.tj)):(e.Xx=h.oZ(),e.Tb?iv(e.Qd,e.Tb,e.Gna,e.ufa,e.n7,e.Dha,function(k){var l=
!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?(e.tj={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.Gk=!0,e.bs(e.tj)):l?m?n?(tu("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."),
mv(e.Gb,e.Tb),f()):(e.tj={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.Gk=!0,e.bs(e.tj)):(tu("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."),
mv(e.Gb,e.Tb),f()):(e.tj={error:"Not a valid origin for the client: "+e.Fd+" has not been registered for client ID "+e.Tb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Gk=!0,e.bs(e.tj))}):(nv(e.Gb),f()))},this.ct)};vu(_.rv,Du);_.g=_.rv.prototype;_.g.setOptions=function(){};_.g.E2=function(){};_.g.bs=function(){};_.g.oZ=function(){return this.Xx};_.g.uo=function(){return this.tj};sv=function(a,b,c){return function(){b.apply(a,c)}};
_.tv=function(a,b,c){if(a.WY)b.apply(a,c);else{if(a.Gk)throw a.tj;a.ru.push(sv(a,b,c))}};_.rv.prototype.QR=_.gb(11);_.rv.prototype.Xt=_.gb(9);_.vv=function(a,b){_.rv.call(this,a,b);this.D1=new Mu;this.Qk=this.np=null;uv(this)};vu(_.vv,_.rv);_.vv.prototype.setOptions=function(){};
var wv=function(a,b){a.Re={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Zd};b.crossSubDomains&&(a.Re.policy=b.policy)},xv=function(a,b){if(!b.authParameters)throw Error("ga");if(!b.authParameters.scope)throw Error("ha");if(!b.authParameters.response_type)throw Error("ia");a.Hn=b.authParameters;a.Hn.redirect_uri||(a.Hn.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Jj=_.xu(b.rpcAuthParameters||a.Hn);if(!a.Jj.scope)throw Error("ja");if(!a.Jj.response_type)throw Error("ka");
a:{var c=a.Jj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Au[c[d]]){c=!0;break a}c=!1}if(c)throw Error("la");if(b.enableSerialConsent||b.enableGranularConsent)a.Hn.enable_granular_consent=!0,a.Jj.enable_serial_consent=!0;b.authResultIdentifier&&(a.Qfa=b.authResultIdentifier);b.spec_compliant&&(a.Jj.spec_compliant=b.spec_compliant)};
_.vv.prototype.E2=function(){var a=this;lv.addEventListener(_.jv.ida,function(b){a.Ue&&a.Re&&b.originIdp==a.Gb&&!b.crossSubDomains==!a.Re.crossSubDomains&&b.domain==a.Re.domain&&b.id==a.Re.id&&a.x0(b)});lv.addEventListener(_.jv.zF,function(b){a.Ue&&b.originIdp==a.Gb&&b.clientId==a.Tb&&a.y0(b)});lv.addEventListener(_.jv.vt,function(b){_.Ku=void 0;a.Ue&&b.originIdp==a.Gb&&b.clientId==a.Tb&&b.id==a.Nk&&(a.np&&(window.clearTimeout(a.np),a.np=null),a.Nk=void 0,a.gp(b))});lv.addEventListener(_.jv.s9,function(b){a.Ue&&
b.originIdp==a.Gb&&(b.hide?a.Qd.hide():a.Qd.show())})};_.vv.prototype.x0=function(){};_.vv.prototype.y0=function(){};_.vv.prototype.gp=function(){};var zv=function(a,b){yv(a);a.aha||(a.Qk=Fu.Qga(function(){a.Aj(!0)},b-3E5),navigator.onLine&&a.Qk.start())},yv=function(a){a.Qk&&(a.Qk.clear(),a.Qk=null)},uv=function(a){var b=window;Bu()&&(b=document.body);zu(b,"online",function(){a.Qk&&a.Qk.start()});zu(b,"offline",function(){a.Qk&&a.Qk.clear()})};_.vv.prototype.Aj=function(){};_.vv.prototype.W_=_.gb(12);
_.vv.prototype.Yla=function(a,b){if(!this.Tb)throw Error("pa");this.Qd.kC(this.Tb,this.Jj,this.Re,a,b)};_.vv.prototype.kC=function(a,b){_.tv(this,this.Yla,[a,b])};_.Bv=function(a){this.Le=void 0;this.Ph=!1;this.Es=void 0;_.vv.call(this,Av,a)};vu(_.Bv,_.vv);var Av={uP:"noSessionBound",Ht:"userLoggedOut",e8:"activeSessionChanged",zF:"sessionStateChanged",rea:"tokenReady",qea:"tokenFailed",vt:"authResult",ERROR:"error"};
_.Bv.prototype.setOptions=function(a){if(!a.clientId)throw Error("qa");this.Tb=a.clientId;this.Ga=a.id;wv(this,a);xv(this,a)};_.Bv.prototype.bs=function(a){this.dispatchEvent({type:Av.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Gb})};var Cv=function(a){yv(a);a.Es=void 0;a.GJ=void 0};_.g=_.Bv.prototype;
_.g.x0=function(a){var b=a.newValue||{};if(this.Le!=b.hint||this.Ph!=!!b.disabled){a=this.Le;var c=!this.Le||this.Ph;Cv(this);this.Le=b.hint;this.Ph=!!b.disabled;(b=!this.Le||this.Ph)&&!c?this.dispatchEvent({type:Av.Ht,idpId:this.Gb}):b||(a!=this.Le&&this.dispatchEvent({type:Av.e8,idpId:this.Gb}),this.Le&&this.Aj())}};
_.g.y0=function(a){this.Ph||(this.Le?a.user||this.Es?a.user==this.Le&&(this.Es?a.sessionState?this.Es=a.sessionState:(Cv(this),this.dispatchEvent({type:Av.Ht,idpId:this.Gb})):a.sessionState&&(this.Es=a.sessionState,this.Aj())):this.Aj():this.dispatchEvent({type:Av.zF,idpId:this.Gb}))};_.g.gp=function(a){this.dispatchEvent({type:Av.vt,authResult:a.authResult})};_.g.lv=_.gb(14);_.g.Zu=function(a){_.tv(this,this.CH,[a])};_.g.CH=function(a){gv(this.Qd,this.Re,a)};
_.g.vE=function(a,b,c,d){d=d===void 0?!1:d;if(!a)throw Error("ra");Cv(this);this.Le=a;this.Ph=!1;b&&_.hv(this.Qd,this.Re,!1,this.Le);this.Ue=!0;this.Aj(c,!0,d)};_.g.start=function(){_.tv(this,this.Jx,[])};
_.g.Jx=function(){var a=this.Tb==yu("client_id")?yu("login_hint"):void 0;var b=this.Tb==yu("client_id")?yu("state"):void 0;this.pK=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.vE(a,!0,!0,!0);else{var c=this;this.Zu(function(d){c.Ue=!0;d&&d.hint?(Cv(c),c.Le=d.hint,c.Ph=!!d.disabled,c.Ph?c.dispatchEvent({type:Av.Ht,idpId:c.Gb}):c.vE(d.hint)):(Cv(c),c.Le=void 0,c.Ph=!(!d||!d.disabled),c.dispatchEvent({type:Av.uP,
autoOpenAuthUrl:!c.Ph,idpId:c.Gb}))})}};_.g.Pha=function(){var a=this;this.Zu(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:Av.Ht,idpId:a.Gb}):a.Aj(!0):a.dispatchEvent({type:Av.uP,idpId:a.Gb})})};_.g.xV=function(){_.tv(this,this.Pha,[])};
_.g.Aj=function(a,b,c){var d=this;this.Qd.Aj(this.Tb,this.Jj,this.Le,this.Re,function(e,f){(f=f||e.error)?f=="user_logged_out"?(Cv(d),d.dispatchEvent({type:Av.Ht,idpId:d.Gb})):(d.GJ=null,d.dispatchEvent({type:Av.qea,idpId:d.Gb,error:f})):(d.GJ=e,d.Es=e.session_state,zv(d,e.expires_at),e.idpId=d.Gb,b&&d.pK&&(e.state=d.pK,d.pK=void 0),d.dispatchEvent({type:Av.rea,idpId:d.Gb,response:e}))},this.Ga,a,!1,c===void 0?!1:c)};_.g.revoke=_.gb(7);_.g.j3=_.gb(15);
_.Dv=function(a){this.In=null;_.vv.call(this,{},a);this.Ue=!0};vu(_.Dv,_.vv);_.g=_.Dv.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("qa");this.Tb=a.clientId;this.Ga=a.id;wv(this,a);xv(this,a)};_.g.bs=function(a){this.In&&(this.In({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.In=null)};_.g.gp=function(a){if(this.In){var b=this.In;this.In=null;b(a)}};_.g.lv=_.gb(13);_.g.Zu=function(a){this.Gk?a(this.uo()):_.tv(this,this.CH,[a])};
_.g.CH=function(a){gv(this.Qd,this.Re,a)};_.Ev=function(a,b,c){a.Gk?c(a.uo()):_.tv(a,a.nna,[b,c])};_.Dv.prototype.nna=function(a,b){this.Qd.Aj(this.Tb,this.Jj,a,this.Re,function(c,d){d?b({error:d}):b(c)},this.Ga,this.Sha,this.nqa)};_.Dv.prototype.TZ=_.gb(16);
var Fv=function(a){var b=window.location;a=_.xc(a);a!==void 0&&b.assign(a)},Gv=function(a){return Array.prototype.concat.apply([],arguments)},Hv=function(){try{var a=Array.from((window.crypto||window.msCrypto).getRandomValues(new Uint8Array(64)))}catch(c){a=[];for(var b=0;b<64;b++)a[b]=Math.floor(Math.random()*256)}return _.Jh(a,3).substring(0,64)},Iv=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=a[c];if(d===null||d===void 0)d="";b.push(encodeURIComponent(c)+"="+encodeURIComponent(d))}return b.join("&")},
Jv=function(a,b){(b===void 0?0:b)||window.addEventListener("hashchange",function(){location.hash.includes("client_id")&&window.location.reload()});Fv(a)},Kv=function(a,b,c){if(!a.Ue)throw Error("ma");b?_.hv(a.Qd,a.Re,!0,void 0,c):_.hv(a.Qd,a.Re,!0,a.Le,c)},Lv=function(a){if(!a.Ue)throw Error("ma");return a.GJ},Mv,Nv,Ov,Pv,Qv,Rv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,bw,ew,fw;
_.Dv.prototype.TZ=_.kb(16,function(a,b){var c=this.Qd,d=this.Tb,e=this.Re,f=_.xu(this.Jj);delete f.response_type;_.ev(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Bv.prototype.j3=_.kb(15,function(a){Lv(this)&&Lv(this).access_token&&(this.Qd.revoke(this.Tb,Lv(this).access_token,a),Kv(this,!0))});
_.Bv.prototype.lv=_.kb(14,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&(a.cD?(b.authResult.client_id=a.Tb,Jv(a.cD+"#"+Iv(b.authResult))):a.vE(b.authResult.login_hint,a.Ph||b.authResult.login_hint!=a.Le,!0,!0))}});
_.Dv.prototype.lv=_.kb(13,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Zu(function(d){_.hv(b.Qd,b.Re,d&&d.disabled,c.authResult.login_hint,function(){_.Ev(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"})}});_.vv.prototype.W_=_.kb(12,function(){this.Tb&&_.ev(this.Qd,"startPolling",{clientId:this.Tb,origin:this.Fd,id:this.Nk})});
_.bv.prototype.revoke=_.kb(8,function(a,b,c){_.ev(this,"revoke",{clientId:a,token:b},c)});_.Bv.prototype.revoke=_.kb(7,function(a){_.tv(this,this.j3,[a])});Mv="openid email profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/plus.login".split(" ");
Nv=function(){var a=navigator.userAgent,b;if(b=!!a&&a.indexOf("CriOS")!=-1)b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=b<48;return b};
Ov=function(){var a=navigator.userAgent.toLowerCase();if(!(a.indexOf("safari/")>-1&&a.indexOf("chrome/")<0&&a.indexOf("crios/")<0&&a.indexOf("android")<0))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||b.length<3)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return a>12||a==12&&b>=1};Pv=function(a){return a.length>0&&a.every(function(b){return Mv.includes(b)})};
Qv=function(a,b,c,d,e,f,h){var k=_.Iu(a,"authServerUrl");if(!k)throw Error("X`"+a);a=_.xu(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=Ov())&&(b=navigator.userAgent.toLowerCase(),b.indexOf("ipad;")>-1||b.indexOf("iphone;")>-1?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||b.length<2?!1:parseInt(b[1],10)>=14):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");return k+(k.indexOf("?")<0?"?":"&")+Iv(a)};Rv=function(a,b,c,d){if(!a.Tb)throw Error("na");a.Nk=c||a.Qfa||"auth"+Math.floor(Math.random()*1E6+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Fd.split("//");c=b.extraQueryParams;var f=e[0],h=e[1];e=a.Nk;var k=f.indexOf(":");k>0&&(f=f.substring(0,k));f=["storagerelay://",f,"/",h,"?"];f.push("id="+e);c.redirect_uri=f.join("")}return Qv(a.Gb,a.Zd,a.Tb,a.Hn,!0,b,d)};
Sv=function(a,b,c){if(!a.Tb)throw Error("na");return Qv(a.Gb,a.Zd,a.Tb,a.Hn,!1,b,c)};Tv=function(a,b){a.np&&window.clearTimeout(a.np);a.np=window.setTimeout(function(){a.Nk==b&&(_.Ku=void 0,a.np=null,a.Nk=void 0,a.gp({authResult:{error:"popup_closed_by_user"}}))},1E3)};
Uv=function(a,b,c){if(!a.Tb)throw Error("oa");c=c||{};c=Rv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Nv())&&_.tv(a,a.W_,[]);var d=a.Nk;a.D1.open(c,b,function(){a.Nk==d&&Tv(a,d)},function(){a.Nk=void 0;a.gp({authResult:{error:"popup_blocked_by_browser"}})})};
Vv=function(a,b){var c=b||{};b=_.xu(a.Hn);if(c.sessionMeta&&c.sessionMeta.extraQueryParams)for(var d in c.sessionMeta.extraQueryParams)b[d]=c.sessionMeta.extraQueryParams[d];var e;c.sessionMeta.extraQueryParams.scope&&(e=c.sessionMeta.extraQueryParams.scope.split(" "));!e&&b.scope&&(e=b.scope.split(" "));delete b.redirect_uri;delete b.origin;delete b.client_id;delete b.scope;b.prompt=="select_account"&&delete b.prompt;b.gsiwebsdk="fedcm";b.ss_domain=a.Zd;d=_.Iu(a.Gb,"fedcmConfigUrl");c=c.responseType;
b.response_type=c;b.scope=e.join(" ");!b.nonce&&c.includes("id_token")&&(b.nonce="notprovided");c=navigator.userActivation.isActive?"active":"passive";e=Pv(e)?["name","email","picture"]:[];return{identity:{providers:[{configURL:d,clientId:a.Tb,fields:e,params:b}],mode:c},mediation:"required"}};
Wv=function(a,b,c){if(!a.Tb)throw Error("oa");b=Vv(a,b);navigator.credentials.get(b).then(function(d){d=JSON.parse(d.token);var e={client_id:d.client_id,login_hint:d.login_hint,expires_in:3600,scope:d.scope};d.code&&(e.code=d.code);d.id_token&&(e.id_token=d.id_token);a.gp({type:_.jv.vt,idpId:a.Gb,authResult:e})},function(d){d.message.indexOf("identity-credentials-get")>=0||d.message.indexOf("Content Security Policy")>=0?c():a.gp({type:_.jv.vt,idpId:a.Gb,authResult:{error:d}})})};
Xv=function(a,b,c){a.ct&&_.Gu()?Wv(a,c,function(){return Uv(a,b,c)}):Uv(a,b,c)};Yv=function(a,b){b=b||{};var c=Sv(a,b.sessionMeta,b.responseType);a.ct&&_.Gu()&&a.n7?(a.cD=b.sessionMeta.extraQueryParams.redirect_uri,Wv(a,b,function(){return Jv(c,!0)})):Jv(c,!0)};Zv=function(a,b,c){a.Gk?c(a.uo()):_.tv(a,a.TZ,[b,c])};_.$v=function(a){_.Be(_.Oe,"le",[]).push(a)};
_.aw=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(e<128)b[d++]=String.fromCharCode(e);else if(e>191&&e<224){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){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("")};
bw=function(a){var b=[];_.Kh(a,function(c){b.push(c)});return b};_.cw=function(a,b){_.pi[b||"token"]=a};_.dw=function(a){delete _.pi[a||"token"]};fw=function(){if(typeof MessageChannel!=="undefined"){var a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;var d=b.cb;b.cb=null;d()}};return function(d){c.next={cb:d};c=c.next;a.port2.postMessage(0)}}return function(d){_.Xa.setTimeout(d,0)}};_.Cu={parse:function(a){a=_.Pf("["+String(a)+"]");if(a===!1||a.length!==1)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Qf(a)}};_.Dv.prototype.oH=function(a,b){_.tv(this,this.Fha,[a,b])};_.Dv.prototype.Fha=function(a,b){this.Qd.oH(this.Tb,a,this.Jj,this.Re,b)};_.bv.prototype.oH=function(a,b,c,d,e){c=_.xu(c);_.ev(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var gw,hw=["client_id","cookie_policy","scope"],iw="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 enable_granular_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date use_fedcm gsiwebsdk".split(" "),jw=["authuser","after_redirect","access_type","hl"],kw=["login_hint","prompt"],lw={clientid:"client_id",cookiepolicy:"cookie_policy"},
mw=["approval_prompt","authuser","login_hint","prompt","hd"],nw=["login_hint","g-oauth-window","status"],ow=Math.min(_.Ye("oauth-flow/authWindowWidth",599),screen.width-20),pw=Math.min(_.Ye("oauth-flow/authWindowHeight",600),screen.height-30);var qw=function(a){_.ib.call(this,a)};_.u(qw,_.ib);qw.prototype.name="gapi.auth2.ExternallyVisibleError";var rw=function(){};rw.prototype.select=function(a,b){if(a.sessions&&a.sessions.length==1&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var sw=function(){};sw.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 tw=function(a){this.Rfa=a};
tw.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.Rfa){d.login_hint?b(d):b();return}}b()};var uw=function(a){this.Ae=a;this.OD=[]};uw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.OD[b];f?(b++,c.Ae.kC(function(h){h?f.select(h,d):d()})):a()}};d()};var vw=function(a){a=new uw(a);a.OD.push(new rw);return a},ww=function(a){a=new uw(a);a.OD.push(new sw);return a},xw=function(a,b){b===void 0||b===null?b=vw(a):(a=new uw(a),a.OD.push(new tw(b)),b=a);return b};var yw=function(a){this.Nf=a;this.isActive=!0};yw.prototype.remove=function(){this.isActive=!1};yw.prototype.trigger=function(){};var zw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Aw=function(){this.tc=[]};Aw.prototype.add=function(a){this.tc.push(a)};Aw.prototype.notify=function(a){for(var b=this.tc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),e=Bw(e.Nf,a),e=(0,_.fk)(e),e=(0,_.dk)(e),ew||(ew=fw()),ew(e))}this.tc=c};var Bw=function(a,b){return function(){a(b)}};var Dw=function(a){this.Na=null;this.jra=new Cw(this);this.tc=new Aw;a!=void 0&&this.set(a)};Dw.prototype.set=function(a){a!=this.Na&&(this.Na=a,this.jra.value=a,this.tc.notify(this.Na))};Dw.prototype.get=function(){return this.Na};Dw.prototype.va=function(a){a=new Ew(this,a);this.tc.add(a);return a};Dw.prototype.get=Dw.prototype.get;var Ew=function(a,b){yw.call(this,b);this.cma=a};_.u(Ew,yw);Ew.prototype.trigger=function(){var a=this.Nf;a(this.cma.get())};
var Cw=function(a){this.value=null;this.va=function(b){return new zw(a.va(b))}};var Fw={zta:"fetch_basic_profile",zua:"login_hint",Sva:"prompt",Yva:"redirect_uri",qwa:"scope",Oxa:"ux_mode",dxa:"state"},Gw=function(a){this.Ma={};if(a&&!_.Ch(a))if(typeof a.get=="function")this.Ma=a.get();else for(var b in Fw){var c=Fw[b];c in a&&(this.Ma[c]=a[c])}};Gw.prototype.get=function(){return this.Ma};Gw.prototype.y4=function(a){this.Ma.scope=a;return this};Gw.prototype.xv=function(){return this.Ma.scope};
var Hw=function(a,b){var c=a.Ma.scope;b=Gv(b.split(" "),c?c.split(" "):[]);_.Bh(b);a.Ma.scope=b.join(" ")};_.g=Gw.prototype;_.g.Rpa=function(a){this.Ma.prompt=a;return this};_.g.aja=function(){return this.Ma.prompt};_.g.upa=function(){_.Uf.warn("Property app_package_name no longer supported and was not set");return this};_.g.cia=function(){_.Uf.warn("Property app_package_name no longer supported")};_.g.yf=function(a){this.Ma.state=a};_.g.getState=function(){return this.Ma.state};var Iw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+ow,"height="+pw,"top="+(screen.height-pw)/2,"left="+(screen.width-ow)/2].join()},Jw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;var b=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");a=JSON;var c=a.parse;b=bw(b);return c.call(a,_.aw(b))},Kw=function(){gw=_.Ye("auth2/idpValue","google");var a=_.Ye("oauth-flow/authUrl",
"https://accounts.google.com/o/oauth2/auth"),b=_.Ye("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");a={fedcmConfigUrl:_.Ye("oauth-flow/fedcmConfigUrl","https://accounts.google.com/o/fedcm/config.json"),authServerUrl:a,idpIFrameUrl:b};_.Ju(gw,a)},Lw=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}_.tb(a[e])||(a[e]={});a=a[e]}},Mw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},
Ow=function(){var a=Nw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,Mw()+window.location.pathname);if(a.status.toLowerCase()=="enforced")throw new qw("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href);a.status.toLowerCase()=="informational"&&_.Uf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)},Pw=function(a){return _.hi.get("GSI_ALLOW_3PCD")==="1"?!0:a===!1?!1:a===!0||(_.Oe.le||[]).includes("fedcm_migration_mod")?
!0:!1};var Qw=function(a){var b=a?(b=Jw(a))?b.sub:null:null;this.Ga=b;this.Jc=a?_.Uj(a):null};_.g=Qw.prototype;_.g.getId=function(){return this.Ga};_.g.LH=function(){var a=Jw(this.Jc);return a?a.hd:null};_.g.yg=function(){return!!this.Jc};_.g.hm=function(a){if(a)return this.Jc;a=Rw;var b=_.Uj(this.Jc);!a.RB||a.II||a.Bka||(delete b.access_token,delete b.scope);return b};_.g.qL=function(){return Rw.qL()};_.g.nl=function(){this.Jc=null};_.g.Eia=function(){return this.Jc?this.Jc.scope:null};
_.g.update=function(a){this.Ga=a.Ga;this.Jc=a.Jc;this.Jc.id_token?this.mz=new Sw(this.Jc):this.mz&&(this.mz=null)};var Tw=function(a){return a.Jc&&typeof a.Jc.session_state=="object"?_.Uj(a.Jc.session_state.extraQueryParams||{}):{}};_.g=Qw.prototype;_.g.AH=function(){var a=Tw(this);return a&&a.authuser!==void 0&&a.authuser!==null?a.authuser:null};
_.g.ll=function(a){var b=Rw,c=new Gw(a);b.II=c.xv()?!0:!1;Rw.RB&&Hw(c,"openid profile email");return new _.mk(function(d,e){var f=Tw(this);f.login_hint=this.getId();f.scope=c.xv();Uw(b,d,e,f)},this)};_.g.Ev=function(a){return new _.mk(function(b,c){var d=a||{},e=Rw;d.login_hint=this.getId();e.Ev(d).then(b,c)},this)};_.g.rja=function(a){return this.ll(a)};_.g.disconnect=function(){return Rw.disconnect()};_.g.fia=function(){return this.mz};
_.g.xB=function(a){if(!this.yg())return!1;var b=this.Jc&&this.Jc.scope?this.Jc.scope.split(" "):"";return _.Hb(a?a.split(" "):[],function(c){return _.qb(b,c)})};var Sw=function(a){a=Jw(a);this.Xha=a.sub;this.hh=a.name;this.nja=a.given_name;this.Cha=a.family_name;this.eY=a.picture;this.hA=a.email};_.g=Sw.prototype;_.g.getId=function(){return this.Xha};_.g.getName=function(){return this.hh};_.g.Cia=function(){return this.nja};_.g.yia=function(){return this.Cha};_.g.Kia=function(){return this.eY};
_.g.io=function(){return this.hA};var Nw,Vw;Nw=function(){var a=_.hi.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]}:(_.Uf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};Vw=function(a){var b=location;if(a&&a!="none")return a=="single_host_origin"?b.protocol+"//"+b.host:a};
_.Ww=function(a){if(!a)throw new qw("No cookiePolicy");var b=window.location.hostname;a=="single_host_origin"&&(a=window.location.protocol+"//"+b);if(a=="none")return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new qw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=c.indexOf("https")!=-1;d.domain=a;if(!_.Dj(b,"."+a)&&!_.Dj(b,a))throw new qw("Invalid cookiePolicy domain");return d};var Yw=function(a){var b=a||{},c=Xw();_.Ab(iw,function(d){typeof b[d]==="undefined"&&typeof c[d]!=="undefined"&&(b[d]=c[d])});return b},Xw=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(d.indexOf("google-signin-")==0){d=d.substring(14);var e=b[c].content;lw[d]&&(d=lw[d]);_.qb(iw,d)&&e&&(a[d]=e=="true"?!0:e=="false"?!1:e)}}return a},Zw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},$w=function(a){_.Ab(iw,
function(b){var c=Zw(b);typeof a[c]!=="undefined"&&typeof a[b]==="undefined"&&(a[b]=a[c],delete a[c])})},ax=function(a){a=Yw(a);$w(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=iw+jw,c;for(c in a)b.indexOf(c)<0&&delete a[c];return a},bx=function(a,b){if(!a)throw new qw("Empty initial options.");for(var c=0;c<hw.length;++c)if(!(b&&hw[c]=="scope"||a[hw[c]]))throw new qw("Missing required parameter '"+hw[c]+"'");_.Ww(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:Vw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:gw};cx(b,a);_.Ab(kw,function(d){a[d]&&(b.authParameters[d]=a[d])});typeof a.enable_serial_consent=="boolean"&&(b.enableSerialConsent=a.enable_serial_consent);typeof a.enable_granular_consent=="boolean"&&(b.enableGranularConsent=a.enable_granular_consent);if(a.plugin_name)b.pluginName=
a.plugin_name;else{var c=_.Ye("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);typeof a.use_fedcm==="boolean"&&(b.useFedCm=a.use_fedcm);return b},cx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||Hv());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:Vw(c),idpId:gw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||Hv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Ab(kw.concat(jw),function(n){a[n]&&(m.authParameters[n]=a[n])});
a.authuser!==void 0&&a.authuser!==null&&(m.authParameters.authuser=a.authuser);typeof a.include_granted_scopes=="boolean"&&(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,a.include_granted_scopes===!1&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));typeof a.enable_serial_consent=="boolean"&&(m.enableSerialConsent=a.enable_serial_consent);typeof a.enable_granular_consent==
"boolean"&&(m.enableGranularConsent=a.enable_granular_consent);a.plugin_name?m.pluginName=a.plugin_name:(b=_.Ye("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);typeof a.use_fedcm==="boolean"&&(m.useFedCm=a.use_fedcm);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");
b.length==0&&(b=["token","id_token"]);return b.join(" ")},kx=["permission","id_token"],lx=/(^|[^_])token/,fx=function(a){this.ys=[];this.fJ(a)};fx.prototype.fJ=function(a){a?((a.indexOf("permission")>=0||a.match(lx))&&this.ys.push("permission"),a.indexOf("id_token")>=0&&this.ys.push("id_token"),a.indexOf("code")>=0&&this.ys.push("code")):this.ys=kx};var gx=function(a){return jx(a,"code")},hx=function(a){return jx(a,"permission")};fx.prototype.toString=function(){return this.ys.join(" ")};
var jx=function(a,b){var c=!1;_.Ab(a.ys,function(d){d==b&&(c=!0)});return c};var nx=function(a,b,c){this.rK=b;this.Pma=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.rK[c[a]]},mx=function(a,b){a[b]=function(){return a.Pma[b].apply(a.rK,arguments)}};nx.prototype.then=function(a,b,c){var d=this;return _.qk().then(function(){return ox(d.rK,a,b,c)})};_.bk(nx);var Rw,px,rx;Rw=null;_.qx=function(){return Rw?px():null};px=function(){return new nx(rx.prototype,Rw,["currentUser","isSignedIn"])};rx=function(a){delete a.include_granted_scopes;this.Ma=dx(a);this.Nga=a.cookie_policy;this.Bka=!!a.scope;(this.RB=a.fetch_basic_profile!==!1)&&(this.Ma.authParameters.scope=sx(this,"openid profile email"));this.Ma.supportBlocked3PCookies=Pw(a.use_fedcm);this.Rv=a.hosted_domain;this.gra=a.ux_mode||"popup";this.cD=a.redirect_uri||null;this.cJ()};
rx.prototype.cJ=function(){this.currentUser=new Dw(new Qw(null));this.isSignedIn=new Dw(!1);this.Ae=new _.Bv(this.Ma);this.XB=this.Ir=null;this.Nla=new _.mk(function(a,b){this.Ir=a;this.XB=b},this);this.FC={};this.gw=!0;tx(this);this.Ae.start()};
var tx=function(a){a.Ae.addEventListener("error",function(b){a.gw&&a.Ir&&(a.gw=!1,a.XB({error:b.error,details:b.details}),a.Ir=null,a.XB=null)});a.Ae.addEventListener("authResult",function(b){b&&b.authResult&&a.Ff(b);a.Ae.lv()(b)});a.Ae.addEventListener("tokenReady",function(b){var c=new Qw(b.response);if(a.Rv&&a.Rv!=c.LH())a.Ff({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.LH(),expectedDomain:a.Rv});else{a.currentUser.get().update(c);
var d=a.currentUser;d.tc.notify(d.Na);a.isSignedIn.set(!0);c=c.AH();(d=_.Ww(a.Nga))&&c&&_.hi.set(["G_AUTHUSER_",window.location.protocol==="https:"&&d.kf?"S":"H",d.Yi].join(""),c,{domain:d.domain,secure:d.isSecure});_.cw(b.response);a.Ff(b)}});a.Ae.addEventListener("noSessionBound",function(b){a.gw&&b.autoOpenAuthUrl?(a.gw=!1,vw(a.Ae).select(function(c){if(c&&c.login_hint){var d=a.Ae;_.tv(d,d.vE,[c.login_hint,!0])}else a.currentUser.set(new Qw(null)),a.isSignedIn.set(!1),_.dw(),a.Ff(b)})):(a.currentUser.set(new Qw(null)),
a.isSignedIn.set(!1),_.dw(),a.Ff(b))});a.Ae.addEventListener("tokenFailed",function(b){a.Ff(b)});a.Ae.addEventListener("userLoggedOut",function(b){a.currentUser.get().nl();var c=a.currentUser;c.tc.notify(c.Na);a.isSignedIn.set(!1);_.dw();a.Ff(b)})},ox=function(a,b,c,d){return a.Nla.then(function(e){if(b)return b(e.pja)},c,d)};rx.prototype.Ff=function(a){if(a){this.gw=!1;var b=a.type||"";if(this.FC[b])this.FC[b](a);this.Ir&&(this.Ir({pja:this}),this.XB=this.Ir=null)}};
var ux=function(a,b){_.$b(b,function(c,d){a.FC[d]=function(e){a.FC={};c(e)}})},Uw=function(a,b,c,d){d=_.Uj(d);a.Rv&&(d.hd=a.Rv);var e=d.ux_mode||a.gra;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};e=="redirect"?(d.redirect_uri||(d.redirect_uri=a.cD||Mw()+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.ll=function(a){return new _.mk(function(b,c){var d=new Gw(a);this.II=d.xv()?!0:!1;this.RB?(d.Ma.fetch_basic_profile=!0,Hw(d,"email profile openid")):d.Ma.fetch_basic_profile=!1;var e=sx(this,d.xv());d.y4(e);Uw(this,b,c,d.get())},this)};
rx.prototype.Ev=function(a){var b=a||{};this.II=!!b.scope;a=sx(this,b.scope);if(a=="")return _.rk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Ab(mw,function(d){b[d]!=null&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");b.redirect_uri=="postmessage"||b.redirect_uri==void 0?a=xx(this,c):(c.redirect_uri=b.redirect_uri,vx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.qk({message:"Redirecting to IDP."}));return a};
var xx=function(a,b){b.origin=Mw();delete b.redirect_uri;wx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.mk(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){Lw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Xv(a.Ae,Iw(),b)},vx=function(a,b){Lw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Yv(a.Ae,b)};
rx.prototype.nl=function(a){var b=a||!1;return new _.mk(function(c){Kv(this.Ae,b,function(){c()})},this)};rx.prototype.rW=function(){return this.Ma.authParameters.scope};var sx=function(a,b){a=a.rW();b=Gv(b?b.split(" "):[],a?a.split(" "):[]);_.Bh(b);return b.join(" ")};rx.prototype.qL=function(){var a=this;return new _.mk(function(b,c){ux(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Ae.xV()})};
rx.prototype.RQ=function(a,b,c,d){if(a=typeof a==="string"?document.getElementById(a):a){var e=this;_.uj(a,"click",function(){var f=b;typeof b=="function"&&(f=b());e.ll(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 _.mk(function(a){this.Ae.revoke(function(){a()})},this)};rx.prototype.attachClickHandler=rx.prototype.RQ;var yx;_.mk.prototype["catch"]=_.mk.prototype.BE;yx=null;_.zx=function(a){Ow();a=ax(a);if(Rw){if(_.qu(a,yx||{}))return px();throw new qw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}bx(a,a.fetch_basic_profile!==!1);Kw();yx=a;Rw=new rx(a);_.Oe.ga=1;return px()};var Bx,Dx,Ax,Fx,Ex,Gx;
_.Cx=function(a,b){Ow();Kw();a=ax(a);bx(a);var c=ix(a);c.supportBlocked3PCookies=Pw(a.use_fedcm);var d=new _.Dv(c);a.prompt=="none"?Ax(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)}):Bx(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.D1.Bi;b(e)})};
Bx=function(a,b,c){var d=new fx(b.response_type);c=Dx(a,d,c);var e={responseType:d.toString()};Lw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");gx(d)&&Lw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Lw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Lw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Iw();a.Gk?c({authResult:{error:"idpiframe_initialization_failed",details:a.uo().error}}):(a.In=
c,Xv(a,b,e))};Dx=function(a,b,c){if(hx(b)){var d=Ex(c);return function(e){e&&e.authResult&&!e.authResult.error?a.lv(function(f){f&&!f.error?(f=_.Uj(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(_.Uj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Ax=function(a,b,c){if(gx(new fx(b.response_type))&&b.access_type=="offline")c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Ex(c);b.login_hint?a.oH(b.login_hint,function(e){e?Fx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):b.authuser!==void 0&&b.authuser!==null?xw(a,b.authuser).select(function(e){e&&e.login_hint?Fx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Zu(function(e){e&&e.hint?Fx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):(b.session_selection=="first_valid"?ww(a):vw(a)).select(function(f){f&&f.login_hint?Fx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Fx=function(a,b,c,d){b=new fx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.$i(f,k),e==0&&d(f))};(hx(b)||jx(b,"id_token"))&&e++;gx(b)&&e++;(hx(b)||jx(b,"id_token"))&&_.Ev(a,c,h);gx(b)&&Zv(a,c,h)};
Ex=function(a){return function(b){if(!b||b.error)_.dw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Uj(b);Gx(c);delete c.id_token;delete c.code;_.cw(c)}a(b)}}};Gx=function(a){_.Ab(nw,function(b){delete a[b]})};_.q("gapi.auth2.init",_.zx);_.q("gapi.auth2.authorize",function(a,b){if(Rw!=null)throw new qw("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).");_.Cx(a,function(c){Gx(c);b(c)})});_.q("gapi.auth2._gt",function(){return _.qi()});_.q("gapi.auth2.enableDebugLogs",function(a){a=a!==!1;_.ru=a!="0"&&!!a});_.q("gapi.auth2.getAuthInstance",_.qx);
_.q("gapi.auth2.BasicProfile",Sw);_.q("gapi.auth2.BasicProfile.prototype.getId",Sw.prototype.getId);_.q("gapi.auth2.BasicProfile.prototype.getName",Sw.prototype.getName);_.q("gapi.auth2.BasicProfile.prototype.getGivenName",Sw.prototype.Cia);_.q("gapi.auth2.BasicProfile.prototype.getFamilyName",Sw.prototype.yia);_.q("gapi.auth2.BasicProfile.prototype.getImageUrl",Sw.prototype.Kia);_.q("gapi.auth2.BasicProfile.prototype.getEmail",Sw.prototype.io);_.q("gapi.auth2.GoogleAuth",rx);
_.q("gapi.auth2.GoogleAuth.prototype.attachClickHandler",rx.prototype.RQ);_.q("gapi.auth2.GoogleAuth.prototype.disconnect",rx.prototype.disconnect);_.q("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",rx.prototype.Ev);_.q("gapi.auth2.GoogleAuth.prototype.signIn",rx.prototype.ll);_.q("gapi.auth2.GoogleAuth.prototype.signOut",rx.prototype.nl);_.q("gapi.auth2.GoogleAuth.prototype.getInitialScopes",rx.prototype.rW);_.q("gapi.auth2.GoogleUser",Qw);_.q("gapi.auth2.GoogleUser.prototype.grant",Qw.prototype.rja);
_.q("gapi.auth2.GoogleUser.prototype.getId",Qw.prototype.getId);_.q("gapi.auth2.GoogleUser.prototype.isSignedIn",Qw.prototype.yg);_.q("gapi.auth2.GoogleUser.prototype.getAuthResponse",Qw.prototype.hm);_.q("gapi.auth2.GoogleUser.prototype.getBasicProfile",Qw.prototype.fia);_.q("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Qw.prototype.Eia);_.q("gapi.auth2.GoogleUser.prototype.getHostedDomain",Qw.prototype.LH);_.q("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Qw.prototype.Ev);
_.q("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Qw.prototype.xB);_.q("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Qw.prototype.qL);_.q("gapi.auth2.LiveValue",Dw);_.q("gapi.auth2.LiveValue.prototype.listen",Dw.prototype.va);_.q("gapi.auth2.LiveValue.prototype.get",Dw.prototype.get);_.q("gapi.auth2.SigninOptionsBuilder",Gw);_.q("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Gw.prototype.cia);_.q("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Gw.prototype.upa);
_.q("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Gw.prototype.xv);_.q("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Gw.prototype.y4);_.q("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Gw.prototype.aja);_.q("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Gw.prototype.Rpa);_.q("gapi.auth2.SigninOptionsBuilder.prototype.get",Gw.prototype.get);
_.bf=_.bf||{};
(function(){function a(b){var c="";if(b.nodeType==3||b.nodeType==4)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}_.bf.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)};_.bf.CS=function(b){var c=_.bf.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(_.bf.aH(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.bf.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};_.bf.VV=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&&
b.length==1)return b[0]}catch(c){}return document.documentElement||document};_.bf.kAa=function(b){return a(b)}})();
_.Fg=window.gapi&&window.gapi.util||{};
_.Fg=_.Fg={};_.Fg.getOrigin=function(a){return _.Hg(a)};
_.by=function(a){if(a.indexOf("GCSC")!==0)return null;var b={yj:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(d==-1)return b;var e=_.$x(a.substr(d+1));if(e==null)return b;a=a.substring(0,d);if(a.charAt(0)!=="_")return b;d=c==="E"&&e.kf;return!d&&(c!=="U"||e.kf)||d&&!_.ay?b:{yj:!0,kf:d,xga:a.substr(1),domain:e.domain,Yi:e.Yi}};_.cy=function(a,b){this.hh=a;a=b||{};this.uma=Number(a.maxAge)||0;this.Zd=a.domain;this.Um=a.path;this.apa=!!a.secure};_.cy.prototype.read=function(){for(var a=this.hh+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(d.indexOf(a)==0)return d.substr(a.length)}};
_.cy.prototype.write=function(a,b){if(!dy.test(this.hh))throw"Invalid cookie name";if(!ey.test(a))throw"Invalid cookie value";a=this.hh+"="+a;this.Zd&&(a+=";domain="+this.Zd);this.Um&&(a+=";path="+this.Um);b=typeof b==="number"?b:this.uma;if(b>=0){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.apa&&(a+=";secure");document.cookie=a;return!0};_.cy.prototype.clear=function(){this.write("",0)};var ey=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,dy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.cy.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("="))}};_.fy=function(a){this.Qf=a};_.fy.prototype.read=function(){if(gy.hasOwnProperty(this.Qf))return gy[this.Qf]};_.fy.prototype.write=function(a){gy[this.Qf]=a;return!0};_.fy.prototype.clear=function(){delete gy[this.Qf]};var gy={};_.fy.iterate=function(a){for(var b in gy)gy.hasOwnProperty(b)&&a(b,gy[b])};var hy=function(){this.Na=null;this.key=function(){return null};this.getItem=function(){return this.Na};this.setItem=function(a,b){this.Na=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Na=null;this.length=0};this.length=0},iy=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}},jy=function(a,b){this.hh=a;this.pO=
iy(b)?b||window.sessionStorage:new hy};jy.prototype.read=function(){return this.pO.getItem(this.hh)};jy.prototype.write=function(a){try{this.pO.setItem(this.hh,a)}catch(b){return!1}return!0};jy.prototype.clear=function(){this.pO.removeItem(this.hh)};jy.iterate=function(a){if(iy())for(var b=window.sessionStorage.length,c=0;c<b;++c){var d=window.sessionStorage.key(c);a(d,window.sessionStorage[d])}};_.ay=window.location.protocol==="https:";_.ky=_.ay||window.location.protocol==="http:"?_.cy:_.fy;_.$x=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{kf:a.charAt(0)=="S",domain:d,Yi:c}};var ly,my,py,qy;ly=_.Ce();my=_.Ce();_.ny=_.Ce();_.oy=_.Ce();py="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");qy=function(a){this.s1=a;this.XJ=null};
qy.prototype.write=function(a){var b=_.Ce(),c=_.Ce(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.Fe(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=py.length;for(e=0;e<d;++e)delete c[py[e]];a=String(a.authuser||0);d=_.Ce();d[a]=c;c=_.Qf(d);this.s1.write(c);this.XJ=b};qy.prototype.read=function(){return this.XJ};qy.prototype.clear=function(){this.s1.clear();this.XJ=_.Ce()};_.ry=function(a){return a?{domain:a.domain,path:"/",secure:a.kf}:null};
jy.iterate(function(a){var b=_.by(a);b&&b.yj&&(ly[a]=new qy(new jy(a)))});_.ky.iterate(function(a){ly[a]&&(my[a]=new _.ky(a,_.ry(_.by(a))))});
_.ii=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(r){for(var t=h,w=0;w<64;w+=4)t[w/4]=r[w]<<24|r[w+1]<<16|r[w+2]<<8|r[w+3];for(w=16;w<80;w++)r=t[w-3]^t[w-8]^t[w-14]^t[w-16],t[w]=(r<<1|r>>>31)&4294967295;r=e[0];var x=e[1],v=e[2],z=e[3],B=e[4];for(w=0;w<80;w++){if(w<40)if(w<20){var C=z^x&(v^z);var D=1518500249}else C=x^v^z,D=1859775393;else w<60?(C=x&v|z&(x|v),D=2400959708):(C=x^v^z,D=3395469782);C=((r<<5|r>>>27)&4294967295)+
C+B+D+t[w]&4294967295;B=z;z=v;v=(x<<30|x>>>2)&4294967295;x=r;r=C}e[0]=e[0]+r&4294967295;e[1]=e[1]+x&4294967295;e[2]=e[2]+v&4294967295;e[3]=e[3]+z&4294967295;e[4]=e[4]+B&4294967295}function c(r,t){if(typeof r==="string"){r=unescape(encodeURIComponent(r));for(var w=[],x=0,v=r.length;x<v;++x)w.push(r.charCodeAt(x));r=w}t||(t=r.length);w=0;if(m==0)for(;w+64<t;)b(r.slice(w,w+64)),w+=64,n+=64;for(;w<t;)if(f[m++]=r[w++],n++,m==64)for(m=0,b(f);w+64<t;)b(r.slice(w,w+64)),w+=64,n+=64}function d(){var r=[],
t=n*8;m<56?c(k,56-m):c(k,64-(m-56));for(var w=63;w>=56;w--)f[w]=t&255,t>>>=8;b(f);for(w=t=0;w<5;w++)for(var x=24;x>=0;x-=8)r[t++]=e[w]>>x&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;l<64;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Wi:function(){for(var r=d(),t="",w=0;w<r.length;w++)t+="0123456789ABCDEF".charAt(Math.floor(r[w]/16))+"0123456789ABCDEF".charAt(r[w]%16);return t}}};var ki=function(a,b,c){var d=String(_.Xa.location.href);return d&&a&&b?[b,ji(_.Hg(d),a,c||null)].join(" "):null},ji=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],_.Ab(d,function(k){e.push(k)}),li(e.join(" "));var f=[],h=[];_.Ab(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];_.Ab(d,function(k){e.push(k)});a=li(e.join(" "));a=[c,a];h.length==0||a.push(h.join(""));return a.join("_")},li=function(a){var b=
_.ii();b.update(a);return b.Wi().toLowerCase()};var ni;_.mi=function(){var a=_.Xa.__SAPISID||_.Xa.__APISID||_.Xa.__3PSAPISID||_.Xa.__1PSAPISID||_.Xa.__OVERRIDE_SID;if(a)return!0;typeof document!=="undefined"&&(a=new _.fi(document),a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("__Secure-1PAPISID"));return!!a};ni=function(a,b,c,d){(a=_.Xa[a])||typeof document==="undefined"||(a=(new _.fi(document)).get(b));return a?ki(a,c,d):null};
_.oi=function(a){var b=_.Hg(_.Xa==null?void 0:_.Xa.location.href),c=[];if(_.mi()){b=b.indexOf("https:")==0||b.indexOf("chrome-extension:")==0||b.indexOf("chrome-untrusted://new-tab-page")==0||b.indexOf("moz-extension:")==0;var d=b?_.Xa.__SAPISID:_.Xa.__APISID;d||typeof document==="undefined"||(d=new _.fi(document),d=d.get(b?"SAPISID":"APISID")||d.get("__Secure-3PAPISID"));(d=d?ki(d,b?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d);b&&((b=ni("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),
(a=ni("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a))}return c.length==0?null:c.join(" ")};
var Pr,Qr;_.Hr=function(a){if(a instanceof _.ic)return a.W1;throw Error("j");};_.Ir=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.Jr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Kr=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};_.g=_.Kr.prototype;_.g.clone=function(){return new _.Kr(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Kr&&_.Jr(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 _.Kr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),typeof b==="number"&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};_.Lr=function(a){return a.scrollingElement?a.scrollingElement:!_.Fd&&_.he(a)?a.documentElement:a.body||a.documentElement};
_.Mr=function(a){var b=_.Lr(a);a=a.defaultView;return new _.Kr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.Nr=function(a,b,c,d){return _.be(a.Bc,b,c,d)};_.Or=function(a){return _.Mr(a.Bc)};Pr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Qr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Rr=function(a){return _.ae(document,a)};_.g=_.Ir.prototype;_.g.Xb=function(){return this.right-this.left};_.g.Pc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Ir(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Ir?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){_.tb(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 _.Kr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,typeof b==="number"&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Ur,Sr,Yr,$r;_.Tr=function(a,b,c){if(typeof b==="string")(b=Sr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Sr(c,d);f&&(c.style[f]=e)}};Ur={};Sr=function(a,b){var c=Ur[b];if(!c){var d=Pr(b);c=d;a.style[d]===void 0&&(d=(_.Fd?"Webkit":_.Ed?"Moz":null)+Qr(d),a.style[d]!==void 0&&(c=d));Ur[b]=c}return c};_.Vr=function(a,b){var c=a.style[Pr(b)];return typeof c!=="undefined"?c:a.style[Sr(a,b)]||""};
_.Wr=function(a,b){var c=_.Zd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Xr=function(a,b){return _.Wr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};Yr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.as=function(a,b){b=b||_.Lr(document);var c=b||_.Lr(document);var d=_.Zr(a),e=_.Zr(c),f=_.Wr(c,"borderLeftWidth");var h=_.Wr(c,"borderRightWidth");var k=_.Wr(c,"borderTopWidth"),l=_.Wr(c,"borderBottomWidth");h=new _.Ir(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Lr(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop):(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=$r(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 _.Kr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Zr=function(a){var b=_.Zd(a),c=new _.Kr(0,0);if(a==(b?_.Zd(b):document).documentElement)return c;a=Yr(a);b=_.Or(_.$d(b));c.x=a.left+b.x;c.y=a.top+b.y;return c};_.cs=function(a,b){var c=new _.Kr(0,0),d=_.ie(_.Zd(a));a:{try{_.Yb(d.parent);var e=!0;break a}catch(f){}e=!1}if(!e)return c;do e=d==b?_.Zr(a):_.bs(a),c.x+=e.x,c.y+=e.y;while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};
_.bs=function(a){a=Yr(a);return new _.Kr(a.left,a.top)};_.es=function(a,b,c){if(b instanceof _.vd)c=b.height,b=b.width;else if(c==void 0)throw Error("J");a.style.width=_.ds(b,!0);a.style.height=_.ds(c,!0)};_.ds=function(a,b){typeof a=="number"&&(a=(b?Math.round(a):a)+"px");return a};
_.fs=function(a){var b=$r;if(_.Xr(a,"display")!="none")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};$r=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Fd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Yr(a),new _.vd(a.right-a.left,a.bottom-a.top)):new _.vd(b,c)};_.gs=function(a,b){a.style.display=b?"":"none"};
_.is=function(a){var b=_.$d(void 0),c=_.Nr(b,"HEAD")[0];if(!c){var d=_.Nr(b,"BODY")[0];c=b.Ba("HEAD");d.parentNode.insertBefore(c,d)}d=b.Ba("STYLE");var e;(e=_.Kc("style",document))&&d.setAttribute("nonce",e);_.hs(d,a);b.appendChild(c,d)};_.hs=function(a,b){b=_.Hr(b);_.Xa.trustedTypes?_.ve(a,b):a.innerHTML=b};_.js=_.Ed?"MozUserSelect":_.Fd||_.Cd?"WebkitUserSelect":null;
_.sy=function(a){_.Vi.call(this);this.Qf=1;this.WC=[];this.bD=0;this.Uf=[];this.Sj={};this.Lfa=!!a};_.cb(_.sy,_.Vi);_.g=_.sy.prototype;_.g.subscribe=function(a,b,c){var d=this.Sj[a];d||(d=this.Sj[a]=[]);var e=this.Qf;this.Uf[e]=a;this.Uf[e+1]=b;this.Uf[e+2]=c;this.Qf=e+3;d.push(e);return e};_.g.Nx=_.gb(18);_.g.unsubscribe=function(a,b,c){if(a=this.Sj[a]){var d=this.Uf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.zl(a)}return!1};
_.g.zl=function(a){var b=this.Uf[a];if(b){var c=this.Sj[b];this.bD!=0?(this.WC.push(a),this.Uf[a+1]=function(){}):(c&&_.Yi(c,a),delete this.Uf[a],delete this.Uf[a+1],delete this.Uf[a+2])}return!!b};
_.g.yp=function(a,b){var c=this.Sj[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f<e;f++)d[f-1]=arguments[f];if(this.Lfa)for(f=0;f<c.length;f++)e=c[f],ty(this.Uf[e+1],this.Uf[e+2],d);else{this.bD++;try{for(f=0,e=c.length;f<e&&!this.isDisposed();f++){var h=c[f];this.Uf[h+1].apply(this.Uf[h+2],d)}}finally{if(this.bD--,this.WC.length>0&&this.bD==0)for(;c=this.WC.pop();)this.zl(c)}}return f!=0}return!1};var ty=function(a,b,c){_.kk(function(){a.apply(b,c)})};
_.sy.prototype.clear=function(a){if(a){var b=this.Sj[a];b&&(b.forEach(this.zl,this),delete this.Sj[a])}else this.Uf.length=0,this.Sj={}};_.sy.prototype.jc=function(a){if(a){var b=this.Sj[a];return b?b.length:0}a=0;for(b in this.Sj)a+=this.jc(b);return a};_.sy.prototype.Aa=function(){_.sy.O.Aa.call(this);this.clear();this.WC.length=0};
_.uy=function(a){this.Nqa=a};_.vy=function(a){_.Vi.call(this);this.ve=new _.sy(a);_.Xi(this,this.ve)};_.uy.prototype.toString=function(){return this.Nqa};_.cb(_.vy,_.Vi);_.g=_.vy.prototype;_.g.subscribe=function(a,b,c){return this.ve.subscribe(a.toString(),b,c)};_.g.Nx=_.gb(17);_.g.unsubscribe=function(a,b,c){return this.ve.unsubscribe(a.toString(),b,c)};_.g.zl=function(a){return this.ve.zl(a)};_.g.yp=function(a,b){return this.ve.yp(a.toString(),b)};_.g.clear=function(a){this.ve.clear(a!==void 0?a.toString():void 0)};_.g.jc=function(a){return this.ve.jc(a!==void 0?a.toString():void 0)};
var wy,xy,Ay,Dy,yy,By,Cy,zy;wy=function(a){var b=_.yc("");return _.fc(a.map(function(c){return _.hc(_.yc(c))}).join(_.hc(b).toString()))};xy=function(a){return wy(a)};Ay=function(a){for(var b="",c=Object.keys(a),d=0;d<c.length;d++){var e=c[d],f=a[e];if(!yy.test(e))throw Error("j");if(f!==void 0&&f!==null){if(/^on./i.test(e))throw Error("j");zy.indexOf(e.toLowerCase())!==-1&&(f=_.qc(f)?f.toString():_.wc(String(f))||"about:invalid#zClosurez");f=e+'="'+_.yc(String(f))+'"';b+=" "+f}}return b};
Dy=function(a){var b;if(!yy.test("div"))throw Error("j");if(By.indexOf("DIV")!==-1)throw Error("j");var c="<div";a&&(c+=Ay(a));Array.isArray(b)||(b=b===void 0?[]:[b]);Cy.indexOf("DIV")!==-1?c+=">":(a=xy(b.map(function(d){return d instanceof _.ec?d:_.yc(String(d))})),c+=">"+a.toString()+"</div>");return _.fc(c)};yy=/^[a-z][a-z\d-]*$/i;By="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" ");Cy="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" ");
zy=["action","formaction","href"];_.Ey=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.property+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Tr(a,"transition",b.join(","))};_.Fy=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){var a=_.me("DIV"),b=_.Fd?"-webkit":_.Ed?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");_.Lc(a,Dy({style:c}));return _.Vr(a.firstChild,"transition")!=""});
_.Gy=function(a,b){_.Fj.call(this);this.Jm=a||1;this.gy=b||_.Xa;this.lR=(0,_.yb)(this.Kqa,this);this.HZ=_.od()};_.cb(_.Gy,_.Fj);_.g=_.Gy.prototype;_.g.enabled=!1;_.g.Ic=null;_.g.setInterval=function(a){this.Jm=a;this.Ic&&this.enabled?(this.stop(),this.start()):this.Ic&&this.stop()};
_.g.Kqa=function(){if(this.enabled){var a=_.od()-this.HZ;a>0&&a<this.Jm*.8?this.Ic=this.gy.setTimeout(this.lR,this.Jm-a):(this.Ic&&(this.gy.clearTimeout(this.Ic),this.Ic=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Ic||(this.Ic=this.gy.setTimeout(this.lR,this.Jm),this.HZ=_.od())};_.g.stop=function(){this.enabled=!1;this.Ic&&(this.gy.clearTimeout(this.Ic),this.Ic=null)};_.g.Aa=function(){_.Gy.O.Aa.call(this);this.stop();delete this.gy};
_.Hy=function(a,b,c){if(typeof a==="function")c&&(a=(0,_.yb)(a,c));else if(a&&typeof a.handleEvent=="function")a=(0,_.yb)(a.handleEvent,a);else throw Error("wa");return Number(b)>2147483647?-1:_.Xa.setTimeout(a,b||0)};_.Iy=function(a){_.Xa.clearTimeout(a)};
_.Ky=function(){_.Jy="oauth2relay"+String(2147483647*(0,_.Ng)()|0)};_.Ly=new _.vy;_.My=new _.uy("oauth");_.Ky();_.Ye("oauth-flow/client_id");var Ny=String(_.Ye("oauth-flow/redirectUri"));if(Ny)Ny.replace(/[#][\s\S]*/,"");else{var Oy=_.Fg.getOrigin(window.location.href);_.Ye("oauth-flow/callbackUrl");encodeURIComponent(Oy)}_.Fg.getOrigin(window.location.href);
var Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,bz,cz,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Hz,Gz,Iz,Jz,Kz,Lz,Mz,Nz,Oz;_.Py=function(a,b){if(_.Hh&&!b)return _.Xa.atob(a);var c="";_.Kh(a,function(d){c+=String.fromCharCode(d)});return c};Qy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return b==="true"||a==="none"};Ry=function(a){return _.ai("enableMultilogin")&&a("cookie_policy")&&!Qy(a)?!0:!1};
Uy=function(){var a,b=null;_.ky.iterate(function(c,d){c.indexOf("G_AUTHUSER_")===0&&(c=c.substring(11),c=_.$x(c),!a||c.kf&&!a.kf||c.kf==a.kf&&c.Yi>a.Yi)&&(a=c,b=d)});return{Xfa:a,authuser:b}};Vy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Wy=function(a){a=a.toUpperCase();for(var b=Vy.length,c=0;c<b;++c){var d=a.split(Vy[c]);d.length==2&&d[1]===""&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();a.length>40&&(b=new _.Mg,b.uy(a),a=b.Wi().toUpperCase());return a};
Xy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Yy=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],spa:Xy(a[1]),ZAa:Xy(a[2]),Rza:Xy(a[3])}};Zy=function(a){var b=Uy(),c=b.Xfa;b=b.authuser;var d=a&&Wy(a);if(b!==null){var e;_.ky.iterate(function(h,k){(h=_.by(h))&&h.yj&&(d&&h.xga!=d||h.kf==c.kf&&h.Yi==c.Yi&&(e=k))});if(e){var f=Yy(e);a=f&&f.spa[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,YBa:a,clientId:f}}}return null};
$y=function(a,b){a=_.qi(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};_.az=function(a,b){if(b){var c=b;var d=a}else typeof a==="string"?d=a:c=a;c?_.cw(c,d):_.dw(d)};
bz=function(a){if(!a)return null;a!=="single_host_origin"&&(a=_.Hg(a));var b=window.location.hostname,c=b,d=_.ay;if(a!=="single_host_origin"){c=a.split("://");if(c.length==2)d=c.shift()==="https";else return _.Uf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(c.indexOf(":")!==-1)c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.Uf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,kf:d,Yi:b}};
cz=function(a){var b=bz(a);if(!b)return new _.fy("G_USERSTATE_");a=["G_USERSTATE_",_.ay&&b.kf?"S":"H",b.Yi].join("");var c=_.oy[a];c||(c={VJ:63072E3},_.Ge(_.ry(b),c),c=new _.cy(a,c),_.oy[a]=c,b=c.read(),typeof b!=="undefined"&&b!==null&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};dz=function(a){var b=cz(a).read();a=_.Ce();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
ez=function(a,b,c){var d=dz(b),e=d[a];d[a]="0";var f=[];_.Dm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=cz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};fz=function(a,b){b=dz(b);return b[a]=="0"||b[a]=="X"};gz=function(a){a=bz(a.g_user_cookie_policy);if(!a||a.kf&&!_.ay)a=null;else{var b=["G_AUTHUSER_",_.ay&&a.kf?"S":"H",a.Yi].join(""),c=_.ny[b];c||(c=new _.ky(b,_.ry(a)),_.ny[b]=c);a=c}_.Ze("googleapis.config/sessionIndex",null);a.clear()};hz=function(a){return Qy(function(b){return a[b]})};
iz=0;jz=!1;kz=[];lz={};mz={};nz=null;oz=function(a){var b=_.Jy;return function(c){if(this.f==b&&this.t==_.Zf.ho(this.f)&&this.origin==_.Zf.Ao(this.f))return a.apply(this,arguments)}};pz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("ya");};qz=function(a){var b=_.bf.Tg,c=b(a).jsh;if(c!=null)return pz(c),a;if(b=String(b().jsh||_.Oe.h||""))pz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(a.substr(0,c).indexOf("?")!==-1?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};
rz=function(){return!!_.Ye("oauth-flow/usegapi")};sz=function(a,b){rz()?nz.unregister(a):_.Zf.unregister(a+":"+b)};tz=function(a,b,c){rz()?nz.register(a,c,_.Rm):_.Zf.register(a+":"+b,oz(c))};uz=function(){Sy.parentNode.removeChild(Sy)};
vz=function(a){var b=Sy;_.Ey(b,[{property:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Ey(b,[{property:"transform",duration:1,timing:"ease",delay:0}]);_.Hy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};wz=function(){var a=Ty+88;vz(a);Ty=a};xz=function(){var a=Ty-88;vz(a);Ty=a};
yz=function(a){var b=a?wz:xz,c=a?xz:wz;a=a?"-":"";Ty=parseInt(a+88,10);Sy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Sy.style.transform="translate3d(0px,"+a+88+"px,0px)";Sy.style.display="";Sy.style.visibility="visible";b();_.Hy(c,4E3);_.Hy(uz,5E3)};
zz=function(a){var b=_.Ye("oauth-flow/toast/position");b!=="top"&&(b="bottom");var c=document.createElement("div");Sy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Tr(c,"visibility","hidden");_.Tr(c,b,"-40px");_.Tr(c,"height","128px");var d=c;if(_.or()){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=
b=="top"?"-":"";Ty=parseInt(e+88,10);Sy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Sy.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){}_.Om.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){b==="top"?yz(!0):yz(!1)}})};
Az=function(a){var b=_.to(),c=b&&b.scope;b=a&&a.scope;b=typeof b==="string"?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];_.Bm.call(b,e)==-1&&b.push(e)}b.length>0&&(a.scope=b.join(" "))}return a};
Bz=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=_.Ye("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||Zy(c)!=null||!hz(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};Cz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Pf(_.Py(a,!0));if(a===!1)throw Error("za");return a};Dz=function(a){return(a=Cz(a))?a.sub:null};
Ez=function(a){a&&kz.push(a);a=_.Jy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(iz&&c-iz<6E4)return;var d=_.Zf.ho(a);d&&(sz("oauth2relayReady",d),sz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Ky();a=_.Jy}iz=c;var e=String(2147483647*(0,_.Ng)()|0);b=_.Ye("oauth-flow/proxyUrl")||_.Ye("oauth-flow/relayUrl");rz()?nz=_.Om.openChild({where:_.bf.VV(),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(_.Fg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.bf.VV(),d=_.bf.CS({name:a,id:a}),d.src=qz(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),_.Zf.zx(a));tz("oauth2relayReady",e,function(){sz("oauth2relayReady",e);var f=kz;if(f!==null){kz=
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});tz("oauth2callback",e,function(f){var h=_.bf.Tg;h=h(f);var k=h.state;f=k;f=f.replace(/\|.*$/,"");f={}.hasOwnProperty.call(mz,f)?mz[f]:null;h.state=f;if(h.state!=null){f=lz[k];delete lz[k];k=f&&f.key||"token";var l=h=Bz(f&&f.params,h);var m=(m=Dz(l))?fz(m,l.cookie_policy):!1;!m&&l&&(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")>=0&&_.Ye("isLoggedIn")&&(l&&l._aa)==="1"&&(l._aa="0",jz||(jz=!0,zz(l)));_.az(k,h);h=$y(k);if(f){k=
f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(h),f.callback=null)}}})};_.Fz=function(a){kz!==null?Ez(a):a&&a()};Hz=function(a,b){var c=Gz,d=Dz(a);d&&(gz(a),ez(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=Bz(null,e);c(e)}}))};
Gz=function(a){a||(a=$y(void 0,!0));a&&typeof a==="object"||(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||(_.Oe.drw=null);_.az(a);if(b=a.authuser)_.Ye("googleapis.config/sessionIndex"),_.Ze("googleapis.config/sessionIndex",b);_.Ly.yp(_.My,a);return a};Iz=["client_id","cookie_policy","response_type"];Jz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
Kz=function(a){var b=_.Uj(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.cw(b);return b};
Lz=function(a){if(a.include_granted_scopes===void 0){var b=_.Ye("include_granted_scopes");a.include_granted_scopes=!!b}};Mz=function(a){window.console&&(typeof window.console.warn==="function"?window.console.warn(a):typeof window.console.log==="function"&&window.console.log(a))};
Nz=function(a){var b=a||{},c={};_.Ab(Jz,function(d){b[d]!=null&&(c[d]=b[d])});a=_.Ye("googleapis/overrideClientId");a!=null&&(c.client_id=a);Lz(c);typeof b.scope==="string"?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));b["openid.realm"]!=null&&(c.openid_realm=b["openid.realm"]);b.cookie_policy!=null?c.cookie_policy=b.cookie_policy:b.cookiepolicy!=null&&(c.cookie_policy=b.cookiepolicy);c.login_hint==null&&b.user_id!=null&&(c.login_hint=b.user_id);try{_.Ww(c.cookie_policy)}catch(d){c.cookie_policy&&
Mz("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}b.hd!=null&&(c.hosted_domain=b.hd);c.prompt==null&&(b.immediate==1||b.immediate=="true"?c.prompt="none":b.approval_prompt=="force"&&(c.prompt="consent"));c.prompt=="none"&&(c.session_selection="first_valid");c.prompt=="none"&&c.access_type=="offline"&&delete c.access_type;typeof c.authuser==="undefined"&&(a=_.ei(),a!=null&&(c.authuser=a));a=b.redirect_uri||_.Ye("oauth-flow/redirectUri");
a!=null&&a!="postmessage"&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
Oz=function(a,b){var c=Nz(a),d=new _.mk(function(e,f){_.Cx(c,function(h){var k=h||{};_.Ab(Iz,function(l){k[l]==null&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&a.state!=null&&(k.state=a.state);k.error?(c.prompt=="none"&&k.error=="user_logged_out"&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=Kz(k),h.authuser!=null&&_.Ze("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};var Pz,Rz;Pz=null;_.Sz=function(a,b){if(a.approvalprompt!=="force"){a=_.Qz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Pz?(a.client_id!==Pz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Pz=a,b=!1);b||Rz(a)}};
_.Qz=function(a){var b=a.redirecturi||"postmessage",c=_.Fc((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=a.accesstype=="offline"?!0:(c=a.redirecturi)&&c!="postmessage";c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=_.Fc(a.requestvisibleactions.replace(/[\s\xa0]+/g,
" ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&a.cookiepolicy!=="none"&&(b.cookie_policy=a.cookiepolicy);typeof a.includegrantedscopes!="undefined"&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Ye("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ye("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};Rz=function(a){_.cp("waaf0","signin","0");Oz(a,function(b){_.cp("waaf1","signin","0");Gz(b)})};
_.Tz=function(a){a=_.Qz(a);_.Ze("oauth-flow/authWindowWidth",445);_.Ze("oauth-flow/authWindowHeight",615);Rz(a)};_.Uz=function(a){_.Ly.unsubscribe(_.My,a);_.Ly.subscribe(_.My,a)};var aA,dA;_.Wz=function(a){return a.cookiepolicy?!0:(_.Vz("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.Vz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.$z=function(a,b){var c=_.to();_.Ge(a,c);c=Az(c);if(_.Wz(c)){var d=_.Xz();_.Yz(c);b?_.Ne(b,"click",function(){_.Zz(c,d)}):_.Zz(c,d)}};
_.Xz=function(){var a=new aA;_.Uz(function(b){a.WJ&&b&&(b.access_token&&_.Ze("isPlusUser",!0),b["g-oauth-window"]&&(a.WJ=!1,_.Uf.warn("OTA app install is no longer supported.")))});return a};aA=function(){this.WJ=!1};_.Yz=function(a){a=_.bA(a);_.cA(a.callback);_.Fz(function(){_.Sz(a)})};_.bA=function(a){dA(a);a.redirecturi&&delete a.redirecturi;Ry(function(b){return a[b]})||(a.authuser=0);return a};dA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.cA=function(a){if(typeof a==="string")if(window[a])a=window[a];else{_.Vz('Callback function named "'+a+'" not found');return}a&&_.Uz(a)};_.Zz=function(a,b){b.WJ=!0;a=_.bA(a);_.Tz(a)};_.q("gapi.auth.authorize",Oz);_.q("gapi.auth.checkSessionState",function(a,b){var c=_.Ce();c.client_id=a.client_id;c.session_state=a.session_state;_.Fz(function(){rz()?nz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Rm):_.Zf.call(_.Jy,"check_session_state",oz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.q("gapi.auth.getAuthHeaderValueForFirstParty",function(a,b){_.xi(_.wi(),51).yb();return _.oi(a,b)});_.q("gapi.auth.getToken",$y);
_.q("gapi.auth.getVersionInfo",function(a,b){_.Fz(function(){var c=_.oi()||"",d=null,e=null;c&&(e=c.split(" "),e.length==2&&(d=e[1]));d?rz()?nz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Rm):_.Zf.call(_.Jy,"get_versioninfo",oz(function(f){a(f)}),d,b):a()})});_.q("gapi.auth.init",_.Fz);_.q("gapi.auth.setToken",_.az);_.q("gapi.auth.signIn",function(a){_.$z(a)});_.q("gapi.auth.signOut",function(){var a=$y();a&&Hz(a,a.cookie_policy)});
_.q("gapi.auth.unsafeUnpackIdToken",Cz);_.q("gapi.auth._pimf",_.Sz);_.q("gapi.auth._oart",zz);_.q("gapi.auth._guss",function(a){return cz(a).read()});
var eA=_.to();eA.clientid&&eA.scope&&eA.callback&&!_.Ye("disableRealtimeCallback")&&_.Yz(eA);
});
// Google Inc.
