gapi.loaded_1(function(_){var window=this;
_.Vg=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Fb(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};_.Wg=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.Db(f)?"o"+_.Hb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};
_.Xg=function(a,b){a.src=_.bc(b);var c,d;(c=(b=null==(d=(c=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:d.call(c,"script[nonce]"))?b.nonce||b.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",c)};_.Yg=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 Zg,$g,bh;Zg={};$g=null;_.ah=_.ed||_.fd||!_.Ug&&!_.bd&&"function"==typeof _.Xa.atob;_.ch=function(a,b){void 0===b&&(b=0);bh();b=Zg[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var h=a[e],k=a[e+1],l=a[e+2],m=b[h>>2];h=b[(h&3)<<4|k>>4];k=b[(k&15)<<2|l>>6];l=b[l&63];c[f++]=m+h+k+l}m=0;l=d;switch(a.length-e){case 2:m=a[e+1],l=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+l+d}return c.join("")};
_.dh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=$g[m];if(null!=n)return n;if(!_.ic(m))throw Error("D`"+m);}return l}bh();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),k=c(64);if(64===k&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=k&&b(h<<6&192|k))}};
bh=function(){if(!$g){$g={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Zg[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===$g[f]&&($g[f]=e)}}}};

_.yh={};
var Ah;_.zh=function(a){this.wb=a||{cookie:""}};_.g=_.zh.prototype;_.g.isEnabled=function(){if(!_.Xa.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{UE:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0};
_.g.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.aga;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.UE}if(/[;=\s]/.test(a))throw Error("G`"+a);if(/[;\r\n]/.test(b))throw Error("H`"+b);void 0===k&&(k=-1);this.wb.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.wb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.jc)(d[e]);if(0==f.lastIndexOf(c,0))return f.slice(c.length);if(f==a)return""}return b};_.g.remove=function(a,b,c){var d=this.Vh(a);this.set(a,"",{UE:0,path:b,domain:c});return d};_.g.Uf=function(){return Ah(this).keys};_.g.Wc=function(){return Ah(this).values};_.g.isEmpty=function(){return!this.wb.cookie};_.g.Ib=function(){return this.wb.cookie?(this.wb.cookie||"").split(";").length:0};
_.g.Vh=function(a){return void 0!==this.get(a)};_.g.nj=function(a){for(var b=Ah(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Ah(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Ah=function(a){a=(a.wb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.jc)(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
_.Bh=new _.zh("undefined"==typeof document?null:document);

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

var ni,pi;_.mi=function(a,b){b=(0,_.gb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};ni=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.oi=function(a){for(var b in a)return!1;return!0};_.qi=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<pi.length;f++)c=pi[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.ri=function(a){a&&"function"==typeof a.Ha&&a.Ha()};
_.ti=function(a,b){a=a.split(".");b=b||_.Xa;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};pi="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");_.ui=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.vi=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};
_.wi=function(){this.vg=this.vg;this.hn=this.hn};_.wi.prototype.vg=!1;_.wi.prototype.isDisposed=function(){return this.vg};_.wi.prototype.Ha=function(){this.vg||(this.vg=!0,this.ta())};_.yi=function(a,b){_.xi(a,_.gi(_.ri,b))};_.xi=function(a,b){a.vg?b():(a.hn||(a.hn=[]),a.hn.push(b))};_.wi.prototype.ta=function(){if(this.hn)for(;this.hn.length;)this.hn.shift()()};
_.zi=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.tt=!1};_.zi.prototype.stopPropagation=function(){this.tt=!0};_.zi.prototype.preventDefault=function(){this.defaultPrevented=!0};
var Ai=function(){if(!_.Xa.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.Xa.addEventListener("test",function(){},b),_.Xa.removeEventListener("test",function(){},b)}catch(c){}return a}();
_.Bi=function(a,b){_.zi.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.KF=!1;this.pointerId=0;this.pointerType="";this.Ge=null;a&&this.xd(a,b)};_.$a(_.Bi,_.zi);var Ci={2:"touch",3:"pen",4:"mouse"};
_.Bi.prototype.xd=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)?_.ed&&(_.$c(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=_.fd||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.fd||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.KF=_.hd?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.Ge=a;a.defaultPrevented&&_.Bi.H.preventDefault.call(this)};_.Bi.prototype.stopPropagation=function(){_.Bi.H.stopPropagation.call(this);this.Ge.stopPropagation?this.Ge.stopPropagation():this.Ge.cancelBubble=!0};_.Bi.prototype.preventDefault=function(){_.Bi.H.preventDefault.call(this);var a=this.Ge;a.preventDefault?a.preventDefault():a.returnValue=!1};
_.Di="closure_listenable_"+(1E6*Math.random()|0);_.Ei=function(a){return!(!a||!a[_.Di])};
var Fi=0;
var Gi=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.tf=e;this.key=++Fi;this.xt=this.tv=!1},Hi=function(a){a.xt=!0;a.listener=null;a.proxy=null;a.src=null;a.tf=null};
var Ii=function(a){this.src=a;this.Sd={};this.vu=0};Ii.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Sd[f];a||(a=this.Sd[f]=[],this.vu++);var h=Ji(a,b,d,e);-1<h?(b=a[h],c||(b.tv=!1)):(b=new Gi(b,this.src,f,!!d,e),b.tv=c,a.push(b));return b};Ii.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Sd))return!1;var e=this.Sd[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.Sd[a],this.vu--),!0):!1};
var Ki=function(a,b){var c=b.type;if(!(c in a.Sd))return!1;var d=_.mi(a.Sd[c],b);d&&(Hi(b),0==a.Sd[c].length&&(delete a.Sd[c],a.vu--));return d};Ii.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Sd)if(!a||c==a){for(var d=this.Sd[c],e=0;e<d.length;e++)++b,Hi(d[e]);delete this.Sd[c];this.vu--}return b};Ii.prototype.Po=function(a,b,c,d){a=this.Sd[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 ni(this.Sd,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var Ji=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.xt&&f.listener==b&&f.capture==!!c&&f.tf==d)return e}return-1};
var Li,Mi,Ni,Ri,Ti,Ui,Vi,Yi;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,_.Db(d)?!!d.capture:!!d,e):Ri(a,b,c,!1,d,e)};
Ri=function(a,b,c,d,e,f){if(!b)throw Error("I");var h=_.Db(e)?!!e.capture:!!e,k=_.Si(a);k||(a[Li]=k=new Ii(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Ti();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ai||(e=h),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("J");Ni++;return c};Ti=function(){var a=Vi,b=function(c){return a.call(b.src,b.listener,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.Ap(b,c,_.Db(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=_.Db(d)?!!d.capture:!!d,c=_.Qi(c),_.Ei(a)?a.qc(b,c,d,e):a&&(a=_.Si(a))&&(b=a.Po(b,c,d,e))&&_.Xi(b)};
_.Xi=function(a){if("number"===typeof a||!a||a.xt)return!1;var b=a.src;if(_.Ei(b))return b.TI(a);var c=a.type,d=a.proxy;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.vu&&(c.src=null,b[Li]=null)):Hi(a);return!0};Ui=function(a){return a in Mi?Mi[a]:Mi[a]="on"+a};
Vi=function(a,b){if(a.xt)a=!0;else{b=new _.Bi(b,this);var c=a.listener,d=a.tf||a.src;a.tv&&_.Xi(a);a=c.call(d,b)}return a};_.Si=function(a){a=a[Li];return a instanceof Ii?a:null};Yi="__closure_events_fn_"+(1E9*Math.random()>>>0);_.Qi=function(a){if("function"===typeof a)return a;a[Yi]||(a[Yi]=function(b){return a.handleEvent(b)});return a[Yi]};_.li(function(a){Vi=a(Vi)});
_.Zi=function(){_.wi.call(this);this.xj=new Ii(this);this.VV=this;this.FF=null};_.$a(_.Zi,_.wi);_.Zi.prototype[_.Di]=!0;_.g=_.Zi.prototype;_.g.Dm=function(){return this.FF};_.g.Wz=_.ba(3);_.g.addEventListener=function(a,b,c,d){_.Pi(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Wi(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Dm();if(c)for(b=[];c;c=c.Dm())b.push(c);c=this.VV;var d=a.type||a;if("string"===typeof a)a=new _.zi(a,c);else if(a instanceof _.zi)a.target=a.target||c;else{var e=a;a=new _.zi(d,c);_.qi(a,e)}e=!0;if(b)for(var f=b.length-1;!a.tt&&0<=f;f--){var h=a.currentTarget=b[f];e=h.Gr(d,!0,a)&&e}a.tt||(h=a.currentTarget=c,e=h.Gr(d,!0,a)&&e,a.tt||(e=h.Gr(d,!1,a)&&e));if(b)for(f=0;!a.tt&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Gr(d,!1,a)&&e;return e};
_.g.ta=function(){_.Zi.H.ta.call(this);this.ZF();this.FF=null};_.g.V=function(a,b,c,d){return this.xj.add(String(a),b,!1,c,d)};_.g.Ap=function(a,b,c,d){return this.xj.add(String(a),b,!0,c,d)};_.g.qc=function(a,b,c,d){return this.xj.remove(String(a),b,c,d)};_.g.TI=function(a){return Ki(this.xj,a)};_.g.ZF=function(){this.xj&&this.xj.removeAll(void 0)};
_.g.Gr=function(a,b,c){a=this.xj.Sd[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.xt&&f.capture==b){var h=f.listener,k=f.tf||f.src;f.tv&&this.TI(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Po=function(a,b,c,d){return this.xj.Po(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.xj.hasListener(void 0!==a?String(a):void 0,b)};

var ds;ds=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.es=function(a,b,c,d){return Array.prototype.splice.apply(a,ds(arguments,1))};_.fs=function(a,b,c){if(null!==a&&b in a)throw Error("j`"+b);a[b]=c};_.Id.prototype.N=_.bb(1,function(a){return _.fi(this.wb,a)});
_.gs=function(a,b){var c=b||document;if(c.getElementsByClassName)a=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;a=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):_.Ld(c,"*",a,b)[0]||null}return a||null};_.hs=function(a){var b;if(_.yd&&(b=a.parentElement))return b;b=a.parentNode;return _.Zd(b)?b:null};_.is=function(a){_.wi.call(this);this.je=a;this.Rb={}};_.$a(_.is,_.wi);var js=[];_.is.prototype.V=function(a,b,c,d){return this.Os(a,b,c,d)};
_.is.prototype.Os=function(a,b,c,d,e){Array.isArray(b)||(b&&(js[0]=b.toString()),b=js);for(var f=0;f<b.length;f++){var h=_.Pi(a,b[f],c||this.handleEvent,d||!1,e||this.je||this);if(!h)break;this.Rb[h.key]=h}return this};_.is.prototype.Ap=function(a,b,c,d){return ks(this,a,b,c,d)};var ks=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)ks(a,b,c[h],d,e,f);else{b=_.Oi(b,c,d||a.handleEvent,e,f||a.je||a);if(!b)return a;a.Rb[b.key]=b}return a};
_.is.prototype.qc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.qc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Db(d)?!!d.capture:!!d,e=e||this.je||this,c=_.Qi(c),d=!!d,b=_.Ei(a)?a.Po(b,c,d,e):a?(a=_.Si(a))?a.Po(b,c,d,e):null:null,b&&(_.Xi(b),delete this.Rb[b.key]);return this};_.is.prototype.removeAll=function(){_.lb(this.Rb,function(a,b){this.Rb.hasOwnProperty(b)&&_.Xi(a)},this);this.Rb={}};_.is.prototype.ta=function(){_.is.H.ta.call(this);this.removeAll()};
_.is.prototype.handleEvent=function(){throw Error("R");};

var bu,cu,du,eu,fu,hu,iu,ju,ku,mu;_.au=!1;bu=function(a){try{_.au&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};cu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};du=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};
eu=function(a,b){function c(){}if(!a)throw Error("U");if(!b)throw Error("V");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};fu=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.gu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};hu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
iu=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("W`"+b);};ju={token:1,id_token:1};ku=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.lu=window.JSON;mu=function(a){this.kJ=a||[];this.Wb={}};
mu.prototype.addEventListener=function(a,b){if(!(0<=du(this.kJ,a)))throw Error("Y`"+a);if(!fu(b))throw Error("Z`"+a);this.Wb[a]||(this.Wb[a]=[]);0>du(this.Wb[a],b)&&this.Wb[a].push(b)};mu.prototype.removeEventListener=function(a,b){if(!(0<=du(this.kJ,a)))throw Error("Y`"+a);fu(b)&&this.Wb[a]&&this.Wb[a].length&&(b=du(this.Wb[a],b),0<=b&&this.Wb[a].splice(b,1))};
mu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=du(this.kJ,b)))throw Error("$`"+b);if(this.Wb[b]&&this.Wb[b].length)for(var c=this.Wb[b].length,d=0;d<c;d++)this.Wb[b][d](a)};
var nu,ou,pu,tu,uu,Lu,Mu,Ou,Pu,Ru,av;nu={};ou={};pu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.qu=function(a,b){if(a=pu[a])return a[b]};_.ru=function(a,b){if(!a)throw Error("aa");if(!b.authServerUrl)throw Error("ba");if(!b.idpIFrameUrl)throw Error("ca");pu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.su=void 0;
tu=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")};uu=function(){this.u6=window;this.Ov=this.bm=this.ot=this.Gh=null};
uu.prototype.open=function(a,b,c,d){vu(this);this.ot?(this.bm&&(this.bm(),this.bm=null),wu(this)):this.ot="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Gh=this.u6.open(a,this.ot,b);try{this.Gh.focus();if(this.Gh.closed||"undefined"==typeof this.Gh.closed)throw Error("ea");_.su=this.Gh}catch(e){d&&setTimeout(d,0);this.Gh=null;break a}c&&(this.bm=c,xu(this))}};
var vu=function(a){try{if(null==a.Gh||a.Gh.closed)a.Gh=null,a.ot=null,wu(a),a.bm&&(a.bm(),a.bm=null)}catch(b){a.Gh=null,a.ot=null,wu(a)}},xu=function(a){a.Ov=window.setInterval(function(){vu(a)},300)},wu=function(a){a.Ov&&(window.clearInterval(a.Ov),a.Ov=null)};ou=ou||{};var yu=function(a,b){this.Sb=a;this.uE=b;this.jd=null;this.Nm=!1};yu.prototype.start=function(){if(!this.Nm&&!this.jd){var a=this;this.jd=window.setTimeout(function(){a.clear();a.Nm||(a.Sb(),a.Nm=!0)},ou.uN(this.uE))}};
yu.prototype.clear=function(){this.jd&&(window.clearTimeout(this.jd),this.jd=null)};var zu=function(a,b){var c=ou.Rq;this.V_=ou.Lq;this.bT=c;this.Sb=a;this.uE=b;this.jd=null;this.Nm=!1;var d=this;this.cT=function(){document[d.V_]||(d.clear(),d.start())}};zu.prototype.start=function(){if(!this.Nm&&!this.jd){iu(document,this.bT,this.cT);var a=this;this.jd=window.setTimeout(function(){a.clear();a.Nm||(a.Sb(),a.Nm=!0)},ou.uN(this.uE))}};
zu.prototype.clear=function(){var a=this.bT,b=this.cT,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("X`"+a);this.jd&&(window.clearTimeout(this.jd),this.jd=null)};ou.Lq=null;ou.Rq=null;
ou.r0=function(){var a=document;"undefined"!==typeof a.hidden?(ou.Lq="hidden",ou.Rq="visibilitychange"):"undefined"!==typeof a.msHidden?(ou.Lq="msHidden",ou.Rq="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(ou.Lq="webkitHidden",ou.Rq="webkitvisibilitychange")};ou.r0();ou.bX=function(a,b){return ou.Lq&&ou.Rq?new zu(a,b):new yu(a,b)};ou.uN=function(a){return Math.max(1,a-(new Date).getTime())};
var Au=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Bu=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 p=h,t=0;64>t;t+=4)p[t/4]=r[t]<<24|r[t+1]<<16|r[t+2]<<8|r[t+3];for(t=16;80>t;t++)r=p[t-3]^p[t-8]^p[t-14]^p[t-16],p[t]=(r<<1|r>>>31)&4294967295;r=e[0];var v=e[1],q=e[2],w=e[3],A=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var B=w^v&(q^w);var F=1518500249}else B=
v^q^w,F=1859775393;else 60>t?(B=v&q|w&(v|q),F=2400959708):(B=v^q^w,F=3395469782);B=((r<<5|r>>>27)&4294967295)+B+A+F+p[t]&4294967295;A=w;w=q;q=(v<<30|v>>>2)&4294967295;v=r;r=B}e[0]=e[0]+r&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+q&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+A&4294967295}function c(r,p){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var t=[],v=0,q=r.length;v<q;++v)t.push(r.charCodeAt(v));r=t}p||(p=r.length);t=0;if(0==m)for(;t+64<p;)b(r.slice(t,t+64)),t+=64,n+=64;for(;t<
p;)if(f[m++]=r[t++],n++,64==m)for(m=0,b(f);t+64<p;)b(r.slice(t,t+64)),t+=64,n+=64}function d(){var r=[],p=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var t=63;56<=t;t--)f[t]=p&255,p>>>=8;b(f);for(t=p=0;5>t;t++)for(var v=24;0<=v;v-=8)r[p++]=e[t]>>v&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var m,n;a();return{reset:a,update:c,digest:d,Wh:function(){for(var r=d(),p="",t=0;t<r.length;t++)p+="0123456789ABCDEF".charAt(Math.floor(r[t]/16))+"0123456789ABCDEF".charAt(r[t]%16);return p}}},Cu=
window.crypto,Du=!1,Eu=0,Fu=1,Gu=0,Hu="",Iu=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Fu=Fu*b%Gu;if(3==++Eu)if(a=window,b=Iu,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("X`mousemove");},Ju=function(a){var b=Bu();b.update(a);return b.Wh()};Du=!!Cu&&"function"==typeof Cu.getRandomValues;
Du||(Gu=1E6*(screen.width*screen.width+screen.height),Hu=Ju(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),iu(window,"mousemove",Iu));nu=nu||{};nu.TT="ssIFrame_";
_.Ku=function(a,b,c){c=void 0===c?!1:c;this.Bb=a;if(!this.Bb)throw Error("fa");a=_.qu(a,"idpIFrameUrl");if(!a)throw Error("ga");this.lO=a;if(!b)throw Error("ha");this.El=b;a=this.lO;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.eE=a.join("");this.W3=[location.protocol,"//",location.host].join("");
this.ju=this.dE=this.Qm=!1;this.hO=null;this.Ey=[];this.Qp=[];this.jj={};this.Rm=void 0;this.Bq=c};_.g=_.Ku.prototype;_.g.show=function(){var a=this.Rm;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.g.Ub=function(){tu(this.Rm)};
_.g.gy=function(a){if(this.Qm)a&&a(this);else{if(!this.Rm){var b=nu.TT+this.Bb;var c=this.Bb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=du(e.split("|"),c))?Au(e,d):Au(e?e+"|"+c:c,d);c=!f;var h=this.lO,k=this.W3;d=this.El;e=this.Bq;e=void 0===e?!1:e;f=document.createElement("iframe");f.setAttribute("id",b);b=f.setAttribute;var l="allow-scripts allow-same-origin";document.requestStorageAccess&&fu(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);tu(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.au&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Rm=f}a&&this.Ey.push(a)}};_.g.Qx=function(){return this.Qm&&this.ju};_.g.Bm=function(){return this.hO};
Lu=function(a){for(var b=0;b<a.Ey.length;b++)a.Ey[b](a);a.Ey=[]};_.Nu=function(a,b,c,d){if(a.Qm){if(a.Qm&&a.dE)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Bm(),bu(a),Error(a);Mu(a,{method:b,params:c},d)}else a.Qp.push({zn:{method:b,params:c},callback:d}),a.gy()};Mu=function(a,b,c){if(c){for(var d=b.id;!d||a.jj[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.jj[d]=c}b.rpcToken=a.El;a.Rm.contentWindow.postMessage(_.lu.stringify(b),a.eE)};
Ou=function(a){if(a&&0<=a.indexOf("::"))throw Error("ia");};_.Ku.prototype.Hi=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Ou(f);b=_.gu(b);_.Nu(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Ku.prototype.ey=function(a,b,c,d,e){b=_.gu(b);_.Nu(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Pu=function(a,b,c){Ou(b.identifier);_.Nu(a,"getSessionSelector",b,c)};
_.Qu=function(a,b,c,d,e){Ou(b.identifier);_.Nu(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Ru=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Nu(a,"monitorClient",b,e)};_.Ku.prototype.revoke=_.ba(9);_.Ku.prototype.jr=_.ba(11);nu.vx={};nu.cD=function(a){return nu.vx[a]};
nu.gy=function(a,b,c){c=void 0===c?!1:c;var d=nu.cD(a);if(!d){d=String;if(Du){var e=new window.Uint32Array(1);Cu.getRandomValues(e);e=Number("0."+e[0])}else e=Fu,e+=parseInt(Hu.substr(0,20),16),Hu=Ju(Hu),e/=Gu+Math.pow(16,20);d=new _.Ku(a,d(2147483647*e),c);nu.vx[a]=d}d.gy(b)};nu.BY=function(a){for(var b in nu.vx){var c=nu.cD(b);if(c&&c.Rm&&c.Rm.contentWindow==a.source&&c.eE==a.origin)return c}};nu.gZ=function(a){for(var b in nu.vx){var c=nu.cD(b);if(c&&c.eE==a)return c}};nu=nu||{};
var Tu=function(){var a=[],b;for(b in Su)a.push(Su[b]);mu.call(this,a);this.Xk={};bu("EventBus is ready.")};eu(Tu,mu);var Su={mV:"sessionSelectorChanged",fB:"sessionStateChanged",QA:"authResult",FT:"displayIFrame"},Vu=function(a,b){var c=Uu;a&&b&&(c.Xk[a]||(c.Xk[a]=[]),0>du(c.Xk[a],b)&&c.Xk[a].push(b))},Wu=function(a){var b=Uu;a&&(b.Xk[a]||(b.Xk[a]=[]))},Xu=function(a,b,c){return b&&a.Xk[b]&&0<=du(a.Xk[b],c)};_.g=Tu.prototype;
_.g.a3=function(a){var b,c=!!a.source&&(a.source===_.su||a.source.opener===window);if(b=c?nu.gZ(a.origin):nu.BY(a)){try{var d=_.lu.parse(a.data)}catch(e){bu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.El){bu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.jj[c.id])delete b.jj[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?bu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.kO[a.type]?(d=this.kO[a.type],
c&&!d.ZV?bu("Bad IDP event. Source window cannot be a popup."):d.Gq&&!d.Gq.call(this,b,a)?bu("Bad IDP event."):d.tf.call(this,b,a)):bu("Bad IDP event.")}else bu("Bad event, no corresponding Idp Stub.")};_.g.w4=function(a,b){return Xu(this,a.Bb,b.clientId)};_.g.v4=function(a,b){b=b.clientId;return!b||Xu(this,a.Bb,b)};_.g.kW=function(a,b){return Xu(this,a.Bb,b.clientId)};_.g.g2=function(a,b){a.Qm=!0;a.ju=!!b.cookieDisabled;Lu(a);for(b=0;b<a.Qp.length;b++)Mu(a,a.Qp[b].zn,a.Qp[b].callback);a.Qp=[]};
_.g.f2=function(a,b){b={error:b.error};a.Qm=!0;a.dE=!0;a.hO=b;a.Qp=[];Lu(a)};_.g.hz=function(a,b){b.originIdp=a.Bb;this.dispatchEvent(b)};var Uu=new Tu,Yu=Uu,Zu={};Zu.idpReady={tf:Yu.g2};Zu.idpError={tf:Yu.f2};Zu.sessionStateChanged={tf:Yu.hz,Gq:Yu.w4};Zu.sessionSelectorChanged={tf:Yu.hz,Gq:Yu.v4};Zu.authResult={tf:Yu.hz,Gq:Yu.kW,ZV:!0};Zu.displayIFrame={tf:Yu.hz};Uu.kO=Zu||{};iu(window,"message",function(a){Uu.a3.call(Uu,a)});
_.$u=function(a,b){this.ye=!1;if(!a)throw Error("ja");var c=[],d;for(d in a)c.push(a[d]);mu.call(this,c);this.Ad=[location.protocol,"//",location.host].join("");this.de=b.crossSubDomains?b.domain||this.Ad:this.Ad;if(!b)throw Error("ka");if(!b.idpId)throw Error("la");if(!_.qu(b.idpId,"authServerUrl")||!_.qu(b.idpId,"idpIFrameUrl"))throw Error("ma`"+b.idpId);this.Bb=b.idpId;this.Tb=void 0;this.iX=!!b.disableTokenRefresh;this.aY=!!b.forceTokenRefresh;this.v5=!!b.skipTokenCache;this.Bq=!!b.supportBlocked3PCookies;
b.pluginName&&(this.R2=b.pluginName);b.ackExtensionDate&&(this.RV=b.ackExtensionDate);this.setOptions(b);this.ur=[];this.ju=this.Cj=this.RO=!1;this.zi=void 0;this.LQ();this.wd=void 0;var e=this,f=function(){bu("Token Manager is ready.");if(e.ur.length)for(var h=0;h<e.ur.length;h++)e.ur[h].call(e);e.RO=!0;e.ur=[]};nu.gy(this.Bb,function(h){e.wd=h;h.Qm&&h.dE?(e.Cj=!0,e.zi=h.Bm(),e.Jp(e.zi)):(e.ju=h.Qx(),e.Tb?Ru(e.wd,e.Tb,e.R2,e.RV,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
(e.zi={error:"Invalid value for ack_extension_date. Please refer to [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Cj=!0,e.Jp(e.zi)):l?m?n?(cu("You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Vu(e.Bb,e.Tb),f()):(e.zi={error:"You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Cj=!0,e.Jp(e.zi)):(cu("Your client application uses libraries for user authentication or authorization that will soon be deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Vu(e.Bb,e.Tb),f()):(e.zi={error:"Not a valid origin for the client: "+e.Ad+" has not been registered for client ID "+e.Tb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Cj=!0,e.Jp(e.zi))}):(Wu(e.Bb),f()))},this.Bq)};eu(_.$u,mu);_.g=_.$u.prototype;_.g.setOptions=function(){};_.g.LQ=function(){};_.g.Jp=function(){};_.g.Qx=function(){return this.ju};_.g.Bm=function(){return this.zi};av=function(a,b,c){return function(){b.apply(a,c)}};
_.bv=function(a,b,c){if(a.RO)b.apply(a,c);else{if(a.Cj)throw a.zi;a.ur.push(av(a,b,c))}};_.$u.prototype.UK=_.ba(12);_.$u.prototype.jr=_.ba(10);
_.dv=function(a,b){_.$u.call(this,a,b);this.vQ=new uu;this.Mj=this.nn=null;cv(this)};eu(_.dv,_.$u);_.dv.prototype.setOptions=function(){};
var ev=function(a,b){a.ve={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.de};b.crossSubDomains&&(a.ve.policy=b.policy)},fv=function(a,b){if(!b.authParameters)throw Error("na");if(!b.authParameters.scope)throw Error("oa");if(!b.authParameters.response_type)throw Error("pa");a.Wq=b.authParameters;a.Wq.redirect_uri||(a.Wq.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Mi=_.gu(b.rpcAuthParameters||a.Wq);if(!a.Mi.scope)throw Error("qa");if(!a.Mi.response_type)throw Error("ra");
a:{var c=a.Mi.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!ju[c[d]]){c=!0;break a}c=!1}if(c)throw Error("sa");b.enableSerialConsent&&(a.Mi.enable_serial_consent=!0);b.authResultIdentifier&&(a.lW=b.authResultIdentifier);b.spec_compliant&&(a.Mi.spec_compliant=b.spec_compliant)};
_.dv.prototype.LQ=function(){var a=this;Uu.addEventListener(Su.mV,function(b){a.ye&&a.ve&&b.originIdp==a.Bb&&!b.crossSubDomains==!a.ve.crossSubDomains&&b.domain==a.ve.domain&&b.id==a.ve.id&&a.eQ(b)});Uu.addEventListener(Su.fB,function(b){a.ye&&b.originIdp==a.Bb&&b.clientId==a.Tb&&a.fQ(b)});Uu.addEventListener(Su.QA,function(b){_.su=void 0;a.ye&&b.originIdp==a.Bb&&b.clientId==a.Tb&&b.id==a.Ij&&(a.nn&&(window.clearTimeout(a.nn),a.nn=null),a.Ij=void 0,a.bt(b))});Uu.addEventListener(Su.FT,function(b){a.ye&&
b.originIdp==a.Bb&&(b.Ub?a.wd.Ub():a.wd.show())})};_.dv.prototype.eQ=function(){};_.dv.prototype.fQ=function(){};_.dv.prototype.bt=function(){};var hv=function(a,b){gv(a);a.iX||(a.Mj=ou.bX(function(){a.Hi(!0)},b-3E5),navigator.onLine&&a.Mj.start())},gv=function(a){a.Mj&&(a.Mj.clear(),a.Mj=null)},cv=function(a){var b=window;ku()&&(b=document.body);iu(b,"online",function(){a.Mj&&a.Mj.start()});iu(b,"offline",function(){a.Mj&&a.Mj.clear()})};_.dv.prototype.Hi=function(){};_.dv.prototype.LP=_.ba(13);
_.dv.prototype.a1=function(a,b){if(!this.Tb)throw Error("wa");this.wd.ey(this.Tb,this.Mi,this.ve,a,b)};_.dv.prototype.ey=function(a,b){_.bv(this,this.a1,[a,b])};_.jv=function(a){this.ne=void 0;this.hh=!1;this.fq=void 0;_.dv.call(this,_.iv,a)};eu(_.jv,_.dv);_.iv={NJ:"noSessionBound",Qq:"userLoggedOut",mT:"activeSessionChanged",fB:"sessionStateChanged",aK:"tokenReady",GV:"tokenFailed",QA:"authResult",ERROR:"error"};
_.jv.prototype.setOptions=function(a){if(!a.clientId)throw Error("xa");this.Tb=a.clientId;this.Ca=a.id;ev(this,a);fv(this,a)};_.jv.prototype.Jp=function(a){this.dispatchEvent({type:_.iv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Bb})};var kv=function(a){gv(a);a.fq=void 0;a.Xx=void 0};_.g=_.jv.prototype;
_.g.eQ=function(a){var b=a.newValue||{};if(this.ne!=b.hint||this.hh!=!!b.disabled){a=this.ne;var c=!this.ne||this.hh;kv(this);this.ne=b.hint;this.hh=!!b.disabled;(b=!this.ne||this.hh)&&!c?this.dispatchEvent({type:_.iv.Qq,idpId:this.Bb}):b||(a!=this.ne&&this.dispatchEvent({type:_.iv.mT,idpId:this.Bb}),this.ne&&this.Hi())}};
_.g.fQ=function(a){this.hh||(this.ne?a.user||this.fq?a.user==this.ne&&(this.fq?a.sessionState?this.fq=a.sessionState:(kv(this),this.dispatchEvent({type:_.iv.Qq,idpId:this.Bb})):a.sessionState&&(this.fq=a.sessionState,this.Hi())):this.Hi():this.dispatchEvent({type:_.iv.fB,idpId:this.Bb}))};_.g.bt=function(a){this.dispatchEvent({type:_.iv.QA,authResult:a.authResult})};_.g.Rr=_.ba(15);_.g.Lr=function(a){_.bv(this,this.SC,[a])};_.g.SC=function(a){Pu(this.wd,this.ve,a)};
_.g.mA=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("ya");kv(this);this.ne=a;this.hh=!1;b&&_.Qu(this.wd,this.ve,!1,this.ne);this.ye=!0;this.Hi(c,!0,d)};_.g.start=function(){_.bv(this,this.bu,[])};
_.g.bu=function(){var a=this.Tb==hu("client_id")?hu("login_hint"):void 0;var b=this.Tb==hu("client_id")?hu("state"):void 0;this.nF=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.mA(a,!0,!0,!0);else{var c=this;this.Lr(function(d){c.ye=!0;d&&d.hint?(kv(c),c.ne=d.hint,c.hh=!!d.disabled,c.hh?c.dispatchEvent({type:_.iv.Qq,idpId:c.Bb}):c.mA(d.hint)):(kv(c),c.ne=void 0,c.hh=!(!d||!d.disabled),c.dispatchEvent({type:_.iv.NJ,
autoOpenAuthUrl:!c.hh,idpId:c.Bb}))})}};_.g.XX=function(){var a=this;this.Lr(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.iv.Qq,idpId:a.Bb}):a.Hi(!0):a.dispatchEvent({type:_.iv.NJ,idpId:a.Bb})})};_.g.BM=function(){_.bv(this,this.XX,[])};
_.g.Hi=function(a,b,c){var d=this;this.wd.Hi(this.Tb,this.Mi,this.ne,this.ve,function(e,f){(f=f||e.error)?"user_logged_out"==f?(kv(d),d.dispatchEvent({type:_.iv.Qq,idpId:d.Bb})):(d.Xx=null,d.dispatchEvent({type:_.iv.GV,idpId:d.Bb,error:f})):(d.Xx=e,d.fq=e.session_state,hv(d,e.expires_at),e.idpId=d.Bb,b&&d.nF&&(e.state=d.nF,d.nF=void 0),d.dispatchEvent({type:_.iv.aK,idpId:d.Bb,response:e}))},this.Ca,a,!1,void 0===c?!1:c)};_.g.revoke=_.ba(8);_.g.bR=_.ba(16);
_.lv=function(a){this.Sl=null;_.dv.call(this,{},a);this.ye=!0};eu(_.lv,_.dv);_.g=_.lv.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("xa");this.Tb=a.clientId;this.Ca=a.id;ev(this,a);fv(this,a)};_.g.Jp=function(a){this.Sl&&(this.Sl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Sl=null)};_.g.bt=function(a){if(this.Sl){var b=this.Sl;this.Sl=null;b(a)}};_.g.Rr=_.ba(14);_.g.Lr=function(a){this.Cj?a(this.Bm()):_.bv(this,this.SC,[a])};
_.g.SC=function(a){Pu(this.wd,this.ve,a)};_.mv=function(a,b,c){a.Cj?c(a.Bm()):_.bv(a,a.z2,[b,c])};_.lv.prototype.z2=function(a,b){this.wd.Hi(this.Tb,this.Mi,a,this.ve,function(c,d){d?b({error:d}):b(c)},this.Ca,this.aY,this.v5)};_.lv.prototype.oP=_.ba(17);

var nv=function(a){return Array.prototype.concat.apply([],arguments)},ov=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 _.ch(a,3).substring(0,64)},pv=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},qv=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},rv=function(a,b,c){if(!a.ye)throw Error("ta");b?_.Qu(a.wd,a.ve,!0,void 0,c):_.Qu(a.wd,a.ve,!0,a.ne,c)},sv=function(a){if(!a.ye)throw Error("ta");return a.Xx},tv,uv,vv,wv,xv,yv,zv,Av,Bv,Dv;_.lv.prototype.oP=_.bb(17,function(a,b){var c=this.wd,d=this.Tb,e=this.ve,f=_.gu(this.Mi);delete f.response_type;_.Nu(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.jv.prototype.bR=_.bb(16,function(a){sv(this)&&sv(this).access_token&&(this.wd.revoke(this.Tb,sv(this).access_token,a),rv(this,!0))});
_.jv.prototype.Rr=_.bb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.Qx()&&a.Bq&&(pv()||qv())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.Bb};a.Xx=b;a.dispatchEvent({type:_.iv.aK,idpId:a.Bb,response:b})}else a.mA(b.authResult.login_hint,a.hh||b.authResult.login_hint!=a.ne,!0,!0)}});
_.lv.prototype.Rr=_.bb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Lr(function(d){_.Qu(b.wd,b.ve,d&&d.disabled,c.authResult.login_hint,function(){_.mv(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"})}});_.dv.prototype.LP=_.bb(13,function(){this.Tb&&_.Nu(this.wd,"startPolling",{clientId:this.Tb,origin:this.Ad,id:this.Ij})});
_.Ku.prototype.revoke=_.bb(9,function(a,b,c){_.Nu(this,"revoke",{clientId:a,token:b},c)});_.jv.prototype.revoke=_.bb(8,function(a){_.bv(this,this.bR,[a])});tv=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};
uv=function(){var a=navigator.userAgent.toLowerCase();if(!(-1<a.indexOf("safari/")&&0>a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("android")))return!1;var b=RegExp("version/(\\d+)\\.(\\d+)[\\.0-9]*").exec(navigator.userAgent.toLowerCase());if(!b||3>b.length)return!1;a=parseInt(b[1],10);b=parseInt(b[2],10);return 12<a||12==a&&1<=b};
vv=function(a,b,c,d,e,f,h){var k=_.qu(a,"authServerUrl");if(!k)throw Error("da`"+a);a=_.gu(d);a.response_type=h||"permission";a.client_id=c;a.ss_domain=b;if(f&&f.extraQueryParams)for(var l in f.extraQueryParams)a[l]=f.extraQueryParams[l];(b=e)&&!(b=uv())&&(b=navigator.userAgent.toLowerCase(),-1<b.indexOf("ipad;")||-1<b.indexOf("iphone;")?(b=RegExp("os (\\d+)_\\d+(_\\d+)? like mac os x").exec(navigator.userAgent.toLowerCase()),b=!b||2>b.length?!1:14<=parseInt(b[1],10)):b=!1);b&&!a.prompt&&(a.prompt=
"select_account");k+=0>k.indexOf("?")?"?":"&";b=[];for(var m in a)if(a.hasOwnProperty(m)){c=a[m];if(null===c||void 0===c)c="";b.push(encodeURIComponent(m)+"="+encodeURIComponent(c))}return k+b.join("&")};
wv=function(a,b,c,d){if(!a.Tb)throw Error("ua");a.Ij=c||a.lW||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Ad.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Ij);c.redirect_uri=e.join("")}return vv(a.Bb,a.de,a.Tb,a.Wq,!0,b,d)};xv=function(a,b,c){if(!a.Tb)throw Error("ua");return vv(a.Bb,a.de,a.Tb,a.Wq,!1,b,c)};
yv=function(a){if(!a)return"permission token";var b=a.split(" ");if(-1<b.indexOf("token")||-1<b.indexOf("code")||-1<b.indexOf("gsession"))return a;b.push("token");return b.join(" ")};zv=function(a,b){a.nn&&window.clearTimeout(a.nn);a.nn=window.setTimeout(function(){a.Ij==b&&(_.su=void 0,a.nn=null,a.Ij=void 0,a.bt({authResult:{error:"popup_closed_by_user"}}))},1E3)};
Av=function(a,b,c){if(!a.Tb)throw Error("va");c=c||{};a.Qx()&&a.Bq&&(pv()||qv())&&(c.responseType=yv(c.responseType));c=wv(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||tv())&&_.bv(a,a.LP,[]);var d=a.Ij;a.vQ.open(c,b,function(){a.Ij==d&&zv(a,d)},function(){a.Ij=void 0;a.bt({authResult:{error:"popup_blocked_by_browser"}})})};Bv=function(a,b,c){a.Cj?c(a.Bm()):_.bv(a,a.oP,[b,c])};
_.Cv=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var h=a[c++],k=a[c++];e=((e&7)<<18|(f&63)<<12|(h&63)<<6|k&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],h=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|h&63)}return b.join("")};
Dv=function(a){var b=[];_.dh(a,function(c){b.push(c)});return b};_.Ev=function(a,b){_.Mh[b||"token"]=a};_.Fv=function(a){delete _.Mh[a||"token"]};
_.lu={parse:function(a){a=_.nf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.of(a)}};
_.lv.prototype.IC=function(a,b){_.bv(this,this.MX,[a,b])};_.lv.prototype.MX=function(a,b){this.wd.IC(this.Tb,a,this.Mi,this.ve,b)};
_.Ku.prototype.IC=function(a,b,c,d,e){c=_.gu(c);_.Nu(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};
var Gv,Hv=["client_id","cookie_policy","scope"],Iv="client_id cookie_policy fetch_basic_profile hosted_domain scope openid_realm disable_token_refresh login_hint ux_mode redirect_uri state prompt oidc_spec_compliant nonce enable_serial_consent include_granted_scopes response_type session_selection plugin_name ack_extension_date gsiwebsdk".split(" "),Jv=["authuser","after_redirect","access_type","hl"],Kv=["login_hint","prompt"],Lv={clientid:"client_id",cookiepolicy:"cookie_policy"},Mv=["approval_prompt",
"authuser","login_hint","prompt","hd"],Nv=["login_hint","g-oauth-window","status"],Ov=Math.min(_.ze("oauth-flow/authWindowWidth",599),screen.width-20),Pv=Math.min(_.ze("oauth-flow/authWindowHeight",600),screen.height-30);
var Qv=function(a){_.fb.call(this,a)};_.D(Qv,_.fb);Qv.prototype.name="gapi.auth2.ExternallyVisibleError";
var Rv=function(){};Rv.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Sv=function(){};Sv.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 Tv=function(a){this.mW=a};
Tv.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.mW){d.login_hint?b(d):b();return}}b()};
var Uv=function(a){this.Xd=a;this.Gz=[]};Uv.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Gz[b];f?(b++,c.Xd.ey(function(h){h?f.select(h,d):d()})):a()}};d()};var Vv=function(a){a=new Uv(a);a.Gz.push(new Rv);return a},Wv=function(a){a=new Uv(a);a.Gz.push(new Sv);return a},Xv=function(a,b){void 0===b||null===b?b=Vv(a):(a=new Uv(a),a.Gz.push(new Tv(b)),b=a);return b};
var Yv=function(a){this.tf=a;this.isActive=!0};Yv.prototype.remove=function(){this.isActive=!1};Yv.prototype.trigger=function(){};var Zv=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},$v=function(){this.Wb=[]};$v.prototype.add=function(a){this.Wb.push(a)};$v.prototype.notify=function(a){for(var b=this.Wb,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.qj(aw(e.tf,a)))}this.Wb=c};var aw=function(a,b){return function(){a(b)}};
var cw=function(a){this.ub=null;this.o6=new bw(this);this.Wb=new $v;void 0!=a&&this.set(a)};cw.prototype.set=function(a){a!=this.ub&&(this.ub=a,this.o6.value=a,this.Wb.notify(this.ub))};cw.prototype.get=function(){return this.ub};cw.prototype.V=function(a){a=new dw(this,a);this.Wb.add(a);return a};cw.prototype.get=cw.prototype.get;var dw=function(a,b){Yv.call(this,b);this.d1=a};_.D(dw,Yv);dw.prototype.trigger=function(){var a=this.tf;a(this.d1.get())};var bw=function(a){this.value=null;this.V=function(b){return new Zv(a.V(b))}};
var ew={N8:"fetch_basic_profile",P9:"login_hint",naa:"prompt",vaa:"redirect_uri",Maa:"scope",fca:"ux_mode",Bba:"state"},fw=function(a){this.Ia={};if(a&&!_.oi(a))if("function"==typeof a.get)this.Ia=a.get();else for(var b in ew){var c=ew[b];c in a&&(this.Ia[c]=a[c])}};fw.prototype.get=function(){return this.Ia};fw.prototype.SR=function(a){this.Ia.scope=a;return this};fw.prototype.cs=function(){return this.Ia.scope};
var gw=function(a,b){var c=a.Ia.scope;b=nv(b.split(" "),c?c.split(" "):[]);_.Wg(b);a.Ia.scope=b.join(" ")};_.g=fw.prototype;_.g.Z4=function(a){this.Ia.prompt=a;return this};_.g.iZ=function(){return this.Ia.prompt};_.g.z4=function(){_.sf.warn("Property app_package_name no longer supported and was not set");return this};_.g.iY=function(){_.sf.warn("Property app_package_name no longer supported")};_.g.Xe=function(a){this.Ia.state=a};_.g.getState=function(){return this.Ia.state};
var hw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Ov,"height="+Pv,"top="+(screen.height-Pv)/2,"left="+(screen.width-Ov)/2].join()},iw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Cv(Dv(a)))},jw=function(){Gv=_.ze("auth2/idpValue","google");var a=_.ze("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.ze("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.ru(Gv,{authServerUrl:a,idpIFrameUrl:b})},kw=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}_.Db(a[e])||(a[e]={});a=a[e]}},lw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},nw=function(){var a=mw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,lw()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Qv("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.sf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};
var ow=function(a){var b=a?(b=iw(a))?b.sub:null:null;this.Ca=b;this.Bc=a?_.hj(a):null};_.g=ow.prototype;_.g.getId=function(){return this.Ca};_.g.ZC=function(){var a=iw(this.Bc);return a?a.hd:null};_.g.Xf=function(){return!!this.Bc};_.g.Ek=function(a){if(a)return this.Bc;a=pw;var b=_.hj(this.Bc);!a.Fx||a.YD||a.K_||(delete b.access_token,delete b.scope);return b};_.g.YF=function(){return pw.YF()};_.g.Wj=function(){this.Bc=null};_.g.LY=function(){return this.Bc?this.Bc.scope:null};
_.g.update=function(a){this.Ca=a.Ca;this.Bc=a.Bc;this.Bc.id_token?this.kv=new qw(this.Bc):this.kv&&(this.kv=null)};var rw=function(a){return a.Bc&&"object"==typeof a.Bc.session_state?_.hj(a.Bc.session_state.extraQueryParams||{}):{}};_.g=ow.prototype;_.g.Ir=function(){var a=rw(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Vj=function(a){var b=pw,c=new fw(a);b.YD=c.cs()?!0:!1;pw.Fx&&gw(c,"openid profile email");return new _.Bj(function(d,e){var f=rw(this);f.login_hint=this.getId();f.scope=c.cs();sw(b,d,e,f)},this)};_.g.hs=function(a){return new _.Bj(function(b,c){var d=a||{},e=pw;d.login_hint=this.getId();e.hs(d).then(b,c)},this)};_.g.zZ=function(a){return this.Vj(a)};_.g.disconnect=function(){return pw.disconnect()};_.g.lY=function(){return this.kv};
_.g.qx=function(a){if(!this.Xf())return!1;var b=this.Bc&&this.Bc.scope?this.Bc.scope.split(" "):"";return _.Rb(a?a.split(" "):[],function(c){return _.hb(b,c)})};var qw=function(a){a=iw(a);this.fY=a.sub;this.Af=a.name;this.wZ=a.given_name;this.KX=a.family_name;this.qO=a.picture;this.Wv=a.email};_.g=qw.prototype;_.g.getId=function(){return this.fY};_.g.zg=function(){return this.Af};_.g.JY=function(){return this.wZ};_.g.EY=function(){return this.KX};_.g.RY=function(){return this.qO};_.g.Sr=function(){return this.Wv};
var mw,tw;mw=function(){var a=_.Bh.get("G_AUTH2_MIGRATION");if(!a)return{status:"none"};a=/(enforced|informational)(?::(.*))?/i.exec(a);return a?{status:a[1].toLowerCase(),storage_path:a[2]}:(_.sf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};tw=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.uw=function(a){if(!a)throw new Qv("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 Qv("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(!_.ui(b,"."+a)&&!_.ui(b,a))throw new Qv("Invalid cookiePolicy domain");return d};
var ww=function(a){var b=a||{},c=vw();_.Ob(Iv,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},vw=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;Lv[d]&&(d=Lv[d]);_.hb(Iv,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},xw=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},yw=function(a){_.Ob(Iv,
function(b){var c=xw(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},zw=function(a){a=ww(a);yw(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Iv+Jv,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},Aw=function(a,b){if(!a)throw new Qv("Empty initial options.");for(var c=0;c<Hv.length;++c)if(!(b&&"scope"==Hv[c]||a[Hv[c]]))throw new Qv("Missing required parameter '"+Hv[c]+"'");_.uw(a.cookie_policy)},Cw=function(a){var b={authParameters:{redirect_uri:void 0,
response_type:"token id_token",scope:a.scope,"openid.realm":a.openid_realm,include_granted_scopes:!0},clientId:a.client_id,crossSubDomains:!0,domain:tw(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Gv};Bw(b,a);_.Ob(Kv,function(d){a[d]&&(b.authParameters[d]=a[d])});"boolean"==typeof a.enable_serial_consent&&(b.enableSerialConsent=a.enable_serial_consent);if(a.plugin_name)b.pluginName=a.plugin_name;else{var c=_.ze("auth2/pluginName");c&&(b.pluginName=c)}a.ack_extension_date&&
(b.authParameters.ack_extension_date=a.ack_extension_date,b.ackExtensionDate=a.ack_extension_date);return b},Bw=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||ov());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Hw=function(a){var b=a.client_id,c=a.cookie_policy,d=a.scope,e=a.openid_realm,f=a.hosted_domain,h=a.oidc_spec_compliant,k=a.nonce,l=Dw(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:tw(c),idpId:Gv};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||ov());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Ob(Kv.concat(Jv),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 Ew(a.response_type||"token"),
Fw(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Gw(b)&&(m.rpcAuthParameters.include_granted_scopes=a.include_granted_scopes,!1===a.include_granted_scopes&&(m.forceTokenRefresh=!0,m.skipTokenCache=!0)));"boolean"==typeof a.enable_serial_consent&&(m.enableSerialConsent=a.enable_serial_consent);a.plugin_name?m.pluginName=a.plugin_name:(b=_.ze("auth2/pluginName"))&&(m.pluginName=b);a.ack_extension_date&&(m.authParameters.ack_extension_date=a.ack_extension_date,m.rpcAuthParameters.ack_extension_date=
a.ack_extension_date,m.ackExtensionDate=a.ack_extension_date);return m},Dw=function(a){a=new Ew(a.response_type||"token");var b=[];Gw(a)&&b.push("token");Iw(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Jw=["permission","id_token"],Kw=/(^|[^_])token/,Ew=function(a){this.Vp=[];this.qE(a)};
Ew.prototype.qE=function(a){a?((0<=a.indexOf("permission")||a.match(Kw))&&this.Vp.push("permission"),0<=a.indexOf("id_token")&&this.Vp.push("id_token"),0<=a.indexOf("code")&&this.Vp.push("code")):this.Vp=Jw};var Fw=function(a){return Iw(a,"code")},Gw=function(a){return Iw(a,"permission")};Ew.prototype.toString=function(){return this.Vp.join(" ")};var Iw=function(a,b){var c=!1;_.Ob(a.Vp,function(d){d==b&&(c=!0)});return c};
var Mw=function(a,b,c){this.fn=b;this.T1=a;for(var d in a)a.hasOwnProperty(d)&&Lw(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.fn[c[a]]},Lw=function(a,b){a[b]=function(){return a.T1[b].apply(a.fn,arguments)}};Mw.prototype.then=function(a,b,c){var d=this;return _.Fj().then(function(){return Nw(d.fn,a,b,c)})};_.kj(Mw);
var pw,Ow,Qw;pw=null;_.Pw=function(){return pw?Ow():null};Ow=function(){return new Mw(Qw.prototype,pw,["currentUser","isSignedIn"])};Qw=function(a){delete a.include_granted_scopes;this.Ia=Cw(a);this.ZW=a.cookie_policy;this.K_=!!a.scope;(this.Fx=!1!==a.fetch_basic_profile)&&(this.Ia.authParameters.scope=Rw(this,"openid profile email"));_.yh.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Bq=this.Ia.supportBlocked3PCookies=!0);this.ys=a.hosted_domain;this.l6=a.ux_mode||"popup";this.h3=a.redirect_uri||null;this.nE()};
Qw.prototype.nE=function(){this.currentUser=new cw(new ow(null));this.isSignedIn=new cw(!1);this.Xd=new _.jv(this.Ia);this.Lx=this.np=null;this.P0=new _.Bj(function(a,b){this.np=a;this.Lx=b},this);this.Dy={};this.Is=!0;Sw(this);this.Xd.start()};
var Sw=function(a){a.Xd.addEventListener("error",function(b){a.Is&&a.np&&(a.Is=!1,a.Lx({error:b.error,details:b.details}),a.np=null,a.Lx=null)});a.Xd.addEventListener("authResult",function(b){b&&b.authResult&&a.hf(b);a.Xd.Rr()(b)});a.Xd.addEventListener("tokenReady",function(b){var c=new ow(b.response);if(a.ys&&a.ys!=c.ZC())a.hf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.ZC(),expectedDomain:a.ys});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Wb.notify(d.ub);a.isSignedIn.set(!0);c=c.Ir();(d=_.uw(a.ZW))&&c&&_.Bh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Le?"S":"H",d.Xh].join(""),c,{domain:d.domain,secure:d.isSecure});_.Ev(b.response);a.hf(b)}});a.Xd.addEventListener("noSessionBound",function(b){a.Is&&b.autoOpenAuthUrl?(a.Is=!1,Vv(a.Xd).select(function(c){if(c&&c.login_hint){var d=a.Xd;_.bv(d,d.mA,[c.login_hint,!0])}else a.currentUser.set(new ow(null)),a.isSignedIn.set(!1),_.Fv(),a.hf(b)})):(a.currentUser.set(new ow(null)),
a.isSignedIn.set(!1),_.Fv(),a.hf(b))});a.Xd.addEventListener("tokenFailed",function(b){a.hf(b)});a.Xd.addEventListener("userLoggedOut",function(b){a.currentUser.get().Wj();var c=a.currentUser;c.Wb.notify(c.ub);a.isSignedIn.set(!1);_.Fv();a.hf(b)})},Nw=function(a,b,c,d){return a.P0.then(function(e){if(b)return b(e.xZ)},c,d)};Qw.prototype.hf=function(a){if(a){this.Is=!1;var b=a.type||"";if(this.Dy[b])this.Dy[b](a);this.np&&(this.np({xZ:this}),this.Lx=this.np=null)}};
var Tw=function(a,b){_.lb(b,function(c,d){a.Dy[d]=function(e){a.Dy={};c(e)}})},sw=function(a,b,c,d){d=_.hj(d);a.ys&&(d.hd=a.ys);var e=d.ux_mode||a.l6;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.h3||lw()+window.location.pathname),Uw(a,f)):(delete d.redirect_uri,Vw(a,f),Tw(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Tw(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Qw.prototype.Vj=function(a){return new _.Bj(function(b,c){var d=new fw(a);this.YD=d.cs()?!0:!1;this.Fx?(d.Ia.fetch_basic_profile=!0,gw(d,"email profile openid")):d.Ia.fetch_basic_profile=!1;var e=Rw(this,d.cs());d.SR(e);sw(this,b,c,d.get())},this)};
Qw.prototype.hs=function(a){var b=a||{};this.YD=!!b.scope;a=Rw(this,b.scope);if(""==a)return _.Gj({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Ob(Mv,function(d){null!=b[d]&&(c[d]=b[d])});c.hasOwnProperty("prompt")||c.hasOwnProperty("approval_prompt")||(c.prompt="consent");"postmessage"==b.redirect_uri||void 0==b.redirect_uri?a=Ww(this,c):(c.redirect_uri=b.redirect_uri,Uw(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.Fj({message:"Redirecting to IDP."}));return a};
var Ww=function(a,b){b.origin=lw();delete b.redirect_uri;Vw(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.Bj(function(c,d){Tw(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Vw=function(a,b){kw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");Av(a.Xd,hw(),b)},Uw=function(a,b){kw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(xv(a.Xd,b.sessionMeta,
b.responseType))};Qw.prototype.Wj=function(a){var b=a||!1;return new _.Bj(function(c){rv(this.Xd,b,function(){c()})},this)};Qw.prototype.aN=function(){return this.Ia.authParameters.scope};var Rw=function(a,b){a=a.aN();b=nv(b?b.split(" "):[],a?a.split(" "):[]);_.Wg(b);return b.join(" ")};Qw.prototype.YF=function(){var a=this;return new _.Bj(function(b,c){Tw(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Xd.BM()})};
Qw.prototype.BK=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.Vj(f).then(function(h){c&&c(h)},function(h){d&&d(h)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};Qw.prototype.disconnect=function(){return new _.Bj(function(a){this.Xd.revoke(function(){a()})},this)};Qw.prototype.attachClickHandler=Qw.prototype.BK;
var Xw;_.Bj.prototype["catch"]=_.Bj.prototype.iu;Xw=null;_.Yw=function(a){nw();a=zw(a);if(pw){if(_.gj(a,Xw||{}))return Ow();throw new Qv("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}Aw(a,!1!==a.fetch_basic_profile);jw();Xw=a;pw=new Qw(a);_.qe.ga=1;return Ow()};
var $w,bx,Zw,dx,cx,ex;_.ax=function(a,b){jw();a=zw(a);Aw(a);var c=Hw(a),d=new _.lv(c);"none"==a.prompt?Zw(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)}):$w(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.vQ.Gh;b(e)})};
$w=function(a,b,c){var d=new Ew(b.response_type);c=bx(a,d,c);var e={responseType:d.toString()};kw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Fw(d)&&kw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&kw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&kw(e,["sessionMeta","extraQueryParams","state"],b.state);b=hw();a.Cj?c({authResult:{error:"idpiframe_initialization_failed",details:a.Bm().error}}):(a.Sl=
c,Av(a,b,e))};bx=function(a,b,c){if(Gw(b)){var d=cx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Rr(function(f){f&&!f.error?(f=_.hj(f),Fw(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(_.hj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Zw=function(a,b,c){if(Fw(new Ew(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=cx(c);b.login_hint?a.IC(b.login_hint,function(e){e?dx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Xv(a,b.authuser).select(function(e){e&&e.login_hint?dx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Lr(function(e){e&&e.hint?dx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Wv(a):Vv(a)).select(function(f){f&&f.login_hint?dx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};dx=function(a,b,c,d){b=new Ew(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.qi(f,k),0==e&&d(f))};(Gw(b)||Iw(b,"id_token"))&&e++;Fw(b)&&e++;(Gw(b)||Iw(b,"id_token"))&&_.mv(a,c,h);Fw(b)&&Bv(a,c,h)};
cx=function(a){return function(b){if(!b||b.error)_.Fv(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.hj(b);ex(c);delete c.id_token;delete c.code;_.Ev(c)}a(b)}}};ex=function(a){_.Ob(Nv,function(b){delete a[b]})};
_.u("gapi.auth2.init",_.Yw);_.u("gapi.auth2.authorize",function(a,b){nw();if(null!=pw)throw new Qv("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).");_.ax(a,function(c){ex(c);b(c)})});_.u("gapi.auth2._gt",function(){return _.Nh()});_.u("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.au="0"!=a&&!!a});_.u("gapi.auth2.getAuthInstance",_.Pw);
_.u("gapi.auth2.BasicProfile",qw);_.u("gapi.auth2.BasicProfile.prototype.getId",qw.prototype.getId);_.u("gapi.auth2.BasicProfile.prototype.getName",qw.prototype.zg);_.u("gapi.auth2.BasicProfile.prototype.getGivenName",qw.prototype.JY);_.u("gapi.auth2.BasicProfile.prototype.getFamilyName",qw.prototype.EY);_.u("gapi.auth2.BasicProfile.prototype.getImageUrl",qw.prototype.RY);_.u("gapi.auth2.BasicProfile.prototype.getEmail",qw.prototype.Sr);_.u("gapi.auth2.GoogleAuth",Qw);
_.u("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Qw.prototype.BK);_.u("gapi.auth2.GoogleAuth.prototype.disconnect",Qw.prototype.disconnect);_.u("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Qw.prototype.hs);_.u("gapi.auth2.GoogleAuth.prototype.signIn",Qw.prototype.Vj);_.u("gapi.auth2.GoogleAuth.prototype.signOut",Qw.prototype.Wj);_.u("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Qw.prototype.aN);_.u("gapi.auth2.GoogleUser",ow);_.u("gapi.auth2.GoogleUser.prototype.grant",ow.prototype.zZ);
_.u("gapi.auth2.GoogleUser.prototype.getId",ow.prototype.getId);_.u("gapi.auth2.GoogleUser.prototype.isSignedIn",ow.prototype.Xf);_.u("gapi.auth2.GoogleUser.prototype.getAuthResponse",ow.prototype.Ek);_.u("gapi.auth2.GoogleUser.prototype.getBasicProfile",ow.prototype.lY);_.u("gapi.auth2.GoogleUser.prototype.getGrantedScopes",ow.prototype.LY);_.u("gapi.auth2.GoogleUser.prototype.getHostedDomain",ow.prototype.ZC);_.u("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",ow.prototype.hs);
_.u("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",ow.prototype.qx);_.u("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",ow.prototype.YF);_.u("gapi.auth2.LiveValue",cw);_.u("gapi.auth2.LiveValue.prototype.listen",cw.prototype.V);_.u("gapi.auth2.LiveValue.prototype.get",cw.prototype.get);_.u("gapi.auth2.SigninOptionsBuilder",fw);_.u("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",fw.prototype.iY);_.u("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",fw.prototype.z4);
_.u("gapi.auth2.SigninOptionsBuilder.prototype.getScope",fw.prototype.cs);_.u("gapi.auth2.SigninOptionsBuilder.prototype.setScope",fw.prototype.SR);_.u("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",fw.prototype.iZ);_.u("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",fw.prototype.Z4);_.u("gapi.auth2.SigninOptionsBuilder.prototype.get",fw.prototype.get);

_.Ce=_.Ce||{};
(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}_.Ce.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)};_.Ce.mL=function(b){var c=_.Ce.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(_.Ce.tC(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Ce.createElement(d.join(""));h&&(!c||h.tagName==c.tagName&&h.namespaceURI==c.namespaceURI)&&(c=h)}catch(l){}d=c;b=b||{};for(var k in b)b.hasOwnProperty(k)&&(d[k]=b[k]);return c};_.Ce.IM=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};_.Ce.vea=function(b){return a(b)}})();

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

_.dg=_.dg={};_.dg.getOrigin=function(a){return _.fg(a)};

_.Px=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Fi:!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=_.Nx(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Le;return!d&&("U"!==c||e.Le)||d&&!_.Ox?b:{Fi:!0,Le:d,PW:a.substr(1),domain:e.domain,Xh:e.Xh}};
_.Qx=function(a,b){this.Af=a;a=b||{};this.w1=Number(a.maxAge)||0;this.de=a.domain;this.tl=a.path;this.l4=!!a.secure};_.Qx.prototype.read=function(){for(var a=this.Af+"=",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)}};
_.Qx.prototype.write=function(a,b){if(!Rx.test(this.Af))throw"Invalid cookie name";if(!Sx.test(a))throw"Invalid cookie value";a=this.Af+"="+a;this.de&&(a+=";domain="+this.de);this.tl&&(a+=";path="+this.tl);b="number"===typeof b?b:this.w1;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.l4&&(a+=";secure");document.cookie=a;return!0};_.Qx.prototype.clear=function(){this.write("",0)};var Sx=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Rx=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Qx.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("="))}};
_.Tx=function(a){this.Gi=a};_.Tx.prototype.read=function(){if(Ux.hasOwnProperty(this.Gi))return Ux[this.Gi]};_.Tx.prototype.write=function(a){Ux[this.Gi]=a;return!0};_.Tx.prototype.clear=function(){delete Ux[this.Gi]};var Ux={};_.Tx.iterate=function(a){for(var b in Ux)Ux.hasOwnProperty(b)&&a(b,Ux[b])};
var Vx=function(){this.ub=null;this.key=function(){return null};this.getItem=function(){return this.ub};this.setItem=function(a,b){this.ub=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.ub=null;this.length=0};this.length=0},Wx=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}},Xx=function(a,b){this.Af=a;this.GI=
Wx(b)?b||window.sessionStorage:new Vx};Xx.prototype.read=function(){return this.GI.getItem(this.Af)};Xx.prototype.write=function(a){try{this.GI.setItem(this.Af,a)}catch(b){return!1}return!0};Xx.prototype.clear=function(){this.GI.removeItem(this.Af)};Xx.iterate=function(a){if(Wx())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};
_.Ox="https:"===window.location.protocol;_.Yx=_.Ox||"http:"===window.location.protocol?_.Qx:_.Tx;_.Nx=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{Le:"S"==a.charAt(0),domain:d,Xh:c}};
var Zx,$x,cy,dy;Zx=_.ge();$x=_.ge();_.ay=_.ge();_.by=_.ge();cy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");dy=function(a){this.sQ=a;this.WE=null};
dy.prototype.write=function(a){var b=_.ge(),c=_.ge(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.he(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=cy.length;for(e=0;e<d;++e)delete c[cy[e]];a=String(a.authuser||0);d=_.ge();d[a]=c;c=_.of(d);this.sQ.write(c);this.WE=b};dy.prototype.read=function(){return this.WE};dy.prototype.clear=function(){this.sQ.clear();this.WE=_.ge()};_.ey=function(a){return a?{domain:a.domain,path:"/",secure:a.Le}:null};
Xx.iterate(function(a){var b=_.Px(a);b&&b.Fi&&(Zx[a]=new dy(new Xx(a)))});_.Yx.iterate(function(a){Zx[a]&&($x[a]=new _.Yx(a,_.ey(_.Px(a))))});

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

_.Kh=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Gh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.Lh={SN:_.Kh,M0:_.Hh,gN:function(){var a=null;_.Hh()&&(a=window.__PVT,null==a&&(a=(new _.zh(document)).get("BEAT")));return a},GM:_.Jh};

_.tq=function(){return!_.sq()&&(_.pb("iPod")||_.pb("iPhone")||_.pb("Android")||_.pb("IEMobile"))};_.sq=function(){return _.pb("iPad")||_.pb("Android")&&!_.pb("Mobile")||_.pb("Silk")};

var Qq,Rq,Sq,Uq,dr,Tq,hr,ir,jr,lr,qr;Qq=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.fb.call(this,c+a[d])};Rq=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};
Sq=function(a){return a.replace(_.Jc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Cc(d)||_.Ec).Cg();return c+f+b+f+e})};
Uq=function(a){if(a instanceof _.wc)return'url("'+_.xc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.Xb)a=_.Yb(a);else{a=String(a);var b=a.replace(_.Kc,"$1").replace(_.Kc,"$1").replace(_.Jc,"url");if(_.Ic.test(b)){if(b=!Tq.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&&Rq(a)}a=b?Sq(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new Qq("Value does not allow [{;}], got: %s.",[a]);return a};
_.Vq=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Wq=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.Wq.prototype;_.g.clone=function(){return new _.Wq(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Wq&&_.Vq(this,a)};_.g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};_.g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
_.g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};_.g.translate=function(a,b){a instanceof _.Wq?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),"number"===typeof b&&(this.y+=b));return this};_.g.scale=function(a,b){this.x*=a;this.y*="number"===typeof b?b:a;return this};_.Xq=function(a,b){this.width=a;this.height=b};_.g=_.Xq.prototype;_.g.clone=function(){return new _.Xq(this.width,this.height)};_.g.aspectRatio=function(){return this.width/this.height};
_.g.isEmpty=function(){return!(this.width*this.height)};_.g.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};_.g.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};_.g.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};_.g.scale=function(a,b){this.width*=a;this.height*="number"===typeof b?b:a;return this};_.Yq=function(a){return"CSS1Compat"==a.compatMode};
_.Zq=function(a){a=a.document;a=_.Yq(a)?a.documentElement:a.body;return new _.Xq(a.clientWidth,a.clientHeight)};_.$q=function(a){return _.Zq(a||window)};_.ar=function(a){return a.scrollingElement?a.scrollingElement:!_.fd&&_.Yq(a)?a.documentElement:a.body||a.documentElement};_.br=function(a){var b=_.ar(a);a=a.parentWindow||a.defaultView;return _.bd&&a.pageYOffset!=b.scrollTop?new _.Wq(b.scrollLeft,b.scrollTop):new _.Wq(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.cr=function(a,b,c,d){return _.Ld(a.wb,b,c,d)};_.$a(Qq,_.fb);Qq.prototype.name="AssertionError";dr={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};_.er=function(a){if(a instanceof _.Gc&&a.constructor===_.Gc)return a.RF;_.Eb(a);return"type_error:SafeStyle"};Tq=/\/\*/;
_.fr=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("l`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(Uq).join(" "):Uq(d),b+=c+":"+d+";")}return b?new _.Gc(b,_.Fc):_.Hc};_.gr=function(a){if(a instanceof _.Nc&&a.constructor===_.Nc)return a.QF;_.Eb(a);return"type_error:SafeStyleSheet"};hr=/^[a-zA-Z0-9-]+$/;ir={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
jr=function(a){var b=_.Tc(_.Uc),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.Tc(e),c.push(_.wb(e).toString()))};a.forEach(d);return _.Sc(c.join(_.wb(b).toString()))};_.kr=function(a){return jr(Array.prototype.slice.call(arguments))};lr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.mr=function(a,b,c){var d=String(a);if(!hr.test(d))throw Error("p");if(d.toUpperCase()in ir)throw Error("p");a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!hr.test(f))throw Error("p");var h=b[f];if(null!=h){var k=f;if(h instanceof _.Xb)h=_.Yb(h);else if("style"==k.toLowerCase()){if(!_.Db(h))throw Error("p");h instanceof _.Gc||(h=_.fr(h));h=_.er(h)}else{if(/^on/i.test(k))throw Error("p");if(k.toLowerCase()in lr)if(h instanceof _.ac)h=_.cc(h);else if(h instanceof
_.wc)h=_.xc(h);else if("string"===typeof h)h=(_.Cc(h)||_.Ec).Cg();else throw Error("p");}h.xi&&(h=h.Cg());k=k+'="'+_.sc(String(h))+'"';e+=" "+k}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===dr[a.toLowerCase()]?b+=">":(f=_.kr(c),b+=">"+_.wb(f).toString()+"</"+a+">");return _.Sc(b)};_.nr=function(a){return Number(_.xd)>=a};_.or=function(a){return _.Fd('style[nonce],link[rel="stylesheet"][nonce]',a)};_.pr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
qr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.rr=function(a){return a?a.parentWindow||a.defaultView:window};_.sr=function(a,b,c){return _.Qd(document,arguments)};
_.tr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.tr.prototype;_.g.Pb=function(){return this.right-this.left};_.g.Dc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.tr(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.tr?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
_.g.expand=function(a,b,c,d){_.Db(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};_.g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
_.g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};_.g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
_.g.translate=function(a,b){a instanceof _.Wq?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,"number"===typeof b&&(this.top+=b,this.bottom+=b));return this};_.g.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};
var wr,Cr,Ar,Fr,Rr,Er;_.vr=function(a,b,c){if("string"===typeof b)(b=_.ur(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.ur(c,d);f&&(c.style[f]=e)}};wr={};_.ur=function(a,b){var c=wr[b];if(!c){var d=_.pr(b);c=d;void 0===a.style[d]&&(d=(_.fd?"Webkit":_.ed?"Moz":_.bd?"ms":null)+qr(d),void 0!==a.style[d]&&(c=d));wr[b]=c}return c};
_.xr=function(a,b){var c=_.Jd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.yr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.zr=function(a,b){return _.xr(a,b)||_.yr(a,b)||a.style&&a.style[b]};_.Br=function(a,b,c){if(b instanceof _.Wq){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Ar(d,!1);a.style.top=Ar(b,!1)};
Cr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.Gr=function(a,b){b=b||_.ar(document);var c=b||_.ar(document);var d=_.Dr(a),e=_.Dr(c);if(_.bd&&!_.nr(9)){var f=Er(c,"borderLeft");var h=Er(c,"borderRight");var k=Er(c,"borderTop"),l=Er(c,"borderBottom");h=new _.tr(k,h,l,f)}else f=_.xr(c,"borderLeftWidth"),h=_.xr(c,"borderRightWidth"),k=_.xr(c,"borderTopWidth"),l=_.xr(c,"borderBottomWidth"),h=new _.tr(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.ar(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.bd&&!_.nr(10)&&(f+=h.left,d+=h.top)):
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Fr(a);e=c.clientHeight-a.height;h=c.scrollLeft;k=c.scrollTop;h+=Math.min(f,Math.max(f-(c.clientWidth-a.width),0));k+=Math.min(d,Math.max(d-e,0));c=new _.Wq(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Dr=function(a){var b=_.Jd(a),c=new _.Wq(0,0);var d=b?_.Jd(b):document;d=!_.bd||_.nr(9)||_.Yq(_.Kd(d).wb)?d.documentElement:d.body;if(a==d)return c;a=Cr(a);b=_.br(_.Kd(b).wb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.Ir=function(a,b){var c=new _.Wq(0,0),d=_.rr(_.Jd(a));if(!_.$c(d,"parent"))return c;do{var e=d==b?_.Dr(a):_.Hr(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Hr=function(a){a=Cr(a);return new _.Wq(a.left,a.top)};_.Jr=function(a,b,c){if(b instanceof _.Xq)c=b.height,b=b.width;else if(void 0==c)throw Error("Q");a.style.width=Ar(b,!0);a.style.height=Ar(c,!0)};Ar=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.Kr=function(a){var b=Fr;if("none"!=_.zr(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};Fr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.fd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Cr(a),new _.Xq(a.right-a.left,a.bottom-a.top)):new _.Xq(b,c)};_.Lr=function(a,b){a.style.display=b?"":"none"};
_.Nr=function(a){var b=_.Kd(void 0),c=b.lb();if(_.bd&&c.createStyleSheet)b=c.createStyleSheet(),_.Mr(b,a);else{c=_.cr(b,"HEAD")[0];if(!c){var d=_.cr(b,"BODY")[0];c=b.na("HEAD");d.parentNode.insertBefore(c,d)}d=b.na("STYLE");var e=_.or();e&&d.setAttribute("nonce",e);_.Mr(d,a);b.appendChild(c,d)}};_.Mr=function(a,b){b=_.gr(b);_.bd&&void 0!==a.cssText?a.cssText=b:_.Xa.trustedTypes?_.ae(a,b):a.innerHTML=b};_.Or=function(a){return"rtl"==_.zr(a,"direction")};
_.Pr=_.ed?"MozUserSelect":_.fd||_.cd?"WebkitUserSelect":null;_.Qr=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};Rr={thin:2,medium:4,thick:6};Er=function(a,b){if("none"==_.yr(a,b+"Style"))return 0;b=_.yr(a,b+"Width");return b in Rr?Rr[b]:_.Qr(a,b)};

var mx;_.jx=function(a){for(var b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};_.kx=function(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}};
_.lx=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};
mx=function(a){var b=_.nb();if("Internet Explorer"===a)return _.rb()?_.lx(b):"";b=_.jx(b);var c=_.kx(b);switch(a){case "Opera":if(_.qb())return c(["Version","Opera"]);if(_.pb("OPR"))return c(["OPR"]);break;case "Microsoft Edge":if(_.pb("Edge"))return c(["Edge"]);if(_.pb("Edg/"))return c(["Edg"]);break;case "Chromium":if(_.tb())return c(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&_.sb()||"Safari"===a&&_.ub()||"Android Browser"===a&&_.vb()||"Silk"===a&&_.pb("Silk")?(a=b[2])&&a[1]||"":
""};_.nx=function(a){a=mx(a);if(""===a)return NaN;a=a.split(".");return 0===a.length?NaN:Number(a[0])};_.ox=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.H)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.H)(a.handleEvent,a);else throw Error("Ba");return 2147483647<Number(b)?-1:_.Xa.setTimeout(a,b||0)};_.px=function(a){_.Xa.clearTimeout(a)};

_.fy=function(a){_.wi.call(this);this.Gi=1;this.Vy=[];this.dz=0;this.Hf=[];this.Wi={};this.gW=!!a};_.$a(_.fy,_.wi);_.g=_.fy.prototype;_.g.subscribe=function(a,b,c){var d=this.Wi[a];d||(d=this.Wi[a]=[]);var e=this.Gi;this.Hf[e]=a;this.Hf[e+1]=b;this.Hf[e+2]=c;this.Gi=e+3;d.push(e);return e};_.g.eu=_.ba(19);_.g.unsubscribe=function(a,b,c){if(a=this.Wi[a]){var d=this.Hf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.dk(a)}return!1};
_.g.dk=function(a){var b=this.Hf[a];if(b){var c=this.Wi[b];0!=this.dz?(this.Vy.push(a),this.Hf[a+1]=function(){}):(c&&_.mi(c,a),delete this.Hf[a],delete this.Hf[a+1],delete this.Hf[a+2])}return!!b};
_.g.vn=function(a,b){var c=this.Wi[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.gW)for(e=0;e<c.length;e++){var h=c[e];gy(this.Hf[h+1],this.Hf[h+2],d)}else{this.dz++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.Hf[h+1].apply(this.Hf[h+2],d)}finally{if(this.dz--,0<this.Vy.length&&0==this.dz)for(;c=this.Vy.pop();)this.dk(c)}}return 0!=e}return!1};var gy=function(a,b,c){_.yj(function(){a.apply(b,c)})};
_.fy.prototype.clear=function(a){if(a){var b=this.Wi[a];b&&(b.forEach(this.dk,this),delete this.Wi[a])}else this.Hf.length=0,this.Wi={}};_.fy.prototype.Ib=function(a){if(a){var b=this.Wi[a];return b?b.length:0}a=0;for(b in this.Wi)a+=this.Ib(b);return a};_.fy.prototype.ta=function(){_.fy.H.ta.call(this);this.clear();this.Vy.length=0};

_.hy=function(a){this.U5=a};_.hy.prototype.toString=function(){return this.U5};
_.iy=function(a){_.wi.call(this);this.Td=new _.fy(a);_.yi(this,this.Td)};_.$a(_.iy,_.wi);_.g=_.iy.prototype;_.g.subscribe=function(a,b,c){return this.Td.subscribe(a.toString(),b,c)};_.g.eu=_.ba(18);_.g.unsubscribe=function(a,b,c){return this.Td.unsubscribe(a.toString(),b,c)};_.g.dk=function(a){return this.Td.dk(a)};_.g.vn=function(a,b){return this.Td.vn(a.toString(),b)};_.g.clear=function(a){this.Td.clear(void 0!==a?a.toString():void 0)};
_.g.Ib=function(a){return this.Td.Ib(void 0!==a?a.toString():void 0)};

_.jy=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.cz+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.vr(a,"transition",b.join(","))};
_.ky=_.zd(function(){if(_.bd)return!0;var a=_.Rd("DIV"),b=_.fd?"-webkit":_.ed?"-moz":_.bd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.mr("div",{style:c});_.Bd(a,b);a=a.firstChild;b=a.style[_.pr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.ur(a,"transition")]||"")});

_.my=function(){_.ly="oauth2relay"+String(2147483647*(0,_.lg)()|0)};_.ny=new _.iy;_.oy=new _.hy("oauth");_.my();_.ze("oauth-flow/client_id");var py=String(_.ze("oauth-flow/redirectUri"));if(py)py.replace(/[#][\s\S]*/,"");else{var qy=_.dg.getOrigin(window.location.href);_.ze("oauth-flow/callbackUrl");encodeURIComponent(qy)}_.dg.getOrigin(window.location.href);

var sy,ty,uy,vy,wy,xy,yy,zy,Ay,By,Cy,Ey,Fy,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy,Wy,Xy,Yy,Zy,$y,az,bz,cz,dz,ez,fz,iz,hz,jz,kz,lz,mz,nz,oz,pz,qz,rz,tz;_.ry=function(a,b){if(_.ah&&!b)return _.Xa.atob(a);var c="";_.dh(a,function(d){c+=String.fromCharCode(d)});return c};sy=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};ty=function(a){return _.vh("enableMultilogin")&&a("cookie_policy")&&!sy(a)?!0:!1};
wy=function(){var a,b=null;_.Yx.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Nx(c.substring(11)),!a||c.Le&&!a.Le||c.Le==a.Le&&c.Xh>a.Xh)&&(a=c,b=d)});return{sW:a,authuser:b}};xy=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];yy=function(a){a=a.toUpperCase();for(var b=0,c=xy.length;b<c;++b){var d=a.split(xy[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.kg,b.zu(a),a=b.Wh().toUpperCase());return a};
zy=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Ay=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],x4:zy(a[1]),mfa:zy(a[2]),eea:zy(a[3])}};By=function(a){var b=wy(),c=b.sW;b=b.authuser;var d=a&&yy(a);if(null!==b){var e;_.Yx.iterate(function(h,k){(h=_.Px(h))&&h.Fi&&(d&&h.PW!=d||h.Le==c.Le&&h.Xh==c.Xh&&(e=k))});if(e){var f=Ay(e);a=f&&f.x4[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,hga:a,clientId:f}}}return null};
Cy=function(a,b){a=_.Nh(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};_.Dy=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Ev(c,d):_.Fv(d)};
Ey=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.fg(a));var b=window.location.hostname,c=b,d=_.Ox;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.sf.log("WARNING invalid cookie_policy: "+a),null;c=c[0]}if(-1!==c.indexOf(":"))c=b="";else{a="."+c;if(b.lastIndexOf(a)!==b.length-a.length)return _.sf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Le:d,Xh:b}};
Fy=function(a){var b=Ey(a);if(!b)return new _.Tx("G_USERSTATE_");a=["G_USERSTATE_",_.Ox&&b.Le?"S":"H",b.Xh].join("");var c=_.by[a];c||(c={UE:63072E3},_.ie(_.ey(b),c),c=new _.Qx(a,c),_.by[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};Gy=function(a){var b=Fy(a).read();a=_.ge();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
Hy=function(a,b,c){var d=Gy(b),e=d[a];d[a]="0";var f=[];_.Rl(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Fy(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Iy=function(a){a=Ey(a.g_user_cookie_policy);if(!a||a.Le&&!_.Ox)a=null;else{var b=["G_AUTHUSER_",_.Ox&&a.Le?"S":"H",a.Xh].join(""),c=_.ay[b];c||(c=new _.Yx(b,_.ey(a)),_.ay[b]=c);a=c}_.Ae("googleapis.config/sessionIndex",null);a.clear()};Jy=function(a){return sy(function(b){return a[b]})};Ky=0;Ly=!1;My=[];Ny={};Oy={};Py=null;
Qy=function(a){var b=_.ly;return function(c){if(this.f==b&&this.t==_.xf.wm(this.f)&&this.origin==_.xf.Im(this.f))return a.apply(this,arguments)}};Ry=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ga");};Sy=function(a){var b=_.Ce.Dg,c=b(a).jsh;if(null!=c)return Ry(c),a;if(b=String(b().jsh||_.qe.h||""))Ry(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Ty=function(){return!!_.ze("oauth-flow/usegapi")};
Uy=function(a,b){Ty()?Py.unregister(a):_.xf.unregister(a+":"+b)};Vy=function(a,b,c){Ty()?Py.register(a,c,_.fm):_.xf.register(a+":"+b,Qy(c))};Wy=function(){uy.parentNode.removeChild(uy)};Xy=function(a){var b=uy;_.jy(b,[{cz:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.jy(b,[{cz:"transform",duration:1,timing:"ease",delay:0}]);_.ox(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Yy=function(){var a=vy+88;Xy(a);vy=a};
Zy=function(){var a=vy-88;Xy(a);vy=a};$y=function(a){var b=a?Yy:Zy,c=a?Zy:Yy;a=a?"-":"";vy=parseInt(a+88,10);uy.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";uy.style.transform="translate3d(0px,"+a+88+"px,0px)";uy.style.display="";uy.style.visibility="visible";b();_.ox(c,4E3);_.ox(Wy,5E3)};
az=function(a){var b=_.ze("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");uy=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.vr(c,"visibility","hidden");_.vr(c,b,"-40px");_.vr(c,"height","128px");var d=c;if(!_.tq()&&!_.sq()){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?"-":"";vy=parseInt(e+88,10);uy.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";uy.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){}_.cm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?$y(!0):$y(!1)}})};
bz=function(a){var b=_.Dn(),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==_.Pl.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
cz=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=_.ze("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!=By(c)||!Jy(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};dz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.nf(_.ry(a,!0));if(!1===a)throw Error("Ha");return a};ez=function(a){return(a=dz(a))?a.sub:null};
fz=function(a){a&&My.push(a);a=_.ly;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Ky&&6E4>c-Ky)return;var d=_.xf.wm(a);d&&(Uy("oauth2relayReady",d),Uy("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.my();a=_.ly}Ky=c;var e=String(2147483647*(0,_.lg)()|0);b=_.ze("oauth-flow/proxyUrl")||_.ze("oauth-flow/relayUrl");Ty()?Py=_.cm.openChild({where:_.Ce.IM(),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(_.dg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ce.IM(),d=_.Ce.mL({name:a,id:a}),d.src=Sy(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,"function"===typeof d.setAttribute?d.setAttribute("aria-hidden","true"):d["aria-hidden"]="true",c.appendChild(d),_.xf.St(a));Vy("oauth2relayReady",
e,function(){Uy("oauth2relayReady",e);var f=My;if(null!==f){My=null;for(var h=f.length,k=0;k<h;++k)f[k]()}});Vy("oauth2callback",e,function(f){var h=_.Ce.Dg;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Oy,f)?Oy[f]:null;h.state=f;if(null!=h.state){f=Ny[k];delete Ny[k];k=f&&f.key||"token";var l=h=cz(f&&f.params,h),m=ez(l);if(m){var n=Gy(l.cookie_policy);m="0"==n[m]||"X"==n[m]}else m=!1;!m&&l&&0<=(" "+(l.scope||"")+" ").indexOf(" https://www.googleapis.com/auth/plus.login ")&&
_.ze("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Ly||(Ly=!0,az(l)));_.Dy(k,h);h=Cy(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(r){}f.callback&&(f.callback(h),f.callback=null)}}})};_.gz=function(a){null!==My?fz(a):a&&a()};
iz=function(a,b){var c=hz,d=ez(a);d&&(Iy(a),Hy(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=cz(null,e);c(e)}}))};
hz=function(a){a||(a=Cy(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||(_.qe.drw=null);_.Dy(a);if(b=a.authuser)_.ze("googleapis.config/sessionIndex"),_.Ae("googleapis.config/sessionIndex",b);_.ny.vn(_.oy,a);return a};jz=["client_id","cookie_policy","response_type"];kz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
lz=function(a){var b=_.hj(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);_.Ev(b);return b};
mz=function(a){if(void 0===a.include_granted_scopes){var b=_.ze("include_granted_scopes");a.include_granted_scopes=!!b}};nz=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
oz=function(a){var b=a||{},c={};_.Ob(kz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.ze("googleapis/overrideClientId");null!=a&&(c.client_id=a);mz(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{_.uw(c.cookie_policy)}catch(d){c.cookie_policy&&
nz("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=_.xh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.ze("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
pz=function(a,b){var c=oz(a),d=new _.Bj(function(e,f){_.ax(c,function(h){var k=h||{};_.Ob(jz,function(l){null==k[l]&&(k[l]=c[l])});!c.include_granted_scopes&&a&&a.scope&&(k.scope=a.scope);a&&null!=a.state&&(k.state=a.state);k.error?("none"==c.prompt&&"user_logged_out"==k.error&&(k.error="immediate_failed_user_logged_out"),f(k)):(h=lz(k),null!=h.authuser&&_.Ae("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};qz=_.Lh.GM;rz=null;
_.uz=function(a,b){if("force"!==a.approvalprompt){a=_.sz(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)rz?(a.client_id!==rz.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(rz=a,b=!1);b||tz(a)}};
_.sz=function(a){var b=a.redirecturi||"postmessage",c=(0,_.jc)((a.scope||"").replace(/[\s\xa0]+/g," "));b={client_id:a.clientid,redirect_uri:b,response_type:"code token id_token gsession",scope:c};a.approvalprompt&&(b.approval_prompt=a.approvalprompt);a.state&&(b.state=a.state);a.openidrealm&&(b["openid.realm"]=a.openidrealm);c="offline"==a.accesstype?!0:(c=a.redirecturi)&&"postmessage"!=c;c&&(b.access_type="offline");a.requestvisibleactions&&(b.request_visible_actions=(0,_.jc)(a.requestvisibleactions.replace(/[\s\xa0]+/g,
" ")));a.after_redirect&&(b.after_redirect=a.after_redirect);a.cookiepolicy&&"none"!==a.cookiepolicy&&(b.cookie_policy=a.cookiepolicy);"undefined"!=typeof a.includegrantedscopes&&(b.include_granted_scopes=a.includegrantedscopes);a.e&&(b.e=a.e);(a=a.authuser||_.ze("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.ze("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};tz=function(a){_.no("waaf0","signin","0");pz(a,function(b){_.no("waaf1","signin","0");hz(b)})};
_.vz=function(a){a=_.sz(a);_.Ae("oauth-flow/authWindowWidth",445);_.Ae("oauth-flow/authWindowHeight",615);tz(a)};_.wz=function(a){_.ny.unsubscribe(_.oy,a);_.ny.subscribe(_.oy,a)};
var Dz,Gz;_.yz=function(a){return a.cookiepolicy?!0:(_.xz("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.xz=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.Cz=function(a,b){var c=_.Dn();_.ie(a,c);c=bz(c);if(_.yz(c)){var d=_.zz();_.Az(c);b?_.pe(b,"click",function(){_.Bz(c,d)}):_.Bz(c,d)}};
_.zz=function(){var a=new Dz;_.wz(function(b){a.VE&&b&&(b.access_token&&_.Ae("isPlusUser",!0),b["g-oauth-window"]&&(a.VE=!1,_.sf.warn("OTA app install is no longer supported.")))});return a};Dz=function(){this.VE=!1};_.Az=function(a){a=_.Ez(a);_.Fz(a.callback);_.gz(function(){_.uz(a)})};_.Ez=function(a){Gz(a);a.redirecturi&&delete a.redirecturi;ty(function(b){return a[b]})||(a.authuser=0);return a};Gz=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.Fz=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.xz('Callback function named "'+a+'" not found');return}a&&_.wz(a)};_.Bz=function(a,b){b.VE=!0;a=_.Ez(a);_.vz(a)};
_.u("gapi.auth.authorize",pz);_.u("gapi.auth.checkSessionState",function(a,b){var c=_.ge();c.client_id=a.client_id;c.session_state=a.session_state;_.gz(function(){Ty()?Py.send("check_session_state",c,function(d){b.call(null,d[0])},_.fm):_.xf.call(_.ly,"check_session_state",Qy(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.u("gapi.auth.getAuthHeaderValueForFirstParty",qz);_.u("gapi.auth.getToken",Cy);
_.u("gapi.auth.getVersionInfo",function(a,b){_.gz(function(){var c=_.Jh()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Ty()?Py.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.fm):_.xf.call(_.ly,"get_versioninfo",Qy(function(f){a(f)}),d,b):a()})});_.u("gapi.auth.init",_.gz);_.u("gapi.auth.setToken",_.Dy);_.u("gapi.auth.signIn",function(a){_.Cz(a)});_.u("gapi.auth.signOut",function(){var a=Cy();a&&iz(a,a.cookie_policy)});
_.u("gapi.auth.unsafeUnpackIdToken",dz);_.u("gapi.auth._pimf",_.uz);_.u("gapi.auth._oart",az);_.u("gapi.auth._guss",function(a){return Fy(a).read()});

var Hz=_.Dn();Hz.clientid&&Hz.scope&&Hz.callback&&!_.ze("disableRealtimeCallback")&&_.Az(Hz);

});
// Google Inc.
