gapi.loaded_1(function(_){var window=this;
_.jf=_.jf||{};_.jf.bt=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)}};_.jf.zy=function(a){var b,c,d={};for(b=0;c=a[b];++b)d[c]=c;return d};
_.jf=_.jf||{};_.jf.BW=function(a){var b=window;"undefined"!=typeof b.addEventListener?b.addEventListener("mousemove",a,!1):"undefined"!=typeof b.attachEvent?b.attachEvent("onmousemove",a):_.lf("cannot attachBrowserEvent: mousemove")};_.jf.J3=function(a){var b=window;b.removeEventListener?b.removeEventListener("mousemove",a,!1):b.detachEvent?b.detachEvent("onmousemove",a):_.lf("cannot removeBrowserEvent: mousemove")};
_.jf=_.jf||{};
(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};_.jf.escape=function(c,d){if(c){if("string"===typeof c)return _.jf.IC(c);if("Array"===typeof c){var e=0;for(d=c.length;e<d;++e)c[e]=_.jf.escape(c[e])}else if("object"===typeof c&&d){d={};for(e in c)c.hasOwnProperty(e)&&(d[_.jf.IC(e)]=_.jf.escape(c[e],!0));return d}}return c};_.jf.IC=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("")};_.jf.Wga=function(c){return c?c.replace(/&#([0-9]+);/g,a):c}})();
_.Tg=function(){function a(m){var n=new _.Sg;n.Hu(m);return n.bi()}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=_.ff("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&&_.jf.J3(k)};
0!=c&&_.jf.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",_.Tg);
_.Ua.Ja={};_.Ua.Ja.Vh={};_.Ua.Ja.Vh.TW=function(a){try{return!!a.document}catch(b){}return!1};_.Ua.Ja.Vh.NN=function(a){var b=a.parent;return a!=b&&_.Ua.Ja.Vh.TW(b)?_.Ua.Ja.Vh.NN(b):a};_.Ua.Ja.Vh.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.")};
_.Ua.Ja.Vh.bt=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 eq,fq,gq,hq,kq,lq,mq,nq,oq,pq,qq;eq=function(){_.eg.register("_noop_echo",function(){this.callback(_.Ua.xZ(_.Ua.Xk[this.f]))})};fq=function(){window.setTimeout(function(){_.eg.call("..","_noop_echo",_.Ua.d3)},0)};gq=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);_.eg.call.apply(_.eg,f)};d._iframe_wrapped_rpc_=!0;return d};
hq=function(a){_.Ua.Mi[a]||(_.Ua.Mi[a]={},_.eg.register(a,function(b,c){var d=this.f;if(!("string"!=typeof b||b in{}||d in{})){var e=this.callback,f=_.Ua.Mi[a][d],h;f&&Object.hasOwnProperty.call(f,b)?h=f[b]:Object.hasOwnProperty.call(_.Ua.ep,a)&&(h=_.Ua.ep[a]);if(h)return d=Array.prototype.slice.call(arguments,1),h._iframe_wrapped_rpc_&&e&&d.push(e),h.apply({},d)}_.$f.error(['Unregistered call in window "',window.name,'" for method "',a,'", via proxyId "',b,'" from frame "',d,'".'].join(""));return null}));
return _.Ua.Mi[a]};_.iq=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};_.jq=function(){return _.Je.location.origin||_.Je.location.protocol+"//"+_.Je.location.host};
kq=function(a){_.Ye.h=a};lq=function(a){_.Ye.bsh=a};mq=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};nq=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};
oq=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]&&!nq(a[d])&&!nq(b[d])?oq(a[d],b[d]):b[d]&&"object"===typeof b[d]?(a[d]=nq(b[d])?[]:{},oq(a[d],b[d])):a[d]=b[d])};
pq=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:{}}};
qq=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());oq(c,b);a.push(c)};
_.rq=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;_.ai(!0);d=window.___gcfg;b=mq("cu");a=window.___gu;d&&d!==a&&(qq(b,d),window.___gu=d);d=mq("cu");e=document.scripts||document.getElementsByTagName("script")||[];a=[];f=[];f.push.apply(f,mq("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=pq(f))&&d.push(f));c&&qq(b,c);a=mq("cd");c=0;for(d=a.length;c<d;++c)oq(_.ai(),a[c],!0);a=mq("ci");c=0;for(d=a.length;c<d;++c)oq(_.ai(),a[c],!0);c=0;for(d=b.length;c<d;++c)oq(_.ai(),b[c],!0)};var sq,tq=window.location.href,uq=tq.indexOf("?"),vq=tq.indexOf("#");
sq=(-1===vq?tq.substr(uq+1):[tq.substr(uq+1,vq-uq-1),"&",tq.substr(vq+1)].join("")).split("&");for(var wq=window.decodeURIComponent?decodeURIComponent:unescape,xq=0,yq=sq.length;xq<yq;++xq){var zq=sq[xq].indexOf("=");if(-1!==zq){var Aq=sq[xq].substring(zq+1);Aq=Aq.replace(/\+/g," ");try{wq(Aq)}catch(a){}}};if(window.ToolbarApi)Bq=window.ToolbarApi,Bq.Pa=window.ToolbarApi.getInstance,Bq.prototype=window.ToolbarApi.prototype,_.g=Bq.prototype,_.g.openWindow=Bq.prototype.openWindow,_.g.tL=Bq.prototype.closeWindow,_.g.eS=Bq.prototype.setOnCloseHandler,_.g.fL=Bq.prototype.canClosePopup,_.g.oR=Bq.prototype.resizeWindow;else{var Bq=function(){};Bq.Pa=function(){!Cq&&window.external&&window.external.GTB_IsToolbar&&(Cq=new Bq);return Cq};_.g=Bq.prototype;_.g.openWindow=function(a){return window.external.GTB_OpenPopup&&
window.external.GTB_OpenPopup(a)};_.g.tL=function(a){window.external.GTB_ClosePopupWindow&&window.external.GTB_ClosePopupWindow(a)};_.g.eS=function(a,b){window.external.GTB_SetOnCloseHandler&&window.external.GTB_SetOnCloseHandler(a,b)};_.g.fL=function(a){return window.external.GTB_CanClosePopup&&window.external.GTB_CanClosePopup(a)};_.g.oR=function(a,b){return window.external.GTB_ResizeWindow&&window.external.GTB_ResizeWindow(a,b)};var Cq=null;window.ToolbarApi=Bq;window.ToolbarApi.getInstance=Bq.Pa};var Dq=/^[-_.0-9A-Za-z]+$/,Eq={open:"open",onready:"ready",close:"close",onresize:"resize",onOpen:"open",onReady:"ready",onClose:"close",onResize:"resize",onRenderStart:"renderstart"},Fq={onBeforeParentOpen:"beforeparentopen"},Gq={onOpen:function(a){var b=a.jc();a.Gg(b.container||b.element);return a},onClose:function(a){a.remove()}},Hq=function(){_.Ua.GO++;return["I",_.Ua.GO,"_",(new Date).getTime()].join("")},Iq,Jq,Kq,Nq,Oq,Pq,Qq,Sq,Rq;_.Ua.Bm=function(a){var b=_.Oe();_.Qe(_.Wl,b);_.Qe(a,b);return b};
Iq=function(a){return a instanceof Array?a.join(","):a instanceof Object?_.Wf(a):a};Jq=function(a){var b=_.bi("googleapis.config/elog");if(b)try{b(a)}catch(c){}};Kq=function(a){a&&a.match(Dq)&&_.rq("googleapis.config/gcv",a)};_.Lq=function(a,b){b=b||{};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};
_.Mq=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=hq(h);q[k]=q[k]||{};n=_.Ua.Ja.Vh.bt(n,m);m._iframe_wrapped_rpc_&&(n._iframe_wrapped_rpc_=!0);q[k][l]=n;f.push(h)}if(e)for(var p in _.Ua.ep)_.Ua.ep.hasOwnProperty(p)&&f.push(p);return f.join(",")};Nq=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]=gq(f,b,c)}}return d};
Oq=function(a){if(a&&a.disableMultiLevelParentRelay)a=!1;else{var b;if(b=_.co&&_.co._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};Pq=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};
Qq=function(a){if(":"==a.charAt(0)){var b=_.bi("iframes/"+a.substring(1));a={};_.Qe(b,a);(b=a.url)&&(a.url=_.hm(b));a.params||(a.params={});return a}return{url:_.hm(a)}};Sq=function(a){function b(){}b.prototype=Rq.prototype;a.prototype=new b};
Rq=function(a,b,c,d,e,f,h,k){this.config=Qq(a);this.openParams=this.Ty=b||{};this.params=c||{};this.methods=d;this.CA=!1;Tq(this,b.style);this.callbacks={};Uq(this,function(){var l;(l=this.Ty.style)&&_.Ua.mu[l]?l=_.Ua.mu[l]:l?(_.$f.warn(['Missing handler for style "',l,'". Continuing with default handler.'].join("")),l=null):l=Gq;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?_.Ua.Ja.Vh.bt(l,q,this):q}m=n}for(var p in e)l=m[p],"function"===
typeof l&&Vq(this,e[p],_.Ua.Ja.Vh.bt(m,l))}f&&Vq(this,"close",f)});this.Kj=this.ac=h;this.SF=(k||[]).slice();h&&this.SF.unshift(h.getId())};Rq.prototype.jc=function(){return this.Ty};Rq.prototype.DD=function(){return this.params};Rq.prototype.Vw=function(){return this.methods};Rq.prototype.Mc=function(){return this.Kj};
var Tq=function(a,b){a.CA||((b=b&&!_.Ua.mu[b]&&_.Ua.uC[b])?(a.tC=[],b(function(){a.CA=!0;for(var c=a.tC.length,d=0;d<c;++d)a.tC[d].call(a)})):a.CA=!0)},Uq=function(a,b){a.CA?b.call(a):a.tC.push(b)};Rq.prototype.Dd=function(a,b){Uq(this,function(){Vq(this,a,b)})};var Vq=function(a,b,c){a.callbacks[b]=a.callbacks[b]||[];a.callbacks[b].push(c)};Rq.prototype.xn=function(a,b){Uq(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}})};
Rq.prototype.xh=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){_.$f.error(['Exception when calling callback "',a,'" with exception "',k.name,": ",k.message,'".'].join("")),Jq(k)}return h};var Wq=function(a){return"number"==typeof a?{value:a,bD:a+"px"}:"100%"==a?{value:100,bD:"100%",kP:!0}:null};Rq.prototype.send=function(a,b,c){_.Ua.DR(this,a,b,c)};
Rq.prototype.register=function(a,b){var c=this;c.Dd(a,function(d){b.call(c,d)})};var Xq=function(a,b,c,d,e,f,h){var k=this;Rq.call(this,a,b,c,d,Eq,e,f,h);this.id=b.id||Hq();this.Ht=b.rpctoken&&String(b.rpctoken)||Math.round(1E9*_.Bi());this.n0=Pq(this.params,this.config);this.PC={};Uq(this,function(){k.xh("open");_.Lq(k.PC,k)})};Sq(Xq);_.g=Xq.prototype;
_.g.Gg=function(a,b){if(!this.config.url)return _.$f.error("Cannot open iframe, empty URL."),this;var c=this.id;_.Ua.Xk[c]=this;var d=_.Lq(this.methods);d._ready=this.Sy;d._close=this.close;d._open=this.AQ;d._resizeMe=this.pR;d._renderstart=this.sQ;var e=this.n0;this.Ht&&(e.rpctoken=this.Ht);e._methods=_.Mq(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(":")):_.$f.error(['Iframe style "',f[l],'" not allowed.'].join(""))}h=h.join(";")}else h="";b.style=h}}this.jc().allowPost&&(d.allowPost=!0);this.jc().forcePost&&(d.forcePost=!0);d.queryParams=this.params;d.fragmentParams=e;d.paramsSerializer=Iq;this.zh=_.jm(this.config.url,a,d);a=this.zh.getAttribute("data-postorigin")||this.zh.src;_.Ua.Xk[c]=this;
_.eg.Zz(this.id,this.Ht);_.eg.Ui(this.id,a);return this};_.g.ih=function(a,b){this.PC[a]=b};_.g.getId=function(){return this.id};_.g.getIframeEl=function(){return this.zh};_.g.getSiteEl=function(){return this.el};_.g.setSiteEl=function(a){this.el=a};_.g.Sy=function(a){var b=Nq(a,this.id,"");this.Kj&&"function"==typeof this.methods._ready&&(a._methods=_.Mq(b,this.Kj.getId(),this.id,this,!1),this.methods._ready(a));_.Lq(a,this);_.Lq(b,this);this.xh("ready",a)};
_.g.sQ=function(a){this.xh("renderstart",a)};_.g.close=function(a){a=this.xh("close",a);delete _.Ua.Xk[this.id];return a};_.g.remove=function(){var a=document.getElementById(this.id);a&&a.parentNode&&a.parentNode.removeChild(a)};
_.g.AQ=function(a){var b=Nq(a.params,this.id,a.proxyId);delete a.params._methods;"_parent"==a.openParams.anchor&&(a.openParams.anchor=this.el);if(Oq(a.openParams))new Yq(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain);else{var c=new Xq(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain),d=this;Uq(c,function(){var e={childId:c.getId()},f=c.PC;f._toclose=c.close;e._methods=_.Mq(f,d.id,c.id,c,!1);b._onopen(e)})}};
_.g.pR=function(a){if(void 0===this.xh("resize",a)&&this.zh){var b=Wq(a.width);null!=b&&(this.zh.style.width=b.bD);a=Wq(a.height);null!=a&&(this.zh.style.height=a.bD);this.zh.parentElement&&(null!=b&&b.kP||null!=a&&a.kP)&&(this.zh.parentElement.style.display="block")}};
var Yq=function(a,b,c,d,e,f,h){var k=this;Rq.call(this,a,b,c,d,Fq,e,f,h);this.url=a;this.On=null;this.mG=Hq();Uq(this,function(){k.xh("beforeparentopen");var l=_.Lq(k.methods);l._onopen=k.U2;l._ready=k.Sy;l._onclose=k.S2;k.params._methods=_.Mq(l,"..",k.mG,k,!0);l={};for(var m in k.params)l[m]=Iq(k.params[m]);_.co._open({url:k.config.url,openParams:k.Ty,params:l,proxyId:k.mG,openedByProxyChain:k.SF})})};Sq(Yq);Yq.prototype.IZ=function(){return this.On};
Yq.prototype.U2=function(a){this.On=a.childId;var b=Nq(a,"..",this.On);_.Lq(b,this);this.close=b._toclose;_.Ua.Xk[this.On]=this;this.Kj&&this.methods._onopen&&(a._methods=_.Mq(b,this.Kj.getId(),this.On,this,!1),this.methods._onopen(a))};Yq.prototype.Sy=function(a){var b=String(this.On),c=Nq(a,"..",b);_.Lq(a,this);_.Lq(c,this);this.xh("ready",a);this.Kj&&this.methods._ready&&(a._methods=_.Mq(c,this.Kj.getId(),b,this,!1),this.methods._ready(a))};
Yq.prototype.S2=function(a){if(this.Kj&&this.methods._onclose)this.methods._onclose(a);else return a=this.xh("close",a),delete _.Ua.Xk[this.On],a};
var Zq=function(a,b,c,d,e,f,h){Rq.call(this,a,b,c,d,Fq,f,h);this.id=b.id||Hq();this.p6=e;d._close=this.close;this.onClosed=this.lQ;this.BT=0;Uq(this,function(){this.xh("beforeparentopen");var k=_.Lq(this.methods);this.params._methods=_.Mq(k,"..",this.mG,this,!0);k={};k.queryParams=this.params;a=_.am(_.Ke,this.config.url,this.id,k);var l=e.openWindow(a);this.canAutoClose=function(m){m(e.fL(l))};e.eS(l,this);this.BT=l})};Sq(Zq);
Zq.prototype.close=function(a){a=this.xh("close",a);this.p6.tL(this.BT);return a};Zq.prototype.lQ=function(){this.xh("close")};_.co.send=function(a,b,c){_.Ua.DR(_.co,a,b,c)};
(function(){function a(h){return _.Ua.mu[h]}function b(h,k){_.Ua.mu[h]=k}function c(h){h=h||{};"auto"===h.height&&(h.height=_.xl());var k=window&&Bq&&Bq.Pa();k?k.oR(h.width||0,h.height||0):_.co&&_.co._resizeMe&&_.co._resizeMe(h)}function d(h){Kq(h)}_.Ua.Xk={};_.Ua.mu={};_.Ua.uC={};_.Ua.GO=0;_.Ua.Mi={};_.Ua.ep={};_.Ua.ez=null;_.Ua.dz=[];_.Ua.d3=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_(_.co.id)}}catch(m){}try{_.Ua.ez={origin:this.origin,
referer:this.referer,claimedOpenerId:h&&h.id,claimedOpenerProxyChain:h&&h.proxyChain||[],sameOrigin:k};for(h=0;h<_.Ua.dz.length;++h)_.Ua.dz[h](_.Ua.ez);_.Ua.dz=[]}catch(m){Jq(m)}};_.Ua.xZ=function(h){var k=h&&h.Kj,l=null;k&&(l={},l.id=k.getId(),l.proxyChain=h.SF);return l};eq();if(window.parent!=window){var e=_.iq();e.gcv&&Kq(e.gcv);var f=e.jsh;f&&kq(f);_.Lq(Nq(e,"..",""),_.co);_.Lq(e,_.co);fq()}_.Ua.lb=a;_.Ua.wc=b;_.Ua.l5=d;_.Ua.resize=c;_.Ua.RY=function(h){return _.Ua.uC[h]};_.Ua.gH=function(h,
k){_.Ua.uC[h]=k};_.Ua.nR=c;_.Ua.G5=d;_.Ua.Bx={};_.Ua.Bx.get=a;_.Ua.Bx.set=b;_.Ua.allow=function(h,k){hq(h);_.Ua.ep[h]=k||window[h]};_.Ua.cea=function(h){delete _.Ua.ep[h]};_.Ua.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&&Bq?Bq.Pa():null;return p?new Zq(h,k,l,m,p,n,q):Oq(k)?new Yq(h,k,l,m,n,q):new Xq(h,k,l,m,n,q)};_.Ua.close=function(h,k){_.co&&_.co._close&&_.co._close(h,k)};_.Ua.ready=function(h,k,l){2==arguments.length&&
"function"===typeof k&&(l=k,k={});var m=h||{};"height"in m||(m.height=_.xl());m._methods=_.Mq(k||{},"..","",_.co,!0);_.co&&_.co._ready&&_.co._ready(m,l)};_.Ua.zN=function(h){_.Ua.ez?h(_.Ua.ez):_.Ua.dz.push(h)};_.Ua.W2=function(h){return!!_.Ua.Xk[h]};_.Ua.cZ=function(){return["https://ssl.gstatic.com/gb/js/",_.bi("googleapis.config/gcv")].join("")};_.Ua.TQ=function(h){var k={mouseover:1,mouseout:1};if(_.co._event)for(var l=0;l<h.length;l++){var m=h[l];m in k&&document.addEventListener(m,function(n){_.co._event({event:n.type,
timestamp:(new Date).getTime()})},!0)}};_.Ua.DR=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)};_.Ua.CROSS_ORIGIN_IFRAMES_FILTER=function(){return!0};_.Ua.SW=function(h,k,l){var m=Array.prototype.slice.call(arguments);_.Ua.zN(function(n){n.sameOrigin&&(m.unshift("/"+n.claimedOpenerId+"|"+window.location.protocol+"//"+window.location.host),_.eg.call.apply(_.eg,m))})};_.Ua.E3=function(h,k){_.eg.register(h,k)};_.Ua.r5=kq;_.Ua.HR=lq;
_.Ua.GP=Jq;_.Ua.HO=_.co})();_.E("iframes.allow",_.Ua.allow);_.E("iframes.callSiblingOpener",_.Ua.SW);_.E("iframes.registerForOpenedSibling",_.Ua.E3);_.E("iframes.close",_.Ua.close);_.E("iframes.getGoogleConnectJsUri",_.Ua.cZ);_.E("iframes.getHandler",_.Ua.lb);_.E("iframes.getDeferredHandler",_.Ua.RY);_.E("iframes.getParentInfo",_.Ua.zN);_.E("iframes.iframer",_.Ua.HO);_.E("iframes.open",_.Ua.open);_.E("iframes.openedId_",_.Ua.W2);_.E("iframes.propagate",_.Ua.TQ);_.E("iframes.ready",_.Ua.ready);_.E("iframes.resize",_.Ua.resize);
_.E("iframes.setGoogleConnectJsVersion",_.Ua.l5);_.E("iframes.setBootstrapHint",_.Ua.HR);_.E("iframes.setJsHint",_.Ua.r5);_.E("iframes.setHandler",_.Ua.wc);_.E("iframes.setDeferredHandler",_.Ua.gH);_.E("IframeBase",Rq);_.E("IframeBase.prototype.addCallback",Rq.prototype.Dd);_.E("IframeBase.prototype.getMethods",Rq.prototype.Vw);_.E("IframeBase.prototype.getOpenerIframe",Rq.prototype.Mc);_.E("IframeBase.prototype.getOpenParams",Rq.prototype.jc);_.E("IframeBase.prototype.getParams",Rq.prototype.DD);
_.E("IframeBase.prototype.removeCallback",Rq.prototype.xn);_.E("Iframe",Xq);_.E("Iframe.prototype.close",Xq.prototype.close);_.E("Iframe.prototype.exposeMethod",Xq.prototype.ih);_.E("Iframe.prototype.getId",Xq.prototype.getId);_.E("Iframe.prototype.getIframeEl",Xq.prototype.getIframeEl);_.E("Iframe.prototype.getSiteEl",Xq.prototype.getSiteEl);_.E("Iframe.prototype.openInto",Xq.prototype.Gg);_.E("Iframe.prototype.remove",Xq.prototype.remove);_.E("Iframe.prototype.setSiteEl",Xq.prototype.setSiteEl);
_.E("Iframe.prototype.addCallback",Xq.prototype.Dd);_.E("Iframe.prototype.getMethods",Xq.prototype.Vw);_.E("Iframe.prototype.getOpenerIframe",Xq.prototype.Mc);_.E("Iframe.prototype.getOpenParams",Xq.prototype.jc);_.E("Iframe.prototype.getParams",Xq.prototype.DD);_.E("Iframe.prototype.removeCallback",Xq.prototype.xn);_.E("IframeProxy",Yq);_.E("IframeProxy.prototype.getTargetIframeId",Yq.prototype.IZ);_.E("IframeProxy.prototype.addCallback",Yq.prototype.Dd);_.E("IframeProxy.prototype.getMethods",Yq.prototype.Vw);
_.E("IframeProxy.prototype.getOpenerIframe",Yq.prototype.Mc);_.E("IframeProxy.prototype.getOpenParams",Yq.prototype.jc);_.E("IframeProxy.prototype.getParams",Yq.prototype.DD);_.E("IframeProxy.prototype.removeCallback",Yq.prototype.xn);_.E("IframeWindow",Zq);_.E("IframeWindow.prototype.close",Zq.prototype.close);_.E("IframeWindow.prototype.onClosed",Zq.prototype.lQ);_.E("iframes.util.getTopMostAccessibleWindow",_.Ua.Ja.Vh.NN);_.E("iframes.handlers.get",_.Ua.Bx.get);_.E("iframes.handlers.set",_.Ua.Bx.set);
_.E("iframes.resizeMe",_.Ua.nR);_.E("iframes.setVersionOverride",_.Ua.G5);_.E("iframes.CROSS_ORIGIN_IFRAMES_FILTER",_.Ua.CROSS_ORIGIN_IFRAMES_FILTER);_.E("IframeBase.prototype.send",Rq.prototype.send);_.E("IframeBase.prototype.register",Rq.prototype.register);_.E("Iframe.prototype.send",Xq.prototype.send);_.E("Iframe.prototype.register",Xq.prototype.register);_.E("IframeProxy.prototype.send",Yq.prototype.send);_.E("IframeProxy.prototype.register",Yq.prototype.register);
_.E("IframeWindow.prototype.send",Zq.prototype.send);_.E("IframeWindow.prototype.register",Zq.prototype.register);_.E("iframes.iframer.send",_.Ua.HO.send);
var Nt=_.Ua.wc,Ot={open:function(a){var b=_.Xn(a.jc());return a.Gg(b,{style:_.Yn(b)})},attach:function(a,b){var c=_.Xn(a.jc()),d=b.id,e=b.getAttribute("data-postorigin")||b.src,f=/#(?:.*&)?rpctoken=(\d+)/.exec(e);f=f&&f[1];a.id=d;a.Ht=f;a.el=c;a.zh=b;_.Ua.Xk[d]=a;b=_.Lq(a.methods);b._ready=a.Sy;b._close=a.close;b._open=a.AQ;b._resizeMe=a.pR;b._renderstart=a.sQ;_.Mq(b,d,"",a,!0);_.eg.Zz(a.id,a.Ht);_.eg.Ui(a.id,e);c=_.Ua.Bm({style:_.Yn(c)});for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&
("style"==h?a.zh.style.cssText=c[h]:a.zh.setAttribute(h,c[h]))}};Ot.onready=_.Zn;Ot.onRenderStart=_.Zn;Ot.close=_.$n;Nt("inline",Ot);
_.Ch=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(_.Ub(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};_.Dh=function(a,b){b=b||a;for(var c=0,d=0,e={};d<a.length;){var f=a[d++],h=_.Rb(f)?"o"+_.Xb(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(e,h)||(e[h]=!0,b[c++]=f)}b.length=c};
_.Eh=function(a,b){a.src=_.uc(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)};_.Fh=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 Gh,Hh,Jh;Gh={};Hh=null;_.Ih=_.Kd||_.Ld||!_.Bh&&!_.Gd&&"function"==typeof _.u.atob;_.Kh=function(a,b){void 0===b&&(b=0);Jh();b=Gh[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("")};
_.Lh=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=Hh[m];if(null!=n)return n;if(!_.zc(m))throw Error("C`"+m);}return l}Jh();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))}};
Jh=function(){if(!Hh){Hh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Gh[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Hh[f]&&(Hh[f]=e)}}}};
_.ei={};var gi;_.fi=function(a){this.qb=a||{cookie:""}};_.g=_.fi.prototype;_.g.isEnabled=function(){if(!_.u.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{mF: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.jga;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.mF}if(/[;=\s]/.test(a))throw Error("F`"+a);if(/[;\r\n]/.test(b))throw Error("G`"+b);void 0===k&&(k=-1);this.qb.cookie=a+"="+b+(f?";domain="+f:"")+(h?";path="+h:"")+(0>k?"":0==k?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*k)).toUTCString())+(d?";secure":"")+(null!=e?";samesite="+e:"")};
_.g.get=function(a,b){for(var c=a+"=",d=(this.qb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.Ac)(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.Yh(a);this.set(a,"",{mF:0,path:b,domain:c});return d};_.g.Sf=function(){return gi(this).keys};_.g.Uc=function(){return gi(this).values};_.g.isEmpty=function(){return!this.qb.cookie};_.g.Fb=function(){return this.qb.cookie?(this.qb.cookie||"").split(";").length:0};
_.g.Yh=function(a){return void 0!==this.get(a)};_.g.oj=function(a){for(var b=gi(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=gi(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};gi=function(a){a=(a.qb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.Ac)(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}};
_.hi=new _.fi("undefined"==typeof document?null:document);
_.si={};_.ti=function(a){return _.si[a||"token"]||null};
var Wi,Yi;_.Vi=function(a,b){b=(0,_.gb)(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c};Wi=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.Xi=function(a){for(var b in a)return!1;return!0};_.Zi=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Yi.length;f++)c=Yi[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};_.$i=function(a){a&&"function"==typeof a.Ga&&a.Ga()};
_.aj=function(a){if(!(a instanceof Array)){a=_.sa(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};Yi="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");_.bj=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.cj=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.dj=function(){this.qg=this.qg;this.jn=this.jn};_.dj.prototype.qg=!1;_.dj.prototype.isDisposed=function(){return this.qg};_.dj.prototype.Ga=function(){this.qg||(this.qg=!0,this.qa())};_.fj=function(a,b){_.ej(a,_.Pi(_.$i,b))};_.ej=function(a,b){a.qg?b():(a.jn||(a.jn=[]),a.jn.push(b))};_.dj.prototype.qa=function(){if(this.jn)for(;this.jn.length;)this.jn.shift()()};_.gj=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.At=!1};_.gj.prototype.stopPropagation=function(){this.At=!0};_.gj.prototype.preventDefault=function(){this.defaultPrevented=!0};var hj=function(){if(!_.u.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{_.u.addEventListener("test",function(){},b),_.u.removeEventListener("test",function(){},b)}catch(c){}return a}();_.ij=function(a,b){_.gj.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.cG=!1;this.pointerId=0;this.pointerType="";this.Ee=null;a&&this.xd(a,b)};_.ab(_.ij,_.gj);var jj={2:"touch",3:"pen",4:"mouse"};
_.ij.prototype.xd=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;(b=a.relatedTarget)?_.Kd&&(_.Ed(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=_.Ld||void 0!==
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Ld||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.cG=_.Nd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:jj[a.pointerType]||"";this.state=a.state;this.Ee=a;a.defaultPrevented&&_.ij.H.preventDefault.call(this)};_.ij.prototype.stopPropagation=function(){_.ij.H.stopPropagation.call(this);this.Ee.stopPropagation?this.Ee.stopPropagation():this.Ee.cancelBubble=!0};_.ij.prototype.preventDefault=function(){_.ij.H.preventDefault.call(this);var a=this.Ee;a.preventDefault?a.preventDefault():a.returnValue=!1};_.kj="closure_listenable_"+(1E6*Math.random()|0);_.lj=function(a){return!(!a||!a[_.kj])};var mj=0;var nj=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.nf=e;this.key=++mj;this.Dt=this.Bv=!1},oj=function(a){a.Dt=!0;a.listener=null;a.proxy=null;a.src=null;a.nf=null};var pj=function(a){this.src=a;this.Pd={};this.Du=0};pj.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.Pd[f];a||(a=this.Pd[f]=[],this.Du++);var h=qj(a,b,d,e);-1<h?(b=a[h],c||(b.Bv=!1)):(b=new nj(b,this.src,f,!!d,e),b.Bv=c,a.push(b));return b};pj.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.Pd))return!1;var e=this.Pd[a];b=qj(e,b,c,d);return-1<b?(oj(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.Pd[a],this.Du--),!0):!1};
var rj=function(a,b){var c=b.type;if(!(c in a.Pd))return!1;var d=_.Vi(a.Pd[c],b);d&&(oj(b),0==a.Pd[c].length&&(delete a.Pd[c],a.Du--));return d};pj.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.Pd)if(!a||c==a){for(var d=this.Pd[c],e=0;e<d.length;e++)++b,oj(d[e]);delete this.Pd[c];this.Du--}return b};pj.prototype.So=function(a,b,c,d){a=this.Pd[a.toString()];var e=-1;a&&(e=qj(a,b,c,d));return-1<e?a[e]:null};
pj.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Wi(this.Pd,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};var qj=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Dt&&f.listener==b&&f.capture==!!c&&f.nf==d)return e}return-1};var sj,tj,uj,yj,Aj,Bj,Cj,Fj;sj="closure_lm_"+(1E6*Math.random()|0);tj={};uj=0;_.wj=function(a,b,c,d,e){if(d&&d.once)return _.vj(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.wj(a,b[f],c,d,e);return null}c=_.xj(c);return _.lj(a)?a.V(b,c,_.Rb(d)?!!d.capture:!!d,e):yj(a,b,c,!1,d,e)};
yj=function(a,b,c,d,e,f){if(!b)throw Error("H");var h=_.Rb(e)?!!e.capture:!!e,k=_.zj(a);k||(a[sj]=k=new pj(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Aj();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)hj||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Bj(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("I");uj++;return c};Aj=function(){var a=Cj,b=function(c){return a.call(b.src,b.listener,c)};return b};
_.vj=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.vj(a,b[f],c,d,e);return null}c=_.xj(c);return _.lj(a)?a.Cp(b,c,_.Rb(d)?!!d.capture:!!d,e):yj(a,b,c,!0,d,e)};_.Dj=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.Dj(a,b[f],c,d,e);else d=_.Rb(d)?!!d.capture:!!d,c=_.xj(c),_.lj(a)?a.lc(b,c,d,e):a&&(a=_.zj(a))&&(b=a.So(b,c,d,e))&&_.Ej(b)};
_.Ej=function(a){if("number"===typeof a||!a||a.Dt)return!1;var b=a.src;if(_.lj(b))return b.kJ(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Bj(c),d):b.addListener&&b.removeListener&&b.removeListener(d);uj--;(c=_.zj(b))?(rj(c,a),0==c.Du&&(c.src=null,b[sj]=null)):oj(a);return!0};Bj=function(a){return a in tj?tj[a]:tj[a]="on"+a};
Cj=function(a,b){if(a.Dt)a=!0;else{b=new _.ij(b,this);var c=a.listener,d=a.nf||a.src;a.Bv&&_.Ej(a);a=c.call(d,b)}return a};_.zj=function(a){a=a[sj];return a instanceof pj?a:null};Fj="__closure_events_fn_"+(1E9*Math.random()>>>0);_.xj=function(a){if("function"===typeof a)return a;a[Fj]||(a[Fj]=function(b){return a.handleEvent(b)});return a[Fj]};_.Ui(function(a){Cj=a(Cj)});_.Gj=function(){_.dj.call(this);this.yj=new pj(this);this.oW=this;this.XF=null};_.ab(_.Gj,_.dj);_.Gj.prototype[_.kj]=!0;_.g=_.Gj.prototype;_.g.Em=function(){return this.XF};_.g.lA=_.ea(3);_.g.addEventListener=function(a,b,c,d){_.wj(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.Dj(this,a,b,c,d)};
_.g.dispatchEvent=function(a){var b,c=this.Em();if(c)for(b=[];c;c=c.Em())b.push(c);c=this.oW;var d=a.type||a;if("string"===typeof a)a=new _.gj(a,c);else if(a instanceof _.gj)a.target=a.target||c;else{var e=a;a=new _.gj(d,c);_.Zi(a,e)}e=!0;if(b)for(var f=b.length-1;!a.At&&0<=f;f--){var h=a.currentTarget=b[f];e=h.Or(d,!0,a)&&e}a.At||(h=a.currentTarget=c,e=h.Or(d,!0,a)&&e,a.At||(e=h.Or(d,!1,a)&&e));if(b)for(f=0;!a.At&&f<b.length;f++)h=a.currentTarget=b[f],e=h.Or(d,!1,a)&&e;return e};
_.g.qa=function(){_.Gj.H.qa.call(this);this.rG();this.XF=null};_.g.V=function(a,b,c,d){return this.yj.add(String(a),b,!1,c,d)};_.g.Cp=function(a,b,c,d){return this.yj.add(String(a),b,!0,c,d)};_.g.lc=function(a,b,c,d){return this.yj.remove(String(a),b,c,d)};_.g.kJ=function(a){return rj(this.yj,a)};_.g.rG=function(){this.yj&&this.yj.removeAll(void 0)};
_.g.Or=function(a,b,c){a=this.yj.Pd[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.Dt&&f.capture==b){var h=f.listener,k=f.nf||f.src;f.Bv&&this.kJ(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.So=function(a,b,c,d){return this.yj.So(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.yj.hasListener(void 0!==a?String(a):void 0,b)};
var Ks,Ls,Ms,Ns,Rs,Ss,Us,Ys,Zs,$s,at,bt,ct,Ts,Vs,Ws;Ks=function(a){var b=document.createElement("template");if(!("content"in b)){b=_.ld("<html><body>"+a);b=(new DOMParser).parseFromString(_.Db(b),"text/html");for(a=b.createDocumentFragment();0<b.body.childNodes.length;)a.appendChild(b.body.firstChild);return a}a=_.ld(a);_.Eb(b,a);return b.content};Ls=function(a){a=a.nodeName;return"string"===typeof a?a:"FORM"};Ms=function(a){a=a.nodeType;return a===Node.ELEMENT_NODE||"number"!==typeof a};
Ns=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.Os=function(a,b,c,d){return Array.prototype.splice.apply(a,Ns(arguments,1))};_.Ps=function(a,b,c){if(null!==a&&b in a)throw Error("k`"+b);a[b]=c};
_.Qs=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.Rfa&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1&#160;"));b.Qfa&&(a=a.replace(/(\r\n|\n|\r)/g,"<br>"));b.Sfa&&(a=a.replace(/(\t+)/g,'<span style="white-space:pre">$1</span>'));return _.ld(a)};Rs=function(a,b){var c=new XMLHttpRequest;c.open("POST",a);c.setRequestHeader("Content-Type","application/json");c.send(b)};
Ss=function(a,b){("undefined"!==typeof window&&window.navigator&&void 0!==window.navigator.sendBeacon?navigator.sendBeacon.bind(navigator):Rs)("https://csp.withgoogle.com/csp/lcreport/"+a.yz,JSON.stringify({host:window.location.hostname,type:b,additionalData:void 0}))};Us=function(a,b){try{Ts(_.Bd,a)}catch(c){return Ss(b,"H_SLSANITIZE"),!0}try{Ts(_.Ad,a)}catch(c){return Ss(b,"H_RSANITIZE"),!0}try{Ts(_.zd,a)}catch(c){return Ss(b,"H_SANITIZE"),!0}return!1};
_.Xs=function(a,b){a=_.Qb(a);var c;if(c=b){var d,e;c=Math.random()<(null!=(e=null!=(d=b.kga)?d:Vs[b.yz[0]])?e:0)}if(c&&"DocumentFragment"in window){var f,h;Math.random()<(null!=(h=null!=(f=b.ifa)?f:Ws[b.yz[0]])?h:0)&&Ss(b,"HEARTBEAT");Us(a,b)||_.Qs(a).toString()!==a&&Ss(b,"H_ESCAPE")}return _.ld(a)};_.ne.prototype.N=_.cb(1,function(a){return _.Oi(this.qb,a)});
Ys=function(a,b,c){c=a.cM.get(c);return(null==c?0:c.has(b))?c.get(b):a.uW.has(b)?{zd:1}:(c=a.PZ.get(b))?c:a.PN&&[].concat(_.aj(a.PN)).some(function(d){return 0===b.indexOf(d)})?{zd:1}:{zd:0}};Zs=["data:","http:","https:","mailto:","ftp:"];$s=function(a){0===a.Hv.length&&a.Hv.push("")};
at=function(a,b){if(b.nodeType===Node.TEXT_NODE)return NodeFilter.FILTER_ACCEPT;if(!Ms(b))return NodeFilter.FILTER_REJECT;b=Ls(b);if(null===b)return $s(a),NodeFilter.FILTER_REJECT;var c=a.wR;if("form"!==b.toLowerCase()&&(c.tW.has(b)||c.cM.has(b)))return NodeFilter.FILTER_ACCEPT;$s(a);return NodeFilter.FILTER_REJECT};
bt=function(a,b){var c=Ls(b),d=document.createElement(c);b=b.attributes;for(var e=_.sa(b),f=e.next();!f.done;f=e.next()){var h=f.value;f=h.name;h=h.value;var k=Ys(a.wR,f,c),l;a:{if(l=k.conditions){l=_.sa(l);for(var m=l.next();!m.done;m=l.next()){var n=_.sa(m.value);m=n.next().value;n=n.next().value;var q=void 0;if((m=null==(q=b.getNamedItem(m))?void 0:q.value)&&!n.has(m)){l=!1;break a}}}l=!0}if(l)switch(k.zd){case 1:d.setAttribute(f,h);break;case 2:k=_.Ni(h);k=void 0!==k&&-1!==Zs.indexOf(k.toLowerCase())?
h:"about:invalid#zClosurez";k!==h&&$s(a);d.setAttribute(f,k);break;case 3:d.setAttribute(f,h.toLowerCase());break;case 4:d.setAttribute(f,h);break;case 0:$s(a)}else $s(a)}return d};
ct=function(a,b){b=Ks(b);b=document.createTreeWalker(b,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(h){return at(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(Ms(c))f=bt(a,c);else throw Error("q");e.appendChild(f);if(c=b.firstChild())e=f;else for(;!(c=b.nextSibling())&&(c=b.parentNode());)e=e.parentNode}return d};
_.dt=function(a,b){var c=document.createElement("span");c.appendChild(ct(a,b));a=(new XMLSerializer).serializeToString(c);a=a.slice(a.indexOf(">")+1,a.lastIndexOf("</"));return _.ld(a)};Ts=function(a,b){a.Hv=[];_.dt(a,b);if(0!==a.Hv.length)throw Error("q");};Vs={0:1,1:.1};Ws={0:.1,1:.01};
_.et=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:""):_.qe(c,"*",a,b)[0]||null}return a||null};_.ft=function(a){var b;if(_.de&&(b=a.parentElement))return b;b=a.parentNode;return _.Ge(b)?b:null};_.gt=function(a){_.dj.call(this);this.he=a;this.Ob={}};_.ab(_.gt,_.dj);var ht=[];_.gt.prototype.V=function(a,b,c,d){return this.Vs(a,b,c,d)};
_.gt.prototype.Vs=function(a,b,c,d,e){Array.isArray(b)||(b&&(ht[0]=b.toString()),b=ht);for(var f=0;f<b.length;f++){var h=_.wj(a,b[f],c||this.handleEvent,d||!1,e||this.he||this);if(!h)break;this.Ob[h.key]=h}return this};_.gt.prototype.Cp=function(a,b,c,d){return it(this,a,b,c,d)};var it=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)it(a,b,c[h],d,e,f);else{b=_.vj(b,c,d||a.handleEvent,e,f||a.he||a);if(!b)return a;a.Ob[b.key]=b}return a};
_.gt.prototype.lc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.lc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Rb(d)?!!d.capture:!!d,e=e||this.he||this,c=_.xj(c),d=!!d,b=_.lj(a)?a.So(b,c,d,e):a?(a=_.zj(a))?a.So(b,c,d,e):null:null,b&&(_.Ej(b),delete this.Ob[b.key]);return this};_.gt.prototype.removeAll=function(){_.lb(this.Ob,function(a,b){this.Ob.hasOwnProperty(b)&&_.Ej(a)},this);this.Ob={}};_.gt.prototype.qa=function(){_.gt.H.qa.call(this);this.removeAll()};
_.gt.prototype.handleEvent=function(){throw Error("Q");};
var Xu,Yu,Zu,$u,av,cv,dv,ev,fv,hv;_.Wu=!1;Xu=function(a){try{_.Wu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};Yu=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};Zu=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};
$u=function(a,b){function c(){}if(!a)throw Error("T");if(!b)throw Error("U");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};av=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.bv=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};cv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
dv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("V`"+b);};ev={token:1,id_token:1};fv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.gv=window.JSON;hv=function(a){this.AJ=a||[];this.Vb={}};
hv.prototype.addEventListener=function(a,b){if(!(0<=Zu(this.AJ,a)))throw Error("X`"+a);if(!av(b))throw Error("Y`"+a);this.Vb[a]||(this.Vb[a]=[]);0>Zu(this.Vb[a],b)&&this.Vb[a].push(b)};hv.prototype.removeEventListener=function(a,b){if(!(0<=Zu(this.AJ,a)))throw Error("X`"+a);av(b)&&this.Vb[a]&&this.Vb[a].length&&(b=Zu(this.Vb[a],b),0<=b&&this.Vb[a].splice(b,1))};
hv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=Zu(this.AJ,b)))throw Error("Z`"+b);if(this.Vb[b]&&this.Vb[b].length)for(var c=this.Vb[b].length,d=0;d<c;d++)this.Vb[b][d](a)};var iv,jv,kv,ov,pv,Gv,Hv,Jv,Kv,Mv,Wv;iv={};jv={};kv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.lv=function(a,b){if(a=kv[a])return a[b]};_.mv=function(a,b){if(!a)throw Error("$");if(!b.authServerUrl)throw Error("aa");if(!b.idpIFrameUrl)throw Error("ba");kv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.nv=void 0;
ov=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")};pv=function(){this.R6=window;this.Xv=this.bm=this.xt=this.Ih=null};
pv.prototype.open=function(a,b,c,d){qv(this);this.xt?(this.bm&&(this.bm(),this.bm=null),rv(this)):this.xt="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Ih=this.R6.open(a,this.xt,b);try{this.Ih.focus();if(this.Ih.closed||"undefined"==typeof this.Ih.closed)throw Error("da");_.nv=this.Ih}catch(e){d&&setTimeout(d,0);this.Ih=null;break a}c&&(this.bm=c,sv(this))}};
var qv=function(a){try{if(null==a.Ih||a.Ih.closed)a.Ih=null,a.xt=null,rv(a),a.bm&&(a.bm(),a.bm=null)}catch(b){a.Ih=null,a.xt=null,rv(a)}},sv=function(a){a.Xv=window.setInterval(function(){qv(a)},300)},rv=function(a){a.Xv&&(window.clearInterval(a.Xv),a.Xv=null)};jv=jv||{};var tv=function(a,b){this.Qb=a;this.ME=b;this.jd=null;this.Om=!1};tv.prototype.start=function(){if(!this.Om&&!this.jd){var a=this;this.jd=window.setTimeout(function(){a.clear();a.Om||(a.Qb(),a.Om=!0)},jv.LN(this.ME))}};
tv.prototype.clear=function(){this.jd&&(window.clearTimeout(this.jd),this.jd=null)};var uv=function(a,b){var c=jv.Wq;this.o0=jv.Qq;this.uT=c;this.Qb=a;this.ME=b;this.jd=null;this.Om=!1;var d=this;this.vT=function(){document[d.o0]||(d.clear(),d.start())}};uv.prototype.start=function(){if(!this.Om&&!this.jd){dv(document,this.uT,this.vT);var a=this;this.jd=window.setTimeout(function(){a.clear();a.Om||(a.Qb(),a.Om=!0)},jv.LN(this.ME))}};
uv.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("W`"+a);this.jd&&(window.clearTimeout(this.jd),this.jd=null)};jv.Qq=null;jv.Wq=null;
jv.K0=function(){var a=document;"undefined"!==typeof a.hidden?(jv.Qq="hidden",jv.Wq="visibilitychange"):"undefined"!==typeof a.msHidden?(jv.Qq="msHidden",jv.Wq="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(jv.Qq="webkitHidden",jv.Wq="webkitvisibilitychange")};jv.K0();jv.vX=function(a,b){return jv.Qq&&jv.Wq?new uv(a,b):new tv(a,b)};jv.LN=function(a){return Math.max(1,a-(new Date).getTime())};
var vv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},wv=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,bi: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}}},xv=
window.crypto,yv=!1,zv=0,Av=1,Bv=0,Cv="",Dv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Av=Av*b%Bv;if(3==++zv)if(a=window,b=Dv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("W`mousemove");},Ev=function(a){var b=wv();b.update(a);return b.bi()};yv=!!xv&&"function"==typeof xv.getRandomValues;
yv||(Bv=1E6*(screen.width*screen.width+screen.height),Cv=Ev(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),dv(window,"mousemove",Dv));iv=iv||{};iv.nU="ssIFrame_";
_.Fv=function(a,b,c){c=void 0===c?!1:c;this.tb=a;if(!this.tb)throw Error("ea");a=_.lv(a,"idpIFrameUrl");if(!a)throw Error("fa");this.DO=a;if(!b)throw Error("ga");this.El=b;a=this.DO;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.vE=a.join("");this.t4=[location.protocol,"//",location.host].join("");
this.su=this.uE=this.Sm=!1;this.zO=null;this.Ry=[];this.Wp=[];this.kj={};this.Tm=void 0;this.Gq=c};_.g=_.Fv.prototype;_.g.show=function(){var a=this.Tm;a.style.position="fixed";a.style.width="100%";a.style.height="100%";a.style.left="0px";a.style.top="0px";a.style.right="0px";a.style.bottom="0px";a.style.display="block";a.style.zIndex="9999999";a.style.overflow="hidden";a.setAttribute("aria-hidden","false")};_.g.Sb=function(){ov(this.Tm)};
_.g.vy=function(a){if(this.Sm)a&&a(this);else{if(!this.Tm){var b=iv.nU+this.tb;var c=this.tb;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=Zu(e.split("|"),c))?vv(e,d):vv(e?e+"|"+c:c,d);c=!f;var h=this.DO,k=this.t4;d=this.El;e=this.Gq;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&&av(document.requestStorageAccess)&&
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);ov(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Wu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Tm=f}a&&this.Ry.push(a)}};_.g.iy=function(){return this.Sm&&this.su};_.g.Cm=function(){return this.zO};
Gv=function(a){for(var b=0;b<a.Ry.length;b++)a.Ry[b](a);a.Ry=[]};_.Iv=function(a,b,c,d){if(a.Sm){if(a.Sm&&a.uE)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.Cm(),Xu(a),Error(a);Hv(a,{method:b,params:c},d)}else a.Wp.push({An:{method:b,params:c},callback:d}),a.vy()};Hv=function(a,b,c){if(c){for(var d=b.id;!d||a.kj[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.kj[d]=c}b.rpcToken=a.El;a.Tm.contentWindow.postMessage(_.gv.stringify(b),a.vE)};
Jv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ha");};_.Fv.prototype.Ji=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Jv(f);b=_.bv(b);_.Iv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Fv.prototype.uy=function(a,b,c,d,e){b=_.bv(b);_.Iv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Kv=function(a,b,c){Jv(b.identifier);_.Iv(a,"getSessionSelector",b,c)};
_.Lv=function(a,b,c,d,e){Jv(b.identifier);_.Iv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Mv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Iv(a,"monitorClient",b,e)};_.Fv.prototype.revoke=_.ea(9);_.Fv.prototype.qr=_.ea(11);iv.Ix={};iv.uD=function(a){return iv.Ix[a]};
iv.vy=function(a,b,c){c=void 0===c?!1:c;var d=iv.uD(a);if(!d){d=String;if(yv){var e=new window.Uint32Array(1);xv.getRandomValues(e);e=Number("0."+e[0])}else e=Av,e+=parseInt(Cv.substr(0,20),16),Cv=Ev(Cv),e/=Bv+Math.pow(16,20);d=new _.Fv(a,d(2147483647*e),c);iv.Ix[a]=d}d.vy(b)};iv.TY=function(a){for(var b in iv.Ix){var c=iv.uD(b);if(c&&c.Tm&&c.Tm.contentWindow==a.source&&c.vE==a.origin)return c}};iv.yZ=function(a){for(var b in iv.Ix){var c=iv.uD(b);if(c&&c.vE==a)return c}};iv=iv||{};
var Ov=function(){var a=[],b;for(b in Nv)a.push(Nv[b]);hv.call(this,a);this.Yk={};Xu("EventBus is ready.")};$u(Ov,hv);var Nv={FV:"sessionSelectorChanged",uB:"sessionStateChanged",fB:"authResult",ZT:"displayIFrame"},Qv=function(a,b){var c=Pv;a&&b&&(c.Yk[a]||(c.Yk[a]=[]),0>Zu(c.Yk[a],b)&&c.Yk[a].push(b))},Rv=function(a){var b=Pv;a&&(b.Yk[a]||(b.Yk[a]=[]))},Sv=function(a,b,c){return b&&a.Yk[b]&&0<=Zu(a.Yk[b],c)};_.g=Ov.prototype;
_.g.v3=function(a){var b,c=!!a.source&&(a.source===_.nv||a.source.opener===window);if(b=c?iv.yZ(a.origin):iv.TY(a)){try{var d=_.gv.parse(a.data)}catch(e){Xu("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.El){Xu("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.kj[c.id])delete b.kj[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?Xu("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.CO[a.type]?(d=this.CO[a.type],
c&&!d.rW?Xu("Bad IDP event. Source window cannot be a popup."):d.Lq&&!d.Lq.call(this,b,a)?Xu("Bad IDP event."):d.nf.call(this,b,a)):Xu("Bad IDP event.")}else Xu("Bad event, no corresponding Idp Stub.")};_.g.T4=function(a,b){return Sv(this,a.tb,b.clientId)};_.g.S4=function(a,b){b=b.clientId;return!b||Sv(this,a.tb,b)};_.g.FW=function(a,b){return Sv(this,a.tb,b.clientId)};_.g.D2=function(a,b){a.Sm=!0;a.su=!!b.cookieDisabled;Gv(a);for(b=0;b<a.Wp.length;b++)Hv(a,a.Wp[b].An,a.Wp[b].callback);a.Wp=[]};
_.g.C2=function(a,b){b={error:b.error};a.Sm=!0;a.uE=!0;a.zO=b;a.Wp=[];Gv(a)};_.g.vz=function(a,b){b.originIdp=a.tb;this.dispatchEvent(b)};var Pv=new Ov,Tv=Pv,Uv={};Uv.idpReady={nf:Tv.D2};Uv.idpError={nf:Tv.C2};Uv.sessionStateChanged={nf:Tv.vz,Lq:Tv.T4};Uv.sessionSelectorChanged={nf:Tv.vz,Lq:Tv.S4};Uv.authResult={nf:Tv.vz,Lq:Tv.FW,rW:!0};Uv.displayIFrame={nf:Tv.vz};Pv.CO=Uv||{};dv(window,"message",function(a){Pv.v3.call(Pv,a)});
_.Vv=function(a,b){this.we=!1;if(!a)throw Error("ia");var c=[],d;for(d in a)c.push(a[d]);hv.call(this,c);this.Xc=[location.protocol,"//",location.host].join("");this.Yd=b.crossSubDomains?b.domain||this.Xc:this.Xc;if(!b)throw Error("ja");if(!b.idpId)throw Error("ka");if(!_.lv(b.idpId,"authServerUrl")||!_.lv(b.idpId,"idpIFrameUrl"))throw Error("la`"+b.idpId);this.tb=b.idpId;this.Rb=void 0;this.CX=!!b.disableTokenRefresh;this.sY=!!b.forceTokenRefresh;this.S5=!!b.skipTokenCache;this.Gq=!!b.supportBlocked3PCookies;
b.pluginName&&(this.l3=b.pluginName);b.ackExtensionDate&&(this.kW=b.ackExtensionDate);this.setOptions(b);this.Br=[];this.su=this.Ej=this.hP=!1;this.Bi=void 0;this.cR();this.wd=void 0;var e=this,f=function(){Xu("Token Manager is ready.");if(e.Br.length)for(var h=0;h<e.Br.length;h++)e.Br[h].call(e);e.hP=!0;e.Br=[]};iv.vy(this.tb,function(h){e.wd=h;h.Sm&&h.uE?(e.Ej=!0,e.Bi=h.Cm(),e.Np(e.Bi)):(e.su=h.iy(),e.Rb?Mv(e.wd,e.Rb,e.l3,e.kW,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
(e.Bi={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.Ej=!0,e.Np(e.Bi)):l?m?n?(Yu("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."),
Qv(e.tb,e.Rb),f()):(e.Bi={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.Ej=!0,e.Np(e.Bi)):(Yu("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."),
Qv(e.tb,e.Rb),f()):(e.Bi={error:"Not a valid origin for the client: "+e.Xc+" has not been registered for client ID "+e.Rb+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Ej=!0,e.Np(e.Bi))}):(Rv(e.tb),f()))},this.Gq)};$u(_.Vv,hv);_.g=_.Vv.prototype;_.g.setOptions=function(){};_.g.cR=function(){};_.g.Np=function(){};_.g.iy=function(){return this.su};_.g.Cm=function(){return this.Bi};Wv=function(a,b,c){return function(){b.apply(a,c)}};
_.Xv=function(a,b,c){if(a.hP)b.apply(a,c);else{if(a.Ej)throw a.Bi;a.Br.push(Wv(a,b,c))}};_.Vv.prototype.kL=_.ea(12);_.Vv.prototype.qr=_.ea(10);_.Zv=function(a,b){_.Vv.call(this,a,b);this.LQ=new pv;this.Pj=this.qn=null;Yv(this)};$u(_.Zv,_.Vv);_.Zv.prototype.setOptions=function(){};
var $v=function(a,b){a.re={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Yd};b.crossSubDomains&&(a.re.policy=b.policy)},aw=function(a,b){if(!b.authParameters)throw Error("ma");if(!b.authParameters.scope)throw Error("na");if(!b.authParameters.response_type)throw Error("oa");a.fr=b.authParameters;a.fr.redirect_uri||(a.fr.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Oi=_.bv(b.rpcAuthParameters||a.fr);if(!a.Oi.scope)throw Error("pa");if(!a.Oi.response_type)throw Error("qa");
a:{var c=a.Oi.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!ev[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ra");b.enableSerialConsent&&(a.Oi.enable_serial_consent=!0);b.authResultIdentifier&&(a.GW=b.authResultIdentifier);b.spec_compliant&&(a.Oi.spec_compliant=b.spec_compliant)};
_.Zv.prototype.cR=function(){var a=this;Pv.addEventListener(Nv.FV,function(b){a.we&&a.re&&b.originIdp==a.tb&&!b.crossSubDomains==!a.re.crossSubDomains&&b.domain==a.re.domain&&b.id==a.re.id&&a.uQ(b)});Pv.addEventListener(Nv.uB,function(b){a.we&&b.originIdp==a.tb&&b.clientId==a.Rb&&a.vQ(b)});Pv.addEventListener(Nv.fB,function(b){_.nv=void 0;a.we&&b.originIdp==a.tb&&b.clientId==a.Rb&&b.id==a.Lj&&(a.qn&&(window.clearTimeout(a.qn),a.qn=null),a.Lj=void 0,a.it(b))});Pv.addEventListener(Nv.ZT,function(b){a.we&&
b.originIdp==a.tb&&(b.Sb?a.wd.Sb():a.wd.show())})};_.Zv.prototype.uQ=function(){};_.Zv.prototype.vQ=function(){};_.Zv.prototype.it=function(){};var cw=function(a,b){bw(a);a.CX||(a.Pj=jv.vX(function(){a.Ji(!0)},b-3E5),navigator.onLine&&a.Pj.start())},bw=function(a){a.Pj&&(a.Pj.clear(),a.Pj=null)},Yv=function(a){var b=window;fv()&&(b=document.body);dv(b,"online",function(){a.Pj&&a.Pj.start()});dv(b,"offline",function(){a.Pj&&a.Pj.clear()})};_.Zv.prototype.Ji=function(){};_.Zv.prototype.bQ=_.ea(13);
_.Zv.prototype.v1=function(a,b){if(!this.Rb)throw Error("va");this.wd.uy(this.Rb,this.Oi,this.re,a,b)};_.Zv.prototype.uy=function(a,b){_.Xv(this,this.v1,[a,b])};_.ew=function(a){this.ke=void 0;this.dh=!1;this.kq=void 0;_.Zv.call(this,_.dw,a)};$u(_.ew,_.Zv);_.dw={dK:"noSessionBound",Vq:"userLoggedOut",FT:"activeSessionChanged",uB:"sessionStateChanged",qK:"tokenReady",ZV:"tokenFailed",fB:"authResult",ERROR:"error"};
_.ew.prototype.setOptions=function(a){if(!a.clientId)throw Error("wa");this.Rb=a.clientId;this.Ba=a.id;$v(this,a);aw(this,a)};_.ew.prototype.Np=function(a){this.dispatchEvent({type:_.dw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.tb})};var fw=function(a){bw(a);a.kq=void 0;a.py=void 0};_.g=_.ew.prototype;
_.g.uQ=function(a){var b=a.newValue||{};if(this.ke!=b.hint||this.dh!=!!b.disabled){a=this.ke;var c=!this.ke||this.dh;fw(this);this.ke=b.hint;this.dh=!!b.disabled;(b=!this.ke||this.dh)&&!c?this.dispatchEvent({type:_.dw.Vq,idpId:this.tb}):b||(a!=this.ke&&this.dispatchEvent({type:_.dw.FT,idpId:this.tb}),this.ke&&this.Ji())}};
_.g.vQ=function(a){this.dh||(this.ke?a.user||this.kq?a.user==this.ke&&(this.kq?a.sessionState?this.kq=a.sessionState:(fw(this),this.dispatchEvent({type:_.dw.Vq,idpId:this.tb})):a.sessionState&&(this.kq=a.sessionState,this.Ji())):this.Ji():this.dispatchEvent({type:_.dw.uB,idpId:this.tb}))};_.g.it=function(a){this.dispatchEvent({type:_.dw.fB,authResult:a.authResult})};_.g.Yr=_.ea(15);_.g.Sr=function(a){_.Xv(this,this.jD,[a])};_.g.jD=function(a){Kv(this.wd,this.re,a)};
_.g.BA=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("xa");fw(this);this.ke=a;this.dh=!1;b&&_.Lv(this.wd,this.re,!1,this.ke);this.we=!0;this.Ji(c,!0,d)};_.g.start=function(){_.Xv(this,this.ku,[])};
_.g.ku=function(){var a=this.Rb==cv("client_id")?cv("login_hint"):void 0;var b=this.Rb==cv("client_id")?cv("state"):void 0;this.FF=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.BA(a,!0,!0,!0);else{var c=this;this.Sr(function(d){c.we=!0;d&&d.hint?(fw(c),c.ke=d.hint,c.dh=!!d.disabled,c.dh?c.dispatchEvent({type:_.dw.Vq,idpId:c.tb}):c.BA(d.hint)):(fw(c),c.ke=void 0,c.dh=!(!d||!d.disabled),c.dispatchEvent({type:_.dw.dK,
autoOpenAuthUrl:!c.dh,idpId:c.tb}))})}};_.g.pY=function(){var a=this;this.Sr(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.dw.Vq,idpId:a.tb}):a.Ji(!0):a.dispatchEvent({type:_.dw.dK,idpId:a.tb})})};_.g.TM=function(){_.Xv(this,this.pY,[])};
_.g.Ji=function(a,b,c){var d=this;this.wd.Ji(this.Rb,this.Oi,this.ke,this.re,function(e,f){(f=f||e.error)?"user_logged_out"==f?(fw(d),d.dispatchEvent({type:_.dw.Vq,idpId:d.tb})):(d.py=null,d.dispatchEvent({type:_.dw.ZV,idpId:d.tb,error:f})):(d.py=e,d.kq=e.session_state,cw(d,e.expires_at),e.idpId=d.tb,b&&d.FF&&(e.state=d.FF,d.FF=void 0),d.dispatchEvent({type:_.dw.qK,idpId:d.tb,response:e}))},this.Ba,a,!1,void 0===c?!1:c)};_.g.revoke=_.ea(8);_.g.sR=_.ea(16);
_.gw=function(a){this.Sl=null;_.Zv.call(this,{},a);this.we=!0};$u(_.gw,_.Zv);_.g=_.gw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("wa");this.Rb=a.clientId;this.Ba=a.id;$v(this,a);aw(this,a)};_.g.Np=function(a){this.Sl&&(this.Sl({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Sl=null)};_.g.it=function(a){if(this.Sl){var b=this.Sl;this.Sl=null;b(a)}};_.g.Yr=_.ea(14);_.g.Sr=function(a){this.Ej?a(this.Cm()):_.Xv(this,this.jD,[a])};
_.g.jD=function(a){Kv(this.wd,this.re,a)};_.hw=function(a,b,c){a.Ej?c(a.Cm()):_.Xv(a,a.T2,[b,c])};_.gw.prototype.T2=function(a,b){this.wd.Ji(this.Rb,this.Oi,a,this.re,function(c,d){d?b({error:d}):b(c)},this.Ba,this.sY,this.S5)};_.gw.prototype.EP=_.ea(17);
var iw=function(a){return Array.prototype.concat.apply([],arguments)},jw=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 _.Kh(a,3).substring(0,64)},kw=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},lw=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},mw=function(a,b,c){if(!a.we)throw Error("sa");b?_.Lv(a.wd,a.re,!0,void 0,c):_.Lv(a.wd,a.re,!0,a.ke,c)},nw=function(a){if(!a.we)throw Error("sa");return a.py},ow,pw,qw,rw,sw,tw,uw,vw,ww,yw;_.gw.prototype.EP=_.cb(17,function(a,b){var c=this.wd,d=this.Rb,e=this.re,f=_.bv(this.Oi);delete f.response_type;_.Iv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
_.ew.prototype.sR=_.cb(16,function(a){nw(this)&&nw(this).access_token&&(this.wd.revoke(this.Rb,nw(this).access_token,a),mw(this,!0))});
_.ew.prototype.Yr=_.cb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.iy()&&a.Gq&&(kw()||lw())){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.tb};a.py=b;a.dispatchEvent({type:_.dw.qK,idpId:a.tb,response:b})}else a.BA(b.authResult.login_hint,a.dh||b.authResult.login_hint!=a.ke,!0,!0)}});
_.gw.prototype.Yr=_.cb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.Sr(function(d){_.Lv(b.wd,b.re,d&&d.disabled,c.authResult.login_hint,function(){_.hw(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"})}});_.Zv.prototype.bQ=_.cb(13,function(){this.Rb&&_.Iv(this.wd,"startPolling",{clientId:this.Rb,origin:this.Xc,id:this.Lj})});
_.Fv.prototype.revoke=_.cb(9,function(a,b,c){_.Iv(this,"revoke",{clientId:a,token:b},c)});_.ew.prototype.revoke=_.cb(8,function(a){_.Xv(this,this.sR,[a])});ow=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};
pw=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};
qw=function(a,b,c,d,e,f,h){var k=_.lv(a,"authServerUrl");if(!k)throw Error("ca`"+a);a=_.bv(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=pw())&&(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("&")};
rw=function(a,b,c,d){if(!a.Rb)throw Error("ta");a.Lj=c||a.GW||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Xc.split("//");c=b.extraQueryParams;var f=e[0],h=f.indexOf(":");0<h&&(f=f.substring(0,h));e=["storagerelay://",f,"/",e[1],"?"];e.push("id="+a.Lj);c.redirect_uri=e.join("")}return qw(a.tb,a.Yd,a.Rb,a.fr,!0,b,d)};sw=function(a,b,c){if(!a.Rb)throw Error("ta");return qw(a.tb,a.Yd,a.Rb,a.fr,!1,b,c)};
tw=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(" ")};uw=function(a,b){a.qn&&window.clearTimeout(a.qn);a.qn=window.setTimeout(function(){a.Lj==b&&(_.nv=void 0,a.qn=null,a.Lj=void 0,a.it({authResult:{error:"popup_closed_by_user"}}))},1E3)};
vw=function(a,b,c){if(!a.Rb)throw Error("ua");c=c||{};a.iy()&&a.Gq&&(kw()||lw())&&(c.responseType=tw(c.responseType));c=rw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||ow())&&_.Xv(a,a.bQ,[]);var d=a.Lj;a.LQ.open(c,b,function(){a.Lj==d&&uw(a,d)},function(){a.Lj=void 0;a.it({authResult:{error:"popup_blocked_by_browser"}})})};ww=function(a,b,c){a.Ej?c(a.Cm()):_.Xv(a,a.EP,[b,c])};
_.xw=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("")};
yw=function(a){var b=[];_.Lh(a,function(c){b.push(c)});return b};_.zw=function(a,b){_.si[b||"token"]=a};_.Aw=function(a){delete _.si[a||"token"]};_.gv={parse:function(a){a=_.Vf("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Wf(a)}};_.gw.prototype.XC=function(a,b){_.Xv(this,this.gY,[a,b])};_.gw.prototype.gY=function(a,b){this.wd.XC(this.Rb,a,this.Oi,this.re,b)};_.Fv.prototype.XC=function(a,b,c,d,e){c=_.bv(c);_.Iv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Bw,Cw=["client_id","cookie_policy","scope"],Dw="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(" "),Ew=["authuser","after_redirect","access_type","hl"],Fw=["login_hint","prompt"],Gw={clientid:"client_id",cookiepolicy:"cookie_policy"},Hw=["approval_prompt",
"authuser","login_hint","prompt","hd"],Iw=["login_hint","g-oauth-window","status"],Jw=Math.min(_.ff("oauth-flow/authWindowWidth",599),screen.width-20),Kw=Math.min(_.ff("oauth-flow/authWindowHeight",600),screen.height-30);var Lw=function(a){_.fb.call(this,a)};_.L(Lw,_.fb);Lw.prototype.name="gapi.auth2.ExternallyVisibleError";var Mw=function(){};Mw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Nw=function(){};Nw.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 Ow=function(a){this.HW=a};
Ow.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 Pw=function(a){this.Ud=a;this.Vz=[]};Pw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.Vz[b];f?(b++,c.Ud.uy(function(h){h?f.select(h,d):d()})):a()}};d()};var Qw=function(a){a=new Pw(a);a.Vz.push(new Mw);return a},Rw=function(a){a=new Pw(a);a.Vz.push(new Nw);return a},Sw=function(a,b){void 0===b||null===b?b=Qw(a):(a=new Pw(a),a.Vz.push(new Ow(b)),b=a);return b};var Tw=function(a){this.nf=a;this.isActive=!0};Tw.prototype.remove=function(){this.isActive=!1};Tw.prototype.trigger=function(){};var Uw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Vw=function(){this.Vb=[]};Vw.prototype.add=function(a){this.Vb.push(a)};Vw.prototype.notify=function(a){for(var b=this.Vb,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.dk(Ww(e.nf,a)))}this.Vb=c};var Ww=function(a,b){return function(){a(b)}};var Yw=function(a){this.Pb=null;this.L6=new Xw(this);this.Vb=new Vw;void 0!=a&&this.set(a)};Yw.prototype.set=function(a){a!=this.Pb&&(this.Pb=a,this.L6.value=a,this.Vb.notify(this.Pb))};Yw.prototype.get=function(){return this.Pb};Yw.prototype.V=function(a){a=new Zw(this,a);this.Vb.add(a);return a};Yw.prototype.get=Yw.prototype.get;var Zw=function(a,b){Tw.call(this,b);this.A1=a};_.L(Zw,Tw);Zw.prototype.trigger=function(){var a=this.nf;a(this.A1.get())};var Xw=function(a){this.value=null;this.V=function(b){return new Uw(a.V(b))}};var $w={c9:"fetch_basic_profile",d$:"login_hint",Baa:"prompt",Iaa:"redirect_uri",Zaa:"scope",oca:"ux_mode",Kba:"state"},ax=function(a){this.Ha={};if(a&&!_.Xi(a))if("function"==typeof a.get)this.Ha=a.get();else for(var b in $w){var c=$w[b];c in a&&(this.Ha[c]=a[c])}};ax.prototype.get=function(){return this.Ha};ax.prototype.jS=function(a){this.Ha.scope=a;return this};ax.prototype.ts=function(){return this.Ha.scope};
var bx=function(a,b){var c=a.Ha.scope;b=iw(b.split(" "),c?c.split(" "):[]);_.Dh(b);a.Ha.scope=b.join(" ")};_.g=ax.prototype;_.g.v5=function(a){this.Ha.prompt=a;return this};_.g.AZ=function(){return this.Ha.prompt};_.g.W4=function(){_.$f.warn("Property app_package_name no longer supported and was not set");return this};_.g.AY=function(){_.$f.warn("Property app_package_name no longer supported")};_.g.Ve=function(a){this.Ha.state=a};_.g.getState=function(){return this.Ha.state};var cx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Jw,"height="+Kw,"top="+(screen.height-Kw)/2,"left="+(screen.width-Jw)/2].join()},dx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.xw(yw(a)))},ex=function(){Bw=_.ff("auth2/idpValue","google");var a=_.ff("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
b=_.ff("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.mv(Bw,{authServerUrl:a,idpIFrameUrl:b})},fx=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}_.Rb(a[e])||(a[e]={});a=a[e]}},gx=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},ix=function(){var a=hx();a.storage_path&&window.sessionStorage.setItem(a.storage_path,gx()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Lw("gapi.auth2 is disabled on this website, but it is still used on page "+
window.location.href);"informational"==a.status.toLowerCase()&&_.$f.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var jx=function(a){var b=a?(b=dx(a))?b.sub:null:null;this.Ba=b;this.zc=a?_.Uj(a):null};_.g=jx.prototype;_.g.getId=function(){return this.Ba};_.g.rD=function(){var a=dx(this.zc);return a?a.hd:null};_.g.Vf=function(){return!!this.zc};_.g.Fk=function(a){if(a)return this.zc;a=kx;var b=_.Uj(this.zc);!a.Tx||a.pE||a.d0||(delete b.access_token,delete b.scope);return b};_.g.qG=function(){return kx.qG()};_.g.Zj=function(){this.zc=null};_.g.dZ=function(){return this.zc?this.zc.scope:null};
_.g.update=function(a){this.Ba=a.Ba;this.zc=a.zc;this.zc.id_token?this.tv=new lx(this.zc):this.tv&&(this.tv=null)};var mx=function(a){return a.zc&&"object"==typeof a.zc.session_state?_.Uj(a.zc.session_state.extraQueryParams||{}):{}};_.g=jx.prototype;_.g.hD=function(){var a=mx(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
_.g.Yj=function(a){var b=kx,c=new ax(a);b.pE=c.ts()?!0:!1;kx.Tx&&bx(c,"openid profile email");return new _.ok(function(d,e){var f=mx(this);f.login_hint=this.getId();f.scope=c.ts();nx(b,d,e,f)},this)};_.g.vs=function(a){return new _.ok(function(b,c){var d=a||{},e=kx;d.login_hint=this.getId();e.vs(d).then(b,c)},this)};_.g.SZ=function(a){return this.Yj(a)};_.g.disconnect=function(){return kx.disconnect()};_.g.DY=function(){return this.tv};
_.g.Ex=function(a){if(!this.Vf())return!1;var b=this.zc&&this.zc.scope?this.zc.scope.split(" "):"";return _.fc(a?a.split(" "):[],function(c){return _.hb(b,c)})};var lx=function(a){a=dx(a);this.xY=a.sub;this.yf=a.name;this.OZ=a.given_name;this.eY=a.family_name;this.IO=a.picture;this.fw=a.email};_.g=lx.prototype;_.g.getId=function(){return this.xY};_.g.xg=function(){return this.yf};_.g.bZ=function(){return this.OZ};_.g.VY=function(){return this.eY};_.g.jZ=function(){return this.IO};_.g.Zr=function(){return this.fw};var hx,ox;hx=function(){var a=_.hi.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]}:(_.$f.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};ox=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
_.px=function(a){if(!a)throw new Lw("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 Lw("Invalid cookiePolicy");a=c[2];c=c[1];var d={};d.dotValue=a.split(".").length;d.isSecure=-1!=c.indexOf("https");d.domain=a;if(!_.bj(b,"."+a)&&!_.bj(b,a))throw new Lw("Invalid cookiePolicy domain");return d};var rx=function(a){var b=a||{},c=qx();_.cc(Dw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},qx=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;Gw[d]&&(d=Gw[d]);_.hb(Dw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},sx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},tx=function(a){_.cc(Dw,
function(b){var c=sx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},ux=function(a){a=rx(a);tx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Dw+Ew,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},vx=function(a,b){if(!a)throw new Lw("Empty initial options.");for(var c=0;c<Cw.length;++c)if(!(b&&"scope"==Cw[c]||a[Cw[c]]))throw new Lw("Missing required parameter '"+Cw[c]+"'");_.px(a.cookie_policy)},xx=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:ox(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Bw};wx(b,a);_.cc(Fw,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=_.ff("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},wx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||jw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Cx=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=yx(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:ox(c),idpId:Bw};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||jw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.cc(Fw.concat(Ew),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 zx(a.response_type||"token"),
Ax(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Bx(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=_.ff("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},yx=function(a){a=new zx(a.response_type||"token");var b=[];Bx(a)&&b.push("token");Dx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Ex=["permission","id_token"],Fx=/(^|[^_])token/,zx=function(a){this.bq=[];this.IE(a)};
zx.prototype.IE=function(a){a?((0<=a.indexOf("permission")||a.match(Fx))&&this.bq.push("permission"),0<=a.indexOf("id_token")&&this.bq.push("id_token"),0<=a.indexOf("code")&&this.bq.push("code")):this.bq=Ex};var Ax=function(a){return Dx(a,"code")},Bx=function(a){return Dx(a,"permission")};zx.prototype.toString=function(){return this.bq.join(" ")};var Dx=function(a,b){var c=!1;_.cc(a.bq,function(d){d==b&&(c=!0)});return c};var Hx=function(a,b,c){this.hn=b;this.n2=a;for(var d in a)a.hasOwnProperty(d)&&Gx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.hn[c[a]]},Gx=function(a,b){a[b]=function(){return a.n2[b].apply(a.hn,arguments)}};Hx.prototype.then=function(a,b,c){var d=this;return _.sk().then(function(){return Ix(d.hn,a,b,c)})};_.Xj(Hx);var kx,Jx,Lx;kx=null;_.Kx=function(){return kx?Jx():null};Jx=function(){return new Hx(Lx.prototype,kx,["currentUser","isSignedIn"])};Lx=function(a){delete a.include_granted_scopes;this.Ha=xx(a);this.tX=a.cookie_policy;this.d0=!!a.scope;(this.Tx=!1!==a.fetch_basic_profile)&&(this.Ha.authParameters.scope=Mx(this,"openid profile email"));_.ei.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Gq=this.Ha.supportBlocked3PCookies=!0);this.Gs=a.hosted_domain;this.I6=a.ux_mode||"popup";this.C3=a.redirect_uri||null;this.FE()};
Lx.prototype.FE=function(){this.currentUser=new Yw(new jx(null));this.isSignedIn=new Yw(!1);this.Ud=new _.ew(this.Ha);this.Zx=this.vp=null;this.i1=new _.ok(function(a,b){this.vp=a;this.Zx=b},this);this.Qy={};this.Ps=!0;Nx(this);this.Ud.start()};
var Nx=function(a){a.Ud.addEventListener("error",function(b){a.Ps&&a.vp&&(a.Ps=!1,a.Zx({error:b.error,details:b.details}),a.vp=null,a.Zx=null)});a.Ud.addEventListener("authResult",function(b){b&&b.authResult&&a.ef(b);a.Ud.Yr()(b)});a.Ud.addEventListener("tokenReady",function(b){var c=new jx(b.response);if(a.Gs&&a.Gs!=c.rD())a.ef({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.rD(),expectedDomain:a.Gs});else{a.currentUser.get().update(c);
var d=a.currentUser;d.Vb.notify(d.Pb);a.isSignedIn.set(!0);c=c.hD();(d=_.px(a.tX))&&c&&_.hi.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.Je?"S":"H",d.ei].join(""),c,{domain:d.domain,secure:d.isSecure});_.zw(b.response);a.ef(b)}});a.Ud.addEventListener("noSessionBound",function(b){a.Ps&&b.autoOpenAuthUrl?(a.Ps=!1,Qw(a.Ud).select(function(c){if(c&&c.login_hint){var d=a.Ud;_.Xv(d,d.BA,[c.login_hint,!0])}else a.currentUser.set(new jx(null)),a.isSignedIn.set(!1),_.Aw(),a.ef(b)})):(a.currentUser.set(new jx(null)),
a.isSignedIn.set(!1),_.Aw(),a.ef(b))});a.Ud.addEventListener("tokenFailed",function(b){a.ef(b)});a.Ud.addEventListener("userLoggedOut",function(b){a.currentUser.get().Zj();var c=a.currentUser;c.Vb.notify(c.Pb);a.isSignedIn.set(!1);_.Aw();a.ef(b)})},Ix=function(a,b,c,d){return a.i1.then(function(e){if(b)return b(e.QZ)},c,d)};Lx.prototype.ef=function(a){if(a){this.Ps=!1;var b=a.type||"";if(this.Qy[b])this.Qy[b](a);this.vp&&(this.vp({QZ:this}),this.Zx=this.vp=null)}};
var Ox=function(a,b){_.lb(b,function(c,d){a.Qy[d]=function(e){a.Qy={};c(e)}})},nx=function(a,b,c,d){d=_.Uj(d);a.Gs&&(d.hd=a.Gs);var e=d.ux_mode||a.I6;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.C3||gx()+window.location.pathname),Px(a,f)):(delete d.redirect_uri,Qx(a,f),Ox(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Ox(a,{tokenReady:function(){b(a.currentUser.get())},
tokenFailed:c})}}))};Lx.prototype.Yj=function(a){return new _.ok(function(b,c){var d=new ax(a);this.pE=d.ts()?!0:!1;this.Tx?(d.Ha.fetch_basic_profile=!0,bx(d,"email profile openid")):d.Ha.fetch_basic_profile=!1;var e=Mx(this,d.ts());d.jS(e);nx(this,b,c,d.get())},this)};
Lx.prototype.vs=function(a){var b=a||{};this.pE=!!b.scope;a=Mx(this,b.scope);if(""==a)return _.tk({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.cc(Hw,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=Rx(this,c):(c.redirect_uri=b.redirect_uri,Px(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
a=_.sk({message:"Redirecting to IDP."}));return a};
var Rx=function(a,b){b.origin=gx();delete b.redirect_uri;Qx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.ok(function(c,d){Ox(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Qx=function(a,b){fx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");vw(a.Ud,cx(),b)},Px=function(a,b){fx(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(sw(a.Ud,b.sessionMeta,
b.responseType))};Lx.prototype.Zj=function(a){var b=a||!1;return new _.ok(function(c){mw(this.Ud,b,function(){c()})},this)};Lx.prototype.qN=function(){return this.Ha.authParameters.scope};var Mx=function(a,b){a=a.qN();b=iw(b?b.split(" "):[],a?a.split(" "):[]);_.Dh(b);return b.join(" ")};Lx.prototype.qG=function(){var a=this;return new _.ok(function(b,c){Ox(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Ud.TM()})};
Lx.prototype.SK=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.wj(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.Yj(f).then(function(h){c&&c(h)},function(h){d&&d(h)})})}else d&&d({error:"Could not attach click handler to the element. Reason: element not found."})};Lx.prototype.disconnect=function(){return new _.ok(function(a){this.Ud.revoke(function(){a()})},this)};Lx.prototype.attachClickHandler=Lx.prototype.SK;var Sx;_.ok.prototype["catch"]=_.ok.prototype.ru;Sx=null;_.Tx=function(a){ix();a=ux(a);if(kx){if(_.Tj(a,Sx||{}))return Jx();throw new Lw("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}vx(a,!1!==a.fetch_basic_profile);ex();Sx=a;kx=new Lx(a);_.Ye.ga=1;return Jx()};var Vx,Xx,Ux,Zx,Yx,$x;_.Wx=function(a,b){ix();ex();a=ux(a);vx(a);var c=Cx(a),d=new _.gw(c);"none"==a.prompt?Ux(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)}):Vx(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.LQ.Ih;b(e)})};
Vx=function(a,b,c){var d=new zx(b.response_type);c=Xx(a,d,c);var e={responseType:d.toString()};fx(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Ax(d)&&fx(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&fx(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&fx(e,["sessionMeta","extraQueryParams","state"],b.state);b=cx();a.Ej?c({authResult:{error:"idpiframe_initialization_failed",details:a.Cm().error}}):(a.Sl=
c,vw(a,b,e))};Xx=function(a,b,c){if(Bx(b)){var d=Yx(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Yr(function(f){f&&!f.error?(f=_.Uj(f),Ax(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(_.Uj(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
Ux=function(a,b,c){if(Ax(new zx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=Yx(c);b.login_hint?a.XC(b.login_hint,function(e){e?Zx(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Sw(a,b.authuser).select(function(e){e&&e.login_hint?Zx(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.Sr(function(e){e&&e.hint?Zx(a,b,e.hint,d):e&&e.disabled?
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Rw(a):Qw(a)).select(function(f){f&&f.login_hint?Zx(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};Zx=function(a,b,c,d){b=new zx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.Zi(f,k),0==e&&d(f))};(Bx(b)||Dx(b,"id_token"))&&e++;Ax(b)&&e++;(Bx(b)||Dx(b,"id_token"))&&_.hw(a,c,h);Ax(b)&&ww(a,c,h)};
Yx=function(a){return function(b){if(!b||b.error)_.Aw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Uj(b);$x(c);delete c.id_token;delete c.code;_.zw(c)}a(b)}}};$x=function(a){_.cc(Iw,function(b){delete a[b]})};_.E("gapi.auth2.init",_.Tx);_.E("gapi.auth2.authorize",function(a,b){if(null!=kx)throw new Lw("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).");_.Wx(a,function(c){$x(c);b(c)})});_.E("gapi.auth2._gt",function(){return _.ti()});_.E("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Wu="0"!=a&&!!a});_.E("gapi.auth2.getAuthInstance",_.Kx);
_.E("gapi.auth2.BasicProfile",lx);_.E("gapi.auth2.BasicProfile.prototype.getId",lx.prototype.getId);_.E("gapi.auth2.BasicProfile.prototype.getName",lx.prototype.xg);_.E("gapi.auth2.BasicProfile.prototype.getGivenName",lx.prototype.bZ);_.E("gapi.auth2.BasicProfile.prototype.getFamilyName",lx.prototype.VY);_.E("gapi.auth2.BasicProfile.prototype.getImageUrl",lx.prototype.jZ);_.E("gapi.auth2.BasicProfile.prototype.getEmail",lx.prototype.Zr);_.E("gapi.auth2.GoogleAuth",Lx);
_.E("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Lx.prototype.SK);_.E("gapi.auth2.GoogleAuth.prototype.disconnect",Lx.prototype.disconnect);_.E("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Lx.prototype.vs);_.E("gapi.auth2.GoogleAuth.prototype.signIn",Lx.prototype.Yj);_.E("gapi.auth2.GoogleAuth.prototype.signOut",Lx.prototype.Zj);_.E("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Lx.prototype.qN);_.E("gapi.auth2.GoogleUser",jx);_.E("gapi.auth2.GoogleUser.prototype.grant",jx.prototype.SZ);
_.E("gapi.auth2.GoogleUser.prototype.getId",jx.prototype.getId);_.E("gapi.auth2.GoogleUser.prototype.isSignedIn",jx.prototype.Vf);_.E("gapi.auth2.GoogleUser.prototype.getAuthResponse",jx.prototype.Fk);_.E("gapi.auth2.GoogleUser.prototype.getBasicProfile",jx.prototype.DY);_.E("gapi.auth2.GoogleUser.prototype.getGrantedScopes",jx.prototype.dZ);_.E("gapi.auth2.GoogleUser.prototype.getHostedDomain",jx.prototype.rD);_.E("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",jx.prototype.vs);
_.E("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",jx.prototype.Ex);_.E("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",jx.prototype.qG);_.E("gapi.auth2.LiveValue",Yw);_.E("gapi.auth2.LiveValue.prototype.listen",Yw.prototype.V);_.E("gapi.auth2.LiveValue.prototype.get",Yw.prototype.get);_.E("gapi.auth2.SigninOptionsBuilder",ax);_.E("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",ax.prototype.AY);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",ax.prototype.W4);
_.E("gapi.auth2.SigninOptionsBuilder.prototype.getScope",ax.prototype.ts);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setScope",ax.prototype.jS);_.E("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",ax.prototype.AZ);_.E("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",ax.prototype.v5);_.E("gapi.auth2.SigninOptionsBuilder.prototype.get",ax.prototype.get);
_.jf=_.jf||{};
(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}_.jf.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)};_.jf.CL=function(b){var c=_.jf.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(_.jf.IC(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.jf.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};_.jf.aN=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};_.jf.Eea=function(b){return a(b)}})();
_.Lg=window.gapi&&window.gapi.util||{};
_.Lg=_.Lg={};_.Lg.getOrigin=function(a){return _.Ng(a)};
_.Ly=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Hi:!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=_.Jy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.Je;return!d&&("U"!==c||e.Je)||d&&!_.Ky?b:{Hi:!0,Je:d,jX:a.substr(1),domain:e.domain,ei:e.ei}};_.My=function(a,b){this.yf=a;a=b||{};this.S1=Number(a.maxAge)||0;this.Yd=a.domain;this.ul=a.path;this.I4=!!a.secure};_.My.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)}};
_.My.prototype.write=function(a,b){if(!Ny.test(this.yf))throw"Invalid cookie name";if(!Oy.test(a))throw"Invalid cookie value";a=this.yf+"="+a;this.Yd&&(a+=";domain="+this.Yd);this.ul&&(a+=";path="+this.ul);b="number"===typeof b?b:this.S1;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.I4&&(a+=";secure");document.cookie=a;return!0};_.My.prototype.clear=function(){this.write("",0)};var Oy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Ny=/^[A-Z_][A-Z0-9_]{0,63}$/;
_.My.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("="))}};_.Py=function(a){this.Ii=a};_.Py.prototype.read=function(){if(Qy.hasOwnProperty(this.Ii))return Qy[this.Ii]};_.Py.prototype.write=function(a){Qy[this.Ii]=a;return!0};_.Py.prototype.clear=function(){delete Qy[this.Ii]};var Qy={};_.Py.iterate=function(a){for(var b in Qy)Qy.hasOwnProperty(b)&&a(b,Qy[b])};var Ry=function(){this.Pb=null;this.key=function(){return null};this.getItem=function(){return this.Pb};this.setItem=function(a,b){this.Pb=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Pb=null;this.length=0};this.length=0},Sy=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}},Ty=function(a,b){this.yf=a;this.ZI=
Sy(b)?b||window.sessionStorage:new Ry};Ty.prototype.read=function(){return this.ZI.getItem(this.yf)};Ty.prototype.write=function(a){try{this.ZI.setItem(this.yf,a)}catch(b){return!1}return!0};Ty.prototype.clear=function(){this.ZI.removeItem(this.yf)};Ty.iterate=function(a){if(Sy())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};_.Ky="https:"===window.location.protocol;_.Uy=_.Ky||"http:"===window.location.protocol?_.My:_.Py;_.Jy=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{Je:"S"==a.charAt(0),domain:d,ei:c}};var Vy,Wy,Zy,$y;Vy=_.Oe();Wy=_.Oe();_.Xy=_.Oe();_.Yy=_.Oe();Zy="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");$y=function(a){this.IQ=a;this.oF=null};
$y.prototype.write=function(a){var b=_.Oe(),c=_.Oe(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.Pe(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=Zy.length;for(e=0;e<d;++e)delete c[Zy[e]];a=String(a.authuser||0);d=_.Oe();d[a]=c;c=_.Wf(d);this.IQ.write(c);this.oF=b};$y.prototype.read=function(){return this.oF};$y.prototype.clear=function(){this.IQ.clear();this.oF=_.Oe()};_.az=function(a){return a?{domain:a.domain,path:"/",secure:a.Je}:null};
Ty.iterate(function(a){var b=_.Ly(a);b&&b.Hi&&(Vy[a]=new $y(new Ty(a)))});_.Uy.iterate(function(a){Vy[a]&&(Wy[a]=new _.Uy(a,_.az(_.Ly(a))))});
_.ii=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,bi: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 ki=function(a,b,c){var d=String(_.u.location.href);return d&&a&&b?[b,ji(_.Ng(d),a,c||null)].join(" "):null},ji=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.cc(d,function(k){e.push(k)}),li(e.join(" "));var f=[],h=[];_.cc(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];_.cc(d,function(k){e.push(k)});a=li(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},li=function(a){var b=
_.ii();b.update(a);return b.bi().toLowerCase()};var oi;_.mi=function(a){return!!_.ei.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.ni=function(a){a=void 0===a?!1:a;var b=_.u.__SAPISID||_.u.__APISID||_.u.__3PSAPISID||_.u.__OVERRIDE_SID;_.mi(a)&&(b=b||_.u.__1PSAPISID);if(b)return!0;var c=new _.fi(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.mi(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};oi=function(a,b,c,d){(a=_.u[a])||(a=(new _.fi(document)).get(b));return a?ki(a,c,d):null};
_.pi=function(a,b){b=void 0===b?!1:b;var c=_.Ng(String(_.u.location.href)),d=[];if(_.ni(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 _.fi(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?ki(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.mi(b)&&((b=oi("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=oi("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
_.qi=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.mi(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.ri={kO:_.qi,f1:_.ni,wN:function(){var a=null;_.ni()&&(a=window.__PVT,null==a&&(a=(new _.fi(document)).get("BEAT")));return a},YM:_.pi};
_.ar=function(){return _.pb&&_.qb?_.qb.mobile:!_.$q()&&(_.tb("iPod")||_.tb("iPhone")||_.tb("Android")||_.tb("IEMobile"))};_.$q=function(){return _.pb&&_.qb?!_.qb.mobile&&(_.tb("iPad")||_.tb("Android")||_.tb("Silk")):_.tb("iPad")||_.tb("Android")&&!_.tb("Mobile")||_.tb("Silk")};
var xr,yr,zr,Br,Lr,Ar,Pr,Qr,Rr,Tr,Yr;xr=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.fb.call(this,c+a[d])};yr=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};
zr=function(a){return a.replace(_.cd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Uc(d)||_.Yc).zg();return c+f+b+f+e})};
Br=function(a){if(a instanceof _.Pc)return'url("'+_.Qc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.pc)a=_.qc(a);else{a=String(a);var b=a.replace(_.dd,"$1").replace(_.dd,"$1").replace(_.cd,"url");if(_.bd.test(b)){if(b=!Ar.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&&yr(a)}a=b?zr(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new xr("Value does not allow [{;}], got: %s.",[a]);return a};
_.Cr=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.Dr=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.Dr.prototype;_.g.clone=function(){return new _.Dr(this.x,this.y)};_.g.equals=function(a){return a instanceof _.Dr&&_.Cr(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 _.Dr?(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};_.Er=function(a,b){this.width=a;this.height=b};_.g=_.Er.prototype;_.g.clone=function(){return new _.Er(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};_.Fr=function(a){return"CSS1Compat"==a.compatMode};
_.Gr=function(a){a=a.document;a=_.Fr(a)?a.documentElement:a.body;return new _.Er(a.clientWidth,a.clientHeight)};_.Hr=function(a){return _.Gr(a||window)};_.Ir=function(a){return a.scrollingElement?a.scrollingElement:!_.Ld&&_.Fr(a)?a.documentElement:a.body||a.documentElement};_.Jr=function(a){var b=_.Ir(a);a=a.parentWindow||a.defaultView;return _.Gd&&a.pageYOffset!=b.scrollTop?new _.Dr(b.scrollLeft,b.scrollTop):new _.Dr(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
_.Kr=function(a,b,c,d){return _.qe(a.qb,b,c,d)};_.ab(xr,_.fb);xr.prototype.name="AssertionError";Lr={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};_.Mr=function(a){if(a instanceof _.$c&&a.constructor===_.$c)return a.jG;_.Tb(a);return"type_error:SafeStyle"};Ar=/\/\*/;
_.Nr=function(a){var b="",c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("m`"+c);var d=a[c];null!=d&&(d=Array.isArray(d)?d.map(Br).join(" "):Br(d),b+=c+":"+d+";")}return b?new _.$c(b,_.Zc):_.ad};_.Or=function(a){if(a instanceof _.fd&&a.constructor===_.fd)return a.iG;_.Tb(a);return"type_error:SafeStyleSheet"};Pr=/^[a-zA-Z0-9-]+$/;Qr={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};
Rr=function(a){var b=_.md(_.nd),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.md(e),c.push(_.Db(e).toString()))};a.forEach(d);return _.ld(c.join(_.Db(b).toString()))};_.Sr=function(a){return Rr(Array.prototype.slice.call(arguments))};Tr={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
_.Ur=function(a,b,c){var d=String(a);if(!Pr.test(d))throw Error("q");if(d.toUpperCase()in Qr)throw Error("q");a=String(a);d="<"+a;var e="";if(b)for(var f in b)if(Object.prototype.hasOwnProperty.call(b,f)){if(!Pr.test(f))throw Error("q");var h=b[f];if(null!=h){var k=f;if(h instanceof _.pc)h=_.qc(h);else if("style"==k.toLowerCase()){if(!_.Rb(h))throw Error("q");h instanceof _.$c||(h=_.Nr(h));h=_.Mr(h)}else{if(/^on/i.test(k))throw Error("q");if(k.toLowerCase()in Tr)if(h instanceof _.tc)h=_.vc(h);else if(h instanceof
_.Pc)h=_.Qc(h);else if("string"===typeof h)h=(_.Uc(h)||_.Yc).zg();else throw Error("q");}h.zi&&(h=h.zg());k=k+'="'+_.Jc(String(h))+'"';e+=" "+k}}b=d+e;null==c?c=[]:Array.isArray(c)||(c=[c]);!0===Lr[a.toLowerCase()]?b+=">":(f=_.Sr(c),b+=">"+_.Db(f).toString()+"</"+a+">");return _.ld(b)};_.Vr=function(a){return Number(_.ce)>=a};_.Wr=function(a){return _.ke('style[nonce],link[rel="stylesheet"][nonce]',a)};_.Xr=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
Yr=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Zr=function(a,b,c){return _.ye(document,arguments)};_.$r=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.$r.prototype;_.g.Mb=function(){return this.right-this.left};_.g.Bc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.$r(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.$r?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){_.Rb(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 _.Dr?(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 cs,is,gs,ls,xs,ks;_.bs=function(a,b,c){if("string"===typeof b)(b=_.as(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=_.as(c,d);f&&(c.style[f]=e)}};cs={};_.as=function(a,b){var c=cs[b];if(!c){var d=_.Xr(b);c=d;void 0===a.style[d]&&(d=(_.Ld?"Webkit":_.Kd?"Moz":_.Gd?"ms":null)+Yr(d),void 0!==a.style[d]&&(c=d));cs[b]=c}return c};
_.ds=function(a,b){var c=_.oe(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.es=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.fs=function(a,b){return _.ds(a,b)||_.es(a,b)||a.style&&a.style[b]};_.hs=function(a,b,c){if(b instanceof _.Dr){var d=b.x;b=b.y}else d=b,b=c;a.style.left=gs(d,!1);a.style.top=gs(b,!1)};
is=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
_.ms=function(a,b){b=b||_.Ir(document);var c=b||_.Ir(document);var d=_.js(a),e=_.js(c);if(_.Gd&&!_.Vr(9)){var f=ks(c,"borderLeft");var h=ks(c,"borderRight");var k=ks(c,"borderTop"),l=ks(c,"borderBottom");h=new _.$r(k,h,l,f)}else f=_.ds(c,"borderLeftWidth"),h=_.ds(c,"borderRightWidth"),k=_.ds(c,"borderTopWidth"),l=_.ds(c,"borderBottomWidth"),h=new _.$r(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.Ir(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.Gd&&!_.Vr(10)&&(f+=h.left,d+=h.top)):
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=ls(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 _.Dr(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.js=function(a){var b=_.oe(a),c=new _.Dr(0,0);var d=b?_.oe(b):document;d=!_.Gd||_.Vr(9)||_.Fr(_.pe(d).qb)?d.documentElement:d.body;if(a==d)return c;a=is(a);b=_.Jr(_.pe(b).qb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
_.os=function(a,b){var c=new _.Dr(0,0),d=_.ve(_.oe(a));if(!_.Ed(d,"parent"))return c;do{var e=d==b?_.js(a):_.ns(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.ns=function(a){a=is(a);return new _.Dr(a.left,a.top)};_.ps=function(a,b,c){if(b instanceof _.Er)c=b.height,b=b.width;else if(void 0==c)throw Error("P");a.style.width=gs(b,!0);a.style.height=gs(c,!0)};gs=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
_.qs=function(a){var b=ls;if("none"!=_.fs(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};ls=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Ld&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=is(a),new _.Er(a.right-a.left,a.bottom-a.top)):new _.Er(b,c)};_.rs=function(a,b){a.style.display=b?"":"none"};
_.ts=function(a){var b=_.pe(void 0),c=b.hb();if(_.Gd&&c.createStyleSheet)b=c.createStyleSheet(),_.ss(b,a);else{c=_.Kr(b,"HEAD")[0];if(!c){var d=_.Kr(b,"BODY")[0];c=b.na("HEAD");d.parentNode.insertBefore(c,d)}d=b.na("STYLE");var e=_.Wr();e&&d.setAttribute("nonce",e);_.ss(d,a);b.appendChild(c,d)}};_.ss=function(a,b){b=_.Or(b);_.Gd&&void 0!==a.cssText?a.cssText=b:_.u.trustedTypes?_.Ie(a,b):a.innerHTML=b};_.us=function(a){return"rtl"==_.fs(a,"direction")};
_.vs=_.Kd?"MozUserSelect":_.Ld||_.Hd?"WebkitUserSelect":null;_.ws=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};xs={thin:2,medium:4,thick:6};ks=function(a,b){if("none"==_.es(a,b+"Style"))return 0;b=_.es(a,b+"Width");return b in xs?xs[b]:_.ws(a,b)};
var hy;_.ey=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};_.fy=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})]||""}};
_.gy=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};
hy=function(a){var b=_.ob();if("Internet Explorer"===a)return _.wb()?_.gy(b):"";b=_.ey(b);var c=_.fy(b);switch(a){case "Opera":if(_.vb())return c(["Version","Opera"]);if(_.ub()?_.sb("Opera"):_.tb("OPR"))return c(["OPR"]);break;case "Microsoft Edge":if(_.xb())return c(["Edge"]);if(_.yb())return c(["Edg"]);break;case "Chromium":if(_.Ab())return c(["Chrome","CriOS","HeadlessChrome"])}return"Firefox"===a&&_.zb()||"Safari"===a&&_.Bb()||"Android Browser"===a&&_.Cb()||"Silk"===a&&_.tb("Silk")?(a=b[2])&&
a[1]||"":""};_.iy=function(a){if(_.ub()&&"Silk"!==a){var b=_.qb.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=hy(a);if(""===b)return NaN;b=b.split(".")}return 0===b.length?NaN:Number(b[0])};_.jy=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("Aa");return 2147483647<Number(b)?-1:_.u.setTimeout(a,b||0)};_.ky=function(a){_.u.clearTimeout(a)};
_.bz=function(a){_.dj.call(this);this.Ii=1;this.jz=[];this.qz=0;this.Ff=[];this.Xi={};this.AW=!!a};_.ab(_.bz,_.dj);_.g=_.bz.prototype;_.g.subscribe=function(a,b,c){var d=this.Xi[a];d||(d=this.Xi[a]=[]);var e=this.Ii;this.Ff[e]=a;this.Ff[e+1]=b;this.Ff[e+2]=c;this.Ii=e+3;d.push(e);return e};_.g.ou=_.ea(19);_.g.unsubscribe=function(a,b,c){if(a=this.Xi[a]){var d=this.Ff;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.hk(a)}return!1};
_.g.hk=function(a){var b=this.Ff[a];if(b){var c=this.Xi[b];0!=this.qz?(this.jz.push(a),this.Ff[a+1]=function(){}):(c&&_.Vi(c,a),delete this.Ff[a],delete this.Ff[a+1],delete this.Ff[a+2])}return!!b};
_.g.wn=function(a,b){var c=this.Xi[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];cz(this.Ff[h+1],this.Ff[h+2],d)}else{this.qz++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.Ff[h+1].apply(this.Ff[h+2],d)}finally{if(this.qz--,0<this.jz.length&&0==this.qz)for(;c=this.jz.pop();)this.hk(c)}}return 0!=e}return!1};var cz=function(a,b,c){_.lk(function(){a.apply(b,c)})};
_.bz.prototype.clear=function(a){if(a){var b=this.Xi[a];b&&(b.forEach(this.hk,this),delete this.Xi[a])}else this.Ff.length=0,this.Xi={}};_.bz.prototype.Fb=function(a){if(a){var b=this.Xi[a];return b?b.length:0}a=0;for(b in this.Xi)a+=this.Fb(b);return a};_.bz.prototype.qa=function(){_.bz.H.qa.call(this);this.clear();this.jz.length=0};
_.dz=function(a){this.q6=a};_.dz.prototype.toString=function(){return this.q6};_.ez=function(a){_.dj.call(this);this.Qd=new _.bz(a);_.fj(this,this.Qd)};_.ab(_.ez,_.dj);_.g=_.ez.prototype;_.g.subscribe=function(a,b,c){return this.Qd.subscribe(a.toString(),b,c)};_.g.ou=_.ea(18);_.g.unsubscribe=function(a,b,c){return this.Qd.unsubscribe(a.toString(),b,c)};_.g.hk=function(a){return this.Qd.hk(a)};_.g.wn=function(a,b){return this.Qd.wn(a.toString(),b)};_.g.clear=function(a){this.Qd.clear(void 0!==a?a.toString():void 0)};
_.g.Fb=function(a){return this.Qd.Fb(void 0!==a?a.toString():void 0)};
_.fz=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.pz+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.bs(a,"transition",b.join(","))};
_.gz=_.ee(function(){if(_.Gd)return!0;var a=_.ze("DIV"),b=_.Ld?"-webkit":_.Kd?"-moz":_.Gd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b=_.Ur("div",{style:c});_.ge(a,b);a=a.firstChild;b=a.style[_.Xr("transition")];return""!=("undefined"!==typeof b?b:a.style[_.as(a,"transition")]||"")});
_.iz=function(){_.hz="oauth2relay"+String(2147483647*(0,_.Tg)()|0)};_.jz=new _.ez;_.kz=new _.dz("oauth");_.iz();_.ff("oauth-flow/client_id");var lz=String(_.ff("oauth-flow/redirectUri"));if(lz)lz.replace(/[#][\s\S]*/,"");else{var mz=_.Lg.getOrigin(window.location.href);_.ff("oauth-flow/callbackUrl");encodeURIComponent(mz)}_.Lg.getOrigin(window.location.href);
var oz,pz,qz,rz,sz,tz,uz,vz,wz,xz,yz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,eA,dA,fA,gA,hA,iA,jA,kA,lA,mA,nA,pA;_.nz=function(a,b){if(_.Ih&&!b)return _.u.atob(a);var c="";_.Lh(a,function(d){c+=String.fromCharCode(d)});return c};oz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};pz=function(a){return _.bi("enableMultilogin")&&a("cookie_policy")&&!oz(a)?!0:!1};
sz=function(){var a,b=null;_.Uy.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Jy(c.substring(11)),!a||c.Je&&!a.Je||c.Je==a.Je&&c.ei>a.ei)&&(a=c,b=d)});return{NW:a,authuser:b}};tz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];uz=function(a){a=a.toUpperCase();for(var b=0,c=tz.length;b<c;++b){var d=a.split(tz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Sg,b.Hu(a),a=b.bi().toUpperCase());return a};
vz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};wz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],U4:vz(a[1]),vfa:vz(a[2]),nea:vz(a[3])}};xz=function(a){var b=sz(),c=b.NW;b=b.authuser;var d=a&&uz(a);if(null!==b){var e;_.Uy.iterate(function(h,k){(h=_.Ly(h))&&h.Hi&&(d&&h.jX!=d||h.Je==c.Je&&h.ei==c.ei&&(e=k))});if(e){var f=wz(e);a=f&&f.U4[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,qga:a,clientId:f}}}return null};
yz=function(a,b){a=_.ti(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};_.zz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.zw(c,d):_.Aw(d)};
Az=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Ng(a));var b=window.location.hostname,c=b,d=_.Ky;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.$f.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 _.$f.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,Je:d,ei:b}};
Bz=function(a){var b=Az(a);if(!b)return new _.Py("G_USERSTATE_");a=["G_USERSTATE_",_.Ky&&b.Je?"S":"H",b.ei].join("");var c=_.Yy[a];c||(c={mF:63072E3},_.Qe(_.az(b),c),c=new _.My(a,c),_.Yy[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};Cz=function(a){var b=Bz(a).read();a=_.Oe();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
Dz=function(a,b,c){var d=Cz(b),e=d[a];d[a]="0";var f=[];_.Bm(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Bz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Ez=function(a){a=Az(a.g_user_cookie_policy);if(!a||a.Je&&!_.Ky)a=null;else{var b=["G_AUTHUSER_",_.Ky&&a.Je?"S":"H",a.ei].join(""),c=_.Xy[b];c||(c=new _.Uy(b,_.az(a)),_.Xy[b]=c);a=c}_.gf("googleapis.config/sessionIndex",null);a.clear()};Fz=function(a){return oz(function(b){return a[b]})};Gz=0;Hz=!1;Iz=[];Jz={};Kz={};Lz=null;
Mz=function(a){var b=_.hz;return function(c){if(this.f==b&&this.t==_.eg.wm(this.f)&&this.origin==_.eg.Jm(this.f))return a.apply(this,arguments)}};Nz=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Fa");};Oz=function(a){var b=_.jf.Ag,c=b(a).jsh;if(null!=c)return Nz(c),a;if(b=String(b().jsh||_.Ye.h||""))Nz(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};Pz=function(){return!!_.ff("oauth-flow/usegapi")};
Qz=function(a,b){Pz()?Lz.unregister(a):_.eg.unregister(a+":"+b)};Rz=function(a,b,c){Pz()?Lz.register(a,c,_.Qm):_.eg.register(a+":"+b,Mz(c))};Sz=function(){qz.parentNode.removeChild(qz)};Tz=function(a){var b=qz;_.fz(b,[{pz:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.fz(b,[{pz:"transform",duration:1,timing:"ease",delay:0}]);_.jy(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};Uz=function(){var a=rz+88;Tz(a);rz=a};
Vz=function(){var a=rz-88;Tz(a);rz=a};Wz=function(a){var b=a?Uz:Vz,c=a?Vz:Uz;a=a?"-":"";rz=parseInt(a+88,10);qz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";qz.style.transform="translate3d(0px,"+a+88+"px,0px)";qz.style.display="";qz.style.visibility="visible";b();_.jy(c,4E3);_.jy(Sz,5E3)};
Xz=function(a){var b=_.ff("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");qz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.bs(c,"visibility","hidden");_.bs(c,b,"-40px");_.bs(c,"height","128px");var d=c;if(!_.ar()&&!_.$q()){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?"-":"";rz=parseInt(e+88,10);qz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";qz.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){}_.Nm.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?Wz(!0):Wz(!1)}})};
Yz=function(a){var b=_.lo(),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==_.zm.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
Zz=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=_.ff("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!=xz(c)||!Fz(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};$z=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Vf(_.nz(a,!0));if(!1===a)throw Error("Ga");return a};aA=function(a){return(a=$z(a))?a.sub:null};
bA=function(a){a&&Iz.push(a);a=_.hz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(Gz&&6E4>c-Gz)return;var d=_.eg.wm(a);d&&(Qz("oauth2relayReady",d),Qz("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.iz();a=_.hz}Gz=c;var e=String(2147483647*(0,_.Tg)()|0);b=_.ff("oauth-flow/proxyUrl")||_.ff("oauth-flow/relayUrl");Pz()?Lz=_.Nm.openChild({where:_.jf.aN(),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(_.Lg.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.jf.aN(),d=_.jf.CL({name:a,id:a}),d.src=Oz(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),_.eg.Zt(a));Rz("oauth2relayReady",
e,function(){Qz("oauth2relayReady",e);var f=Iz;if(null!==f){Iz=null;for(var h=f.length,k=0;k<h;++k)f[k]()}});Rz("oauth2callback",e,function(f){var h=_.jf.Ag;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(Kz,f)?Kz[f]:null;h.state=f;if(null!=h.state){f=Jz[k];delete Jz[k];k=f&&f.key||"token";var l=h=Zz(f&&f.params,h),m=aA(l);if(m){var n=Cz(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 ")&&
_.ff("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",Hz||(Hz=!0,Xz(l)));_.zz(k,h);h=yz(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)}}})};_.cA=function(a){null!==Iz?bA(a):a&&a()};
eA=function(a,b){var c=dA,d=aA(a);d&&(Ez(a),Dz(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=Zz(null,e);c(e)}}))};
dA=function(a){a||(a=yz(void 0,!0));a&&"object"===typeof a||(a={error:"invalid_request",error_description:"no callback data"});var b=a.error_description;b&&window.console&&(window.console.error(a.error),window.console.error(b));a.error||(_.Ye.drw=null);_.zz(a);if(b=a.authuser)_.ff("googleapis.config/sessionIndex"),_.gf("googleapis.config/sessionIndex",b);_.jz.wn(_.kz,a);return a};fA=["client_id","cookie_policy","response_type"];gA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
hA=function(a){var b=_.Uj(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);_.zw(b);return b};
iA=function(a){if(void 0===a.include_granted_scopes){var b=_.ff("include_granted_scopes");a.include_granted_scopes=!!b}};jA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
kA=function(a){var b=a||{},c={};_.cc(gA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.ff("googleapis/overrideClientId");null!=a&&(c.client_id=a);iA(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{_.px(c.cookie_policy)}catch(d){c.cookie_policy&&
jA("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=_.di(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.ff("oauth-flow/redirectUri");
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
lA=function(a,b){var c=kA(a),d=new _.ok(function(e,f){_.Wx(c,function(h){var k=h||{};_.cc(fA,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=hA(k),null!=h.authuser&&_.gf("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};mA=_.ri.YM;nA=null;
_.qA=function(a,b){if("force"!==a.approvalprompt){a=_.oA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)nA?(a.client_id!==nA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(nA=a,b=!1);b||pA(a)}};
_.oA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.Ac)((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,_.Ac)(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||_.ff("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.ff("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};pA=function(a){_.Vo("waaf0","signin","0");lA(a,function(b){_.Vo("waaf1","signin","0");dA(b)})};
_.rA=function(a){a=_.oA(a);_.gf("oauth-flow/authWindowWidth",445);_.gf("oauth-flow/authWindowHeight",615);pA(a)};_.sA=function(a){_.jz.unsubscribe(_.kz,a);_.jz.subscribe(_.kz,a)};var zA,CA;_.uA=function(a){return a.cookiepolicy?!0:(_.tA("cookiepolicy is a required field.  See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.tA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.yA=function(a,b){var c=_.lo();_.Qe(a,c);c=Yz(c);if(_.uA(c)){var d=_.vA();_.wA(c);b?_.Xe(b,"click",function(){_.xA(c,d)}):_.xA(c,d)}};
_.vA=function(){var a=new zA;_.sA(function(b){a.nF&&b&&(b.access_token&&_.gf("isPlusUser",!0),b["g-oauth-window"]&&(a.nF=!1,_.$f.warn("OTA app install is no longer supported.")))});return a};zA=function(){this.nF=!1};_.wA=function(a){a=_.AA(a);_.BA(a.callback);_.cA(function(){_.qA(a)})};_.AA=function(a){CA(a);a.redirecturi&&delete a.redirecturi;pz(function(b){return a[b]})||(a.authuser=0);return a};CA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
_.BA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.tA('Callback function named "'+a+'" not found');return}a&&_.sA(a)};_.xA=function(a,b){b.nF=!0;a=_.AA(a);_.rA(a)};_.E("gapi.auth.authorize",lA);_.E("gapi.auth.checkSessionState",function(a,b){var c=_.Oe();c.client_id=a.client_id;c.session_state=a.session_state;_.cA(function(){Pz()?Lz.send("check_session_state",c,function(d){b.call(null,d[0])},_.Qm):_.eg.call(_.hz,"check_session_state",Mz(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.E("gapi.auth.getAuthHeaderValueForFirstParty",mA);_.E("gapi.auth.getToken",yz);
_.E("gapi.auth.getVersionInfo",function(a,b){_.cA(function(){var c=_.pi()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?Pz()?Lz.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Qm):_.eg.call(_.hz,"get_versioninfo",Mz(function(f){a(f)}),d,b):a()})});_.E("gapi.auth.init",_.cA);_.E("gapi.auth.setToken",_.zz);_.E("gapi.auth.signIn",function(a){_.yA(a)});_.E("gapi.auth.signOut",function(){var a=yz();a&&eA(a,a.cookie_policy)});
_.E("gapi.auth.unsafeUnpackIdToken",$z);_.E("gapi.auth._pimf",_.qA);_.E("gapi.auth._oart",Xz);_.E("gapi.auth._guss",function(a){return Bz(a).read()});
var DA=_.lo();DA.clientid&&DA.scope&&DA.callback&&!_.ff("disableRealtimeCallback")&&_.wA(DA);
});
// Google Inc.
