gapi.loaded_1(function(_){var window=this;
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Zg=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);255<e&&(b[c++]=e&255,e>>=8);b[c++]=e}return b};
var $g,ah,ch;$g={};ah=null;_.bh=_.gd||_.hd||!_.Yg&&!_.dd&&"function"==typeof _.u.atob;_.dh=function(a,b){void 0===b&&(b=0);ch();b=$g[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("")};
_.eh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=ah[m];if(null!=n)return n;if(!_.ic(m))throw Error("C`"+m);}return l}ch();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
ch=function(){if(!ah){ah={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));$g[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===ah[f]&&(ah[f]=e)}}}};

_.Bh={};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Dh;_.Ch=function(a){this.ob=a||{cookie:""}};_.g=_.Ch.prototype;_.g.isEnabled=function(){if(!_.u.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{wE:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Uea;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.wE}if(/[;=\s]/.test(a))throw Error("F`"+a);if(/[;\r\n]/.test(b))throw Error("G`"+b);void 0===k&&(k=-1);this.ob.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.ob.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.jc)(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.Oh(a);this.set(a,"",{wE:0,path:b,domain:c});return d};_.g.Lf=function(){return Dh(this).keys};_.g.Uc=function(){return Dh(this).values};_.g.isEmpty=function(){return!this.ob.cookie};_.g.Gb=function(){return this.ob.cookie?(this.ob.cookie||"").split(";").length:0};
_.g.Oh=function(a){return void 0!==this.get(a)};_.g.aj=function(a){for(var b=Dh(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Dh(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Dh=function(a){a=(a.ob.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.jc)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
_.Eh=new _.Ch("undefined"==typeof document?null:document);

_.Ph={};_.Qh=function(a){return _.Ph[a||"token"]||null};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ui,wi;_.si=function(a,b){b=(0,_.gb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};ui=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.vi=function(a){for(var b in a)return!1;return!0};_.xi=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<wi.length;f++)c=wi[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.yi=function(a){a&&"function"==typeof a.Ga&&a.Ga()};wi="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");
_.zi=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
_.Ai=function(){this.jg=this.jg;this.Um=this.Um};_.Ai.prototype.jg=!1;_.Ai.prototype.isDisposed=function(){return this.jg};_.Ai.prototype.Ga=function(){this.jg||(this.jg=!0,this.na())};_.Ci=function(a,b){_.Bi(a,_.mi(_.yi,b))};_.Bi=function(a,b){a.jg?b():(a.Um||(a.Um=[]),a.Um.push(b))};_.Ai.prototype.na=function(){if(this.Um)for(;this.Um.length;)this.Um.shift()()};
_.Di=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.gt=!1};_.Di.prototype.stopPropagation=function(){this.gt=!0};_.Di.prototype.preventDefault=function(){this.defaultPrevented=!0};
var Ei=function(){if(!_.u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.u.addEventListener("test",function(){},b),_.u.removeEventListener("test",function(){},b)}catch(c){}return a}();
_.Fi=function(a,b){_.Di.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.lF=!1;this.pointerId=0;this.pointerType="";this.Ce=null;a&&this.vd(a,b)};_.Za(_.Fi,_.Di);var Gi={2:"touch",3:"pen",4:"mouse"};
_.Fi.prototype.vd=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)?_.gd&&(_.ad(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=_.hd||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.hd||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.lF=_.jd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Gi[a.pointerType]||"";this.state=a.state;this.Ce=a;a.defaultPrevented&&_.Fi.H.preventDefault.call(this)};_.Fi.prototype.stopPropagation=function(){_.Fi.H.stopPropagation.call(this);this.Ce.stopPropagation?this.Ce.stopPropagation():this.Ce.cancelBubble=!0};_.Fi.prototype.preventDefault=function(){_.Fi.H.preventDefault.call(this);var a=this.Ce;a.preventDefault?a.preventDefault():a.returnValue=!1};
_.Hi="closure_listenable_"+(1E6*Math.random()|0);_.Ii=function(a){return!(!a||!a[_.Hi])};
var Ji=0;
var Ki=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.jf=e;this.key=++Ji;this.jt=this.Zu=!1},Li=function(a){a.jt=!0;a.listener=null;a.proxy=null;a.src=null;a.jf=null};
var Mi=function(a){this.src=a;this.Qd={};this.ju=0};Mi.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Qd[f];a||(a=this.Qd[f]=[],this.ju++);var h=Ni(a,b,d,e);-1<h?(b=a[h],c||(b.Zu=!1)):(b=new Ki(b,this.src,f,!!d,e),b.Zu=c,a.push(b));return b};Mi.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Qd))return!1;var e=this.Qd[a];b=Ni(e,b,c,d);return-1<b?(Li(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Qd[a],this.ju--),!0):!1};
var Oi=function(a,b){var c=b.type;if(!(c in a.Qd))return!1;var d=_.si(a.Qd[c],b);d&&(Li(b),0==a.Qd[c].length&&(delete a.Qd[c],a.ju--));return d};Mi.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Qd)if(!a||c==a){for(var d=this.Qd[c],e=0;e<d.length;e++)++b,Li(d[e]);delete this.Qd[c];this.ju--}return b};Mi.prototype.Do=function(a,b,c,d){a=this.Qd[a.toString()];var e=-1;a&&(e=Ni(a,b,c,d));return-1<e?a[e]:null};
Mi.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return ui(this.Qd,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 Ni=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.jt&&f.listener==b&&f.capture==!!c&&f.jf==d)return e}return-1};
var Pi,Qi,Ri,Vi,Xi,Yi,Zi,bj;Pi="closure_lm_"+(1E6*Math.random()|0);Qi={};Ri=0;_.Ti=function(a,b,c,d,e){if(d&&d.once)return _.Si(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Ti(a,b[f],c,d,e);return null}c=_.Ui(c);return _.Ii(a)?a.V(b,c,_.Cb(d)?!!d.capture:!!d,e):Vi(a,b,c,!1,d,e)};
Vi=function(a,b,c,d,e,f){if(!b)throw Error("H");var h=_.Cb(e)?!!e.capture:!!e,k=_.Wi(a);k||(a[Pi]=k=new Mi(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Xi();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ei||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Yi(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("I");Ri++;return c};Xi=function(){var a=Zi,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.Si=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Si(a,b[f],c,d,e);return null}c=_.Ui(c);return _.Ii(a)?a.gp(b,c,_.Cb(d)?!!d.capture:!!d,e):Vi(a,b,c,!0,d,e)};_.$i=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.$i(a,b[f],c,d,e);else d=_.Cb(d)?!!d.capture:!!d,c=_.Ui(c),_.Ii(a)?a.Zb(b,c,d,e):a&&(a=_.Wi(a))&&(b=a.Do(b,c,d,e))&&_.aj(b)};
_.aj=function(a){if("number"===typeof a||!a||a.jt)return!1;var b=a.src;if(_.Ii(b))return b.qI(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Yi(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ri--;(c=_.Wi(b))?(Oi(c,a),0==c.ju&&(c.src=null,b[Pi]=null)):Li(a);return!0};Yi=function(a){return a in Qi?Qi[a]:Qi[a]="on"+a};
Zi=function(a,b){if(a.jt)a=!0;else{b=new _.Fi(b,this);var c=a.listener,d=a.jf||a.src;a.Zu&&_.aj(a);a=c.call(d,b)}return a};_.Wi=function(a){a=a[Pi];return a instanceof Mi?a:null};bj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Ui=function(a){if("function"===typeof a)return a;a[bj]||(a[bj]=function(b){return a.handleEvent(b)});return a[bj]};_.ri(function(a){Zi=a(Zi)});
_.cj=function(){_.Ai.call(this);this.kj=new Mi(this);this.bV=this;this.gF=null};_.Za(_.cj,_.Ai);_.cj.prototype[_.Hi]=!0;_.g=_.cj.prototype;_.g.um=function(){return this.gF};_.g.Dz=_.ca(3);_.g.addEventListener=function(a,b,c,d){_.Ti(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.$i(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.um();if(c)for(b=[];c;c=c.um())b.push(c);c=this.bV;var d=a.type||a;if("string"===typeof a)a=new _.Di(a,c);else if(a instanceof _.Di)a.target=a.target||c;else{var e=a;a=new _.Di(d,c);_.xi(a,e)}e=!0;if(b)for(var f=b.length-1;!a.gt&&0<=f;f--){var h=a.currentTarget=b[f];e=h.ur(d,!0,a)&&e}a.gt||(h=a.currentTarget=c,e=h.ur(d,!0,a)&&e,a.gt||(e=h.ur(d,!1,a)&&e));if(b)for(f=0;!a.gt&&f<b.length;f++)h=a.currentTarget=b[f],e=h.ur(d,!1,a)&&e;return e};
_.g.na=function(){_.cj.H.na.call(this);this.AF();this.gF=null};_.g.V=function(a,b,c,d){return this.kj.add(String(a),b,!1,c,d)};_.g.gp=function(a,b,c,d){return this.kj.add(String(a),b,!0,c,d)};_.g.Zb=function(a,b,c,d){return this.kj.remove(String(a),b,c,d)};_.g.qI=function(a){return Oi(this.kj,a)};_.g.AF=function(){this.kj&&this.kj.removeAll(void 0)};
_.g.ur=function(a,b,c){a=this.kj.Qd[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.jt&&f.capture==b){var h=f.listener,k=f.jf||f.src;f.Zu&&this.qI(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Do=function(a,b,c,d){return this.kj.Do(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.kj.hasListener(void 0!==a?String(a):void 0,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ws;ws=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.xs=function(a,b,c,d){return Array.prototype.splice.apply(a,ws(arguments,1))};_.ys=function(a,b,c){if(null!==a&&b in a)throw Error("j`"+b);a[b]=c};_.Md.prototype.N=_.bb(1,function(a){return _.li(this.ob,a)});
_.zs=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.Pd(c,"*",a,b)[0]||null}return a||null};_.As=function(a){var b;if(_.Cd&&!(_.dd&&_.yd("9")&&!_.yd("10")&&_.u.SVGElement&&a instanceof _.u.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ce(b)?b:null};_.Bs=function(a){_.Ai.call(this);this.fe=a;this.Ob={}};_.Za(_.Bs,_.Ai);var Cs=[];
_.Bs.prototype.V=function(a,b,c,d){return this.Cs(a,b,c,d)};_.Bs.prototype.Cs=function(a,b,c,d,e){Array.isArray(b)||(b&&(Cs[0]=b.toString()),b=Cs);for(var f=0;f<b.length;f++){var h=_.Ti(a,b[f],c||this.handleEvent,d||!1,e||this.fe||this);if(!h)break;this.Ob[h.key]=h}return this};_.Bs.prototype.gp=function(a,b,c,d){return Ds(this,a,b,c,d)};
var Ds=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Ds(a,b,c[h],d,e,f);else{b=_.Si(b,c,d||a.handleEvent,e,f||a.fe||a);if(!b)return a;a.Ob[b.key]=b}return a};_.Bs.prototype.Zb=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Zb(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Cb(d)?!!d.capture:!!d,e=e||this.fe||this,c=_.Ui(c),d=!!d,b=_.Ii(a)?a.Do(b,c,d,e):a?(a=_.Wi(a))?a.Do(b,c,d,e):null:null,b&&(_.aj(b),delete this.Ob[b.key]);return this};
_.Bs.prototype.removeAll=function(){_.lb(this.Ob,function(a,b){this.Ob.hasOwnProperty(b)&&_.aj(a)},this);this.Ob={}};_.Bs.prototype.na=function(){_.Bs.H.na.call(this);this.removeAll()};_.Bs.prototype.handleEvent=function(){throw Error("Q");};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/

var uu,vu,wu,xu,yu,Au,Bu,Cu,Du,Fu;_.tu=!1;uu=function(a){try{_.tu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};vu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};wu=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};
xu=function(a,b){function c(){}if(!a)throw Error("T");if(!b)throw Error("U");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};yu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.zu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Au=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
Bu=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("V`"+b);};Cu={token:1,id_token:1};Du=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Eu=window.JSON;Fu=function(a){this.HI=a||[];this.Vb={}};
Fu.prototype.addEventListener=function(a,b){if(!(0<=wu(this.HI,a)))throw Error("X`"+a);if(!yu(b))throw Error("Y`"+a);this.Vb[a]||(this.Vb[a]=[]);0>wu(this.Vb[a],b)&&this.Vb[a].push(b)};Fu.prototype.removeEventListener=function(a,b){if(!(0<=wu(this.HI,a)))throw Error("X`"+a);yu(b)&&this.Vb[a]&&this.Vb[a].length&&(b=wu(this.Vb[a],b),0<=b&&this.Vb[a].splice(b,1))};
Fu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=wu(this.HI,b)))throw Error("Z`"+b);if(this.Vb[b]&&this.Vb[b].length)for(var c=0,d=this.Vb[b].length;c<d;c++)this.Vb[b][c](a)};
var Gu,Hu,Iu,Mu,Nu,dv,ev,gv,hv,jv,tv;Gu={};Hu={};Iu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Ju=function(a,b){if(a=Iu[a])return a[b]};_.Ku=function(a,b){if(!a)throw Error("$");if(!b.authServerUrl)throw Error("aa");if(!b.idpIFrameUrl)throw Error("ba");Iu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.Lu=void 0;
Mu=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")};Nu=function(){this.x5=window;this.Av=this.Sl=this.bt=this.zh=null};
Nu.prototype.open=function(a,b,c,d){Ou(this);this.bt?(this.Sl&&(this.Sl(),this.Sl=null),Pu(this)):this.bt="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.zh=this.x5.open(a,this.bt,b);try{this.zh.focus();if(this.zh.closed||"undefined"==typeof this.zh.closed)throw Error("da");_.Lu=this.zh}catch(e){d&&setTimeout(d,0);this.zh=null;break a}c&&(this.Sl=c,Qu(this))}};
var Ou=function(a){try{if(null==a.zh||a.zh.closed)a.zh=null,a.bt=null,Pu(a),a.Sl&&(a.Sl(),a.Sl=null)}catch(b){a.zh=null,a.bt=null,Pu(a)}},Qu=function(a){a.Av=window.setInterval(function(){Ou(a)},300)},Pu=function(a){a.Av&&(window.clearInterval(a.Av),a.Av=null)};Hu=Hu||{};var Ru=function(a,b){this.Pb=a;this.XD=b;this.Zc=null;this.Fm=!1};Ru.prototype.start=function(){if(!this.Fm&&!this.Zc){var a=this;this.Zc=window.setTimeout(function(){a.clear();a.Fm||(a.Pb(),a.Fm=!0)},Hu.MM(this.XD))}};
Ru.prototype.clear=function(){this.Zc&&(window.clearTimeout(this.Zc),this.Zc=null)};var Su=function(a,b){var c=Hu.Fq;this.YZ=Hu.zq;this.lS=c;this.Pb=a;this.XD=b;this.Zc=null;this.Fm=!1;var d=this;this.mS=function(){document[d.YZ]||(d.clear(),d.start())}};Su.prototype.start=function(){if(!this.Fm&&!this.Zc){Bu(document,this.lS,this.mS);var a=this;this.Zc=window.setTimeout(function(){a.clear();a.Fm||(a.Pb(),a.Fm=!0)},Hu.MM(this.XD))}};
Su.prototype.clear=function(){var a=this.lS,b=this.mS,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("W`"+a);this.Zc&&(window.clearTimeout(this.Zc),this.Zc=null)};Hu.zq=null;Hu.Fq=null;
Hu.t_=function(){var a=document;"undefined"!==typeof a.hidden?(Hu.zq="hidden",Hu.Fq="visibilitychange"):"undefined"!==typeof a.msHidden?(Hu.zq="msHidden",Hu.Fq="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Hu.zq="webkitHidden",Hu.Fq="webkitvisibilitychange")};Hu.t_();Hu.fW=function(a,b){return Hu.zq&&Hu.Fq?new Su(a,b):new Ru(a,b)};Hu.MM=function(a){return Math.max(1,a-(new Date).getTime())};
var Tu=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Uu=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(t){for(var p=h,q=0;64>q;q+=4)p[q/4]=t[q]<<24|t[q+1]<<16|t[q+2]<<8|t[q+3];for(q=16;80>q;q++)t=p[q-3]^p[q-8]^p[q-14]^p[q-16],p[q]=(t<<1|t>>>31)&4294967295;t=e[0];var v=e[1],r=e[2],x=e[3],z=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var B=x^v&(r^x);var E=1518500249}else B=
v^r^x,E=1859775393;else 60>q?(B=v&r|x&(v|r),E=2400959708):(B=v^r^x,E=3395469782);B=((t<<5|t>>>27)&4294967295)+B+z+E+p[q]&4294967295;z=x;x=r;r=(v<<30|v>>>2)&4294967295;v=t;t=B}e[0]=e[0]+t&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+z&4294967295}function c(t,p){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var q=[],v=0,r=t.length;v<r;++v)q.push(t.charCodeAt(v));t=q}p||(p=t.length);q=0;if(0==m)for(;q+64<p;)b(t.slice(q,q+64)),q+=64,n+=64;for(;q<
p;)if(f[m++]=t[q++],n++,64==m)for(m=0,b(f);q+64<p;)b(t.slice(q,q+64)),q+=64,n+=64}function d(){var t=[],p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=p&255,p>>>=8;b(f);for(q=p=0;5>q;q++)for(var v=24;0<=v;v-=8)t[p++]=e[q]>>v&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Qh:function(){for(var t=d(),p="",q=0;q<t.length;q++)p+="0123456789ABCDEF".charAt(Math.floor(t[q]/16))+"0123456789ABCDEF".charAt(t[q]%16);return p}}},Vu=
window.crypto,Wu=!1,Xu=0,Yu=1,Zu=0,$u="",av=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Yu=Yu*b%Zu;if(3==++Xu)if(a=window,b=av,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("W`mousemove");},bv=function(a){var b=Uu();b.update(a);return b.Qh()};Wu=!!Vu&&"function"==typeof Vu.getRandomValues;
Wu||(Zu=1E6*(screen.width*screen.width+screen.height),$u=bv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Bu(window,"mousemove",av));Gu=Gu||{};Gu.cT="ssIFrame_";
_.cv=function(a,b,c){c=void 0===c?!1:c;this.yb=a;if(!this.yb)throw Error("ea");a=_.Ju(a,"idpIFrameUrl");if(!a)throw Error("fa");this.DN=a;if(!b)throw Error("ga");this.wl=b;a=this.DN;b=document.createElement("a");b.setAttribute("href",a);a=[b.protocol,"//",b.hostname];"http:"==b.protocol&&""!=b.port&&"0"!=b.port&&"80"!=b.port?(a.push(":"),a.push(b.port)):"https:"==b.protocol&&""!=b.port&&"0"!=b.port&&"443"!=b.port&&(a.push(":"),a.push(b.port));this.GD=a.join("");this.V2=[location.protocol,"//",location.host].join("");
this.Xt=this.FD=this.Im=!1;this.zN=null;this.my=[];this.Dp=[];this.Xi={};this.Jm=void 0;this.mq=c};_.g=_.cv.prototype;_.g.show=function(){var a=this.Jm;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.Sb=function(){Mu(this.Jm)};
_.g.Nx=function(a){if(this.Im)a&&a(this);else{if(!this.Jm){var b=Gu.cT+this.yb;var c=this.yb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=wu(e.split("|"),c))?Tu(e,d):Tu(e?e+"|"+c:c,d);c=!f;var h=this.DN,k=this.V2;d=this.wl;e=this.mq;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&yu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
f.setAttribute("sandbox",b);Mu(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.tu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Jm=f}a&&this.my.push(a)}};_.g.Bx=function(){return this.Im&&this.Xt};_.g.rm=function(){return this.zN};dv=function(a){for(var b=0;b<a.my.length;b++)a.my[b](a);a.my=[]};
_.fv=function(a,b,c,d){if(a.Im){if(a.Im&&a.FD)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.rm(),uu(a),Error(a);ev(a,{method:b,params:c},d)}else a.Dp.push({nn:{method:b,params:c},callback:d}),a.Nx()};ev=function(a,b,c){if(c){for(var d=b.id;!d||a.Xi[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.Xi[d]=c}b.rpcToken=a.wl;a.Jm.contentWindow.postMessage(_.Eu.stringify(b),a.GD)};gv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ha");};
_.cv.prototype.wi=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;gv(f);b=_.zu(b);_.fv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.cv.prototype.Mx=function(a,b,c,d,e){b=_.zu(b);_.fv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};hv=function(a,b,c){gv(b.identifier);_.fv(a,"getSessionSelector",b,c)};
_.iv=function(a,b,c,d,e){gv(b.identifier);_.fv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};jv=function(a,b,c,d){b={clientId:b};c&&(b.pluginName=c);_.fv(a,"monitorClient",b,d)};_.cv.prototype.revoke=_.ca(9);_.cv.prototype.Rq=_.ca(11);Gu.bx={};Gu.HC=function(a){return Gu.bx[a]};
Gu.Nx=function(a,b,c){c=void 0===c?!1:c;var d=Gu.HC(a);if(!d){d=String;if(Wu){var e=new window.Uint32Array(1);Vu.getRandomValues(e);e=Number("0."+e[0])}else e=Yu,e+=parseInt($u.substr(0,20),16),$u=bv($u),e/=Zu+Math.pow(16,20);d=new _.cv(a,d(2147483647*e),c);Gu.bx[a]=d}d.Nx(b)};Gu.FX=function(a){for(var b in Gu.bx){var c=Gu.HC(b);if(c&&c.Jm&&c.Jm.contentWindow==a.source&&c.GD==a.origin)return c}};Gu.kY=function(a){for(var b in Gu.bx){var c=Gu.HC(b);if(c&&c.GD==a)return c}};Gu=Gu||{};
var lv=function(){var a=[],b;for(b in kv)a.push(kv[b]);Fu.call(this,a);this.Lk={};uu("EventBus is ready.")};xu(lv,Fu);var kv={uU:"sessionSelectorChanged",KA:"sessionStateChanged",wA:"authResult",PS:"displayIFrame"},nv=function(a,b){var c=mv;a&&b&&(c.Lk[a]||(c.Lk[a]=[]),0>wu(c.Lk[a],b)&&c.Lk[a].push(b))},ov=function(a){var b=mv;a&&(b.Lk[a]||(b.Lk[a]=[]))},pv=function(a,b,c){return b&&a.Lk[b]&&0<=wu(a.Lk[b],c)};_.g=lv.prototype;
_.g.V1=function(a){var b,c=!!a.source&&(a.source===_.Lu||a.source.opener===window);if(b=c?Gu.kY(a.origin):Gu.FX(a)){try{var d=_.Eu.parse(a.data)}catch(e){uu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.wl){uu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.Xi[c.id])delete b.Xi[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?uu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.CN[a.type]?(d=this.CN[a.type],
c&&!d.fV?uu("Bad IDP event. Source window cannot be a popup."):d.tq&&!d.tq.call(this,b,a)?uu("Bad IDP event."):d.jf.call(this,b,a)):uu("Bad IDP event.")}else uu("Bad event, no corresponding Idp Stub.")};_.g.w3=function(a,b){return pv(this,a.yb,b.clientId)};_.g.v3=function(a,b){b=b.clientId;return!b||pv(this,a.yb,b)};_.g.pV=function(a,b){return pv(this,a.yb,b.clientId)};_.g.b1=function(a,b){a.Im=!0;a.Xt=!!b.cookieDisabled;dv(a);for(b=0;b<a.Dp.length;b++)ev(a,a.Dp[b].nn,a.Dp[b].callback);a.Dp=[]};
_.g.a1=function(a,b){b={error:b.error};a.Im=!0;a.FD=!0;a.zN=b;a.Dp=[];dv(a)};_.g.Py=function(a,b){b.originIdp=a.yb;this.dispatchEvent(b)};var mv=new lv,qv=mv,rv={};rv.idpReady={jf:qv.b1};rv.idpError={jf:qv.a1};rv.sessionStateChanged={jf:qv.Py,tq:qv.w3};rv.sessionSelectorChanged={jf:qv.Py,tq:qv.v3};rv.authResult={jf:qv.Py,tq:qv.pV,fV:!0};rv.displayIFrame={jf:qv.Py};mv.CN=rv||{};Bu(window,"message",function(a){mv.V1.call(mv,a)});
_.sv=function(a,b){this.ue=!1;if(!a)throw Error("ia");var c=[],d;for(d in a)c.push(a[d]);Fu.call(this,c);this.yd=[location.protocol,"//",location.host].join("");this.Yd=b.crossSubDomains?b.domain||this.yd:this.yd;if(!b)throw Error("ja");if(!b.idpId)throw Error("ka");if(!_.Ju(b.idpId,"authServerUrl")||!_.Ju(b.idpId,"idpIFrameUrl"))throw Error("la`"+b.idpId);this.yb=b.idpId;this.Qb=void 0;this.nW=!!b.disableTokenRefresh;this.fX=!!b.forceTokenRefresh;this.x4=!!b.skipTokenCache;this.mq=!!b.supportBlocked3PCookies;
b.pluginName&&(this.M1=b.pluginName);this.setOptions(b);this.Zq=[];this.Xt=this.Pk=this.fO=!1;this.Ok=void 0;this.aQ();this.ud=void 0;var e=this,f=function(){uu("Token Manager is ready.");if(e.Zq.length)for(var h=0;h<e.Zq.length;h++)e.Zq[h].call(e);e.fO=!0;e.Zq=[]};Gu.Nx(this.yb,function(h){e.ud=h;h.Im&&h.FD?(e.Pk=!0,e.Ok=h.rm(),e.Ss(e.Ok)):(e.Xt=h.Bx(),e.Qb?jv(e.ud,e.Qb,e.M1,function(k){var l=k,m=!1,n=!1;"object"==typeof k&&(l=k.validOrigin,m=k.blocked,n=k.suppressed);l?m?n?(vu("You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
nv(e.yb,e.Qb),f()):(e.Ok={error:"You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Pk=!0,e.Ss(e.Ok)):(vu("Your client application uses libraries for user authentication or authorization that will soon be deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
nv(e.yb,e.Qb),f()):(e.Ok={error:"Not a valid origin for the client: "+e.yd+" has not been registered for client ID "+e.Qb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Pk=!0,e.Ss(e.Ok))}):(ov(e.yb),f()))},this.mq)};xu(_.sv,Fu);_.g=_.sv.prototype;_.g.setOptions=function(){};_.g.aQ=function(){};_.g.Ss=function(){};_.g.Bx=function(){return this.Xt};_.g.rm=function(){return this.Ok};tv=function(a,b,c){return function(){b.apply(a,c)}};
_.uv=function(a,b,c){if(a.fO)b.apply(a,c);else{if(a.Pk)throw a.Ok;a.Zq.push(tv(a,b,c))}};_.sv.prototype.rK=_.ca(12);_.sv.prototype.Rq=_.ca(10);
_.wv=function(a,b){_.sv.call(this,a,b);this.JP=new Nu;this.Bj=this.Ym=null;vv(this)};xu(_.wv,_.sv);_.wv.prototype.setOptions=function(){};
var xv=function(a,b){a.ne={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Yd};b.crossSubDomains&&(a.ne.policy=b.policy)},yv=function(a,b){if(!b.authParameters)throw Error("ma");if(!b.authParameters.scope)throw Error("na");if(!b.authParameters.response_type)throw Error("oa");a.Kq=b.authParameters;a.Kq.redirect_uri||(a.Kq.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Ci=_.zu(b.rpcAuthParameters||a.Kq);if(!a.Ci.scope)throw Error("pa");if(!a.Ci.response_type)throw Error("qa");
a:{var c=a.Ci.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Cu[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ra");b.enableSerialConsent&&(a.Ci.enable_serial_consent=!0);b.authResultIdentifier&&(a.qV=b.authResultIdentifier);b.spec_compliant&&(a.Ci.spec_compliant=b.spec_compliant)};
_.wv.prototype.aQ=function(){var a=this;mv.addEventListener(kv.uU,function(b){a.ue&&a.ne&&b.originIdp==a.yb&&!b.crossSubDomains==!a.ne.crossSubDomains&&b.domain==a.ne.domain&&b.id==a.ne.id&&a.sP(b)});mv.addEventListener(kv.KA,function(b){a.ue&&b.originIdp==a.yb&&b.clientId==a.Qb&&a.tP(b)});mv.addEventListener(kv.wA,function(b){_.Lu=void 0;a.ue&&b.originIdp==a.yb&&b.clientId==a.Qb&&b.id==a.yj&&(a.Ym&&(window.clearTimeout(a.Ym),a.Ym=null),a.yj=void 0,a.Os(b))});mv.addEventListener(kv.PS,function(b){a.ue&&
b.originIdp==a.yb&&(b.Sb?a.ud.Sb():a.ud.show())})};_.wv.prototype.sP=function(){};_.wv.prototype.tP=function(){};_.wv.prototype.Os=function(){};var Av=function(a,b){zv(a);a.nW||(a.Bj=Hu.fW(function(){a.wi(!0)},b-3E5),navigator.onLine&&a.Bj.start())},zv=function(a){a.Bj&&(a.Bj.clear(),a.Bj=null)},vv=function(a){var b=window;Du()&&(b=document.body);Bu(b,"online",function(){a.Bj&&a.Bj.start()});Bu(b,"offline",function(){a.Bj&&a.Bj.clear()})};_.wv.prototype.wi=function(){};_.wv.prototype.$O=_.ca(13);
_.wv.prototype.b0=function(a,b){if(!this.Qb)throw Error("va");this.ud.Mx(this.Qb,this.Ci,this.ne,a,b)};_.wv.prototype.Mx=function(a,b){_.uv(this,this.b0,[a,b])};_.Cv=function(a){this.je=void 0;this.Ug=!1;this.Op=void 0;_.wv.call(this,_.Bv,a)};xu(_.Cv,_.wv);_.Bv={lJ:"noSessionBound",Eq:"userLoggedOut",wS:"activeSessionChanged",KA:"sessionStateChanged",yJ:"tokenReady",OU:"tokenFailed",wA:"authResult",ERROR:"error"};
_.Cv.prototype.setOptions=function(a){if(!a.clientId)throw Error("wa");this.Qb=a.clientId;this.Ba=a.id;xv(this,a);yv(this,a)};_.Cv.prototype.Ss=function(a){this.dispatchEvent({type:_.Bv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.yb})};var Dv=function(a){zv(a);a.Op=void 0;a.Ix=void 0};_.g=_.Cv.prototype;
_.g.sP=function(a){var b=a.newValue||{};if(this.je!=b.hint||this.Ug!=!!b.disabled){a=this.je;var c=!this.je||this.Ug;Dv(this);this.je=b.hint;this.Ug=!!b.disabled;(b=!this.je||this.Ug)&&!c?this.dispatchEvent({type:_.Bv.Eq,idpId:this.yb}):b||(a!=this.je&&this.dispatchEvent({type:_.Bv.wS,idpId:this.yb}),this.je&&this.wi())}};
_.g.tP=function(a){this.Ug||(this.je?a.user||this.Op?a.user==this.je&&(this.Op?a.sessionState?this.Op=a.sessionState:(Dv(this),this.dispatchEvent({type:_.Bv.Eq,idpId:this.yb})):a.sessionState&&(this.Op=a.sessionState,this.wi())):this.wi():this.dispatchEvent({type:_.Bv.KA,idpId:this.yb}))};_.g.Os=function(a){this.dispatchEvent({type:_.Bv.wA,authResult:a.authResult})};_.g.Gr=_.ca(15);_.g.Ar=function(a){_.uv(this,this.xC,[a])};_.g.xC=function(a){hv(this.ud,this.ne,a)};
_.g.Tz=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("xa");Dv(this);this.je=a;this.Ug=!1;b&&_.iv(this.ud,this.ne,!1,this.je);this.ue=!0;this.wi(c,!0,d)};_.g.start=function(){_.uv(this,this.Qt,[])};
_.g.Qt=function(){var a=this.Qb==Au("client_id")?Au("login_hint"):void 0;var b=this.Qb==Au("client_id")?Au("state"):void 0;this.PE=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.Tz(a,!0,!0,!0);else{var c=this;this.Ar(function(d){c.ue=!0;d&&d.hint?(Dv(c),c.je=d.hint,c.Ug=!!d.disabled,c.Ug?c.dispatchEvent({type:_.Bv.Eq,idpId:c.yb}):c.Tz(d.hint)):(Dv(c),c.je=void 0,c.Ug=!(!d||!d.disabled),c.dispatchEvent({type:_.Bv.lJ,
autoOpenAuthUrl:!c.Ug,idpId:c.yb}))})}};_.g.cX=function(){var a=this;this.Ar(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Bv.Eq,idpId:a.yb}):a.wi(!0):a.dispatchEvent({type:_.Bv.lJ,idpId:a.yb})})};_.g.XL=function(){_.uv(this,this.cX,[])};
_.g.wi=function(a,b,c){var d=this;this.ud.wi(this.Qb,this.Ci,this.je,this.ne,function(e,f){(f=f||e.error)?"user_logged_out"==f?(Dv(d),d.dispatchEvent({type:_.Bv.Eq,idpId:d.yb})):(d.Ix=null,d.dispatchEvent({type:_.Bv.OU,idpId:d.yb,error:f})):(d.Ix=e,d.Op=e.session_state,Av(d,e.expires_at),e.idpId=d.yb,b&&d.PE&&(e.state=d.PE,d.PE=void 0),d.dispatchEvent({type:_.Bv.yJ,idpId:d.yb,response:e}))},this.Ba,a,!1,void 0===c?!1:c)};_.g.revoke=_.ca(8);_.g.qQ=_.ca(16);
_.Ev=function(a){this.Kl=null;_.wv.call(this,{},a);this.ue=!0};xu(_.Ev,_.wv);_.g=_.Ev.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("wa");this.Qb=a.clientId;this.Ba=a.id;xv(this,a);yv(this,a)};_.g.Ss=function(a){this.Kl&&(this.Kl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Kl=null)};_.g.Os=function(a){if(this.Kl){var b=this.Kl;this.Kl=null;b(a)}};_.g.Gr=_.ca(14);_.g.Ar=function(a){this.Pk?a(this.rm()):_.uv(this,this.xC,[a])};
_.g.xC=function(a){hv(this.ud,this.ne,a)};_.Fv=function(a,b,c){a.Pk?c(a.rm()):_.uv(a,a.t1,[b,c])};_.Ev.prototype.t1=function(a,b){this.ud.wi(this.Qb,this.Ci,a,this.ne,function(c,d){d?b({error:d}):b(c)},this.Ba,this.fX,this.x4)};_.Ev.prototype.CO=_.ca(17);

var 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;64>b;b++)a[b]=Math.floor(256*Math.random())}return _.dh(a,3).substring(0,64)},Iv=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},Jv=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},Kv=function(a,b,c){if(!a.ue)throw Error("sa");b?_.iv(a.ud,a.ne,!0,void 0,c):_.iv(a.ud,a.ne,!0,a.je,c)},Lv=function(a){if(!a.ue)throw Error("sa");return a.Ix},Mv,Nv,Ov,Pv,Qv,Rv,Sv,Tv,Uv,Wv;_.Ev.prototype.CO=_.bb(17,function(a,b){var c=this.ud,d=this.Qb,e=this.ne,f=_.zu(this.Ci);delete f.response_type;_.fv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.Cv.prototype.qQ=_.bb(16,function(a){Lv(this)&&Lv(this).access_token&&(this.ud.revoke(this.Qb,Lv(this).access_token,a),Kv(this,!0))});
_.Cv.prototype.Gr=_.bb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.Bx()&&a.mq&&(Iv()||Jv())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.yb};a.Ix=b;a.dispatchEvent({type:_.Bv.yJ,idpId:a.yb,response:b})}else a.Tz(b.authResult.login_hint,a.Ug||b.authResult.login_hint!=a.je,!0,!0)}});
_.Ev.prototype.Gr=_.bb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Ar(function(d){_.iv(b.ud,b.ne,d&&d.disabled,c.authResult.login_hint,function(){_.Fv(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"})}});_.wv.prototype.$O=_.bb(13,function(){this.Qb&&_.fv(this.ud,"startPolling",{clientId:this.Qb,origin:this.yd,id:this.yj})});
_.cv.prototype.revoke=_.bb(9,function(a,b,c){_.fv(this,"revoke",{clientId:a,token:b},c)});_.Cv.prototype.revoke=_.bb(8,function(a){_.uv(this,this.qQ,[a])});Mv=function(){var a=navigator.userAgent,b;if(b=!!a&&-1!=a.indexOf("CriOS"))b=-1,(a=a.match(/CriOS\/(\d+)/))&&a[1]&&(b=parseInt(a[1],10)||-1),b=48>b;return b};
Nv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
Ov=function(a,b,c,d,e,f,h){var k=_.Ju(a,"authServerUrl");if(!k)throw Error("ca`"+a);a=_.zu(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=Nv())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")};
Pv=function(a,b,c,d){if(!a.Qb)throw Error("ta");a.yj=c||a.qV||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.yd.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.yj);c.redirect_uri=e.join("")}return Ov(a.yb,a.Yd,a.Qb,a.Kq,!0,b,d)};Qv=function(a,b,c){if(!a.Qb)throw Error("ta");return Ov(a.yb,a.Yd,a.Qb,a.Kq,!1,b,c)};
Rv=function(a){if(!a)return"permission token";var b=a.split(" ");if(-1<b.indexOf("token")||-1<b.indexOf("code")||-1<b.indexOf("gsession"))return a;b.push("token");return b.join(" ")};Sv=function(a,b){a.Ym&&window.clearTimeout(a.Ym);a.Ym=window.setTimeout(function(){a.yj==b&&(_.Lu=void 0,a.Ym=null,a.yj=void 0,a.Os({authResult:{error:"popup_closed_by_user"}}))},1E3)};
Tv=function(a,b,c){if(!a.Qb)throw Error("ua");c=c||{};a.Bx()&&a.mq&&(Iv()||Jv())&&(c.responseType=Rv(c.responseType));c=Pv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||Mv())&&_.uv(a,a.$O,[]);var d=a.yj;a.JP.open(c,b,function(){a.yj==d&&Sv(a,d)},function(){a.yj=void 0;a.Os({authResult:{error:"popup_blocked_by_browser"}})})};Uv=function(a,b,c){a.Pk?c(a.rm()):_.uv(a,a.CO,[b,c])};
_.Vv=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")};
Wv=function(a){var b=[];_.eh(a,function(c){b.push(c)});return b};_.Xv=function(a,b){_.Ph[b||"token"]=a};_.Yv=function(a){delete _.Ph[a||"token"]};
_.Eu={parse:function(a){a=_.rf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.sf(a)}};
_.Ev.prototype.mC=function(a,b){_.uv(this,this.SW,[a,b])};_.Ev.prototype.SW=function(a,b){this.ud.mC(this.Qb,a,this.Ci,this.ne,b)};
_.cv.prototype.mC=function(a,b,c,d,e){c=_.zu(c);_.fv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var Zv,$v=["client_id","cookie_policy","scope"],aw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection plugin_name gsiwebsdk".split(" "),bw=["authuser","after_redirect","access_type","hl"],cw=["login_hint","prompt"],dw={clientid:"client_id",cookiepolicy:"cookie_policy"},ew=["approval_prompt","authuser","login_hint",
"prompt","hd"],fw=["login_hint","g-oauth-window","status"],gw=Math.min(_.Ee("oauth-flow/authWindowWidth",599),screen.width-20),hw=Math.min(_.Ee("oauth-flow/authWindowHeight",600),screen.height-30);
var iw=function(a){_.fb.call(this,a)};_.J(iw,_.fb);iw.prototype.name="gapi.auth2.ExternallyVisibleError";
var jw=function(){};jw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var kw=function(){};kw.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 lw=function(a){this.rV=a};
lw.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.rV){d.login_hint?b(d):b();return}}b()};
var mw=function(a){this.Vd=a;this.nz=[]};mw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.nz[b];f?(b++,c.Vd.Mx(function(h){h?f.select(h,d):d()})):a()}};d()};var nw=function(a){a=new mw(a);a.nz.push(new jw);return a},ow=function(a){a=new mw(a);a.nz.push(new kw);return a},pw=function(a,b){void 0===b||null===b?b=nw(a):(a=new mw(a),a.nz.push(new lw(b)),b=a);return b};
var qw=function(a){this.jf=a;this.Wc=!0};qw.prototype.remove=function(){this.Wc=!1};qw.prototype.trigger=function(){};var rw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},sw=function(){this.Vb=[]};sw.prototype.add=function(a){this.Vb.push(a)};sw.prototype.notify=function(a){for(var b=this.Vb,c=[],d=0;d<b.length;d++){var e=b[d];e.Wc&&(c.push(e),_.uj(tw(e.jf,a)))}this.Vb=c};var tw=function(a,b){return function(){a(b)}};
var vw=function(a){this.tb=null;this.r5=new uw(this);this.Vb=new sw;void 0!=a&&this.set(a)};vw.prototype.set=function(a){a!=this.tb&&(this.tb=a,this.r5.value=a,this.Vb.notify(this.tb))};vw.prototype.get=function(){return this.tb};vw.prototype.V=function(a){a=new ww(this,a);this.Vb.add(a);return a};vw.prototype.get=vw.prototype.get;var ww=function(a,b){qw.call(this,b);this.e0=a};_.J(ww,qw);ww.prototype.trigger=function(){var a=this.jf;a(this.e0.get())};var uw=function(a){this.value=null;this.V=function(b){return new rw(a.V(b))}};
var xw={R7:"fetch_basic_profile",T8:"login_hint",s$:"prompt",z$:"redirect_uri",Q$:"scope",iba:"ux_mode",Faa:"state"},yw=function(a){this.Ha={};if(a&&!_.vi(a))if("function"==typeof a.get)this.Ha=a.get();else for(var b in xw){var c=xw[b];c in a&&(this.Ha[c]=a[c])}};yw.prototype.get=function(){return this.Ha};yw.prototype.eR=function(a){this.Ha.scope=a;return this};yw.prototype.Qr=function(){return this.Ha.scope};
var zw=function(a,b){var c=a.Ha.scope;b=Gv(b.split(" "),c?c.split(" "):[]);_.jj(b);a.Ha.scope=b.join(" ")};_.g=yw.prototype;_.g.Z3=function(a){this.Ha.prompt=a;return this};_.g.mY=function(){return this.Ha.prompt};_.g.z3=function(){_.wf.warn("Property app_package_name no longer supported and was not set");return this};_.g.mX=function(){_.wf.warn("Property app_package_name no longer supported")};_.g.Se=function(a){this.Ha.state=a};_.g.getState=function(){return this.Ha.state};
var Aw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+gw,"height="+hw,"top="+(screen.height-hw)/2,"left="+(screen.width-gw)/2].join()},Bw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Vv(Wv(a)))},Cw=function(){Zv=_.Ee("auth2/idpValue","google");var a=_.Ee("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Ee("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.Ku(Zv,{authServerUrl:a,idpIFrameUrl:b})},Dw=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}_.Cb(a[e])||(a[e]={});a=a[e]}},Ew=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},Gw=function(){var a=Fw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,Ew()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new iw("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.wf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};
var Hw=function(a){var b=a?(b=Bw(a))?b.sub:null:null;this.Ba=b;this.zc=a?_.lj(a):null};_.g=Hw.prototype;_.g.getId=function(){return this.Ba};_.g.EC=function(){var a=Bw(this.zc);return a?a.hd:null};_.g.Qf=function(){return!!this.zc};_.g.rk=function(a){if(a)return this.zc;a=Iw;var b=_.lj(this.zc);!a.px||a.AD||a.NZ||(delete b.access_token,delete b.scope);return b};_.g.zF=function(){return Iw.zF()};_.g.Lj=function(){this.zc=null};_.g.PX=function(){return this.zc?this.zc.scope:null};
_.g.update=function(a){this.Ba=a.Ba;this.zc=a.zc;this.zc.id_token?this.Ru=new Jw(this.zc):this.Ru&&(this.Ru=null)};var Kw=function(a){return a.zc&&"object"==typeof a.zc.session_state?_.lj(a.zc.session_state.extraQueryParams||{}):{}};_.g=Hw.prototype;_.g.xr=function(){var a=Kw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Kj=function(a){var b=Iw,c=new yw(a);b.AD=c.Qr()?!0:!1;Iw.px&&zw(c,"openid profile email");return new _.Fj(function(d,e){var f=Kw(this);f.login_hint=this.getId();f.scope=c.Qr();Lw(b,d,e,f)},this)};_.g.Sr=function(a){return new _.Fj(function(b,c){var d=a||{},e=Iw;d.login_hint=this.getId();e.Sr(d).then(b,c)},this)};_.g.DY=function(a){return this.Kj(a)};_.g.disconnect=function(){return Iw.disconnect()};_.g.pX=function(){return this.Ru};
_.g.Xw=function(a){if(!this.Qf())return!1;var b=this.zc&&this.zc.scope?this.zc.scope.split(" "):"";return _.Rb(a?a.split(" "):[],function(c){return _.hb(b,c)})};var Jw=function(a){a=Bw(a);this.kX=a.sub;this.tf=a.name;this.AY=a.given_name;this.QW=a.family_name;this.IN=a.picture;this.Iv=a.email};_.g=Jw.prototype;_.g.getId=function(){return this.kX};_.g.oj=function(){return this.tf};_.g.NX=function(){return this.AY};_.g.IX=function(){return this.QW};_.g.VX=function(){return this.IN};_.g.Hr=function(){return this.Iv};
var Fw,Mw;Fw=function(){var a=_.Eh.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]}:(_.wf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};Mw=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.Nw=function(a){if(!a)throw new iw("No cookiePolicy");var b=window.location.hostname;"single_host_origin"==a&&(a=window.location.protocol+"//"+b);if("none"==a)return null;var c=/^(https?:\/\/)([0-9.\-_A-Za-z]+)(?::(\d+))?$/.exec(a);if(!c)throw new iw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.zi(b,"."+a)&&!_.zi(b,a))throw new iw("Invalid cookiePolicy domain");return d};
var Pw=function(a){var b=a||{},c=Ow();_.Ob(aw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},Ow=function(){for(var a={},b=document.getElementsByTagName("meta"),c=0;c<b.length;++c)if(b[c].name){var d=b[c].name;if(0==d.indexOf("google-signin-")){d=d.substring(14);var e=b[c].content;dw[d]&&(d=dw[d]);_.hb(aw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},Qw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Rw=function(a){_.Ob(aw,
function(b){var c=Qw(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},Sw=function(a){a=Pw(a);Rw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=aw+bw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Tw=function(a,b){if(!a)throw new iw("Empty initial options.");for(var c=0;c<$v.length;++c)if(!(b&&"scope"==$v[c]||a[$v[c]]))throw new iw("Missing required parameter '"+$v[c]+"'");_.Nw(a.cookie_policy)},Vw=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:Mw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Zv};Uw(b,a);_.Ob(cw,function(d){a[d]&&(b.authParameters[d]=a[d])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);if(a.plugin_name)b.pluginName=a.plugin_name;else{var c=_.Ee("auth2/pluginName");c&&(b.pluginName=c)}return b},Uw=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)},$w=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=Ww(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:Mw(c),idpId:Zv};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);_.Ob(cw.concat(bw),function(n){a[n]&&(m.authParameters[n]=a[n])});void 0!==a.authuser&&null!==a.authuser&&(m.authParameters.authuser=a.authuser);"boolean"==typeof a.include_granted_scopes&&(b=new Xw(a.response_type||"token"),Yw(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Zw(b)&&(m.rpcAuthParameters.include_granted_scopes=
a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&(m.enableSerialConsent=a.enable_serial_consent);a.plugin_name?m.pluginName=a.plugin_name:(b=_.Ee("auth2/pluginName"))&&(m.pluginName=b);return m},Ww=function(a){a=new Xw(a.response_type||"token");var b=[];Zw(a)&&b.push("token");ax(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},bx=["permission","id_token"],cx=
/(^|[^_])token/,Xw=function(a){this.Hp=[];this.TD(a)};Xw.prototype.TD=function(a){a?((0<=a.indexOf("permission")||a.match(cx))&&this.Hp.push("permission"),0<=a.indexOf("id_token")&&this.Hp.push("id_token"),0<=a.indexOf("code")&&this.Hp.push("code")):this.Hp=bx};var Yw=function(a){return ax(a,"code")},Zw=function(a){return ax(a,"permission")};Xw.prototype.toString=function(){return this.Hp.join(" ")};var ax=function(a,b){var c=!1;_.Ob(a.Hp,function(d){d==b&&(c=!0)});return c};
var ex=function(a,b,c){this.Tm=b;this.P0=a;for(var d in a)a.hasOwnProperty(d)&&dx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.Tm[c[a]]},dx=function(a,b){a[b]=function(){return a.P0[b].apply(a.Tm,arguments)}};ex.prototype.then=function(a,b,c){var d=this;return _.Jj().then(function(){return fx(d.Tm,a,b,c)})};_.oj(ex);
var Iw,gx,ix;Iw=null;_.hx=function(){return Iw?gx():null};gx=function(){return new ex(ix.prototype,Iw,["currentUser","isSignedIn"])};ix=function(a){delete a.include_granted_scopes;this.Ha=Vw(a);this.dW=a.cookie_policy;this.NZ=!!a.scope;(this.px=!1!==a.fetch_basic_profile)&&(this.Ha.authParameters.scope=jx(this,"openid profile email"));_.Bh.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.mq=this.Ha.supportBlocked3PCookies=!0);this.ds=a.hosted_domain;this.o5=a.ux_mode||"popup";this.c2=a.redirect_uri||null;this.QD()};
ix.prototype.QD=function(){this.currentUser=new vw(new Hw(null));this.isSignedIn=new vw(!1);this.Vd=new _.Cv(this.Ha);this.wx=this.Xo=null;this.R_=new _.Fj(function(a,b){this.Xo=a;this.wx=b},this);this.ly={};this.ws=!0;kx(this);this.Vd.start()};
var kx=function(a){a.Vd.addEventListener("error",function(b){a.ws&&a.Xo&&(a.ws=!1,a.wx({error:b.error,details:b.details}),a.Xo=null,a.wx=null)});a.Vd.addEventListener("authResult",function(b){b&&b.authResult&&a.Ye(b);a.Vd.Gr()(b)});a.Vd.addEventListener("tokenReady",function(b){var c=new Hw(b.response);if(a.ds&&a.ds!=c.EC())a.Ye({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.EC(),expectedDomain:a.ds});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Vb.notify(d.tb);a.isSignedIn.set(!0);c=c.xr();(d=_.Nw(a.dW))&&c&&_.Eh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Ge?"S":"H",d.Rh].join(""),c,{domain:d.domain,secure:d.isSecure});_.Xv(b.response);a.Ye(b)}});a.Vd.addEventListener("noSessionBound",function(b){a.ws&&b.autoOpenAuthUrl?(a.ws=!1,nw(a.Vd).select(function(c){if(c&&c.login_hint){var d=a.Vd;_.uv(d,d.Tz,[c.login_hint,!0])}else a.currentUser.set(new Hw(null)),a.isSignedIn.set(!1),_.Yv(),a.Ye(b)})):(a.currentUser.set(new Hw(null)),
a.isSignedIn.set(!1),_.Yv(),a.Ye(b))});a.Vd.addEventListener("tokenFailed",function(b){a.Ye(b)});a.Vd.addEventListener("userLoggedOut",function(b){a.currentUser.get().Lj();var c=a.currentUser;c.Vb.notify(c.tb);a.isSignedIn.set(!1);_.Yv();a.Ye(b)})},fx=function(a,b,c,d){return a.R_.then(function(e){if(b)return b(e.BY)},c,d)};ix.prototype.Ye=function(a){if(a){this.ws=!1;var b=a.type||"";if(this.ly[b])this.ly[b](a);this.Xo&&(this.Xo({BY:this}),this.wx=this.Xo=null)}};
var lx=function(a,b){_.lb(b,function(c,d){a.ly[d]=function(e){a.ly={};c(e)}})},Lw=function(a,b,c,d){d=_.lj(d);a.ds&&(d.hd=a.ds);var e=d.ux_mode||a.o5;delete d.ux_mode;delete d.app_package_name;var f={sessionMeta:{extraQueryParams:d},responseType:"permission id_token"};"redirect"==e?(d.redirect_uri||(d.redirect_uri=a.c2||Ew()+window.location.pathname),mx(a,f)):(delete d.redirect_uri,nx(a,f),lx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):lx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};ix.prototype.Kj=function(a){return new _.Fj(function(b,c){var d=new yw(a);this.AD=d.Qr()?!0:!1;this.px?(d.Ha.fetch_basic_profile=!0,zw(d,"email profile openid")):d.Ha.fetch_basic_profile=!1;var e=jx(this,d.Qr());d.eR(e);Lw(this,b,c,d.get())},this)};
ix.prototype.Sr=function(a){var b=a||{};this.AD=!!b.scope;a=jx(this,b.scope);if(""==a)return _.Kj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Ob(ew,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");return"postmessage"==b.redirect_uri||void 0==b.redirect_uri?ox(this,c):px(this,c,b.redirect_uri)};
var px=function(a,b,c){b.redirect_uri=c;mx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Jj({message:"Redirecting to IDP."})},ox=function(a,b){b.origin=Ew();delete b.redirect_uri;nx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Fj(function(c,d){lx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},nx=function(a,b){Dw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");Tv(a.Vd,Aw(),b)},mx=function(a,b){Dw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(Qv(a.Vd,b.sessionMeta,b.responseType))};ix.prototype.Lj=function(a){var b=a||!1;return new _.Fj(function(c){Kv(this.Vd,b,function(){c()})},this)};ix.prototype.vM=function(){return this.Ha.authParameters.scope};var jx=function(a,b){a=a.vM();b=Gv(b?b.split(" "):[],a?a.split(" "):[]);_.jj(b);return b.join(" ")};
ix.prototype.zF=function(){var a=this;return new _.Fj(function(b,c){lx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Vd.XL()})};ix.prototype.ZJ=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Ti(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Kj(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."})};
ix.prototype.disconnect=function(){return new _.Fj(function(a){this.Vd.revoke(function(){a()})},this)};ix.prototype.attachClickHandler=ix.prototype.ZJ;
var qx;_.Fj.prototype["catch"]=_.Fj.prototype.Wt;qx=null;_.rx=function(a){Gw();a=Sw(a);if(Iw){if(_.kj(a,qx||{}))return gx();throw new iw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Tw(a,!1!==a.fetch_basic_profile);Cw();qx=a;Iw=new ix(a);_.ve.ga=1;return gx()};
var tx,vx,sx,xx,wx,yx;_.ux=function(a,b){Cw();a=Sw(a);Tw(a);var c=$w(a),d=new _.Ev(c);"none"==a.prompt?sx(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)}):tx(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.JP.zh;b(e)})};
tx=function(a,b,c){var d=new Xw(b.response_type);c=vx(a,d,c);var e={responseType:d.toString()};Dw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Yw(d)&&Dw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Dw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Dw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Aw();a.Pk?c({authResult:{error:"idpiframe_initialization_failed",details:a.rm().error}}):(a.Kl=
c,Tv(a,b,e))};vx=function(a,b,c){if(Zw(b)){var d=wx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Gr(function(f){f&&!f.error?(f=_.lj(f),Yw(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(_.lj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
sx=function(a,b,c){if(Yw(new Xw(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=wx(c);b.login_hint?a.mC(b.login_hint,function(e){e?xx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?pw(a,b.authuser).select(function(e){e&&e.login_hint?xx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Ar(function(e){e&&e.hint?xx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?ow(a):nw(a)).select(function(f){f&&f.login_hint?xx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};xx=function(a,b,c,d){b=new Xw(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.xi(f,k),0==e&&d(f))};(Zw(b)||ax(b,"id_token"))&&e++;Yw(b)&&e++;(Zw(b)||ax(b,"id_token"))&&_.Fv(a,c,h);Yw(b)&&Uv(a,c,h)};
wx=function(a){return function(b){if(!b||b.error)_.Yv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.lj(b);yx(c);delete c.id_token;delete c.code;_.Xv(c)}a(b)}}};yx=function(a){_.Ob(fw,function(b){delete a[b]})};
_.D("gapi.auth2.init",_.rx);_.D("gapi.auth2.authorize",function(a,b){Gw();if(null!=Iw)throw new iw("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).");_.ux(a,function(c){yx(c);b(c)})});_.D("gapi.auth2._gt",function(){return _.Qh()});_.D("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.tu="0"!=a&&!!a});_.D("gapi.auth2.getAuthInstance",_.hx);
_.D("gapi.auth2.BasicProfile",Jw);_.D("gapi.auth2.BasicProfile.prototype.getId",Jw.prototype.getId);_.D("gapi.auth2.BasicProfile.prototype.getName",Jw.prototype.oj);_.D("gapi.auth2.BasicProfile.prototype.getGivenName",Jw.prototype.NX);_.D("gapi.auth2.BasicProfile.prototype.getFamilyName",Jw.prototype.IX);_.D("gapi.auth2.BasicProfile.prototype.getImageUrl",Jw.prototype.VX);_.D("gapi.auth2.BasicProfile.prototype.getEmail",Jw.prototype.Hr);_.D("gapi.auth2.GoogleAuth",ix);
_.D("gapi.auth2.GoogleAuth.prototype.attachClickHandler",ix.prototype.ZJ);_.D("gapi.auth2.GoogleAuth.prototype.disconnect",ix.prototype.disconnect);_.D("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",ix.prototype.Sr);_.D("gapi.auth2.GoogleAuth.prototype.signIn",ix.prototype.Kj);_.D("gapi.auth2.GoogleAuth.prototype.signOut",ix.prototype.Lj);_.D("gapi.auth2.GoogleAuth.prototype.getInitialScopes",ix.prototype.vM);_.D("gapi.auth2.GoogleUser",Hw);_.D("gapi.auth2.GoogleUser.prototype.grant",Hw.prototype.DY);
_.D("gapi.auth2.GoogleUser.prototype.getId",Hw.prototype.getId);_.D("gapi.auth2.GoogleUser.prototype.isSignedIn",Hw.prototype.Qf);_.D("gapi.auth2.GoogleUser.prototype.getAuthResponse",Hw.prototype.rk);_.D("gapi.auth2.GoogleUser.prototype.getBasicProfile",Hw.prototype.pX);_.D("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Hw.prototype.PX);_.D("gapi.auth2.GoogleUser.prototype.getHostedDomain",Hw.prototype.EC);_.D("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Hw.prototype.Sr);
_.D("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Hw.prototype.Xw);_.D("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Hw.prototype.zF);_.D("gapi.auth2.LiveValue",vw);_.D("gapi.auth2.LiveValue.prototype.listen",vw.prototype.V);_.D("gapi.auth2.LiveValue.prototype.get",vw.prototype.get);_.D("gapi.auth2.SigninOptionsBuilder",yw);_.D("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",yw.prototype.mX);_.D("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",yw.prototype.z3);
_.D("gapi.auth2.SigninOptionsBuilder.prototype.getScope",yw.prototype.Qr);_.D("gapi.auth2.SigninOptionsBuilder.prototype.setScope",yw.prototype.eR);_.D("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",yw.prototype.mY);_.D("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",yw.prototype.Z3);_.D("gapi.auth2.SigninOptionsBuilder.prototype.get",yw.prototype.get);

_.He=_.He||{};
(function(){function a(b){var c="";if(3==b.nodeType||4==b.nodeType)c=b.nodeValue;else if(b.innerText)c=b.innerText;else if(b.innerHTML)c=b.innerHTML;else if(b.firstChild){c=[];for(b=b.firstChild;b;b=b.nextSibling)c.push(a(b));c=c.join("")}return c}_.He.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)};_.He.JK=function(b){var c=_.He.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(_.He.YB(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.He.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};_.He.dM=function(){if(document.body)return document.body;try{var b=document.getElementsByTagNameNS("http://www.w3.org/1999/xhtml","body");if(b&&
1==b.length)return b[0]}catch(c){}return document.documentElement||document};_.He.sda=function(b){return a(b)}})();

_.hg=window.gapi&&window.gapi.util||{};

_.hg=_.hg={};_.hg.getOrigin=function(a){return _.jg(a)};

_.vy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={ui:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=_.ty(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Ge;return!d&&("U"!==c||e.Ge)||d&&!_.uy?b:{ui:!0,Ge:d,UV:a.substr(1),domain:e.domain,Rh:e.Rh}};
_.wy=function(a,b){this.tf=a;a=b||{};this.v0=Number(a.maxAge)||0;this.Yd=a.domain;this.bl=a.path;this.l3=!!a.secure};_.wy.prototype.read=function(){for(var a=this.tf+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
_.wy.prototype.write=function(a,b){if(!xy.test(this.tf))throw"Invalid cookie name";if(!yy.test(a))throw"Invalid cookie value";a=this.tf+"="+a;this.Yd&&(a+=";domain="+this.Yd);this.bl&&(a+=";path="+this.bl);b="number"===typeof b?b:this.v0;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.l3&&(a+=";secure");document.cookie=a;return!0};_.wy.prototype.clear=function(){this.write("",0)};var yy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,xy=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.wy.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("="))}};
_.zy=function(a){this.vi=a};_.zy.prototype.read=function(){if(Ay.hasOwnProperty(this.vi))return Ay[this.vi]};_.zy.prototype.write=function(a){Ay[this.vi]=a;return!0};_.zy.prototype.clear=function(){delete Ay[this.vi]};var Ay={};_.zy.iterate=function(a){for(var b in Ay)Ay.hasOwnProperty(b)&&a(b,Ay[b])};
var By=function(){this.tb=null;this.key=function(){return null};this.getItem=function(){return this.tb};this.setItem=function(a,b){this.tb=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.tb=null;this.length=0};this.length=0},Cy=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}},Dy=function(a,b){this.tf=a;this.cI=
Cy(b)?b||window.sessionStorage:new By};Dy.prototype.read=function(){return this.cI.getItem(this.tf)};Dy.prototype.write=function(a){try{this.cI.setItem(this.tf,a)}catch(b){return!1}return!0};Dy.prototype.clear=function(){this.cI.removeItem(this.tf)};Dy.iterate=function(a){if(Cy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
_.uy="https:"===window.location.protocol;_.Ey=_.uy||"http:"===window.location.protocol?_.wy:_.zy;_.ty=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{Ge:"S"==a.charAt(0),domain:d,Rh:c}};
var Fy,Gy,Jy,Ky;Fy=_.ke();Gy=_.ke();_.Hy=_.ke();_.Iy=_.ke();Jy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Ky=function(a){this.GP=a;this.yE=null};
Ky.prototype.write=function(a){var b=_.ke(),c=_.ke(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.le(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=0;for(e=Jy.length;d<e;++d)delete c[Jy[d]];a=String(a.authuser||0);d=_.ke();d[a]=c;c=_.sf(d);this.GP.write(c);this.yE=b};Ky.prototype.read=function(){return this.yE};Ky.prototype.clear=function(){this.GP.clear();this.yE=_.ke()};_.Ly=function(a){return a?{domain:a.domain,path:"/",secure:a.Ge}:null};
Dy.iterate(function(a){var b=_.vy(a);b&&b.ui&&(Fy[a]=new Ky(new Dy(a)))});_.Ey.iterate(function(a){Fy[a]&&(Gy[a]=new _.Ey(a,_.Ly(_.vy(a))))});

_.Fh=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(t){for(var p=h,q=0;64>q;q+=4)p[q/4]=t[q]<<24|t[q+1]<<16|t[q+2]<<8|t[q+3];for(q=16;80>q;q++)t=p[q-3]^p[q-8]^p[q-14]^p[q-16],p[q]=(t<<1|t>>>31)&4294967295;t=e[0];var v=e[1],r=e[2],x=e[3],z=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var B=x^v&(r^x);var E=1518500249}else B=v^r^x,E=1859775393;else 60>q?(B=v&r|x&(v|r),E=2400959708):(B=v^r^x,E=3395469782);B=((t<<5|t>>>27)&4294967295)+
B+z+E+p[q]&4294967295;z=x;x=r;r=(v<<30|v>>>2)&4294967295;v=t;t=B}e[0]=e[0]+t&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+z&4294967295}function c(t,p){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var q=[],v=0,r=t.length;v<r;++v)q.push(t.charCodeAt(v));t=q}p||(p=t.length);q=0;if(0==m)for(;q+64<p;)b(t.slice(q,q+64)),q+=64,n+=64;for(;q<p;)if(f[m++]=t[q++],n++,64==m)for(m=0,b(f);q+64<p;)b(t.slice(q,q+64)),q+=64,n+=64}function d(){var t=[],
p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=p&255,p>>>=8;b(f);for(q=p=0;5>q;q++)for(var v=24;0<=v;v-=8)t[p++]=e[q]>>v&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Qh:function(){for(var t=d(),p="",q=0;q<t.length;q++)p+="0123456789ABCDEF".charAt(Math.floor(t[q]/16))+"0123456789ABCDEF".charAt(t[q]%16);return p}}};
var Hh=function(a,b,c){var d=String(_.u.location.href);return d&&a&&b?[b,Gh(_.jg(d),a,c||null)].join(" "):null},Gh=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ob(d,function(k){e.push(k)}),Ih(e.join(" "));var f=[],h=[];_.Ob(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=0==f.length?[c,b,a]:[f.join(":"),c,b,a];_.Ob(d,function(k){e.push(k)});a=Ih(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},Ih=function(a){var b=
_.Fh();b.update(a);return b.Qh().toLowerCase()};
var Lh;_.Jh=function(a){return!!_.Bh.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Kh=function(a){a=void 0===a?!1:a;var b=_.u.__SAPISID||_.u.__APISID||_.u.__3PSAPISID||_.u.__OVERRIDE_SID;_.Jh(a)&&(b=b||_.u.__1PSAPISID);if(b)return!0;var c=new _.Ch(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");_.Jh(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Lh=function(a,b,c,d){(a=_.u[a])||(a=(new _.Ch(document)).get(b));return a?Hh(a,c,d):null};
_.Mh=function(a,b){b=void 0===b?!1:b;var c=_.jg(String(_.u.location.href)),d=[];if(_.Kh(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.u.__SAPISID:_.u.__APISID;e||(e=new _.Ch(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Hh(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.Jh(b)&&((b=Lh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Lh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.Nh=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Jh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.Oh={kN:_.Nh,O_:_.Kh,AM:function(){var a=null;_.Kh()&&(a=window.__PVT,null==a&&(a=(new _.Ch(document)).get("BEAT")));return a},bM:_.Mh};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Iq=function(){return!_.Hq()&&(_.ob("iPod")||_.ob("iPhone")||_.ob("Android")||_.ob("IEMobile"))};_.Hq=function(){return _.ob("iPad")||_.ob("Android")&&!_.ob("Mobile")||_.ob("Silk")};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var er,fr,gr,ir,tr,hr,xr,yr,zr,Br,Gr;er=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.fb.call(this,c+a[d])};fr=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
gr=function(a){return a.replace(_.Jc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Cc(d)||_.Dc).Of();return c+f+b+f+e})};
ir=function(a){if(a instanceof _.wc)return'url("'+_.yc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Xb)a=_.Yb(a);else{a=String(a);var b=a.replace(_.Kc,"$1").replace(_.Kc,"$1").replace(_.Jc,"url");if(_.Ic.test(b)){if(b=!hr.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&fr(a)}a=b?gr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new er("Value does not allow [{;}], got: %s.",[a]);return a};
_.jr=function(a){if(a instanceof _.Xc)return a.RP;throw Error("p");};_.kr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.lr=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.lr.prototype;_.g.clone=function(){return new _.lr(this.x,this.y)};_.g.equals=function(a){return a instanceof _.lr&&_.kr(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 _.lr?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.mr=function(a,b){this.width=a;this.height=b};_.g=_.mr.prototype;_.g.clone=function(){return new _.mr(this.width,this.height)};_.g.area=function(){return this.width*this.height};
_.g.aspectRatio=function(){return this.width/this.height};_.g.isEmpty=function(){return!this.area()};_.g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};
_.nr=function(a){return"CSS1Compat"==a.compatMode};_.or=function(a){a=a.document;a=_.nr(a)?a.documentElement:a.body;return new _.mr(a.clientWidth,a.clientHeight)};_.pr=function(a){return _.or(a||window)};_.qr=function(a){return a.scrollingElement?a.scrollingElement:!_.hd&&_.nr(a)?a.documentElement:a.body||a.documentElement};
_.rr=function(a){var b=_.qr(a);a=a.parentWindow||a.defaultView;return _.dd&&_.yd("10")&&a.pageYOffset!=b.scrollTop?new _.lr(b.scrollLeft,b.scrollTop):new _.lr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.sr=function(a,b,c,d){return _.Pd(a.ob,b,c,d)};_.Za(er,_.fb);er.prototype.name="AssertionError";tr={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};
_.ur=function(a){if(a instanceof _.Gc&&a.constructor===_.Gc)return a.sF;_.Db(a);return"type_error:SafeStyle"};hr=/\/\*/;_.vr=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("l`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(ir).join(" "):ir(d),b+=c+":"+d+";")}return b?new _.Gc(b,_.Fc):_.Hc};_.wr=function(a){if(a instanceof _.Nc&&a.constructor===_.Nc)return a.rF;_.Db(a);return"type_error:SafeStyleSheet"};xr=/^[a-zA-Z0-9-]+$/;
yr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};zr=function(a){var b=_.Tc(_.Uc),c=b.uk(),d=[],e=function(f){Array.isArray(f)?f.forEach(e):(f=_.Tc(f),d.push(_.vb(f).toString()),f=f.uk(),0==c?c=f:0!=f&&c!=f&&(c=null))};a.forEach(e);return _.Sc(d.join(_.vb(b).toString()),c)};_.Ar=function(a){return zr(Array.prototype.slice.call(arguments))};Br={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.Cr=function(a,b,c){var d=String(a);if(!xr.test(d))throw Error("p");if(d.toUpperCase()in yr)throw Error("p");a=String(a);d=c;c=null;var e="<"+a,f="";if(b)for(l in b)if(Object.prototype.hasOwnProperty.call(b,l)){if(!xr.test(l))throw Error("p");var h=b[l];if(null!=h){var k=l;if(h instanceof _.Xb)h=_.Yb(h);else if("style"==k.toLowerCase()){if(!_.Cb(h))throw Error("p");h instanceof _.Gc||(h=_.vr(h));h=_.ur(h)}else{if(/^on/i.test(k))throw Error("p");if(k.toLowerCase()in Br)if(h instanceof _.ac)h=_.cc(h);
else if(h instanceof _.wc)h=_.yc(h);else if("string"===typeof h)h=(_.Cc(h)||_.Dc).Of();else throw Error("p");}h.ji&&(h=h.Of());k=k+'="'+_.sc(String(h))+'"';f+=" "+k}}var l=e+f;null==d?d=[]:Array.isArray(d)||(d=[d]);!0===tr[a.toLowerCase()]?l+=">":(c=_.Ar(d),l+=">"+_.vb(c).toString()+"</"+a+">",c=c.uk());(b=b&&b.dir)&&(c=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.Sc(l,c)};_.Dr=function(a){return Number(_.Bd)>=a};_.Er=function(a){return _.Jd('style[nonce],link[rel="stylesheet"][nonce]',a)};
_.Fr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Gr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Hr=function(a){return a?a.parentWindow||a.defaultView:window};_.Ir=function(a,b,c){return _.Vd(document,arguments)};
_.Jr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.Jr.prototype;_.g.Rb=function(){return this.right-this.left};_.g.Dc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Jr(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Jr?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){_.Cb(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 _.lr?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var Mr,Sr,Qr,Vr,gs,hs;_.Lr=function(a,b,c){if("string"===typeof b)(b=_.Kr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Kr(c,d);f&&(c.style[f]=e)}};Mr={};_.Kr=function(a,b){var c=Mr[b];if(!c){var d=_.Fr(b);c=d;void 0===a.style[d]&&(d=(_.hd?"Webkit":_.gd?"Moz":_.dd?"ms":null)+Gr(d),void 0!==a.style[d]&&(c=d));Mr[b]=c}return c};
_.Nr=function(a,b){var c=_.Nd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Or=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Pr=function(a,b){return _.Nr(a,b)||_.Or(a,b)||a.style&&a.style[b]};_.Rr=function(a,b,c){if(b instanceof _.lr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Qr(d,!1);a.style.top=Qr(b,!1)};
Sr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Wr=function(a,b){b=b||_.qr(document);var c=b||_.qr(document);var d=_.Tr(a),e=_.Tr(c),f=_.Ur(c);if(c==_.qr(document)){var h=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.dd&&!_.Dr(10)&&(h+=f.left,d+=f.top)}else h=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Vr(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(h,Math.max(h-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.lr(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Tr=function(a){var b=_.Nd(a),c=new _.lr(0,0);var d=b?_.Nd(b):document;d=!_.dd||_.Dr(9)||_.nr(_.Od(d).ob)?d.documentElement:d.body;if(a==d)return c;a=Sr(a);b=_.rr(_.Od(b).ob);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Yr=function(a,b){var c=new _.lr(0,0),d=_.Hr(_.Nd(a));if(!_.ad(d,"parent"))return c;do{var e=d==b?_.Tr(a):_.Xr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Xr=function(a){a=Sr(a);return new _.lr(a.left,a.top)};
_.Zr=function(a,b,c){if(b instanceof _.mr)c=b.height,b=b.width;else if(void 0==c)throw Error("P");a.style.width=Qr(b,!0);a.style.height=Qr(c,!0)};Qr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.$r=function(a){var b=Vr;if("none"!=_.Pr(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};
Vr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.hd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Sr(a),new _.mr(a.right-a.left,a.bottom-a.top)):new _.mr(b,c)};_.as=function(a,b){a.style.display=b?"":"none"};
_.cs=function(a){var b=_.Od(void 0),c=b.$a();if(_.dd&&c.createStyleSheet)b=c.createStyleSheet(),_.bs(b,a);else{c=_.sr(b,"HEAD")[0];if(!c){var d=_.sr(b,"BODY")[0];c=b.ma("HEAD");d.parentNode.insertBefore(c,d)}d=b.ma("STYLE");var e=_.Er();e&&d.setAttribute("nonce",e);_.bs(d,a);b.appendChild(c,d)}};_.bs=function(a,b){b=_.wr(b);_.dd&&void 0!==a.cssText?a.cssText=b:_.u.trustedTypes?_.ee(a,b):a.innerHTML=b};_.ds=function(a){return"rtl"==_.Pr(a,"direction")};
_.es=_.gd?"MozUserSelect":_.hd||_.ed?"WebkitUserSelect":null;_.fs=function(a,b){if(/^\d+px?$/.test(b))return parseInt(b,10);var c=a.style.left,d=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;a.style.left=b;b=a.style.pixelLeft;a.style.left=c;a.runtimeStyle.left=d;return+b};gs={thin:2,medium:4,thick:6};hs=function(a,b){if("none"==_.Or(a,b+"Style"))return 0;b=_.Or(a,b+"Width");return b in gs?gs[b]:_.fs(a,b)};
_.Ur=function(a){if(_.dd&&!_.Dr(9)){var b=hs(a,"borderLeft"),c=hs(a,"borderRight"),d=hs(a,"borderTop");a=hs(a,"borderBottom");return new _.Jr(d,c,a,b)}b=_.Nr(a,"borderLeftWidth");c=_.Nr(a,"borderRightWidth");d=_.Nr(a,"borderTopWidth");a=_.Nr(a,"borderBottomWidth");return new _.Jr(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Jx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.O)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.O)(a.handleEvent,a);else throw Error("Ba");return 2147483647<Number(b)?-1:_.u.setTimeout(a,b||0)};_.Kx=function(a){_.u.clearTimeout(a)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.My=function(a){_.Ai.call(this);this.vi=1;this.Ey=[];this.Ly=0;this.zf=[];this.Mi={};this.mV=!!a};_.Za(_.My,_.Ai);_.g=_.My.prototype;_.g.subscribe=function(a,b,c){var d=this.Mi[a];d||(d=this.Mi[a]=[]);var e=this.vi;this.zf[e]=a;this.zf[e+1]=b;this.zf[e+2]=c;this.vi=e+3;d.push(e);return e};_.g.Tt=_.ca(19);_.g.unsubscribe=function(a,b,c){if(a=this.Mi[a]){var d=this.zf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Qj(a)}return!1};
_.g.Qj=function(a){var b=this.zf[a];if(b){var c=this.Mi[b];0!=this.Ly?(this.Ey.push(a),this.zf[a+1]=function(){}):(c&&_.si(c,a),delete this.zf[a],delete this.zf[a+1],delete this.zf[a+2])}return!!b};
_.g.hn=function(a,b){var c=this.Mi[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.mV)for(e=0;e<c.length;e++){var h=c[e];Ny(this.zf[h+1],this.zf[h+2],d)}else{this.Ly++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.zf[h+1].apply(this.zf[h+2],d)}finally{if(this.Ly--,0<this.Ey.length&&0==this.Ly)for(;c=this.Ey.pop();)this.Qj(c)}}return 0!=e}return!1};var Ny=function(a,b,c){_.Cj(function(){a.apply(b,c)})};
_.My.prototype.clear=function(a){if(a){var b=this.Mi[a];b&&(b.forEach(this.Qj,this),delete this.Mi[a])}else this.zf.length=0,this.Mi={}};_.My.prototype.Gb=function(a){if(a){var b=this.Mi[a];return b?b.length:0}a=0;for(b in this.Mi)a+=this.Gb(b);return a};_.My.prototype.na=function(){_.My.H.na.call(this);this.clear();this.Ey.length=0};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Oy=function(a){this.W4=a};_.Oy.prototype.toString=function(){return this.W4};
_.Py=function(a){_.Ai.call(this);this.Rd=new _.My(a);_.Ci(this,this.Rd)};_.Za(_.Py,_.Ai);_.g=_.Py.prototype;_.g.subscribe=function(a,b,c){return this.Rd.subscribe(a.toString(),b,c)};_.g.Tt=_.ca(18);_.g.unsubscribe=function(a,b,c){return this.Rd.unsubscribe(a.toString(),b,c)};_.g.Qj=function(a){return this.Rd.Qj(a)};_.g.hn=function(a,b){return this.Rd.hn(a.toString(),b)};_.g.clear=function(a){this.Rd.clear(void 0!==a?a.toString():void 0)};
_.g.Gb=function(a){return this.Rd.Gb(void 0!==a?a.toString():void 0)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Qy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.Ky+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Lr(a,"transition",b.join(","))};
_.Ry=_.Dd(function(){if(_.dd)return _.yd("10.0");var a=_.Wd("DIV"),b=_.hd?"-webkit":_.gd?"-moz":_.dd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Cr("div",{style:c});_.Fd(a,b);a=a.firstChild;b=a.style[_.Fr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Kr(a,"transition")]||"")});

_.Ty=function(){_.Sy="oauth2relay"+String(2147483647*(0,_.qg)()|0)};_.Uy=new _.Py;_.Vy=new _.Oy("oauth");_.Ty();_.Ee("oauth-flow/client_id");var Wy=String(_.Ee("oauth-flow/redirectUri"));if(Wy)Wy.replace(/[#][\s\S]*/,"");else{var Xy=_.hg.getOrigin(window.location.href);_.Ee("oauth-flow/callbackUrl");encodeURIComponent(Xy)}_.hg.getOrigin(window.location.href);

var Zy,$y,az,bz,cz,dz,ez,fz,gz,hz,iz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Qz,Pz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,aA;_.Yy=function(a,b){if(_.bh&&!b)return _.u.atob(a);var c="";_.eh(a,function(d){c+=String.fromCharCode(d)});return c};Zy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};$y=function(a){return _.wh("enableMultilogin")&&a("cookie_policy")&&!Zy(a)?!0:!1};
cz=function(){var a,b=null;_.Ey.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.ty(c.substring(11)),!a||c.Ge&&!a.Ge||c.Ge==a.Ge&&c.Rh>a.Rh)&&(a=c,b=d)});return{xV:a,authuser:b}};dz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];ez=function(a){a=a.toUpperCase();for(var b=0,c=dz.length;b<c;++b){var d=a.split(dz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.og,b.mu(a),a=b.Qh().toUpperCase());return a};
fz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};gz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],x3:fz(a[1]),iea:fz(a[2]),dda:fz(a[3])}};hz=function(a){var b=cz(),c=b.xV;b=b.authuser;var d=a&&ez(a);if(null!==b){var e;_.Ey.iterate(function(h,k){(h=_.vy(h))&&h.ui&&(d&&h.UV!=d||h.Ge==c.Ge&&h.Rh==c.Rh&&(e=k))});if(e){var f=gz(e);a=f&&f.x3[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,afa:a,clientId:f}}}return null};
iz=function(a,b){a=_.Qh(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};_.jz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Xv(c,d):_.Yv(d)};
kz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.jg(a));var b=window.location.hostname,c=b,d=_.uy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.wf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.wf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ge:d,Rh:b}};
lz=function(a){var b=kz(a);if(!b)return new _.zy("G_USERSTATE_");a=["G_USERSTATE_",_.uy&&b.Ge?"S":"H",b.Rh].join("");var c=_.Iy[a];c||(c={wE:63072E3},_.me(_.Ly(b),c),c=new _.wy(a,c),_.Iy[a]=c,b=c.read(),"undefined"!==typeof b&&null!==b&&(document.cookie=a+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/",c.write(b)));return c};mz=function(a){var b=lz(a).read();a=_.ke();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
nz=function(a,b,c){var d=mz(b),e=d[a];d[a]="0";var f=[];_.Ul(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=lz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};oz=function(a){a=kz(a.g_user_cookie_policy);if(!a||a.Ge&&!_.uy)a=null;else{var b=["G_AUTHUSER_",_.uy&&a.Ge?"S":"H",a.Rh].join(""),c=_.Hy[b];c||(c=new _.Ey(b,_.Ly(a)),_.Hy[b]=c);a=c}_.Fe("googleapis.config/sessionIndex",null);a.clear()};pz=function(a){return Zy(function(b){return a[b]})};qz=0;rz=!1;sz=[];tz={};uz={};vz=null;
wz=function(a){var b=_.Sy;return function(c){if(this.f==b&&this.t==_.Bf.im(this.f)&&this.origin==_.Bf.Am(this.f))return a.apply(this,arguments)}};xz=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};yz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ga");};
zz=function(a){var b=_.He.og,c=b(a).jsh;if(null!=c)return yz(c),a;if(b=String(b().jsh||_.ve.h||""))yz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Az=function(){return!!_.Ee("oauth-flow/usegapi")};Bz=function(a,b){Az()?vz.unregister(a):_.Bf.unregister(a+":"+b)};Cz=function(a,b,c){Az()?vz.register(a,c,_.lm):_.Bf.register(a+":"+b,wz(c))};Dz=function(){az.parentNode.removeChild(az)};
Ez=function(a){var b=az;_.Qy(b,[{Ky:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Qy(b,[{Ky:"transform",duration:1,timing:"ease",delay:0}]);_.Jx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Fz=function(){var a=bz+88;Ez(a);bz=a};Gz=function(){var a=bz-88;Ez(a);bz=a};
Hz=function(a){var b=a?Fz:Gz,c=a?Gz:Fz;a=a?"-":"";bz=parseInt(a+88,10);az.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";az.style.transform="translate3d(0px,"+a+88+"px,0px)";az.style.display="";az.style.visibility="visible";b();_.Jx(c,4E3);_.Jx(Dz,5E3)};
Iz=function(a){var b=_.Ee("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");az=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Lr(c,"visibility","hidden");_.Lr(c,b,"-40px");_.Lr(c,"height","128px");var d=c;if(!_.Iq()&&!_.Hq()){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
d=e}e="top"==b?"-":"";bz=parseInt(e+88,10);az.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";az.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){}_.im.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Hz(!0):Hz(!1)}})};
Jz=function(a){var b=_.In(),c=b&&b.scope;b=a&&a.scope;b="string"===typeof b?b.split(" "):b||[];if(c){c=c.split(" ");for(var d=0;d<c.length;++d){var e=c[d];-1==_.Sl.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Kz=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=_.Ee("oauth-flow/errorMaxAge")||86400);b.expires_in=String(d);b.expires_at||(b.expires_at=String(Math.floor((new Date).getTime()/1E3)+d));
b._aa||b.error||null!=hz(c)||!pz(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};Lz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.rf(_.Yy(a,!0));if(!1===a)throw Error("Ha");return a};Mz=function(a){return(a=Lz(a))?a.sub:null};
Nz=function(a){a&&sz.push(a);a=_.Sy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(qz&&6E4>c-qz)return;var d=_.Bf.im(a);d&&(Bz("oauth2relayReady",d),Bz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Ty();a=_.Sy}qz=c;var e=String(2147483647*(0,_.qg)()|0);b=_.Ee("oauth-flow/proxyUrl")||_.Ee("oauth-flow/relayUrl");Az()?vz=_.im.openChild({where:_.He.dM(),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(_.hg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.He.dM(),d=_.He.JK({name:a,id:a}),d.src=zz(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,xz(d),c.appendChild(d),_.Bf.It(a));Cz("oauth2relayReady",e,function(){Bz("oauth2relayReady",e);var f=sz;if(null!==f){sz=null;for(var h=0,k=f.length;h<
k;++h)f[h]()}});Cz("oauth2callback",e,function(f){var h=_.He.og;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(uz,f)?uz[f]:null;h.state=f;if(null!=h.state){f=tz[k];delete tz[k];k=f&&f.key||"token";var l=h=Kz(f&&f.params,h),m=Mz(l);if(m){var n=mz(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.Ee("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",rz||(rz=!0,Iz(l)));_.jz(k,h);h=iz(k);if(f){k=
f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(t){}f.callback&&(f.callback(h),f.callback=null)}}})};_.Oz=function(a){null!==sz?Nz(a):a&&a()};Qz=function(a,b){var c=Pz,d=Mz(a);d&&(oz(a),nz(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=Kz(null,e);c(e)}}))};
Pz=function(a){a||(a=iz(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.ve.drw=null);_.jz(a);if(b=a.authuser)_.Ee("googleapis.config/sessionIndex"),_.Fe("googleapis.config/sessionIndex",b);_.Uy.hn(_.Vy,a);return a};Rz=["client_id","cookie_policy","response_type"];Sz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
Tz=function(a){var b=_.lj(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);_.Xv(b);return b};
Uz=function(a){if(void 0===a.include_granted_scopes){var b=_.Ee("include_granted_scopes");a.include_granted_scopes=!!b}};Vz=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
Wz=function(a){var b=a||{},c={};_.Ob(Sz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Ee("googleapis/overrideClientId");null!=a&&(c.client_id=a);Uz(c);"string"===typeof b.scope?c.scope=b.scope:Array.isArray(b.scope)&&(c.scope=b.scope.join(" "));null!=b["openid.realm"]&&(c.openid_realm=b["openid.realm"]);null!=b.cookie_policy?c.cookie_policy=b.cookie_policy:null!=b.cookiepolicy&&(c.cookie_policy=b.cookiepolicy);null==c.login_hint&&null!=b.user_id&&(c.login_hint=b.user_id);try{_.Nw(c.cookie_policy)}catch(d){c.cookie_policy&&
Vz("The cookie_policy configuration: '"+c.cookie_policy+"' is illegal, and thus ignored."),delete c.cookie_policy}null!=b.hd&&(c.hosted_domain=b.hd);null==c.prompt&&(1==b.immediate||"true"==b.immediate?c.prompt="none":"force"==b.approval_prompt&&(c.prompt="consent"));"none"==c.prompt&&(c.session_selection="first_valid");"none"==c.prompt&&"offline"==c.access_type&&delete c.access_type;"undefined"===typeof c.authuser&&(a=_.Ah(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Ee("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
Xz=function(a,b){var c=Wz(a),d=new _.Fj(function(e,f){_.ux(c,function(h){var k=h||{};_.Ob(Rz,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=Tz(k),null!=h.authuser&&_.Fe("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};Yz=_.Oh.bM;Zz=null;
_.bA=function(a,b){if("force"!==a.approvalprompt){a=_.$z(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)Zz?(a.client_id!==Zz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(Zz=a,b=!1);b||aA(a)}};
_.$z=function(a){var b=a.redirecturi||"postmessage",c=(0,_.jc)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.jc)(a.requestvisibleactions.replace(/[\s\xa0]+/g,
" ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.Ee("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ee("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};aA=function(a){_.yo("waaf0","signin","0");Xz(a,function(b){_.yo("waaf1","signin","0");Pz(b)})};
_.cA=function(a){a=_.$z(a);_.Fe("oauth-flow/authWindowWidth",445);_.Fe("oauth-flow/authWindowHeight",615);aA(a)};_.dA=function(a){_.Uy.unsubscribe(_.Vy,a);_.Uy.subscribe(_.Vy,a)};
var kA,nA;_.fA=function(a){return a.cookiepolicy?!0:(_.eA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.eA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.jA=function(a,b){var c=_.In();_.me(a,c);c=Jz(c);if(_.fA(c)){var d=_.gA();_.hA(c);b?_.ue(b,"click",function(){_.iA(c,d)}):_.iA(c,d)}};
_.gA=function(){var a=new kA;_.dA(function(b){a.xE&&b&&(b.access_token&&_.Fe("isPlusUser",!0),b["g-oauth-window"]&&(a.xE=!1,_.wf.warn("OTA app install is no longer supported.")))});return a};kA=function(){this.xE=!1};_.hA=function(a){a=_.lA(a);_.mA(a.callback);_.Oz(function(){_.bA(a)})};_.lA=function(a){nA(a);a.redirecturi&&delete a.redirecturi;$y(function(b){return a[b]})||(a.authuser=0);return a};nA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.mA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.eA('Callback function named "'+a+'" not found');return}a&&_.dA(a)};_.iA=function(a,b){b.xE=!0;a=_.lA(a);_.cA(a)};
_.D("gapi.auth.authorize",Xz);_.D("gapi.auth.checkSessionState",function(a,b){var c=_.ke();c.client_id=a.client_id;c.session_state=a.session_state;_.Oz(function(){Az()?vz.send("check_session_state",c,function(d){b.call(null,d[0])},_.lm):_.Bf.call(_.Sy,"check_session_state",wz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.D("gapi.auth.getAuthHeaderValueForFirstParty",Yz);_.D("gapi.auth.getToken",iz);
_.D("gapi.auth.getVersionInfo",function(a,b){_.Oz(function(){var c=_.Mh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Az()?vz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.lm):_.Bf.call(_.Sy,"get_versioninfo",wz(function(f){a(f)}),d,b):a()})});_.D("gapi.auth.init",_.Oz);_.D("gapi.auth.setToken",_.jz);_.D("gapi.auth.signIn",function(a){_.jA(a)});_.D("gapi.auth.signOut",function(){var a=iz();a&&Qz(a,a.cookie_policy)});
_.D("gapi.auth.unsafeUnpackIdToken",Lz);_.D("gapi.auth._pimf",_.bA);_.D("gapi.auth._oart",Iz);_.D("gapi.auth._guss",function(a){return lz(a).read()});

var oA=_.In();oA.clientid&&oA.scope&&oA.callback&&!_.Ee("disableRealtimeCallback")&&_.hA(oA);

});
// Google Inc.
