/* JS */ gapi.loaded_1(function(_){var window=this;
_.Lh={};_.Mh=function(a){return _.Lh[a||"token"]||null};

_.Ry=function(a){if(0!==a.indexOf("GCSC"))return null;var b={vA:!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=_.Py(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.we;return!d&&("U"!==c||e.we)||d&&!_.Qy?b:{vA:!0,we:d,tQ:a.substr(1),domain:e.domain,jh:e.jh}};
_.Sy=function(a,b){this.sd=a;a=b||{};this.iW=Number(a.maxAge)||0;this.vc=a.domain;this.mk=a.path;this.EY=!!a.secure};_.Sy.prototype.read=function(){for(var a=this.sd+"=",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)}};
_.Sy.prototype.write=function(a,b){if(!Ty.test(this.sd))throw"Invalid cookie name";if(!Uy.test(a))throw"Invalid cookie value";a=this.sd+"="+a;this.vc&&(a+=";domain="+this.vc);this.mk&&(a+=";path="+this.mk);b="number"===typeof b?b:this.iW;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.EY&&(a+=";secure");document.cookie=a;return!0};_.Sy.prototype.clear=function(){this.write("",0)};var Uy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Ty=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Sy.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("="))}};
_.Vy=function(a){this.Fh=a};_.Vy.prototype.read=function(){if(Wy.hasOwnProperty(this.Fh))return Wy[this.Fh]};_.Vy.prototype.write=function(a){Wy[this.Fh]=a;return!0};_.Vy.prototype.clear=function(){delete Wy[this.Fh]};var Wy={};_.Vy.iterate=function(a){for(var b in Wy)Wy.hasOwnProperty(b)&&a(b,Wy[b])};
var Xy=function(){this.de=null;this.key=function(){return null};this.getItem=function(){return this.de};this.setItem=function(a,b){this.de=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.de=null;this.length=0};this.length=0},Yy=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}},Zy=function(a,b){this.sd=a;this.If=
Yy(b)?b||window.sessionStorage:new Xy};Zy.prototype.read=function(){return this.If.getItem(this.sd)};Zy.prototype.write=function(a){try{this.If.setItem(this.sd,a)}catch(b){return!1}return!0};Zy.prototype.clear=function(){this.If.removeItem(this.sd)};Zy.iterate=function(a){if(Yy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
for(var mz=0;64>mz;++mz);
_.Qy="https:"===window.location.protocol;_.xz=_.Qy||"http:"===window.location.protocol?_.Sy:_.Vy;_.Py=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{we:"S"==a.charAt(0),domain:d,jh:c}};
var yz,zz,Cz,Dz;yz=_.me();zz=_.me();_.Az=_.me();_.Bz=_.me();Cz="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Dz=function(a){this.kK=a;this.RA=null};
Dz.prototype.write=function(a){var b=_.me(),c=_.me(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.ne(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=0;for(e=Cz.length;d<e;++d)delete c[Cz[d]];a=String(a.authuser||0);d=_.me();d[a]=c;c=_.yf(d);this.kK.write(c);this.RA=b};Dz.prototype.read=function(){return this.RA};Dz.prototype.clear=function(){this.kK.clear();this.RA=_.me()};_.Ez=function(a){return a?{domain:a.domain,path:"/",secure:a.we}:null};
Zy.iterate(function(a){var b=_.Ry(a);b&&b.vA&&(yz[a]=new Dz(new Zy(a)))});_.xz.iterate(function(a){yz[a]&&(zz[a]=new _.xz(a,_.Ez(_.Ry(a))))});

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

_.og=_.og={};_.og.getOrigin=function(a){return _.qg(a)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Wg=function(){return _.yb("Safari")&&!(_.Fb()||_.yb("Coast")||_.Cb()||_.yb("Edge")||_.yb("Edg/")||_.yb("OPR")||_.Eb()||_.yb("Silk")||_.yb("Android"))};_.Xg=function(){return _.yb("Android")&&!(_.Fb()||_.Eb()||_.Cb()||_.yb("Silk"))};_.Yg=_.Eb();_.Zg=_.kc()||_.yb("iPod");_.$g=_.yb("iPad");_.ah=_.Xg();_.bh=_.Fb();_.ch=_.Wg()&&!_.lc();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dh=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 eh;eh={};_.fh=null;_.gh=_.uc||_.vc&&!_.ch||_.qc||!_.ch&&!_.rc&&"function"==typeof _.C.atob;_.ih=function(a,b){void 0===b&&(b=0);_.hh();b=eh[b];for(var c=[],d=0;d<a.length;d+=3){var e=a[d],f=d+1<a.length,g=f?a[d+1]:0,k=d+2<a.length,l=k?a[d+2]:0,m=e>>2;e=(e&3)<<4|g>>4;g=(g&15)<<2|l>>6;l&=63;k||(l=64,f||(g=64));c.push(b[m],b[e],b[g]||"",b[l]||"")}return c.join("")};
_.hh=function(){if(!_.fh){_.fh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));eh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===_.fh[f]&&(_.fh[f]=e)}}}};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Ch;_.Bh=function(a){this.nb=a||{cookie:""}};_.h=_.Bh.prototype;_.h.isEnabled=function(){return navigator.cookieEnabled};
_.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.T9;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var k=c.pJ}if(/[;=\s]/.test(a))throw Error("y`"+a);if(/[;\r\n]/.test(b))throw Error("z`"+b);void 0===k&&(k=-1);this.nb.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(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:"")};
_.h.get=function(a,b){for(var c=a+"=",d=(this.nb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.qb)(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};_.h.remove=function(a,b,c){var d=this.Nd(a);this.set(a,"",{pJ:0,path:b,domain:c});return d};_.h.qe=function(){return Ch(this).keys};_.h.Sc=function(){return Ch(this).values};_.h.isEmpty=function(){return!this.nb.cookie};_.h.Fb=function(){return this.nb.cookie?(this.nb.cookie||"").split(";").length:0};
_.h.Nd=function(a){return void 0!==this.get(a)};_.h.Cj=function(a){for(var b=Ch(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.h.clear=function(){for(var a=Ch(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Ch=function(a){a=(a.nb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.qb)(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}};
_.Dh=new _.Bh("undefined"==typeof document?null:document);

/*

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

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var qi;_.ni=function(a,b){b=(0,_.Wa)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};_.oi=function(a,b){a=a.split(".");b=b||_.C;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};_.pi=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};qi=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.ri=function(a){for(var b in a)return!1;return!0};
_.si=function(){this.Nb=this.Nb;this.Jl=this.Jl};_.si.prototype.Nb=!1;_.si.prototype.tn=function(){return this.Nb};_.si.prototype.Da=function(){this.Nb||(this.Nb=!0,this.va())};_.vi=function(a,b){_.ti(a,_.ii(_.ui,b))};_.ti=function(a,b){a.Nb?b():(a.Jl||(a.Jl=[]),a.Jl.push(b))};_.si.prototype.va=function(){if(this.Jl)for(;this.Jl.length;)this.Jl.shift()()};_.ui=function(a){a&&"function"==typeof a.Da&&a.Da()};
_.wi=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Rl=!1};_.wi.prototype.stopPropagation=function(){this.Rl=!0};_.wi.prototype.preventDefault=function(){this.defaultPrevented=!0};
var yi,zi;_.xi=!_.rc||_.Pc(9);yi=!_.rc||_.Pc(9);zi=_.rc&&!_.Nc("9");!_.vc||_.Nc("528");_.uc&&_.Nc("1.9b")||_.rc&&_.Nc("8")||_.qc&&_.Nc("9.5")||_.vc&&_.Nc("528");_.uc&&!_.Nc("8")||_.rc&&_.Nc("9");var Ai=function(){if(!_.C.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.C.addEventListener("test",_.Za,b),_.C.removeEventListener("test",_.Za,b)}catch(c){}return a}();
_.Bi=function(a,b){_.wi.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.xB=!1;this.pointerId=0;this.pointerType="";this.le=null;a&&this.init(a,b)};_.O(_.Bi,_.wi);var Ci={2:"touch",3:"pen",4:"mouse"};
_.Bi.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.uc&&(_.oc(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=_.vc||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.vc||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.xB=_.xc?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Ci[a.pointerType]||"";this.state=a.state;this.le=a;a.defaultPrevented&&this.preventDefault()};_.Bi.prototype.stopPropagation=function(){_.Bi.T.stopPropagation.call(this);this.le.stopPropagation?this.le.stopPropagation():this.le.cancelBubble=!0};
_.Bi.prototype.preventDefault=function(){_.Bi.T.preventDefault.call(this);var a=this.le;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,zi)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
var Fi;_.Di="closure_listenable_"+(1E6*Math.random()|0);_.Ei=function(a){return!(!a||!a[_.Di])};Fi=0;
var Gi=function(a,b,c,d,e){this.listener=a;this.Ev=null;this.src=b;this.type=c;this.capture=!!d;this.Me=e;this.key=++Fi;this.Jn=this.Ls=!1},Hi=function(a){a.Jn=!0;a.listener=null;a.Ev=null;a.src=null;a.Me=null};
var Ii=function(a){this.src=a;this.od={};this.Pr=0};Ii.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.od[f];a||(a=this.od[f]=[],this.Pr++);var g=Ji(a,b,d,e);-1<g?(b=a[g],c||(b.Ls=!1)):(b=new Gi(b,this.src,f,!!d,e),b.Ls=c,a.push(b));return b};Ii.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.od))return!1;var e=this.od[a];b=Ji(e,b,c,d);return-1<b?(Hi(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.od[a],this.Pr--),!0):!1};
var Ki=function(a,b){var c=b.type;if(!(c in a.od))return!1;var d=_.ni(a.od[c],b);d&&(Hi(b),0==a.od[c].length&&(delete a.od[c],a.Pr--));return d};Ii.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.od)if(!a||c==a){for(var d=this.od[c],e=0;e<d.length;e++)++b,Hi(d[e]);delete this.od[c];this.Pr--}return b};Ii.prototype.Rm=function(a,b,c,d){a=this.od[a.toString()];var e=-1;a&&(e=Ji(a,b,c,d));return-1<e?a[e]:null};
Ii.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return qi(this.od,function(f){for(var g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var Ji=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Jn&&f.listener==b&&f.capture==!!c&&f.Me==d)return e}return-1};
var Li,Mi,Ni,Ri,Ti,Ui,Zi,Yi,Vi,$i;Li="closure_lm_"+(1E6*Math.random()|0);Mi={};Ni=0;_.Pi=function(a,b,c,d,e){if(d&&d.once)return _.Oi(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Pi(a,b[f],c,d,e);return null}c=_.Qi(c);return _.Ei(a)?a.V(b,c,_.Ya(d)?!!d.capture:!!d,e):Ri(a,b,c,!1,d,e)};
Ri=function(a,b,c,d,e,f){if(!b)throw Error("A");var g=_.Ya(e)?!!e.capture:!!e,k=_.Si(a);k||(a[Li]=k=new Ii(a));c=k.add(b,c,d,g,f);if(c.Ev)return c;d=Ti();c.Ev=d;d.src=a;d.listener=c;if(a.addEventListener)Ai||(e=g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Ui(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("B");Ni++;return c};
Ti=function(){var a=Vi,b=yi?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b};_.Oi=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.Oi(a,b[f],c,d,e);return null}c=_.Qi(c);return _.Ei(a)?a.Bn(b,c,_.Ya(d)?!!d.capture:!!d,e):Ri(a,b,c,!0,d,e)};
_.Wi=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Wi(a,b[f],c,d,e);else d=_.Ya(d)?!!d.capture:!!d,c=_.Qi(c),_.Ei(a)?a.Zb(b,c,d,e):a&&(a=_.Si(a))&&(b=a.Rm(b,c,d,e))&&_.Xi(b)};
_.Xi=function(a){if("number"===typeof a||!a||a.Jn)return!1;var b=a.src;if(_.Ei(b))return b.jD(a);var c=a.type,d=a.Ev;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ui(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ni--;(c=_.Si(b))?(Ki(c,a),0==c.Pr&&(c.src=null,b[Li]=null)):Hi(a);return!0};Ui=function(a){return a in Mi?Mi[a]:Mi[a]="on"+a};
Zi=function(a,b,c,d){var e=!0;if(a=_.Si(a))if(b=a.od[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.Jn&&(f=Yi(f,d),e=e&&!1!==f)}return e};Yi=function(a,b){var c=a.listener,d=a.Me||a.src;a.Ls&&_.Xi(a);return c.call(d,b)};
Vi=function(a,b){if(a.Jn)return!0;if(!yi){var c=b||_.oi("window.event");b=new _.Bi(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.currentTarget;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;!b.Rl&&0<=e;e--){b.currentTarget=c[e];var f=Zi(c[e],a,!0,b);d=d&&f}for(e=0;!b.Rl&&e<c.length;e++)b.currentTarget=c[e],f=Zi(c[e],a,!1,b),d=d&&f}return d}return Yi(a,new _.Bi(b,
this))};_.Si=function(a){a=a[Li];return a instanceof Ii?a:null};$i="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Qi=function(a){if("function"===typeof a)return a;a[$i]||(a[$i]=function(b){return a.handleEvent(b)});return a[$i]};_.mi(function(a){Vi=a(Vi)});
_.aj=function(){_.si.call(this);this.Ai=new Ii(this);this.FP=this;this.sB=null};_.O(_.aj,_.si);_.aj.prototype[_.Di]=!0;_.h=_.aj.prototype;_.h.dl=function(){return this.sB};_.h.$v=_.ka(12);_.h.addEventListener=function(a,b,c,d){_.Pi(this,a,b,c,d)};_.h.removeEventListener=function(a,b,c,d){_.Wi(this,a,b,c,d)};
_.h.dispatchEvent=function(a){var b,c=this.dl();if(c)for(b=[];c;c=c.dl())b.push(c);c=this.FP;var d=a.type||a;if("string"===typeof a)a=new _.wi(a,c);else if(a instanceof _.wi)a.target=a.target||c;else{var e=a;a=new _.wi(d,c);_.Bb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Rl&&0<=f;f--){var g=a.currentTarget=b[f];e=g.rp(d,!0,a)&&e}a.Rl||(g=a.currentTarget=c,e=g.rp(d,!0,a)&&e,a.Rl||(e=g.rp(d,!1,a)&&e));if(b)for(f=0;!a.Rl&&f<b.length;f++)g=a.currentTarget=b[f],e=g.rp(d,!1,a)&&e;return e};
_.h.va=function(){_.aj.T.va.call(this);this.HB();this.sB=null};_.h.V=function(a,b,c,d){return this.Ai.add(String(a),b,!1,c,d)};_.h.Bn=function(a,b,c,d){return this.Ai.add(String(a),b,!0,c,d)};_.h.Zb=function(a,b,c,d){return this.Ai.remove(String(a),b,c,d)};_.h.jD=function(a){return Ki(this.Ai,a)};_.h.HB=function(a){this.Ai&&this.Ai.removeAll(a)};
_.h.rp=function(a,b,c){a=this.Ai.od[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.Jn&&f.capture==b){var g=f.listener,k=f.Me||f.src;f.Ls&&this.jD(f);d=!1!==g.call(k,c)&&d}}return d&&!c.defaultPrevented};_.h.Rm=function(a,b,c,d){return this.Ai.Rm(String(a),b,c,d)};_.h.hasListener=function(a,b){return this.Ai.hasListener(void 0!==a?String(a):void 0,b)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Is=function(a,b,c){if(null!==a&&b in a)throw Error("e`"+b);a[b]=c};_.Js=function(a){_.si.call(this);this.Sd=a;this.Pb={}};_.O(_.Js,_.si);var Ks=[];_.Js.prototype.V=function(a,b,c,d){return this.vq(a,b,c,d)};_.Js.prototype.vq=function(a,b,c,d,e){Array.isArray(b)||(b&&(Ks[0]=b.toString()),b=Ks);for(var f=0;f<b.length;f++){var g=_.Pi(a,b[f],c||this.handleEvent,d||!1,e||this.Sd||this);if(!g)break;this.Pb[g.key]=g}return this};_.Js.prototype.Bn=function(a,b,c,d){return Ls(this,a,b,c,d)};
var Ls=function(a,b,c,d,e,f){if(Array.isArray(c))for(var g=0;g<c.length;g++)Ls(a,b,c[g],d,e,f);else{b=_.Oi(b,c,d||a.handleEvent,e,f||a.Sd||a);if(!b)return a;a.Pb[b.key]=b}return a};_.Js.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=_.Ya(d)?!!d.capture:!!d,e=e||this.Sd||this,c=_.Qi(c),d=!!d,b=_.Ei(a)?a.Rm(b,c,d,e):a?(a=_.Si(a))?a.Rm(b,c,d,e):null:null,b&&(_.Xi(b),delete this.Pb[b.key]);return this};
_.Js.prototype.removeAll=function(){_.zb(this.Pb,function(a,b){this.Pb.hasOwnProperty(b)&&_.Xi(a)},this);this.Pb={}};_.Js.prototype.va=function(){_.Js.T.va.call(this);this.removeAll()};_.Js.prototype.handleEvent=function(){throw Error("H");};

/*

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

var Tu,Uu,Vu,Wu,Yu,Zu,$u,av,cv;oauth2={};_.Su=!1;Tu=function(a){try{_.Su&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Uu=function(a,b){if(!a)return-1;if(a.indexOf)return a.indexOf(b,void 0);for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1};Vu=function(a,b){function c(){}if(!a)throw"Child class cannot be empty.";if(!b)throw"Parent class cannot be empty.";c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};
Wu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.Xu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Yu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};Zu=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw"Add event handler for "+b+" failed.";};$u={token:1,id_token:1};
av=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.bv=window.JSON;cv=function(a){this.xD=a||[];this.Xb={}};cv.prototype.addEventListener=function(a,b){if(!(0<=Uu(this.xD,a)))throw"Unrecognized event type: "+a;if(!Wu(b))throw"The listener for event '"+a+"' is not a function.";this.Xb[a]||(this.Xb[a]=[]);0>Uu(this.Xb[a],b)&&this.Xb[a].push(b)};
cv.prototype.removeEventListener=function(a,b){if(!(0<=Uu(this.xD,a)))throw"Unrecognized event type: "+a;Wu(b)&&this.Xb[a]&&this.Xb[a].length&&(b=Uu(this.Xb[a],b),0<=b&&this.Xb[a].splice(b,1))};cv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Uu(this.xD,b)))throw"Failed to dispatch unrecognized event type: "+b;if(this.Xb[b]&&this.Xb[b].length)for(var c=0,d=this.Xb[b].length;c<d;c++)this.Xb[b][c](a)};
var dv,ev,fv,jv,kv,Bv,Cv,Ev,Fv,Hv,Qv;dv={};ev={};fv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.gv=function(a,b){if(a=fv[a])return a[b]};_.hv=function(a,b){if(!a)throw Error("M");if(!b.authServerUrl)throw Error("N");if(!b.idpIFrameUrl)throw Error("O");fv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.iv=void 0;
jv=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")};kv=function(){this.b0=window;this.bt=this.Ok=this.Nq=this.Rg=null};
kv.prototype.open=function(a,b,c,d){lv(this);this.Nq?(this.Ok&&(this.Ok(),this.Ok=null),mv(this)):this.Nq="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Rg=this.b0.open(a,this.Nq,b);try{this.Rg.focus();if(this.Rg.closed||"undefined"==typeof this.Rg.closed)throw Error("Q");_.iv=this.Rg}catch(e){d&&setTimeout(d,0);this.Rg=null;break a}c&&(this.Ok=c,nv(this))}};
var lv=function(a){try{if(null==a.Rg||a.Rg.closed)a.Rg=null,a.Nq=null,mv(a),a.Ok&&(a.Ok(),a.Ok=null)}catch(b){a.Rg=null,a.Nq=null,mv(a)}},nv=function(a){a.bt=window.setInterval(function(){lv(a)},300)},mv=function(a){a.bt&&(window.clearInterval(a.bt),a.bt=null)};ev=ev||{};var ov=function(a,b){this.Qb=a;this.qA=b;this.Wc=null;this.xl=!1};ov.prototype.start=function(){if(!this.xl&&!this.Wc){var a=this;this.Wc=window.setTimeout(function(){a.clear();a.xl||(a.Qb(),a.xl=!0)},ev.yH(this.qA))}};
ov.prototype.clear=function(){this.Wc&&(window.clearTimeout(this.Wc),this.Wc=null)};var pv=function(a,b){var c=ev.Bo;this.RU=ev.vo;this.PM=c;this.Qb=a;this.qA=b;this.Wc=null;this.xl=!1;var d=this;this.QM=function(){document[d.RU]||(d.clear(),d.start())}};pv.prototype.start=function(){if(!this.xl&&!this.Wc){Zu(document,this.PM,this.QM);var a=this;this.Wc=window.setTimeout(function(){a.clear();a.xl||(a.Qb(),a.xl=!0)},ev.yH(this.qA))}};
pv.prototype.clear=function(){var a=this.PM,b=this.QM,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw"Remove event handler for "+a+" failed.";this.Wc&&(window.clearTimeout(this.Wc),this.Wc=null)};ev.vo=null;ev.Bo=null;
ev.nV=function(){var a=document;"undefined"!==typeof a.hidden?(ev.vo="hidden",ev.Bo="visibilitychange"):"undefined"!==typeof a.msHidden?(ev.vo="msHidden",ev.Bo="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(ev.vo="webkitHidden",ev.Bo="webkitvisibilitychange")};ev.nV();ev.GQ=function(a,b){return ev.vo&&ev.Bo?new pv(a,b):new ov(a,b)};ev.yH=function(a){return Math.max(1,a-(new Date).getTime())};
var qv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},rv=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(r){for(var u=g,q=0;64>q;q+=4)u[q/4]=r[q]<<24|r[q+1]<<16|r[q+2]<<8|r[q+3];for(q=16;80>q;q++)r=u[q-3]^u[q-8]^u[q-14]^u[q-16],u[q]=(r<<1|r>>>31)&4294967295;r=e[0];var v=e[1],t=e[2],w=e[3],z=e[4];for(q=0;80>q;q++){if(40>q)if(20>q){var x=w^v&(t^w);var B=1518500249}else x=
v^t^w,B=1859775393;else 60>q?(x=v&t|w&(v|t),B=2400959708):(x=v^t^w,B=3395469782);x=((r<<5|r>>>27)&4294967295)+x+z+B+u[q]&4294967295;z=w;w=t;t=(v<<30|v>>>2)&4294967295;v=r;r=x}e[0]=e[0]+r&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+z&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var q=[],v=0,t=r.length;v<t;++v)q.push(r.charCodeAt(v));r=q}u||(u=r.length);q=0;if(0==m)for(;q+64<u;)b(r.slice(q,q+64)),q+=64,n+=64;for(;q<
u;)if(f[m++]=r[q++],n++,64==m)for(m=0,b(f);q+64<u;)b(r.slice(q,q+64)),q+=64,n+=64}function d(){var r=[],u=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var q=63;56<=q;q--)f[q]=u&255,u>>>=8;b(f);for(q=u=0;5>q;q++)for(var v=24;0<=v;v-=8)r[u++]=e[q]>>v&255;return r}for(var e=[],f=[],g=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Cg:function(){for(var r=d(),u="",q=0;q<r.length;q++)u+="0123456789ABCDEF".charAt(Math.floor(r[q]/16))+"0123456789ABCDEF".charAt(r[q]%16);return u}}},sv=
window.crypto,tv=!1,uv=0,vv=1,wv=0,xv="",yv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;vv=vv*b%wv;if(3==++uv)if(a=window,b=yv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("R`mousemove");},zv=function(a){var b=rv();b.update(a);return b.Cg()};tv=!!sv&&"function"==typeof sv.getRandomValues;
tv||(wv=1E6*(screen.width*screen.width+screen.height),xv=zv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Zu(window,"mousemove",yv));dv=dv||{};dv.KN="ssIFrame_";
_.Av=function(a,b){this.Jb=a;if(!this.Jb)throw Error("S");a=_.gv(a,"idpIFrameUrl");if(!a)throw Error("T");this.pI=a;if(!b)throw Error("U");this.vk=b;a=this.pI;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.aA=a.join("");this.sY=[location.protocol,"//",location.host].join("");this.$z=
this.ln=!1;this.lI=null;this.pv=[];this.Hn=[];this.ki={};this.Al=void 0};_.Av.prototype.show=function(){var a=this.Al;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")};_.Av.prototype.Mc=function(){jv(this.Al)};
_.Av.prototype.Qu=function(a){if(this.ln)a&&a(this);else{if(!this.Al){var b=dv.KN+this.Jb;var c=this.Jb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Uu(e.split("|"),c))?qv(e,d):qv(e?e+"|"+c:c,d);c=!f;f=this.pI;var g=this.sY;d=this.vk;e=document.createElement("iframe");e.setAttribute("id",b);b="allow-scripts allow-same-origin";document.requestStorageAccess&&Wu(document.requestStorageAccess)&&(b+=" allow-storage-access-by-user-activation");
e.setAttribute("sandbox",b);jv(e);e.setAttribute("frame-border","0");b=[f,"#origin=",encodeURIComponent(g)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Su&&b.push("&debug=1");document.body.appendChild(e);e.setAttribute("src",b.join(""));this.Al=e}a&&this.pv.push(a)}};_.Av.prototype.bl=function(){return this.lI};Bv=function(a){for(var b=0;b<a.pv.length;b++)a.pv[b](a);a.pv=[]};
_.Dv=function(a,b,c,d){if(a.ln){if(a.ln&&a.$z)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.bl(),Tu(a),Error(a);Cv(a,{method:b,params:c},d)}else a.Hn.push({rpc:{method:b,params:c},callback:d}),a.Qu()};Cv=function(a,b,c){if(c){for(var d=b.id;!d||a.ki[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.ki[d]=c}b.rpcToken=a.vk;a.Al.contentWindow.postMessage(_.bv.stringify(b),a.aA)};Ev=function(a){if(a&&0<=a.indexOf("::"))throw Error("V");};
_.Av.prototype.Gh=function(a,b,c,d,e,f,g,k){Ev(f);b=_.Xu(b);_.Dv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:g,skipCache:k,id:f},e)};_.Av.prototype.Pu=function(a,b,c,d,e){b=_.Xu(b);_.Dv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Fv=function(a,b,c){Ev(b.identifier);_.Dv(a,"getSessionSelector",b,c)};
_.Gv=function(a,b,c,d,e){Ev(b.identifier);_.Dv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Hv=function(a,b,c){_.Dv(a,"monitorClient",{clientId:b},c)};_.Av.prototype.Vq=_.ka(29);_.Av.prototype.iw=function(a,b){_.Dv(this,"showDialog",{U7:a},b)};_.Av.prototype.So=_.ka(31);dv.mu={};dv.dz=function(a){return dv.mu[a]};
dv.Qu=function(a,b){var c=dv.dz(a);if(!c){c=String;if(tv){var d=new window.Uint32Array(1);sv.getRandomValues(d);d=Number("0."+d[0])}else d=vv,d+=parseInt(xv.substr(0,20),16),xv=zv(xv),d/=wv+Math.pow(16,20);c=c(2147483647*d);c=new _.Av(a,c);dv.mu[a]=c}c.Qu(b)};dv.iS=function(a){for(var b in dv.mu){var c=dv.dz(b);if(c&&c.Al&&c.Al.contentWindow==a.source&&c.aA==a.origin)return c}};dv.TS=function(a){for(var b in dv.mu){var c=dv.dz(b);if(c&&c.aA==a)return c}};dv=dv||{};
var Jv=function(){var a=[],b;for(b in Iv)a.push(Iv[b]);cv.call(this,a);this.ak={};Tu("EventBus is ready.")};Vu(Jv,cv);var Iv={$O:"sessionSelectorChanged",Tw:"sessionStateChanged",Hw:"authResult",uN:"displayIFrame"},Lv=function(a){var b=Kv;a&&(b.ak[a]||(b.ak[a]=[]))},Mv=function(a,b,c){return b&&a.ak[b]&&0<=Uu(a.ak[b],c)};_.h=Jv.prototype;
_.h.AX=function(a){var b,c=!!a.source&&(a.source.opener===window||a.source===_.iv);if(b=c?dv.TS(a.origin):dv.iS(a)){try{var d=_.bv.parse(a.data)}catch(e){Tu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.vk){Tu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.ki[c.id])delete b.ki[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Tu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.oI[a.type]?(d=this.oI[a.type],
c&&!d.JP?Tu("Bad IDP event. Source window cannot be a popup."):d.no&&!d.no.call(this,b,a)?Tu("Bad IDP event."):d.Me.call(this,b,a)):Tu("Bad IDP event.")}else Tu("Bad event, no corresponding Idp Stub.")};_.h.WY=function(a,b){return Mv(this,a.Jb,b.clientId)};_.h.VY=function(a,b){b=b.clientId;return!b||Mv(this,a.Jb,b)};_.h.UP=function(a,b){return Mv(this,a.Jb,b.clientId)};_.h.MW=function(a){a.ln=!0;Bv(a);for(var b=0;b<a.Hn.length;b++)Cv(a,a.Hn[b].rpc,a.Hn[b].callback);a.Hn=[]};
_.h.LW=function(a,b){b={error:b.error};a.ln=!0;a.$z=!0;a.lI=b;a.Hn=[];Bv(a)};_.h.Jv=function(a,b){b.originIdp=a.Jb;this.dispatchEvent(b)};var Kv=new Jv,Nv=Kv,Ov={};Ov.idpReady={Me:Nv.MW};Ov.idpError={Me:Nv.LW};Ov.sessionStateChanged={Me:Nv.Jv,no:Nv.WY};Ov.sessionSelectorChanged={Me:Nv.Jv,no:Nv.VY};Ov.authResult={Me:Nv.Jv,no:Nv.UP,JP:!0};Ov.displayIFrame={Me:Nv.Jv};Kv.oI=Ov||{};Zu(window,"message",function(a){Kv.AX.call(Kv,a)});
_.Pv=function(a,b){this.Zd=!1;if(!a)throw Error("W");var c=[],d;for(d in a)c.push(a[d]);cv.call(this,c);this.vd=[location.protocol,"//",location.host].join("");this.vc=b.crossSubDomains?b.domain||this.vd:this.vd;if(!b)throw Error("X");if(!b.idpId)throw Error("Y");if(!_.gv(b.idpId,"authServerUrl")||!_.gv(b.idpId,"idpIFrameUrl"))throw Error("Z`"+b.idpId);this.Jb=b.idpId;this.Ub=void 0;this.NQ=!!b.disableTokenRefresh;this.GR=!!b.forceTokenRefresh;this.YZ=!!b.skipTokenCache;this.setOptions(b);this.$o=
[];this.Dl=this.NI=!1;this.rn=void 0;this.EK();this.Uc=void 0;var e=this,f=function(){Tu("Token Manager is ready.");if(e.$o.length)for(var g=0;g<e.$o.length;g++)e.$o[g].call(e);e.NI=!0;e.$o=[]};dv.Qu(this.Jb,function(g){e.Uc=g;g.ln&&g.$z?(e.Dl=!0,e.rn=g.bl(),e.lv(e.rn)):e.Ub?Hv(e.Uc,e.Ub,function(k){if(k){k=e.Jb;var l=e.Ub,m=Kv;k&&l&&(m.ak[k]||(m.ak[k]=[]),0>Uu(m.ak[k],l)&&m.ak[k].push(l));f()}else e.rn={error:"Not a valid origin for the client: "+e.vd+" has not been whitelisted for client ID "+e.Ub+
". Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."},e.Dl=!0,e.lv(e.rn)}):(Lv(e.Jb),f())})};Vu(_.Pv,cv);_.Pv.prototype.setOptions=function(){};_.Pv.prototype.EK=function(){};_.Pv.prototype.lv=function(){};_.Pv.prototype.bl=function(){return this.rn};Qv=function(a,b,c){return function(){b.apply(a,c)}};_.Rv=function(a,b,c){if(a.NI)b.apply(a,c);else{if(a.Dl)throw a.rn;a.$o.push(Qv(a,b,c))}};_.Pv.prototype.nF=_.ka(32);_.Pv.prototype.So=_.ka(30);
_.Tv=function(a,b){_.Pv.call(this,a,b);this.lK=new kv;this.Oi=this.Nl=null;Sv(this)};Vu(_.Tv,_.Pv);_.Tv.prototype.setOptions=function(){};
var Uv=function(a,b){a.Yd={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.vc};b.crossSubDomains&&(a.Yd.policy=b.policy)},Vv=function(a,b){if(!b.authParameters)throw Error("$");if(!b.authParameters.scope)throw Error("aa");if(!b.authParameters.response_type)throw Error("ba");a.Io=b.authParameters;a.Io.redirect_uri||(a.Io.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Oh=_.Xu(b.rpcAuthParameters||a.Io);if(!a.Oh.scope)throw Error("ca");if(!a.Oh.response_type)throw Error("da");
a:{var c=a.Oh.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!$u[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ea");b.enableSerialConsent&&(a.Oh.enable_serial_consent=!0);b.authResultIdentifier&&(a.VP=b.authResultIdentifier);b.spec_compliant&&(a.Oh.spec_compliant=b.spec_compliant)};
_.Tv.prototype.EK=function(){var a=this;Kv.addEventListener(Iv.$O,function(b){a.Zd&&a.Yd&&b.originIdp==a.Jb&&!b.crossSubDomains==!a.Yd.crossSubDomains&&b.domain==a.Yd.domain&&b.id==a.Yd.id&&a.YJ(b)});Kv.addEventListener(Iv.Tw,function(b){a.Zd&&b.originIdp==a.Jb&&b.clientId==a.Ub&&a.ZJ(b)});Kv.addEventListener(Iv.Hw,function(b){_.iv=void 0;a.Zd&&b.originIdp==a.Jb&&b.clientId==a.Ub&&b.id==a.Li&&(a.Nl&&(window.clearTimeout(a.Nl),a.Nl=null),a.Li=void 0,a.Dq(b))});Kv.addEventListener(Iv.uN,function(b){a.Zd&&
b.originIdp==a.Jb&&(b.Mc?a.Uc.Mc():a.Uc.show())})};_.Tv.prototype.YJ=function(){};_.Tv.prototype.ZJ=function(){};_.Tv.prototype.Dq=function(){};var Xv=function(a,b){Wv(a);a.NQ||(a.Oi=ev.GQ(function(){a.Gh(!0)},b-3E5),navigator.onLine&&a.Oi.start())},Wv=function(a){a.Oi&&(a.Oi.clear(),a.Oi=null)},Sv=function(a){var b=window;av()&&(b=document.body);Zu(b,"online",function(){a.Oi&&a.Oi.start()});Zu(b,"offline",function(){a.Oi&&a.Oi.clear()})};_.h=_.Tv.prototype;_.h.Gh=function(){};
_.h.iw=function(a,b){this.Uc.iw(a,b)};_.h.HJ=_.ka(33);_.h.XV=function(a,b){if(!this.Ub)throw Error("ia");this.Uc.Pu(this.Ub,this.Oh,this.Yd,a,b)};_.h.Pu=function(a,b){_.Rv(this,this.XV,[a,b])};_.Zv=function(a){this.Vd=void 0;this.Dg=!1;this.Tn=void 0;_.Tv.call(this,_.Yv,a)};Vu(_.Zv,_.Tv);_.Yv={aE:"noSessionBound",Ao:"userLoggedOut",aN:"activeSessionChanged",Tw:"sessionStateChanged",mP:"tokenReady",lP:"tokenFailed",Hw:"authResult",ERROR:"error"};
_.Zv.prototype.setOptions=function(a){if(!a.clientId)throw Error("ja");this.Ub=a.clientId;this.Ca=a.id;Uv(this,a);Vv(this,a)};_.Zv.prototype.lv=function(a){this.dispatchEvent({type:_.Yv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Jb})};var $v=function(a){Wv(a);a.Tn=void 0;a.CA=void 0};_.h=_.Zv.prototype;
_.h.YJ=function(a){var b=a.newValue||{};if(this.Vd!=b.hint||this.Dg!=!!b.disabled){a=this.Vd;var c=!this.Vd||this.Dg;$v(this);this.Vd=b.hint;this.Dg=!!b.disabled;(b=!this.Vd||this.Dg)&&!c?this.dispatchEvent({type:_.Yv.Ao,idpId:this.Jb}):b||(a!=this.Vd&&this.dispatchEvent({type:_.Yv.aN,idpId:this.Jb}),this.Vd&&this.Gh())}};
_.h.ZJ=function(a){this.Dg||(this.Vd?a.user||this.Tn?a.user==this.Vd&&(this.Tn?a.sessionState?this.Tn=a.sessionState:($v(this),this.dispatchEvent({type:_.Yv.Ao,idpId:this.Jb})):a.sessionState&&(this.Tn=a.sessionState,this.Gh())):this.Gh():this.dispatchEvent({type:_.Yv.Tw,idpId:this.Jb}))};_.h.Dq=function(a){this.dispatchEvent({type:_.Yv.Hw,authResult:a.authResult})};_.h.Hp=_.ka(35);_.h.Ap=function(a){_.Rv(this,this.Qy,[a])};_.h.Qy=function(a){Fv(this.Uc,this.Yd,a)};
_.h.jw=function(a,b,c){if(!a)throw Error("ka");$v(this);this.Vd=a;this.Dg=!1;b&&_.Gv(this.Uc,this.Yd,!1,this.Vd);this.Zd=!0;this.Gh(c,!0)};_.h.start=function(){_.Rv(this,this.c_,[])};
_.h.c_=function(){var a=this.Ub==Yu("client_id")?Yu("login_hint"):void 0;var b=this.Ub==Yu("client_id")?Yu("state"):void 0;this.bB=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.jw(a,!0,!0);else{var c=this;this.Ap(function(d){c.Zd=!0;d&&d.hint?($v(c),c.Vd=d.hint,c.Dg=!!d.disabled,c.Dg?c.dispatchEvent({type:_.Yv.Ao,idpId:c.Jb}):c.jw(d.hint)):($v(c),c.Vd=void 0,c.Dg=!(!d||!d.disabled),c.dispatchEvent({type:_.Yv.aE,
autoOpenAuthUrl:!c.Dg,idpId:c.Jb}))})}};_.h.KG=_.ka(36);_.h.Gh=function(a,b){var c=this;this.Uc.Gh(this.Ub,this.Oh,this.Vd,this.Yd,function(d,e){(e=e||d.error)?"user_logged_out"==e?($v(c),c.dispatchEvent({type:_.Yv.Ao,idpId:c.Jb})):(c.CA=null,c.dispatchEvent({type:_.Yv.lP,idpId:c.Jb,error:e})):(c.CA=d,c.Tn=d.session_state,Xv(c,d.expires_at),d.idpId=c.Jb,b&&c.bB&&(d.state=c.bB,c.bB=void 0),c.dispatchEvent({type:_.Yv.mP,idpId:c.Jb,response:d}))},this.Ca,a)};_.h.Vq=_.ka(28);_.h.VK=_.ka(37);
_.aw=function(a){this.Ik=null;_.Tv.call(this,{},a);this.Zd=!0};Vu(_.aw,_.Tv);_.h=_.aw.prototype;_.h.setOptions=function(a){if(!a.clientId)throw Error("ja");this.Ub=a.clientId;this.Ca=a.id;Uv(this,a);Vv(this,a)};_.h.lv=function(a){this.Ik&&(this.Ik({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Ik=null)};_.h.Dq=function(a){if(this.Ik){var b=this.Ik;this.Ik=null;b(a)}};_.h.Hp=_.ka(34);_.h.Ap=function(a){this.Dl?a(this.bl()):_.Rv(this,this.Qy,[a])};
_.h.Qy=function(a){Fv(this.Uc,this.Yd,a)};_.bw=function(a,b,c){a.Dl?c(a.bl()):_.Rv(a,a.aX,[b,c])};_.aw.prototype.aX=function(a,b){this.Uc.Gh(this.Ub,this.Oh,a,this.Yd,function(c,d){d?b({error:d}):b(c)},this.Ca,this.GR,this.YZ)};_.aw.prototype.iJ=_.ka(38);

var cw,ew,fw,gw,hw,iw,jw,kw,lw,mw,nw,qw;cw=function(a){return Array.prototype.concat.apply([],arguments)};_.dw=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 _.ih(a,3).substring(0,64)};ew=function(a,b,c){if(!a.Zd)throw Error("fa");b?_.Gv(a.Uc,a.Yd,!0,void 0,c):_.Gv(a.Uc,a.Yd,!0,a.Vd,c)};fw=function(a){if(!a.Zd)throw Error("fa");return a.CA};
_.aw.prototype.iJ=_.Sc(38,function(a,b){var c=this.Uc,d=this.Ub,e=this.Yd,f=_.Xu(this.Oh);delete f.response_type;_.Dv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});_.Zv.prototype.VK=_.Sc(37,function(a){fw(this)&&fw(this).access_token&&(this.Uc.Vq(this.Ub,fw(this).access_token,a),ew(this,!0))});_.Zv.prototype.KG=_.Sc(36,function(){var a=this;this.Ap(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Yv.Ao,idpId:a.Jb}):a.Gh(!0):a.dispatchEvent({type:_.Yv.aE,idpId:a.Jb})})});
_.Zv.prototype.Hp=_.Sc(35,function(){var a=this;return function(b){b&&b.authResult&&b.authResult.login_hint&&a.jw(b.authResult.login_hint,a.Dg||b.authResult.login_hint!=a.Vd,!0)}});
_.aw.prototype.Hp=_.Sc(34,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Ap(function(d){_.Gv(b.Uc,b.Yd,d&&d.disabled,c.authResult.login_hint,function(){_.bw(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"})}});_.Tv.prototype.HJ=_.Sc(33,function(){this.Ub&&_.Dv(this.Uc,"startPolling",{clientId:this.Ub,origin:this.vd,id:this.Li},void 0)});
_.Av.prototype.Vq=_.Sc(29,function(a,b,c){_.Dv(this,"revoke",{clientId:a,token:b},c)});_.Zv.prototype.Vq=_.Sc(28,function(a){_.Rv(this,this.VK,[a])});gw=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};
hw=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=/version\/(\d+)\.(\d+)[\.0-9]*/.exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
iw=function(a,b,c,d,e,f,g){var k=_.gv(a,"authServerUrl");if(!k)throw Error("P`"+a);a=_.Xu(d);a.response_type=g||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=hw())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=/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("&")};
jw=function(a,b,c,d){if(!a.Ub)throw Error("ga");a.Li=c||a.VP||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.vd.split("//");c=b.extraQueryParams;var f=e[0],g=f.indexOf(":");0<g&&(f=f.substring(0,g));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Li);c.redirect_uri=e.join("")}return iw(a.Jb,a.vc,a.Ub,a.Io,!0,b,d)};
kw=function(a,b){a.Nl&&window.clearTimeout(a.Nl);a.Nl=window.setTimeout(function(){a.Li==b&&(_.iv=void 0,a.Nl=null,a.Li=void 0,a.Dq({authResult:{error:"popup_closed_by_user"}}))},1E3)};lw=function(a,b,c){if(!a.Ub)throw Error("ha");c=c||{};c=jw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||gw())&&_.Rv(a,a.HJ,[]);var d=a.Li;a.lK.open(c,b,function(){a.Li==d&&kw(a,d)},function(){a.Li=void 0;a.Dq({authResult:{error:"popup_blocked_by_browser"}})})};
mw=function(a){_.Rv(a,a.KG,[])};nw=function(a,b,c){a.Dl?c(a.bl()):_.Rv(a,a.iJ,[b,c])};
_.ow=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var g=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],g=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}return b.join("")};
_.pw=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=_.fh[m];if(null!=n)return n;if(!_.Le(m))throw Error("v`"+m);}return l}_.hh();for(var d=0;;){var e=c(-1),f=c(0),g=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=g&&(b(f<<4&240|g>>2),64!=k&&b(g<<6&192|k))}};qw=function(a){var b=[];_.pw(a,function(c){b.push(c)});return b};_.rw=function(a,b){_.Lh[b||"token"]=a};_.sw=function(a){delete _.Lh[a||"token"]};
_.bv={parse:function(a){a=_.xf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.yf(a)}};
_.aw.prototype.Dy=function(a,b){_.Rv(this,this.rR,[a,b])};_.aw.prototype.rR=function(a,b){this.Uc.Dy(this.Ub,a,this.Oh,this.Yd,b)};
_.Av.prototype.Dy=function(a,b,c,d,e){c=_.Xu(c);_.Dv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var tw,uw=["client_id","cookie_policy","scope"],vw="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection gsiwebsdk".split(" "),ww=["authuser","after_redirect","access_type","hl"],xw=["login_hint","prompt"],yw={clientid:"client_id",cookiepolicy:"cookie_policy"},zw=["approval_prompt","authuser","login_hint",
"prompt","hd"],Aw=["login_hint","g-oauth-window","status"],Bw=Math.min(_.R("oauth-flow/authWindowWidth",599),screen.width-20),Cw=Math.min(_.R("oauth-flow/authWindowHeight",600),screen.height-30);
var Dw=function(a){_.Tc.call(this,a)};_.hi(Dw,_.Tc);Dw.prototype.name="gapi.auth2.ExternallyVisibleError";
var Ew=function(){};Ew.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Fw=function(){};Fw.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 Gw=function(a){this.WP=a};
Gw.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.WP){d.login_hint?b(d):b();return}}b()};
var Hw=function(a){this.Kd=a;this.Tv=[]};Hw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Tv[b];f?(b++,c.Kd.Pu(function(g){g?f.select(g,d):d()})):a()}};d()};var Iw=function(a){a=new Hw(a);a.Tv.push(new Ew);return a},Jw=function(a){a=new Hw(a);a.Tv.push(new Fw);return a},Kw=function(a,b){void 0===b||null===b?b=Iw(a):(a=new Hw(a),a.Tv.push(new Gw(b)),b=a);return b};
var Lw=function(a){this.Me=a;this.Td=!0};Lw.prototype.remove=function(){this.Td=!1};Lw.prototype.trigger=function(){};var Mw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Nw=function(){this.Xb=[]};Nw.prototype.add=function(a){this.Xb.push(a)};Nw.prototype.notify=function(a){for(var b=this.Xb,c=[],d=0;d<b.length;d++){var e=b[d];e.Td&&(c.push(e),_.uk(Ow(e.Me,a)))}this.Xb=c};var Ow=function(a,b){return function(){a(b)}};
var Qw=function(a){this.de=null;this.U_=new Pw(this);this.Xb=new Nw;void 0!=a&&this.set(a)};Qw.prototype.set=function(a){a!=this.de&&(this.de=a,this.U_.value=a,this.Xb.notify(this.de))};Qw.prototype.get=function(){return this.de};Qw.prototype.V=function(a){a=new Rw(this,a);this.Xb.add(a);return a};var Rw=function(a,b){Lw.call(this,b);this.$V=a};_.hi(Rw,Lw);Rw.prototype.trigger=function(){var a=this.Me;a(this.$V.get())};var Pw=function(a){this.value=null;this.V=function(b){return new Mw(a.V(b))}};
var Sw={i2:"fetch_basic_profile",p3:"login_hint",K4:"prompt",Q4:"redirect_uri",h5:"scope",x6:"ux_mode",U5:"state"},Tw=function(a){this.Ba={};if(a&&!_.ri(a))if("function"==typeof a.get)this.Ba=a.get();else for(var b in Sw){var c=Sw[b];c in a&&(this.Ba[c]=a[c])}};Tw.prototype.get=function(){return this.Ba};Tw.prototype.OL=function(a){this.Ba.scope=a;return this};Tw.prototype.Tp=function(){return this.Ba.scope};
var Uw=function(a,b){var c=a.Ba.scope;b=cw(b.split(" "),c?c.split(" "):[]);_.Je(b);a.Ba.scope=b.join(" ")};_.h=Tw.prototype;_.h.CZ=function(a){this.Ba.prompt=a;return this};_.h.WS=function(){return this.Ba.prompt};_.h.ZY=function(){_.Ef("Property app_package_name no longer supported and was not set");return this};_.h.MR=function(){_.Ef("Property app_package_name no longer supported")};_.h.Ee=function(a){this.Ba.state=a};_.h.getState=function(){return this.Ba.state};
var Vw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Bw,"height="+Cw,"top="+(screen.height-Cw)/2,"left="+(screen.width-Bw)/2].join()},Ww=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.ow(qw(a)))},Xw=function(){tw=_.R("auth2/idpValue","google");var a=_.R("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.R("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.hv(tw,{authServerUrl:a,idpIFrameUrl:b})},Yw=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}_.Ya(a[e])||(a[e]={});a=a[e]}},Zw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a};
var $w=function(a){var b=a?(b=Ww(a))?b.sub:null:null;this.Ca=b;this.uc=a?_.jk(a):null};_.h=$w.prototype;_.h.ma=function(){return this.Ca};_.h.$y=function(){var a=Ww(this.uc);return a?a.hd:null};_.h.yf=function(){return!!this.uc};_.h.Nj=function(a){if(a)return this.uc;a=ax;var b=_.jk(this.uc);!a.wu||a.Vz||a.FU||(delete b.access_token,delete b.scope);return b};_.h.GB=function(){return ax.GB()};_.h.fj=function(){this.uc=null};_.h.rS=function(){return this.uc?this.uc.scope:null};
_.h.update=function(a){this.Ca=a.Ca;this.uc=a.uc;this.uc.id_token?this.Es=new bx(this.uc):this.Es&&(this.Es=null)};var cx=function(a){return a.uc&&"object"==typeof a.uc.session_state?_.jk(a.uc.session_state.extraQueryParams||{}):{}};_.h=$w.prototype;_.h.xp=function(){var a=cx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.h.ej=function(a){var b=ax,c=new Tw(a);b.Vz=c.Tp()?!0:!1;ax.wu&&Uw(c,"openid profile email");return new _.Ek(function(d,e){var f=cx(this);f.login_hint=this.ma();f.scope=c.Tp();dx(b,d,e,f)},this)};_.h.Wp=function(a){return new _.Ek(function(b,c){var d=a||{},e=ax;d.login_hint=this.ma();e.Wp(d).then(b,c)},this)};_.h.qT=function(a){return this.ej(a)};_.h.disconnect=function(){return ax.disconnect()};_.h.PR=function(){return this.Es};
_.h.iu=function(a){if(!this.yf())return!1;var b=this.uc&&this.uc.scope?this.uc.scope.split(" "):"";return _.pb(a?a.split(" "):[],function(c){return _.Xa(b,c)})};var bx=function(a){a=Ww(a);this.JR=a.sub;this.sd=a.name;this.nT=a.given_name;this.pR=a.family_name;this.vI=a.picture;this.kt=a.email};_.h=bx.prototype;_.h.ma=function(){return this.JR};_.h.getName=function(){return this.sd};_.h.pS=function(){return this.nT};_.h.kS=function(){return this.pR};_.h.AS=function(){return this.vI};_.h.Kt=function(){return this.kt};
var fx=function(a,b,c){this.Il=b;this.xW=a;for(var d in a)a.hasOwnProperty(d)&&ex(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.Il[c[a]]},ex=function(a,b){a[b]=function(){return a.xW[b].apply(a.Il,arguments)}};fx.prototype.then=function(a,b,c){var d=this;return _.Ik().then(function(){return gx(d.Il,a,b,c)})};_.nk(fx);
var hx;hx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.ix=function(a){if(!a)throw new Dw("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 Dw("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(!_.pi(b,"."+a)&&!_.pi(b,a))throw new Dw("Invalid cookiePolicy domain");return d};
var kx,jx,lx,mx,nx,ox,qx,vx,rx,xx,yx,sx;kx=function(a){var b=a||{},c=jx();_.lb(vw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b};jx=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;yw[d]&&(d=yw[d]);_.Xa(vw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a};
lx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})};mx=function(a){_.lb(vw,function(b){var c=lx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})};nx=function(a){a=kx(a);mx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=vw+ww,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a};
ox=function(a,b){if(!a)throw new Dw("Empty initial options.");for(var c=0;c<uw.length;++c)if(!(b&&"scope"==uw[c]||a[uw[c]]))throw new Dw("Missing required parameter '"+uw[c]+"'");_.ix(a.cookie_policy)};
qx=function(a){var b={authParameters:{redirect_uri:void 0,response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm},clientId:a.client_id,crossSubDomains:!0,domain:hx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:tw};_.px(b,a);_.lb(xw,function(c){a[c]&&(b.authParameters[c]=a[c])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);return b};_.px=function(){};
vx=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,g=a.oidc_spec_compliant,k=a.nonce,l=rx(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:hx(c),idpId:tw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);g&&(m.rpcAuthParameters.spec_compliant=g,k=k||_.dw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=
!0);_.lb(xw.concat(ww),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 sx(a.response_type||"token"),tx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),ux(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&(m.enableSerialConsent=
a.enable_serial_consent);return m};rx=function(a){a=new sx(a.response_type||"token");var b=[];ux(a)&&b.push("token");wx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")};xx=["permission","id_token"];yx=/(^|[^_])token/;sx=function(a){this.Nn=[];this.lA(a)};
sx.prototype.lA=function(a){a?((0<=a.indexOf("permission")||a.match(yx))&&this.Nn.push("permission"),0<=a.indexOf("id_token")&&this.Nn.push("id_token"),0<=a.indexOf("code")&&this.Nn.push("code")):this.Nn=xx};var tx=function(a){return wx(a,"code")},ux=function(a){return wx(a,"permission")};sx.prototype.toString=function(){return this.Nn.join(" ")};var wx=function(a,b){var c=!1;_.lb(a.Nn,function(d){d==b&&(c=!0)});return c};
var ax,zx,Bx,Dx,Ex,gx;ax=null;_.Ax=function(){return ax?zx():null};zx=function(){return new fx(Bx.prototype,ax,["currentUser","isSignedIn"])};Bx=function(a){delete a.include_granted_scopes;this.Ba=qx(a);this.CQ=a.cookie_policy;this.FU=!!a.scope;(this.wu=!1!==a.fetch_basic_profile)&&(this.Ba.authParameters.scope=Cx(this,"openid profile email"));this.iq=a.hosted_domain;this.R_=a.ux_mode||"popup";this.GX=a.redirect_uri||null;Dx(this)};
Dx=function(a){a.currentUser=new Qw(new $w(null));a.isSignedIn=new Qw(!1);a.Kd=new _.Zv(a.Ba);a.vn=null;a.Du=null;a.NV=new _.Ek(function(b,c){this.vn=b;this.Du=c},a);a.ov={};a.sq=!0;Ex(a);a.Kd.start()};
Ex=function(a){a.Kd.addEventListener("error",function(b){a.sq&&a.vn&&(a.sq=!1,a.Du({error:b.error,details:b.details}),a.vn=null,a.Du=null)});a.Kd.addEventListener("authResult",function(b){b&&b.authResult&&a.Je(b);a.Kd.Hp()(b)});a.Kd.addEventListener("tokenReady",function(b){var c=new $w(b.response);if(a.iq&&a.iq!=c.$y())a.Je({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.$y(),expectedDomain:a.iq});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Xb.notify(d.de);a.isSignedIn.set(!0);c=c.xp();(d=_.ix(a.CQ))&&c&&_.Dh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.we?"S":"H",d.jh].join(""),c,{domain:d.domain,secure:d.isSecure});_.rw(b.response);a.Je(b)}});a.Kd.addEventListener("noSessionBound",function(b){a.sq&&b.autoOpenAuthUrl?(a.sq=!1,Iw(a.Kd).select(function(c){if(c&&c.login_hint){var d=a.Kd;_.Rv(d,d.jw,[c.login_hint,!0])}else a.currentUser.set(new $w(null)),a.isSignedIn.set(!1),_.sw(),a.Je(b)})):(a.currentUser.set(new $w(null)),
a.isSignedIn.set(!1),_.sw(),a.Je(b))});a.Kd.addEventListener("tokenFailed",function(b){a.Je(b)});a.Kd.addEventListener("userLoggedOut",function(b){a.currentUser.get().fj();var c=a.currentUser;c.Xb.notify(c.de);a.isSignedIn.set(!1);_.sw();a.Je(b)})};gx=function(a,b,c,d){return a.NV.then(function(e){if(b)return b(e.oT)},c,d)};Bx.prototype.Je=function(a){if(a){this.sq=!1;var b=a.type||"";if(this.ov[b])this.ov[b](a);this.vn&&(this.vn({oT:this}),this.Du=this.vn=null)}};
var Fx=function(a,b){_.zb(b,function(c,d){a.ov[d]=function(e){a.ov={};c(e)}})},dx=function(a,b,c,d){d=_.jk(d);a.iq&&(d.hd=a.iq);var e=d.ux_mode||a.R_;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.GX||Zw()+window.location.pathname),Gx(a,f)):(delete d.redirect_uri,Hx(a,f),Fx(a,{authResult:function(g){g.authResult&&g.authResult.error?c(g.authResult):Fx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Bx.prototype.ej=function(a){return new _.Ek(function(b,c){var d=new Tw(a);this.Vz=d.Tp()?!0:!1;this.wu?(d.Ba.fetch_basic_profile=!0,Uw(d,"email profile openid")):d.Ba.fetch_basic_profile=!1;var e=Cx(this,d.Tp());d.OL(e);dx(this,b,c,d.get())},this)};
Bx.prototype.Wp=function(a){var b=a||{};this.Vz=!!b.scope;a=Cx(this,b.scope);if(""==a)return _.Jk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.lb(zw,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?Ix(this,c):Jx(this,c,b.redirect_uri)};
var Jx=function(a,b,c){b.redirect_uri=c;Gx(a,{sessionMeta:{extraQueryParams:b},responseType:"code id_token"});return _.Ik({message:"Redirecting to IDP."})},Ix=function(a,b){b.origin=Zw();delete b.redirect_uri;Hx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Ek(function(c,d){Fx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Hx=function(a,b){Yw(b,["sessionMeta","extraQueryParams",
"gsiwebsdk"],"2");lw(a.Kd,Vw(),b)},Gx=function(a,b){Yw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");var c=b||{};b=window.location;var d=b.assign;a=a.Kd;if(!a.Ub)throw Error("ga");a=iw(a.Jb,a.vc,a.Ub,a.Io,!1,c.sessionMeta,c.responseType);d.call(b,a)};Bx.prototype.fj=function(a){var b=a||!1;return new _.Ek(function(c){ew(this.Kd,b,function(){c()})},this)};Bx.prototype.hH=function(){return this.Ba.authParameters.scope};
var Cx=function(a,b){a=a.hH();b=cw(b?b.split(" "):[],a?a.split(" "):[]);_.Je(b);return b.join(" ")};Bx.prototype.GB=function(){var a=this;return new _.Ek(function(b,c){Fx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});mw(a.Kd)})};
Bx.prototype.SP=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.Pi(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.ej(f).then(function(g){c&&c(g)},function(g){d&&d(g)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};Bx.prototype.disconnect=function(){return new _.Ek(function(a){this.Kd.Vq(function(){a()})},this)};
var Kx;_.Ek.prototype["catch"]=_.Ek.prototype.Jr;Kx=null;_.Lx=function(a){a=nx(a);if(ax){if(_.ik(a,Kx||{}))return zx();throw new Dw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}ox(a,!1!==a.fetch_basic_profile);Xw();Kx=a;ax=new Bx(a);_.ye.ga=1;return zx()};
var Nx,Px,Mx,Rx,Qx,Sx;_.Ox=function(a,b){Xw();a=nx(a);ox(a);var c=vx(a),d=new _.aw(c);"none"==a.prompt?Mx(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)}):Nx(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.lK.Rg;b(e)})};
Nx=function(a,b,c){var d=new sx(b.response_type);c=Px(a,d,c);var e={responseType:d.toString()};Yw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");tx(d)&&Yw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Yw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Yw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Vw();a.Dl?c({authResult:{error:"idpiframe_initialization_failed",details:a.bl().error}}):(a.Ik=
c,lw(a,b,e))};Px=function(a,b,c){if(ux(b)){var d=Qx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Hp(function(f){f&&!f.error?(f=_.jk(f),tx(b)&&(f.code=e.authResult.code),d(f)):d(f?f:{error:"unknown_error"})})(e):d(e&&e.authResult?e.authResult:{error:"unknown_error"})}}return function(e){e&&e.authResult&&!e.authResult.error?c(_.jk(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Mx=function(a,b,c){if(tx(new sx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Qx(c);b.login_hint?a.Dy(b.login_hint,function(e){e?Rx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Kw(a,b.authuser).select(function(e){e&&e.login_hint?Rx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Ap(function(e){e&&e.hint?Rx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Jw(a):Iw(a)).select(function(f){f&&f.login_hint?Rx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Rx=function(a,b,c,d){b=new sx(b.response_type);var e=0,f={},g=function(k){!k||k.error?d(k):(e--,_.Bb(f,k),0==e&&d(f))};(ux(b)||wx(b,"id_token"))&&e++;tx(b)&&e++;(ux(b)||wx(b,"id_token"))&&_.bw(a,c,g);tx(b)&&nw(a,c,g)};
Qx=function(a){return function(b){if(!b||b.error)_.sw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.jk(b);Sx(c);delete c.id_token;delete c.code;_.rw(c)}a(b)}}};Sx=function(a){_.lb(Aw,function(b){delete a[b]})};
_.K("gapi.auth2.init",_.Lx);_.K("gapi.auth2.authorize",function(a,b){if(null!=ax)throw new Dw("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).");_.Ox(a,function(c){Sx(c);b(c)})});_.K("gapi.auth2._gt",function(){return _.Mh()});_.K("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Su="0"!=a&&!!a});_.K("gapi.auth2.getAuthInstance",_.Ax);
_.K("gapi.auth2.BasicProfile",bx);_.K("gapi.auth2.BasicProfile.prototype.getId",bx.prototype.ma);_.K("gapi.auth2.BasicProfile.prototype.getName",bx.prototype.getName);_.K("gapi.auth2.BasicProfile.prototype.getGivenName",bx.prototype.pS);_.K("gapi.auth2.BasicProfile.prototype.getFamilyName",bx.prototype.kS);_.K("gapi.auth2.BasicProfile.prototype.getImageUrl",bx.prototype.AS);_.K("gapi.auth2.BasicProfile.prototype.getEmail",bx.prototype.Kt);_.K("gapi.auth2.GoogleAuth",Bx);
_.K("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Bx.prototype.SP);_.K("gapi.auth2.GoogleAuth.prototype.disconnect",Bx.prototype.disconnect);_.K("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Bx.prototype.Wp);_.K("gapi.auth2.GoogleAuth.prototype.signIn",Bx.prototype.ej);_.K("gapi.auth2.GoogleAuth.prototype.signOut",Bx.prototype.fj);_.K("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Bx.prototype.hH);_.K("gapi.auth2.GoogleUser",$w);_.K("gapi.auth2.GoogleUser.prototype.grant",$w.prototype.qT);
_.K("gapi.auth2.GoogleUser.prototype.getId",$w.prototype.ma);_.K("gapi.auth2.GoogleUser.prototype.isSignedIn",$w.prototype.yf);_.K("gapi.auth2.GoogleUser.prototype.getAuthResponse",$w.prototype.Nj);_.K("gapi.auth2.GoogleUser.prototype.getBasicProfile",$w.prototype.PR);_.K("gapi.auth2.GoogleUser.prototype.getGrantedScopes",$w.prototype.rS);_.K("gapi.auth2.GoogleUser.prototype.getHostedDomain",$w.prototype.$y);_.K("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",$w.prototype.Wp);
_.K("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",$w.prototype.iu);_.K("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",$w.prototype.GB);_.K("gapi.auth2.LiveValue",Qw);_.K("gapi.auth2.LiveValue.prototype.listen",Qw.prototype.V);_.K("gapi.auth2.LiveValue.prototype.get",Qw.prototype.get);_.K("gapi.auth2.SigninOptionsBuilder",Tw);_.K("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Tw.prototype.MR);_.K("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Tw.prototype.ZY);
_.K("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Tw.prototype.Tp);_.K("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Tw.prototype.OL);_.K("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Tw.prototype.WS);_.K("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Tw.prototype.CZ);_.K("gapi.auth2.SigninOptionsBuilder.prototype.get",Tw.prototype.get);

_.px=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||_.dw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)};

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

_.Jh=function(a){var b={SAPISIDHASH:!0,APISIDHASH:!0};return a&&(a.OriginToken||a.Authorization&&b[String(a.Authorization).split(" ")[0]])?!0:!1};_.Kh={YH:_.Jh,HV:_.Hh,mH:function(){var a=null;_.Hh()&&(a=window.__PVT,null==a&&(a=(new _.Bh(document)).get("BEAT")));return a},OG:_.Ih};

_.Re.c2=function(a){var b=[];if(1<arguments.length)for(var c=0,d;d=arguments[c];++c)b.push(d);else b=a;return function(e){for(var f=0;b[f];++f)if(e===b[f])return!0;return!1}};_.Re.e5=function(a){return function(b){return a.test(b)}};_.Re.zN=function(a){return"undefined"!==typeof a};_.Re.e4=function(a){return"string"===typeof a&&0<a.length};_.Re.B0=function(a){return"boolean"===typeof a};_.Re.u3=function(a){return function(b){for(var c in a)if(a.hasOwnProperty(c)&&!(0,a[c])(b[c]))return!1;return!0}};

_.Ne=_.Ne||{};
(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}_.Ne.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)};_.Ne.createIframeElement=function(b){var c=_.Ne.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(_.Ne.escapeString(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var g=_.Ne.createElement(d.join(""));g&&(!c||g.tagName==c.tagName&&g.namespaceURI==c.namespaceURI)&&(c=g)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Ne.getBodyElement=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};_.Ne.t8=function(b){return a(b)}})();

_.Ne=_.Ne||{};(function(){function a(d){b=d["core.util"]||{}}var b={},c={};_.Re&&_.Re.register("core.util",null,a);_.Ne.getFeatureParameters=function(d){return"undefined"===typeof b[d]?null:b[d]};_.Ne.hasFeature=function(d){return"undefined"!==typeof b[d]};_.Ne.E8=function(){return c}})();

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var gr,hr,jr,kr,lr,mr,nr,or,pr,sr,tr,ur,vr,zr,Dr,Er,Fr;_.Vq=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Wq=function(a,b,c,d){return Array.prototype.splice.apply(a,_.Vq(arguments,1))};_.Xq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Yq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.h=_.Yq.prototype;_.h.clone=function(){return new _.Yq(this.x,this.y)};
_.h.equals=function(a){return a instanceof _.Yq&&_.Xq(this,a)};_.h.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.h.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};_.h.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.h.translate=function(a,b){a instanceof _.Yq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};
_.h.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.Zq=function(a,b){this.width=a;this.height=b};_.h=_.Zq.prototype;_.h.clone=function(){return new _.Zq(this.width,this.height)};_.h.aspectRatio=function(){return this.width/this.height};_.h.isEmpty=function(){return!(this.width*this.height)};_.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
_.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.h.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.$q=function(a){return"CSS1Compat"==a.compatMode};_.ar=function(a){a=a.document;a=_.$q(a)?a.documentElement:a.body;return new _.Zq(a.clientWidth,a.clientHeight)};_.br=function(a){return _.ar(a||window)};
_.cr=function(a){return a.scrollingElement?a.scrollingElement:!_.vc&&_.$q(a)?a.documentElement:a.body||a.documentElement};_.dr=function(a){var b=_.cr(a);a=a.parentWindow||a.defaultView;return _.rc&&_.Nc("10")&&a.pageYOffset!=b.scrollTop?new _.Yq(b.scrollLeft,b.scrollTop):new _.Yq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.er=function(a,b,c,d){return _.Pd(a.nb,b,c,d)};_.fr=function(a){a.mA=void 0;a.kb=function(){return a.mA?a.mA:a.mA=new a}};
gr=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");_.Tc.call(this,c+a[d])};_.O(gr,_.Tc);gr.prototype.name="AssertionError";hr={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};_.ir=function(a){if(a instanceof _.Vb&&a.constructor===_.Vb)return a.uK;_.$a(a);return"type_error:SafeStyle"};jr=/\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g;
kr=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g;lr=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/;mr=/\/\*/;nr=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};or=function(a){return a.replace(kr,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=(_.zd(d)||_.Tb).nd();return c+f+b+f+e})};
pr=function(a){if(a instanceof _.Sb)return'url("'+_.ud(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Nb)a=_.Ob(a);else{a=String(a);var b=a.replace(jr,"$1").replace(jr,"$1").replace(kr,"url");if(lr.test(b)){if(b=!mr.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&&nr(a)}a=b?or(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new gr("Value does not allow [{;}], got: %s.",[a]);return a};
_.qr=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("g`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?_.nb(d,pr).join(" "):pr(d),b+=c+":"+d+";")}return b?new _.Vb(b,_.Ub):_.Wb};_.rr=function(a){if(a instanceof _.Zb&&a.constructor===_.Zb)return a.tK;_.$a(a);return"type_error:SafeStyleSheet"};sr=/^[a-zA-Z0-9-]+$/;tr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
ur={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};vr=function(a){var b=_.Bd(_.fc),c=b.th(),d=[],e=function(f){Array.isArray(f)?_.lb(f,e):(f=_.Bd(f),d.push(_.dc(f).toString()),f=f.th(),0==c?c=f:0!=f&&c!=f&&(c=null))};_.lb(a,e);return _.ec(d.join(_.dc(b).toString()),c)};_.wr=function(a){return vr(Array.prototype.slice.call(arguments))};
_.xr=function(a,b,c){var d=String(a);if(!sr.test(d))throw Error("k");if(d.toUpperCase()in ur)throw Error("k");a=String(a);d=null;var e="<"+a,f="";if(b)for(l in b)if(Object.prototype.hasOwnProperty.call(b,l)){if(!sr.test(l))throw Error("k");var g=b[l];if(null!=g){var k=l;if(g instanceof _.Nb)g=_.Ob(g);else if("style"==k.toLowerCase()){if(!_.Ya(g))throw Error("k");g instanceof _.Vb||(g=_.qr(g));g=_.ir(g)}else{if(/^on/i.test(k))throw Error("k");if(k.toLowerCase()in tr)if(g instanceof _.pd)g=_.rd(g);
else if(g instanceof _.Sb)g=_.ud(g);else if("string"===typeof g)g=(_.zd(g)||_.Tb).nd();else throw Error("k");}g.Bh&&(g=g.nd());k=k+'="'+_.nd(String(g))+'"';f+=" "+k}}var l=e+f;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===hr[a.toLowerCase()]?l+=">":(c=_.wr(c),l+=">"+_.dc(c).toString()+"</"+a+">",d=c.th());(b=b&&b.dir)&&(d=/^(ltr|rtl|auto)$/i.test(b)?0:null);return _.ec(l,d)};_.yr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
zr=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};_.Ar=function(a,b,c){return _.Vd(document,arguments)};_.Br=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.Cr=function(a){var b;if(_.Jd&&!(_.rc&&_.Nc("9")&&!_.Nc("10")&&_.C.SVGElement&&a instanceof _.C.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return _.ee(b)?b:null};Dr={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};Er={IMG:" ",BR:"\n"};
Fr=function(a,b,c){if(!(a.nodeName in Dr))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in Er)b.push(Er[a.nodeName]);else for(a=a.firstChild;a;)Fr(a,b,c),a=a.nextSibling};
_.Gr=function(a){if(_.Id&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Fr(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");_.Id||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a};_.Hr=function(a){var b=[];Fr(a,b,!1);return b.join("")};
_.Ir=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.h=_.Ir.prototype;_.h.Lc=function(){return this.right-this.left};_.h.getHeight=function(){return this.bottom-this.top};_.h.clone=function(){return new _.Ir(this.top,this.right,this.bottom,this.left)};_.h.contains=function(a){return this&&a?a instanceof _.Ir?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.h.expand=function(a,b,c,d){_.Ya(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.h.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.h.translate=function(a,b){a instanceof _.Yq?(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};_.h.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 Lr,Rr,Pr,Ur,fs,gs;_.Kr=function(a,b,c){if("string"===typeof b)(b=_.Jr(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Jr(c,d);f&&(c.style[f]=e)}};Lr={};_.Jr=function(a,b){var c=Lr[b];if(!c){var d=_.yr(b);c=d;void 0===a.style[d]&&(d=(_.vc?"Webkit":_.uc?"Moz":_.rc?"ms":_.qc?"O":null)+zr(d),void 0!==a.style[d]&&(c=d));Lr[b]=c}return c};
_.Mr=function(a,b){var c=_.Md(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Nr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Or=function(a,b){return _.Mr(a,b)||_.Nr(a,b)||a.style&&a.style[b]};_.Qr=function(a,b,c){if(b instanceof _.Yq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Pr(d,!1);a.style.top=Pr(b,!1)};
Rr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Vr=function(a,b){b=b||_.cr(document);var c=b||_.cr(document);var d=_.Sr(a),e=_.Sr(c),f=_.Tr(c);if(c==_.cr(document)){var g=d.x-c.scrollLeft;d=d.y-c.scrollTop;_.rc&&!_.Pc(10)&&(g+=f.left,d+=f.top)}else g=d.x-e.x-f.left,d=d.y-e.y-f.top;a=Ur(a);f=c.clientHeight-a.height;e=c.scrollLeft;var k=c.scrollTop;e+=Math.min(g,Math.max(g-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-f,0));c=new _.Yq(e,k);b.scrollLeft=c.x;b.scrollTop=c.y};
_.Sr=function(a){var b=_.Md(a),c=new _.Yq(0,0);var d=b?_.Md(b):document;d=!_.rc||_.Pc(9)||_.$q(_.Nd(d).nb)?d.documentElement:d.body;if(a==d)return c;a=Rr(a);b=_.dr(_.Nd(b).nb);c.x=a.left+b.x;c.y=a.top+b.y;return c};_.Xr=function(a,b){var c=new _.Yq(0,0),d=_.Sd(_.Md(a));if(!_.oc(d,"parent"))return c;do{var e=d==b?_.Sr(a):_.Wr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Wr=function(a){a=Rr(a);return new _.Yq(a.left,a.top)};
_.Yr=function(a,b,c){if(b instanceof _.Zq)c=b.height,b=b.width;else if(void 0==c)throw Error("G");a.style.width=Pr(b,!0);a.style.height=Pr(c,!0)};Pr=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};_.Zr=function(a){var b=Ur;if("none"!=_.Or(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};
Ur=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.vc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Rr(a),new _.Zq(a.right-a.left,a.bottom-a.top)):new _.Zq(b,c)};_.$r=function(a,b){a.style.display=b?"":"none"};
_.bs=function(a){var b=_.Nd(void 0),c=b.tb();if(_.rc&&c.createStyleSheet)return b=c.createStyleSheet(),_.as(b,a),b;c=_.er(b,"HEAD")[0];if(!c){var d=_.er(b,"BODY")[0];c=b.ta("HEAD");d.parentNode.insertBefore(c,d)}d=b.ta("STYLE");var e=_.$c();e&&d.setAttribute("nonce",e);_.as(d,a);b.appendChild(c,d);return d};_.as=function(a,b){b=_.rr(b);_.rc&&void 0!==a.cssText?a.cssText=b:_.C.trustedTypes?_.ge(a,b):a.innerHTML=b};_.cs=function(a){return"rtl"==_.Or(a,"direction")};
_.ds=_.uc?"MozUserSelect":_.vc||_.sc?"WebkitUserSelect":null;_.es=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};fs={thin:2,medium:4,thick:6};gs=function(a,b){if("none"==_.Nr(a,b+"Style"))return 0;b=_.Nr(a,b+"Width");return b in fs?fs[b]:_.es(a,b)};
_.Tr=function(a){if(_.rc&&!_.Pc(9)){var b=gs(a,"borderLeft"),c=gs(a,"borderRight"),d=gs(a,"borderTop");a=gs(a,"borderBottom");return new _.Ir(d,c,a,b)}b=_.Mr(a,"borderLeftWidth");c=_.Mr(a,"borderRightWidth");d=_.Mr(a,"borderTopWidth");a=_.Mr(a,"borderBottomWidth");return new _.Ir(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.ey=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.P)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.P)(a.handleEvent,a);else throw Error("oa");return 2147483647<Number(b)?-1:_.C.setTimeout(a,b||0)};_.fy=function(a){_.C.clearTimeout(a)};_.gy=function(a){var b=null;return(new _.Ek(function(c,d){b=_.ey(function(){c(void 0)},a);-1==b&&d(Error("pa"))})).Jr(function(c){_.fy(b);throw c;})};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Fz=function(a){this.z_=a};_.Fz.prototype.toString=function(){return this.z_};
_.Gz=function(a){_.si.call(this);this.Fh=1;this.Av=[];this.Fv=0;this.Xe=[];this.Wh={};this.RP=!!a};_.O(_.Gz,_.si);_.h=_.Gz.prototype;_.h.subscribe=function(a,b,c){var d=this.Wh[a];d||(d=this.Wh[a]=[]);var e=this.Fh;this.Xe[e]=a;this.Xe[e+1]=b;this.Xe[e+2]=c;this.Fh=e+3;d.push(e);return e};_.h.Fr=_.ka(40);_.h.unsubscribe=function(a,b,c){if(a=this.Wh[a]){var d=this.Xe;if(a=_.gi(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.mj(a)}return!1};
_.h.mj=function(a){var b=this.Xe[a];if(b){var c=this.Wh[b];0!=this.Fv?(this.Av.push(a),this.Xe[a+1]=_.Za):(c&&_.ni(c,a),delete this.Xe[a],delete this.Xe[a+1],delete this.Xe[a+2])}return!!b};
_.h.Gn=function(a,b){var c=this.Wh[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.RP)for(e=0;e<c.length;e++){var g=c[e];Hz(this.Xe[g+1],this.Xe[g+2],d)}else{this.Fv++;try{for(e=0,f=c.length;e<f;e++)g=c[e],this.Xe[g+1].apply(this.Xe[g+2],d)}finally{if(this.Fv--,0<this.Av.length&&0==this.Fv)for(;c=this.Av.pop();)this.mj(c)}}return 0!=e}return!1};var Hz=function(a,b,c){_.Ck(function(){a.apply(b,c)})};
_.Gz.prototype.clear=function(a){if(a){var b=this.Wh[a];b&&(_.lb(b,this.mj,this),delete this.Wh[a])}else this.Xe.length=0,this.Wh={}};_.Gz.prototype.Fb=function(a){if(a){var b=this.Wh[a];return b?b.length:0}a=0;for(b in this.Wh)a+=this.Fb(b);return a};_.Gz.prototype.va=function(){_.Gz.T.va.call(this);this.clear();this.Av.length=0};
_.Iz=function(a){_.si.call(this);this.Gd=new _.Gz(a);_.vi(this,this.Gd)};_.O(_.Iz,_.si);_.h=_.Iz.prototype;_.h.subscribe=function(a,b,c){return this.Gd.subscribe(a.toString(),b,c)};_.h.Fr=_.ka(39);_.h.unsubscribe=function(a,b,c){return this.Gd.unsubscribe(a.toString(),b,c)};_.h.mj=function(a){return this.Gd.mj(a)};_.h.Gn=function(a,b){return this.Gd.Gn(a.toString(),b)};_.h.clear=function(a){this.Gd.clear(void 0!==a?a.toString():void 0)};
_.h.Fb=function(a){return this.Gd.Fb(void 0!==a?a.toString():void 0)};

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Jz=function(a,b){Array.isArray(b)||(b=[b]);b=_.nb(b,function(c){return"string"===typeof c?c:c.Dv+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Kr(a,"transition",b.join(","))};
_.Kz=_.Gb(function(){if(_.rc)return _.Nc("10.0");var a=_.Wd("DIV"),b=_.vc?"-webkit":_.uc?"-moz":_.rc?"-ms":_.qc?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.xr("div",{style:c});_.Cd(a,b);a=a.firstChild;b=a.style[_.yr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Jr(a,"transition")]||"")});

_.Mz=!1;_.Nz=function(){_.Lz="oauth2relay"+String(2147483647*(0,_.tg)()|0)};_.Oz=new _.Iz;_.Pz=new _.Fz("oauth");_.Nz();_.R("oauth-flow/client_id");var Qz=String(_.R("oauth-flow/redirectUri"));if(Qz)Qz.replace(/[#][\s\S]*/,"");else{var Rz=_.og.getOrigin(window.location.href);_.R("oauth-flow/callbackUrl");encodeURIComponent(Rz)}_.og.getOrigin(window.location.href);

_.Mz=!0;

var Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,vA,wA,xA,yA,zA,AA,BA,CA,DA,EA,FA,GA,HA,IA,LA,KA,MA,NA,OA,PA,QA,RA,TA,UA,WA;_.Sz=function(a,b){if(_.gh&&!b)return _.C.atob(a);var c="";_.pw(a,function(d){c+=String.fromCharCode(d)});return c};Tz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Uz=function(a){return _.yh("enableMultilogin")&&a("cookie_policy")&&!Tz(a)?!0:!1};
Xz=function(){var a,b=null;_.xz.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Py(c.substring(11)),!a||c.we&&!a.we||c.we==a.we&&c.jh>a.jh)&&(a=c,b=d)});return{aQ:a,authuser:b}};Yz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Zz=function(a){a=a.toUpperCase();for(var b=0,c=Yz.length;b<c;++b){var d=a.split(Yz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Qh,b.yw(a),a=b.Cg().toUpperCase());return a};
$z=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};aA=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],XY:$z(a[1]),i9:$z(a[2]),g8:$z(a[3])}};bA=function(a){var b=Xz(),c=b.aQ;b=b.authuser;var d=a&&Zz(a);if(null!==b){var e;_.xz.iterate(function(g,k){(g=_.Ry(g))&&g.vA&&(d&&g.tQ!=d||g.we==c.we&&g.jh==c.jh&&(e=k))});if(e){var f=aA(e);a=f&&f.XY[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Z9:a,clientId:f}}}return null};
cA=function(a,b){a=_.Mh(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};_.dA=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.rw(c,d):_.sw(d)};
eA=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.qg(a));var b=window.location.hostname,c=b,d=_.Qy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Cf("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 _.Cf("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,we:d,jh:b}};
fA=function(a){var b=eA(a);if(!b)return new _.Vy("G_USERSTATE_");a=["G_USERSTATE_",_.Qy&&b.we?"S":"H",b.jh].join("");var c=_.Bz[a];c||(c={pJ:63072E3},_.oe(_.Ez(b),c),c=new _.Sy(a,c),_.Bz[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};gA=function(a){var b=fA(a).read();a=_.me();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
hA=function(a,b,c){var d=gA(b),e=d[a];d[a]="0";var f=[];_.Wl(d,function(k,l){f.push(l+"="+k)});var g=f.join(":");b=fA(b);g?b.write(g):b.clear();d[a]!==e&&c&&c()};iA=function(a,b){b=gA(b);return"0"==b[a]||"X"==b[a]};jA=function(a){a=eA(a.g_user_cookie_policy);if(!a||a.we&&!_.Qy)a=null;else{var b=["G_AUTHUSER_",_.Qy&&a.we?"S":"H",a.jh].join(""),c=_.Az[b];c||(c=new _.xz(b,_.Ez(a)),_.Az[b]=c);a=c}_.Ge("googleapis.config/sessionIndex",null);a.clear()};kA=function(a){return Tz(function(b){return a[b]})};
lA=0;mA=!1;nA=[];oA={};pA={};qA=null;rA=function(a){var b=_.Lz;return function(c){if(this.f==b&&this.t==_.Jf.getAuthToken(this.f)&&this.origin==_.Jf.getTargetOrigin(this.f))return a.apply(this,arguments)}};sA=function(a){"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true"};tA=function(a){if(_.Mz&&a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("sa");};
uA=function(a){var b=_.Ne.getUrlParameters,c=b(a).jsh;if(null!=c)return tA(c),a;if(b=String(b().jsh||_.ye.h||""))tA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};vA=function(){return!!_.R("oauth-flow/usegapi")};wA=function(a,b){vA()?qA.unregister(a):_.Jf.unregister(a+":"+b)};xA=function(a,b,c){vA()?qA.register(a,c,_.Cm):_.Jf.register(a+":"+b,rA(c))};yA=function(){Vz.parentNode.removeChild(Vz)};
zA=function(a){var b=Vz;_.Jz(b,[{Dv:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Jz(b,[{Dv:"transform",duration:1,timing:"ease",delay:0}]);_.ey(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};AA=function(){var a=Wz+88;zA(a);Wz=a};BA=function(){var a=Wz-88;zA(a);Wz=a};
CA=function(a){var b=a?AA:BA,c=a?BA:AA;a=a?"-":"";Wz=parseInt(a+88,10);Vz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Vz.style.transform="translate3d(0px,"+a+88+"px,0px)";Vz.style.display="";Vz.style.visibility="visible";b();_.ey(c,4E3);_.ey(yA,5E3)};
DA=function(a){var b=_.R("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Vz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Kr(c,"visibility","hidden");_.Kr(c,b,"-40px");_.Kr(c,"height","128px");var d=c;if("desktop"==_.R("deviceType")){d=document.createElement("div");d.style.cssText="float:left;position:relative;left:50%;";c.appendChild(d);var e=document.createElement("div");e.style.cssText="float:left;position:relative;left:-50%";d.appendChild(e);
d=e}e="top"==b?"-":"";Wz=parseInt(e+88,10);Vz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Vz.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){}_.Xl.Ih({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?CA(!0):CA(!1)}})};
EA=function(a){var b=_.on(),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==_.tj.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
FA=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=_.R("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!=bA(c)||!kA(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};GA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.xf(_.Sz(a,!0));if(!1===a)throw Error("ta");return a};HA=function(a){return(a=GA(a))?a.sub:null};
IA=function(a){a&&nA.push(a);a=_.Lz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(lA&&6E4>c-lA)return;var d=_.Jf.getAuthToken(a);d&&(wA("oauth2relayReady",d),wA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Nz();a=_.Lz}lA=c;var e=String(2147483647*(0,_.tg)()|0);b=_.R("oauth-flow/proxyUrl")||_.R("oauth-flow/relayUrl");vA()?qA=_.Xl.Ih({where:_.Ne.getBodyElement(),url:b,id:a,attributes:{style:{width:"1px",
height:"1px",position:"absolute",top:"-100px",display:"none"},"aria-hidden":"true"},dontclear:!0}):(b=[b,"?parent=",encodeURIComponent(_.og.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ne.getBodyElement(),d=_.Ne.createIframeElement({name:a,id:a}),d.src=uA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,sA(d),c.appendChild(d),_.Jf.setupReceiver(a));xA("oauth2relayReady",e,function(){wA("oauth2relayReady",e);
var f=nA;if(null!==f){nA=null;for(var g=0,k=f.length;g<k;++g)f[g]()}});xA("oauth2callback",e,function(f){var g=_.Ne.getUrlParameters;g=g(f);var k=g.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(pA,f)?pA[f]:null;g.state=f;if(null!=g.state){f=oA[k];delete oA[k];k=f&&f.key||"token";var l=g=FA(f&&f.params,g);var m=(m=HA(l))?iA(m,l.cookie_policy):!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&_.R("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",mA||(mA=
!0,DA(l)));_.dA(k,g);g=cA(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(n){}f.callback&&(f.callback(g),f.callback=null)}}})};_.JA=function(a){null!==nA?IA(a):a&&a()};LA=function(a,b){var c=KA,d=HA(a);d&&(jA(a),hA(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=FA(null,e);c(e)}}))};
KA=function(a){a||(a=cA(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||(_.ye.drw=null);_.dA(a);if(b=a.authuser)_.R("googleapis.config/sessionIndex"),_.Ge("googleapis.config/sessionIndex",b);_.Oz.Gn(_.Pz,a);return a};MA=["client_id","cookie_policy","response_type"];NA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
OA=function(a){var b=_.jk(a);b.session_state&&b.session_state.extraQueryParams&&(b.authuser=b.session_state.extraQueryParams.authuser);b.session_state=null;a.expires_at&&(b.expires_at=parseInt(a.expires_at/1E3).toString());a.expires_in&&(b.expires_in=a.expires_in.toString());a.first_issued_at&&(b.issued_at=parseInt(a.first_issued_at/1E3).toString(),delete b.first_issued_at);_.rw(b);return b};
PA=function(a){if(void 0===a.include_granted_scopes){var b=_.R("include_granted_scopes");a.include_granted_scopes=!!b}};QA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
RA=function(a){var b=a||{},c={};_.lb(NA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.R("googleapis/overrideClientId");null!=a&&(c.client_id=a);PA(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{_.ix(c.cookie_policy)}catch(d){c.cookie_policy&&
QA("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||_.R("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
_.SA=function(a,b){var c=RA(a),d=new _.Ek(function(e,f){_.Ox(c,function(g){var k=g||{};_.lb(MA,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(g=OA(k),null!=g.authuser&&_.Ge("googleapis.config/sessionIndex",g.authuser),e(g))})});b&&d.then(b,b);return d};TA=_.Kh.OG;UA=null;
_.XA=function(a,b){if("force"!==a.approvalprompt){a=_.VA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)UA?(a.client_id!==UA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(UA=a,b=!1);b||WA(a)}};
_.VA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.qb)((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,_.qb)(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||_.R("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.R("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};WA=function(a){_.fo("waaf0","signin","0");_.SA(a,function(b){_.fo("waaf1","signin","0");KA(b)})};
_.YA=function(a){a=_.VA(a);_.Ge("oauth-flow/authWindowWidth",445);_.Ge("oauth-flow/authWindowHeight",615);WA(a)};_.ZA=function(a){_.Oz.unsubscribe(_.Pz,a);_.Oz.subscribe(_.Pz,a)};
var fB,iB;_.aB=function(a){return a.cookiepolicy?!0:(_.$A("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.$A=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.eB=function(a,b){var c=_.on();_.oe(a,c);c=EA(c);if(_.aB(c)){var d=_.bB();_.cB(c);b?_.xe(b,"click",function(){_.dB(c,d)}):_.dB(c,d)}};
_.bB=function(){var a=new fB;_.ZA(function(b){a.QA&&b&&(b.access_token&&_.Ge("isPlusUser",!0),b["g-oauth-window"]&&(a.QA=!1,_.Ef("OTA app install is no longer supported.")))});return a};fB=function(){this.QA=!1};_.cB=function(a){a=_.gB(a);_.hB(a.callback);_.JA(function(){_.XA(a)})};_.gB=function(a){iB(a);a.redirecturi&&delete a.redirecturi;Uz(function(b){return a[b]})||(a.authuser=0);return a};iB=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.hB=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.$A('Callback function named "'+a+'" not found');return}a&&_.ZA(a)};_.dB=function(a,b){b.QA=!0;a=_.gB(a);_.YA(a)};
_.K("gapi.auth.authorize",_.SA);_.K("gapi.auth.checkSessionState",function(a,b){var c=_.me();c.client_id=a.client_id;c.session_state=a.session_state;_.JA(function(){vA()?qA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Cm):_.Jf.call(_.Lz,"check_session_state",rA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.K("gapi.auth.getAuthHeaderValueForFirstParty",TA);_.K("gapi.auth.getToken",cA);
_.K("gapi.auth.getVersionInfo",function(a,b){_.JA(function(){var c=_.Ih()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?vA()?qA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Cm):_.Jf.call(_.Lz,"get_versioninfo",rA(function(f){a(f)}),d,b):a()})});_.K("gapi.auth.init",_.JA);_.K("gapi.auth.setToken",_.dA);_.K("gapi.auth.signIn",function(a){_.eB(a)});_.K("gapi.auth.signOut",function(){var a=cA();a&&LA(a,a.cookie_policy)});
_.K("gapi.auth.unsafeUnpackIdToken",GA);_.K("gapi.auth._pimf",_.XA);_.K("gapi.auth._oart",DA);_.K("gapi.auth._guss",function(a){return fA(a).read()});

_.jB=function(a){return!!(a.clientid&&a.scope&&a.callback)};_.kB=function(){var a=_.on();_.jB(a)&&!_.R("disableRealtimeCallback")?_.cB(a):_.JA()};_.uk(function(){_.kB()});

_.kB=function(){var a=_.on();_.jB(a)&&!_.R("disableRealtimeCallback")&&_.cB(a)};

});
// Google Inc.
