gapi.loaded_1(function(_){var window=this;
_.Ue=_.Ue||{};_.Ue.ct=function(a,b,c){for(var d=[],e=2,f=arguments.length;e<f;++e)d.push(arguments[e]);return function(){for(var h=d.slice(),k=0,l=arguments.length;k<l;++k)h.push(arguments[k]);return b.apply(a,h)}};_.Ue.wy=function(a){var b,c,d={};for(b=0;c=a[b];++b)d[c]=c;return d};
_.Ue=_.Ue||{};_.Ue.BW=function(a){var b=window;"undefined"!=typeof b.addEventListener?b.addEventListener("mousemove",a,!1):"undefined"!=typeof b.attachEvent?b.attachEvent("onmousemove",a):_.Ve("cannot attachBrowserEvent: mousemove")};_.Ue.K3=function(a){var b=window;b.removeEventListener?b.removeEventListener("mousemove",a,!1):b.detachEvent?b.detachEvent("onmousemove",a):_.Ve("cannot removeBrowserEvent: mousemove")};
_.Ue=_.Ue||{};
(function(){function a(c,d){return String.fromCharCode(d)}var b={0:!1,10:!0,13:!0,34:!0,39:!0,60:!0,62:!0,92:!0,8232:!0,8233:!0,65282:!0,65287:!0,65308:!0,65310:!0,65340:!0};_.Ue.escape=function(c,d){if(c){if("string"===typeof c)return _.Ue.GC(c);if("Array"===typeof c){var e=0;for(d=c.length;e<d;++e)c[e]=_.Ue.escape(c[e])}else if("object"===typeof c&&d){d={};for(e in c)c.hasOwnProperty(e)&&(d[_.Ue.GC(e)]=_.Ue.escape(c[e],!0));return d}}return c};_.Ue.GC=function(c){if(!c)return c;for(var d=[],e,f,
h=0,k=c.length;h<k;++h)e=c.charCodeAt(h),f=b[e],!0===f?d.push("&#",e,";"):!1!==f&&d.push(c.charAt(h));return d.join("")};_.Ue.Yga=function(c){return c?c.replace(/&#([0-9]+);/g,a):c}})();
_.Dg=function(){function a(m){var n=new _.Cg;n.Hu(m);return n.ei()}var b=window.crypto;if(b&&"function"==typeof b.getRandomValues)return function(){var m=new window.Uint32Array(1);b.getRandomValues(m);return Number("0."+m[0])};var c=_.Re("random/maxObserveMousemove");null==c&&(c=-1);var d=0,e=Math.random(),f=1,h=1E6*(screen.width*screen.width+screen.height),k=function(m){m=m||window.event;var n=m.screenX+m.clientX<<16;n+=m.screenY+m.clientY;n*=(new Date).getTime()%1E6;f=f*n%h;0<c&&++d==c&&_.Ue.K3(k)};
0!=c&&_.Ue.BW(k);var l=a(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+e);return function(){var m=f;m+=parseInt(l.substr(0,20),16);l=a(l);return m/(h+Math.pow(16,20))}}();_.E("shindig.random",_.Dg);
_.Wa.Ka={};_.Wa.Ka.Wh={};_.Wa.Ka.Wh.TW=function(a){try{return!!a.document}catch(b){}return!1};_.Wa.Ka.Wh.PN=function(a){var b=a.parent;return a!=b&&_.Wa.Ka.Wh.TW(b)?_.Wa.Ka.Wh.PN(b):a};_.Wa.Ka.Wh.cfa=function(a){var b=a.userAgent||"";a=a.product||"";return 0!=b.indexOf("Opera")&&-1==b.indexOf("WebKit")&&"Gecko"==a&&0<b.indexOf("rv:1.")};
_.Wa.Ka.Wh.ct=function(a,b,c){for(var d=[],e=2,f=arguments.length;e<f;++e)d.push(arguments[e]);return function(){for(var h=d.slice(),k=0,l=arguments.length;k<l;++k)h.push(arguments[k]);return b.apply(a,h)}};
var Sp,Tp,Up,Vp,Yp,Zp,$p,aq,bq,cq,dq;Sp=function(){_.Pf.register("_noop_echo",function(){this.callback(_.Wa.yZ(_.Wa.Zk[this.f]))})};Tp=function(){window.setTimeout(function(){_.Pf.call("..","_noop_echo",_.Wa.e3)},0)};Up=function(a,b,c){var d=function(e){var f=Array.prototype.slice.call(arguments,0),h=f[f.length-1];if("function"===typeof h){var k=h;f.pop()}f.unshift(b,a,k,c);_.Pf.call.apply(_.Pf,f)};d._iframe_wrapped_rpc_=!0;return d};
Vp=function(a){_.Wa.Ni[a]||(_.Wa.Ni[a]={},_.Pf.register(a,function(b,c){var d=this.f;if(!("string"!=typeof b||b in{}||d in{})){var e=this.callback,f=_.Wa.Ni[a][d],h;f&&Object.hasOwnProperty.call(f,b)?h=f[b]:Object.hasOwnProperty.call(_.Wa.gp,a)&&(h=_.Wa.gp[a]);if(h)return d=Array.prototype.slice.call(arguments,1),h._iframe_wrapped_rpc_&&e&&d.push(e),h.apply({},d)}_.Jf.error(['Unregistered call in window "',window.name,'" for method "',a,'", via proxyId "',b,'" from frame "',d,'".'].join(""));return null}));
return _.Wa.Ni[a]};_.Wp=function(){var a={};var b=window.location.href;var c=b.indexOf("?"),d=b.indexOf("#");b=(-1===d?b.substr(c+1):[b.substr(c+1,d-c-1),"&",b.substr(d+1)].join("")).split("&");c=window.decodeURIComponent?decodeURIComponent:unescape;d=0;for(var e=b.length;d<e;++d){var f=b[d].indexOf("=");if(-1!==f){var h=b[d].substring(0,f);f=b[d].substring(f+1);f=f.replace(/\+/g," ");try{a[h]=c(f)}catch(k){}}}return a};_.Xp=function(){return _.te.location.origin||_.te.location.protocol+"//"+_.te.location.host};
Yp=function(a){_.Je.h=a};Zp=function(a){_.Je.bsh=a};$p=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};aq=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};
bq=function(a,b,c){if(b&&"object"===typeof b)for(var d in b)!Object.prototype.hasOwnProperty.call(b,d)||c&&"___goc"===d&&"undefined"===typeof b[d]||(a[d]&&b[d]&&"object"===typeof a[d]&&"object"===typeof b[d]&&!aq(a[d])&&!aq(b[d])?bq(a[d],b[d]):b[d]&&"object"===typeof b[d]?(a[d]=aq(b[d])?[]:{},bq(a[d],b[d])):a[d]=b[d])};
cq=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);try{var b=window.JSON.parse(a)}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ("+a+"\n)"))()}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ({"+a+"\n})"))()}catch(c){}return"object"===typeof b?b:{}}};
dq=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length-1],"___goc")&&"undefined"===typeof a[a.length-1].___goc&&(c=a.pop());bq(c,b);a.push(c)};
_.eq=function(a,b){var c;if("string"===typeof a){var d=c={};a=a.split("/");for(var e=0,f=a.length;e<f-1;++e){var h={};d=d[a[e]]=h}d[a[e]]=b}else c=a;_.Nh(!0);d=window.___gcfg;b=$p("cu");a=window.___gu;d&&d!==a&&(dq(b,d),window.___gu=d);d=$p("cu");e=document.scripts||document.getElementsByTagName("script")||[];a=[];f=[];f.push.apply(f,$p("us"));for(h=0;h<e.length;++h)for(var k=e[h],l=0;l<f.length;++l)k.src&&0==k.src.indexOf(f[l])&&a.push(k);0==a.length&&0<e.length&&e[e.length-1].src&&a.push(e[e.length-
1]);for(e=0;e<a.length;++e)a[e].getAttribute("gapi_processed")||(a[e].setAttribute("gapi_processed",!0),(f=a[e])?(h=f.nodeType,f=3==h||4==h?f.nodeValue:f.textContent||""):f=void 0,(f=cq(f))&&d.push(f));c&&dq(b,c);a=$p("cd");c=0;for(d=a.length;c<d;++c)bq(_.Nh(),a[c],!0);a=$p("ci");c=0;for(d=a.length;c<d;++c)bq(_.Nh(),a[c],!0);c=0;for(d=b.length;c<d;++c)bq(_.Nh(),b[c],!0)};var fq,gq=window.location.href,hq=gq.indexOf("?"),iq=gq.indexOf("#");
fq=(-1===iq?gq.substr(hq+1):[gq.substr(hq+1,iq-hq-1),"&",gq.substr(iq+1)].join("")).split("&");for(var jq=window.decodeURIComponent?decodeURIComponent:unescape,kq=0,lq=fq.length;kq<lq;++kq){var mq=fq[kq].indexOf("=");if(-1!==mq){var nq=fq[kq].substring(mq+1);nq=nq.replace(/\+/g," ");try{jq(nq)}catch(a){}}};if(window.ToolbarApi)oq=window.ToolbarApi,oq.Ra=window.ToolbarApi.getInstance,oq.prototype=window.ToolbarApi.prototype,_.g=oq.prototype,_.g.openWindow=oq.prototype.openWindow,_.g.uL=oq.prototype.closeWindow,_.g.gS=oq.prototype.setOnCloseHandler,_.g.gL=oq.prototype.canClosePopup,_.g.qR=oq.prototype.resizeWindow;else{var oq=function(){};oq.Ra=function(){!pq&&window.external&&window.external.GTB_IsToolbar&&(pq=new oq);return pq};_.g=oq.prototype;_.g.openWindow=function(a){return window.external.GTB_OpenPopup&&
window.external.GTB_OpenPopup(a)};_.g.uL=function(a){window.external.GTB_ClosePopupWindow&&window.external.GTB_ClosePopupWindow(a)};_.g.gS=function(a,b){window.external.GTB_SetOnCloseHandler&&window.external.GTB_SetOnCloseHandler(a,b)};_.g.gL=function(a){return window.external.GTB_CanClosePopup&&window.external.GTB_CanClosePopup(a)};_.g.qR=function(a,b){return window.external.GTB_ResizeWindow&&window.external.GTB_ResizeWindow(a,b)};var pq=null;window.ToolbarApi=oq;window.ToolbarApi.getInstance=oq.Ra};var qq=/^[-_.0-9A-Za-z]+$/,rq={open:"open",onready:"ready",close:"close",onresize:"resize",onOpen:"open",onReady:"ready",onClose:"close",onResize:"resize",onRenderStart:"renderstart"},sq={onBeforeParentOpen:"beforeparentopen"},tq={onOpen:function(a){var b=a.lc();a.Ig(b.container||b.element);return a},onClose:function(a){a.remove()}},uq=function(){_.Wa.IO++;return["I",_.Wa.IO,"_",(new Date).getTime()].join("")},vq,wq,xq,Aq,Bq,Cq,Dq,Fq,Eq;_.Wa.Dm=function(a){var b=_.ye();_.Ae(_.Jl,b);_.Ae(a,b);return b};
vq=function(a){return a instanceof Array?a.join(","):a instanceof Object?_.Ff(a):a};wq=function(a){var b=_.Oh("googleapis.config/elog");if(b)try{b(a)}catch(c){}};xq=function(a){a&&a.match(qq)&&_.eq("googleapis.config/gcv",a)};_.yq=function(a,b){b=b||{};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};
_.zq=function(a,b,c,d,e){var f=[],h;for(h in a)if(a.hasOwnProperty(h)){var k=b,l=c,m=a[h],n=d,q=Vp(h);q[k]=q[k]||{};n=_.Wa.Ka.Wh.ct(n,m);m._iframe_wrapped_rpc_&&(n._iframe_wrapped_rpc_=!0);q[k][l]=n;f.push(h)}if(e)for(var p in _.Wa.gp)_.Wa.gp.hasOwnProperty(p)&&f.push(p);return f.join(",")};Aq=function(a,b,c){var d={};if(a&&a._methods){a=a._methods.split(",");for(var e=0;e<a.length;e++){var f=a[e];d[f]=Up(f,b,c)}}return d};
Bq=function(a){if(a&&a.disableMultiLevelParentRelay)a=!1;else{var b;if(b=_.Qn&&_.Qn._open&&"inline"!=a.style&&!0!==a.inline)a=a.container,b=!(a&&("string"==typeof a&&document.getElementById(a)||document==(a.ownerDocument||a.document)));a=b}return a};Cq=function(a,b){var c={};b=b.params||{};for(var d in a)"#"==d.charAt(0)&&(c[d.substring(1)]=a[d]),0==d.indexOf("fr-")&&(c[d.substring(3)]=a[d]),"#"==b[d]&&(c[d]=a[d]);for(var e in c)delete a["fr-"+e],delete a["#"+e],delete a[e];return c};
Dq=function(a){if(":"==a.charAt(0)){var b=_.Oh("iframes/"+a.substring(1));a={};_.Ae(b,a);(b=a.url)&&(a.url=_.Vl(b));a.params||(a.params={});return a}return{url:_.Vl(a)}};Fq=function(a){function b(){}b.prototype=Eq.prototype;a.prototype=new b};
Eq=function(a,b,c,d,e,f,h,k){this.config=Dq(a);this.openParams=this.Qy=b||{};this.params=c||{};this.methods=d;this.zA=!1;Gq(this,b.style);this.callbacks={};Hq(this,function(){var l;(l=this.Qy.style)&&_.Wa.mu[l]?l=_.Wa.mu[l]:l?(_.Jf.warn(['Missing handler for style "',l,'". Continuing with default handler.'].join("")),l=null):l=tq;if(l){if("function"===typeof l)var m=l(this);else{var n={};for(m in l){var q=l[m];n[m]="function"===typeof q?_.Wa.Ka.Wh.ct(l,q,this):q}m=n}for(var p in e)l=m[p],"function"===
typeof l&&Iq(this,e[p],_.Wa.Ka.Wh.ct(m,l))}f&&Iq(this,"close",f)});this.Lj=this.ac=h;this.RF=(k||[]).slice();h&&this.RF.unshift(h.getId())};Eq.prototype.lc=function(){return this.Qy};Eq.prototype.BD=function(){return this.params};Eq.prototype.Tw=function(){return this.methods};Eq.prototype.Oc=function(){return this.Lj};
var Gq=function(a,b){a.zA||((b=b&&!_.Wa.mu[b]&&_.Wa.sC[b])?(a.rC=[],b(function(){a.zA=!0;for(var c=a.rC.length,d=0;d<c;++d)a.rC[d].call(a)})):a.zA=!0)},Hq=function(a,b){a.zA?b.call(a):a.rC.push(b)};Eq.prototype.Ed=function(a,b){Hq(this,function(){Iq(this,a,b)})};var Iq=function(a,b,c){a.callbacks[b]=a.callbacks[b]||[];a.callbacks[b].push(c)};Eq.prototype.An=function(a,b){Hq(this,function(){var c=this.callbacks[a];if(c)for(var d=c.length,e=0;e<d;++e)if(c[e]===b){c.splice(e,1);break}})};
Eq.prototype.yh=function(a,b){var c=this.callbacks[a];if(c)for(var d=Array.prototype.slice.call(arguments,1),e=c.length,f=0;f<e;++f)try{var h=c[f].apply({},d)}catch(k){_.Jf.error(['Exception when calling callback "',a,'" with exception "',k.name,": ",k.message,'".'].join("")),wq(k)}return h};var Jq=function(a){return"number"==typeof a?{value:a,ZC:a+"px"}:"100%"==a?{value:100,ZC:"100%",mP:!0}:null};Eq.prototype.send=function(a,b,c){_.Wa.FR(this,a,b,c)};
Eq.prototype.register=function(a,b){var c=this;c.Ed(a,function(d){b.call(c,d)})};var Kq=function(a,b,c,d,e,f,h){var k=this;Eq.call(this,a,b,c,d,rq,e,f,h);this.id=b.id||uq();this.It=b.rpctoken&&String(b.rpctoken)||Math.round(1E9*_.mi());this.o0=Cq(this.params,this.config);this.NC={};Hq(this,function(){k.yh("open");_.yq(k.NC,k)})};Fq(Kq);_.g=Kq.prototype;
_.g.Ig=function(a,b){if(!this.config.url)return _.Jf.error("Cannot open iframe, empty URL."),this;var c=this.id;_.Wa.Zk[c]=this;var d=_.yq(this.methods);d._ready=this.Py;d._close=this.close;d._open=this.CQ;d._resizeMe=this.rR;d._renderstart=this.uQ;var e=this.o0;this.It&&(e.rpctoken=this.It);e._methods=_.zq(d,c,"",this,!0);this.el=a="string"===typeof a?document.getElementById(a):a;d={id:c};if(b){d.attributes=b;var f=b.style;if("string"===typeof f){if(f){var h=[];f=f.split(";");for(var k=f.length,
l=0;l<k;++l){var m=f[l];if(0!=m.length||l+1!=k)m=m.split(":"),2==m.length&&m[0].match(/^[ a-zA-Z_-]+$/)&&m[1].match(/^[ +.%0-9a-zA-Z_-]+$/)?h.push(m.join(":")):_.Jf.error(['Iframe style "',f[l],'" not allowed.'].join(""))}h=h.join(";")}else h="";b.style=h}}this.lc().allowPost&&(d.allowPost=!0);this.lc().forcePost&&(d.forcePost=!0);d.queryParams=this.params;d.fragmentParams=e;d.paramsSerializer=vq;this.Ah=_.Xl(this.config.url,a,d);a=this.Ah.getAttribute("data-postorigin")||this.Ah.src;_.Wa.Zk[c]=this;
_.Pf.Vz(this.id,this.It);_.Pf.Vi(this.id,a);return this};_.g.kh=function(a,b){this.NC[a]=b};_.g.getId=function(){return this.id};_.g.getIframeEl=function(){return this.Ah};_.g.getSiteEl=function(){return this.el};_.g.setSiteEl=function(a){this.el=a};_.g.Py=function(a){var b=Aq(a,this.id,"");this.Lj&&"function"==typeof this.methods._ready&&(a._methods=_.zq(b,this.Lj.getId(),this.id,this,!1),this.methods._ready(a));_.yq(a,this);_.yq(b,this);this.yh("ready",a)};
_.g.uQ=function(a){this.yh("renderstart",a)};_.g.close=function(a){a=this.yh("close",a);delete _.Wa.Zk[this.id];return a};_.g.remove=function(){var a=document.getElementById(this.id);a&&a.parentNode&&a.parentNode.removeChild(a)};
_.g.CQ=function(a){var b=Aq(a.params,this.id,a.proxyId);delete a.params._methods;"_parent"==a.openParams.anchor&&(a.openParams.anchor=this.el);if(Bq(a.openParams))new Lq(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain);else{var c=new Kq(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain),d=this;Hq(c,function(){var e={childId:c.getId()},f=c.NC;f._toclose=c.close;e._methods=_.zq(f,d.id,c.id,c,!1);b._onopen(e)})}};
_.g.rR=function(a){if(void 0===this.yh("resize",a)&&this.Ah){var b=Jq(a.width);null!=b&&(this.Ah.style.width=b.ZC);a=Jq(a.height);null!=a&&(this.Ah.style.height=a.ZC);this.Ah.parentElement&&(null!=b&&b.mP||null!=a&&a.mP)&&(this.Ah.parentElement.style.display="block")}};
var Lq=function(a,b,c,d,e,f,h){var k=this;Eq.call(this,a,b,c,d,sq,e,f,h);this.url=a;this.Rn=null;this.lG=uq();Hq(this,function(){k.yh("beforeparentopen");var l=_.yq(k.methods);l._onopen=k.V2;l._ready=k.Py;l._onclose=k.T2;k.params._methods=_.zq(l,"..",k.lG,k,!0);l={};for(var m in k.params)l[m]=vq(k.params[m]);_.Qn._open({url:k.config.url,openParams:k.Qy,params:l,proxyId:k.lG,openedByProxyChain:k.RF})})};Fq(Lq);Lq.prototype.JZ=function(){return this.Rn};
Lq.prototype.V2=function(a){this.Rn=a.childId;var b=Aq(a,"..",this.Rn);_.yq(b,this);this.close=b._toclose;_.Wa.Zk[this.Rn]=this;this.Lj&&this.methods._onopen&&(a._methods=_.zq(b,this.Lj.getId(),this.Rn,this,!1),this.methods._onopen(a))};Lq.prototype.Py=function(a){var b=String(this.Rn),c=Aq(a,"..",b);_.yq(a,this);_.yq(c,this);this.yh("ready",a);this.Lj&&this.methods._ready&&(a._methods=_.zq(c,this.Lj.getId(),b,this,!1),this.methods._ready(a))};
Lq.prototype.T2=function(a){if(this.Lj&&this.methods._onclose)this.methods._onclose(a);else return a=this.yh("close",a),delete _.Wa.Zk[this.Rn],a};
var Mq=function(a,b,c,d,e,f,h){Eq.call(this,a,b,c,d,sq,f,h);this.id=b.id||uq();this.q6=e;d._close=this.close;this.onClosed=this.nQ;this.BT=0;Hq(this,function(){this.yh("beforeparentopen");var k=_.yq(this.methods);this.params._methods=_.zq(k,"..",this.lG,this,!0);k={};k.queryParams=this.params;a=_.Ol(_.ue,this.config.url,this.id,k);var l=e.openWindow(a);this.canAutoClose=function(m){m(e.gL(l))};e.gS(l,this);this.BT=l})};Fq(Mq);
Mq.prototype.close=function(a){a=this.yh("close",a);this.q6.uL(this.BT);return a};Mq.prototype.nQ=function(){this.yh("close")};_.Qn.send=function(a,b,c){_.Wa.FR(_.Qn,a,b,c)};
(function(){function a(h){return _.Wa.mu[h]}function b(h,k){_.Wa.mu[h]=k}function c(h){h=h||{};"auto"===h.height&&(h.height=_.kl());var k=window&&oq&&oq.Ra();k?k.qR(h.width||0,h.height||0):_.Qn&&_.Qn._resizeMe&&_.Qn._resizeMe(h)}function d(h){xq(h)}_.Wa.Zk={};_.Wa.mu={};_.Wa.sC={};_.Wa.IO=0;_.Wa.Ni={};_.Wa.gp={};_.Wa.bz=null;_.Wa.Zy=[];_.Wa.e3=function(h){var k=!1;try{if(null!=h){var l=window.parent.frames[h.id];k=l.iframer.id==h.id&&l.iframes.openedId_(_.Qn.id)}}catch(m){}try{_.Wa.bz={origin:this.origin,
referer:this.referer,claimedOpenerId:h&&h.id,claimedOpenerProxyChain:h&&h.proxyChain||[],sameOrigin:k};for(h=0;h<_.Wa.Zy.length;++h)_.Wa.Zy[h](_.Wa.bz);_.Wa.Zy=[]}catch(m){wq(m)}};_.Wa.yZ=function(h){var k=h&&h.Lj,l=null;k&&(l={},l.id=k.getId(),l.proxyChain=h.RF);return l};Sp();if(window.parent!=window){var e=_.Wp();e.gcv&&xq(e.gcv);var f=e.jsh;f&&Yp(f);_.yq(Aq(e,"..",""),_.Qn);_.yq(e,_.Qn);Tp()}_.Wa.nb=a;_.Wa.xc=b;_.Wa.m5=d;_.Wa.resize=c;_.Wa.RY=function(h){return _.Wa.sC[h]};_.Wa.gH=function(h,
k){_.Wa.sC[h]=k};_.Wa.pR=c;_.Wa.H5=d;_.Wa.zx={};_.Wa.zx.get=a;_.Wa.zx.set=b;_.Wa.allow=function(h,k){Vp(h);_.Wa.gp[h]=k||window[h]};_.Wa.cea=function(h){delete _.Wa.gp[h]};_.Wa.open=function(h,k,l,m,n,q){3==arguments.length?m={}:4==arguments.length&&"function"===typeof m&&(n=m,m={});var p="bubble"===k.style&&oq?oq.Ra():null;return p?new Mq(h,k,l,m,p,n,q):Bq(k)?new Lq(h,k,l,m,n,q):new Kq(h,k,l,m,n,q)};_.Wa.close=function(h,k){_.Qn&&_.Qn._close&&_.Qn._close(h,k)};_.Wa.ready=function(h,k,l){2==arguments.length&&
"function"===typeof k&&(l=k,k={});var m=h||{};"height"in m||(m.height=_.kl());m._methods=_.zq(k||{},"..","",_.Qn,!0);_.Qn&&_.Qn._ready&&_.Qn._ready(m,l)};_.Wa.BN=function(h){_.Wa.bz?h(_.Wa.bz):_.Wa.Zy.push(h)};_.Wa.X2=function(h){return!!_.Wa.Zk[h]};_.Wa.dZ=function(){return["https://ssl.gstatic.com/gb/js/",_.Oh("googleapis.config/gcv")].join("")};_.Wa.VQ=function(h){var k={mouseover:1,mouseout:1};if(_.Qn._event)for(var l=0;l<h.length;l++){var m=h[l];m in k&&document.addEventListener(m,function(n){_.Qn._event({event:n.type,
timestamp:(new Date).getTime()})},!0)}};_.Wa.FR=function(h,k,l,m){var n=this,q=[];void 0!==l&&q.push(l);m&&q.push(function(p){m.call(n,[p])});h[k]&&h[k].apply(h,q)};_.Wa.CROSS_ORIGIN_IFRAMES_FILTER=function(){return!0};_.Wa.SW=function(h,k,l){var m=Array.prototype.slice.call(arguments);_.Wa.BN(function(n){n.sameOrigin&&(m.unshift("/"+n.claimedOpenerId+"|"+window.location.protocol+"//"+window.location.host),_.Pf.call.apply(_.Pf,m))})};_.Wa.G3=function(h,k){_.Pf.register(h,k)};_.Wa.s5=Yp;_.Wa.JR=Zp;
_.Wa.IP=wq;_.Wa.JO=_.Qn})();_.E("iframes.allow",_.Wa.allow);_.E("iframes.callSiblingOpener",_.Wa.SW);_.E("iframes.registerForOpenedSibling",_.Wa.G3);_.E("iframes.close",_.Wa.close);_.E("iframes.getGoogleConnectJsUri",_.Wa.dZ);_.E("iframes.getHandler",_.Wa.nb);_.E("iframes.getDeferredHandler",_.Wa.RY);_.E("iframes.getParentInfo",_.Wa.BN);_.E("iframes.iframer",_.Wa.JO);_.E("iframes.open",_.Wa.open);_.E("iframes.openedId_",_.Wa.X2);_.E("iframes.propagate",_.Wa.VQ);_.E("iframes.ready",_.Wa.ready);_.E("iframes.resize",_.Wa.resize);
_.E("iframes.setGoogleConnectJsVersion",_.Wa.m5);_.E("iframes.setBootstrapHint",_.Wa.JR);_.E("iframes.setJsHint",_.Wa.s5);_.E("iframes.setHandler",_.Wa.xc);_.E("iframes.setDeferredHandler",_.Wa.gH);_.E("IframeBase",Eq);_.E("IframeBase.prototype.addCallback",Eq.prototype.Ed);_.E("IframeBase.prototype.getMethods",Eq.prototype.Tw);_.E("IframeBase.prototype.getOpenerIframe",Eq.prototype.Oc);_.E("IframeBase.prototype.getOpenParams",Eq.prototype.lc);_.E("IframeBase.prototype.getParams",Eq.prototype.BD);
_.E("IframeBase.prototype.removeCallback",Eq.prototype.An);_.E("Iframe",Kq);_.E("Iframe.prototype.close",Kq.prototype.close);_.E("Iframe.prototype.exposeMethod",Kq.prototype.kh);_.E("Iframe.prototype.getId",Kq.prototype.getId);_.E("Iframe.prototype.getIframeEl",Kq.prototype.getIframeEl);_.E("Iframe.prototype.getSiteEl",Kq.prototype.getSiteEl);_.E("Iframe.prototype.openInto",Kq.prototype.Ig);_.E("Iframe.prototype.remove",Kq.prototype.remove);_.E("Iframe.prototype.setSiteEl",Kq.prototype.setSiteEl);
_.E("Iframe.prototype.addCallback",Kq.prototype.Ed);_.E("Iframe.prototype.getMethods",Kq.prototype.Tw);_.E("Iframe.prototype.getOpenerIframe",Kq.prototype.Oc);_.E("Iframe.prototype.getOpenParams",Kq.prototype.lc);_.E("Iframe.prototype.getParams",Kq.prototype.BD);_.E("Iframe.prototype.removeCallback",Kq.prototype.An);_.E("IframeProxy",Lq);_.E("IframeProxy.prototype.getTargetIframeId",Lq.prototype.JZ);_.E("IframeProxy.prototype.addCallback",Lq.prototype.Ed);_.E("IframeProxy.prototype.getMethods",Lq.prototype.Tw);
_.E("IframeProxy.prototype.getOpenerIframe",Lq.prototype.Oc);_.E("IframeProxy.prototype.getOpenParams",Lq.prototype.lc);_.E("IframeProxy.prototype.getParams",Lq.prototype.BD);_.E("IframeProxy.prototype.removeCallback",Lq.prototype.An);_.E("IframeWindow",Mq);_.E("IframeWindow.prototype.close",Mq.prototype.close);_.E("IframeWindow.prototype.onClosed",Mq.prototype.nQ);_.E("iframes.util.getTopMostAccessibleWindow",_.Wa.Ka.Wh.PN);_.E("iframes.handlers.get",_.Wa.zx.get);_.E("iframes.handlers.set",_.Wa.zx.set);
_.E("iframes.resizeMe",_.Wa.pR);_.E("iframes.setVersionOverride",_.Wa.H5);_.E("iframes.CROSS_ORIGIN_IFRAMES_FILTER",_.Wa.CROSS_ORIGIN_IFRAMES_FILTER);_.E("IframeBase.prototype.send",Eq.prototype.send);_.E("IframeBase.prototype.register",Eq.prototype.register);_.E("Iframe.prototype.send",Kq.prototype.send);_.E("Iframe.prototype.register",Kq.prototype.register);_.E("IframeProxy.prototype.send",Lq.prototype.send);_.E("IframeProxy.prototype.register",Lq.prototype.register);
_.E("IframeWindow.prototype.send",Mq.prototype.send);_.E("IframeWindow.prototype.register",Mq.prototype.register);_.E("iframes.iframer.send",_.Wa.JO.send);
var At=_.Wa.xc,Bt={open:function(a){var b=_.Kn(a.lc());return a.Ig(b,{style:_.Ln(b)})},attach:function(a,b){var c=_.Kn(a.lc()),d=b.id,e=b.getAttribute("data-postorigin")||b.src,f=/#(?:.*&)?rpctoken=(\d+)/.exec(e);f=f&&f[1];a.id=d;a.It=f;a.el=c;a.Ah=b;_.Wa.Zk[d]=a;b=_.yq(a.methods);b._ready=a.Py;b._close=a.close;b._open=a.CQ;b._resizeMe=a.rR;b._renderstart=a.uQ;_.zq(b,d,"",a,!0);_.Pf.Vz(a.id,a.It);_.Pf.Vi(a.id,e);c=_.Wa.Dm({style:_.Ln(c)});for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&
("style"==h?a.Ah.style.cssText=c[h]:a.Ah.setAttribute(h,c[h]))}};Bt.onready=_.Mn;Bt.onRenderStart=_.Mn;Bt.close=_.Nn;At("inline",Bt);
_.lh=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Ib(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)}};_.mh=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.Gb(f)?"o"+_.Kb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};
_.nh=function(a,b){a.src=_.ec(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)};_.oh=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 ph,th,vh;ph={};th=null;_.uh=_.ud||_.vd||!_.kh&&!_.rd&&"function"==typeof _.u.atob;_.wh=function(a,b){void 0===b&&(b=0);vh();b=ph[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("")};
_.xh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=th[m];if(null!=n)return n;if(!_.lc(m))throw Error("B`"+m);}return l}vh();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))}};
vh=function(){if(!th){th={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));ph[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===th[f]&&(th[f]=e)}}}};
_.Rh={};var Th;_.Sh=function(a){this.ub=a||{cookie:""}};_.g=_.Sh.prototype;_.g.isEnabled=function(){if(!_.u.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{lF: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.kga;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.lF}if(/[;=\s]/.test(a))throw Error("E`"+a);if(/[;\r\n]/.test(b))throw Error("F`"+b);void 0===k&&(k=-1);this.ub.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.ub.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.mc)(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,"",{lF:0,path:b,domain:c});return d};_.g.Tf=function(){return Th(this).keys};_.g.Wc=function(){return Th(this).values};_.g.isEmpty=function(){return!this.ub.cookie};_.g.Ib=function(){return this.ub.cookie?(this.ub.cookie||"").split(";").length:0};
_.g.Zh=function(a){return void 0!==this.get(a)};_.g.qj=function(a){for(var b=Th(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=Th(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};Th=function(a){a=(a.ub.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.mc)(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}};
_.Uh=new _.Sh("undefined"==typeof document?null:document);
_.ei={};_.fi=function(a){return _.ei[a||"token"]||null};
var Ii,Ki;_.Hi=function(a,b){b=(0,_.hb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};Ii=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.Ji=function(a){for(var b in a)return!1;return!0};_.Li=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<Ki.length;f++)c=Ki[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.Mi=function(a){a&&"function"==typeof a.Ha&&a.Ha()};
_.Ni=function(a){if(!(a instanceof Array)){a=_.ra(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};_.Oi=function(a,b){a=a.split(".");b=b||_.u;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};Ki="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");_.Pi=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Qi=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.Ri=function(){this.ug=this.ug;this.nn=this.nn};_.Ri.prototype.ug=!1;_.Ri.prototype.isDisposed=function(){return this.ug};_.Ri.prototype.Ha=function(){this.ug||(this.ug=!0,this.ta())};_.Ti=function(a,b){_.Si(a,_.Bi(_.Mi,b))};_.Si=function(a,b){a.ug?b():(a.nn||(a.nn=[]),a.nn.push(b))};_.Ri.prototype.ta=function(){if(this.nn)for(;this.nn.length;)this.nn.shift()()};_.Ui=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Bt=!1};_.Ui.prototype.stopPropagation=function(){this.Bt=!0};_.Ui.prototype.preventDefault=function(){this.defaultPrevented=!0};var Vi=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}();_.Wi=function(a,b){_.Ui.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.bG=!1;this.pointerId=0;this.pointerType="";this.Fe=null;a&&this.zd(a,b)};_.ab(_.Wi,_.Ui);var Xi={2:"touch",3:"pen",4:"mouse"};
_.Wi.prototype.zd=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)?_.ud&&(_.pd(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=_.vd||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.vd||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.bG=_.xd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Xi[a.pointerType]||"";this.state=a.state;this.Fe=a;a.defaultPrevented&&_.Wi.H.preventDefault.call(this)};_.Wi.prototype.stopPropagation=function(){_.Wi.H.stopPropagation.call(this);this.Fe.stopPropagation?this.Fe.stopPropagation():this.Fe.cancelBubble=!0};_.Wi.prototype.preventDefault=function(){_.Wi.H.preventDefault.call(this);var a=this.Fe;a.preventDefault?a.preventDefault():a.returnValue=!1};_.Yi="closure_listenable_"+(1E6*Math.random()|0);_.Zi=function(a){return!(!a||!a[_.Yi])};var $i=0;var aj=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=++$i;this.Et=this.Bv=!1},bj=function(a){a.Et=!0;a.listener=null;a.proxy=null;a.src=null;a.qf=null};var cj=function(a){this.src=a;this.Qd={};this.Du=0};cj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Qd[f];a||(a=this.Qd[f]=[],this.Du++);var h=dj(a,b,d,e);-1<h?(b=a[h],c||(b.Bv=!1)):(b=new aj(b,this.src,f,!!d,e),b.Bv=c,a.push(b));return b};cj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Qd))return!1;var e=this.Qd[a];b=dj(e,b,c,d);return-1<b?(bj(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Qd[a],this.Du--),!0):!1};
var ej=function(a,b){var c=b.type;if(!(c in a.Qd))return!1;var d=_.Hi(a.Qd[c],b);d&&(bj(b),0==a.Qd[c].length&&(delete a.Qd[c],a.Du--));return d};cj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Qd)if(!a||c==a){for(var d=this.Qd[c],e=0;e<d.length;e++)++b,bj(d[e]);delete this.Qd[c];this.Du--}return b};cj.prototype.Uo=function(a,b,c,d){a=this.Qd[a.toString()];var e=-1;a&&(e=dj(a,b,c,d));return-1<e?a[e]:null};
cj.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Ii(this.Qd,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var dj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Et&&f.listener==b&&f.capture==!!c&&f.qf==d)return e}return-1};var fj,gj,hj,lj,nj,oj,pj,sj;fj="closure_lm_"+(1E6*Math.random()|0);gj={};hj=0;_.jj=function(a,b,c,d,e){if(d&&d.once)return _.ij(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.jj(a,b[f],c,d,e);return null}c=_.kj(c);return _.Zi(a)?a.V(b,c,_.Gb(d)?!!d.capture:!!d,e):lj(a,b,c,!1,d,e)};
lj=function(a,b,c,d,e,f){if(!b)throw Error("G");var h=_.Gb(e)?!!e.capture:!!e,k=_.mj(a);k||(a[fj]=k=new cj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=nj();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Vi||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(oj(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("H");hj++;return c};nj=function(){var a=pj,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.ij=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.ij(a,b[f],c,d,e);return null}c=_.kj(c);return _.Zi(a)?a.Ep(b,c,_.Gb(d)?!!d.capture:!!d,e):lj(a,b,c,!0,d,e)};_.qj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.qj(a,b[f],c,d,e);else d=_.Gb(d)?!!d.capture:!!d,c=_.kj(c),_.Zi(a)?a.qc(b,c,d,e):a&&(a=_.mj(a))&&(b=a.Uo(b,c,d,e))&&_.rj(b)};
_.rj=function(a){if("number"===typeof a||!a||a.Et)return!1;var b=a.src;if(_.Zi(b))return b.kJ(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(oj(c),d):b.addListener&&b.removeListener&&b.removeListener(d);hj--;(c=_.mj(b))?(ej(c,a),0==c.Du&&(c.src=null,b[fj]=null)):bj(a);return!0};oj=function(a){return a in gj?gj[a]:gj[a]="on"+a};
pj=function(a,b){if(a.Et)a=!0;else{b=new _.Wi(b,this);var c=a.listener,d=a.qf||a.src;a.Bv&&_.rj(a);a=c.call(d,b)}return a};_.mj=function(a){a=a[fj];return a instanceof cj?a:null};sj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.kj=function(a){if("function"===typeof a)return a;a[sj]||(a[sj]=function(b){return a.handleEvent(b)});return a[sj]};_.Gi(function(a){pj=a(pj)});_.tj=function(){_.Ri.call(this);this.zj=new cj(this);this.oW=this;this.WF=null};_.ab(_.tj,_.Ri);_.tj.prototype[_.Yi]=!0;_.g=_.tj.prototype;_.g.Gm=function(){return this.WF};_.g.hA=_.ea(3);_.g.addEventListener=function(a,b,c,d){_.jj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.qj(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Gm();if(c)for(b=[];c;c=c.Gm())b.push(c);c=this.oW;var d=a.type||a;if("string"===typeof a)a=new _.Ui(a,c);else if(a instanceof _.Ui)a.target=a.target||c;else{var e=a;a=new _.Ui(d,c);_.Li(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Bt&&0<=f;f--){var h=a.currentTarget=b[f];e=h.Pr(d,!0,a)&&e}a.Bt||(h=a.currentTarget=c,e=h.Pr(d,!0,a)&&e,a.Bt||(e=h.Pr(d,!1,a)&&e));if(b)for(f=0;!a.Bt&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Pr(d,!1,a)&&e;return e};
_.g.ta=function(){_.tj.H.ta.call(this);this.qG();this.WF=null};_.g.V=function(a,b,c,d){return this.zj.add(String(a),b,!1,c,d)};_.g.Ep=function(a,b,c,d){return this.zj.add(String(a),b,!0,c,d)};_.g.qc=function(a,b,c,d){return this.zj.remove(String(a),b,c,d)};_.g.kJ=function(a){return ej(this.zj,a)};_.g.qG=function(){this.zj&&this.zj.removeAll(void 0)};
_.g.Pr=function(a,b,c){a=this.zj.Qd[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.Et&&f.capture==b){var h=f.listener,k=f.qf||f.src;f.Bv&&this.kJ(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Uo=function(a,b,c,d){return this.zj.Uo(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.zj.hasListener(void 0!==a?String(a):void 0,b)};
var xs,ys,zs,As,Es,Fs,Hs,Ls,Ms,Ns,Os,Ps,Qs,Gs,Is,Js;xs=function(a){var b=document.createElement("template");if(!("content"in b)){b=_.Xc("<html><body>"+a);b=(new DOMParser).parseFromString(_.yb(b),"text/html");for(a=b.createDocumentFragment();0<b.body.childNodes.length;)a.appendChild(b.body.firstChild);return a}a=_.Xc(a);_.zb(b,a);return b.content};ys=function(a){a=a.nodeName;return"string"===typeof a?a:"FORM"};zs=function(a){a=a.nodeType;return a===Node.ELEMENT_NODE||"number"!==typeof a};
As=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Bs=function(a,b,c,d){return Array.prototype.splice.apply(a,As(arguments,1))};_.Cs=function(a,b,c){if(null!==a&&b in a)throw Error("j`"+b);a[b]=c};
_.Ds=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.Sfa&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.Rfa&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.Tfa&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return _.Xc(a)};Es=function(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)};
Fs=function(a,b){("undefined"!==typeof window&&window.navigator&&void 0!==window.navigator.sendBeacon?navigator.sendBeacon.bind(navigator):Es)("https://csp.withgoogle.com/csp/lcreport/"+a.vz,JSON.stringify({host:window.location.hostname,type:b,additionalData:void 0}))};Hs=function(a,b){try{Gs(_.md,a)}catch(c){return Fs(b,"H_SLSANITIZE"),!0}try{Gs(_.ld,a)}catch(c){return Fs(b,"H_RSANITIZE"),!0}try{Gs(_.kd,a)}catch(c){return Fs(b,"H_SANITIZE"),!0}return!1};
_.Ks=function(a,b){a=_.Fb(a);var c;if(c=b){var d,e;c=Math.random()<(null!=(e=null!=(d=b.lga)?d:Is[b.vz[0]])?e:0)}if(c&&"DocumentFragment"in window){var f,h;Math.random()<(null!=(h=null!=(f=b.ifa)?f:Js[b.vz[0]])?h:0)&&Fs(b,"HEARTBEAT");Hs(a,b)||_.Ds(a).toString()!==a&&Fs(b,"H_ESCAPE")}return _.Xc(a)};_.Zd.prototype.N=_.fb(1,function(a){return _.Ai(this.ub,a)});
Ls=function(a,b,c){c=a.dM.get(c);return(null==c?0:c.has(b))?c.get(b):a.uW.has(b)?{Bd:1}:(c=a.QZ.get(b))?c:a.RN&&[].concat(_.Ni(a.RN)).some(function(d){return 0===b.indexOf(d)})?{Bd:1}:{Bd:0}};Ms=["data:","http:","https:","mailto:","ftp:"];Ns=function(a){0===a.Hv.length&&a.Hv.push("")};
Os=function(a,b){if(b.nodeType===Node.TEXT_NODE)return NodeFilter.FILTER_ACCEPT;if(!zs(b))return NodeFilter.FILTER_REJECT;b=ys(b);if(null===b)return Ns(a),NodeFilter.FILTER_REJECT;var c=a.yR;if("form"!==b.toLowerCase()&&(c.tW.has(b)||c.dM.has(b)))return NodeFilter.FILTER_ACCEPT;Ns(a);return NodeFilter.FILTER_REJECT};
Ps=function(a,b){var c=ys(b),d=document.createElement(c);b=b.attributes;for(var e=_.ra(b),f=e.next();!f.done;f=e.next()){var h=f.value;f=h.name;h=h.value;var k=Ls(a.yR,f,c),l;a:{if(l=k.conditions){l=_.ra(l);for(var m=l.next();!m.done;m=l.next()){var n=_.ra(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.Bd){case 1:d.setAttribute(f,h);break;case 2:k=_.zi(h);k=void 0!==k&&-1!==Ms.indexOf(k.toLowerCase())?
h:"about:invalid#zClosurez";k!==h&&Ns(a);d.setAttribute(f,k);break;case 3:d.setAttribute(f,h.toLowerCase());break;case 4:d.setAttribute(f,h);break;case 0:Ns(a)}else Ns(a)}return d};
Qs=function(a,b){b=xs(b);b=document.createTreeWalker(b,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(h){return Os(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(zs(c))f=Ps(a,c);else throw Error("p");e.appendChild(f);if(c=b.firstChild())e=f;else for(;!(c=b.nextSibling())&&(c=b.parentNode());)e=e.parentNode}return d};
_.Rs=function(a,b){var c=document.createElement("span");c.appendChild(Qs(a,b));a=(new XMLSerializer).serializeToString(c);a=a.slice(a.indexOf(">")+1,a.lastIndexOf("</"));return _.Xc(a)};Gs=function(a,b){a.Hv=[];_.Rs(a,b);if(0!==a.Hv.length)throw Error("p");};Is={0:1,1:.01};Js={0:.1,1:.01};
_.Ss=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:""):_.be(c,"*",a,b)[0]||null}return a||null};_.Ts=function(a){var b;if(_.Od&&(b=a.parentElement))return b;b=a.parentNode;return _.pe(b)?b:null};_.Us=function(a){_.Ri.call(this);this.ie=a;this.Rb={}};_.ab(_.Us,_.Ri);var Vs=[];_.Us.prototype.V=function(a,b,c,d){return this.Ws(a,b,c,d)};
_.Us.prototype.Ws=function(a,b,c,d,e){Array.isArray(b)||(b&&(Vs[0]=b.toString()),b=Vs);for(var f=0;f<b.length;f++){var h=_.jj(a,b[f],c||this.handleEvent,d||!1,e||this.ie||this);if(!h)break;this.Rb[h.key]=h}return this};_.Us.prototype.Ep=function(a,b,c,d){return Ws(this,a,b,c,d)};var Ws=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Ws(a,b,c[h],d,e,f);else{b=_.ij(b,c,d||a.handleEvent,e,f||a.ie||a);if(!b)return a;a.Rb[b.key]=b}return a};
_.Us.prototype.qc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.qc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Gb(d)?!!d.capture:!!d,e=e||this.ie||this,c=_.kj(c),d=!!d,b=_.Zi(a)?a.Uo(b,c,d,e):a?(a=_.mj(a))?a.Uo(b,c,d,e):null:null,b&&(_.rj(b),delete this.Rb[b.key]);return this};_.Us.prototype.removeAll=function(){_.mb(this.Rb,function(a,b){this.Rb.hasOwnProperty(b)&&_.rj(a)},this);this.Rb={}};_.Us.prototype.ta=function(){_.Us.H.ta.call(this);this.removeAll()};
_.Us.prototype.handleEvent=function(){throw Error("P");};
var Ku,Lu,Mu,Nu,Ou,Qu,Ru,Su,Tu,Vu;_.Ju=!1;Ku=function(a){try{_.Ju&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Lu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};Mu=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};
Nu=function(a,b){function c(){}if(!a)throw Error("S");if(!b)throw Error("T");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};Ou=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.Pu=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};Qu=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
Ru=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("U`"+b);};Su={token:1,id_token:1};Tu=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.Uu=window.JSON;Vu=function(a){this.BJ=a||[];this.Xb={}};
Vu.prototype.addEventListener=function(a,b){if(!(0<=Mu(this.BJ,a)))throw Error("W`"+a);if(!Ou(b))throw Error("X`"+a);this.Xb[a]||(this.Xb[a]=[]);0>Mu(this.Xb[a],b)&&this.Xb[a].push(b)};Vu.prototype.removeEventListener=function(a,b){if(!(0<=Mu(this.BJ,a)))throw Error("W`"+a);Ou(b)&&this.Xb[a]&&this.Xb[a].length&&(b=Mu(this.Xb[a],b),0<=b&&this.Xb[a].splice(b,1))};
Vu.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Mu(this.BJ,b)))throw Error("Y`"+b);if(this.Xb[b]&&this.Xb[b].length)for(var c=this.Xb[b].length,d=0;d<c;d++)this.Xb[b][d](a)};var Wu,Xu,Yu,bv,cv,tv,uv,wv,xv,zv,Jv;Wu={};Xu={};Yu={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.Zu=function(a,b){if(a=Yu[a])return a[b]};_.$u=function(a,b){if(!a)throw Error("Z");if(!b.authServerUrl)throw Error("$");if(!b.idpIFrameUrl)throw Error("aa");Yu[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.av=void 0;
bv=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")};cv=function(){this.S6=window;this.Xv=this.em=this.yt=this.Jh=null};
cv.prototype.open=function(a,b,c,d){dv(this);this.yt?(this.em&&(this.em(),this.em=null),ev(this)):this.yt="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Jh=this.S6.open(a,this.yt,b);try{this.Jh.focus();if(this.Jh.closed||"undefined"==typeof this.Jh.closed)throw Error("ca");_.av=this.Jh}catch(e){d&&setTimeout(d,0);this.Jh=null;break a}c&&(this.em=c,fv(this))}};
var dv=function(a){try{if(null==a.Jh||a.Jh.closed)a.Jh=null,a.yt=null,ev(a),a.em&&(a.em(),a.em=null)}catch(b){a.Jh=null,a.yt=null,ev(a)}},fv=function(a){a.Xv=window.setInterval(function(){dv(a)},300)},ev=function(a){a.Xv&&(window.clearInterval(a.Xv),a.Xv=null)};Xu=Xu||{};var gv=function(a,b){this.Sb=a;this.LE=b;this.ld=null;this.Qm=!1};gv.prototype.start=function(){if(!this.Qm&&!this.ld){var a=this;this.ld=window.setTimeout(function(){a.clear();a.Qm||(a.Sb(),a.Qm=!0)},Xu.NN(this.LE))}};
gv.prototype.clear=function(){this.ld&&(window.clearTimeout(this.ld),this.ld=null)};var hv=function(a,b){var c=Xu.Xq;this.p0=Xu.Rq;this.uT=c;this.Sb=a;this.LE=b;this.ld=null;this.Qm=!1;var d=this;this.vT=function(){document[d.p0]||(d.clear(),d.start())}};hv.prototype.start=function(){if(!this.Qm&&!this.ld){Ru(document,this.uT,this.vT);var a=this;this.ld=window.setTimeout(function(){a.clear();a.Qm||(a.Sb(),a.Qm=!0)},Xu.NN(this.LE))}};
hv.prototype.clear=function(){var a=this.uT,b=this.vT,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("V`"+a);this.ld&&(window.clearTimeout(this.ld),this.ld=null)};Xu.Rq=null;Xu.Xq=null;
Xu.L0=function(){var a=document;"undefined"!==typeof a.hidden?(Xu.Rq="hidden",Xu.Xq="visibilitychange"):"undefined"!==typeof a.msHidden?(Xu.Rq="msHidden",Xu.Xq="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(Xu.Rq="webkitHidden",Xu.Xq="webkitvisibilitychange")};Xu.L0();Xu.vX=function(a,b){return Xu.Rq&&Xu.Xq?new hv(a,b):new gv(a,b)};Xu.NN=function(a){return Math.max(1,a-(new Date).getTime())};
var iv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},jv=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],z=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var A=w^v&(r^w);var D=1518500249}else A=
v^r^w,D=1859775393;else 60>t?(A=v&r|w&(v|r),D=2400959708):(A=v^r^w,D=3395469782);A=((q<<5|q>>>27)&4294967295)+A+z+D+p[t]&4294967295;z=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=A}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]+z&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}}},kv=
window.crypto,lv=!1,mv=0,nv=1,ov=0,pv="",qv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;nv=nv*b%ov;if(3==++mv)if(a=window,b=qv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("V`mousemove");},rv=function(a){var b=jv();b.update(a);return b.ei()};lv=!!kv&&"function"==typeof kv.getRandomValues;
lv||(ov=1E6*(screen.width*screen.width+screen.height),pv=rv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),Ru(window,"mousemove",qv));Wu=Wu||{};Wu.nU="ssIFrame_";
_.sv=function(a,b,c){c=void 0===c?!1:c;this.yb=a;if(!this.yb)throw Error("da");a=_.Zu(a,"idpIFrameUrl");if(!a)throw Error("ea");this.FO=a;if(!b)throw Error("fa");this.Gl=b;a=this.FO;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.tE=a.join("");this.u4=[location.protocol,"//",location.host].join("");
this.su=this.sE=this.Um=!1;this.BO=null;this.Oy=[];this.Xp=[];this.lj={};this.Vm=void 0;this.Hq=c};_.g=_.sv.prototype;_.g.show=function(){var a=this.Vm;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.g.Ub=function(){bv(this.Vm)};
_.g.sy=function(a){if(this.Um)a&&a(this);else{if(!this.Vm){var b=Wu.nU+this.yb;var c=this.yb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Mu(e.split("|"),c))?iv(e,d):iv(e?e+"|"+c:c,d);c=!f;var h=this.FO,k=this.u4;d=this.Gl;e=this.Hq;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&&Ou(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);bv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Ju&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Vm=f}a&&this.Oy.push(a)}};_.g.ey=function(){return this.Um&&this.su};_.g.Em=function(){return this.BO};
tv=function(a){for(var b=0;b<a.Oy.length;b++)a.Oy[b](a);a.Oy=[]};_.vv=function(a,b,c,d){if(a.Um){if(a.Um&&a.sE)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Em(),Ku(a),Error(a);uv(a,{method:b,params:c},d)}else a.Xp.push({Dn:{method:b,params:c},callback:d}),a.sy()};uv=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.Gl;a.Vm.contentWindow.postMessage(_.Uu.stringify(b),a.tE)};
wv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ga");};_.sv.prototype.Ki=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;wv(f);b=_.Pu(b);_.vv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.sv.prototype.qy=function(a,b,c,d,e){b=_.Pu(b);_.vv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};xv=function(a,b,c){wv(b.identifier);_.vv(a,"getSessionSelector",b,c)};
_.yv=function(a,b,c,d,e){wv(b.identifier);_.vv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};zv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.vv(a,"monitorClient",b,e)};_.sv.prototype.revoke=_.ea(9);_.sv.prototype.rr=_.ea(11);Wu.Gx={};Wu.sD=function(a){return Wu.Gx[a]};
Wu.sy=function(a,b,c){c=void 0===c?!1:c;var d=Wu.sD(a);if(!d){d=String;if(lv){var e=new window.Uint32Array(1);kv.getRandomValues(e);e=Number("0."+e[0])}else e=nv,e+=parseInt(pv.substr(0,20),16),pv=rv(pv),e/=ov+Math.pow(16,20);d=new _.sv(a,d(2147483647*e),c);Wu.Gx[a]=d}d.sy(b)};Wu.TY=function(a){for(var b in Wu.Gx){var c=Wu.sD(b);if(c&&c.Vm&&c.Vm.contentWindow==a.source&&c.tE==a.origin)return c}};Wu.zZ=function(a){for(var b in Wu.Gx){var c=Wu.sD(b);if(c&&c.tE==a)return c}};Wu=Wu||{};
var Bv=function(){var a=[],b;for(b in Av)a.push(Av[b]);Vu.call(this,a);this.bl={};Ku("EventBus is ready.")};Nu(Bv,Vu);var Av={FV:"sessionSelectorChanged",rB:"sessionStateChanged",cB:"authResult",ZT:"displayIFrame"},Dv=function(a,b){var c=Cv;a&&b&&(c.bl[a]||(c.bl[a]=[]),0>Mu(c.bl[a],b)&&c.bl[a].push(b))},Ev=function(a){var b=Cv;a&&(b.bl[a]||(b.bl[a]=[]))},Fv=function(a,b,c){return b&&a.bl[b]&&0<=Mu(a.bl[b],c)};_.g=Bv.prototype;
_.g.w3=function(a){var b,c=!!a.source&&(a.source===_.av||a.source.opener===window);if(b=c?Wu.zZ(a.origin):Wu.TY(a)){try{var d=_.Uu.parse(a.data)}catch(e){Ku("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.Gl){Ku("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?Ku("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.EO[a.type]?(d=this.EO[a.type],
c&&!d.rW?Ku("Bad IDP event. Source window cannot be a popup."):d.Mq&&!d.Mq.call(this,b,a)?Ku("Bad IDP event."):d.qf.call(this,b,a)):Ku("Bad IDP event.")}else Ku("Bad event, no corresponding Idp Stub.")};_.g.U4=function(a,b){return Fv(this,a.yb,b.clientId)};_.g.T4=function(a,b){b=b.clientId;return!b||Fv(this,a.yb,b)};_.g.FW=function(a,b){return Fv(this,a.yb,b.clientId)};_.g.E2=function(a,b){a.Um=!0;a.su=!!b.cookieDisabled;tv(a);for(b=0;b<a.Xp.length;b++)uv(a,a.Xp[b].Dn,a.Xp[b].callback);a.Xp=[]};
_.g.D2=function(a,b){b={error:b.error};a.Um=!0;a.sE=!0;a.BO=b;a.Xp=[];tv(a)};_.g.rz=function(a,b){b.originIdp=a.yb;this.dispatchEvent(b)};var Cv=new Bv,Gv=Cv,Hv={};Hv.idpReady={qf:Gv.E2};Hv.idpError={qf:Gv.D2};Hv.sessionStateChanged={qf:Gv.rz,Mq:Gv.U4};Hv.sessionSelectorChanged={qf:Gv.rz,Mq:Gv.T4};Hv.authResult={qf:Gv.rz,Mq:Gv.FW,rW:!0};Hv.displayIFrame={qf:Gv.rz};Cv.EO=Hv||{};Ru(window,"message",function(a){Cv.w3.call(Cv,a)});
_.Iv=function(a,b){this.xe=!1;if(!a)throw Error("ha");var c=[],d;for(d in a)c.push(a[d]);Vu.call(this,c);this.Zc=[location.protocol,"//",location.host].join("");this.Zd=b.crossSubDomains?b.domain||this.Zc:this.Zc;if(!b)throw Error("ia");if(!b.idpId)throw Error("ja");if(!_.Zu(b.idpId,"authServerUrl")||!_.Zu(b.idpId,"idpIFrameUrl"))throw Error("ka`"+b.idpId);this.yb=b.idpId;this.Tb=void 0;this.CX=!!b.disableTokenRefresh;this.sY=!!b.forceTokenRefresh;this.T5=!!b.skipTokenCache;this.Hq=!!b.supportBlocked3PCookies;
b.pluginName&&(this.m3=b.pluginName);b.ackExtensionDate&&(this.kW=b.ackExtensionDate);this.setOptions(b);this.Cr=[];this.su=this.Fj=this.jP=!1;this.Ci=void 0;this.eR();this.yd=void 0;var e=this,f=function(){Ku("Token Manager is ready.");if(e.Cr.length)for(var h=0;h<e.Cr.length;h++)e.Cr[h].call(e);e.jP=!0;e.Cr=[]};Wu.sy(this.yb,function(h){e.yd=h;h.Um&&h.sE?(e.Fj=!0,e.Ci=h.Em(),e.Op(e.Ci)):(e.su=h.ey(),e.Tb?zv(e.yd,e.Tb,e.m3,e.kW,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.Op(e.Ci)):l?m?n?(Lu("You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Dv(e.yb,e.Tb),f()):(e.Ci={error:"You have created a new client application that uses libraries for user authentication or authorization that will soon be deprecated. New clients must use the new libraries instead; existing clients must also migrate before these libraries are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Fj=!0,e.Op(e.Ci)):(Lu("Your client application uses libraries for user authentication or authorization that will soon be deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
Dv(e.yb,e.Tb),f()):(e.Ci={error:"Not a valid origin for the client: "+e.Zc+" has not been registered for client ID "+e.Tb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Fj=!0,e.Op(e.Ci))}):(Ev(e.yb),f()))},this.Hq)};Nu(_.Iv,Vu);_.g=_.Iv.prototype;_.g.setOptions=function(){};_.g.eR=function(){};_.g.Op=function(){};_.g.ey=function(){return this.su};_.g.Em=function(){return this.Ci};Jv=function(a,b,c){return function(){b.apply(a,c)}};
_.Kv=function(a,b,c){if(a.jP)b.apply(a,c);else{if(a.Fj)throw a.Ci;a.Cr.push(Jv(a,b,c))}};_.Iv.prototype.lL=_.ea(12);_.Iv.prototype.rr=_.ea(10);_.Mv=function(a,b){_.Iv.call(this,a,b);this.NQ=new cv;this.Qj=this.un=null;Lv(this)};Nu(_.Mv,_.Iv);_.Mv.prototype.setOptions=function(){};
var Nv=function(a,b){a.ue={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Zd};b.crossSubDomains&&(a.ue.policy=b.policy)},Ov=function(a,b){if(!b.authParameters)throw Error("la");if(!b.authParameters.scope)throw Error("ma");if(!b.authParameters.response_type)throw Error("na");a.gr=b.authParameters;a.gr.redirect_uri||(a.gr.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Pi=_.Pu(b.rpcAuthParameters||a.gr);if(!a.Pi.scope)throw Error("oa");if(!a.Pi.response_type)throw Error("pa");
a:{var c=a.Pi.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!Su[c[d]]){c=!0;break a}c=!1}if(c)throw Error("qa");b.enableSerialConsent&&(a.Pi.enable_serial_consent=!0);b.authResultIdentifier&&(a.GW=b.authResultIdentifier);b.spec_compliant&&(a.Pi.spec_compliant=b.spec_compliant)};
_.Mv.prototype.eR=function(){var a=this;Cv.addEventListener(Av.FV,function(b){a.xe&&a.ue&&b.originIdp==a.yb&&!b.crossSubDomains==!a.ue.crossSubDomains&&b.domain==a.ue.domain&&b.id==a.ue.id&&a.wQ(b)});Cv.addEventListener(Av.rB,function(b){a.xe&&b.originIdp==a.yb&&b.clientId==a.Tb&&a.xQ(b)});Cv.addEventListener(Av.cB,function(b){_.av=void 0;a.xe&&b.originIdp==a.yb&&b.clientId==a.Tb&&b.id==a.Mj&&(a.un&&(window.clearTimeout(a.un),a.un=null),a.Mj=void 0,a.jt(b))});Cv.addEventListener(Av.ZT,function(b){a.xe&&
b.originIdp==a.yb&&(b.Ub?a.yd.Ub():a.yd.show())})};_.Mv.prototype.wQ=function(){};_.Mv.prototype.xQ=function(){};_.Mv.prototype.jt=function(){};var Qv=function(a,b){Pv(a);a.CX||(a.Qj=Xu.vX(function(){a.Ki(!0)},b-3E5),navigator.onLine&&a.Qj.start())},Pv=function(a){a.Qj&&(a.Qj.clear(),a.Qj=null)},Lv=function(a){var b=window;Tu()&&(b=document.body);Ru(b,"online",function(){a.Qj&&a.Qj.start()});Ru(b,"offline",function(){a.Qj&&a.Qj.clear()})};_.Mv.prototype.Ki=function(){};_.Mv.prototype.dQ=_.ea(13);
_.Mv.prototype.w1=function(a,b){if(!this.Tb)throw Error("ua");this.yd.qy(this.Tb,this.Pi,this.ue,a,b)};_.Mv.prototype.qy=function(a,b){_.Kv(this,this.w1,[a,b])};_.Sv=function(a){this.le=void 0;this.hh=!1;this.lq=void 0;_.Mv.call(this,_.Rv,a)};Nu(_.Sv,_.Mv);_.Rv={eK:"noSessionBound",Wq:"userLoggedOut",FT:"activeSessionChanged",rB:"sessionStateChanged",rK:"tokenReady",ZV:"tokenFailed",cB:"authResult",ERROR:"error"};
_.Sv.prototype.setOptions=function(a){if(!a.clientId)throw Error("va");this.Tb=a.clientId;this.Ca=a.id;Nv(this,a);Ov(this,a)};_.Sv.prototype.Op=function(a){this.dispatchEvent({type:_.Rv.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.yb})};var Tv=function(a){Pv(a);a.lq=void 0;a.my=void 0};_.g=_.Sv.prototype;
_.g.wQ=function(a){var b=a.newValue||{};if(this.le!=b.hint||this.hh!=!!b.disabled){a=this.le;var c=!this.le||this.hh;Tv(this);this.le=b.hint;this.hh=!!b.disabled;(b=!this.le||this.hh)&&!c?this.dispatchEvent({type:_.Rv.Wq,idpId:this.yb}):b||(a!=this.le&&this.dispatchEvent({type:_.Rv.FT,idpId:this.yb}),this.le&&this.Ki())}};
_.g.xQ=function(a){this.hh||(this.le?a.user||this.lq?a.user==this.le&&(this.lq?a.sessionState?this.lq=a.sessionState:(Tv(this),this.dispatchEvent({type:_.Rv.Wq,idpId:this.yb})):a.sessionState&&(this.lq=a.sessionState,this.Ki())):this.Ki():this.dispatchEvent({type:_.Rv.rB,idpId:this.yb}))};_.g.jt=function(a){this.dispatchEvent({type:_.Rv.cB,authResult:a.authResult})};_.g.Zr=_.ea(15);_.g.Tr=function(a){_.Kv(this,this.hD,[a])};_.g.hD=function(a){xv(this.yd,this.ue,a)};
_.g.yA=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("wa");Tv(this);this.le=a;this.hh=!1;b&&_.yv(this.yd,this.ue,!1,this.le);this.xe=!0;this.Ki(c,!0,d)};_.g.start=function(){_.Kv(this,this.ku,[])};
_.g.ku=function(){var a=this.Tb==Qu("client_id")?Qu("login_hint"):void 0;var b=this.Tb==Qu("client_id")?Qu("state"):void 0;this.EF=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.yA(a,!0,!0,!0);else{var c=this;this.Tr(function(d){c.xe=!0;d&&d.hint?(Tv(c),c.le=d.hint,c.hh=!!d.disabled,c.hh?c.dispatchEvent({type:_.Rv.Wq,idpId:c.yb}):c.yA(d.hint)):(Tv(c),c.le=void 0,c.hh=!(!d||!d.disabled),c.dispatchEvent({type:_.Rv.eK,
autoOpenAuthUrl:!c.hh,idpId:c.yb}))})}};_.g.pY=function(){var a=this;this.Tr(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.Rv.Wq,idpId:a.yb}):a.Ki(!0):a.dispatchEvent({type:_.Rv.eK,idpId:a.yb})})};_.g.VM=function(){_.Kv(this,this.pY,[])};
_.g.Ki=function(a,b,c){var d=this;this.yd.Ki(this.Tb,this.Pi,this.le,this.ue,function(e,f){(f=f||e.error)?"user_logged_out"==f?(Tv(d),d.dispatchEvent({type:_.Rv.Wq,idpId:d.yb})):(d.my=null,d.dispatchEvent({type:_.Rv.ZV,idpId:d.yb,error:f})):(d.my=e,d.lq=e.session_state,Qv(d,e.expires_at),e.idpId=d.yb,b&&d.EF&&(e.state=d.EF,d.EF=void 0),d.dispatchEvent({type:_.Rv.rK,idpId:d.yb,response:e}))},this.Ca,a,!1,void 0===c?!1:c)};_.g.revoke=_.ea(8);_.g.uR=_.ea(16);
_.Uv=function(a){this.Ul=null;_.Mv.call(this,{},a);this.xe=!0};Nu(_.Uv,_.Mv);_.g=_.Uv.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("va");this.Tb=a.clientId;this.Ca=a.id;Nv(this,a);Ov(this,a)};_.g.Op=function(a){this.Ul&&(this.Ul({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Ul=null)};_.g.jt=function(a){if(this.Ul){var b=this.Ul;this.Ul=null;b(a)}};_.g.Zr=_.ea(14);_.g.Tr=function(a){this.Fj?a(this.Em()):_.Kv(this,this.hD,[a])};
_.g.hD=function(a){xv(this.yd,this.ue,a)};_.Vv=function(a,b,c){a.Fj?c(a.Em()):_.Kv(a,a.U2,[b,c])};_.Uv.prototype.U2=function(a,b){this.yd.Ki(this.Tb,this.Pi,a,this.ue,function(c,d){d?b({error:d}):b(c)},this.Ca,this.sY,this.T5)};_.Uv.prototype.GP=_.ea(17);
var Wv=function(a){return Array.prototype.concat.apply([],arguments)},Xv=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 _.wh(a,3).substring(0,64)},Yv=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},Zv=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},$v=function(a,b,c){if(!a.xe)throw Error("ra");b?_.yv(a.yd,a.ue,!0,void 0,c):_.yv(a.yd,a.ue,!0,a.le,c)},aw=function(a){if(!a.xe)throw Error("ra");return a.my},bw,cw,dw,ew,fw,gw,hw,iw,jw,lw;_.Uv.prototype.GP=_.fb(17,function(a,b){var c=this.yd,d=this.Tb,e=this.ue,f=_.Pu(this.Pi);delete f.response_type;_.vv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.Sv.prototype.uR=_.fb(16,function(a){aw(this)&&aw(this).access_token&&(this.yd.revoke(this.Tb,aw(this).access_token,a),$v(this,!0))});
_.Sv.prototype.Zr=_.fb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.ey()&&a.Hq&&(Yv()||Zv())){b=b.authResult;var c=Date.now(),d=b.expires_in;b={access_token:b.access_token,token_type:b.token_type,login_hint:b.login_hint,expires_in:d,id_token:b.id_token,scope:b.scope,first_issued_at:c,expires_at:c+1E3*d,idpId:a.yb};a.my=b;a.dispatchEvent({type:_.Rv.rK,idpId:a.yb,response:b})}else a.yA(b.authResult.login_hint,a.hh||b.authResult.login_hint!=a.le,!0,!0)}});
_.Uv.prototype.Zr=_.fb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Tr(function(d){_.yv(b.yd,b.ue,d&&d.disabled,c.authResult.login_hint,function(){_.Vv(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"})}});_.Mv.prototype.dQ=_.fb(13,function(){this.Tb&&_.vv(this.yd,"startPolling",{clientId:this.Tb,origin:this.Zc,id:this.Mj})});
_.sv.prototype.revoke=_.fb(9,function(a,b,c){_.vv(this,"revoke",{clientId:a,token:b},c)});_.Sv.prototype.revoke=_.fb(8,function(a){_.Kv(this,this.uR,[a])});bw=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};
cw=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};
dw=function(a,b,c,d,e,f,h){var k=_.Zu(a,"authServerUrl");if(!k)throw Error("ba`"+a);a=_.Pu(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=cw())&&(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("&")};
ew=function(a,b,c,d){if(!a.Tb)throw Error("sa");a.Mj=c||a.GW||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Zc.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 dw(a.yb,a.Zd,a.Tb,a.gr,!0,b,d)};fw=function(a,b,c){if(!a.Tb)throw Error("sa");return dw(a.yb,a.Zd,a.Tb,a.gr,!1,b,c)};
gw=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(" ")};hw=function(a,b){a.un&&window.clearTimeout(a.un);a.un=window.setTimeout(function(){a.Mj==b&&(_.av=void 0,a.un=null,a.Mj=void 0,a.jt({authResult:{error:"popup_closed_by_user"}}))},1E3)};
iw=function(a,b,c){if(!a.Tb)throw Error("ta");c=c||{};a.ey()&&a.Hq&&(Yv()||Zv())&&(c.responseType=gw(c.responseType));c=ew(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||bw())&&_.Kv(a,a.dQ,[]);var d=a.Mj;a.NQ.open(c,b,function(){a.Mj==d&&hw(a,d)},function(){a.Mj=void 0;a.jt({authResult:{error:"popup_blocked_by_browser"}})})};jw=function(a,b,c){a.Fj?c(a.Em()):_.Kv(a,a.GP,[b,c])};
_.kw=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("")};
lw=function(a){var b=[];_.xh(a,function(c){b.push(c)});return b};_.mw=function(a,b){_.ei[b||"token"]=a};_.nw=function(a){delete _.ei[a||"token"]};_.Uu={parse:function(a){a=_.Ef("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Ff(a)}};_.Uv.prototype.VC=function(a,b){_.Kv(this,this.gY,[a,b])};_.Uv.prototype.gY=function(a,b){this.yd.VC(this.Tb,a,this.Pi,this.ue,b)};_.sv.prototype.VC=function(a,b,c,d,e){c=_.Pu(c);_.vv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var ow,pw=["client_id","cookie_policy","scope"],qw="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(" "),rw=["authuser","after_redirect","access_type","hl"],sw=["login_hint","prompt"],tw={clientid:"client_id",cookiepolicy:"cookie_policy"},uw=["approval_prompt",
"authuser","login_hint","prompt","hd"],vw=["login_hint","g-oauth-window","status"],ww=Math.min(_.Re("oauth-flow/authWindowWidth",599),screen.width-20),xw=Math.min(_.Re("oauth-flow/authWindowHeight",600),screen.height-30);var yw=function(a){_.gb.call(this,a)};_.L(yw,_.gb);yw.prototype.name="gapi.auth2.ExternallyVisibleError";var zw=function(){};zw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Aw=function(){};Aw.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 Bw=function(a){this.HW=a};
Bw.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.HW){d.login_hint?b(d):b();return}}b()};var Cw=function(a){this.Vd=a;this.Rz=[]};Cw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Rz[b];f?(b++,c.Vd.qy(function(h){h?f.select(h,d):d()})):a()}};d()};var Dw=function(a){a=new Cw(a);a.Rz.push(new zw);return a},Ew=function(a){a=new Cw(a);a.Rz.push(new Aw);return a},Fw=function(a,b){void 0===b||null===b?b=Dw(a):(a=new Cw(a),a.Rz.push(new Bw(b)),b=a);return b};var Gw=function(a){this.qf=a;this.isActive=!0};Gw.prototype.remove=function(){this.isActive=!1};Gw.prototype.trigger=function(){};var Hw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Iw=function(){this.Xb=[]};Iw.prototype.add=function(a){this.Xb.push(a)};Iw.prototype.notify=function(a){for(var b=this.Xb,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.Lj(Jw(e.qf,a)))}this.Xb=c};var Jw=function(a,b){return function(){a(b)}};var Lw=function(a){this.Oa=null;this.M6=new Kw(this);this.Xb=new Iw;void 0!=a&&this.set(a)};Lw.prototype.set=function(a){a!=this.Oa&&(this.Oa=a,this.M6.value=a,this.Xb.notify(this.Oa))};Lw.prototype.get=function(){return this.Oa};Lw.prototype.V=function(a){a=new Mw(this,a);this.Xb.add(a);return a};Lw.prototype.get=Lw.prototype.get;var Mw=function(a,b){Gw.call(this,b);this.B1=a};_.L(Mw,Gw);Mw.prototype.trigger=function(){var a=this.qf;a(this.B1.get())};var Kw=function(a){this.value=null;this.V=function(b){return new Hw(a.V(b))}};var Nw={d9:"fetch_basic_profile",e$:"login_hint",Caa:"prompt",Jaa:"redirect_uri",aba:"scope",qca:"ux_mode",Lba:"state"},Ow=function(a){this.Ia={};if(a&&!_.Ji(a))if("function"==typeof a.get)this.Ia=a.get();else for(var b in Nw){var c=Nw[b];c in a&&(this.Ia[c]=a[c])}};Ow.prototype.get=function(){return this.Ia};Ow.prototype.lS=function(a){this.Ia.scope=a;return this};Ow.prototype.us=function(){return this.Ia.scope};
var Pw=function(a,b){var c=a.Ia.scope;b=Wv(b.split(" "),c?c.split(" "):[]);_.mh(b);a.Ia.scope=b.join(" ")};_.g=Ow.prototype;_.g.w5=function(a){this.Ia.prompt=a;return this};_.g.BZ=function(){return this.Ia.prompt};_.g.X4=function(){_.Jf.warn("Property app_package_name no longer supported and was not set");return this};_.g.AY=function(){_.Jf.warn("Property app_package_name no longer supported")};_.g.We=function(a){this.Ia.state=a};_.g.getState=function(){return this.Ia.state};var Qw=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+ww,"height="+xw,"top="+(screen.height-xw)/2,"left="+(screen.width-ww)/2].join()},Rw=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.kw(lw(a)))},Sw=function(){ow=_.Re("auth2/idpValue","google");var a=_.Re("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.Re("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.$u(ow,{authServerUrl:a,idpIFrameUrl:b})},Tw=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}_.Gb(a[e])||(a[e]={});a=a[e]}},Uw=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},Ww=function(){var a=Vw();a.storage_path&&window.sessionStorage.setItem(a.storage_path,Uw()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new yw("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.Jf.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var Xw=function(a){var b=a?(b=Rw(a))?b.sub:null:null;this.Ca=b;this.Bc=a?_.Cj(a):null};_.g=Xw.prototype;_.g.getId=function(){return this.Ca};_.g.pD=function(){var a=Rw(this.Bc);return a?a.hd:null};_.g.Wf=function(){return!!this.Bc};_.g.Hk=function(a){if(a)return this.Bc;a=Yw;var b=_.Cj(this.Bc);!a.Qx||a.nE||a.e0||(delete b.access_token,delete b.scope);return b};_.g.pG=function(){return Yw.pG()};_.g.ak=function(){this.Bc=null};_.g.eZ=function(){return this.Bc?this.Bc.scope:null};
_.g.update=function(a){this.Ca=a.Ca;this.Bc=a.Bc;this.Bc.id_token?this.tv=new Zw(this.Bc):this.tv&&(this.tv=null)};var $w=function(a){return a.Bc&&"object"==typeof a.Bc.session_state?_.Cj(a.Bc.session_state.extraQueryParams||{}):{}};_.g=Xw.prototype;_.g.fD=function(){var a=$w(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Zj=function(a){var b=Yw,c=new Ow(a);b.nE=c.us()?!0:!1;Yw.Qx&&Pw(c,"openid profile email");return new _.bk(function(d,e){var f=$w(this);f.login_hint=this.getId();f.scope=c.us();ax(b,d,e,f)},this)};_.g.ws=function(a){return new _.bk(function(b,c){var d=a||{},e=Yw;d.login_hint=this.getId();e.ws(d).then(b,c)},this)};_.g.TZ=function(a){return this.Zj(a)};_.g.disconnect=function(){return Yw.disconnect()};_.g.DY=function(){return this.tv};
_.g.Cx=function(a){if(!this.Wf())return!1;var b=this.Bc&&this.Bc.scope?this.Bc.scope.split(" "):"";return _.Ub(a?a.split(" "):[],function(c){return _.ib(b,c)})};var Zw=function(a){a=Rw(a);this.xY=a.sub;this.yf=a.name;this.PZ=a.given_name;this.eY=a.family_name;this.KO=a.picture;this.fw=a.email};_.g=Zw.prototype;_.g.getId=function(){return this.xY};_.g.yg=function(){return this.yf};_.g.cZ=function(){return this.PZ};_.g.WY=function(){return this.eY};_.g.kZ=function(){return this.KO};_.g.bs=function(){return this.fw};var Vw,bx;Vw=function(){var a=_.Uh.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]}:(_.Jf.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};bx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.cx=function(a){if(!a)throw new yw("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 yw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.Pi(b,"."+a)&&!_.Pi(b,a))throw new yw("Invalid cookiePolicy domain");return d};var ex=function(a){var b=a||{},c=dx();_.Rb(qw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},dx=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;tw[d]&&(d=tw[d]);_.ib(qw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},fx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},gx=function(a){_.Rb(qw,
function(b){var c=fx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},hx=function(a){a=ex(a);gx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=qw+rw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},ix=function(a,b){if(!a)throw new yw("Empty initial options.");for(var c=0;c<pw.length;++c)if(!(b&&"scope"==pw[c]||a[pw[c]]))throw new yw("Missing required parameter '"+pw[c]+"'");_.cx(a.cookie_policy)},kx=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:bx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:ow};jx(b,a);_.Rb(sw,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=_.Re("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},jx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||Xv());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},px=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=lx(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:bx(c),idpId:ow};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||Xv());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.Rb(sw.concat(rw),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 mx(a.response_type||"token"),
nx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),ox(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=_.Re("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},lx=function(a){a=new mx(a.response_type||"token");var b=[];ox(a)&&b.push("token");qx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},rx=["permission","id_token"],sx=/(^|[^_])token/,mx=function(a){this.cq=[];this.HE(a)};
mx.prototype.HE=function(a){a?((0<=a.indexOf("permission")||a.match(sx))&&this.cq.push("permission"),0<=a.indexOf("id_token")&&this.cq.push("id_token"),0<=a.indexOf("code")&&this.cq.push("code")):this.cq=rx};var nx=function(a){return qx(a,"code")},ox=function(a){return qx(a,"permission")};mx.prototype.toString=function(){return this.cq.join(" ")};var qx=function(a,b){var c=!1;_.Rb(a.cq,function(d){d==b&&(c=!0)});return c};var ux=function(a,b,c){this.mn=b;this.o2=a;for(var d in a)a.hasOwnProperty(d)&&tx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.mn[c[a]]},tx=function(a,b){a[b]=function(){return a.o2[b].apply(a.mn,arguments)}};ux.prototype.then=function(a,b,c){var d=this;return _.fk().then(function(){return vx(d.mn,a,b,c)})};_.Fj(ux);var Yw,wx,yx;Yw=null;_.xx=function(){return Yw?wx():null};wx=function(){return new ux(yx.prototype,Yw,["currentUser","isSignedIn"])};yx=function(a){delete a.include_granted_scopes;this.Ia=kx(a);this.tX=a.cookie_policy;this.e0=!!a.scope;(this.Qx=!1!==a.fetch_basic_profile)&&(this.Ia.authParameters.scope=zx(this,"openid profile email"));_.Rh.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Hq=this.Ia.supportBlocked3PCookies=!0);this.Hs=a.hosted_domain;this.J6=a.ux_mode||"popup";this.D3=a.redirect_uri||null;this.EE()};
yx.prototype.EE=function(){this.currentUser=new Lw(new Xw(null));this.isSignedIn=new Lw(!1);this.Vd=new _.Sv(this.Ia);this.Wx=this.xp=null;this.j1=new _.bk(function(a,b){this.xp=a;this.Wx=b},this);this.Ny={};this.Qs=!0;Ax(this);this.Vd.start()};
var Ax=function(a){a.Vd.addEventListener("error",function(b){a.Qs&&a.xp&&(a.Qs=!1,a.Wx({error:b.error,details:b.details}),a.xp=null,a.Wx=null)});a.Vd.addEventListener("authResult",function(b){b&&b.authResult&&a.ff(b);a.Vd.Zr()(b)});a.Vd.addEventListener("tokenReady",function(b){var c=new Xw(b.response);if(a.Hs&&a.Hs!=c.pD())a.ff({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.pD(),expectedDomain:a.Hs});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Xb.notify(d.Oa);a.isSignedIn.set(!0);c=c.fD();(d=_.cx(a.tX))&&c&&_.Uh.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Ke?"S":"H",d.fi].join(""),c,{domain:d.domain,secure:d.isSecure});_.mw(b.response);a.ff(b)}});a.Vd.addEventListener("noSessionBound",function(b){a.Qs&&b.autoOpenAuthUrl?(a.Qs=!1,Dw(a.Vd).select(function(c){if(c&&c.login_hint){var d=a.Vd;_.Kv(d,d.yA,[c.login_hint,!0])}else a.currentUser.set(new Xw(null)),a.isSignedIn.set(!1),_.nw(),a.ff(b)})):(a.currentUser.set(new Xw(null)),
a.isSignedIn.set(!1),_.nw(),a.ff(b))});a.Vd.addEventListener("tokenFailed",function(b){a.ff(b)});a.Vd.addEventListener("userLoggedOut",function(b){a.currentUser.get().ak();var c=a.currentUser;c.Xb.notify(c.Oa);a.isSignedIn.set(!1);_.nw();a.ff(b)})},vx=function(a,b,c,d){return a.j1.then(function(e){if(b)return b(e.RZ)},c,d)};yx.prototype.ff=function(a){if(a){this.Qs=!1;var b=a.type||"";if(this.Ny[b])this.Ny[b](a);this.xp&&(this.xp({RZ:this}),this.Wx=this.xp=null)}};
var Bx=function(a,b){_.mb(b,function(c,d){a.Ny[d]=function(e){a.Ny={};c(e)}})},ax=function(a,b,c,d){d=_.Cj(d);a.Hs&&(d.hd=a.Hs);var e=d.ux_mode||a.J6;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.D3||Uw()+window.location.pathname),Cx(a,f)):(delete d.redirect_uri,Dx(a,f),Bx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Bx(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};yx.prototype.Zj=function(a){return new _.bk(function(b,c){var d=new Ow(a);this.nE=d.us()?!0:!1;this.Qx?(d.Ia.fetch_basic_profile=!0,Pw(d,"email profile openid")):d.Ia.fetch_basic_profile=!1;var e=zx(this,d.us());d.lS(e);ax(this,b,c,d.get())},this)};
yx.prototype.ws=function(a){var b=a||{};this.nE=!!b.scope;a=zx(this,b.scope);if(""==a)return _.gk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.Rb(uw,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=Ex(this,c):(c.redirect_uri=b.redirect_uri,Cx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.fk({message:"Redirecting to IDP."}));return a};
var Ex=function(a,b){b.origin=Uw();delete b.redirect_uri;Dx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.bk(function(c,d){Bx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Dx=function(a,b){Tw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");iw(a.Vd,Qw(),b)},Cx=function(a,b){Tw(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(fw(a.Vd,b.sessionMeta,
b.responseType))};yx.prototype.ak=function(a){var b=a||!1;return new _.bk(function(c){$v(this.Vd,b,function(){c()})},this)};yx.prototype.sN=function(){return this.Ia.authParameters.scope};var zx=function(a,b){a=a.sN();b=Wv(b?b.split(" "):[],a?a.split(" "):[]);_.mh(b);return b.join(" ")};yx.prototype.pG=function(){var a=this;return new _.bk(function(b,c){Bx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Vd.VM()})};
yx.prototype.TK=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.jj(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Zj(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."})};yx.prototype.disconnect=function(){return new _.bk(function(a){this.Vd.revoke(function(){a()})},this)};yx.prototype.attachClickHandler=yx.prototype.TK;var Fx;_.bk.prototype["catch"]=_.bk.prototype.ru;Fx=null;_.Gx=function(a){Ww();a=hx(a);if(Yw){if(_.Bj(a,Fx||{}))return wx();throw new yw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}ix(a,!1!==a.fetch_basic_profile);Sw();Fx=a;Yw=new yx(a);_.Je.ga=1;return wx()};var Ix,Kx,Hx,Mx,Lx,Nx;_.Jx=function(a,b){Sw();a=hx(a);ix(a);var c=px(a),d=new _.Uv(c);"none"==a.prompt?Hx(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)}):Ix(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.NQ.Jh;b(e)})};
Ix=function(a,b,c){var d=new mx(b.response_type);c=Kx(a,d,c);var e={responseType:d.toString()};Tw(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");nx(d)&&Tw(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&Tw(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&Tw(e,["sessionMeta","extraQueryParams","state"],b.state);b=Qw();a.Fj?c({authResult:{error:"idpiframe_initialization_failed",details:a.Em().error}}):(a.Ul=
c,iw(a,b,e))};Kx=function(a,b,c){if(ox(b)){var d=Lx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Zr(function(f){f&&!f.error?(f=_.Cj(f),nx(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(_.Cj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Hx=function(a,b,c){if(nx(new mx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Lx(c);b.login_hint?a.VC(b.login_hint,function(e){e?Mx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Fw(a,b.authuser).select(function(e){e&&e.login_hint?Mx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Tr(function(e){e&&e.hint?Mx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Ew(a):Dw(a)).select(function(f){f&&f.login_hint?Mx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Mx=function(a,b,c,d){b=new mx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.Li(f,k),0==e&&d(f))};(ox(b)||qx(b,"id_token"))&&e++;nx(b)&&e++;(ox(b)||qx(b,"id_token"))&&_.Vv(a,c,h);nx(b)&&jw(a,c,h)};
Lx=function(a){return function(b){if(!b||b.error)_.nw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Cj(b);Nx(c);delete c.id_token;delete c.code;_.mw(c)}a(b)}}};Nx=function(a){_.Rb(vw,function(b){delete a[b]})};_.E("gapi.auth2.init",_.Gx);_.E("gapi.auth2.authorize",function(a,b){Ww();if(null!=Yw)throw new yw("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).");_.Jx(a,function(c){Nx(c);b(c)})});_.E("gapi.auth2._gt",function(){return _.fi()});_.E("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Ju="0"!=a&&!!a});_.E("gapi.auth2.getAuthInstance",_.xx);
_.E("gapi.auth2.BasicProfile",Zw);_.E("gapi.auth2.BasicProfile.prototype.getId",Zw.prototype.getId);_.E("gapi.auth2.BasicProfile.prototype.getName",Zw.prototype.yg);_.E("gapi.auth2.BasicProfile.prototype.getGivenName",Zw.prototype.cZ);_.E("gapi.auth2.BasicProfile.prototype.getFamilyName",Zw.prototype.WY);_.E("gapi.auth2.BasicProfile.prototype.getImageUrl",Zw.prototype.kZ);_.E("gapi.auth2.BasicProfile.prototype.getEmail",Zw.prototype.bs);_.E("gapi.auth2.GoogleAuth",yx);
_.E("gapi.auth2.GoogleAuth.prototype.attachClickHandler",yx.prototype.TK);_.E("gapi.auth2.GoogleAuth.prototype.disconnect",yx.prototype.disconnect);_.E("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",yx.prototype.ws);_.E("gapi.auth2.GoogleAuth.prototype.signIn",yx.prototype.Zj);_.E("gapi.auth2.GoogleAuth.prototype.signOut",yx.prototype.ak);_.E("gapi.auth2.GoogleAuth.prototype.getInitialScopes",yx.prototype.sN);_.E("gapi.auth2.GoogleUser",Xw);_.E("gapi.auth2.GoogleUser.prototype.grant",Xw.prototype.TZ);
_.E("gapi.auth2.GoogleUser.prototype.getId",Xw.prototype.getId);_.E("gapi.auth2.GoogleUser.prototype.isSignedIn",Xw.prototype.Wf);_.E("gapi.auth2.GoogleUser.prototype.getAuthResponse",Xw.prototype.Hk);_.E("gapi.auth2.GoogleUser.prototype.getBasicProfile",Xw.prototype.DY);_.E("gapi.auth2.GoogleUser.prototype.getGrantedScopes",Xw.prototype.eZ);_.E("gapi.auth2.GoogleUser.prototype.getHostedDomain",Xw.prototype.pD);_.E("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",Xw.prototype.ws);
_.E("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",Xw.prototype.Cx);_.E("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",Xw.prototype.pG);_.E("gapi.auth2.LiveValue",Lw);_.E("gapi.auth2.LiveValue.prototype.listen",Lw.prototype.V);_.E("gapi.auth2.LiveValue.prototype.get",Lw.prototype.get);_.E("gapi.auth2.SigninOptionsBuilder",Ow);_.E("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",Ow.prototype.AY);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",Ow.prototype.X4);
_.E("gapi.auth2.SigninOptionsBuilder.prototype.getScope",Ow.prototype.us);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setScope",Ow.prototype.lS);_.E("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",Ow.prototype.BZ);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",Ow.prototype.w5);_.E("gapi.auth2.SigninOptionsBuilder.prototype.get",Ow.prototype.get);
_.Ue=_.Ue||{};
(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}_.Ue.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)};_.Ue.DL=function(b){var c=_.Ue.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(_.Ue.GC(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.Ue.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};_.Ue.cN=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};_.Ue.Eea=function(b){return a(b)}})();
_.ug=window.gapi&&window.gapi.util||{};
_.ug=_.ug={};_.ug.getOrigin=function(a){return _.wg(a)};
_.yy=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=_.wy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Ke;return!d&&("U"!==c||e.Ke)||d&&!_.xy?b:{Ii:!0,Ke:d,jX:a.substr(1),domain:e.domain,fi:e.fi}};_.zy=function(a,b){this.yf=a;a=b||{};this.T1=Number(a.maxAge)||0;this.Zd=a.domain;this.xl=a.path;this.J4=!!a.secure};_.zy.prototype.read=function(){for(var a=this.yf+"=",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)}};
_.zy.prototype.write=function(a,b){if(!Ay.test(this.yf))throw"Invalid cookie name";if(!By.test(a))throw"Invalid cookie value";a=this.yf+"="+a;this.Zd&&(a+=";domain="+this.Zd);this.xl&&(a+=";path="+this.xl);b="number"===typeof b?b:this.T1;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.J4&&(a+=";secure");document.cookie=a;return!0};_.zy.prototype.clear=function(){this.write("",0)};var By=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Ay=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.zy.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("="))}};_.Cy=function(a){this.Ji=a};_.Cy.prototype.read=function(){if(Dy.hasOwnProperty(this.Ji))return Dy[this.Ji]};_.Cy.prototype.write=function(a){Dy[this.Ji]=a;return!0};_.Cy.prototype.clear=function(){delete Dy[this.Ji]};var Dy={};_.Cy.iterate=function(a){for(var b in Dy)Dy.hasOwnProperty(b)&&a(b,Dy[b])};var Ey=function(){this.Oa=null;this.key=function(){return null};this.getItem=function(){return this.Oa};this.setItem=function(a,b){this.Oa=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Oa=null;this.length=0};this.length=0},Fy=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}},Gy=function(a,b){this.yf=a;this.ZI=
Fy(b)?b||window.sessionStorage:new Ey};Gy.prototype.read=function(){return this.ZI.getItem(this.yf)};Gy.prototype.write=function(a){try{this.ZI.setItem(this.yf,a)}catch(b){return!1}return!0};Gy.prototype.clear=function(){this.ZI.removeItem(this.yf)};Gy.iterate=function(a){if(Fy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};_.xy="https:"===window.location.protocol;_.Hy=_.xy||"http:"===window.location.protocol?_.zy:_.Cy;_.wy=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{Ke:"S"==a.charAt(0),domain:d,fi:c}};var Iy,Jy,My,Ny;Iy=_.ye();Jy=_.ye();_.Ky=_.ye();_.Ly=_.ye();My="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");Ny=function(a){this.KQ=a;this.nF=null};
Ny.prototype.write=function(a){var b=_.ye(),c=_.ye(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.ze(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=My.length;for(e=0;e<d;++e)delete c[My[e]];a=String(a.authuser||0);d=_.ye();d[a]=c;c=_.Ff(d);this.KQ.write(c);this.nF=b};Ny.prototype.read=function(){return this.nF};Ny.prototype.clear=function(){this.KQ.clear();this.nF=_.ye()};_.Oy=function(a){return a?{domain:a.domain,path:"/",secure:a.Ke}:null};
Gy.iterate(function(a){var b=_.yy(a);b&&b.Ii&&(Iy[a]=new Ny(new Gy(a)))});_.Hy.iterate(function(a){Iy[a]&&(Jy[a]=new _.Hy(a,_.Oy(_.yy(a))))});
_.Vh=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],z=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var A=w^v&(r^w);var D=1518500249}else A=v^r^w,D=1859775393;else 60>t?(A=v&r|w&(v|r),D=2400959708):(A=v^r^w,D=3395469782);A=((q<<5|q>>>27)&4294967295)+
A+z+D+p[t]&4294967295;z=w;w=r;r=(v<<30|v>>>2)&4294967295;v=q;q=A}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]+z&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 Xh=function(a,b,c){var d=String(_.u.location.href);return d&&a&&b?[b,Wh(_.wg(d),a,c||null)].join(" "):null},Wh=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Rb(d,function(k){e.push(k)}),Yh(e.join(" "));var f=[],h=[];_.Rb(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];_.Rb(d,function(k){e.push(k)});a=Yh(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},Yh=function(a){var b=
_.Vh();b.update(a);return b.ei().toLowerCase()};var ai;_.Zh=function(a){return!!_.Rh.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.$h=function(a){a=void 0===a?!1:a;var b=_.u.__SAPISID||_.u.__APISID||_.u.__3PSAPISID||_.u.__OVERRIDE_SID;_.Zh(a)&&(b=b||_.u.__1PSAPISID);if(b)return!0;var c=new _.Sh(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.Zh(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};ai=function(a,b,c,d){(a=_.u[a])||(a=(new _.Sh(document)).get(b));return a?Xh(a,c,d):null};
_.bi=function(a,b){b=void 0===b?!1:b;var c=_.wg(String(_.u.location.href)),d=[];if(_.$h(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 _.Sh(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Xh(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.Zh(b)&&((b=ai("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=ai("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
_.ci=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.Zh(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.di={mO:_.ci,g1:_.$h,yN:function(){var a=null;_.$h()&&(a=window.__PVT,null==a&&(a=(new _.Sh(document)).get("BEAT")));return a},aN:_.bi};
_.Oq=function(){return!_.Nq()&&(_.qb("iPod")||_.qb("iPhone")||_.qb("Android")||_.qb("IEMobile"))};_.Nq=function(){return _.qb("iPad")||_.qb("Android")&&!_.qb("Mobile")||_.qb("Silk")};
var kr,lr,mr,or,yr,nr,Cr,Dr,Er,Gr,Lr;kr=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");_.gb.call(this,c+a[d])};lr=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};
mr=function(a){return a.replace(_.Pc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Fc(d)||_.Jc).Bg();return c+f+b+f+e})};
or=function(a){if(a instanceof _.zc)return'url("'+_.Bc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.$b)a=_.ac(a);else{a=String(a);var b=a.replace(_.Qc,"$1").replace(_.Qc,"$1").replace(_.Pc,"url");if(_.Oc.test(b)){if(b=!nr.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&&lr(a)}a=b?mr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new kr("Value does not allow [{;}], got: %s.",[a]);return a};
_.pr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.qr=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.qr.prototype;_.g.clone=function(){return new _.qr(this.x,this.y)};_.g.equals=function(a){return a instanceof _.qr&&_.pr(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 _.qr?(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};_.rr=function(a,b){this.width=a;this.height=b};_.g=_.rr.prototype;_.g.clone=function(){return new _.rr(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};_.sr=function(a){return"CSS1Compat"==a.compatMode};
_.tr=function(a){a=a.document;a=_.sr(a)?a.documentElement:a.body;return new _.rr(a.clientWidth,a.clientHeight)};_.ur=function(a){return _.tr(a||window)};_.vr=function(a){return a.scrollingElement?a.scrollingElement:!_.vd&&_.sr(a)?a.documentElement:a.body||a.documentElement};_.wr=function(a){var b=_.vr(a);a=a.parentWindow||a.defaultView;return _.rd&&a.pageYOffset!=b.scrollTop?new _.qr(b.scrollLeft,b.scrollTop):new _.qr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.xr=function(a,b,c,d){return _.be(a.ub,b,c,d)};_.ab(kr,_.gb);kr.prototype.name="AssertionError";yr={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};_.zr=function(a){if(a instanceof _.Lc&&a.constructor===_.Lc)return a.iG;_.Hb(a);return"type_error:SafeStyle"};nr=/\/\*/;
_.Ar=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("l`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(or).join(" "):or(d),b+=c+":"+d+";")}return b?new _.Lc(b,_.Kc):_.Nc};_.Br=function(a){if(a instanceof _.Sc&&a.constructor===_.Sc)return a.hG;_.Hb(a);return"type_error:SafeStyleSheet"};Cr=/^[a-zA-Z0-9-]+$/;Dr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
Er=function(a){var b=_.Yc(_.Zc),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.Yc(e),c.push(_.yb(e).toString()))};a.forEach(d);return _.Xc(c.join(_.yb(b).toString()))};_.Fr=function(a){return Er(Array.prototype.slice.call(arguments))};Gr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.Hr=function(a,b,c){var d=String(a);if(!Cr.test(d))throw Error("p");if(d.toUpperCase()in Dr)throw Error("p");a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!Cr.test(f))throw Error("p");var h=b[f];if(null!=h){var k=f;if(h instanceof _.$b)h=_.ac(h);else if("style"==k.toLowerCase()){if(!_.Gb(h))throw Error("p");h instanceof _.Lc||(h=_.Ar(h));h=_.zr(h)}else{if(/^on/i.test(k))throw Error("p");if(k.toLowerCase()in Gr)if(h instanceof _.dc)h=_.fc(h);else if(h instanceof
_.zc)h=_.Bc(h);else if("string"===typeof h)h=(_.Fc(h)||_.Jc).Bg();else throw Error("p");}h.Ai&&(h=h.Bg());k=k+'="'+_.vc(String(h))+'"';e+=" "+k}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===yr[a.toLowerCase()]?b+=">":(f=_.Fr(c),b+=">"+_.yb(f).toString()+"</"+a+">");return _.Xc(b)};_.Ir=function(a){return Number(_.Nd)>=a};_.Jr=function(a){return _.Wd('style[nonce],link[rel="stylesheet"][nonce]',a)};_.Kr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
Lr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Mr=function(a,b,c){return _.he(document,arguments)};_.Nr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.Nr.prototype;_.g.Pb=function(){return this.right-this.left};_.g.Dc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Nr(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Nr?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){_.Gb(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 _.qr?(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 Qr,Wr,Ur,Zr,ks,Yr;_.Pr=function(a,b,c){if("string"===typeof b)(b=_.Or(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.Or(c,d);f&&(c.style[f]=e)}};Qr={};_.Or=function(a,b){var c=Qr[b];if(!c){var d=_.Kr(b);c=d;void 0===a.style[d]&&(d=(_.vd?"Webkit":_.ud?"Moz":_.rd?"ms":null)+Lr(d),void 0!==a.style[d]&&(c=d));Qr[b]=c}return c};
_.Rr=function(a,b){var c=_.$d(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Sr=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Tr=function(a,b){return _.Rr(a,b)||_.Sr(a,b)||a.style&&a.style[b]};_.Vr=function(a,b,c){if(b instanceof _.qr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Ur(d,!1);a.style.top=Ur(b,!1)};
Wr=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.$r=function(a,b){b=b||_.vr(document);var c=b||_.vr(document);var d=_.Xr(a),e=_.Xr(c);if(_.rd&&!_.Ir(9)){var f=Yr(c,"borderLeft");var h=Yr(c,"borderRight");var k=Yr(c,"borderTop"),l=Yr(c,"borderBottom");h=new _.Nr(k,h,l,f)}else f=_.Rr(c,"borderLeftWidth"),h=_.Rr(c,"borderRightWidth"),k=_.Rr(c,"borderTopWidth"),l=_.Rr(c,"borderBottomWidth"),h=new _.Nr(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.vr(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.rd&&!_.Ir(10)&&(f+=h.left,d+=h.top)):
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Zr(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 _.qr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Xr=function(a){var b=_.$d(a),c=new _.qr(0,0);var d=b?_.$d(b):document;d=!_.rd||_.Ir(9)||_.sr(_.ae(d).ub)?d.documentElement:d.body;if(a==d)return c;a=Wr(a);b=_.wr(_.ae(b).ub);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.bs=function(a,b){var c=new _.qr(0,0),d=_.ee(_.$d(a));if(!_.pd(d,"parent"))return c;do{var e=d==b?_.Xr(a):_.as(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.as=function(a){a=Wr(a);return new _.qr(a.left,a.top)};_.cs=function(a,b,c){if(b instanceof _.rr)c=b.height,b=b.width;else if(void 0==c)throw Error("O");a.style.width=Ur(b,!0);a.style.height=Ur(c,!0)};Ur=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.ds=function(a){var b=Zr;if("none"!=_.Tr(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};Zr=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.vd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Wr(a),new _.rr(a.right-a.left,a.bottom-a.top)):new _.rr(b,c)};_.es=function(a,b){a.style.display=b?"":"none"};
_.gs=function(a){var b=_.ae(void 0),c=b.lb();if(_.rd&&c.createStyleSheet)b=c.createStyleSheet(),_.fs(b,a);else{c=_.xr(b,"HEAD")[0];if(!c){var d=_.xr(b,"BODY")[0];c=b.na("HEAD");d.parentNode.insertBefore(c,d)}d=b.na("STYLE");var e=_.Jr();e&&d.setAttribute("nonce",e);_.fs(d,a);b.appendChild(c,d)}};_.fs=function(a,b){b=_.Br(b);_.rd&&void 0!==a.cssText?a.cssText=b:_.u.trustedTypes?_.se(a,b):a.innerHTML=b};_.hs=function(a){return"rtl"==_.Tr(a,"direction")};
_.is=_.ud?"MozUserSelect":_.vd||_.sd?"WebkitUserSelect":null;_.js=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};ks={thin:2,medium:4,thick:6};Yr=function(a,b){if("none"==_.Sr(a,b+"Style"))return 0;b=_.Sr(a,b+"Width");return b in ks?ks[b]:_.js(a,b)};
var Vx;_.Sx=function(a){for(var b=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],d;d=b.exec(a);)c.push([d[1],d[2],d[3]||void 0]);return c};_.Tx=function(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}};
_.Ux=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];b="";var c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};
Vx=function(a){var b=_.ob();if("Internet Explorer"===a)return _.sb()?_.Ux(b):"";b=_.Sx(b);var c=_.Tx(b);switch(a){case "Opera":if(_.rb())return c(["Version","Opera"]);if(_.qb("OPR"))return c(["OPR"]);break;case "Microsoft Edge":if(_.qb("Edge"))return c(["Edge"]);if(_.qb("Edg/"))return c(["Edg"]);break;case "Chromium":if(_.ub())return c(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&_.tb()||"Safari"===a&&_.vb()||"Android Browser"===a&&_.wb()||"Silk"===a&&_.qb("Silk")?(a=b[2])&&a[1]||"":
""};_.Wx=function(a){a=Vx(a);if(""===a)return NaN;a=a.split(".");return 0===a.length?NaN:Number(a[0])};_.Xx=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.M)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.M)(a.handleEvent,a);else throw Error("za");return 2147483647<Number(b)?-1:_.u.setTimeout(a,b||0)};_.Yx=function(a){_.u.clearTimeout(a)};
_.Py=function(a){_.Ri.call(this);this.Ji=1;this.gz=[];this.nz=0;this.Gf=[];this.Yi={};this.AW=!!a};_.ab(_.Py,_.Ri);_.g=_.Py.prototype;_.g.subscribe=function(a,b,c){var d=this.Yi[a];d||(d=this.Yi[a]=[]);var e=this.Ji;this.Gf[e]=a;this.Gf[e+1]=b;this.Gf[e+2]=c;this.Ji=e+3;d.push(e);return e};_.g.ou=_.ea(19);_.g.unsubscribe=function(a,b,c){if(a=this.Yi[a]){var d=this.Gf;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.ik(a)}return!1};
_.g.ik=function(a){var b=this.Gf[a];if(b){var c=this.Yi[b];0!=this.nz?(this.gz.push(a),this.Gf[a+1]=function(){}):(c&&_.Hi(c,a),delete this.Gf[a],delete this.Gf[a+1],delete this.Gf[a+2])}return!!b};
_.g.zn=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.AW)for(e=0;e<c.length;e++){var h=c[e];Qy(this.Gf[h+1],this.Gf[h+2],d)}else{this.nz++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.Gf[h+1].apply(this.Gf[h+2],d)}finally{if(this.nz--,0<this.gz.length&&0==this.nz)for(;c=this.gz.pop();)this.ik(c)}}return 0!=e}return!1};var Qy=function(a,b,c){_.Yj(function(){a.apply(b,c)})};
_.Py.prototype.clear=function(a){if(a){var b=this.Yi[a];b&&(b.forEach(this.ik,this),delete this.Yi[a])}else this.Gf.length=0,this.Yi={}};_.Py.prototype.Ib=function(a){if(a){var b=this.Yi[a];return b?b.length:0}a=0;for(b in this.Yi)a+=this.Ib(b);return a};_.Py.prototype.ta=function(){_.Py.H.ta.call(this);this.clear();this.gz.length=0};
_.Ry=function(a){this.r6=a};_.Ry.prototype.toString=function(){return this.r6};_.Sy=function(a){_.Ri.call(this);this.Rd=new _.Py(a);_.Ti(this,this.Rd)};_.ab(_.Sy,_.Ri);_.g=_.Sy.prototype;_.g.subscribe=function(a,b,c){return this.Rd.subscribe(a.toString(),b,c)};_.g.ou=_.ea(18);_.g.unsubscribe=function(a,b,c){return this.Rd.unsubscribe(a.toString(),b,c)};_.g.ik=function(a){return this.Rd.ik(a)};_.g.zn=function(a,b){return this.Rd.zn(a.toString(),b)};_.g.clear=function(a){this.Rd.clear(void 0!==a?a.toString():void 0)};
_.g.Ib=function(a){return this.Rd.Ib(void 0!==a?a.toString():void 0)};
_.Ty=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.mz+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Pr(a,"transition",b.join(","))};
_.Uy=_.Pd(function(){if(_.rd)return!0;var a=_.ie("DIV"),b=_.vd?"-webkit":_.ud?"-moz":_.rd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Hr("div",{style:c});_.Rd(a,b);a=a.firstChild;b=a.style[_.Kr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.Or(a,"transition")]||"")});
_.Wy=function(){_.Vy="oauth2relay"+String(2147483647*(0,_.Dg)()|0)};_.Xy=new _.Sy;_.Yy=new _.Ry("oauth");_.Wy();_.Re("oauth-flow/client_id");var Zy=String(_.Re("oauth-flow/redirectUri"));if(Zy)Zy.replace(/[#][\s\S]*/,"");else{var $y=_.ug.getOrigin(window.location.href);_.Re("oauth-flow/callbackUrl");encodeURIComponent($y)}_.ug.getOrigin(window.location.href);
var bz,cz,dz,ez,fz,gz,hz,iz,jz,kz,lz,nz,oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Sz,Rz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,cA;_.az=function(a,b){if(_.uh&&!b)return _.u.atob(a);var c="";_.xh(a,function(d){c+=String.fromCharCode(d)});return c};bz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};cz=function(a){return _.Oh("enableMultilogin")&&a("cookie_policy")&&!bz(a)?!0:!1};
fz=function(){var a,b=null;_.Hy.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.wy(c.substring(11)),!a||c.Ke&&!a.Ke||c.Ke==a.Ke&&c.fi>a.fi)&&(a=c,b=d)});return{NW:a,authuser:b}};gz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];hz=function(a){a=a.toUpperCase();for(var b=0,c=gz.length;b<c;++b){var d=a.split(gz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Cg,b.Hu(a),a=b.ei().toUpperCase());return a};
iz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};jz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],V4:iz(a[1]),wfa:iz(a[2]),nea:iz(a[3])}};kz=function(a){var b=fz(),c=b.NW;b=b.authuser;var d=a&&hz(a);if(null!==b){var e;_.Hy.iterate(function(h,k){(h=_.yy(h))&&h.Ii&&(d&&h.jX!=d||h.Ke==c.Ke&&h.fi==c.fi&&(e=k))});if(e){var f=jz(e);a=f&&f.V4[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,rga:a,clientId:f}}}return null};
lz=function(a,b){a=_.fi(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};_.mz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.mw(c,d):_.nw(d)};
nz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.wg(a));var b=window.location.hostname,c=b,d=_.xy;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Jf.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 _.Jf.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Ke:d,fi:b}};
oz=function(a){var b=nz(a);if(!b)return new _.Cy("G_USERSTATE_");a=["G_USERSTATE_",_.xy&&b.Ke?"S":"H",b.fi].join("");var c=_.Ly[a];c||(c={lF:63072E3},_.Ae(_.Oy(b),c),c=new _.zy(a,c),_.Ly[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};pz=function(a){var b=oz(a).read();a=_.ye();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
qz=function(a,b,c){var d=pz(b),e=d[a];d[a]="0";var f=[];_.om(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=oz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};rz=function(a){a=nz(a.g_user_cookie_policy);if(!a||a.Ke&&!_.xy)a=null;else{var b=["G_AUTHUSER_",_.xy&&a.Ke?"S":"H",a.fi].join(""),c=_.Ky[b];c||(c=new _.Hy(b,_.Oy(a)),_.Ky[b]=c);a=c}_.Se("googleapis.config/sessionIndex",null);a.clear()};sz=function(a){return bz(function(b){return a[b]})};tz=0;uz=!1;vz=[];wz={};xz={};yz=null;
zz=function(a){var b=_.Vy;return function(c){if(this.f==b&&this.t==_.Pf.ym(this.f)&&this.origin==_.Pf.Lm(this.f))return a.apply(this,arguments)}};Az=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ea");};Bz=function(a){var b=_.Ue.Cg,c=b(a).jsh;if(null!=c)return Az(c),a;if(b=String(b().jsh||_.Je.h||""))Az(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Cz=function(){return!!_.Re("oauth-flow/usegapi")};
Dz=function(a,b){Cz()?yz.unregister(a):_.Pf.unregister(a+":"+b)};Ez=function(a,b,c){Cz()?yz.register(a,c,_.Dm):_.Pf.register(a+":"+b,zz(c))};Fz=function(){dz.parentNode.removeChild(dz)};Gz=function(a){var b=dz;_.Ty(b,[{mz:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Ty(b,[{mz:"transform",duration:1,timing:"ease",delay:0}]);_.Xx(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Hz=function(){var a=ez+88;Gz(a);ez=a};
Iz=function(){var a=ez-88;Gz(a);ez=a};Jz=function(a){var b=a?Hz:Iz,c=a?Iz:Hz;a=a?"-":"";ez=parseInt(a+88,10);dz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";dz.style.transform="translate3d(0px,"+a+88+"px,0px)";dz.style.display="";dz.style.visibility="visible";b();_.Xx(c,4E3);_.Xx(Fz,5E3)};
Kz=function(a){var b=_.Re("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");dz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Pr(c,"visibility","hidden");_.Pr(c,b,"-40px");_.Pr(c,"height","128px");var d=c;if(!_.Oq()&&!_.Nq()){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?"-":"";ez=parseInt(e+88,10);dz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";dz.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){}_.Am.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Jz(!0):Jz(!1)}})};
Lz=function(a){var b=_.Yn(),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==_.jm.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Mz=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=_.Re("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!=kz(c)||!sz(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};Nz=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Ef(_.az(a,!0));if(!1===a)throw Error("Fa");return a};Oz=function(a){return(a=Nz(a))?a.sub:null};
Pz=function(a){a&&vz.push(a);a=_.Vy;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(tz&&6E4>c-tz)return;var d=_.Pf.ym(a);d&&(Dz("oauth2relayReady",d),Dz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Wy();a=_.Vy}tz=c;var e=String(2147483647*(0,_.Dg)()|0);b=_.Re("oauth-flow/proxyUrl")||_.Re("oauth-flow/relayUrl");Cz()?yz=_.Am.openChild({where:_.Ue.cN(),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(_.ug.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.Ue.cN(),d=_.Ue.DL({name:a,id:a}),d.src=Bz(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),_.Pf.bu(a));Ez("oauth2relayReady",
e,function(){Dz("oauth2relayReady",e);var f=vz;if(null!==f){vz=null;for(var h=f.length,k=0;k<h;++k)f[k]()}});Ez("oauth2callback",e,function(f){var h=_.Ue.Cg;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(xz,f)?xz[f]:null;h.state=f;if(null!=h.state){f=wz[k];delete wz[k];k=f&&f.key||"token";var l=h=Mz(f&&f.params,h),m=Oz(l);if(m){var n=pz(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 ")&&
_.Re("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",uz||(uz=!0,Kz(l)));_.mz(k,h);h=lz(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)}}})};_.Qz=function(a){null!==vz?Pz(a):a&&a()};
Sz=function(a,b){var c=Rz,d=Oz(a);d&&(rz(a),qz(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=Mz(null,e);c(e)}}))};
Rz=function(a){a||(a=lz(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||(_.Je.drw=null);_.mz(a);if(b=a.authuser)_.Re("googleapis.config/sessionIndex"),_.Se("googleapis.config/sessionIndex",b);_.Xy.zn(_.Yy,a);return a};Tz=["client_id","cookie_policy","response_type"];Uz="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
Vz=function(a){var b=_.Cj(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);_.mw(b);return b};
Wz=function(a){if(void 0===a.include_granted_scopes){var b=_.Re("include_granted_scopes");a.include_granted_scopes=!!b}};Xz=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
Yz=function(a){var b=a||{},c={};_.Rb(Uz,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Re("googleapis/overrideClientId");null!=a&&(c.client_id=a);Wz(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{_.cx(c.cookie_policy)}catch(d){c.cookie_policy&&
Xz("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=_.Qh(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Re("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
Zz=function(a,b){var c=Yz(a),d=new _.bk(function(e,f){_.Jx(c,function(h){var k=h||{};_.Rb(Tz,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=Vz(k),null!=h.authuser&&_.Se("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};$z=_.di.aN;aA=null;
_.dA=function(a,b){if("force"!==a.approvalprompt){a=_.bA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)aA?(a.client_id!==aA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(aA=a,b=!1);b||cA(a)}};
_.bA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.mc)((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,_.mc)(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||_.Re("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Re("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};cA=function(a){_.Io("waaf0","signin","0");Zz(a,function(b){_.Io("waaf1","signin","0");Rz(b)})};
_.eA=function(a){a=_.bA(a);_.Se("oauth-flow/authWindowWidth",445);_.Se("oauth-flow/authWindowHeight",615);cA(a)};_.fA=function(a){_.Xy.unsubscribe(_.Yy,a);_.Xy.subscribe(_.Yy,a)};var mA,pA;_.hA=function(a){return a.cookiepolicy?!0:(_.gA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.gA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.lA=function(a,b){var c=_.Yn();_.Ae(a,c);c=Lz(c);if(_.hA(c)){var d=_.iA();_.jA(c);b?_.Ie(b,"click",function(){_.kA(c,d)}):_.kA(c,d)}};
_.iA=function(){var a=new mA;_.fA(function(b){a.mF&&b&&(b.access_token&&_.Se("isPlusUser",!0),b["g-oauth-window"]&&(a.mF=!1,_.Jf.warn("OTA app install is no longer supported.")))});return a};mA=function(){this.mF=!1};_.jA=function(a){a=_.nA(a);_.oA(a.callback);_.Qz(function(){_.dA(a)})};_.nA=function(a){pA(a);a.redirecturi&&delete a.redirecturi;cz(function(b){return a[b]})||(a.authuser=0);return a};pA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.oA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.gA('Callback function named "'+a+'" not found');return}a&&_.fA(a)};_.kA=function(a,b){b.mF=!0;a=_.nA(a);_.eA(a)};_.E("gapi.auth.authorize",Zz);_.E("gapi.auth.checkSessionState",function(a,b){var c=_.ye();c.client_id=a.client_id;c.session_state=a.session_state;_.Qz(function(){Cz()?yz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Dm):_.Pf.call(_.Vy,"check_session_state",zz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.E("gapi.auth.getAuthHeaderValueForFirstParty",$z);_.E("gapi.auth.getToken",lz);
_.E("gapi.auth.getVersionInfo",function(a,b){_.Qz(function(){var c=_.bi()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Cz()?yz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Dm):_.Pf.call(_.Vy,"get_versioninfo",zz(function(f){a(f)}),d,b):a()})});_.E("gapi.auth.init",_.Qz);_.E("gapi.auth.setToken",_.mz);_.E("gapi.auth.signIn",function(a){_.lA(a)});_.E("gapi.auth.signOut",function(){var a=lz();a&&Sz(a,a.cookie_policy)});
_.E("gapi.auth.unsafeUnpackIdToken",Nz);_.E("gapi.auth._pimf",_.dA);_.E("gapi.auth._oart",Kz);_.E("gapi.auth._guss",function(a){return oz(a).read()});
var qA=_.Yn();qA.clientid&&qA.scope&&qA.callback&&!_.Re("disableRealtimeCallback")&&_.jA(qA);
});
// Google Inc.
