gapi.loaded_1(function(_){var window=this;
_.Ch=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Ob(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)}};_.Dh=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.Kb(f)?"o"+_.Qb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};_.Eh=function(a){for(var b in a)return!1;return!0};
_.Fh=function(a,b){a.src=_.mc(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)};_.Gh=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 Hh,Ih,Kh;Hh={};Ih=null;_.Jh=_.Dd||_.Ed||!_.Bh&&!_.Ad&&"function"==typeof _.u.atob;_.Lh=function(a,b){void 0===b&&(b=0);Kh();b=Hh[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("")};
_.Mh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=Ih[m];if(null!=n)return n;if(!_.tc(m))throw Error("C`"+m);}return l}Kh();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))}};
Kh=function(){if(!Ih){Ih={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Hh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Ih[f]&&(Ih[f]=e)}}}};
_.fi={};var hi;_.gi=function(a){this.qb=a||{cookie:""}};_.g=_.gi.prototype;_.g.isEnabled=function(){if(!_.u.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{qF: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.zga;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.qF}if(/[;=\s]/.test(a))throw Error("F`"+a);if(/[;\r\n]/.test(b))throw Error("G`"+b);void 0===k&&(k=-1);this.qb.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.qb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.uc)(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.Zh(a);this.set(a,"",{qF:0,path:b,domain:c});return d};_.g.Sf=function(){return hi(this).keys};_.g.Uc=function(){return hi(this).values};_.g.isEmpty=function(){return!this.qb.cookie};_.g.Fb=function(){return this.qb.cookie?(this.qb.cookie||"").split(";").length:0};
_.g.Zh=function(a){return void 0!==this.get(a)};_.g.oj=function(a){for(var b=hi(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=hi(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};hi=function(a){a=(a.qb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.uc)(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}};
_.ii=new _.gi("undefined"==typeof document?null:document);
_.ti={};_.ui=function(a){return _.ti[a||"token"]||null};
var Xi,Yi;_.Wi=function(a,b){b=(0,_.gb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};Xi=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.Zi=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<Yi.length;f++)c=Yi[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.$i=function(a){a&&"function"==typeof a.Ga&&a.Ga()};
_.aj=function(a){if(!(a instanceof Array)){a=_.ta(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};Yi="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");_.bj=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.cj=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.dj=function(){this.qg=this.qg;this.jn=this.jn};_.dj.prototype.qg=!1;_.dj.prototype.isDisposed=function(){return this.qg};_.dj.prototype.Ga=function(){this.qg||(this.qg=!0,this.qa())};_.fj=function(a,b){_.ej(a,_.Qi(_.$i,b))};_.ej=function(a,b){a.qg?b():(a.jn||(a.jn=[]),a.jn.push(b))};_.dj.prototype.qa=function(){if(this.jn)for(;this.jn.length;)this.jn.shift()()};_.gj=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Dt=!1};_.gj.prototype.stopPropagation=function(){this.Dt=!0};_.gj.prototype.preventDefault=function(){this.defaultPrevented=!0};var hj=function(){if(!_.u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.u.addEventListener("test",function(){},b),_.u.removeEventListener("test",function(){},b)}catch(c){}return a}();_.ij=function(a,b){_.gj.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.fG=!1;this.pointerId=0;this.pointerType="";this.Ee=null;a&&this.xd(a,b)};_.Za(_.ij,_.gj);var jj={2:"touch",3:"pen",4:"mouse"};
_.ij.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)?_.Dd&&(_.yd(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=_.Ed||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Ed||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.fG=_.Gd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:jj[a.pointerType]||"";this.state=a.state;this.Ee=a;a.defaultPrevented&&_.ij.H.preventDefault.call(this)};_.ij.prototype.stopPropagation=function(){_.ij.H.stopPropagation.call(this);this.Ee.stopPropagation?this.Ee.stopPropagation():this.Ee.cancelBubble=!0};_.ij.prototype.preventDefault=function(){_.ij.H.preventDefault.call(this);var a=this.Ee;a.preventDefault?a.preventDefault():a.returnValue=!1};_.kj="closure_listenable_"+(1E6*Math.random()|0);_.lj=function(a){return!(!a||!a[_.kj])};var mj=0;var nj=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.qf=e;this.key=++mj;this.Gt=this.Ev=!1},oj=function(a){a.Gt=!0;a.listener=null;a.proxy=null;a.src=null;a.qf=null};var pj=function(a){this.src=a;this.Pd={};this.Gu=0};pj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Pd[f];a||(a=this.Pd[f]=[],this.Gu++);var h=qj(a,b,d,e);-1<h?(b=a[h],c||(b.Ev=!1)):(b=new nj(b,this.src,f,!!d,e),b.Ev=c,a.push(b));return b};pj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Pd))return!1;var e=this.Pd[a];b=qj(e,b,c,d);return-1<b?(oj(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Pd[a],this.Gu--),!0):!1};
var rj=function(a,b){var c=b.type;if(!(c in a.Pd))return!1;var d=_.Wi(a.Pd[c],b);d&&(oj(b),0==a.Pd[c].length&&(delete a.Pd[c],a.Gu--));return d};pj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Pd)if(!a||c==a){for(var d=this.Pd[c],e=0;e<d.length;e++)++b,oj(d[e]);delete this.Pd[c];this.Gu--}return b};pj.prototype.Uo=function(a,b,c,d){a=this.Pd[a.toString()];var e=-1;a&&(e=qj(a,b,c,d));return-1<e?a[e]:null};
pj.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Xi(this.Pd,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 qj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Gt&&f.listener==b&&f.capture==!!c&&f.qf==d)return e}return-1};var sj,tj,uj,yj,Aj,Bj,Cj,Fj;sj="closure_lm_"+(1E6*Math.random()|0);tj={};uj=0;_.wj=function(a,b,c,d,e){if(d&&d.once)return _.vj(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.wj(a,b[f],c,d,e);return null}c=_.xj(c);return _.lj(a)?a.V(b,c,_.Kb(d)?!!d.capture:!!d,e):yj(a,b,c,!1,d,e)};
yj=function(a,b,c,d,e,f){if(!b)throw Error("H");var h=_.Kb(e)?!!e.capture:!!e,k=_.zj(a);k||(a[sj]=k=new pj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Aj();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)hj||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Bj(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("I");uj++;return c};Aj=function(){var a=Cj,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.vj=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.vj(a,b[f],c,d,e);return null}c=_.xj(c);return _.lj(a)?a.Gp(b,c,_.Kb(d)?!!d.capture:!!d,e):yj(a,b,c,!0,d,e)};_.Dj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Dj(a,b[f],c,d,e);else d=_.Kb(d)?!!d.capture:!!d,c=_.xj(c),_.lj(a)?a.lc(b,c,d,e):a&&(a=_.zj(a))&&(b=a.Uo(b,c,d,e))&&_.Ej(b)};
_.Ej=function(a){if("number"===typeof a||!a||a.Gt)return!1;var b=a.src;if(_.lj(b))return b.qJ(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Bj(c),d):b.addListener&&b.removeListener&&b.removeListener(d);uj--;(c=_.zj(b))?(rj(c,a),0==c.Gu&&(c.src=null,b[sj]=null)):oj(a);return!0};Bj=function(a){return a in tj?tj[a]:tj[a]="on"+a};
Cj=function(a,b){if(a.Gt)a=!0;else{b=new _.ij(b,this);var c=a.listener,d=a.qf||a.src;a.Ev&&_.Ej(a);a=c.call(d,b)}return a};_.zj=function(a){a=a[sj];return a instanceof pj?a:null};Fj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.xj=function(a){if("function"===typeof a)return a;a[Fj]||(a[Fj]=function(b){return a.handleEvent(b)});return a[Fj]};_.Vi(function(a){Cj=a(Cj)});_.Gj=function(){_.dj.call(this);this.yj=new pj(this);this.zW=this;this.aG=null};_.Za(_.Gj,_.dj);_.Gj.prototype[_.kj]=!0;_.g=_.Gj.prototype;_.g.Fm=function(){return this.aG};_.g.qA=_.ca(3);_.g.addEventListener=function(a,b,c,d){_.wj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Dj(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Fm();if(c)for(b=[];c;c=c.Fm())b.push(c);c=this.zW;var d=a.type||a;if("string"===typeof a)a=new _.gj(a,c);else if(a instanceof _.gj)a.target=a.target||c;else{var e=a;a=new _.gj(d,c);_.Zi(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Dt&&0<=f;f--){var h=a.currentTarget=b[f];e=h.Sr(d,!0,a)&&e}a.Dt||(h=a.currentTarget=c,e=h.Sr(d,!0,a)&&e,a.Dt||(e=h.Sr(d,!1,a)&&e));if(b)for(f=0;!a.Dt&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Sr(d,!1,a)&&e;return e};
_.g.qa=function(){_.Gj.H.qa.call(this);this.uG();this.aG=null};_.g.V=function(a,b,c,d){return this.yj.add(String(a),b,!1,c,d)};_.g.Gp=function(a,b,c,d){return this.yj.add(String(a),b,!0,c,d)};_.g.lc=function(a,b,c,d){return this.yj.remove(String(a),b,c,d)};_.g.qJ=function(a){return rj(this.yj,a)};_.g.uG=function(){this.yj&&this.yj.removeAll(void 0)};
_.g.Sr=function(a,b,c){a=this.yj.Pd[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.Gt&&f.capture==b){var h=f.listener,k=f.qf||f.src;f.Ev&&this.qJ(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Uo=function(a,b,c,d){return this.yj.Uo(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.yj.hasListener(void 0!==a?String(a):void 0,b)};
var Ns,Os,Ps,Qs,Us,Vs,Xs,at,bt,ct,dt,et,ft,Ws,Ys,Zs;Ns=function(a){var b=document.createElement("template");if(!("content"in b)){b=_.fd("<html><body>"+a);b=(new DOMParser).parseFromString(_.xb(b),"text/html");for(a=b.createDocumentFragment();0<b.body.childNodes.length;)a.appendChild(b.body.firstChild);return a}a=_.fd(a);_.yb(b,a);return b.content};Os=function(a){a=a.nodeName;return"string"===typeof a?a:"FORM"};Ps=function(a){a=a.nodeType;return a===Node.ELEMENT_NODE||"number"!==typeof a};
Qs=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Rs=function(a,b,c,d){return Array.prototype.splice.apply(a,Qs(arguments,1))};_.Ss=function(a,b,c){if(null!==a&&b in a)throw Error("k`"+b);a[b]=c};
_.Ts=function(a){var b=void 0===b?{}:b;a=a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");b.gga&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.fga&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.hga&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return _.fd(a)};Us=function(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)};
Vs=function(a,b){("undefined"!==typeof window&&window.navigator&&void 0!==window.navigator.sendBeacon?navigator.sendBeacon.bind(navigator):Us)("https://csp.withgoogle.com/csp/lcreport/"+a.xG,JSON.stringify({host:window.location.hostname,type:b,additionalData:void 0}))};Xs=function(a,b){try{Ws(_.vd,a)}catch(c){return Vs(b,"H_SLSANITIZE"),!0}try{Ws(_.ud,a)}catch(c){return Vs(b,"H_RSANITIZE"),!0}try{Ws(_.td,a)}catch(c){return Vs(b,"H_SANITIZE"),!0}return!1};
_.$s=function(a,b){a=_.Jb(a);var c;if(c=b){var d,e;c=Math.random()<(null!=(e=null!=(d=b.Aga)?d:Ys[b.xG[0]])?e:0)}if(c&&"DocumentFragment"in window){var f,h;Math.random()<(null!=(h=null!=(f=b.xfa)?f:Zs[b.xG[0]])?h:0)&&Vs(b,"HEARTBEAT");Xs(a,b)||_.Ts(a).toString()!==a&&Vs(b,"H_ESCAPE")}return _.fd(a)};_.he.prototype.N=_.cb(1,function(a){return _.Pi(this.qb,a)});
at=function(a,b,c){c=a.iM.get(c);return(null==c?0:c.has(b))?c.get(b):a.GW.has(b)?{zd:1}:(c=a.a_.get(b))?c:a.VN&&[].concat(_.aj(a.VN)).some(function(d){return 0===b.indexOf(d)})?{zd:1}:{zd:0}};bt=["data:","http:","https:","mailto:","ftp:"];ct=function(a){0===a.Kv.length&&a.Kv.push("")};
dt=function(a,b){if(b.nodeType===Node.TEXT_NODE)return NodeFilter.FILTER_ACCEPT;if(!Ps(b))return NodeFilter.FILTER_REJECT;b=Os(b);if(null===b)return ct(a),NodeFilter.FILTER_REJECT;var c=a.GR;if("form"!==b.toLowerCase()&&(c.FW.has(b)||c.iM.has(b)))return NodeFilter.FILTER_ACCEPT;ct(a);return NodeFilter.FILTER_REJECT};
et=function(a,b){var c=Os(b),d=document.createElement(c);b=b.attributes;for(var e=_.ta(b),f=e.next();!f.done;f=e.next()){var h=f.value;f=h.name;h=h.value;var k=at(a.GR,f,c),l;a:{if(l=k.conditions){l=_.ta(l);for(var m=l.next();!m.done;m=l.next()){var n=_.ta(m.value);m=n.next().value;n=n.next().value;var q=void 0;if((m=null==(q=b.getNamedItem(m))?void 0:q.value)&&!n.has(m)){l=!1;break a}}}l=!0}if(l)switch(k.zd){case 1:d.setAttribute(f,h);break;case 2:k=_.Oi(h);k=void 0!==k&&-1!==bt.indexOf(k.toLowerCase())?
h:"about:invalid#zClosurez";k!==h&&ct(a);d.setAttribute(f,k);break;case 3:d.setAttribute(f,h.toLowerCase());break;case 4:d.setAttribute(f,h);break;case 0:ct(a)}else ct(a)}return d};
ft=function(a,b){b=Ns(b);b=document.createTreeWalker(b,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(h){return dt(a,h)},!1);for(var c=b.nextNode(),d=document.createDocumentFragment(),e=d;null!==c;){var f=void 0;if(c.nodeType===Node.TEXT_NODE)f=document.createTextNode(c.data);else if(Ps(c))f=et(a,c);else throw Error("q");e.appendChild(f);if(c=b.firstChild())e=f;else for(;!(c=b.nextSibling())&&(c=b.parentNode());)e=e.parentNode}return d};
_.gt=function(a,b){var c=document.createElement("span");c.appendChild(ft(a,b));a=(new XMLSerializer).serializeToString(c);a=a.slice(a.indexOf(">")+1,a.lastIndexOf("</"));return _.fd(a)};Ws=function(a,b){a.Kv=[];_.gt(a,b);if(0!==a.Kv.length)throw Error("q");};Ys={0:1,1:.5};Zs={0:.1,1:.05};
_.ht=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:""):_.ke(c,"*",a,b)[0]||null}return a||null};_.it=function(a){var b;if(_.Yd&&(b=a.parentElement))return b;b=a.parentNode;return _.Ae(b)?b:null};_.jt=function(a){_.dj.call(this);this.he=a;this.Ob={}};_.Za(_.jt,_.dj);var kt=[];_.jt.prototype.V=function(a,b,c,d){return this.Xs(a,b,c,d)};
_.jt.prototype.Xs=function(a,b,c,d,e){Array.isArray(b)||(b&&(kt[0]=b.toString()),b=kt);for(var f=0;f<b.length;f++){var h=_.wj(a,b[f],c||this.handleEvent,d||!1,e||this.he||this);if(!h)break;this.Ob[h.key]=h}return this};_.jt.prototype.Gp=function(a,b,c,d){return lt(this,a,b,c,d)};var lt=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)lt(a,b,c[h],d,e,f);else{b=_.vj(b,c,d||a.handleEvent,e,f||a.he||a);if(!b)return a;a.Ob[b.key]=b}return a};
_.jt.prototype.lc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.lc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Kb(d)?!!d.capture:!!d,e=e||this.he||this,c=_.xj(c),d=!!d,b=_.lj(a)?a.Uo(b,c,d,e):a?(a=_.zj(a))?a.Uo(b,c,d,e):null:null,b&&(_.Ej(b),delete this.Ob[b.key]);return this};_.jt.prototype.removeAll=function(){_.jb(this.Ob,function(a,b){this.Ob.hasOwnProperty(b)&&_.Ej(a)},this);this.Ob={}};_.jt.prototype.qa=function(){_.jt.H.qa.call(this);this.removeAll()};
_.jt.prototype.handleEvent=function(){throw Error("Q");};
var av,bv,cv,dv,ev,gv,hv,iv,jv,lv;_.$u=!1;av=function(a){try{_.$u&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};bv=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};cv=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};
dv=function(a,b){function c(){}if(!a)throw Error("T");if(!b)throw Error("U");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};ev=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.fv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};gv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
hv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("V`"+b);};iv={token:1,id_token:1};jv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.kv=window.JSON;lv=function(a){this.GJ=a||[];this.Vb={}};
lv.prototype.addEventListener=function(a,b){if(!(0<=cv(this.GJ,a)))throw Error("X`"+a);if(!ev(b))throw Error("Y`"+a);this.Vb[a]||(this.Vb[a]=[]);0>cv(this.Vb[a],b)&&this.Vb[a].push(b)};lv.prototype.removeEventListener=function(a,b){if(!(0<=cv(this.GJ,a)))throw Error("X`"+a);ev(b)&&this.Vb[a]&&this.Vb[a].length&&(b=cv(this.Vb[a],b),0<=b&&this.Vb[a].splice(b,1))};
lv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=cv(this.GJ,b)))throw Error("Z`"+b);if(this.Vb[b]&&this.Vb[b].length)for(var c=this.Vb[b].length,d=0;d<c;d++)this.Vb[b][d](a)};var mv,nv,ov,sv,tv,Kv,Lv,Nv,Ov,Qv,$v;mv={};nv={};ov={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.pv=function(a,b){if(a=ov[a])return a[b]};_.qv=function(a,b){if(!a)throw Error("$");if(!b.authServerUrl)throw Error("aa");if(!b.idpIFrameUrl)throw Error("ba");ov[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.rv=void 0;
sv=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")};tv=function(){this.g7=window;this.bw=this.dm=this.At=this.Jh=null};
tv.prototype.open=function(a,b,c,d){uv(this);this.At?(this.dm&&(this.dm(),this.dm=null),vv(this)):this.At="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Jh=this.g7.open(a,this.At,b);try{this.Jh.focus();if(this.Jh.closed||"undefined"==typeof this.Jh.closed)throw Error("da");_.rv=this.Jh}catch(e){d&&setTimeout(d,0);this.Jh=null;break a}c&&(this.dm=c,wv(this))}};
var uv=function(a){try{if(null==a.Jh||a.Jh.closed)a.Jh=null,a.At=null,vv(a),a.dm&&(a.dm(),a.dm=null)}catch(b){a.Jh=null,a.At=null,vv(a)}},wv=function(a){a.bw=window.setInterval(function(){uv(a)},300)},vv=function(a){a.bw&&(window.clearInterval(a.bw),a.bw=null)};nv=nv||{};var xv=function(a,b){this.Qb=a;this.RE=b;this.jd=null;this.Om=!1};xv.prototype.start=function(){if(!this.Om&&!this.jd){var a=this;this.jd=window.setTimeout(function(){a.clear();a.Om||(a.Qb(),a.Om=!0)},nv.RN(this.RE))}};
xv.prototype.clear=function(){this.jd&&(window.clearTimeout(this.jd),this.jd=null)};var yv=function(a,b){var c=nv.Zq;this.z0=nv.Tq;this.ET=c;this.Qb=a;this.RE=b;this.jd=null;this.Om=!1;var d=this;this.FT=function(){document[d.z0]||(d.clear(),d.start())}};yv.prototype.start=function(){if(!this.Om&&!this.jd){hv(document,this.ET,this.FT);var a=this;this.jd=window.setTimeout(function(){a.clear();a.Om||(a.Qb(),a.Om=!0)},nv.RN(this.RE))}};
yv.prototype.clear=function(){var a=this.ET,b=this.FT,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("W`"+a);this.jd&&(window.clearTimeout(this.jd),this.jd=null)};nv.Tq=null;nv.Zq=null;
nv.V0=function(){var a=document;"undefined"!==typeof a.hidden?(nv.Tq="hidden",nv.Zq="visibilitychange"):"undefined"!==typeof a.msHidden?(nv.Tq="msHidden",nv.Zq="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(nv.Tq="webkitHidden",nv.Zq="webkitvisibilitychange")};nv.V0();nv.GX=function(a,b){return nv.Tq&&nv.Zq?new yv(a,b):new xv(a,b)};nv.RN=function(a){return Math.max(1,a-(new Date).getTime())};
var zv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},Av=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var p=h,t=0;64>t;t+=4)p[t/4]=q[t]<<24|q[t+1]<<16|q[t+2]<<8|q[t+3];for(t=16;80>t;t++)q=p[t-3]^p[t-8]^p[t-14]^p[t-16],p[t]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],r=e[2],w=e[3],A=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var B=w^v&(r^w);var D=1518500249}else B=
v^r^w,D=1859775393;else 60>t?(B=v&r|w&(v|r),D=2400959708):(B=v^r^w,D=3395469782);B=((q<<5|q>>>27)&4294967295)+B+A+D+p[t]&4294967295;A=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=B}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+A&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var t=[],v=0,r=q.length;v<r;++v)t.push(q.charCodeAt(v));q=t}p||(p=q.length);t=0;if(0==m)for(;t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64;for(;t<
p;)if(f[m++]=q[t++],n++,64==m)for(m=0,b(f);t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64}function d(){var q=[],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)q[p++]=e[t]>>v&255;return q}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,ei:function(){for(var q=d(),p="",t=0;t<q.length;t++)p+="0123456789ABCDEF".charAt(Math.floor(q[t]/16))+"0123456789ABCDEF".charAt(q[t]%16);return p}}},Bv=
window.crypto,Cv=!1,Dv=0,Ev=1,Fv=0,Gv="",Hv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Ev=Ev*b%Fv;if(3==++Dv)if(a=window,b=Hv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("W`mousemove");},Iv=function(a){var b=Av();b.update(a);return b.ei()};Cv=!!Bv&&"function"==typeof Bv.getRandomValues;
Cv||(Fv=1E6*(screen.width*screen.width+screen.height),Gv=Iv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),hv(window,"mousemove",Hv));mv=mv||{};mv.xU="ssIFrame_";
_.Jv=function(a,b,c){c=void 0===c?!1:c;this.ub=a;if(!this.ub)throw Error("ea");a=_.pv(a,"idpIFrameUrl");if(!a)throw Error("fa");this.LO=a;if(!b)throw Error("ga");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.AE=a.join("");this.J4=[location.protocol,"//",location.host].join("");
this.vu=this.zE=this.Sm=!1;this.HO=null;this.Wy=[];this.bq=[];this.lj={};this.Tm=void 0;this.Jq=c};_.g=_.Jv.prototype;_.g.show=function(){var a=this.Tm;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.g.Sb=function(){sv(this.Tm)};
_.g.By=function(a){if(this.Sm)a&&a(this);else{if(!this.Tm){var b=mv.xU+this.ub;var c=this.ub;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=cv(e.split("|"),c))?zv(e,d):zv(e?e+"|"+c:c,d);c=!f;var h=this.LO,k=this.J4;d=this.El;e=this.Jq;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&&ev(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);sv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.$u&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Tm=f}a&&this.Wy.push(a)}};_.g.oy=function(){return this.Sm&&this.vu};_.g.Dm=function(){return this.HO};
Kv=function(a){for(var b=0;b<a.Wy.length;b++)a.Wy[b](a);a.Wy=[]};_.Mv=function(a,b,c,d){if(a.Sm){if(a.Sm&&a.zE)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Dm(),av(a),Error(a);Lv(a,{method:b,params:c},d)}else a.bq.push({An:{method:b,params:c},callback:d}),a.By()};Lv=function(a,b,c){if(c){for(var d=b.id;!d||a.lj[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.lj[d]=c}b.rpcToken=a.El;a.Tm.contentWindow.postMessage(_.kv.stringify(b),a.AE)};
Nv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ha");};_.Jv.prototype.Ki=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Nv(f);b=_.fv(b);_.Mv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Jv.prototype.Ay=function(a,b,c,d,e){b=_.fv(b);_.Mv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Ov=function(a,b,c){Nv(b.identifier);_.Mv(a,"getSessionSelector",b,c)};
_.Pv=function(a,b,c,d,e){Nv(b.identifier);_.Mv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Qv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Mv(a,"monitorClient",b,e)};_.Jv.prototype.revoke=_.ca(9);_.Jv.prototype.ur=_.ca(11);mv.Ox={};mv.AD=function(a){return mv.Ox[a]};
mv.By=function(a,b,c){c=void 0===c?!1:c;var d=mv.AD(a);if(!d){d=String;if(Cv){var e=new window.Uint32Array(1);Bv.getRandomValues(e);e=Number("0."+e[0])}else e=Ev,e+=parseInt(Gv.substr(0,20),16),Gv=Iv(Gv),e/=Fv+Math.pow(16,20);d=new _.Jv(a,d(2147483647*e),c);mv.Ox[a]=d}d.By(b)};mv.eZ=function(a){for(var b in mv.Ox){var c=mv.AD(b);if(c&&c.Tm&&c.Tm.contentWindow==a.source&&c.AE==a.origin)return c}};mv.JZ=function(a){for(var b in mv.Ox){var c=mv.AD(b);if(c&&c.AE==a)return c}};mv=mv||{};
var Sv=function(){var a=[],b;for(b in Rv)a.push(Rv[b]);lv.call(this,a);this.Yk={};av("EventBus is ready.")};dv(Sv,lv);var Rv={PV:"sessionSelectorChanged",zB:"sessionStateChanged",kB:"authResult",jU:"displayIFrame"},Uv=function(a,b){var c=Tv;a&&b&&(c.Yk[a]||(c.Yk[a]=[]),0>cv(c.Yk[a],b)&&c.Yk[a].push(b))},Vv=function(a){var b=Tv;a&&(b.Yk[a]||(b.Yk[a]=[]))},Wv=function(a,b,c){return b&&a.Yk[b]&&0<=cv(a.Yk[b],c)};_.g=Sv.prototype;
_.g.L3=function(a){var b,c=!!a.source&&(a.source===_.rv||a.source.opener===window);if(b=c?mv.JZ(a.origin):mv.eZ(a)){try{var d=_.kv.parse(a.data)}catch(e){av("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.El){av("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.lj[c.id])delete b.lj[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?av("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.KO[a.type]?(d=this.KO[a.type],
c&&!d.DW?av("Bad IDP event. Source window cannot be a popup."):d.Oq&&!d.Oq.call(this,b,a)?av("Bad IDP event."):d.qf.call(this,b,a)):av("Bad IDP event.")}else av("Bad event, no corresponding Idp Stub.")};_.g.i5=function(a,b){return Wv(this,a.ub,b.clientId)};_.g.h5=function(a,b){b=b.clientId;return!b||Wv(this,a.ub,b)};_.g.QW=function(a,b){return Wv(this,a.ub,b.clientId)};_.g.S2=function(a,b){a.Sm=!0;a.vu=!!b.cookieDisabled;Kv(a);for(b=0;b<a.bq.length;b++)Lv(a,a.bq[b].An,a.bq[b].callback);a.bq=[]};
_.g.R2=function(a,b){b={error:b.error};a.Sm=!0;a.zE=!0;a.HO=b;a.bq=[];Kv(a)};_.g.Az=function(a,b){b.originIdp=a.ub;this.dispatchEvent(b)};var Tv=new Sv,Xv=Tv,Yv={};Yv.idpReady={qf:Xv.S2};Yv.idpError={qf:Xv.R2};Yv.sessionStateChanged={qf:Xv.Az,Oq:Xv.i5};Yv.sessionSelectorChanged={qf:Xv.Az,Oq:Xv.h5};Yv.authResult={qf:Xv.Az,Oq:Xv.QW,DW:!0};Yv.displayIFrame={qf:Xv.Az};Tv.KO=Yv||{};hv(window,"message",function(a){Tv.L3.call(Tv,a)});
_.Zv=function(a,b){this.we=!1;if(!a)throw Error("ia");var c=[],d;for(d in a)c.push(a[d]);lv.call(this,c);this.Xc=[location.protocol,"//",location.host].join("");this.Yd=b.crossSubDomains?b.domain||this.Xc:this.Xc;if(!b)throw Error("ja");if(!b.idpId)throw Error("ka");if(!_.pv(b.idpId,"authServerUrl")||!_.pv(b.idpId,"idpIFrameUrl"))throw Error("la`"+b.idpId);this.ub=b.idpId;this.Rb=void 0;this.NX=!!b.disableTokenRefresh;this.DY=!!b.forceTokenRefresh;this.h6=!!b.skipTokenCache;this.Jq=!!b.supportBlocked3PCookies;
b.pluginName&&(this.z3=b.pluginName);b.ackExtensionDate&&(this.vW=b.ackExtensionDate);this.setOptions(b);this.Fr=[];this.vu=this.Fj=this.pP=!1;this.Ci=void 0;this.mR();this.wd=void 0;var e=this,f=function(){av("Token Manager is ready.");if(e.Fr.length)for(var h=0;h<e.Fr.length;h++)e.Fr[h].call(e);e.pP=!0;e.Fr=[]};mv.By(this.ub,function(h){e.wd=h;h.Sm&&h.zE?(e.Fj=!0,e.Ci=h.Dm(),e.Rp(e.Ci)):(e.vu=h.oy(),e.Rb?Qv(e.wd,e.Rb,e.z3,e.vW,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
(e.Ci={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.Fj=!0,e.Rp(e.Ci)):l?m?n?(bv("You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Uv(e.ub,e.Rb),f()):(e.Ci={error:"You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Fj=!0,e.Rp(e.Ci)):(bv("Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Uv(e.ub,e.Rb),f()):(e.Ci={error:"Not a valid origin for the client: "+e.Xc+" has not been registered for client ID "+e.Rb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Fj=!0,e.Rp(e.Ci))}):(Vv(e.ub),f()))},this.Jq)};dv(_.Zv,lv);_.g=_.Zv.prototype;_.g.setOptions=function(){};_.g.mR=function(){};_.g.Rp=function(){};_.g.oy=function(){return this.vu};_.g.Dm=function(){return this.Ci};$v=function(a,b,c){return function(){b.apply(a,c)}};
_.aw=function(a,b,c){if(a.pP)b.apply(a,c);else{if(a.Fj)throw a.Ci;a.Fr.push($v(a,b,c))}};_.Zv.prototype.qL=_.ca(12);_.Zv.prototype.ur=_.ca(10);_.cw=function(a,b){_.Zv.call(this,a,b);this.VQ=new tv;this.Qj=this.qn=null;bw(this)};dv(_.cw,_.Zv);_.cw.prototype.setOptions=function(){};
var dw=function(a,b){a.re={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Yd};b.crossSubDomains&&(a.re.policy=b.policy)},ew=function(a,b){if(!b.authParameters)throw Error("ma");if(!b.authParameters.scope)throw Error("na");if(!b.authParameters.response_type)throw Error("oa");a.jr=b.authParameters;a.jr.redirect_uri||(a.jr.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Pi=_.fv(b.rpcAuthParameters||a.jr);if(!a.Pi.scope)throw Error("pa");if(!a.Pi.response_type)throw Error("qa");
a:{var c=a.Pi.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!iv[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ra");b.enableSerialConsent&&(a.Pi.enable_serial_consent=!0);b.authResultIdentifier&&(a.RW=b.authResultIdentifier);b.spec_compliant&&(a.Pi.spec_compliant=b.spec_compliant)};
_.cw.prototype.mR=function(){var a=this;Tv.addEventListener(Rv.PV,function(b){a.we&&a.re&&b.originIdp==a.ub&&!b.crossSubDomains==!a.re.crossSubDomains&&b.domain==a.re.domain&&b.id==a.re.id&&a.EQ(b)});Tv.addEventListener(Rv.zB,function(b){a.we&&b.originIdp==a.ub&&b.clientId==a.Rb&&a.FQ(b)});Tv.addEventListener(Rv.kB,function(b){_.rv=void 0;a.we&&b.originIdp==a.ub&&b.clientId==a.Rb&&b.id==a.Mj&&(a.qn&&(window.clearTimeout(a.qn),a.qn=null),a.Mj=void 0,a.kt(b))});Tv.addEventListener(Rv.jU,function(b){a.we&&
b.originIdp==a.ub&&(b.Sb?a.wd.Sb():a.wd.show())})};_.cw.prototype.EQ=function(){};_.cw.prototype.FQ=function(){};_.cw.prototype.kt=function(){};var gw=function(a,b){fw(a);a.NX||(a.Qj=nv.GX(function(){a.Ki(!0)},b-3E5),navigator.onLine&&a.Qj.start())},fw=function(a){a.Qj&&(a.Qj.clear(),a.Qj=null)},bw=function(a){var b=window;jv()&&(b=document.body);hv(b,"online",function(){a.Qj&&a.Qj.start()});hv(b,"offline",function(){a.Qj&&a.Qj.clear()})};_.cw.prototype.Ki=function(){};_.cw.prototype.lQ=_.ca(13);
_.cw.prototype.J1=function(a,b){if(!this.Rb)throw Error("va");this.wd.Ay(this.Rb,this.Pi,this.re,a,b)};_.cw.prototype.Ay=function(a,b){_.aw(this,this.J1,[a,b])};_.iw=function(a){this.ke=void 0;this.eh=!1;this.pq=void 0;_.cw.call(this,_.hw,a)};dv(_.iw,_.cw);_.hw={jK:"noSessionBound",Yq:"userLoggedOut",PT:"activeSessionChanged",zB:"sessionStateChanged",wK:"tokenReady",jW:"tokenFailed",kB:"authResult",ERROR:"error"};
_.iw.prototype.setOptions=function(a){if(!a.clientId)throw Error("wa");this.Rb=a.clientId;this.Ba=a.id;dw(this,a);ew(this,a)};_.iw.prototype.Rp=function(a){this.dispatchEvent({type:_.hw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.ub})};var jw=function(a){fw(a);a.pq=void 0;a.wy=void 0};_.g=_.iw.prototype;
_.g.EQ=function(a){var b=a.newValue||{};if(this.ke!=b.hint||this.eh!=!!b.disabled){a=this.ke;var c=!this.ke||this.eh;jw(this);this.ke=b.hint;this.eh=!!b.disabled;(b=!this.ke||this.eh)&&!c?this.dispatchEvent({type:_.hw.Yq,idpId:this.ub}):b||(a!=this.ke&&this.dispatchEvent({type:_.hw.PT,idpId:this.ub}),this.ke&&this.Ki())}};
_.g.FQ=function(a){this.eh||(this.ke?a.user||this.pq?a.user==this.ke&&(this.pq?a.sessionState?this.pq=a.sessionState:(jw(this),this.dispatchEvent({type:_.hw.Yq,idpId:this.ub})):a.sessionState&&(this.pq=a.sessionState,this.Ki())):this.Ki():this.dispatchEvent({type:_.hw.zB,idpId:this.ub}))};_.g.kt=function(a){this.dispatchEvent({type:_.hw.kB,authResult:a.authResult})};_.g.ds=_.ca(15);_.g.Wr=function(a){_.aw(this,this.pD,[a])};_.g.pD=function(a){Ov(this.wd,this.re,a)};
_.g.GA=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("xa");jw(this);this.ke=a;this.eh=!1;b&&_.Pv(this.wd,this.re,!1,this.ke);this.we=!0;this.Ki(c,!0,d)};_.g.start=function(){_.aw(this,this.ou,[])};
_.g.ou=function(){var a=this.Rb==gv("client_id")?gv("login_hint"):void 0;var b=this.Rb==gv("client_id")?gv("state"):void 0;this.IF=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.GA(a,!0,!0,!0);else{var c=this;this.Wr(function(d){c.we=!0;d&&d.hint?(jw(c),c.ke=d.hint,c.eh=!!d.disabled,c.eh?c.dispatchEvent({type:_.hw.Yq,idpId:c.ub}):c.GA(d.hint)):(jw(c),c.ke=void 0,c.eh=!(!d||!d.disabled),c.dispatchEvent({type:_.hw.jK,
autoOpenAuthUrl:!c.eh,idpId:c.ub}))})}};_.g.AY=function(){var a=this;this.Wr(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.hw.Yq,idpId:a.ub}):a.Ki(!0):a.dispatchEvent({type:_.hw.jK,idpId:a.ub})})};_.g.ZM=function(){_.aw(this,this.AY,[])};
_.g.Ki=function(a,b,c){var d=this;this.wd.Ki(this.Rb,this.Pi,this.ke,this.re,function(e,f){(f=f||e.error)?"user_logged_out"==f?(jw(d),d.dispatchEvent({type:_.hw.Yq,idpId:d.ub})):(d.wy=null,d.dispatchEvent({type:_.hw.jW,idpId:d.ub,error:f})):(d.wy=e,d.pq=e.session_state,gw(d,e.expires_at),e.idpId=d.ub,b&&d.IF&&(e.state=d.IF,d.IF=void 0),d.dispatchEvent({type:_.hw.wK,idpId:d.ub,response:e}))},this.Ba,a,!1,void 0===c?!1:c)};_.g.revoke=_.ca(8);_.g.CR=_.ca(16);
_.kw=function(a){this.Tl=null;_.cw.call(this,{},a);this.we=!0};dv(_.kw,_.cw);_.g=_.kw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("wa");this.Rb=a.clientId;this.Ba=a.id;dw(this,a);ew(this,a)};_.g.Rp=function(a){this.Tl&&(this.Tl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Tl=null)};_.g.kt=function(a){if(this.Tl){var b=this.Tl;this.Tl=null;b(a)}};_.g.ds=_.ca(14);_.g.Wr=function(a){this.Fj?a(this.Dm()):_.aw(this,this.pD,[a])};
_.g.pD=function(a){Ov(this.wd,this.re,a)};_.lw=function(a,b,c){a.Fj?c(a.Dm()):_.aw(a,a.h3,[b,c])};_.kw.prototype.h3=function(a,b){this.wd.Ki(this.Rb,this.Pi,a,this.re,function(c,d){d?b({error:d}):b(c)},this.Ba,this.DY,this.h6)};_.kw.prototype.MP=_.ca(17);
var mw=function(a){return Array.prototype.concat.apply([],arguments)},nw=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 _.Lh(a,3).substring(0,64)},ow=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},pw=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},qw=function(a,b,c){if(!a.we)throw Error("sa");b?_.Pv(a.wd,a.re,!0,void 0,c):_.Pv(a.wd,a.re,!0,a.ke,c)},rw=function(a){if(!a.we)throw Error("sa");return a.wy},sw,tw,uw,vw,ww,xw,yw,zw,Aw,Cw;_.kw.prototype.MP=_.cb(17,function(a,b){var c=this.wd,d=this.Rb,e=this.re,f=_.fv(this.Pi);delete f.response_type;_.Mv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.iw.prototype.CR=_.cb(16,function(a){rw(this)&&rw(this).access_token&&(this.wd.revoke(this.Rb,rw(this).access_token,a),qw(this,!0))});
_.iw.prototype.ds=_.cb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.oy()&&a.Jq&&(ow()||pw())){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.ub};a.wy=b;a.dispatchEvent({type:_.hw.wK,idpId:a.ub,response:b})}else a.GA(b.authResult.login_hint,a.eh||b.authResult.login_hint!=a.ke,!0,!0)}});
_.kw.prototype.ds=_.cb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Wr(function(d){_.Pv(b.wd,b.re,d&&d.disabled,c.authResult.login_hint,function(){_.lw(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"})}});_.cw.prototype.lQ=_.cb(13,function(){this.Rb&&_.Mv(this.wd,"startPolling",{clientId:this.Rb,origin:this.Xc,id:this.Mj})});
_.Jv.prototype.revoke=_.cb(9,function(a,b,c){_.Mv(this,"revoke",{clientId:a,token:b},c)});_.iw.prototype.revoke=_.cb(8,function(a){_.aw(this,this.CR,[a])});sw=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};
tw=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};
uw=function(a,b,c,d,e,f,h){var k=_.pv(a,"authServerUrl");if(!k)throw Error("ca`"+a);a=_.fv(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=tw())&&(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("&")};
vw=function(a,b,c,d){if(!a.Rb)throw Error("ta");a.Mj=c||a.RW||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Xc.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.Mj);c.redirect_uri=e.join("")}return uw(a.ub,a.Yd,a.Rb,a.jr,!0,b,d)};ww=function(a,b,c){if(!a.Rb)throw Error("ta");return uw(a.ub,a.Yd,a.Rb,a.jr,!1,b,c)};
xw=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(" ")};yw=function(a,b){a.qn&&window.clearTimeout(a.qn);a.qn=window.setTimeout(function(){a.Mj==b&&(_.rv=void 0,a.qn=null,a.Mj=void 0,a.kt({authResult:{error:"popup_closed_by_user"}}))},1E3)};
zw=function(a,b,c){if(!a.Rb)throw Error("ua");c=c||{};a.oy()&&a.Jq&&(ow()||pw())&&(c.responseType=xw(c.responseType));c=vw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||sw())&&_.aw(a,a.lQ,[]);var d=a.Mj;a.VQ.open(c,b,function(){a.Mj==d&&yw(a,d)},function(){a.Mj=void 0;a.kt({authResult:{error:"popup_blocked_by_browser"}})})};Aw=function(a,b,c){a.Fj?c(a.Dm()):_.aw(a,a.MP,[b,c])};
_.Bw=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("")};
Cw=function(a){var b=[];_.Mh(a,function(c){b.push(c)});return b};_.Dw=function(a,b){_.ti[b||"token"]=a};_.Ew=function(a){delete _.ti[a||"token"]};_.kv={parse:function(a){a=_.Of("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Pf(a)}};_.kw.prototype.dD=function(a,b){_.aw(this,this.rY,[a,b])};_.kw.prototype.rY=function(a,b){this.wd.dD(this.Rb,a,this.Pi,this.re,b)};_.Jv.prototype.dD=function(a,b,c,d,e){c=_.fv(c);_.Mv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Fw,Gw=["client_id","cookie_policy","scope"],Hw="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(" "),Iw=["authuser","after_redirect","access_type","hl"],Jw=["login_hint","prompt"],Kw={clientid:"client_id",cookiepolicy:"cookie_policy"},Lw=["approval_prompt",
"authuser","login_hint","prompt","hd"],Mw=["login_hint","g-oauth-window","status"],Nw=Math.min(_.$e("oauth-flow/authWindowWidth",599),screen.width-20),Ow=Math.min(_.$e("oauth-flow/authWindowHeight",600),screen.height-30);var Pw=function(a){_.db.call(this,a)};_.H(Pw,_.db);Pw.prototype.name="gapi.auth2.ExternallyVisibleError";var Qw=function(){};Qw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Rw=function(){};Rw.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 Sw=function(a){this.SW=a};
Sw.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.SW){d.login_hint?b(d):b();return}}b()};var Tw=function(a){this.Ud=a;this.aA=[]};Tw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.aA[b];f?(b++,c.Ud.Ay(function(h){h?f.select(h,d):d()})):a()}};d()};var Uw=function(a){a=new Tw(a);a.aA.push(new Qw);return a},Vw=function(a){a=new Tw(a);a.aA.push(new Rw);return a},Ww=function(a,b){void 0===b||null===b?b=Uw(a):(a=new Tw(a),a.aA.push(new Sw(b)),b=a);return b};var Xw=function(a){this.qf=a;this.isActive=!0};Xw.prototype.remove=function(){this.isActive=!1};Xw.prototype.trigger=function(){};var Yw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Zw=function(){this.Vb=[]};Zw.prototype.add=function(a){this.Vb.push(a)};Zw.prototype.notify=function(a){for(var b=this.Vb,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.gk($w(e.qf,a)))}this.Vb=c};var $w=function(a,b){return function(){a(b)}};var bx=function(a){this.Pb=null;this.a7=new ax(this);this.Vb=new Zw;void 0!=a&&this.set(a)};bx.prototype.set=function(a){a!=this.Pb&&(this.Pb=a,this.a7.value=a,this.Vb.notify(this.Pb))};bx.prototype.get=function(){return this.Pb};bx.prototype.V=function(a){a=new cx(this,a);this.Vb.add(a);return a};bx.prototype.get=bx.prototype.get;var cx=function(a,b){Xw.call(this,b);this.M1=a};_.H(cx,Xw);cx.prototype.trigger=function(){var a=this.qf;a(this.M1.get())};var ax=function(a){this.value=null;this.V=function(b){return new Yw(a.V(b))}};var dx={r9:"fetch_basic_profile",s$:"login_hint",Qaa:"prompt",Xaa:"redirect_uri",oba:"scope",Eca:"ux_mode",Zba:"state"},ex=function(a){this.Ha={};if(a&&!_.Eh(a))if("function"==typeof a.get)this.Ha=a.get();else for(var b in dx){var c=dx[b];c in a&&(this.Ha[c]=a[c])}};ex.prototype.get=function(){return this.Ha};ex.prototype.sS=function(a){this.Ha.scope=a;return this};ex.prototype.vs=function(){return this.Ha.scope};
var fx=function(a,b){var c=a.Ha.scope;b=mw(b.split(" "),c?c.split(" "):[]);_.Dh(b);a.Ha.scope=b.join(" ")};_.g=ex.prototype;_.g.L5=function(a){this.Ha.prompt=a;return this};_.g.LZ=function(){return this.Ha.prompt};_.g.l5=function(){_.Uf.warn("Property app_package_name no longer supported and was not set");return this};_.g.LY=function(){_.Uf.warn("Property app_package_name no longer supported")};_.g.Ve=function(a){this.Ha.state=a};_.g.getState=function(){return this.Ha.state};var gx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Nw,"height="+Ow,"top="+(screen.height-Ow)/2,"left="+(screen.width-Nw)/2].join()},hx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Bw(Cw(a)))},ix=function(){Fw=_.$e("auth2/idpValue","google");var a=_.$e("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.$e("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.qv(Fw,{authServerUrl:a,idpIFrameUrl:b})},jx=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}_.Kb(a[e])||(a[e]={});a=a[e]}},kx=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},mx=function(){var a=lx();a.storage_path&&window.sessionStorage.setItem(a.storage_path,kx()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Pw("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.Uf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var nx=function(a){var b=a?(b=hx(a))?b.sub:null:null;this.Ba=b;this.zc=a?_.Xj(a):null};_.g=nx.prototype;_.g.getId=function(){return this.Ba};_.g.xD=function(){var a=hx(this.zc);return a?a.hd:null};_.g.Vf=function(){return!!this.zc};_.g.Fk=function(a){if(a)return this.zc;a=ox;var b=_.Xj(this.zc);!a.Zx||a.uE||a.o0||(delete b.access_token,delete b.scope);return b};_.g.tG=function(){return ox.tG()};_.g.Zj=function(){this.zc=null};_.g.oZ=function(){return this.zc?this.zc.scope:null};
_.g.update=function(a){this.Ba=a.Ba;this.zc=a.zc;this.zc.id_token?this.wv=new px(this.zc):this.wv&&(this.wv=null)};var qx=function(a){return a.zc&&"object"==typeof a.zc.session_state?_.Xj(a.zc.session_state.extraQueryParams||{}):{}};_.g=nx.prototype;_.g.nD=function(){var a=qx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Yj=function(a){var b=ox,c=new ex(a);b.uE=c.vs()?!0:!1;ox.Zx&&fx(c,"openid profile email");return new _.rk(function(d,e){var f=qx(this);f.login_hint=this.getId();f.scope=c.vs();rx(b,d,e,f)},this)};_.g.xs=function(a){return new _.rk(function(b,c){var d=a||{},e=ox;d.login_hint=this.getId();e.xs(d).then(b,c)},this)};_.g.d_=function(a){return this.Yj(a)};_.g.disconnect=function(){return ox.disconnect()};_.g.OY=function(){return this.wv};
_.g.Kx=function(a){if(!this.Vf())return!1;var b=this.zc&&this.zc.scope?this.zc.scope.split(" "):"";return _.$b(a?a.split(" "):[],function(c){return _.hb(b,c)})};var px=function(a){a=hx(a);this.IY=a.sub;this.zf=a.name;this.ZZ=a.given_name;this.pY=a.family_name;this.QO=a.picture;this.iw=a.email};_.g=px.prototype;_.g.getId=function(){return this.IY};_.g.xg=function(){return this.zf};_.g.mZ=function(){return this.ZZ};_.g.gZ=function(){return this.pY};_.g.uZ=function(){return this.QO};_.g.Po=function(){return this.iw};var lx,sx;lx=function(){var a=_.ii.get("G_AUTH2_MIGRATION");if(!a)return{status:"none"};a=/(enforced|informational)(?::(.*))?/i.exec(a);return a?{status:a[1].toLowerCase(),storage_path:a[2]}:(_.Uf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};sx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.tx=function(a){if(!a)throw new Pw("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 Pw("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(!_.bj(b,"."+a)&&!_.bj(b,a))throw new Pw("Invalid cookiePolicy domain");return d};var vx=function(a){var b=a||{},c=ux();_.Xb(Hw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},ux=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;Kw[d]&&(d=Kw[d]);_.hb(Hw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},wx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},xx=function(a){_.Xb(Hw,
function(b){var c=wx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},yx=function(a){a=vx(a);xx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Hw+Iw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},zx=function(a,b){if(!a)throw new Pw("Empty initial options.");for(var c=0;c<Gw.length;++c)if(!(b&&"scope"==Gw[c]||a[Gw[c]]))throw new Pw("Missing required parameter '"+Gw[c]+"'");_.tx(a.cookie_policy)},Bx=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:sx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Fw};Ax(b,a);_.Xb(Jw,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=_.$e("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},Ax=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||nw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Gx=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=Cx(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:sx(c),idpId:Fw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||nw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Xb(Jw.concat(Iw),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 Dx(a.response_type||"token"),
Ex(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Fx(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=_.$e("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},Cx=function(a){a=new Dx(a.response_type||"token");var b=[];Fx(a)&&b.push("token");Hx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Ix=["permission","id_token"],Jx=/(^|[^_])token/,Dx=function(a){this.hq=[];this.NE(a)};
Dx.prototype.NE=function(a){a?((0<=a.indexOf("permission")||a.match(Jx))&&this.hq.push("permission"),0<=a.indexOf("id_token")&&this.hq.push("id_token"),0<=a.indexOf("code")&&this.hq.push("code")):this.hq=Ix};var Ex=function(a){return Hx(a,"code")},Fx=function(a){return Hx(a,"permission")};Dx.prototype.toString=function(){return this.hq.join(" ")};var Hx=function(a,b){var c=!1;_.Xb(a.hq,function(d){d==b&&(c=!0)});return c};var Lx=function(a,b,c){this.hn=b;this.E2=a;for(var d in a)a.hasOwnProperty(d)&&Kx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.hn[c[a]]},Kx=function(a,b){a[b]=function(){return a.E2[b].apply(a.hn,arguments)}};Lx.prototype.then=function(a,b,c){var d=this;return _.vk().then(function(){return Mx(d.hn,a,b,c)})};_.ak(Lx);var ox,Nx,Px;ox=null;_.Ox=function(){return ox?Nx():null};Nx=function(){return new Lx(Px.prototype,ox,["currentUser","isSignedIn"])};Px=function(a){delete a.include_granted_scopes;this.Ha=Bx(a);this.EX=a.cookie_policy;this.o0=!!a.scope;(this.Zx=!1!==a.fetch_basic_profile)&&(this.Ha.authParameters.scope=Qx(this,"openid profile email"));_.fi.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Jq=this.Ha.supportBlocked3PCookies=!0);this.Is=a.hosted_domain;this.X6=a.ux_mode||"popup";this.S3=a.redirect_uri||null;this.KE()};
Px.prototype.KE=function(){this.currentUser=new bx(new nx(null));this.isSignedIn=new bx(!1);this.Ud=new _.iw(this.Ha);this.jy=this.zp=null;this.v1=new _.rk(function(a,b){this.zp=a;this.jy=b},this);this.Vy={};this.Rs=!0;Rx(this);this.Ud.start()};
var Rx=function(a){a.Ud.addEventListener("error",function(b){a.Rs&&a.zp&&(a.Rs=!1,a.jy({error:b.error,details:b.details}),a.zp=null,a.jy=null)});a.Ud.addEventListener("authResult",function(b){b&&b.authResult&&a.ff(b);a.Ud.ds()(b)});a.Ud.addEventListener("tokenReady",function(b){var c=new nx(b.response);if(a.Is&&a.Is!=c.xD())a.ff({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.xD(),expectedDomain:a.Is});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Vb.notify(d.Pb);a.isSignedIn.set(!0);c=c.nD();(d=_.tx(a.EX))&&c&&_.ii.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Je?"S":"H",d.fi].join(""),c,{domain:d.domain,secure:d.isSecure});_.Dw(b.response);a.ff(b)}});a.Ud.addEventListener("noSessionBound",function(b){a.Rs&&b.autoOpenAuthUrl?(a.Rs=!1,Uw(a.Ud).select(function(c){if(c&&c.login_hint){var d=a.Ud;_.aw(d,d.GA,[c.login_hint,!0])}else a.currentUser.set(new nx(null)),a.isSignedIn.set(!1),_.Ew(),a.ff(b)})):(a.currentUser.set(new nx(null)),
a.isSignedIn.set(!1),_.Ew(),a.ff(b))});a.Ud.addEventListener("tokenFailed",function(b){a.ff(b)});a.Ud.addEventListener("userLoggedOut",function(b){a.currentUser.get().Zj();var c=a.currentUser;c.Vb.notify(c.Pb);a.isSignedIn.set(!1);_.Ew();a.ff(b)})},Mx=function(a,b,c,d){return a.v1.then(function(e){if(b)return b(e.b_)},c,d)};Px.prototype.ff=function(a){if(a){this.Rs=!1;var b=a.type||"";if(this.Vy[b])this.Vy[b](a);this.zp&&(this.zp({b_:this}),this.jy=this.zp=null)}};
var Sx=function(a,b){_.jb(b,function(c,d){a.Vy[d]=function(e){a.Vy={};c(e)}})},rx=function(a,b,c,d){d=_.Xj(d);a.Is&&(d.hd=a.Is);var e=d.ux_mode||a.X6;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.S3||kx()+window.location.pathname),Tx(a,f)):(delete d.redirect_uri,Ux(a,f),Sx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Sx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Px.prototype.Yj=function(a){return new _.rk(function(b,c){var d=new ex(a);this.uE=d.vs()?!0:!1;this.Zx?(d.Ha.fetch_basic_profile=!0,fx(d,"email profile openid")):d.Ha.fetch_basic_profile=!1;var e=Qx(this,d.vs());d.sS(e);rx(this,b,c,d.get())},this)};
Px.prototype.xs=function(a){var b=a||{};this.uE=!!b.scope;a=Qx(this,b.scope);if(""==a)return _.wk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Xb(Lw,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=Vx(this,c):(c.redirect_uri=b.redirect_uri,Tx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.vk({message:"Redirecting to IDP."}));return a};
var Vx=function(a,b){b.origin=kx();delete b.redirect_uri;Ux(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.rk(function(c,d){Sx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Ux=function(a,b){jx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");zw(a.Ud,gx(),b)},Tx=function(a,b){jx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(ww(a.Ud,b.sessionMeta,
b.responseType))};Px.prototype.Zj=function(a){var b=a||!1;return new _.rk(function(c){qw(this.Ud,b,function(){c()})},this)};Px.prototype.wN=function(){return this.Ha.authParameters.scope};var Qx=function(a,b){a=a.wN();b=mw(b?b.split(" "):[],a?a.split(" "):[]);_.Dh(b);return b.join(" ")};Px.prototype.tG=function(){var a=this;return new _.rk(function(b,c){Sx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Ud.ZM()})};
Px.prototype.YK=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.wj(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Yj(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."})};Px.prototype.disconnect=function(){return new _.rk(function(a){this.Ud.revoke(function(){a()})},this)};Px.prototype.attachClickHandler=Px.prototype.YK;var Wx;_.rk.prototype["catch"]=_.rk.prototype.uu;Wx=null;_.Xx=function(a){mx();a=yx(a);if(ox){if(_.Wj(a,Wx||{}))return Nx();throw new Pw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}zx(a,!1!==a.fetch_basic_profile);ix();Wx=a;ox=new Px(a);_.Se.ga=1;return Nx()};var Zx,ay,Yx,cy,by,dy;_.$x=function(a,b){mx();ix();a=yx(a);zx(a);var c=Gx(a),d=new _.kw(c);"none"==a.prompt?Yx(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)}):Zx(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.Jh;b(e)})};
Zx=function(a,b,c){var d=new Dx(b.response_type);c=ay(a,d,c);var e={responseType:d.toString()};jx(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Ex(d)&&jx(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&jx(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&jx(e,["sessionMeta","extraQueryParams","state"],b.state);b=gx();a.Fj?c({authResult:{error:"idpiframe_initialization_failed",details:a.Dm().error}}):(a.Tl=
c,zw(a,b,e))};ay=function(a,b,c){if(Fx(b)){var d=by(c);return function(e){e&&e.authResult&&!e.authResult.error?a.ds(function(f){f&&!f.error?(f=_.Xj(f),Ex(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(_.Xj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Yx=function(a,b,c){if(Ex(new Dx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=by(c);b.login_hint?a.dD(b.login_hint,function(e){e?cy(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Ww(a,b.authuser).select(function(e){e&&e.login_hint?cy(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Wr(function(e){e&&e.hint?cy(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Vw(a):Uw(a)).select(function(f){f&&f.login_hint?cy(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};cy=function(a,b,c,d){b=new Dx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.Zi(f,k),0==e&&d(f))};(Fx(b)||Hx(b,"id_token"))&&e++;Ex(b)&&e++;(Fx(b)||Hx(b,"id_token"))&&_.lw(a,c,h);Ex(b)&&Aw(a,c,h)};
by=function(a){return function(b){if(!b||b.error)_.Ew(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Xj(b);dy(c);delete c.id_token;delete c.code;_.Dw(c)}a(b)}}};dy=function(a){_.Xb(Mw,function(b){delete a[b]})};_.E("gapi.auth2.init",_.Xx);_.E("gapi.auth2.authorize",function(a,b){if(null!=ox)throw new Pw("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).");_.$x(a,function(c){dy(c);b(c)})});_.E("gapi.auth2._gt",function(){return _.ui()});_.E("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.$u="0"!=a&&!!a});_.E("gapi.auth2.getAuthInstance",_.Ox);
_.E("gapi.auth2.BasicProfile",px);_.E("gapi.auth2.BasicProfile.prototype.getId",px.prototype.getId);_.E("gapi.auth2.BasicProfile.prototype.getName",px.prototype.xg);_.E("gapi.auth2.BasicProfile.prototype.getGivenName",px.prototype.mZ);_.E("gapi.auth2.BasicProfile.prototype.getFamilyName",px.prototype.gZ);_.E("gapi.auth2.BasicProfile.prototype.getImageUrl",px.prototype.uZ);_.E("gapi.auth2.BasicProfile.prototype.getEmail",px.prototype.Po);_.E("gapi.auth2.GoogleAuth",Px);
_.E("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Px.prototype.YK);_.E("gapi.auth2.GoogleAuth.prototype.disconnect",Px.prototype.disconnect);_.E("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Px.prototype.xs);_.E("gapi.auth2.GoogleAuth.prototype.signIn",Px.prototype.Yj);_.E("gapi.auth2.GoogleAuth.prototype.signOut",Px.prototype.Zj);_.E("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Px.prototype.wN);_.E("gapi.auth2.GoogleUser",nx);_.E("gapi.auth2.GoogleUser.prototype.grant",nx.prototype.d_);
_.E("gapi.auth2.GoogleUser.prototype.getId",nx.prototype.getId);_.E("gapi.auth2.GoogleUser.prototype.isSignedIn",nx.prototype.Vf);_.E("gapi.auth2.GoogleUser.prototype.getAuthResponse",nx.prototype.Fk);_.E("gapi.auth2.GoogleUser.prototype.getBasicProfile",nx.prototype.OY);_.E("gapi.auth2.GoogleUser.prototype.getGrantedScopes",nx.prototype.oZ);_.E("gapi.auth2.GoogleUser.prototype.getHostedDomain",nx.prototype.xD);_.E("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",nx.prototype.xs);
_.E("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",nx.prototype.Kx);_.E("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",nx.prototype.tG);_.E("gapi.auth2.LiveValue",bx);_.E("gapi.auth2.LiveValue.prototype.listen",bx.prototype.V);_.E("gapi.auth2.LiveValue.prototype.get",bx.prototype.get);_.E("gapi.auth2.SigninOptionsBuilder",ex);_.E("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",ex.prototype.LY);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",ex.prototype.l5);
_.E("gapi.auth2.SigninOptionsBuilder.prototype.getScope",ex.prototype.vs);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setScope",ex.prototype.sS);_.E("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",ex.prototype.LZ);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",ex.prototype.L5);_.E("gapi.auth2.SigninOptionsBuilder.prototype.get",ex.prototype.get);
_.cf=_.cf||{};
(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}_.cf.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)};_.cf.IL=function(b){var c=_.cf.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(_.cf.OC(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.cf.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};_.cf.gN=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};_.cf.Tea=function(b){return a(b)}})();
_.Eg=window.gapi&&window.gapi.util||{};
_.Eg=_.Eg={};_.Eg.getOrigin=function(a){return _.Gg(a)};
_.Ky=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Ii:!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=_.Iy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Je;return!d&&("U"!==c||e.Je)||d&&!_.Jy?b:{Ii:!0,Je:d,uX:a.substr(1),domain:e.domain,fi:e.fi}};_.Ly=function(a,b){this.zf=a;a=b||{};this.d2=Number(a.maxAge)||0;this.Yd=a.domain;this.ul=a.path;this.X4=!!a.secure};_.Ly.prototype.read=function(){for(var a=this.zf+"=",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)}};
_.Ly.prototype.write=function(a,b){if(!My.test(this.zf))throw"Invalid cookie name";if(!Ny.test(a))throw"Invalid cookie value";a=this.zf+"="+a;this.Yd&&(a+=";domain="+this.Yd);this.ul&&(a+=";path="+this.ul);b="number"===typeof b?b:this.d2;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.X4&&(a+=";secure");document.cookie=a;return!0};_.Ly.prototype.clear=function(){this.write("",0)};var Ny=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,My=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.Ly.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("="))}};_.Oy=function(a){this.Ji=a};_.Oy.prototype.read=function(){if(Py.hasOwnProperty(this.Ji))return Py[this.Ji]};_.Oy.prototype.write=function(a){Py[this.Ji]=a;return!0};_.Oy.prototype.clear=function(){delete Py[this.Ji]};var Py={};_.Oy.iterate=function(a){for(var b in Py)Py.hasOwnProperty(b)&&a(b,Py[b])};var Qy=function(){this.Pb=null;this.key=function(){return null};this.getItem=function(){return this.Pb};this.setItem=function(a,b){this.Pb=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Pb=null;this.length=0};this.length=0},Ry=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}},Sy=function(a,b){this.zf=a;this.fJ=
Ry(b)?b||window.sessionStorage:new Qy};Sy.prototype.read=function(){return this.fJ.getItem(this.zf)};Sy.prototype.write=function(a){try{this.fJ.setItem(this.zf,a)}catch(b){return!1}return!0};Sy.prototype.clear=function(){this.fJ.removeItem(this.zf)};Sy.iterate=function(a){if(Ry())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};_.Jy="https:"===window.location.protocol;_.Ty=_.Jy||"http:"===window.location.protocol?_.Ly:_.Oy;_.Iy=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{Je:"S"==a.charAt(0),domain:d,fi:c}};var Uy,Vy,Yy,Zy;Uy=_.Ie();Vy=_.Ie();_.Wy=_.Ie();_.Xy=_.Ie();Yy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Zy=function(a){this.SQ=a;this.sF=null};
Zy.prototype.write=function(a){var b=_.Ie(),c=_.Ie(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.Je(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=Yy.length;for(e=0;e<d;++e)delete c[Yy[e]];a=String(a.authuser||0);d=_.Ie();d[a]=c;c=_.Pf(d);this.SQ.write(c);this.sF=b};Zy.prototype.read=function(){return this.sF};Zy.prototype.clear=function(){this.SQ.clear();this.sF=_.Ie()};_.$y=function(a){return a?{domain:a.domain,path:"/",secure:a.Je}:null};
Sy.iterate(function(a){var b=_.Ky(a);b&&b.Ii&&(Uy[a]=new Zy(new Sy(a)))});_.Ty.iterate(function(a){Uy[a]&&(Vy[a]=new _.Ty(a,_.$y(_.Ky(a))))});
_.ji=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(q){for(var p=h,t=0;64>t;t+=4)p[t/4]=q[t]<<24|q[t+1]<<16|q[t+2]<<8|q[t+3];for(t=16;80>t;t++)q=p[t-3]^p[t-8]^p[t-14]^p[t-16],p[t]=(q<<1|q>>>31)&4294967295;q=e[0];var v=e[1],r=e[2],w=e[3],A=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var B=w^v&(r^w);var D=1518500249}else B=v^r^w,D=1859775393;else 60>t?(B=v&r|w&(v|r),D=2400959708):(B=v^r^w,D=3395469782);B=((q<<5|q>>>27)&4294967295)+
B+A+D+p[t]&4294967295;A=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=B}e[0]=e[0]+q&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+r&4294967295;e[3]=e[3]+w&4294967295;e[4]=e[4]+A&4294967295}function c(q,p){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var t=[],v=0,r=q.length;v<r;++v)t.push(q.charCodeAt(v));q=t}p||(p=q.length);t=0;if(0==m)for(;t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64;for(;t<p;)if(f[m++]=q[t++],n++,64==m)for(m=0,b(f);t+64<p;)b(q.slice(t,t+64)),t+=64,n+=64}function d(){var q=[],
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)q[p++]=e[t]>>v&255;return q}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,ei:function(){for(var q=d(),p="",t=0;t<q.length;t++)p+="0123456789ABCDEF".charAt(Math.floor(q[t]/16))+"0123456789ABCDEF".charAt(q[t]%16);return p}}};var li=function(a,b,c){var d=String(_.u.location.href);return d&&a&&b?[b,ki(_.Gg(d),a,c||null)].join(" "):null},ki=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Xb(d,function(k){e.push(k)}),mi(e.join(" "));var f=[],h=[];_.Xb(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];_.Xb(d,function(k){e.push(k)});a=mi(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},mi=function(a){var b=
_.ji();b.update(a);return b.ei().toLowerCase()};var pi;_.ni=function(a){return!!_.fi.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.oi=function(a){a=void 0===a?!1:a;var b=_.u.__SAPISID||_.u.__APISID||_.u.__3PSAPISID||_.u.__OVERRIDE_SID;_.ni(a)&&(b=b||_.u.__1PSAPISID);if(b)return!0;var c=new _.gi(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.ni(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};pi=function(a,b,c,d){(a=_.u[a])||(a=(new _.gi(document)).get(b));return a?li(a,c,d):null};
_.qi=function(a,b){b=void 0===b?!1:b;var c=_.Gg(String(_.u.location.href)),d=[];if(_.oi(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.u.__SAPISID:_.u.__APISID;e||(e=new _.gi(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?li(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.ni(b)&&((b=pi("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=pi("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
_.ri=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.ni(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.si={sO:_.ri,s1:_.oi,CN:function(){var a=null;_.oi()&&(a=window.__PVT,null==a&&(a=(new _.gi(document)).get("BEAT")));return a},eN:_.qi};
_.dr=function(){return _.rb&&_.sb?_.sb.mobile:!_.cr()&&(_.qb("iPod")||_.qb("iPhone")||_.qb("Android")||_.qb("IEMobile"))};_.cr=function(){return _.rb&&_.sb?!_.sb.mobile&&(_.qb("iPad")||_.qb("Android")||_.qb("Silk")):_.qb("iPad")||_.qb("Android")&&!_.qb("Mobile")||_.qb("Silk")};
var Ar,Br,Cr,Er,Or,Dr,Sr,Tr,Ur,Wr,as;Ar=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");_.db.call(this,c+a[d])};Br=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};
Cr=function(a){return a.replace(_.Xc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Oc(d)||_.Sc).zg();return c+f+b+f+e})};
Er=function(a){if(a instanceof _.Hc)return'url("'+_.Ic(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.gc)a=_.hc(a);else{a=String(a);var b=a.replace(_.Yc,"$1").replace(_.Yc,"$1").replace(_.Xc,"url");if(_.Wc.test(b)){if(b=!Dr.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&&Br(a)}a=b?Cr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new Ar("Value does not allow [{;}], got: %s.",[a]);return a};
_.Fr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Gr=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.Gr.prototype;_.g.clone=function(){return new _.Gr(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Gr&&_.Fr(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 _.Gr?(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};_.Hr=function(a,b){this.width=a;this.height=b};_.g=_.Hr.prototype;_.g.clone=function(){return new _.Hr(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};_.Ir=function(a){return"CSS1Compat"==a.compatMode};
_.Jr=function(a){a=a.document;a=_.Ir(a)?a.documentElement:a.body;return new _.Hr(a.clientWidth,a.clientHeight)};_.Kr=function(a){return _.Jr(a||window)};_.Lr=function(a){return a.scrollingElement?a.scrollingElement:!_.Ed&&_.Ir(a)?a.documentElement:a.body||a.documentElement};_.Mr=function(a){var b=_.Lr(a);a=a.parentWindow||a.defaultView;return _.Ad&&a.pageYOffset!=b.scrollTop?new _.Gr(b.scrollLeft,b.scrollTop):new _.Gr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.Nr=function(a,b,c,d){return _.ke(a.qb,b,c,d)};_.Za(Ar,_.db);Ar.prototype.name="AssertionError";Or={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};_.Pr=function(a){if(a instanceof _.Uc&&a.constructor===_.Uc)return a.mG;_.Nb(a);return"type_error:SafeStyle"};Dr=/\/\*/;
_.Qr=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("m`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(Er).join(" "):Er(d),b+=c+":"+d+";")}return b?new _.Uc(b,_.Tc):_.Vc};_.Rr=function(a){if(a instanceof _.$c&&a.constructor===_.$c)return a.lG;_.Nb(a);return"type_error:SafeStyleSheet"};Sr=/^[a-zA-Z0-9-]+$/;Tr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
Ur=function(a){var b=_.gd(_.hd),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.gd(e),c.push(_.xb(e).toString()))};a.forEach(d);return _.fd(c.join(_.xb(b).toString()))};_.Vr=function(a){return Ur(Array.prototype.slice.call(arguments))};Wr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.Xr=function(a,b,c){var d=String(a);if(!Sr.test(d))throw Error("q");if(d.toUpperCase()in Tr)throw Error("q");a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!Sr.test(f))throw Error("q");var h=b[f];if(null!=h){var k=f;if(h instanceof _.gc)h=_.hc(h);else if("style"==k.toLowerCase()){if(!_.Kb(h))throw Error("q");h instanceof _.Uc||(h=_.Qr(h));h=_.Pr(h)}else{if(/^on/i.test(k))throw Error("q");if(k.toLowerCase()in Wr)if(h instanceof _.lc)h=_.pc(h);else if(h instanceof
_.Hc)h=_.Ic(h);else if("string"===typeof h)h=(_.Oc(h)||_.Sc).zg();else throw Error("q");}h.Ai&&(h=h.zg());k=k+'="'+_.Dc(String(h))+'"';e+=" "+k}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===Or[a.toLowerCase()]?b+=">":(f=_.Vr(c),b+=">"+_.xb(f).toString()+"</"+a+">");return _.fd(b)};_.Yr=function(a){return Number(_.Xd)>=a};_.Zr=function(a){return _.ee('style[nonce],link[rel="stylesheet"][nonce]',a)};_.$r=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
as=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.bs=function(a,b,c){return _.qe(document,arguments)};_.cs=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.cs.prototype;_.g.Mb=function(){return this.right-this.left};_.g.Bc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.cs(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.cs?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){_.Kb(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 _.Gr?(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 fs,ls,js,os,As,ns;_.es=function(a,b,c){if("string"===typeof b)(b=_.ds(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.ds(c,d);f&&(c.style[f]=e)}};fs={};_.ds=function(a,b){var c=fs[b];if(!c){var d=_.$r(b);c=d;void 0===a.style[d]&&(d=(_.Ed?"Webkit":_.Dd?"Moz":_.Ad?"ms":null)+as(d),void 0!==a.style[d]&&(c=d));fs[b]=c}return c};
_.gs=function(a,b){var c=_.ie(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.hs=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.is=function(a,b){return _.gs(a,b)||_.hs(a,b)||a.style&&a.style[b]};_.ks=function(a,b,c){if(b instanceof _.Gr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=js(d,!1);a.style.top=js(b,!1)};
ls=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.ps=function(a,b){b=b||_.Lr(document);var c=b||_.Lr(document);var d=_.ms(a),e=_.ms(c);if(_.Ad&&!_.Yr(9)){var f=ns(c,"borderLeft");var h=ns(c,"borderRight");var k=ns(c,"borderTop"),l=ns(c,"borderBottom");h=new _.cs(k,h,l,f)}else f=_.gs(c,"borderLeftWidth"),h=_.gs(c,"borderRightWidth"),k=_.gs(c,"borderTopWidth"),l=_.gs(c,"borderBottomWidth"),h=new _.cs(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Lr(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.Ad&&!_.Yr(10)&&(f+=h.left,d+=h.top)):
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=os(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 _.Gr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.ms=function(a){var b=_.ie(a),c=new _.Gr(0,0);var d=b?_.ie(b):document;d=!_.Ad||_.Yr(9)||_.Ir(_.je(d).qb)?d.documentElement:d.body;if(a==d)return c;a=ls(a);b=_.Mr(_.je(b).qb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.rs=function(a,b){var c=new _.Gr(0,0),d=_.ne(_.ie(a));if(!_.yd(d,"parent"))return c;do{var e=d==b?_.ms(a):_.qs(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.qs=function(a){a=ls(a);return new _.Gr(a.left,a.top)};_.ss=function(a,b,c){if(b instanceof _.Hr)c=b.height,b=b.width;else if(void 0==c)throw Error("P");a.style.width=js(b,!0);a.style.height=js(c,!0)};js=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.ts=function(a){var b=os;if("none"!=_.is(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};os=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Ed&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=ls(a),new _.Hr(a.right-a.left,a.bottom-a.top)):new _.Hr(b,c)};_.us=function(a,b){a.style.display=b?"":"none"};
_.ws=function(a){var b=_.je(void 0),c=b.hb();if(_.Ad&&c.createStyleSheet)b=c.createStyleSheet(),_.vs(b,a);else{c=_.Nr(b,"HEAD")[0];if(!c){var d=_.Nr(b,"BODY")[0];c=b.na("HEAD");d.parentNode.insertBefore(c,d)}d=b.na("STYLE");var e=_.Zr();e&&d.setAttribute("nonce",e);_.vs(d,a);b.appendChild(c,d)}};_.vs=function(a,b){b=_.Rr(b);_.Ad&&void 0!==a.cssText?a.cssText=b:_.u.trustedTypes?_.Ce(a,b):a.innerHTML=b};_.xs=function(a){return"rtl"==_.is(a,"direction")};
_.ys=_.Dd?"MozUserSelect":_.Ed||_.Bd?"WebkitUserSelect":null;_.zs=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};As={thin:2,medium:4,thick:6};ns=function(a,b){if("none"==_.hs(a,b+"Style"))return 0;b=_.hs(a,b+"Width");return b in As?As[b]:_.zs(a,b)};
_.iy=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.O)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.O)(a.handleEvent,a);else throw Error("Aa");return 2147483647<Number(b)?-1:_.u.setTimeout(a,b||0)};_.jy=function(a){_.u.clearTimeout(a)};
_.az=function(a){_.dj.call(this);this.Ji=1;this.oz=[];this.wz=0;this.Ff=[];this.Yi={};this.MW=!!a};_.Za(_.az,_.dj);_.g=_.az.prototype;_.g.subscribe=function(a,b,c){var d=this.Yi[a];d||(d=this.Yi[a]=[]);var e=this.Ji;this.Ff[e]=a;this.Ff[e+1]=b;this.Ff[e+2]=c;this.Ji=e+3;d.push(e);return e};_.g.ru=_.ca(19);_.g.unsubscribe=function(a,b,c){if(a=this.Yi[a]){var d=this.Ff;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.hk(a)}return!1};
_.g.hk=function(a){var b=this.Ff[a];if(b){var c=this.Yi[b];0!=this.wz?(this.oz.push(a),this.Ff[a+1]=function(){}):(c&&_.Wi(c,a),delete this.Ff[a],delete this.Ff[a+1],delete this.Ff[a+2])}return!!b};
_.g.wn=function(a,b){var c=this.Yi[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.MW)for(e=0;e<c.length;e++){var h=c[e];bz(this.Ff[h+1],this.Ff[h+2],d)}else{this.wz++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.Ff[h+1].apply(this.Ff[h+2],d)}finally{if(this.wz--,0<this.oz.length&&0==this.wz)for(;c=this.oz.pop();)this.hk(c)}}return 0!=e}return!1};var bz=function(a,b,c){_.ok(function(){a.apply(b,c)})};
_.az.prototype.clear=function(a){if(a){var b=this.Yi[a];b&&(b.forEach(this.hk,this),delete this.Yi[a])}else this.Ff.length=0,this.Yi={}};_.az.prototype.Fb=function(a){if(a){var b=this.Yi[a];return b?b.length:0}a=0;for(b in this.Yi)a+=this.Fb(b);return a};_.az.prototype.qa=function(){_.az.H.qa.call(this);this.clear();this.oz.length=0};
_.cz=function(a){this.G6=a};_.cz.prototype.toString=function(){return this.G6};_.dz=function(a){_.dj.call(this);this.Qd=new _.az(a);_.fj(this,this.Qd)};_.Za(_.dz,_.dj);_.g=_.dz.prototype;_.g.subscribe=function(a,b,c){return this.Qd.subscribe(a.toString(),b,c)};_.g.ru=_.ca(18);_.g.unsubscribe=function(a,b,c){return this.Qd.unsubscribe(a.toString(),b,c)};_.g.hk=function(a){return this.Qd.hk(a)};_.g.wn=function(a,b){return this.Qd.wn(a.toString(),b)};_.g.clear=function(a){this.Qd.clear(void 0!==a?a.toString():void 0)};
_.g.Fb=function(a){return this.Qd.Fb(void 0!==a?a.toString():void 0)};
_.ez=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.vz+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.es(a,"transition",b.join(","))};
_.fz=_.Zd(function(){if(_.Ad)return!0;var a=_.re("DIV"),b=_.Ed?"-webkit":_.Dd?"-moz":_.Ad?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Xr("div",{style:c});_.ae(a,b);a=a.firstChild;b=a.style[_.$r("transition")];return""!=("undefined"!==typeof b?b:a.style[_.ds(a,"transition")]||"")});
_.hz=function(){_.gz="oauth2relay"+String(2147483647*(0,_.Ng)()|0)};_.iz=new _.dz;_.jz=new _.cz("oauth");_.hz();_.$e("oauth-flow/client_id");var kz=String(_.$e("oauth-flow/redirectUri"));if(kz)kz.replace(/[#][\s\S]*/,"");else{var lz=_.Eg.getOrigin(window.location.href);_.$e("oauth-flow/callbackUrl");encodeURIComponent(lz)}_.Eg.getOrigin(window.location.href);
var nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,dA,cA,eA,fA,gA,hA,iA,jA,kA,lA,mA,oA;_.mz=function(a,b){if(_.Jh&&!b)return _.u.atob(a);var c="";_.Mh(a,function(d){c+=String.fromCharCode(d)});return c};nz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};oz=function(a){return _.ci("enableMultilogin")&&a("cookie_policy")&&!nz(a)?!0:!1};
rz=function(){var a,b=null;_.Ty.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Iy(c.substring(11)),!a||c.Je&&!a.Je||c.Je==a.Je&&c.fi>a.fi)&&(a=c,b=d)});return{YW:a,authuser:b}};sz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];tz=function(a){a=a.toUpperCase();for(var b=0,c=sz.length;b<c;++b){var d=a.split(sz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Mg,b.Ku(a),a=b.ei().toUpperCase());return a};
uz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};vz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],j5:uz(a[1]),Kfa:uz(a[2]),Cea:uz(a[3])}};wz=function(a){var b=rz(),c=b.YW;b=b.authuser;var d=a&&tz(a);if(null!==b){var e;_.Ty.iterate(function(h,k){(h=_.Ky(h))&&h.Ii&&(d&&h.uX!=d||h.Je==c.Je&&h.fi==c.fi&&(e=k))});if(e){var f=vz(e);a=f&&f.j5[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Gga:a,clientId:f}}}return null};
xz=function(a,b){a=_.ui(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};_.yz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Dw(c,d):_.Ew(d)};
zz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Gg(a));var b=window.location.hostname,c=b,d=_.Jy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Uf.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 _.Uf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Je:d,fi:b}};
Az=function(a){var b=zz(a);if(!b)return new _.Oy("G_USERSTATE_");a=["G_USERSTATE_",_.Jy&&b.Je?"S":"H",b.fi].join("");var c=_.Xy[a];c||(c={qF:63072E3},_.Ke(_.$y(b),c),c=new _.Ly(a,c),_.Xy[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};Bz=function(a){var b=Az(a).read();a=_.Ie();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
Cz=function(a,b,c){var d=Bz(b),e=d[a];d[a]="0";var f=[];_.Em(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Az(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Dz=function(a){a=zz(a.g_user_cookie_policy);if(!a||a.Je&&!_.Jy)a=null;else{var b=["G_AUTHUSER_",_.Jy&&a.Je?"S":"H",a.fi].join(""),c=_.Wy[b];c||(c=new _.Ty(b,_.$y(a)),_.Wy[b]=c);a=c}_.af("googleapis.config/sessionIndex",null);a.clear()};Ez=function(a){return nz(function(b){return a[b]})};Fz=0;Gz=!1;Hz=[];Iz={};Jz={};Kz=null;
Lz=function(a){var b=_.gz;return function(c){if(this.f==b&&this.t==_.Zf.xm(this.f)&&this.origin==_.Zf.Km(this.f))return a.apply(this,arguments)}};Mz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Fa");};Nz=function(a){var b=_.cf.Ag,c=b(a).jsh;if(null!=c)return Mz(c),a;if(b=String(b().jsh||_.Se.h||""))Mz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Oz=function(){return!!_.$e("oauth-flow/usegapi")};
Pz=function(a,b){Oz()?Kz.unregister(a):_.Zf.unregister(a+":"+b)};Qz=function(a,b,c){Oz()?Kz.register(a,c,_.Tm):_.Zf.register(a+":"+b,Lz(c))};Rz=function(){pz.parentNode.removeChild(pz)};Sz=function(a){var b=pz;_.ez(b,[{vz:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.ez(b,[{vz:"transform",duration:1,timing:"ease",delay:0}]);_.iy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Tz=function(){var a=qz+88;Sz(a);qz=a};
Uz=function(){var a=qz-88;Sz(a);qz=a};Vz=function(a){var b=a?Tz:Uz,c=a?Uz:Tz;a=a?"-":"";qz=parseInt(a+88,10);pz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";pz.style.transform="translate3d(0px,"+a+88+"px,0px)";pz.style.display="";pz.style.visibility="visible";b();_.iy(c,4E3);_.iy(Rz,5E3)};
Wz=function(a){var b=_.$e("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");pz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.es(c,"visibility","hidden");_.es(c,b,"-40px");_.es(c,"height","128px");var d=c;if(!_.dr()&&!_.cr()){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?"-":"";qz=parseInt(e+88,10);pz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";pz.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){}_.Qm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Vz(!0):Vz(!1)}})};
Xz=function(a){var b=_.oo(),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==_.Cm.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Yz=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=_.$e("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!=wz(c)||!Ez(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};Zz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Of(_.mz(a,!0));if(!1===a)throw Error("Ga");return a};$z=function(a){return(a=Zz(a))?a.sub:null};
aA=function(a){a&&Hz.push(a);a=_.gz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Fz&&6E4>c-Fz)return;var d=_.Zf.xm(a);d&&(Pz("oauth2relayReady",d),Pz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.hz();a=_.gz}Fz=c;var e=String(2147483647*(0,_.Ng)()|0);b=_.$e("oauth-flow/proxyUrl")||_.$e("oauth-flow/relayUrl");Oz()?Kz=_.Qm.openChild({where:_.cf.gN(),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(_.Eg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.cf.gN(),d=_.cf.IL({name:a,id:a}),d.src=Nz(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),_.Zf.du(a));Qz("oauth2relayReady",
e,function(){Pz("oauth2relayReady",e);var f=Hz;if(null!==f){Hz=null;for(var h=f.length,k=0;k<h;++k)f[k]()}});Qz("oauth2callback",e,function(f){var h=_.cf.Ag;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Jz,f)?Jz[f]:null;h.state=f;if(null!=h.state){f=Iz[k];delete Iz[k];k=f&&f.key||"token";var l=h=Yz(f&&f.params,h),m=$z(l);if(m){var n=Bz(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 ")&&
_.$e("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Gz||(Gz=!0,Wz(l)));_.yz(k,h);h=xz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(q){}f.callback&&(f.callback(h),f.callback=null)}}})};_.bA=function(a){null!==Hz?aA(a):a&&a()};
dA=function(a,b){var c=cA,d=$z(a);d&&(Dz(a),Cz(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=Yz(null,e);c(e)}}))};
cA=function(a){a||(a=xz(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||(_.Se.drw=null);_.yz(a);if(b=a.authuser)_.$e("googleapis.config/sessionIndex"),_.af("googleapis.config/sessionIndex",b);_.iz.wn(_.jz,a);return a};eA=["client_id","cookie_policy","response_type"];fA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
gA=function(a){var b=_.Xj(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);_.Dw(b);return b};
hA=function(a){if(void 0===a.include_granted_scopes){var b=_.$e("include_granted_scopes");a.include_granted_scopes=!!b}};iA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
jA=function(a){var b=a||{},c={};_.Xb(fA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.$e("googleapis/overrideClientId");null!=a&&(c.client_id=a);hA(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{_.tx(c.cookie_policy)}catch(d){c.cookie_policy&&
iA("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=_.ei(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.$e("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
kA=function(a,b){var c=jA(a),d=new _.rk(function(e,f){_.$x(c,function(h){var k=h||{};_.Xb(eA,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=gA(k),null!=h.authuser&&_.af("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};lA=_.si.eN;mA=null;
_.pA=function(a,b){if("force"!==a.approvalprompt){a=_.nA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)mA?(a.client_id!==mA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(mA=a,b=!1);b||oA(a)}};
_.nA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.uc)((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,_.uc)(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||_.$e("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.$e("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};oA=function(a){_.Yo("waaf0","signin","0");kA(a,function(b){_.Yo("waaf1","signin","0");cA(b)})};
_.qA=function(a){a=_.nA(a);_.af("oauth-flow/authWindowWidth",445);_.af("oauth-flow/authWindowHeight",615);oA(a)};_.rA=function(a){_.iz.unsubscribe(_.jz,a);_.iz.subscribe(_.jz,a)};var yA,BA;_.tA=function(a){return a.cookiepolicy?!0:(_.sA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.sA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.xA=function(a,b){var c=_.oo();_.Ke(a,c);c=Xz(c);if(_.tA(c)){var d=_.uA();_.vA(c);b?_.Re(b,"click",function(){_.wA(c,d)}):_.wA(c,d)}};
_.uA=function(){var a=new yA;_.rA(function(b){a.rF&&b&&(b.access_token&&_.af("isPlusUser",!0),b["g-oauth-window"]&&(a.rF=!1,_.Uf.warn("OTA app install is no longer supported.")))});return a};yA=function(){this.rF=!1};_.vA=function(a){a=_.zA(a);_.AA(a.callback);_.bA(function(){_.pA(a)})};_.zA=function(a){BA(a);a.redirecturi&&delete a.redirecturi;oz(function(b){return a[b]})||(a.authuser=0);return a};BA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.AA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.sA('Callback function named "'+a+'" not found');return}a&&_.rA(a)};_.wA=function(a,b){b.rF=!0;a=_.zA(a);_.qA(a)};_.E("gapi.auth.authorize",kA);_.E("gapi.auth.checkSessionState",function(a,b){var c=_.Ie();c.client_id=a.client_id;c.session_state=a.session_state;_.bA(function(){Oz()?Kz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Tm):_.Zf.call(_.gz,"check_session_state",Lz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.E("gapi.auth.getAuthHeaderValueForFirstParty",lA);_.E("gapi.auth.getToken",xz);
_.E("gapi.auth.getVersionInfo",function(a,b){_.bA(function(){var c=_.qi()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Oz()?Kz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Tm):_.Zf.call(_.gz,"get_versioninfo",Lz(function(f){a(f)}),d,b):a()})});_.E("gapi.auth.init",_.bA);_.E("gapi.auth.setToken",_.yz);_.E("gapi.auth.signIn",function(a){_.xA(a)});_.E("gapi.auth.signOut",function(){var a=xz();a&&dA(a,a.cookie_policy)});
_.E("gapi.auth.unsafeUnpackIdToken",Zz);_.E("gapi.auth._pimf",_.pA);_.E("gapi.auth._oart",Wz);_.E("gapi.auth._guss",function(a){return Az(a).read()});
var CA=_.oo();CA.clientid&&CA.scope&&CA.callback&&!_.$e("disableRealtimeCallback")&&_.vA(CA);
});
// Google Inc.
