447 lines
202 KiB
Plaintext
Executable File
447 lines
202 KiB
Plaintext
Executable File
gapi.loaded_1(function(_){var window=this;
|
|
_.Ch=(window.gapi||{}).load;
|
|
_.No=_.kf(_.vf,"rw",_.lf());
|
|
var Oo=function(a,b){(a=_.No[a])&&a.state<b&&(a.state=b)};var Po=function(a){a=(a=_.No[a])?a.oid:void 0;if(a){var b=_.gf.getElementById(a);b&&b.parentNode.removeChild(b);delete _.No[a];Po(a)}};_.Qo=function(a){a=a.container;"string"===typeof a&&(a=document.getElementById(a));return a};_.Ro=function(a){var b=a.clientWidth;return"position:absolute;top:-10000px;width:"+(b?b+"px":a.style.width||"300px")+";margin:0px;border-style:none;"};
|
|
_.So=function(a,b){var c={},d=a.Fc(),e=b&&b.width,f=b&&b.height,h=b&&b.verticalAlign;h&&(c.verticalAlign=h);e||(e=d.width||a.width);f||(f=d.height||a.height);d.width=c.width=e;d.height=c.height=f;d=a.getIframeEl();e=a.getId();Oo(e,2);a:{e=a.getSiteEl();c=c||{};if(_.vf.oa){var k=d.id;if(k){f=(f=_.No[k])?f.state:void 0;if(1===f||4===f)break a;Po(k)}}(f=e.nextSibling)&&f.dataset&&f.dataset.gapistub&&(e.parentNode.removeChild(f),e.style.cssText="");f=c.width;h=c.height;var l=e.style;l.textIndent="0";
|
|
l.margin="0";l.padding="0";l.background="transparent";l.borderStyle="none";l.cssFloat="none";l.styleFloat="none";l.lineHeight="normal";l.fontSize="1px";l.verticalAlign="baseline";e=e.style;e.display="inline-block";d=d.style;d.position="static";d.left="0";d.top="0";d.visibility="visible";f&&(e.width=d.width=f+"px");h&&(e.height=d.height=h+"px");c.verticalAlign&&(e.verticalAlign=c.verticalAlign);k&&Oo(k,3)}(k=b?b.title:null)&&a.getIframeEl().setAttribute("title",k);(b=b?b.ariaLabel:null)&&a.getIframeEl().setAttribute("aria-label",
|
|
b)};_.To=function(a){var b=a.getSiteEl();b&&b.removeChild(a.getIframeEl())};_.Uo=function(a){a.where=_.Qo(a);var b=a.messageHandlers=a.messageHandlers||{},c=function(e){_.So(this,e)};b._ready=c;b._renderstart=c;var d=a.onClose;a.onClose=function(e){d&&d.call(this,e);_.To(this)};a.onCreate=function(e){e=e.getIframeEl();e.style.cssText=_.Ro(e)}};
|
|
_.Gj=function(a){var b=window;a=(a||b.location.href).match(RegExp(".*(\\?|#|&)usegapi=([^&#]+)"))||[];return"1"===decodeURIComponent(a[a.length-1]||"")};
|
|
_.Vo=_.lf();
|
|
_.Wo={};window.iframer=_.Wo;
|
|
var $o=function(a){var b=[new Xo(Yo[0].toLowerCase(),Zo)];if(0===b.length)throw Error("q");if(b.map(function(c){if(c instanceof Xo)c=c.KX;else throw Error("q");return c}).every(function(c){return 0!=="data-gapiscan".indexOf(c)}))throw Error("r`data-gapiscan");a.setAttribute("data-gapiscan","true")},Zo={},ap=function(){},Xo=function(a){this.KX=a},bp,cp,dp,ep,fp,jp,kp;_.B(Xo,ap);Xo.prototype.toString=function(){return this.KX};
|
|
bp=function(a){if(_.jf.test(Object.keys))return Object.keys(a);var b=[],c;for(c in a)_.mf(a,c)&&b.push(c);return b};cp={button:!0,div:!0,span:!0};dp=function(a){var b=_.kf(_.vf,"sws",[]);return 0<=_.pn.call(b,a)};ep=function(a){return _.kf(_.vf,"watt",_.lf())[a]};fp=function(a){return function(b,c){return a?_.Wm()[c]||a[c]||"":_.Wm()[c]||""}};_.gp={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1};_.hp=!1;
|
|
_.ip=function(){if(!_.hp){for(var a=document.getElementsByTagName("meta"),b=0;b<a.length;++b){var c=a[b].name.toLowerCase();if(_.Dc(c,"google-signin-")){c=c.substring(14);var d=a[b].content;_.gp[c]&&d&&(_.Vo[c]=d)}}if(window.self!==window.top){a=document.location.toString();for(var e in _.gp)0<_.gp[e]&&(b=_.pf(a,e,""))&&(_.Vo[e]=b)}_.hp=!0}e=_.lf();_.nf(_.Vo,e);return e};jp=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));a=b?b:a;return _.Cm(document,a)};
|
|
kp=function(a){a=a||"canonical";for(var b=document.getElementsByTagName("link"),c=0,d=b.length;c<d;c++){var e=b[c],f=e.getAttribute("rel");if(f&&f.toLowerCase()==a&&(e=e.getAttribute("href"))&&(e=jp(e))&&null!=e.match(/^https?:\/\/[\w\-_\.]+/i))return e}return window.location.href};_.lp=function(){return window.location.origin||window.location.protocol+"//"+window.location.host};_.mp=function(a,b,c,d){return(a="string"==typeof a?a:void 0)?jp(a):kp(d)};
|
|
_.np=function(a,b,c){null==a&&c&&(a=c.db,null==a&&(a=c.gwidget&&c.gwidget.db));return a||void 0};_.op=function(a,b,c){null==a&&c&&(a=c.ecp,null==a&&(a=c.gwidget&&c.gwidget.ecp));return a||void 0};_.pp=function(a,b,c){return _.mp(a,b,c,b.action?void 0:"publisher")};var qp,rp,sp,tp,up,vp,xp,wp;qp={se:"0"};rp={post:!0};sp={style:"position:absolute;top:-10000px;width:450px;margin:0px;border-style:none"};tp="onPlusOne _ready _close _open _resizeMe _renderstart oncircled drefresh erefresh".split(" ");up=_.kf(_.vf,"WI",_.lf());vp=["style","data-gapiscan"];
|
|
xp=function(a){for(var b=_.lf(),c=0!=a.nodeName.toLowerCase().indexOf("g:"),d=a.attributes.length,e=0;e<d;e++){var f=a.attributes[e],h=f.name,k=f.value;0<=_.pn.call(vp,h)||c&&0!=h.indexOf("data-")||"null"===k||"specified"in f&&!f.specified||(c&&(h=h.substr(5)),b[h.toLowerCase()]=k)}a=a.style;(c=wp(a&&a.height))&&(b.height=String(c));(a=wp(a&&a.width))&&(b.width=String(a));return b};
|
|
_.zp=function(a,b,c,d,e,f){if(c.rd)var h=b;else h=document.createElement("div"),b.dataset.gapistub=!0,h.style.cssText="position:absolute;width:450px;left:-10000px;",b.parentNode.insertBefore(h,b);f.siteElement=h;h.id||(h.id=_.yp(a));b=_.lf();b[">type"]=a;_.nf(c,b);a=_.$m(d,h,e);f.iframeNode=a;f.id=a.getAttribute("id")};_.yp=function(a){_.kf(up,a,0);return"___"+a+"_"+up[a]++};wp=function(a){var b=void 0;"number"===typeof a?b=a:"string"===typeof a&&(b=parseInt(a,10));return b};var Yo=_.Ak(["data-"]),Ap,Bp,Cp,Dp,Ep=/(?:^|\s)g-((\S)*)(?:$|\s)/,Fp={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};Ap=_.kf(_.vf,"SW",_.lf());Bp=_.kf(_.vf,"SA",_.lf());Cp=_.kf(_.vf,"SM",_.lf());Dp=_.kf(_.vf,"FW",[]);
|
|
var Gp=function(a,b){return("string"===typeof a?document.getElementById(a):a)||b},Kp=function(a,b){var c;Hp.ps0=(new Date).getTime();Ip("ps0");a=Gp(a,_.gf);var d=_.gf.documentMode;if(a.querySelectorAll&&(!d||8<d)){d=b?[b]:bp(Ap).concat(bp(Bp)).concat(bp(Cp));for(var e=[],f=0;f<d.length;f++){var h=d[f];e.push(".g-"+h,"g\\:"+h)}d=a.querySelectorAll(e.join(","))}else d=a.getElementsByTagName("*");a=_.lf();for(e=0;e<d.length;e++){f=d[e];h=b;var k=f.nodeName.toLowerCase(),l=void 0;if(f.hasAttribute("data-gapiscan"))h=
|
|
null;else{var m=k.indexOf("g:");0==m?l=k.substr(2):(m=(m=String(f.className||f.getAttribute("class")))&&Ep.exec(m))&&(l=m[1]);h=!l||!(Ap[l]||Bp[l]||Cp[l])||h&&l!==h?null:l}h&&(Fp[h]||0==f.nodeName.toLowerCase().indexOf("g:")||0!=bp(xp(f)).length)&&($o(f),_.kf(a,h,[]).push(f))}for(n in a)Dp.push(n);Hp.ps1=(new Date).getTime();Ip("ps1");if(b=Dp.join(":"))try{_.of.load(b,void 0)}catch(p){_.Tg.log(p);return}e=[];for(c in a){d=a[c];var n=0;for(b=d.length;n<b;n++)f=d[n],Jp(c,f,xp(f),e,b)}};var Lp=function(a,b){var c=ep(a);b&&c?(c(b),(c=b.iframeNode)&&c.setAttribute("data-gapiattached",!0)):_.of.load(a,function(){var d=ep(a),e=b&&b.iframeNode,f=b&&b.userParams;e&&d?(d(b),e.setAttribute("data-gapiattached",!0)):(d=_.of[a].go,"signin2"==a?d(e,f):d(e&&e.parentNode,f))})},Jp=function(a,b,c,d,e,f,h){switch(Mp(b,a,f)){case 0:a=Cp[a]?a+"_annotation":a;d={};d.iframeNode=b;d.userParams=c;Lp(a,d);break;case 1:if(b.parentNode){for(var k in c){if(f=_.mf(c,k))f=c[k],f=!!f&&"object"===typeof f&&(!f.toString||
|
|
f.toString===Object.prototype.toString||f.toString===Array.prototype.toString);if(f)try{c[k]=_.Pg(c[k])}catch(x){delete c[k]}}k=!0;c.dontclear&&(k=!1);delete c.dontclear;var l;f={};var m=l=a;"plus"==a&&c.action&&(l=a+"_"+c.action,m=a+"/"+c.action);(l=_.Ef("iframes/"+l+"/url"))||(l=":im_socialhost:/:session_prefix::im_prefix:_/widget/render/"+m+"?usegapi=1");for(n in qp)f[n]=n+"/"+(c[n]||qp[n])+"/";var n=_.Cm(_.gf,l.replace(_.Vm,fp(f)));m="iframes/"+a+"/params/";f={};_.nf(c,f);(l=_.Ef("lang")||_.Ef("gwidget/lang"))&&
|
|
(f.hl=l);rp[a]||(f.origin=_.lp());f.exp=_.Ef(m+"exp");if(m=_.Ef(m+"location"))for(l=0;l<m.length;l++){var p=m[l];f[p]=_.ff.location[p]}switch(a){case "plus":case "follow":f.url=_.pp(f.href,c,null);delete f.href;break;case "plusone":m=(m=c.href)?jp(m):kp();f.url=m;f.db=_.np(c.db,void 0,_.Ef());f.ecp=_.op(c.ecp,void 0,_.Ef());delete f.href;break;case "signin":f.url=kp()}_.vf.ILI&&(f.iloader="1");delete f["data-onload"];delete f.rd;for(var q in qp)f[q]&&delete f[q];f.gsrc=_.Ef("iframes/:source:");q=
|
|
_.Ef("inline/css");"undefined"!==typeof q&&0<e&&q>=e&&(f.ic="1");q=/^#|^fr-/;e={};for(var u in f)_.mf(f,u)&&q.test(u)&&(e[u.replace(q,"")]=f[u],delete f[u]);u="q"==_.Ef("iframes/"+a+"/params/si")?f:e;q=_.ip();for(var v in q)!_.mf(q,v)||_.mf(f,v)||_.mf(e,v)||(u[v]=q[v]);v=[].concat(tp);u=_.Ef("iframes/"+a+"/methods");_.on(u)&&(v=v.concat(u));for(t in c)_.mf(c,t)&&/^on/.test(t)&&("plus"!=a||"onconnect"!=t)&&(v.push(t),delete f[t]);delete f.callback;e._methods=v.join(",");var t=_.Bm(n,f,e);v=h||{};v.allowPost=
|
|
1;v.attributes=sp;v.dontclear=!k;h={};h.userParams=c;h.url=t;h.type=a;_.zp(a,b,c,t,v,h);b=h.id;c=_.lf();c.id=b;c.userParams=h.userParams;c.url=h.url;c.type=h.type;c.state=1;_.No[b]=c;b=h}else b=null;b&&((c=b.id)&&d.push(c),Lp(a,b))}},Mp=function(a,b,c){if(a&&1===a.nodeType&&b){if(c)return 1;if(Cp[b]){if(cp[a.nodeName.toLowerCase()])return(a=a.innerHTML)&&a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(Bp[b])return 0;if(Ap[b])return 1}}return null};_.kf(_.of,"platform",{}).go=function(a,b){Kp(a,b)};var Np=_.kf(_.vf,"perf",_.lf()),Hp=_.kf(Np,"g",_.lf()),Op=_.kf(Np,"i",_.lf()),Pp,Qp,Rp,Ip,Tp,Up,Vp;_.kf(Np,"r",[]);Pp=_.lf();Qp=_.lf();Rp=function(a,b,c,d){Pp[c]=Pp[c]||!!d;_.kf(Qp,c,[]);Qp[c].push([a,b])};Ip=function(a,b,c){var d=Np.r;"function"===typeof d?d(a,b,c):d.push([a,b,c])};Tp=function(a,b,c,d){if("_p"==b)throw Error("P");_.Sp(a,b,c,d)};_.Sp=function(a,b,c,d){Up(b,c)[a]=d||(new Date).getTime();Ip(a,b,c)};Up=function(a,b){a=_.kf(Op,a,_.lf());return _.kf(a,b,_.lf())};
|
|
Vp=function(a,b,c){var d=null;b&&c&&(d=Up(b,c)[a]);return d||Hp[a]};(function(){function a(h){this.t={};this.tick=function(k,l,m){this.t[k]=[void 0!=m?m:(new Date).getTime(),l];if(void 0==m)try{window.console.timeStamp("CSI/"+k)}catch(n){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,h)}var b;if(window.performance)var c=(b=window.performance.timing)&&b.responseStart;var d=0<c?new a(c):new a;window.__gapi_jstiming__={Timer:a,load:d};if(b){var e=b.navigationStart;0<e&&c>=e&&(window.__gapi_jstiming__.srt=c-e)}if(b){var f=window.__gapi_jstiming__.load;
|
|
0<e&&c>=e&&(f.tick("_wtsrt",void 0,e),f.tick("wtsrt_","_wtsrt",c),f.tick("tbsd_","wtsrt_"))}try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT),f&&0<e&&(f.tick("_tbnd",void 0,window.chrome.csi().startE),f.tick("tbnd_","_tbnd",e))),null==b&&window.gtbExternal&&(b=window.gtbExternal.pageT()),null==b&&window.external&&(b=window.external.pageT,f&&0<e&&(f.tick("_tbnd",void 0,window.external.startE),f.tick("tbnd_","_tbnd",e))),b&&(window.__gapi_jstiming__.pt=b)}catch(h){}})();if(window.__gapi_jstiming__){window.__gapi_jstiming__.dP={};window.__gapi_jstiming__.eda=1;var Wp=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=void 0!=c?c:e[0],Math.round(d-e)},Xp=function(a,b,c){var d="";window.__gapi_jstiming__.srt&&(d+="&srt="+window.__gapi_jstiming__.srt,delete window.__gapi_jstiming__.srt);window.__gapi_jstiming__.pt&&(d+="&tbsrt="+window.__gapi_jstiming__.pt,delete window.__gapi_jstiming__.pt);try{window.external&&window.external.tran?d+="&tran="+
|
|
window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(p){}var e=window.chrome;if(e&&(e=e.loadTimes)&&"function"===typeof e&&(e=e())){e.wasFetchedViaSpdy&&(d+="&p=s");if(e.wasNpnNegotiated){d+="&npn=1";var f=e.npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e.wasAlternateProtocolAvailable&&(d+="&apa=1")}var h=a.t,k=h.start;e=[];f=[];for(var l in h)if("start"!=
|
|
l&&0!=l.indexOf("_")){var m=h[l][1];m?h[m]&&f.push(l+"."+Wp(a,l,h[m][0])):k&&e.push(l+"."+Wp(a,l))}delete h.start;if(b)for(var n in b)d+="&"+n+"="+b[n];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.__gapi_jstiming__.sn||"gwidget")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},Yp=function(a,b,c){a=Xp(a,b,c);if(!a)return"";b=new Image;var d=window.__gapi_jstiming__.eda++;window.__gapi_jstiming__.dP[d]=
|
|
b;b.onload=b.onerror=function(){window.__gapi_jstiming__&&delete window.__gapi_jstiming__.dP[d]};b.src=a;b=null;return a};window.__gapi_jstiming__.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if("prerender"==d){var f=!1,h=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if("prerender"==(document.visibilityState||document.webkitVisibilityState))var k=!1;else Yp(a,b,c),k=!0;k&&(f=!0,document.removeEventListener(e,
|
|
h,!1))}};document.addEventListener(e,h,!1);return""}return Yp(a,b,c)}};var Zp={g:"gapi_global",m:"gapi_module",w:"gwidget"},$p=function(a,b){this.type=a?"_p"==a?"m":"w":"g";this.name=a;this.Ts=b};$p.prototype.key=function(){switch(this.type){case "g":return this.type;case "m":return this.type+"."+this.Ts;case "w":return this.type+"."+this.name+this.Ts}};
|
|
var aq=new $p,bq=navigator.userAgent.match(/iPhone|iPad|Android|PalmWebOS|Maemo|Bada/),cq=_.kf(Np,"_c",_.lf()),dq=Math.random()<(_.Ef("csi/rate")||0),fq=function(a,b,c){for(var d=new $p(b,c),e=_.kf(cq,d.key(),_.lf()),f=Qp[a]||[],h=0;h<f.length;++h){var k=f[h],l=k[0],m=a,n=b,p=c;k=Vp(k[1],n,p);m=Vp(m,n,p);e[l]=k&&m?m-k:null}Pp[a]&&dq&&(eq(aq),eq(d))},gq=function(a,b){b=b||[];for(var c=[],d=0;d<b.length;d++)c.push(a+b[d]);return c},eq=function(a){var b=_.ff.__gapi_jstiming__;b.sn=Zp[a.type];var c=new b.Timer(0);
|
|
a:{switch(a.type){case "g":var d="global";break a;case "m":d=a.Ts;break a;case "w":d=a.name;break a}d=void 0}c.name=d;d=!1;var e=a.key(),f=cq[e];c.tick("_start",null,0);for(var h in f)c.tick(h,"_start",f[h]),d=!0;cq[e]=_.lf();d&&(h=[],h.push("l"+(_.Ef("isPlusUser")?"1":"0")),d="m"+(bq?"1":"0"),h.push(d),"m"==a.type?h.push("p"+a.Ts):"w"==a.type&&(e="n"+a.Ts,h.push(e),"0"==a.Ts&&h.push(d+e)),h.push("u"+(_.Ef("isLoggedIn")?"1":"0")),a=gq("",h),a=gq("abc_",a).join(","),b.report(c,{e:a}))};
|
|
Rp("blt","bs0","bs1");Rp("psi","ps0","ps1");Rp("rpcqi","rqe","rqd");Rp("bsprt","bsrt0","bsrt1");Rp("bsrqt","bsrt1","bsrt2");Rp("bsrst","bsrt2","bsrt3");Rp("mli","ml0","ml1");Rp("mei","me0","me1",!0);Rp("wcdi","wrs","wcdi");Rp("wci","wrs","wdc");Rp("wdi","wrs","wrdi");Rp("wdt","bs0","wrdt");Rp("wri","wrs","wrri",!0);Rp("wrt","bs0","wrrt");Rp("wji","wje0","wje1",!0);Rp("wjli","wjl0","wjl1");Rp("whi","wh0","wh1",!0);Rp("wai","waaf0","waaf1",!0);Rp("wadi","wrs","waaf1",!0);Rp("wadt","bs0","waaf1",!0);
|
|
Rp("wprt","wrt0","wrt1");Rp("wrqt","wrt1","wrt2");Rp("wrst","wrt2","wrt3",!0);Rp("fbprt","fsrt0","fsrt1");Rp("fbrqt","fsrt1","fsrt2");Rp("fbrst","fsrt2","fsrt3",!0);Rp("fdns","fdns0","fdns1");Rp("fcon","fcon0","fcon1");Rp("freq","freq0","freq1");Rp("frsp","frsp0","frsp1");Rp("fttfb","fttfb0","fttfb1");Rp("ftot","ftot0","ftot1",!0);var hq=Np.r;if("function"!==typeof hq){for(var iq;iq=hq.shift();)fq.apply(null,iq);Np.r=fq};var jq=["div"],kq="onload",lq=!0,mq=!0,nq=function(a){return a},oq=null,pq=function(a){var b=_.Ef(a);return"undefined"!==typeof b?b:_.Ef("gwidget/"+a)},tq,uq,vq,wq,xq,yq,zq,Fq,Aq,Gq,Hq,Iq,Jq,Kq,Bq,Dq,Lq,Cq,Mq,Nq,Oq,Pq,Qq,Rq;oq=_.Ef();_.Ef("gwidget");var qq=pq("parsetags");kq="explicit"===qq||"onload"===qq?qq:kq;var rq=pq("google_analytics");"undefined"!==typeof rq&&(lq=!!rq);var sq=pq("data_layer");"undefined"!==typeof sq&&(mq=!!sq);tq=function(){var a=this&&this.getId();a&&(_.vf.drw=a)};
|
|
uq=function(){_.vf.drw=null};vq=function(a){return function(b){var c=a;"number"===typeof b?c=b:"string"===typeof b&&(c=b.indexOf("px"),-1!=c&&(b=b.substring(0,c)),c=parseInt(b,10));return c}};wq=function(a){"string"===typeof a&&(a=window[a]);return"function"===typeof a?a:null};xq=function(){return pq("lang")||"en-US"};
|
|
yq=function(a){if(!_.Pa.Bb("attach")){var b={},c=_.Pa.Bb("inline"),d;for(d in c)c.hasOwnProperty(d)&&(b[d]=c[d]);b.open=function(e){var f=e.Fc().renderData.id;f=document.getElementById(f);if(!f)throw Error("Q");return c.attach(e,f)};_.Pa.Oc("attach",b)}a.style="attach"};zq=function(){var a={};a.width=[vq(450)];a.height=[vq(24)];a.onready=[wq];a.lang=[xq,"hl"];a.iloader=[function(){return _.vf.ILI},"iloader"];return a}();
|
|
Fq=function(a){var b={};b.Ue=a[0];b.iq=-1;b.yra="___"+b.Ue+"_";b.dga="g:"+b.Ue;b.Cpa="g-"+b.Ue;b.dY=[];b.config={};b.uy=[];b.h0={};b.AD={};var c=function(e){for(var f in e)if(_.mf(e,f)){b.config[f]=[wq];b.uy.push(f);var h=e[f],k=null,l=null,m=null;"function"===typeof h?k=h:h&&"object"===typeof h&&(k=h.qpa,l=h.BD,m=h.nN);m&&(b.uy.push(m),b.config[m]=[wq],b.h0[f]=m);k&&(b.config[f]=[k]);l&&(b.AD[f]=l)}},d=function(e){for(var f={},h=0;h<e.length;++h)f[e[h].toLowerCase()]=1;f[b.dga]=1;b.cba=f};a[1]&&
|
|
(b.parameters=a[1]);(function(e){b.config=e;for(var f in zq)zq.hasOwnProperty(f)&&!b.config.hasOwnProperty(f)&&(b.config[f]=zq[f])})(a[2]||{});a[3]&&c(a[3]);a[4]&&d(a[4]);a[5]&&(b.ln=a[5]);b.rra=!0===a[6];b.Cca=a[7];b.Qfa=a[8];b.cba||d(jq);b.hJ=function(e){b.iq++;Tp("wrs",b.Ue,String(b.iq));var f=[],h=e.element,k=e.config,l=":"+b.Ue;":plus"==l&&e.Od&&e.Od.action&&(l+="_"+e.Od.action);var m=Aq(b,k),n={};_.nf(_.ip(),n);for(var p in e.Od)null!=e.Od[p]&&(n[p]=e.Od[p]);p={container:h.id,renderData:e.Yca,
|
|
style:"inline",height:k.height,width:k.width};yq(p);b.ln&&(f[2]=p,f[3]=n,f[4]=m,b.ln("i",f));l=_.Pa.open(l,p,n,m);e=e.o6;Bq(l,k);Cq(l,h);Dq(b,l,e);Eq(b.Ue,b.iq.toString(),l);f[5]=l;b.ln&&b.ln("e",f)};return b};
|
|
Aq=function(a,b){for(var c={},d=a.uy.length-1;0<=d;--d){var e=a.uy[d],f=b[a.h0[e]||e]||b[e],h=b[e];h&&f!==h&&(f=function(l,m){return function(n){m.apply(this,arguments);l.apply(this,arguments)}}(f,h));f&&(c[e]=f)}for(var k in a.AD)a.AD.hasOwnProperty(k)&&(c[k]=Gq(c[k]||function(){},a.AD[k]));c.drefresh=tq;c.erefresh=uq;return c};
|
|
Gq=function(a,b){return function(c){var d=b(c);if(d){var e=c.href||null;if(lq){if(window._gat)try{var f=window._gat._getTrackerByName("~0");f&&"UA-XXXXX-X"!=f._getAccount()?f._trackSocial("Google",d,e):window._gaq&&window._gaq.push(["_trackSocial","Google",d,e])}catch(k){}if(window.ga&&window.ga.getAll)try{var h=window.ga.getAll();for(f=0;f<h.length;f++)h[f].send("social","Google",d,e)}catch(k){}}if(mq&&window.dataLayer)try{window.dataLayer.push({event:"social",socialNetwork:"Google",socialAction:d,
|
|
socialTarget:e})}catch(k){}}a.call(this,c)}};Hq=function(a){return _.mo&&a instanceof _.mo};Iq=function(a){return Hq(a)?"_renderstart":"renderstart"};Jq=function(a){return Hq(a)?"_ready":"ready"};Kq=function(){return!0};Bq=function(a,b){if(b.onready){var c=!1,d=function(){c||(c=!0,b.onready.call(null))};a.register(Jq(a),d,Kq);a.register(Iq(a),d,Kq)}};
|
|
Dq=function(a,b,c){var d=a.Ue,e=String(a.iq),f=!1,h=function(){f||(f=!0,b.getIframeEl(),c&&Tp("wrdt",d,e),Tp("wrdi",d,e))};b.register(Iq(b),h,Kq);var k=!1;a=function(){k||(k=!0,h(),c&&Tp("wrrt",d,e),Tp("wrri",d,e))};b.register(Jq(b),a,Kq);Hq(b)?b.register("widget-interactive-"+b.id,a,Kq):_.Yg.register("widget-interactive-"+b.id,a);_.Yg.register("widget-csi-tick-"+b.id,function(l,m,n){"wdc"===l?Tp("wdc",d,e,n):"wje0"===l?Tp("wje0",d,e,n):"wje1"===l?Tp("wje1",d,e,n):"wh0"==l?_.Sp("wh0",d,e,n):"wh1"==
|
|
l?_.Sp("wh1",d,e,n):"wcdi"==l&&_.Sp("wcdi",d,e,n)})};Lq=function(a){return"number"==typeof a?a+"px":"100%"==a?a:null};Cq=function(a,b){var c=function(d){d=d||a;var e=Lq(d.width);e&&b.style.width!=e&&(b.style.width=e);(d=Lq(d.height))&&b.style.height!=d&&(b.style.height=d)};Hq(a)?a.setParam("onRestyle",c):(a.register("ready",c,Kq),a.register("renderstart",c,Kq),a.register("resize",c,Kq))};Mq=function(a,b){for(var c in zq)if(zq.hasOwnProperty(c)){var d=zq[c][1];d&&!b.hasOwnProperty(d)&&(b[d]=a[d])}return b};
|
|
Nq=function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&(c[a[d][1]||d]=(a[d]&&a[d][0]||nq)(b[d.toLowerCase()],b,oq));return c};Oq=function(a){if(a=a.Cca)for(var b=0;b<a.length;b++)(new Image).src=a[b]};Pq=function(a,b){var c=b.userParams,d=b.siteElement;d||(d=(d=b.iframeNode)&&d.parentNode);if(d&&1===d.nodeType){var e=Nq(a.config,c);a.dY.push({element:d,config:e,Od:Mq(e,Nq(a.parameters,c)),uqa:3,o6:!!c["data-onload"],Yca:b})}b=a.dY;for(a=a.hJ;0<b.length;)a(b.shift())};
|
|
Qq=function(a,b){a.iq++;Tp("wrs",a.Ue,String(a.iq));var c=b.userParams,d=Nq(a.config,c),e=[],f=b.iframeNode,h=b.siteElement,k=Aq(a,d),l=Nq(a.parameters,c);_.nf(_.ip(),l);l=Mq(d,l);c=!!c["data-onload"];var m=_.Dn,n=_.lf();n.renderData=b;n.height=d.height;n.width=d.width;n.id=b.id;n.url=b.url;n.iframeEl=f;n.where=n.container=h;n.apis=["_open"];n.messageHandlers=k;n.messageHandlersFilter=_.Gn;_.Uo(n);f=l;a.ln&&(e[2]=n,e[3]=f,e[4]=k,a.ln("i",e));k=m.attach(n);k.id=b.id;k.FL(k,n);Bq(k,d);Cq(k,h);Dq(a,
|
|
k,c);Eq(a.Ue,a.iq.toString(),k);e[5]=k;a.ln&&a.ln("e",e)};Rq=function(a,b){var c=b.url;a.Qfa||_.Gj(c)?Qq(a,b):_.Pa.open?Pq(a,b):(0,_.Ch)("iframes",function(){Pq(a,b)})};
|
|
_.Sq=function(a){var b=Fq(a);Oq(b);_.Wg(b.Ue,function(d){Rq(b,d)});Ap[b.Ue]=!0;var c={Aa:function(d,e,f){var h=e||{};h.type=b.Ue;e=h.type;delete h.type;var k=Gp(d);if(k){d={};for(var l in h)_.mf(h,l)&&(d[l.toLowerCase()]=h[l]);d.rd=1;(l=!!d.ri)&&delete d.ri;Jp(e,k,d,[],0,l,f)}else _.Tg.log("string"==="gapi."+e+".render: missing element "+typeof d?d:"")},go:function(d){Kp(d,b.Ue)},xqa:function(){var d=_.kf(_.vf,"WI",_.lf()),e;for(e in d)delete d[e]}};a=function(){"onload"===kq&&c.go()};if(!dp(b.Ue)){if(!_.Ug())try{a()}catch(d){}_.Vg(a)}_.r("gapi."+
|
|
b.Ue+".go",c.go);_.r("gapi."+b.Ue+".render",c.Aa);return c};var Tq=function(){var a=window;return!!a.performance&&!!a.performance.getEntries},Eq=function(a,b,c){if(Tq()){var d=function(){var f=!1;return function(){if(f)return!0;f=!0;return!1}}(),e=function(){d()||window.setTimeout(function(){var f=c.getIframeEl().src;var h=f.indexOf("#");-1!=h&&(f=f.substring(0,h));f=window.performance.getEntriesByName(f);1>f.length?f=null:(f=f[0],f=0==f.responseStart?null:f);if(f){h=Math.round(f.requestStart);var k=Math.round(f.responseStart),l=Math.round(f.responseEnd);
|
|
Tp("wrt0",a,b,Math.round(f.startTime));Tp("wrt1",a,b,h);Tp("wrt2",a,b,k);Tp("wrt3",a,b,l)}},1E3)};c.register(Iq(c),e,Kq);c.register(Jq(c),e,Kq)}};_.r("gapi.widget.make",_.Sq);
|
|
_.bg=_.bg||{};_.bg.Dv=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)}};_.bg.pB=function(a){var b,c,d={};for(b=0;c=a[b];++b)d[c]=c;return d};
|
|
_.bg=_.bg||{};
|
|
(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};_.bg.escape=function(c,d){if(c){if("string"===typeof c)return _.bg.NF(c);if("Array"===typeof c){var e=0;for(d=c.length;e<d;++e)c[e]=_.bg.escape(c[e])}else if("object"===typeof c&&d){d={};for(e in c)c.hasOwnProperty(e)&&(d[_.bg.NF(e)]=_.bg.escape(c[e],!0));return d}}return c};_.bg.NF=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("")};_.bg.sra=function(c){return c?c.replace(/&#([0-9]+);/g,a):c}})();
|
|
_.Pa.Pa={};_.Pa.Pa.Ti={};_.Pa.Pa.Ti.D5=function(a){try{return!!a.document}catch(b){}return!1};_.Pa.Pa.Ti.dT=function(a){var b=a.parent;return a!=b&&_.Pa.Pa.Ti.D5(b)?_.Pa.Pa.Ti.dT(b):a};_.Pa.Pa.Ti.rpa=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.")};
|
|
_.Pa.Pa.Ti.Dv=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 $q,ar,br,cr,fr,gr,hr,ir,jr,kr,lr;$q=function(){_.Yg.register("_noop_echo",function(){this.callback(_.Pa.w8(_.Pa.Jm[this.f]))})};ar=function(){window.setTimeout(function(){_.Yg.call("..","_noop_echo",_.Pa.lca)},0)};br=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);_.Yg.call.apply(_.Yg,f)};d._iframe_wrapped_rpc_=!0;return d};
|
|
cr=function(a){_.Pa.Mj[a]||(_.Pa.Mj[a]={},_.Yg.register(a,function(b,c){var d=this.f;if(!("string"!=typeof b||b in{}||d in{})){var e=this.callback,f=_.Pa.Mj[a][d],h;f&&Object.hasOwnProperty.call(f,b)?h=f[b]:Object.hasOwnProperty.call(_.Pa.kr,a)&&(h=_.Pa.kr[a]);if(h)return d=Array.prototype.slice.call(arguments,1),h._iframe_wrapped_rpc_&&e&&d.push(e),h.apply({},d)}_.Tg.error(['Unregistered call in window "',window.name,'" for method "',a,'", via proxyId "',b,'" from frame "',d,'".'].join(""));return null}));
|
|
return _.Pa.Mj[a]};_.dr=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};_.er=function(){return _.ff.location.origin||_.ff.location.protocol+"//"+_.ff.location.host};
|
|
fr=function(a){_.vf.h=a};gr=function(a){_.vf.bsh=a};hr=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]};ir=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)};
|
|
jr=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]&&!ir(a[d])&&!ir(b[d])?jr(a[d],b[d]):b[d]&&"object"===typeof b[d]?(a[d]=ir(b[d])?[]:{},jr(a[d],b[d])):a[d]=b[d])};
|
|
kr=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:{}}};
|
|
lr=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());jr(c,b);a.push(c)};
|
|
_.mr=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;_.Ui(!0);d=window.___gcfg;b=hr("cu");a=window.___gu;d&&d!==a&&(lr(b,d),window.___gu=d);d=hr("cu");e=document.scripts||document.getElementsByTagName("script")||[];a=[];f=[];f.push.apply(f,hr("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=kr(f))&&d.push(f));c&&lr(b,c);a=hr("cd");c=0;for(d=a.length;c<d;++c)jr(_.Ui(),a[c],!0);a=hr("ci");c=0;for(d=a.length;c<d;++c)jr(_.Ui(),a[c],!0);c=0;for(d=b.length;c<d;++c)jr(_.Ui(),b[c],!0)};var nr,or=window.location.href,pr=or.indexOf("?"),qr=or.indexOf("#");
|
|
nr=(-1===qr?or.substr(pr+1):[or.substr(pr+1,qr-pr-1),"&",or.substr(qr+1)].join("")).split("&");for(var rr=window.decodeURIComponent?decodeURIComponent:unescape,sr=0,tr=nr.length;sr<tr;++sr){var ur=nr[sr].indexOf("=");if(-1!==ur){var vr=nr[sr].substring(ur+1);vr=vr.replace(/\+/g," ");try{rr(vr)}catch(a){}}};if(window.ToolbarApi)wr=window.ToolbarApi,wr.La=window.ToolbarApi.getInstance,wr.prototype=window.ToolbarApi.prototype,_.g=wr.prototype,_.g.openWindow=wr.prototype.openWindow,_.g.IP=wr.prototype.closeWindow,_.g.jZ=wr.prototype.setOnCloseHandler,_.g.tP=wr.prototype.canClosePopup,_.g.kY=wr.prototype.resizeWindow;else{var wr=function(){};wr.La=function(){!xr&&window.external&&window.external.GTB_IsToolbar&&(xr=new wr);return xr};_.g=wr.prototype;_.g.openWindow=function(a){return window.external.GTB_OpenPopup&&
|
|
window.external.GTB_OpenPopup(a)};_.g.IP=function(a){window.external.GTB_ClosePopupWindow&&window.external.GTB_ClosePopupWindow(a)};_.g.jZ=function(a,b){window.external.GTB_SetOnCloseHandler&&window.external.GTB_SetOnCloseHandler(a,b)};_.g.tP=function(a){return window.external.GTB_CanClosePopup&&window.external.GTB_CanClosePopup(a)};_.g.kY=function(a,b){return window.external.GTB_ResizeWindow&&window.external.GTB_ResizeWindow(a,b)};var xr=null;window.ToolbarApi=wr;window.ToolbarApi.getInstance=wr.La};var yr=/^[-_.0-9A-Za-z]+$/,zr={open:"open",onready:"ready",close:"close",onresize:"resize",onOpen:"open",onReady:"ready",onClose:"close",onResize:"resize",onRenderStart:"renderstart"},Ar={onBeforeParentOpen:"beforeparentopen"},Br={onOpen:function(a){var b=a.Fc();a.qh(b.container||b.element);return a},onClose:function(a){a.remove()}},Cr=function(){_.Pa.nU++;return["I",_.Pa.nU,"_",(new Date).getTime()].join("")},Dr,Er,Fr,Ir,Jr,Kr,Lr,Nr,Mr;_.Pa.vo=function(a){var b=_.lf();_.nf(_.Mm,b);_.nf(a,b);return b};
|
|
Dr=function(a){return a instanceof Array?a.join(","):a instanceof Object?_.Pg(a):a};Er=function(a){var b=_.Vi("googleapis.config/elog");if(b)try{b(a)}catch(c){}};Fr=function(a){a&&a.match(yr)&&_.mr("googleapis.config/gcv",a)};_.Gr=function(a,b){b=b||{};for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};
|
|
_.Hr=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,p=cr(h);p[k]=p[k]||{};n=_.Pa.Pa.Ti.Dv(n,m);m._iframe_wrapped_rpc_&&(n._iframe_wrapped_rpc_=!0);p[k][l]=n;f.push(h)}if(e)for(var q in _.Pa.kr)_.Pa.kr.hasOwnProperty(q)&&f.push(q);return f.join(",")};Ir=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]=br(f,b,c)}}return d};
|
|
Jr=function(a){if(a&&a.disableMultiLevelParentRelay)a=!1;else{var b;if(b=_.Wo&&_.Wo._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};Kr=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};
|
|
Lr=function(a){if(":"==a.charAt(0)){var b=_.Vi("iframes/"+a.substring(1));a={};_.nf(b,a);(b=a.url)&&(a.url=_.Ym(b));a.params||(a.params={});return a}return{url:_.Ym(a)}};Nr=function(a){function b(){}b.prototype=Mr.prototype;a.prototype=new b};
|
|
Mr=function(a,b,c,d,e,f,h,k){this.config=Lr(a);this.openParams=this.JB=b||{};this.params=c||{};this.methods=d;this.sD=!1;Or(this,b.style);this.callbacks={};Pr(this,function(){var l;(l=this.JB.style)&&_.Pa.Rw[l]?l=_.Pa.Rw[l]:l?(_.Tg.warn(['Missing handler for style "',l,'". Continuing with default handler.'].join("")),l=null):l=Br;if(l){if("function"===typeof l)var m=l(this);else{var n={};for(m in l){var p=l[m];n[m]="function"===typeof p?_.Pa.Pa.Ti.Dv(l,p,this):p}m=n}for(var q in e)l=m[q],"function"===
|
|
typeof l&&Qr(this,e[q],_.Pa.Pa.Ti.Dv(m,l))}f&&Qr(this,"close",f)});this.Wk=this.ac=h;this.nJ=(k||[]).slice();h&&this.nJ.unshift(h.getId())};Mr.prototype.Fc=function(){return this.JB};Mr.prototype.JG=function(){return this.params};Mr.prototype.Pz=function(){return this.methods};Mr.prototype.wd=function(){return this.Wk};
|
|
var Or=function(a,b){a.sD||((b=b&&!_.Pa.Rw[b]&&_.Pa.AF[b])?(a.zF=[],b(function(){a.sD=!0;for(var c=a.zF.length,d=0;d<c;++d)a.zF[d].call(a)})):a.sD=!0)},Pr=function(a,b){a.sD?b.call(a):a.zF.push(b)};Mr.prototype.lb=function(a,b){Pr(this,function(){Qr(this,a,b)})};var Qr=function(a,b,c){a.callbacks[b]=a.callbacks[b]||[];a.callbacks[b].push(c)};Mr.prototype.Bp=function(a,b){Pr(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}})};
|
|
Mr.prototype.ni=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){_.Tg.error(['Exception when calling callback "',a,'" with exception "',k.name,": ",k.message,'".'].join("")),Er(k)}return h};var Sr=function(a){return"number"==typeof a?{value:a,gG:a+"px"}:"100%"==a?{value:100,gG:"100%",ZU:!0}:null};Mr.prototype.send=function(a,b,c){_.Pa.DY(this,a,b,c)};
|
|
Mr.prototype.register=function(a,b){var c=this;c.lb(a,function(d){b.call(c,d)})};var Tr=function(a,b,c,d,e,f,h){var k=this;Mr.call(this,a,b,c,d,zr,e,f,h);this.id=b.id||Cr();this.jw=b.rpctoken&&String(b.rpctoken)||Math.round(1E9*_.vj());this.u$=Kr(this.params,this.config);this.UF={};Pr(this,function(){k.ni("open");_.Gr(k.UF,k)})};Nr(Tr);_.g=Tr.prototype;
|
|
_.g.qh=function(a,b){if(!this.config.url)return _.Tg.error("Cannot open iframe, empty URL."),this;var c=this.id;_.Pa.Jm[c]=this;var d=_.Gr(this.methods);d._ready=this.IB;d._close=this.close;d._open=this.TW;d._resizeMe=this.lY;d._renderstart=this.LW;var e=this.u$;this.jw&&(e.rpctoken=this.jw);e._methods=_.Hr(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(":")):_.Tg.error(['Iframe style "',f[l],'" not allowed.'].join(""))}h=h.join(";")}else h="";b.style=h}}this.Fc().allowPost&&(d.allowPost=!0);this.Fc().forcePost&&(d.forcePost=!0);d.queryParams=this.params;d.fragmentParams=e;d.paramsSerializer=Dr;this.ui=_.$m(this.config.url,a,d);a=this.ui.getAttribute("data-postorigin")||this.ui.src;_.Pa.Jm[c]=this;
|
|
_.Yg.NC(this.id,this.jw);_.Yg.Wj(this.id,a);return this};_.g.Wh=function(a,b){this.UF[a]=b};_.g.getId=function(){return this.id};_.g.getIframeEl=function(){return this.ui};_.g.getSiteEl=function(){return this.el};_.g.setSiteEl=function(a){this.el=a};_.g.IB=function(a){var b=Ir(a,this.id,"");this.Wk&&"function"==typeof this.methods._ready&&(a._methods=_.Hr(b,this.Wk.getId(),this.id,this,!1),this.methods._ready(a));_.Gr(a,this);_.Gr(b,this);this.ni("ready",a)};
|
|
_.g.LW=function(a){this.ni("renderstart",a)};_.g.close=function(a){a=this.ni("close",a);delete _.Pa.Jm[this.id];return a};_.g.remove=function(){var a=document.getElementById(this.id);a&&a.parentNode&&a.parentNode.removeChild(a)};
|
|
_.g.TW=function(a){var b=Ir(a.params,this.id,a.proxyId);delete a.params._methods;"_parent"==a.openParams.anchor&&(a.openParams.anchor=this.el);if(Jr(a.openParams))new Ur(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain);else{var c=new Tr(a.url,a.openParams,a.params,b,b._onclose,this,a.openedByProxyChain),d=this;Pr(c,function(){var e={childId:c.getId()},f=c.UF;f._toclose=c.close;e._methods=_.Hr(f,d.id,c.id,c,!1);b._onopen(e)})}};
|
|
_.g.lY=function(a){if(void 0===this.ni("resize",a)&&this.ui){var b=Sr(a.width);null!=b&&(this.ui.style.width=b.gG);a=Sr(a.height);null!=a&&(this.ui.style.height=a.gG);this.ui.parentElement&&(null!=b&&b.ZU||null!=a&&a.ZU)&&(this.ui.parentElement.style.display="block")}};
|
|
var Ur=function(a,b,c,d,e,f,h){var k=this;Mr.call(this,a,b,c,d,Ar,e,f,h);this.url=a;this.Yp=null;this.MJ=Cr();Pr(this,function(){k.ni("beforeparentopen");var l=_.Gr(k.methods);l._onopen=k.cca;l._ready=k.IB;l._onclose=k.aca;k.params._methods=_.Hr(l,"..",k.MJ,k,!0);l={};for(var m in k.params)l[m]=Dr(k.params[m]);_.Wo._open({url:k.config.url,openParams:k.JB,params:l,proxyId:k.MJ,openedByProxyChain:k.nJ})})};Nr(Ur);Ur.prototype.K8=function(){return this.Yp};
|
|
Ur.prototype.cca=function(a){this.Yp=a.childId;var b=Ir(a,"..",this.Yp);_.Gr(b,this);this.close=b._toclose;_.Pa.Jm[this.Yp]=this;this.Wk&&this.methods._onopen&&(a._methods=_.Hr(b,this.Wk.getId(),this.Yp,this,!1),this.methods._onopen(a))};Ur.prototype.IB=function(a){var b=String(this.Yp),c=Ir(a,"..",b);_.Gr(a,this);_.Gr(c,this);this.ni("ready",a);this.Wk&&this.methods._ready&&(a._methods=_.Hr(c,this.Wk.getId(),b,this,!1),this.methods._ready(a))};
|
|
Ur.prototype.aca=function(a){if(this.Wk&&this.methods._onclose)this.methods._onclose(a);else return a=this.ni("close",a),delete _.Pa.Jm[this.Yp],a};
|
|
var Vr=function(a,b,c,d,e,f,h){Mr.call(this,a,b,c,d,Ar,f,h);this.id=b.id||Cr();this.Bfa=e;d._close=this.close;this.onClosed=this.EW;this.w0=0;Pr(this,function(){this.ni("beforeparentopen");var k=_.Gr(this.methods);this.params._methods=_.Hr(k,"..",this.MJ,this,!0);k={};k.queryParams=this.params;a=_.Rm(_.gf,this.config.url,this.id,k);var l=e.openWindow(a);this.canAutoClose=function(m){m(e.tP(l))};e.jZ(l,this);this.w0=l})};Nr(Vr);
|
|
Vr.prototype.close=function(a){a=this.ni("close",a);this.Bfa.IP(this.w0);return a};Vr.prototype.EW=function(){this.ni("close")};_.Wo.send=function(a,b,c){_.Pa.DY(_.Wo,a,b,c)};
|
|
(function(){function a(h){return _.Pa.Rw[h]}function b(h,k){_.Pa.Rw[h]=k}function c(h){h=h||{};"auto"===h.height&&(h.height=_.bn());var k=window&&wr&&wr.La();k?k.kY(h.width||0,h.height||0):_.Wo&&_.Wo._resizeMe&&_.Wo._resizeMe(h)}function d(h){Fr(h)}_.Pa.Jm={};_.Pa.Rw={};_.Pa.AF={};_.Pa.nU=0;_.Pa.Mj={};_.Pa.kr={};_.Pa.TB=null;_.Pa.SB=[];_.Pa.lca=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_(_.Wo.id)}}catch(m){}try{_.Pa.TB={origin:this.origin,
|
|
referer:this.referer,claimedOpenerId:h&&h.id,claimedOpenerProxyChain:h&&h.proxyChain||[],sameOrigin:k};for(h=0;h<_.Pa.SB.length;++h)_.Pa.SB[h](_.Pa.TB);_.Pa.SB=[]}catch(m){Er(m)}};_.Pa.w8=function(h){var k=h&&h.Wk,l=null;k&&(l={},l.id=k.getId(),l.proxyChain=h.nJ);return l};$q();if(window.parent!=window){var e=_.dr();e.gcv&&Fr(e.gcv);var f=e.jsh;f&&fr(f);_.Gr(Ir(e,"..",""),_.Wo);_.Gr(e,_.Wo);ar()}_.Pa.Bb=a;_.Pa.Oc=b;_.Pa.vea=d;_.Pa.resize=c;_.Pa.P7=function(h){return _.Pa.AF[h]};_.Pa.NK=function(h,
|
|
k){_.Pa.AF[h]=k};_.Pa.jY=c;_.Pa.Rea=d;_.Pa.qA={};_.Pa.qA.get=a;_.Pa.qA.set=b;_.Pa.allow=function(h,k){cr(h);_.Pa.kr[h]=k||window[h]};_.Pa.voa=function(h){delete _.Pa.kr[h]};_.Pa.open=function(h,k,l,m,n,p){3==arguments.length?m={}:4==arguments.length&&"function"===typeof m&&(n=m,m={});var q="bubble"===k.style&&wr?wr.La():null;return q?new Vr(h,k,l,m,q,n,p):Jr(k)?new Ur(h,k,l,m,n,p):new Tr(h,k,l,m,n,p)};_.Pa.close=function(h,k){_.Wo&&_.Wo._close&&_.Wo._close(h,k)};_.Pa.ready=function(h,k,l){2==arguments.length&&
|
|
"function"===typeof k&&(l=k,k={});var m=h||{};"height"in m||(m.height=_.bn());m._methods=_.Hr(k||{},"..","",_.Wo,!0);_.Wo&&_.Wo._ready&&_.Wo._ready(m,l)};_.Pa.OS=function(h){_.Pa.TB?h(_.Pa.TB):_.Pa.SB.push(h)};_.Pa.eca=function(h){return!!_.Pa.Jm[h]};_.Pa.Z7=function(){return["https://ssl.gstatic.com/gb/js/",_.Vi("googleapis.config/gcv")].join("")};_.Pa.LX=function(h){var k={mouseover:1,mouseout:1};if(_.Wo._event)for(var l=0;l<h.length;l++){var m=h[l];m in k&&document.addEventListener(m,function(n){_.Wo._event({event:n.type,
|
|
timestamp:(new Date).getTime()})},!0)}};_.Pa.DY=function(h,k,l,m){var n=this,p=[];void 0!==l&&p.push(l);m&&p.push(function(q){m.call(n,[q])});h[k]&&h[k].apply(h,p)};_.Pa.CROSS_ORIGIN_IFRAMES_FILTER=function(){return!0};_.Pa.C5=function(h,k,l){var m=Array.prototype.slice.call(arguments);_.Pa.OS(function(n){n.sameOrigin&&(m.unshift("/"+n.claimedOpenerId+"|"+window.location.protocol+"//"+window.location.host),_.Yg.call.apply(_.Yg,m))})};_.Pa.Rca=function(h,k){_.Yg.register(h,k)};_.Pa.Bea=fr;_.Pa.KY=
|
|
gr;_.Pa.LV=Er;_.Pa.oU=_.Wo})();_.r("iframes.allow",_.Pa.allow);_.r("iframes.callSiblingOpener",_.Pa.C5);_.r("iframes.registerForOpenedSibling",_.Pa.Rca);_.r("iframes.close",_.Pa.close);_.r("iframes.getGoogleConnectJsUri",_.Pa.Z7);_.r("iframes.getHandler",_.Pa.Bb);_.r("iframes.getDeferredHandler",_.Pa.P7);_.r("iframes.getParentInfo",_.Pa.OS);_.r("iframes.iframer",_.Pa.oU);_.r("iframes.open",_.Pa.open);_.r("iframes.openedId_",_.Pa.eca);_.r("iframes.propagate",_.Pa.LX);_.r("iframes.ready",_.Pa.ready);_.r("iframes.resize",_.Pa.resize);
|
|
_.r("iframes.setGoogleConnectJsVersion",_.Pa.vea);_.r("iframes.setBootstrapHint",_.Pa.KY);_.r("iframes.setJsHint",_.Pa.Bea);_.r("iframes.setHandler",_.Pa.Oc);_.r("iframes.setDeferredHandler",_.Pa.NK);_.r("IframeBase",Mr);_.r("IframeBase.prototype.addCallback",Mr.prototype.lb);_.r("IframeBase.prototype.getMethods",Mr.prototype.Pz);_.r("IframeBase.prototype.getOpenerIframe",Mr.prototype.wd);_.r("IframeBase.prototype.getOpenParams",Mr.prototype.Fc);_.r("IframeBase.prototype.getParams",Mr.prototype.JG);
|
|
_.r("IframeBase.prototype.removeCallback",Mr.prototype.Bp);_.r("Iframe",Tr);_.r("Iframe.prototype.close",Tr.prototype.close);_.r("Iframe.prototype.exposeMethod",Tr.prototype.Wh);_.r("Iframe.prototype.getId",Tr.prototype.getId);_.r("Iframe.prototype.getIframeEl",Tr.prototype.getIframeEl);_.r("Iframe.prototype.getSiteEl",Tr.prototype.getSiteEl);_.r("Iframe.prototype.openInto",Tr.prototype.qh);_.r("Iframe.prototype.remove",Tr.prototype.remove);_.r("Iframe.prototype.setSiteEl",Tr.prototype.setSiteEl);
|
|
_.r("Iframe.prototype.addCallback",Tr.prototype.lb);_.r("Iframe.prototype.getMethods",Tr.prototype.Pz);_.r("Iframe.prototype.getOpenerIframe",Tr.prototype.wd);_.r("Iframe.prototype.getOpenParams",Tr.prototype.Fc);_.r("Iframe.prototype.getParams",Tr.prototype.JG);_.r("Iframe.prototype.removeCallback",Tr.prototype.Bp);_.r("IframeProxy",Ur);_.r("IframeProxy.prototype.getTargetIframeId",Ur.prototype.K8);_.r("IframeProxy.prototype.addCallback",Ur.prototype.lb);_.r("IframeProxy.prototype.getMethods",Ur.prototype.Pz);
|
|
_.r("IframeProxy.prototype.getOpenerIframe",Ur.prototype.wd);_.r("IframeProxy.prototype.getOpenParams",Ur.prototype.Fc);_.r("IframeProxy.prototype.getParams",Ur.prototype.JG);_.r("IframeProxy.prototype.removeCallback",Ur.prototype.Bp);_.r("IframeWindow",Vr);_.r("IframeWindow.prototype.close",Vr.prototype.close);_.r("IframeWindow.prototype.onClosed",Vr.prototype.EW);_.r("iframes.util.getTopMostAccessibleWindow",_.Pa.Pa.Ti.dT);_.r("iframes.handlers.get",_.Pa.qA.get);_.r("iframes.handlers.set",_.Pa.qA.set);
|
|
_.r("iframes.resizeMe",_.Pa.jY);_.r("iframes.setVersionOverride",_.Pa.Rea);_.r("iframes.CROSS_ORIGIN_IFRAMES_FILTER",_.Pa.CROSS_ORIGIN_IFRAMES_FILTER);_.r("IframeBase.prototype.send",Mr.prototype.send);_.r("IframeBase.prototype.register",Mr.prototype.register);_.r("Iframe.prototype.send",Tr.prototype.send);_.r("Iframe.prototype.register",Tr.prototype.register);_.r("IframeProxy.prototype.send",Ur.prototype.send);_.r("IframeProxy.prototype.register",Ur.prototype.register);
|
|
_.r("IframeWindow.prototype.send",Vr.prototype.send);_.r("IframeWindow.prototype.register",Vr.prototype.register);_.r("iframes.iframer.send",_.Pa.oU.send);
|
|
var du=_.Pa.Oc,eu={open:function(a){var b=_.Qo(a.Fc());return a.qh(b,{style:_.Ro(b)})},attach:function(a,b){var c=_.Qo(a.Fc()),d=b.id,e=b.getAttribute("data-postorigin")||b.src,f=/#(?:.*&)?rpctoken=(\d+)/.exec(e);f=f&&f[1];a.id=d;a.jw=f;a.el=c;a.ui=b;_.Pa.Jm[d]=a;b=_.Gr(a.methods);b._ready=a.IB;b._close=a.close;b._open=a.TW;b._resizeMe=a.lY;b._renderstart=a.LW;_.Hr(b,d,"",a,!0);_.Yg.NC(a.id,a.jw);_.Yg.Wj(a.id,e);c=_.Pa.vo({style:_.Ro(c)});for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&
|
|
("style"==h?a.ui.style.cssText=c[h]:a.ui.setAttribute(h,c[h]))}};eu.onready=_.So;eu.onRenderStart=_.So;eu.close=_.To;du("inline",eu);
|
|
_.vi=function(a){for(var b in a)return!1;return!0};_.wi=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 xi,yi,Ai;xi={};yi=null;_.zi=_.Bd||_.Cd||!_.ui&&!_.xd&&"function"==typeof _.Ra.atob;_.Di=function(a,b){void 0===b&&(b=0);Ai();b=xi[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("")};
|
|
_.Ei=function(a,b){function c(l){for(;d<a.length;){var m=a.charAt(d++),n=yi[m];if(null!=n)return n;if(!_.Ec(m))throw Error("E`"+m);}return l}Ai();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))}};
|
|
Ai=function(){if(!yi){yi={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));xi[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===yi[f]&&(yi[f]=e)}}}};
|
|
_.$i={};var bj;_.aj=function(a){this.Gb=a||{cookie:""}};_.g=_.aj.prototype;_.g.isEnabled=function(){if(!_.Ra.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{zI: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.Dqa;d=c.secure||!1;var f=c.domain||void 0;var h=c.path||void 0;var k=c.zI}if(/[;=\s]/.test(a))throw Error("H`"+a);if(/[;\r\n]/.test(b))throw Error("I`"+b);void 0===k&&(k=-1);this.Gb.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.Gb.cookie||"").split(";"),e=0,f;e<d.length;e++){f=(0,_.Fc)(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.aj(a);this.set(a,"",{zI:0,path:b,domain:c});return d};_.g.Dg=function(){return bj(this).keys};_.g.Jd=function(){return bj(this).values};_.g.isEmpty=function(){return!this.Gb.cookie};_.g.Sb=function(){return this.Gb.cookie?(this.Gb.cookie||"").split(";").length:0};
|
|
_.g.aj=function(a){return void 0!==this.get(a)};_.g.sk=function(a){for(var b=bj(this).values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};_.g.clear=function(){for(var a=bj(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};bj=function(a){a=(a.Gb.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=(0,_.Fc)(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}};
|
|
_.cj=new _.aj("undefined"==typeof document?null:document);
|
|
_.nj={};_.oj=function(a){return _.nj[a||"token"]||null};
|
|
_.Hj=function(a){a&&"function"==typeof a.Ia&&a.Ia()};_.Ij=function(){this.Xg=this.Xg;this.hp=this.hp};_.Ij.prototype.Xg=!1;_.Ij.prototype.isDisposed=function(){return this.Xg};_.Ij.prototype.Ia=function(){this.Xg||(this.Xg=!0,this.ua())};_.Kj=function(a,b){_.Jj(a,_.Ya(_.Hj,b))};_.Jj=function(a,b){a.Xg?b():(a.hp||(a.hp=[]),a.hp.push(b))};_.Ij.prototype.ua=function(){if(this.hp)for(;this.hp.length;)this.hp.shift()()};
|
|
var Pj=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};_.fe.prototype.O=_.fb(1,function(a){return _.Ee(this.Gb,a)});_.Qj=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};_.Rj=function(a,b,c){return Object.prototype.hasOwnProperty.call(a,b)?a[b]:a[b]=c(b)};_.Uj=function(a,b){this.type="function"==typeof _.Tj&&a instanceof _.Tj?String(a):a;this.currentTarget=this.target=b;this.defaultPrevented=this.Zv=!1};_.Uj.prototype.stopPropagation=function(){this.Zv=!0};_.Uj.prototype.preventDefault=function(){this.defaultPrevented=!0};var Vj=function(){if(!_.Ra.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};_.Ra.addEventListener("test",c,b);_.Ra.removeEventListener("test",c,b)}catch(d){}return a}();_.Wj=function(a,b){_.Uj.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.AJ=!1;this.pointerId=0;this.pointerType="";this.hf=null;a&&this.yd(a,b)};_.Za(_.Wj,_.Uj);var Xj={2:"touch",3:"pen",4:"mouse"};
|
|
_.Wj.prototype.yd=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)?_.Bd&&(_.vd(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=_.Cd||void 0!==
|
|
a.offsetX?a.offsetX:a.layerX,this.offsetY=_.Cd||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.AJ=_.Fd?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||
|
|
0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Xj[a.pointerType]||"";this.state=a.state;this.hf=a;a.defaultPrevented&&_.Wj.N.preventDefault.call(this)};_.Wj.prototype.stopPropagation=function(){_.Wj.N.stopPropagation.call(this);this.hf.stopPropagation?this.hf.stopPropagation():this.hf.cancelBubble=!0};_.Wj.prototype.preventDefault=function(){_.Wj.N.preventDefault.call(this);var a=this.hf;a.preventDefault?a.preventDefault():a.returnValue=!1};_.Yj="closure_listenable_"+(1E6*Math.random()|0);_.Zj=function(a){return!(!a||!a[_.Yj])};var ak=0;var bk=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Tf=e;this.key=++ak;this.fw=this.sy=!1},ck=function(a){a.fw=!0;a.listener=null;a.proxy=null;a.src=null;a.Tf=null};var dk=function(a){this.src=a;this.xe={};this.ox=0};dk.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.xe[f];a||(a=this.xe[f]=[],this.ox++);var h=ek(a,b,d,e);-1<h?(b=a[h],c||(b.sy=!1)):(b=new bk(b,this.src,f,!!d,e),b.sy=c,a.push(b));return b};dk.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.xe))return!1;var e=this.xe[a];b=ek(e,b,c,d);return-1<b?(ck(e[b]),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.xe[a],this.ox--),!0):!1};
|
|
var fk=function(a,b){var c=b.type;if(!(c in a.xe))return!1;var d=_.kb(a.xe[c],b);d&&(ck(b),0==a.xe[c].length&&(delete a.xe[c],a.ox--));return d};dk.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.xe)if(!a||c==a){for(var d=this.xe[c],e=0;e<d.length;e++)++b,ck(d[e]);delete this.xe[c];this.ox--}return b};dk.prototype.Xq=function(a,b,c,d){a=this.xe[a.toString()];var e=-1;a&&(e=ek(a,b,c,d));return-1<e?a[e]:null};
|
|
dk.prototype.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return Pj(this.xe,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 ek=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.fw&&f.listener==b&&f.capture==!!c&&f.Tf==d)return e}return-1};var gk,hk,ik,mk,ok,pk,qk,tk;gk="closure_lm_"+(1E6*Math.random()|0);hk={};ik=0;_.kk=function(a,b,c,d,e){if(d&&d.once)return _.jk(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.kk(a,b[f],c,d,e);return null}c=_.lk(c);return _.Zj(a)?a.ka(b,c,_.Wb(d)?!!d.capture:!!d,e):mk(a,b,c,!1,d,e)};
|
|
mk=function(a,b,c,d,e,f){if(!b)throw Error("J");var h=_.Wb(e)?!!e.capture:!!e,k=_.nk(a);k||(a[gk]=k=new dk(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=ok();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Vj||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(pk(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("K");ik++;return c};ok=function(){var a=qk,b=function(c){return a.call(b.src,b.listener,c)};return b};
|
|
_.jk=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)_.jk(a,b[f],c,d,e);return null}c=_.lk(c);return _.Zj(a)?a.Lr(b,c,_.Wb(d)?!!d.capture:!!d,e):mk(a,b,c,!0,d,e)};_.rk=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)_.rk(a,b[f],c,d,e);else d=_.Wb(d)?!!d.capture:!!d,c=_.lk(c),_.Zj(a)?a.Hc(b,c,d,e):a&&(a=_.nk(a))&&(b=a.Xq(b,c,d,e))&&_.sk(b)};
|
|
_.sk=function(a){if("number"===typeof a||!a||a.fw)return!1;var b=a.src;if(_.Zj(b))return b.aN(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(pk(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ik--;(c=_.nk(b))?(fk(c,a),0==c.ox&&(c.src=null,b[gk]=null)):ck(a);return!0};pk=function(a){return a in hk?hk[a]:hk[a]="on"+a};
|
|
qk=function(a,b){if(a.fw)a=!0;else{b=new _.Wj(b,this);var c=a.listener,d=a.Tf||a.src;a.sy&&_.sk(a);a=c.call(d,b)}return a};_.nk=function(a){a=a[gk];return a instanceof dk?a:null};tk="__closure_events_fn_"+(1E9*Math.random()>>>0);_.lk=function(a){if("function"===typeof a)return a;a[tk]||(a[tk]=function(b){return a.handleEvent(b)});return a[tk]};_.Oj(function(a){qk=a(qk)});_.uk=function(){_.Ij.call(this);this.Ck=new dk(this);this.W4=this;this.sJ=null};_.Za(_.uk,_.Ij);_.uk.prototype[_.Yj]=!0;_.g=_.uk.prototype;_.g.yo=function(){return this.sJ};_.g.ZC=function(a){this.sJ=a};_.g.addEventListener=function(a,b,c,d){_.kk(this,a,b,c,d)};_.g.removeEventListener=function(a,b,c,d){_.rk(this,a,b,c,d)};
|
|
_.g.dispatchEvent=function(a){var b,c=this.yo();if(c)for(b=[];c;c=c.yo())b.push(c);c=this.W4;var d=a.type||a;if("string"===typeof a)a=new _.Uj(a,c);else if(a instanceof _.Uj)a.target=a.target||c;else{var e=a;a=new _.Uj(d,c);_.rb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.Zv&&0<=f;f--){var h=a.currentTarget=b[f];e=h.ru(d,!0,a)&&e}a.Zv||(h=a.currentTarget=c,e=h.ru(d,!0,a)&&e,a.Zv||(e=h.ru(d,!1,a)&&e));if(b)for(f=0;!a.Zv&&f<b.length;f++)h=a.currentTarget=b[f],e=h.ru(d,!1,a)&&e;return e};
|
|
_.g.ua=function(){_.uk.N.ua.call(this);this.XJ();this.sJ=null};_.g.ka=function(a,b,c,d){return this.Ck.add(String(a),b,!1,c,d)};_.g.Lr=function(a,b,c,d){return this.Ck.add(String(a),b,!0,c,d)};_.g.Hc=function(a,b,c,d){return this.Ck.remove(String(a),b,c,d)};_.g.aN=function(a){return fk(this.Ck,a)};_.g.XJ=function(){this.Ck&&this.Ck.removeAll(void 0)};
|
|
_.g.ru=function(a,b,c){a=this.Ck.xe[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.fw&&f.capture==b){var h=f.listener,k=f.Tf||f.src;f.sy&&this.aN(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};_.g.Xq=function(a,b,c,d){return this.Ck.Xq(String(a),b,c,d)};_.g.hasListener=function(a,b){return this.Ck.hasListener(void 0!==a?String(a):void 0,b)};
|
|
var rt;rt=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};_.st=function(a,b,c,d){return Array.prototype.splice.apply(a,rt(arguments,1))};_.tt=function(a,b,c){if(null!==a&&b in a)throw Error("k`"+b);a[b]=c};_.ut=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:""):_.ie(c,"*",a,b)[0]||null}return a||null};
|
|
_.vt=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};_.wt=function(a){var b;if(_.Wd&&(b=a.parentElement))return b;b=a.parentNode;return _.ze(b)?b:null};_.xt=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null};_.zt=function(a){_.Ij.call(this);this.Je=a;this.kc={}};_.Za(_.zt,_.Ij);var At=[];_.zt.prototype.ka=function(a,b,c,d){return this.zv(a,b,c,d)};
|
|
_.zt.prototype.zv=function(a,b,c,d,e){Array.isArray(b)||(b&&(At[0]=b.toString()),b=At);for(var f=0;f<b.length;f++){var h=_.kk(a,b[f],c||this.handleEvent,d||!1,e||this.Je||this);if(!h)break;this.kc[h.key]=h}return this};_.zt.prototype.Lr=function(a,b,c,d){return Bt(this,a,b,c,d)};var Bt=function(a,b,c,d,e,f){if(Array.isArray(c))for(var h=0;h<c.length;h++)Bt(a,b,c[h],d,e,f);else{b=_.jk(b,c,d||a.handleEvent,e,f||a.Je||a);if(!b)return a;a.kc[b.key]=b}return a};
|
|
_.zt.prototype.Hc=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Hc(a,b[f],c,d,e);else c=c||this.handleEvent,d=_.Wb(d)?!!d.capture:!!d,e=e||this.Je||this,c=_.lk(c),d=!!d,b=_.Zj(a)?a.Xq(b,c,d,e):a?(a=_.nk(a))?a.Xq(b,c,d,e):null:null,b&&(_.sk(b),delete this.kc[b.key]);return this};_.zt.prototype.removeAll=function(){_.mb(this.kc,function(a,b){this.kc.hasOwnProperty(b)&&_.sk(a)},this);this.kc={}};_.zt.prototype.ua=function(){_.zt.N.ua.call(this);this.removeAll()};
|
|
_.zt.prototype.handleEvent=function(){throw Error("S");};
|
|
var $u,av,bv,cv,dv,fv,gv,hv,iv,kv;_.Zu=!1;$u=function(a){try{_.Zu&&window.console&&window.console.log&&window.console.log(a)}catch(b){}};av=function(a){try{window.console&&window.console.warn&&window.console.warn(a)}catch(b){}};bv=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};
|
|
cv=function(a,b){function c(){}if(!a)throw Error("V");if(!b)throw Error("W");c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};dv=function(a){return"[object Function]"===Object.prototype.toString.call(a)};_.ev=function(a){var b={};if(a)for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);return b};fv=function(a){var b=location.hash;a=new RegExp("[&#]"+a+"=([^&]*)");b=decodeURIComponent(b);b=a.exec(b);return null==b?"":b[1].replace(/\+/g," ")};
|
|
gv=function(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent("on"+b,c);else throw Error("X`"+b);};hv={token:1,id_token:1};iv=function(){var a=navigator.userAgent.toLowerCase();return-1!=a.indexOf("msie")&&8==parseInt(a.split("msie")[1],10)};_.jv=window.JSON;kv=function(a){this.pN=a||[];this.wc={}};
|
|
kv.prototype.addEventListener=function(a,b){if(!(0<=bv(this.pN,a)))throw Error("Z`"+a);if(!dv(b))throw Error("$`"+a);this.wc[a]||(this.wc[a]=[]);0>bv(this.wc[a],b)&&this.wc[a].push(b)};kv.prototype.removeEventListener=function(a,b){if(!(0<=bv(this.pN,a)))throw Error("Z`"+a);dv(b)&&this.wc[a]&&this.wc[a].length&&(b=bv(this.wc[a],b),0<=b&&this.wc[a].splice(b,1))};
|
|
kv.prototype.dispatchEvent=function(a){var b=a.type;if(!(b&&0<=bv(this.pN,b)))throw Error("aa`"+b);if(this.wc[b]&&this.wc[b].length)for(var c=this.wc[b].length,d=0;d<c;d++)this.wc[b][d](a)};var lv,mv,nv,rv,sv,Jv,Kv,Mv,Nv,Pv,Zv;lv={};mv={};nv={google:{authServerUrl:"https://accounts.google.com/o/oauth2/auth",idpIFrameUrl:"https://accounts.google.com/o/oauth2/iframe"}};_.ov=function(a,b){if(a=nv[a])return a[b]};_.pv=function(a,b){if(!a)throw Error("ba");if(!b.authServerUrl)throw Error("ca");if(!b.idpIFrameUrl)throw Error("da");nv[a]={authServerUrl:b.authServerUrl,idpIFrameUrl:b.idpIFrameUrl}};_.qv=void 0;
|
|
rv=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")};sv=function(){this.Ri=window;this.Ny=this.Rn=this.Wv=this.Gi=null};
|
|
sv.prototype.open=function(a,b,c,d){tv(this);this.Wv?(this.Rn&&(this.Rn(),this.Rn=null),uv(this)):this.Wv="authPopup"+Math.floor(1E6*Math.random()+1);a:{this.Gi=this.Ri.open(a,this.Wv,b);try{this.Gi.focus();if(this.Gi.closed||"undefined"==typeof this.Gi.closed)throw Error("fa");_.qv=this.Gi}catch(e){d&&setTimeout(d,0);this.Gi=null;break a}c&&(this.Rn=c,vv(this))}};
|
|
var tv=function(a){try{if(null==a.Gi||a.Gi.closed)a.Gi=null,a.Wv=null,uv(a),a.Rn&&(a.Rn(),a.Rn=null)}catch(b){a.Gi=null,a.Wv=null,uv(a)}},vv=function(a){a.Ny=window.setInterval(function(){tv(a)},300)},uv=function(a){a.Ny&&(window.clearInterval(a.Ny),a.Ny=null)};mv=mv||{};var wv=function(a,b){this.lc=a;this.RH=b;this.Qd=null;this.Io=!1};wv.prototype.start=function(){if(!this.Io&&!this.Qd){var a=this;this.Qd=window.setTimeout(function(){a.clear();a.Io||(a.lc(),a.Io=!0)},mv.bT(this.RH))}};
|
|
wv.prototype.clear=function(){this.Qd&&(window.clearTimeout(this.Qd),this.Qd=null)};var xv=function(a,b){var c=mv.wt;this.v$=mv.mt;this.p0=c;this.lc=a;this.RH=b;this.Qd=null;this.Io=!1;var d=this;this.q0=function(){document[d.v$]||(d.clear(),d.start())}};xv.prototype.start=function(){if(!this.Io&&!this.Qd){gv(document,this.p0,this.q0);var a=this;this.Qd=window.setTimeout(function(){a.clear();a.Io||(a.lc(),a.Io=!0)},mv.bT(this.RH))}};
|
|
xv.prototype.clear=function(){var a=this.p0,b=this.q0,c=document;if(c.removeEventListener)c.removeEventListener(a,b,!1);else if(c.detachEvent)c.detachEvent("on"+a,b);else throw Error("Y`"+a);this.Qd&&(window.clearTimeout(this.Qd),this.Qd=null)};mv.mt=null;mv.wt=null;
|
|
mv.Y$=function(){var a=document;"undefined"!==typeof a.hidden?(mv.mt="hidden",mv.wt="visibilitychange"):"undefined"!==typeof a.msHidden?(mv.mt="msHidden",mv.wt="msvisibilitychange"):"undefined"!==typeof a.webkitHidden&&(mv.mt="webkitHidden",mv.wt="webkitvisibilitychange")};mv.Y$();mv.m6=function(a,b){return mv.mt&&mv.wt?new xv(a,b):new wv(a,b)};mv.bT=function(a){return Math.max(1,a-(new Date).getTime())};
|
|
var yv=function(a,b){document.cookie="G_ENABLED_IDPS="+a+";domain=."+b+";expires=Fri, 31 Dec 9999 12:00:00 GMT;path=/"},zv=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var q=h,u=0;64>u;u+=4)q[u/4]=p[u]<<24|p[u+1]<<16|p[u+2]<<8|p[u+3];for(u=16;80>u;u++)p=q[u-3]^q[u-8]^q[u-14]^q[u-16],q[u]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],t=e[2],x=e[3],y=e[4];for(u=0;80>u;u++){if(40>u)if(20>u){var z=x^v&(t^x);var C=1518500249}else z=
|
|
v^t^x,C=1859775393;else 60>u?(z=v&t|x&(v|t),C=2400959708):(z=v^t^x,C=3395469782);z=((p<<5|p>>>27)&4294967295)+z+y+C+q[u]&4294967295;y=x;x=t;t=(v<<30|v>>>2)&4294967295;v=p;p=z}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+y&4294967295}function c(p,q){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var u=[],v=0,t=p.length;v<t;++v)u.push(p.charCodeAt(v));p=u}q||(q=p.length);u=0;if(0==m)for(;u+64<q;)b(p.slice(u,u+64)),u+=64,n+=64;for(;u<
|
|
q;)if(f[m++]=p[u++],n++,64==m)for(m=0,b(f);u+64<q;)b(p.slice(u,u+64)),u+=64,n+=64}function d(){var p=[],q=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var u=63;56<=u;u--)f[u]=q&255,q>>>=8;b(f);for(u=q=0;5>u;u++)for(var v=24;0<=v;v-=8)p[q++]=e[u]>>v&255;return p}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,cj:function(){for(var p=d(),q="",u=0;u<p.length;u++)q+="0123456789ABCDEF".charAt(Math.floor(p[u]/16))+"0123456789ABCDEF".charAt(p[u]%16);return q}}},Av=
|
|
window.crypto,Bv=!1,Cv=0,Dv=1,Ev=0,Fv="",Gv=function(a){a=a||window.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Dv=Dv*b%Ev;if(3==++Cv)if(a=window,b=Gv,a.removeEventListener)a.removeEventListener("mousemove",b,!1);else if(a.detachEvent)a.detachEvent("onmousemove",b);else throw Error("Y`mousemove");},Hv=function(a){var b=zv();b.update(a);return b.cj()};Bv=!!Av&&"function"==typeof Av.getRandomValues;
|
|
Bv||(Ev=1E6*(screen.width*screen.width+screen.height),Fv=Hv(document.cookie+"|"+document.location+"|"+(new Date).getTime()+"|"+Math.random()),gv(window,"mousemove",Gv));lv=lv||{};lv.l2="ssIFrame_";
|
|
_.Iv=function(a,b,c){c=void 0===c?!1:c;this.Ib=a;if(!this.Ib)throw Error("ga");a=_.ov(a,"idpIFrameUrl");if(!a)throw Error("ha");this.kU=a;if(!b)throw Error("ia");this.un=b;a=this.kU;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.CH=a.join("");this.Eda=[location.protocol,"//",location.host].join("");
|
|
this.bx=this.BH=this.No=!1;this.gU=null;this.HB=[];this.js=[];this.lk={};this.Oo=void 0;this.Ws=c};_.g=_.Iv.prototype;_.g.show=function(){var a=this.Oo;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.jc=function(){rv(this.Oo)};
|
|
_.g.lB=function(a){if(this.No)a&&a(this);else{if(!this.Oo){var b=lv.l2+this.Ib;var c=this.Ib;var d=location.hostname;var e,f=document.cookie.match("(^|;) ?G_ENABLED_IDPS=([^;]*)(;|$)");f&&2<f.length&&(e=f[2]);(f=e&&0<=bv(e.split("|"),c))?yv(e,d):yv(e?e+"|"+c:c,d);c=!f;var h=this.kU,k=this.Eda;d=this.un;e=this.Ws;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&&dv(document.requestStorageAccess)&&
|
|
(l+=" allow-storage-access-by-user-activation");b.call(f,"sandbox",l);rv(f);f.setAttribute("frame-border","0");b=[h,"#origin=",encodeURIComponent(k)];b.push("&rpcToken=");b.push(encodeURIComponent(d));c&&b.push("&clearCache=1");_.Zu&&b.push("&debug=1");e&&b.push("&supportBlocked3PCookies=1");document.body.appendChild(f);f.setAttribute("src",b.join(""));this.Oo=f}a&&this.HB.push(a)}};_.g.WA=function(){return this.No&&this.bx};_.g.wo=function(){return this.gU};
|
|
Jv=function(a){for(var b=0;b<a.HB.length;b++)a.HB[b](a);a.HB=[]};_.Lv=function(a,b,c,d){if(a.No){if(a.No&&a.BH)throw a="Failed to communicate with IDP IFrame due to unitialization error: "+a.wo(),$u(a),Error(a);Kv(a,{method:b,params:c},d)}else a.js.push({Fp:{method:b,params:c},callback:d}),a.lB()};Kv=function(a,b,c){if(c){for(var d=b.id;!d||a.lk[d];)d=(new Date).getMilliseconds()+"-"+(1E6*Math.random()+1);b.id=d;a.lk[d]=c}b.rpcToken=a.un;a.Oo.contentWindow.postMessage(_.jv.stringify(b),a.CH)};
|
|
Mv=function(a){if(a&&0<=a.indexOf("::"))throw Error("ja");};_.Iv.prototype.Gj=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;Mv(f);b=_.ev(b);_.Lv(this,"getTokenResponse",{clientId:a,loginHint:c,request:b,sessionSelector:d,forceRefresh:h,skipCache:k,id:f,userInteracted:l},e)};_.Iv.prototype.kB=function(a,b,c,d,e){b=_.ev(b);_.Lv(this,"listIdpSessions",{clientId:a,request:b,sessionSelector:c,forceRefresh:e},d)};Nv=function(a,b,c){Mv(b.identifier);_.Lv(a,"getSessionSelector",b,c)};
|
|
_.Ov=function(a,b,c,d,e){Mv(b.identifier);_.Lv(a,"setSessionSelector",{domain:b.domain,crossSubDomains:b.crossSubDomains,policy:b.policy,id:b.id,hint:d,disabled:!!c},e)};Pv=function(a,b,c,d,e){b={clientId:b};c&&(b.pluginName=c);d&&(b.ackExtensionDate=d);_.Lv(a,"monitorClient",b,e)};_.Iv.prototype.revoke=_.da(9);_.Iv.prototype.Mt=_.da(11);lv.zA={};lv.CG=function(a){return lv.zA[a]};
|
|
lv.lB=function(a,b,c){c=void 0===c?!1:c;var d=lv.CG(a);if(!d){d=String;if(Bv){var e=new window.Uint32Array(1);Av.getRandomValues(e);e=Number("0."+e[0])}else e=Dv,e+=parseInt(Fv.substr(0,20),16),Fv=Hv(Fv),e/=Ev+Math.pow(16,20);d=new _.Iv(a,d(2147483647*e),c);lv.zA[a]=d}d.lB(b)};lv.R7=function(a){for(var b in lv.zA){var c=lv.CG(b);if(c&&c.Oo&&c.Oo.contentWindow==a.source&&c.CH==a.origin)return c}};lv.y8=function(a){for(var b in lv.zA){var c=lv.CG(b);if(c&&c.CH==a)return c}};lv=lv||{};
|
|
var Rv=function(){var a=[],b;for(b in Qv)a.push(Qv[b]);kv.call(this,a);this.Km={};$u("EventBus is ready.")};cv(Rv,kv);var Qv={Z3:"sessionSelectorChanged",qE:"sessionStateChanged",UD:"authResult",j1:"displayIFrame"},Tv=function(a,b){var c=Sv;a&&b&&(c.Km[a]||(c.Km[a]=[]),0>bv(c.Km[a],b)&&c.Km[a].push(b))},Uv=function(a){var b=Sv;a&&(b.Km[a]||(b.Km[a]=[]))},Vv=function(a,b,c){return b&&a.Km[b]&&0<=bv(a.Km[b],c)};_.g=Rv.prototype;
|
|
_.g.Hca=function(a){var b,c=!!a.source&&(a.source===_.qv||a.source.opener===window);if(b=c?lv.y8(a.origin):lv.R7(a)){try{var d=_.jv.parse(a.data)}catch(e){$u("Bad event, an error happened when parsing data.");return}if(!c){if(!d||!d.rpcToken||d.rpcToken!=b.un){$u("Bad event, no RPC token.");return}if(d.id&&!d.method){c=d;if(a=b.lk[c.id])delete b.lk[c.id],a(c.result,c.error);return}}"fireIdpEvent"!=d.method?$u("Bad IDP event, method unknown."):(a=d.params)&&a.type&&this.jU[a.type]?(d=this.jU[a.type],
|
|
c&&!d.b5?$u("Bad IDP event. Source window cannot be a popup."):d.dt&&!d.dt.call(this,b,a)?$u("Bad IDP event."):d.Tf.call(this,b,a)):$u("Bad IDP event.")}else $u("Bad event, no corresponding Idp Stub.")};_.g.eea=function(a,b){return Vv(this,a.Ib,b.clientId)};_.g.dea=function(a,b){b=b.clientId;return!b||Vv(this,a.Ib,b)};_.g.o5=function(a,b){return Vv(this,a.Ib,b.clientId)};_.g.Mba=function(a,b){a.No=!0;a.bx=!!b.cookieDisabled;Jv(a);for(b=0;b<a.js.length;b++)Kv(a,a.js[b].Fp,a.js[b].callback);a.js=[]};
|
|
_.g.Lba=function(a,b){b={error:b.error};a.No=!0;a.BH=!0;a.gU=b;a.js=[];Jv(a)};_.g.hC=function(a,b){b.originIdp=a.Ib;this.dispatchEvent(b)};var Sv=new Rv,Wv=Sv,Xv={};Xv.idpReady={Tf:Wv.Mba};Xv.idpError={Tf:Wv.Lba};Xv.sessionStateChanged={Tf:Wv.hC,dt:Wv.eea};Xv.sessionSelectorChanged={Tf:Wv.hC,dt:Wv.dea};Xv.authResult={Tf:Wv.hC,dt:Wv.o5,b5:!0};Xv.displayIFrame={Tf:Wv.hC};Sv.jU=Xv||{};gv(window,"message",function(a){Sv.Hca.call(Sv,a)});
|
|
_.Yv=function(a,b){this.Se=!1;if(!a)throw Error("ka");var c=[],d;for(d in a)c.push(a[d]);kv.call(this,c);this.Ld=[location.protocol,"//",location.host].join("");this.Fe=b.crossSubDomains?b.domain||this.Ld:this.Ld;if(!b)throw Error("la");if(!b.idpId)throw Error("ma");if(!_.ov(b.idpId,"authServerUrl")||!_.ov(b.idpId,"idpIFrameUrl"))throw Error("na`"+b.idpId);this.Ib=b.idpId;this.mc=void 0;this.u6=!!b.disableTokenRefresh;this.o7=!!b.forceTokenRefresh;this.dfa=!!b.skipTokenCache;this.Ws=!!b.supportBlocked3PCookies;
|
|
b.pluginName&&(this.wca=b.pluginName);b.ackExtensionDate&&(this.S4=b.ackExtensionDate);this.setOptions(b);this.Vt=[];this.bx=this.Pk=this.TU=!1;this.zj=void 0;this.YX();this.Yd=void 0;var e=this,f=function(){$u("Token Manager is ready.");if(e.Vt.length)for(var h=0;h<e.Vt.length;h++)e.Vt[h].call(e);e.TU=!0;e.Vt=[]};lv.lB(this.Ib,function(h){e.Yd=h;h.No&&h.BH?(e.Pk=!0,e.zj=h.wo(),e.Wr(e.zj)):(e.bx=h.WA(),e.mc?Pv(e.Yd,e.mc,e.wca,e.S4,function(k){var l=!!k.validOrigin,m=!!k.blocked,n=!!k.suppressed;k.invalidExtension?
|
|
(e.zj={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.Pk=!0,e.Wr(e.zj)):l?m?n?(av("You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
|
|
Tv(e.Ib,e.mc),f()):(e.zj={error:"You have created a new client application that uses libraries for user authentication or authorization that are deprecated. New clients must use the new libraries instead. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."},e.Pk=!0,e.Wr(e.zj)):(av("Your client application uses libraries for user authentication or authorization that are deprecated. See the [Migration Guide](https://developers.google.com/identity/gsi/web/guides/gis-migration) for more information."),
|
|
Tv(e.Ib,e.mc),f()):(e.zj={error:"Not a valid origin for the client: "+e.Ld+" has not been registered for client ID "+e.mc+". Please go to https://console.developers.google.com/ and register this origin for your project's client ID."},e.Pk=!0,e.Wr(e.zj))}):(Uv(e.Ib),f()))},this.Ws)};cv(_.Yv,kv);_.g=_.Yv.prototype;_.g.setOptions=function(){};_.g.YX=function(){};_.g.Wr=function(){};_.g.WA=function(){return this.bx};_.g.wo=function(){return this.zj};Zv=function(a,b,c){return function(){b.apply(a,c)}};
|
|
_.$v=function(a,b,c){if(a.TU)b.apply(a,c);else{if(a.Pk)throw a.zj;a.Vt.push(Zv(a,b,c))}};_.Yv.prototype.zP=_.da(12);_.Yv.prototype.Mt=_.da(10);_.bw=function(a,b){_.Yv.call(this,a,b);this.yX=new sv;this.dl=this.mp=null;aw(this)};cv(_.bw,_.Yv);_.bw.prototype.setOptions=function(){};
|
|
var cw=function(a,b){a.Pe={crossSubDomains:!!b.crossSubDomains,id:b.sessionSelectorId,domain:a.Fe};b.crossSubDomains&&(a.Pe.policy=b.policy)},dw=function(a,b){if(!b.authParameters)throw Error("oa");if(!b.authParameters.scope)throw Error("pa");if(!b.authParameters.response_type)throw Error("qa");a.Dt=b.authParameters;a.Dt.redirect_uri||(a.Dt.redirect_uri=[location.protocol,"//",location.host,location.pathname].join(""));a.Qj=_.ev(b.rpcAuthParameters||a.Dt);if(!a.Qj.scope)throw Error("ra");if(!a.Qj.response_type)throw Error("sa");
|
|
a:{var c=a.Qj.response_type.split(" ");for(var d=0,e=c.length;d<e;d++)if(c[d]&&!hv[c[d]]){c=!0;break a}c=!1}if(c)throw Error("ta");b.enableSerialConsent&&(a.Qj.enable_serial_consent=!0);b.authResultIdentifier&&(a.p5=b.authResultIdentifier);b.spec_compliant&&(a.Qj.spec_compliant=b.spec_compliant)};
|
|
_.bw.prototype.YX=function(){var a=this;Sv.addEventListener(Qv.Z3,function(b){a.Se&&a.Pe&&b.originIdp==a.Ib&&!b.crossSubDomains==!a.Pe.crossSubDomains&&b.domain==a.Pe.domain&&b.id==a.Pe.id&&a.NW(b)});Sv.addEventListener(Qv.qE,function(b){a.Se&&b.originIdp==a.Ib&&b.clientId==a.mc&&a.OW(b)});Sv.addEventListener(Qv.UD,function(b){_.qv=void 0;a.Se&&b.originIdp==a.Ib&&b.clientId==a.mc&&b.id==a.Xk&&(a.mp&&(window.clearTimeout(a.mp),a.mp=null),a.Xk=void 0,a.Jv(b))});Sv.addEventListener(Qv.j1,function(b){a.Se&&
|
|
b.originIdp==a.Ib&&(b.jc?a.Yd.jc():a.Yd.show())})};_.bw.prototype.NW=function(){};_.bw.prototype.OW=function(){};_.bw.prototype.Jv=function(){};var fw=function(a,b){ew(a);a.u6||(a.dl=mv.m6(function(){a.Gj(!0)},b-3E5),navigator.onLine&&a.dl.start())},ew=function(a){a.dl&&(a.dl.clear(),a.dl=null)},aw=function(a){var b=window;iv()&&(b=document.body);gv(b,"online",function(){a.dl&&a.dl.start()});gv(b,"offline",function(){a.dl&&a.dl.clear()})};_.bw.prototype.Gj=function(){};_.bw.prototype.qW=_.da(13);
|
|
_.bw.prototype.Iaa=function(a,b){if(!this.mc)throw Error("xa");this.Yd.kB(this.mc,this.Qj,this.Pe,a,b)};_.bw.prototype.kB=function(a,b){_.$v(this,this.Iaa,[a,b])};_.hw=function(a){this.Le=void 0;this.Sh=!1;this.zs=void 0;_.bw.call(this,_.gw,a)};cv(_.hw,_.bw);_.gw={VN:"noSessionBound",vt:"userLoggedOut",D0:"activeSessionChanged",qE:"sessionStateChanged",lO:"tokenReady",z4:"tokenFailed",UD:"authResult",ERROR:"error"};
|
|
_.hw.prototype.setOptions=function(a){if(!a.clientId)throw Error("ya");this.mc=a.clientId;this.Ga=a.id;cw(this,a);dw(this,a)};_.hw.prototype.Wr=function(a){this.dispatchEvent({type:_.gw.ERROR,error:"idpiframe_initialization_failed",details:a.error,idpId:this.Ib})};var iw=function(a){ew(a);a.zs=void 0;a.fB=void 0};_.g=_.hw.prototype;
|
|
_.g.NW=function(a){var b=a.newValue||{};if(this.Le!=b.hint||this.Sh!=!!b.disabled){a=this.Le;var c=!this.Le||this.Sh;iw(this);this.Le=b.hint;this.Sh=!!b.disabled;(b=!this.Le||this.Sh)&&!c?this.dispatchEvent({type:_.gw.vt,idpId:this.Ib}):b||(a!=this.Le&&this.dispatchEvent({type:_.gw.D0,idpId:this.Ib}),this.Le&&this.Gj())}};
|
|
_.g.OW=function(a){this.Sh||(this.Le?a.user||this.zs?a.user==this.Le&&(this.zs?a.sessionState?this.zs=a.sessionState:(iw(this),this.dispatchEvent({type:_.gw.vt,idpId:this.Ib})):a.sessionState&&(this.zs=a.sessionState,this.Gj())):this.Gj():this.dispatchEvent({type:_.gw.qE,idpId:this.Ib}))};_.g.Jv=function(a){this.dispatchEvent({type:_.gw.UD,authResult:a.authResult})};_.g.Cu=_.da(15);_.g.wu=function(a){_.$v(this,this.qG,[a])};_.g.qG=function(a){Nv(this.Yd,this.Pe,a)};
|
|
_.g.rD=function(a,b,c,d){d=void 0===d?!1:d;if(!a)throw Error("za");iw(this);this.Le=a;this.Sh=!1;b&&_.Ov(this.Yd,this.Pe,!1,this.Le);this.Se=!0;this.Gj(c,!0,d)};_.g.start=function(){_.$v(this,this.Pw,[])};
|
|
_.g.Pw=function(){var a=this.mc==fv("client_id")?fv("login_hint"):void 0;var b=this.mc==fv("client_id")?fv("state"):void 0;this.VI=b;if(a)window.history.replaceState?window.history.replaceState(null,document.title,window.location.href.split("#")[0]):window.location.href.hash="",this.rD(a,!0,!0,!0);else{var c=this;this.wu(function(d){c.Se=!0;d&&d.hint?(iw(c),c.Le=d.hint,c.Sh=!!d.disabled,c.Sh?c.dispatchEvent({type:_.gw.vt,idpId:c.Ib}):c.rD(d.hint)):(iw(c),c.Le=void 0,c.Sh=!(!d||!d.disabled),c.dispatchEvent({type:_.gw.VN,
|
|
autoOpenAuthUrl:!c.Sh,idpId:c.Ib}))})}};_.g.l7=function(){var a=this;this.wu(function(b){b&&b.hint?b.disabled?a.dispatchEvent({type:_.gw.vt,idpId:a.Ib}):a.Gj(!0):a.dispatchEvent({type:_.gw.VN,idpId:a.Ib})})};_.g.cS=function(){_.$v(this,this.l7,[])};
|
|
_.g.Gj=function(a,b,c){var d=this;this.Yd.Gj(this.mc,this.Qj,this.Le,this.Pe,function(e,f){(f=f||e.error)?"user_logged_out"==f?(iw(d),d.dispatchEvent({type:_.gw.vt,idpId:d.Ib})):(d.fB=null,d.dispatchEvent({type:_.gw.z4,idpId:d.Ib,error:f})):(d.fB=e,d.zs=e.session_state,fw(d,e.expires_at),e.idpId=d.Ib,b&&d.VI&&(e.state=d.VI,d.VI=void 0),d.dispatchEvent({type:_.gw.lO,idpId:d.Ib,response:e}))},this.Ga,a,!1,void 0===c?!1:c)};_.g.revoke=_.da(8);_.g.qY=_.da(16);
|
|
_.jw=function(a){this.Kn=null;_.bw.call(this,{},a);this.Se=!0};cv(_.jw,_.bw);_.g=_.jw.prototype;_.g.setOptions=function(a){if(!a.clientId)throw Error("ya");this.mc=a.clientId;this.Ga=a.id;cw(this,a);dw(this,a)};_.g.Wr=function(a){this.Kn&&(this.Kn({authResult:{error:"idpiframe_initialization_failed",details:a.error}}),this.Kn=null)};_.g.Jv=function(a){if(this.Kn){var b=this.Kn;this.Kn=null;b(a)}};_.g.Cu=_.da(14);_.g.wu=function(a){this.Pk?a(this.wo()):_.$v(this,this.qG,[a])};
|
|
_.g.qG=function(a){Nv(this.Yd,this.Pe,a)};_.kw=function(a,b,c){a.Pk?c(a.wo()):_.$v(a,a.bca,[b,c])};_.jw.prototype.bca=function(a,b){this.Yd.Gj(this.mc,this.Qj,a,this.Pe,function(c,d){d?b({error:d}):b(c)},this.Ga,this.o7,this.dfa)};_.jw.prototype.FV=_.da(17);
|
|
var lw=function(a){return Array.prototype.concat.apply([],arguments)},mw=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 _.Di(a,3).substring(0,64)},nw=function(){var a=navigator.userAgent.toLowerCase();return 0>a.indexOf("edge/")&&(-1<a.indexOf("chrome/")||-1<a.indexOf("crios/"))},ow=function(){var a=navigator.userAgent.toLowerCase();return-1<a.indexOf("firefox/")&&0>
|
|
a.indexOf("chrome/")&&0>a.indexOf("crios/")&&0>a.indexOf("safari/")},pw=function(a,b,c){if(!a.Se)throw Error("ua");b?_.Ov(a.Yd,a.Pe,!0,void 0,c):_.Ov(a.Yd,a.Pe,!0,a.Le,c)},qw=function(a){if(!a.Se)throw Error("ua");return a.fB},rw,sw,tw,uw,vw,ww,xw,yw,zw,Bw;_.jw.prototype.FV=_.fb(17,function(a,b){var c=this.Yd,d=this.mc,e=this.Pe,f=_.ev(this.Qj);delete f.response_type;_.Lv(c,"getOnlineCode",{clientId:d,loginHint:a,request:f,sessionSelector:e},b)});
|
|
_.hw.prototype.qY=_.fb(16,function(a){qw(this)&&qw(this).access_token&&(this.Yd.revoke(this.mc,qw(this).access_token,a),pw(this,!0))});
|
|
_.hw.prototype.Cu=_.fb(15,function(){var a=this;return function(b){if(b&&b.authResult&&b.authResult.login_hint)if(a.WA()&&a.Ws&&(nw()||ow())){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.Ib};a.fB=b;a.dispatchEvent({type:_.gw.lO,idpId:a.Ib,response:b})}else a.rD(b.authResult.login_hint,a.Sh||b.authResult.login_hint!=a.Le,!0,!0)}});
|
|
_.jw.prototype.Cu=_.fb(14,function(a){var b=this;return function(c){c&&c.authResult&&c.authResult.login_hint?b.wu(function(d){_.Ov(b.Yd,b.Pe,d&&d.disabled,c.authResult.login_hint,function(){_.kw(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"})}});_.bw.prototype.qW=_.fb(13,function(){this.mc&&_.Lv(this.Yd,"startPolling",{clientId:this.mc,origin:this.Ld,id:this.Xk})});
|
|
_.Iv.prototype.revoke=_.fb(9,function(a,b,c){_.Lv(this,"revoke",{clientId:a,token:b},c)});_.hw.prototype.revoke=_.fb(8,function(a){_.$v(this,this.qY,[a])});rw=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};
|
|
sw=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};
|
|
tw=function(a,b,c,d,e,f,h){var k=_.ov(a,"authServerUrl");if(!k)throw Error("ea`"+a);a=_.ev(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=sw())&&(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("&")};
|
|
uw=function(a,b,c,d){if(!a.mc)throw Error("va");a.Xk=c||a.p5||"auth"+Math.floor(1E6*Math.random()+1);b=b||{};b.extraQueryParams=b.extraQueryParams||{};if(!b.extraQueryParams.redirect_uri){var e=a.Ld.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.Xk);c.redirect_uri=e.join("")}return tw(a.Ib,a.Fe,a.mc,a.Dt,!0,b,d)};vw=function(a,b,c){if(!a.mc)throw Error("va");return tw(a.Ib,a.Fe,a.mc,a.Dt,!1,b,c)};
|
|
ww=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(" ")};xw=function(a,b){a.mp&&window.clearTimeout(a.mp);a.mp=window.setTimeout(function(){a.Xk==b&&(_.qv=void 0,a.mp=null,a.Xk=void 0,a.Jv({authResult:{error:"popup_closed_by_user"}}))},1E3)};
|
|
yw=function(a,b,c){if(!a.mc)throw Error("wa");c=c||{};a.WA()&&a.Ws&&(nw()||ow())&&(c.responseType=ww(c.responseType));c=uw(a,c.sessionMeta,c.oneTimeId,c.responseType);(Object.hasOwnProperty.call(window,"ActiveXObject")&&!window.ActiveXObject||rw())&&_.$v(a,a.qW,[]);var d=a.Xk;a.yX.open(c,b,function(){a.Xk==d&&xw(a,d)},function(){a.Xk=void 0;a.Jv({authResult:{error:"popup_blocked_by_browser"}})})};zw=function(a,b,c){a.Pk?c(a.wo()):_.$v(a,a.FV,[b,c])};
|
|
_.Aw=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("")};
|
|
Bw=function(a){var b=[];_.Ei(a,function(c){b.push(c)});return b};_.Cw=function(a,b){_.nj[b||"token"]=a};_.Dw=function(a){delete _.nj[a||"token"]};_.jv={parse:function(a){a=_.Og("["+String(a)+"]");if(!1===a||1!==a.length)throw new SyntaxError("JSON parsing failed.");return a[0]},stringify:function(a){return _.Pg(a)}};_.jw.prototype.cG=function(a,b){_.$v(this,this.b7,[a,b])};_.jw.prototype.b7=function(a,b){this.Yd.cG(this.mc,a,this.Qj,this.Pe,b)};_.Iv.prototype.cG=function(a,b,c,d,e){c=_.ev(c);_.Lv(this,"gsi:fetchLoginHint",{clientId:a,loginHint:b,request:c,sessionSelector:d},e)};var Ew,Fw=["client_id","cookie_policy","scope"],Gw="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(" "),Hw=["authuser","after_redirect","access_type","hl"],Iw=["login_hint","prompt"],Jw={clientid:"client_id",cookiepolicy:"cookie_policy"},Kw=["approval_prompt",
|
|
"authuser","login_hint","prompt","hd"],Lw=["login_hint","g-oauth-window","status"],Mw=Math.min(_.Ef("oauth-flow/authWindowWidth",599),screen.width-20),Nw=Math.min(_.Ef("oauth-flow/authWindowHeight",600),screen.height-30);var Ow=function(a){_.gb.call(this,a)};_.B(Ow,_.gb);Ow.prototype.name="gapi.auth2.ExternallyVisibleError";var Pw=function(){};Pw.prototype.select=function(a,b){if(a.sessions&&1==a.sessions.length&&(a=a.sessions[0],a.login_hint)){b(a);return}b()};var Qw=function(){};Qw.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 Rw=function(a){this.q5=a};
|
|
Rw.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.q5){d.login_hint?b(d):b();return}}b()};var Sw=function(a){this.Be=a;this.KC=[]};Sw.prototype.select=function(a){var b=0,c=this,d=function(e){if(e)a(e);else{var f=c.KC[b];f?(b++,c.Be.kB(function(h){h?f.select(h,d):d()})):a()}};d()};var Tw=function(a){a=new Sw(a);a.KC.push(new Pw);return a},Uw=function(a){a=new Sw(a);a.KC.push(new Qw);return a},Vw=function(a,b){void 0===b||null===b?b=Tw(a):(a=new Sw(a),a.KC.push(new Rw(b)),b=a);return b};var Ww=function(a){this.Tf=a;this.isActive=!0};Ww.prototype.remove=function(){this.isActive=!1};Ww.prototype.trigger=function(){};var Xw=function(a){this.remove=function(){a.remove()};this.trigger=function(){a.trigger()}},Yw=function(){this.wc=[]};Yw.prototype.add=function(a){this.wc.push(a)};Yw.prototype.notify=function(a){for(var b=this.wc,c=[],d=0;d<b.length;d++){var e=b[d];e.isActive&&(c.push(e),_.Rk(Zw(e.Tf,a)))}this.wc=c};var Zw=function(a,b){return function(){a(b)}};var ax=function(a){this.Ba=null;this.Zfa=new $w(this);this.wc=new Yw;void 0!=a&&this.set(a)};ax.prototype.set=function(a){a!=this.Ba&&(this.Ba=a,this.Zfa.value=a,this.wc.notify(this.Ba))};ax.prototype.get=function(){return this.Ba};ax.prototype.ka=function(a){a=new bx(this,a);this.wc.add(a);return a};ax.prototype.get=ax.prototype.get;var bx=function(a,b){Ww.call(this,b);this.Maa=a};_.B(bx,Ww);bx.prototype.trigger=function(){var a=this.Tf;a(this.Maa.get())};
|
|
var $w=function(a){this.value=null;this.ka=function(b){return new Xw(a.ka(b))}};var cx={pia:"fetch_basic_profile",rja:"login_hint",Oka:"prompt",Uka:"redirect_uri",nla:"scope",Ema:"ux_mode",Xla:"state"},dx=function(a){this.Oa={};if(a&&!_.vi(a))if("function"==typeof a.get)this.Oa=a.get();else for(var b in cx){var c=cx[b];c in a&&(this.Oa[c]=a[c])}};dx.prototype.get=function(){return this.Oa};dx.prototype.pZ=function(a){this.Oa.scope=a;return this};dx.prototype.Lu=function(){return this.Oa.scope};
|
|
var ex=function(a,b){var c=a.Oa.scope;b=lw(b.split(" "),c?c.split(" "):[]);_.Gk(b);a.Oa.scope=b.join(" ")};_.g=dx.prototype;_.g.Fea=function(a){this.Oa.prompt=a;return this};_.g.A8=function(){return this.Oa.prompt};_.g.hea=function(){_.Tg.warn("Property app_package_name no longer supported and was not set");return this};_.g.y7=function(){_.Tg.warn("Property app_package_name no longer supported")};_.g.Ef=function(a){this.Oa.state=a};_.g.getState=function(){return this.Oa.state};var fx=function(){return["toolbar=no","location="+(window.opera?"no":"yes"),"directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no","width="+Mw,"height="+Nw,"top="+(screen.height-Nw)/2,"left="+(screen.width-Mw)/2].join()},gx=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+).?.?.?$/,"$1");return JSON.parse(_.Aw(Bw(a)))},hx=function(){Ew=_.Ef("auth2/idpValue","google");var a=_.Ef("oauth-flow/authUrl","https://accounts.google.com/o/oauth2/auth"),
|
|
b=_.Ef("oauth-flow/idpIframeUrl","https://accounts.google.com/o/oauth2/iframe");_.pv(Ew,{authServerUrl:a,idpIFrameUrl:b})},ix=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}_.Wb(a[e])||(a[e]={});a=a[e]}},jx=function(){var a=window.location.origin;a||(a=window.location.protocol+"//"+window.location.host);return a},lx=function(){var a=kx();a.storage_path&&window.sessionStorage.setItem(a.storage_path,jx()+window.location.pathname);if("enforced"==a.status.toLowerCase())throw new Ow("gapi.auth2 is disabled on this website, but it is still used on page "+
|
|
window.location.href);"informational"==a.status.toLowerCase()&&_.Tg.warn("gapi.auth2 is disabled on this website, but it is still used on page "+window.location.href)};var mx=function(a){var b=a?(b=gx(a))?b.sub:null:null;this.Ga=b;this.Rc=a?_.Ik(a):null};_.g=mx.prototype;_.g.getId=function(){return this.Ga};_.g.zG=function(){var a=gx(this.Rc);return a?a.hd:null};_.g.Hg=function(){return!!this.Rc};_.g.rm=function(a){if(a)return this.Rc;a=nx;var b=_.Ik(this.Rc);!a.MA||a.wH||a.k$||(delete b.access_token,delete b.scope);return b};_.g.VJ=function(){return nx.VJ()};_.g.zl=function(){this.Rc=null};_.g.a8=function(){return this.Rc?this.Rc.scope:null};
|
|
_.g.update=function(a){this.Ga=a.Ga;this.Rc=a.Rc;this.Rc.id_token?this.iy=new ox(this.Rc):this.iy&&(this.iy=null)};var px=function(a){return a.Rc&&"object"==typeof a.Rc.session_state?_.Ik(a.Rc.session_state.extraQueryParams||{}):{}};_.g=mx.prototype;_.g.oG=function(){var a=px(this);return a&&void 0!==a.authuser&&null!==a.authuser?a.authuser:null};
|
|
_.g.yl=function(a){var b=nx,c=new dx(a);b.wH=c.Lu()?!0:!1;nx.MA&&ex(c,"openid profile email");return new _.bl(function(d,e){var f=px(this);f.login_hint=this.getId();f.scope=c.Lu();qx(b,d,e,f)},this)};_.g.Nu=function(a){return new _.bl(function(b,c){var d=a||{},e=nx;d.login_hint=this.getId();e.Nu(d).then(b,c)},this)};_.g.W8=function(a){return this.yl(a)};_.g.disconnect=function(){return nx.disconnect()};_.g.A7=function(){return this.iy};
|
|
_.g.tA=function(a){if(!this.Hg())return!1;var b=this.Rc&&this.Rc.scope?this.Rc.scope.split(" "):"";return _.yc(a?a.split(" "):[],function(c){return _.jb(b,c)})};var ox=function(a){a=gx(a);this.t7=a.sub;this.Zf=a.name;this.S8=a.given_name;this.Z6=a.family_name;this.pU=a.picture;this.Zy=a.email};_.g=ox.prototype;_.g.getId=function(){return this.t7};_.g.Zg=function(){return this.Zf};_.g.Y7=function(){return this.S8};_.g.T7=function(){return this.Z6};_.g.g8=function(){return this.pU};_.g.oo=function(){return this.Zy};var kx,rx;kx=function(){var a=_.cj.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]}:(_.Tg.warn("The G_AUTH2_MIGRATION cookie value is not valid."),{status:"none"})};rx=function(a){var b=location;if(a&&"none"!=a)return"single_host_origin"==a?b.protocol+"//"+b.host:a};
|
|
_.sx=function(a){if(!a)throw new Ow("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 Ow("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(!_.Qj(b,"."+a)&&!_.Qj(b,a))throw new Ow("Invalid cookiePolicy domain");return d};var ux=function(a){var b=a||{},c=tx();_.tc(Gw,function(d){"undefined"===typeof b[d]&&"undefined"!==typeof c[d]&&(b[d]=c[d])});return b},tx=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;Jw[d]&&(d=Jw[d]);_.jb(Gw,d)&&e&&(a[d]="true"==e?!0:"false"==e?!1:e)}}return a},vx=function(a){return String(a).replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},wx=function(a){_.tc(Gw,
|
|
function(b){var c=vx(b);"undefined"!==typeof a[c]&&"undefined"===typeof a[b]&&(a[b]=a[c],delete a[c])})},xx=function(a){a=ux(a);wx(a);a.cookie_policy||(a.cookie_policy="single_host_origin");var b=Gw+Hw,c;for(c in a)0>b.indexOf(c)&&delete a[c];return a},yx=function(a,b){if(!a)throw new Ow("Empty initial options.");for(var c=0;c<Fw.length;++c)if(!(b&&"scope"==Fw[c]||a[Fw[c]]))throw new Ow("Missing required parameter '"+Fw[c]+"'");_.sx(a.cookie_policy)},Ax=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:rx(a.cookie_policy),disableTokenRefresh:!!a.disable_token_refresh,idpId:Ew};zx(b,a);_.tc(Iw,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=_.Ef("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},zx=function(a,b){var c=b.oidc_spec_compliant;b=b.nonce;c&&(a.spec_compliant=c,b=b||mw());b&&(a.authParameters.nonce=b,a.forceTokenRefresh=!0,a.skipTokenCache=!0)},Fx=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=Bx(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:rx(c),idpId:Ew};f&&(m.authParameters.hd=f,m.rpcAuthParameters.hd=f);h&&(m.rpcAuthParameters.spec_compliant=h,k=k||mw());k&&(m.authParameters.nonce=k,m.rpcAuthParameters.nonce=k,m.forceTokenRefresh=!0,m.skipTokenCache=!0);_.tc(Iw.concat(Hw),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 Cx(a.response_type||"token"),
|
|
Dx(b)&&(m.authParameters.include_granted_scopes=a.include_granted_scopes),Ex(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=_.Ef("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},Bx=function(a){a=new Cx(a.response_type||"token");var b=[];Ex(a)&&b.push("token");Gx(a,"id_token")&&b.push("id_token");0==b.length&&(b=["token","id_token"]);return b.join(" ")},Hx=["permission","id_token"],Ix=/(^|[^_])token/,Cx=function(a){this.ss=[];this.NH(a)};
|
|
Cx.prototype.NH=function(a){a?((0<=a.indexOf("permission")||a.match(Ix))&&this.ss.push("permission"),0<=a.indexOf("id_token")&&this.ss.push("id_token"),0<=a.indexOf("code")&&this.ss.push("code")):this.ss=Hx};var Dx=function(a){return Gx(a,"code")},Ex=function(a){return Gx(a,"permission")};Cx.prototype.toString=function(){return this.ss.join(" ")};var Gx=function(a,b){var c=!1;_.tc(a.ss,function(d){d==b&&(c=!0)});return c};var Kx=function(a,b,c){this.gp=b;this.Aba=a;for(var d in a)a.hasOwnProperty(d)&&Jx(this,d);if(c&&c.length)for(a=0;a<c.length;a++)this[c[a]]=this.gp[c[a]]},Jx=function(a,b){a[b]=function(){return a.Aba[b].apply(a.gp,arguments)}};Kx.prototype.then=function(a,b,c){var d=this;return _.fl().then(function(){return Lx(d.gp,a,b,c)})};_.Lk(Kx);var nx,Mx,Ox;nx=null;_.Nx=function(){return nx?Mx():null};Mx=function(){return new Kx(Ox.prototype,nx,["currentUser","isSignedIn"])};
|
|
Ox=function(a){delete a.include_granted_scopes;this.Oa=Ax(a);this.j6=a.cookie_policy;this.k$=!!a.scope;(this.MA=!1!==a.fetch_basic_profile)&&(this.Oa.authParameters.scope=Px(this,"openid profile email"));_.$i.GSI_SUPPORT_BLOCKED_3P_COOKIES&&(this.Ws=this.Oa.supportBlocked3PCookies=!0);this.Zu=a.hosted_domain;this.Wfa=a.ux_mode||"popup";this.Oca=a.redirect_uri||null;this.Ro()};
|
|
Ox.prototype.Ro=function(){this.currentUser=new ax(new mx(null));this.isSignedIn=new ax(!1);this.Be=new _.hw(this.Oa);this.SA=this.Dr=null;this.yaa=new _.bl(function(a,b){this.Dr=a;this.SA=b},this);this.GB={};this.rv=!0;Qx(this);this.Be.start()};
|
|
var Qx=function(a){a.Be.addEventListener("error",function(b){a.rv&&a.Dr&&(a.rv=!1,a.SA({error:b.error,details:b.details}),a.Dr=null,a.SA=null)});a.Be.addEventListener("authResult",function(b){b&&b.authResult&&a.Mf(b);a.Be.Cu()(b)});a.Be.addEventListener("tokenReady",function(b){var c=new mx(b.response);if(a.Zu&&a.Zu!=c.zG())a.Mf({type:"tokenFailed",reason:"Account domain does not match hosted_domain specified by gapi.auth2.init.",accountDomain:c.zG(),expectedDomain:a.Zu});else{a.currentUser.get().update(c);
|
|
var d=a.currentUser;d.wc.notify(d.Ba);a.isSignedIn.set(!0);c=c.oG();(d=_.sx(a.j6))&&c&&_.cj.set(["G_AUTHUSER_","https:"===window.location.protocol&&d.nf?"S":"H",d.ej].join(""),c,{domain:d.domain,secure:d.isSecure});_.Cw(b.response);a.Mf(b)}});a.Be.addEventListener("noSessionBound",function(b){a.rv&&b.autoOpenAuthUrl?(a.rv=!1,Tw(a.Be).select(function(c){if(c&&c.login_hint){var d=a.Be;_.$v(d,d.rD,[c.login_hint,!0])}else a.currentUser.set(new mx(null)),a.isSignedIn.set(!1),_.Dw(),a.Mf(b)})):(a.currentUser.set(new mx(null)),
|
|
a.isSignedIn.set(!1),_.Dw(),a.Mf(b))});a.Be.addEventListener("tokenFailed",function(b){a.Mf(b)});a.Be.addEventListener("userLoggedOut",function(b){a.currentUser.get().zl();var c=a.currentUser;c.wc.notify(c.Ba);a.isSignedIn.set(!1);_.Dw();a.Mf(b)})},Lx=function(a,b,c,d){return a.yaa.then(function(e){if(b)return b(e.U8)},c,d)};Ox.prototype.Mf=function(a){if(a){this.rv=!1;var b=a.type||"";if(this.GB[b])this.GB[b](a);this.Dr&&(this.Dr({U8:this}),this.SA=this.Dr=null)}};
|
|
var Rx=function(a,b){_.mb(b,function(c,d){a.GB[d]=function(e){a.GB={};c(e)}})},qx=function(a,b,c,d){d=_.Ik(d);a.Zu&&(d.hd=a.Zu);var e=d.ux_mode||a.Wfa;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.Oca||jx()+window.location.pathname),Sx(a,f)):(delete d.redirect_uri,Tx(a,f),Rx(a,{authResult:function(h){h.authResult&&h.authResult.error?c(h.authResult):Rx(a,{tokenReady:function(){b(a.currentUser.get())},
|
|
tokenFailed:c})}}))};Ox.prototype.yl=function(a){return new _.bl(function(b,c){var d=new dx(a);this.wH=d.Lu()?!0:!1;this.MA?(d.Oa.fetch_basic_profile=!0,ex(d,"email profile openid")):d.Oa.fetch_basic_profile=!1;var e=Px(this,d.Lu());d.pZ(e);qx(this,b,c,d.get())},this)};
|
|
Ox.prototype.Nu=function(a){var b=a||{};this.wH=!!b.scope;a=Px(this,b.scope);if(""==a)return _.gl({error:"Missing required parameter: scope"});var c={scope:a,access_type:"offline",include_granted_scopes:!0};_.tc(Kw,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=Ux(this,c):(c.redirect_uri=b.redirect_uri,Sx(this,{sessionMeta:{extraQueryParams:c},responseType:"code id_token"}),
|
|
a=_.fl({message:"Redirecting to IDP."}));return a};
|
|
var Ux=function(a,b){b.origin=jx();delete b.redirect_uri;Tx(a,{sessionMeta:{extraQueryParams:b},responseType:"code permission id_token"});return new _.bl(function(c,d){Rx(this,{authResult:function(e){(e=e&&e.authResult)&&e.code?c({code:e.code}):d(e&&e.error?e:{error:"unknown_error"})}})},a)},Tx=function(a,b){ix(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");yw(a.Be,fx(),b)},Sx=function(a,b){ix(b,["sessionMeta","extraQueryParams","gsiwebsdk"],"2");b=b||{};window.location.assign(vw(a.Be,b.sessionMeta,
|
|
b.responseType))};Ox.prototype.zl=function(a){var b=a||!1;return new _.bl(function(c){pw(this.Be,b,function(){c()})},this)};Ox.prototype.HS=function(){return this.Oa.authParameters.scope};var Px=function(a,b){a=a.HS();b=lw(b?b.split(" "):[],a?a.split(" "):[]);_.Gk(b);return b.join(" ")};Ox.prototype.VJ=function(){var a=this;return new _.bl(function(b,c){Rx(a,{noSessionBound:c,tokenFailed:c,userLoggedOut:c,tokenReady:function(d){b(d.response)}});a.Be.cS()})};
|
|
Ox.prototype.ZO=function(a,b,c,d){if(a="string"===typeof a?document.getElementById(a):a){var e=this;_.kk(a,"click",function(){var f=b;"function"==typeof b&&(f=b());e.yl(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."})};Ox.prototype.disconnect=function(){return new _.bl(function(a){this.Be.revoke(function(){a()})},this)};Ox.prototype.attachClickHandler=Ox.prototype.ZO;var Vx;_.bl.prototype["catch"]=_.bl.prototype.Zw;Vx=null;_.Wx=function(a){lx();a=xx(a);if(nx){if(_.Hk(a,Vx||{}))return Mx();throw new Ow("gapi.auth2 has been initialized with different options. Consider calling gapi.auth2.getAuthInstance() instead of gapi.auth2.init().");}yx(a,!1!==a.fetch_basic_profile);hx();Vx=a;nx=new Ox(a);_.vf.ga=1;return Mx()};var Yx,$x,Xx,by,ay,cy;_.Zx=function(a,b){lx();hx();a=xx(a);yx(a);var c=Fx(a),d=new _.jw(c);"none"==a.prompt?Xx(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)}):Yx(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.yX.Gi;b(e)})};
|
|
Yx=function(a,b,c){var d=new Cx(b.response_type);c=$x(a,d,c);var e={responseType:d.toString()};ix(e,["sessionMeta","extraQueryParams","gsiwebsdk"],b.gsiwebsdk||"2");Dx(d)&&ix(e,["sessionMeta","extraQueryParams","access_type"],b.access_type||"offline");b.redirect_uri&&ix(e,["sessionMeta","extraQueryParams","redirect_uri"],b.redirect_uri);b.state&&ix(e,["sessionMeta","extraQueryParams","state"],b.state);b=fx();a.Pk?c({authResult:{error:"idpiframe_initialization_failed",details:a.wo().error}}):(a.Kn=
|
|
c,yw(a,b,e))};$x=function(a,b,c){if(Ex(b)){var d=ay(c);return function(e){e&&e.authResult&&!e.authResult.error?a.Cu(function(f){f&&!f.error?(f=_.Ik(f),Dx(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(_.Ik(e.authResult)):c(e&&e.authResult?e.authResult:{error:"unknown_error"})}};
|
|
Xx=function(a,b,c){if(Dx(new Cx(b.response_type))&&"offline"==b.access_type)c({error:"immediate_failed",error_subtype:"access_denied"});else{var d=ay(c);b.login_hint?a.cG(b.login_hint,function(e){e?by(a,b,e,d):c({error:"immediate_failed",error_subtype:"access_denied"})}):void 0!==b.authuser&&null!==b.authuser?Vw(a,b.authuser).select(function(e){e&&e.login_hint?by(a,b,e.login_hint,d):d({error:"immediate_failed",error_subtype:"access_denied"})}):a.wu(function(e){e&&e.hint?by(a,b,e.hint,d):e&&e.disabled?
|
|
d({error:"immediate_failed",error_subtype:"no_user_bound"}):("first_valid"==b.session_selection?Uw(a):Tw(a)).select(function(f){f&&f.login_hint?by(a,b,f.login_hint,d):d({error:"immediate_failed",error_subtype:"no_user_bound"})})})}};by=function(a,b,c,d){b=new Cx(b.response_type);var e=0,f={},h=function(k){!k||k.error?d(k):(e--,_.rb(f,k),0==e&&d(f))};(Ex(b)||Gx(b,"id_token"))&&e++;Dx(b)&&e++;(Ex(b)||Gx(b,"id_token"))&&_.kw(a,c,h);Dx(b)&&zw(a,c,h)};
|
|
ay=function(a){return function(b){if(!b||b.error)_.Dw(),b?a(b):a({error:"unknown_error"});else{if(b.access_token){var c=_.Ik(b);cy(c);delete c.id_token;delete c.code;_.Cw(c)}a(b)}}};cy=function(a){_.tc(Lw,function(b){delete a[b]})};_.r("gapi.auth2.init",_.Wx);_.r("gapi.auth2.authorize",function(a,b){if(null!=nx)throw new Ow("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).");_.Zx(a,function(c){cy(c);b(c)})});_.r("gapi.auth2._gt",function(){return _.oj()});_.r("gapi.auth2.enableDebugLogs",function(a){a=!1!==a;_.Zu="0"!=a&&!!a});_.r("gapi.auth2.getAuthInstance",_.Nx);
|
|
_.r("gapi.auth2.BasicProfile",ox);_.r("gapi.auth2.BasicProfile.prototype.getId",ox.prototype.getId);_.r("gapi.auth2.BasicProfile.prototype.getName",ox.prototype.Zg);_.r("gapi.auth2.BasicProfile.prototype.getGivenName",ox.prototype.Y7);_.r("gapi.auth2.BasicProfile.prototype.getFamilyName",ox.prototype.T7);_.r("gapi.auth2.BasicProfile.prototype.getImageUrl",ox.prototype.g8);_.r("gapi.auth2.BasicProfile.prototype.getEmail",ox.prototype.oo);_.r("gapi.auth2.GoogleAuth",Ox);
|
|
_.r("gapi.auth2.GoogleAuth.prototype.attachClickHandler",Ox.prototype.ZO);_.r("gapi.auth2.GoogleAuth.prototype.disconnect",Ox.prototype.disconnect);_.r("gapi.auth2.GoogleAuth.prototype.grantOfflineAccess",Ox.prototype.Nu);_.r("gapi.auth2.GoogleAuth.prototype.signIn",Ox.prototype.yl);_.r("gapi.auth2.GoogleAuth.prototype.signOut",Ox.prototype.zl);_.r("gapi.auth2.GoogleAuth.prototype.getInitialScopes",Ox.prototype.HS);_.r("gapi.auth2.GoogleUser",mx);_.r("gapi.auth2.GoogleUser.prototype.grant",mx.prototype.W8);
|
|
_.r("gapi.auth2.GoogleUser.prototype.getId",mx.prototype.getId);_.r("gapi.auth2.GoogleUser.prototype.isSignedIn",mx.prototype.Hg);_.r("gapi.auth2.GoogleUser.prototype.getAuthResponse",mx.prototype.rm);_.r("gapi.auth2.GoogleUser.prototype.getBasicProfile",mx.prototype.A7);_.r("gapi.auth2.GoogleUser.prototype.getGrantedScopes",mx.prototype.a8);_.r("gapi.auth2.GoogleUser.prototype.getHostedDomain",mx.prototype.zG);_.r("gapi.auth2.GoogleUser.prototype.grantOfflineAccess",mx.prototype.Nu);
|
|
_.r("gapi.auth2.GoogleUser.prototype.hasGrantedScopes",mx.prototype.tA);_.r("gapi.auth2.GoogleUser.prototype.reloadAuthResponse",mx.prototype.VJ);_.r("gapi.auth2.LiveValue",ax);_.r("gapi.auth2.LiveValue.prototype.listen",ax.prototype.ka);_.r("gapi.auth2.LiveValue.prototype.get",ax.prototype.get);_.r("gapi.auth2.SigninOptionsBuilder",dx);_.r("gapi.auth2.SigninOptionsBuilder.prototype.getAppPackageName",dx.prototype.y7);_.r("gapi.auth2.SigninOptionsBuilder.prototype.setAppPackageName",dx.prototype.hea);
|
|
_.r("gapi.auth2.SigninOptionsBuilder.prototype.getScope",dx.prototype.Lu);_.r("gapi.auth2.SigninOptionsBuilder.prototype.setScope",dx.prototype.pZ);_.r("gapi.auth2.SigninOptionsBuilder.prototype.getPrompt",dx.prototype.A8);_.r("gapi.auth2.SigninOptionsBuilder.prototype.setPrompt",dx.prototype.Fea);_.r("gapi.auth2.SigninOptionsBuilder.prototype.get",dx.prototype.get);
|
|
_.bg=_.bg||{};
|
|
(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}_.bg.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)};_.bg.WP=function(b){var c=_.bg.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(_.bg.NF(e[f])),d.push('"'));d.push("></");d.push("iframe");d.push(">");var h=_.bg.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};_.bg.oS=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};_.bg.Uoa=function(b){return a(b)}})();
|
|
_.Eh=window.gapi&&window.gapi.util||{};
|
|
_.Eh=_.Eh={};_.Eh.getOrigin=function(a){return _.Gh(a)};
|
|
_.Uy=function(a){if(0!==a.indexOf("GCSC"))return null;var b={Ej:!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=_.Sy(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.nf;return!d&&("U"!==c||e.nf)||d&&!_.Ty?b:{Ej:!0,nf:d,X5:a.substr(1),domain:e.domain,ej:e.ej}};_.Vy=function(a,b){this.Zf=a;a=b||{};this.eba=Number(a.maxAge)||0;this.Fe=a.domain;this.hn=a.path;this.Sda=!!a.secure};_.Vy.prototype.read=function(){for(var a=this.Zf+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}};
|
|
_.Vy.prototype.write=function(a,b){if(!Wy.test(this.Zf))throw"Invalid cookie name";if(!Xy.test(a))throw"Invalid cookie value";a=this.Zf+"="+a;this.Fe&&(a+=";domain="+this.Fe);this.hn&&(a+=";path="+this.hn);b="number"===typeof b?b:this.eba;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.Sda&&(a+=";secure");document.cookie=a;return!0};_.Vy.prototype.clear=function(){this.write("",0)};var Xy=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Wy=/^[A-Z_][A-Z0-9_]{0,63}$/;
|
|
_.Vy.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("="))}};_.Yy=function(a){this.Zd=a};_.Yy.prototype.read=function(){if(Zy.hasOwnProperty(this.Zd))return Zy[this.Zd]};_.Yy.prototype.write=function(a){Zy[this.Zd]=a;return!0};_.Yy.prototype.clear=function(){delete Zy[this.Zd]};var Zy={};_.Yy.iterate=function(a){for(var b in Zy)Zy.hasOwnProperty(b)&&a(b,Zy[b])};var $y=function(){this.Ba=null;this.key=function(){return null};this.getItem=function(){return this.Ba};this.setItem=function(a,b){this.Ba=b;this.length=1};this.removeItem=function(){this.clear()};this.clear=function(){this.Ba=null;this.length=0};this.length=0},az=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}},bz=function(a,b){this.Zf=a;this.LM=
|
|
az(b)?b||window.sessionStorage:new $y};bz.prototype.read=function(){return this.LM.getItem(this.Zf)};bz.prototype.write=function(a){try{this.LM.setItem(this.Zf,a)}catch(b){return!1}return!0};bz.prototype.clear=function(){this.LM.removeItem(this.Zf)};bz.iterate=function(a){if(az())for(var b=0,c=window.sessionStorage.length;b<c;++b){var d=window.sessionStorage.key(b);a(d,window.sessionStorage[d])}};_.Ty="https:"===window.location.protocol;_.cz=_.Ty||"http:"===window.location.protocol?_.Vy:_.Yy;_.Sy=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{nf:"S"==a.charAt(0),domain:d,ej:c}};var dz,ez,hz,iz;dz=_.lf();ez=_.lf();_.fz=_.lf();_.gz=_.lf();hz="state code cookie_policy g_user_cookie_policy authuser prompt g-oauth-window status".split(" ");iz=function(a){this.sX=a;this.BI=null};
|
|
iz.prototype.write=function(a){var b=_.lf(),c=_.lf(),d=window.decodeURIComponent?decodeURIComponent:unescape,e;for(e in a)if(_.mf(a,e)){var f=a[e];f=f.replace(/\+/g," ");c[e]=d(f);b[e]=a[e]}d=hz.length;for(e=0;e<d;++e)delete c[hz[e]];a=String(a.authuser||0);d=_.lf();d[a]=c;c=_.Pg(d);this.sX.write(c);this.BI=b};iz.prototype.read=function(){return this.BI};iz.prototype.clear=function(){this.sX.clear();this.BI=_.lf()};_.jz=function(a){return a?{domain:a.domain,path:"/",secure:a.nf}:null};
|
|
bz.iterate(function(a){var b=_.Uy(a);b&&b.Ej&&(dz[a]=new iz(new bz(a)))});_.cz.iterate(function(a){dz[a]&&(ez[a]=new _.cz(a,_.jz(_.Uy(a))))});
|
|
_.dj=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=m=0}function b(p){for(var q=h,u=0;64>u;u+=4)q[u/4]=p[u]<<24|p[u+1]<<16|p[u+2]<<8|p[u+3];for(u=16;80>u;u++)p=q[u-3]^q[u-8]^q[u-14]^q[u-16],q[u]=(p<<1|p>>>31)&4294967295;p=e[0];var v=e[1],t=e[2],x=e[3],y=e[4];for(u=0;80>u;u++){if(40>u)if(20>u){var z=x^v&(t^x);var C=1518500249}else z=v^t^x,C=1859775393;else 60>u?(z=v&t|x&(v|t),C=2400959708):(z=v^t^x,C=3395469782);z=((p<<5|p>>>27)&4294967295)+
|
|
z+y+C+q[u]&4294967295;y=x;x=t;t=(v<<30|v>>>2)&4294967295;v=p;p=z}e[0]=e[0]+p&4294967295;e[1]=e[1]+v&4294967295;e[2]=e[2]+t&4294967295;e[3]=e[3]+x&4294967295;e[4]=e[4]+y&4294967295}function c(p,q){if("string"===typeof p){p=unescape(encodeURIComponent(p));for(var u=[],v=0,t=p.length;v<t;++v)u.push(p.charCodeAt(v));p=u}q||(q=p.length);u=0;if(0==m)for(;u+64<q;)b(p.slice(u,u+64)),u+=64,n+=64;for(;u<q;)if(f[m++]=p[u++],n++,64==m)for(m=0,b(f);u+64<q;)b(p.slice(u,u+64)),u+=64,n+=64}function d(){var p=[],
|
|
q=8*n;56>m?c(k,56-m):c(k,64-(m-56));for(var u=63;56<=u;u--)f[u]=q&255,q>>>=8;b(f);for(u=q=0;5>u;u++)for(var v=24;0<=v;v-=8)p[q++]=e[u]>>v&255;return p}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,cj:function(){for(var p=d(),q="",u=0;u<p.length;u++)q+="0123456789ABCDEF".charAt(Math.floor(p[u]/16))+"0123456789ABCDEF".charAt(p[u]%16);return q}}};var fj=function(a,b,c){var d=String(_.Ra.location.href);return d&&a&&b?[b,ej(_.Gh(d),a,c||null)].join(" "):null},ej=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.tc(d,function(k){e.push(k)}),gj(e.join(" "));var f=[],h=[];_.tc(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];_.tc(d,function(k){e.push(k)});a=gj(e.join(" "));a=[c,a];0==h.length||a.push(h.join(""));return a.join("_")},gj=function(a){var b=
|
|
_.dj();b.update(a);return b.cj().toLowerCase()};var jj;_.hj=function(a){return!!_.$i.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.ij=function(a){a=void 0===a?!1:a;var b=_.Ra.__SAPISID||_.Ra.__APISID||_.Ra.__3PSAPISID||_.Ra.__OVERRIDE_SID;_.hj(a)&&(b=b||_.Ra.__1PSAPISID);if(b)return!0;if("undefined"!==typeof document){var c=new _.aj(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID")||c.get("OSID");_.hj(a)&&(b=b||c.get("__Secure-1PAPISID"))}return!!b};
|
|
jj=function(a,b,c,d){(a=_.Ra[a])||"undefined"===typeof document||(a=(new _.aj(document)).get(b));return a?fj(a,c,d):null};
|
|
_.kj=function(a,b){b=void 0===b?!1:b;var c=_.Gh(String(_.Ra.location.href)),d=[];if(_.ij(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.Ra.__SAPISID:_.Ra.__APISID;e||"undefined"===typeof document||(e=new _.aj(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?fj(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&_.hj(b)&&((b=jj("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=jj("__3PSAPISID","__Secure-3PAPISID",
|
|
"SAPISID3PHASH",a))&&d.push(a))}return 0==d.length?null:d.join(" ")};
|
|
_.lj=function(a,b){var c={SAPISIDHASH:!0,SAPISID3PHASH:!0,APISIDHASH:!0};_.hj(void 0===b?!1:b)&&(c.SAPISID1PHASH=!0);return a&&(a.OriginToken||a.Authorization&&c[String(a.Authorization).split(" ")[0]])?!0:!1};_.mj={LT:_.lj,vaa:_.ij,LS:function(){var a=null;_.ij()&&(a=window.__PVT,null==a&&(a=(new _.aj(document)).get("BEAT")));return a},mS:_.kj};
|
|
_.Xr=function(){return _.xb&&_.zb?_.zb.mobile:!_.Wr()&&(_.Cb("iPod")||_.Cb("iPhone")||_.Cb("Android")||_.Cb("IEMobile"))};_.Wr=function(){return _.xb&&_.zb?!_.zb.mobile&&(_.Cb("iPad")||_.Cb("Android")||_.Cb("Silk")):_.Cb("iPad")||_.Cb("Android")&&!_.Cb("Mobile")||_.Cb("Silk")};
|
|
var Ds,Es;_.vs=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};_.ws=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};_.g=_.ws.prototype;_.g.clone=function(){return new _.ws(this.x,this.y)};_.g.equals=function(a){return a instanceof _.ws&&_.vs(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 _.ws?(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};_.xs=function(a){return a.scrollingElement?a.scrollingElement:!_.Cd&&_.ne(a)?a.documentElement:a.body||a.documentElement};
|
|
_.ys=function(a){var b=_.xs(a);a=a.parentWindow||a.defaultView;return _.xd&&a.pageYOffset!=b.scrollTop?new _.ws(b.scrollLeft,b.scrollTop):new _.ws(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};_.zs=function(a,b,c,d){return _.ie(a.Gb,b,c,d)};_.As=function(a){if(a instanceof _.bd&&a.constructor===_.bd)return a.JJ;_.Zb(a);return"type_error:SafeStyle"};_.Bs=function(a){if(a instanceof _.id&&a.constructor===_.id)return a.IJ;_.Zb(a);return"type_error:SafeStyleSheet"};
|
|
_.Cs=function(a){return Number(_.Vd)>=a};Ds=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};Es=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};_.Fs=function(a,b,c){return _.re(document,arguments)};_.Gs=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};_.g=_.Gs.prototype;_.g.Wb=function(){return this.right-this.left};_.g.Tc=function(){return this.bottom-this.top};_.g.clone=function(){return new _.Gs(this.top,this.right,this.bottom,this.left)};_.g.contains=function(a){return this&&a?a instanceof _.Gs?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){_.Wb(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 _.ws?(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 Js,Hs,Os,Rs,ct,Qs;_.Is=function(a,b,c){if("string"===typeof b)(b=Hs(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Hs(c,d);f&&(c.style[f]=e)}};Js={};Hs=function(a,b){var c=Js[b];if(!c){var d=Ds(b);c=d;void 0===a.style[d]&&(d=(_.Cd?"Webkit":_.Bd?"Moz":_.xd?"ms":null)+Es(d),void 0!==a.style[d]&&(c=d));Js[b]=c}return c};_.Ks=function(a,b){var c=a.style[Ds(b)];return"undefined"!==typeof c?c:a.style[Hs(a,b)]||""};
|
|
_.Ls=function(a,b){var c=_.ge(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""};_.Ms=function(a,b){return a.currentStyle?a.currentStyle[b]:null};_.Ns=function(a,b){return _.Ls(a,b)||_.Ms(a,b)||a.style&&a.style[b]};Os=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}};
|
|
_.Ss=function(a,b){b=b||_.xs(document);var c=b||_.xs(document);var d=_.Ps(a),e=_.Ps(c);if(_.xd&&!_.Cs(9)){var f=Qs(c,"borderLeft");var h=Qs(c,"borderRight");var k=Qs(c,"borderTop"),l=Qs(c,"borderBottom");h=new _.Gs(k,h,l,f)}else f=_.Ls(c,"borderLeftWidth"),h=_.Ls(c,"borderRightWidth"),k=_.Ls(c,"borderTopWidth"),l=_.Ls(c,"borderBottomWidth"),h=new _.Gs(parseFloat(k),parseFloat(h),parseFloat(l),parseFloat(f));c==_.xs(document)?(f=d.x-c.scrollLeft,d=d.y-c.scrollTop,_.xd&&!_.Cs(10)&&(f+=h.left,d+=h.top)):
|
|
(f=d.x-e.x-h.left,d=d.y-e.y-h.top);a=Rs(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 _.ws(h,k);b.scrollLeft=c.x;b.scrollTop=c.y};_.Ps=function(a){var b=_.ge(a),c=new _.ws(0,0);var d=b?_.ge(b):document;d=!_.xd||_.Cs(9)||_.ne(_.he(d).Gb)?d.documentElement:d.body;if(a==d)return c;a=Os(a);b=_.ys(_.he(b).Gb);c.x=a.left+b.x;c.y=a.top+b.y;return c};
|
|
_.Us=function(a,b){var c=new _.ws(0,0),d=_.oe(_.ge(a));if(!_.vd(d,"parent"))return c;do{var e=d==b?_.Ps(a):_.Ts(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c};_.Ts=function(a){a=Os(a);return new _.ws(a.left,a.top)};_.Ws=function(a,b,c){if(b instanceof _.be)c=b.height,b=b.width;else if(void 0==c)throw Error("R");a.style.width=_.Vs(b,!0);a.style.height=_.Vs(c,!0)};_.Vs=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
|
|
_.Xs=function(a){var b=Rs;if("none"!=_.Ns(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};Rs=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=_.Cd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Os(a),new _.be(a.right-a.left,a.bottom-a.top)):new _.be(b,c)};_.Ys=function(a,b){a.style.display=b?"":"none"};
|
|
_.$s=function(a){var b=_.he(void 0),c=b.wb();if(_.xd&&c.createStyleSheet)b=c.createStyleSheet(),_.Zs(b,a);else{c=_.zs(b,"HEAD")[0];if(!c){var d=_.zs(b,"BODY")[0];c=b.va("HEAD");d.parentNode.insertBefore(c,d)}d=b.va("STYLE");var e;(e=_.$d('style[nonce],link[rel="stylesheet"][nonce]'))&&d.setAttribute("nonce",e);_.Zs(d,a);b.appendChild(c,d)}};_.Zs=function(a,b){b=_.Bs(b);_.xd&&void 0!==a.cssText?a.cssText=b:_.Ra.trustedTypes?_.Ce(a,b):a.innerHTML=b};
|
|
_.at=_.Bd?"MozUserSelect":_.Cd||_.zd?"WebkitUserSelect":null;_.bt=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};ct={thin:2,medium:4,thick:6};Qs=function(a,b){if("none"==_.Ms(a,b+"Style"))return 0;b=_.Ms(a,b+"Width");return b in ct?ct[b]:_.bt(a,b)};
|
|
_.qy=function(a,b){_.uk.call(this);this.Rm=a||1;this.hx=b||_.Ra;this.jP=(0,_.A)(this.zfa,this);this.wV=_.dc()};_.Za(_.qy,_.uk);_.g=_.qy.prototype;_.g.enabled=!1;_.g.Qc=null;_.g.setInterval=function(a){this.Rm=a;this.Qc&&this.enabled?(this.stop(),this.start()):this.Qc&&this.stop()};
|
|
_.g.zfa=function(){if(this.enabled){var a=_.dc()-this.wV;0<a&&a<.8*this.Rm?this.Qc=this.hx.setTimeout(this.jP,this.Rm-a):(this.Qc&&(this.hx.clearTimeout(this.Qc),this.Qc=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};_.g.start=function(){this.enabled=!0;this.Qc||(this.Qc=this.hx.setTimeout(this.jP,this.Rm),this.wV=_.dc())};_.g.stop=function(){this.enabled=!1;this.Qc&&(this.hx.clearTimeout(this.Qc),this.Qc=null)};_.g.ua=function(){_.qy.N.ua.call(this);this.stop();delete this.hx};
|
|
_.ry=function(a,b,c){if("function"===typeof a)c&&(a=(0,_.A)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,_.A)(a.handleEvent,a);else throw Error("Ca");return 2147483647<Number(b)?-1:_.Ra.setTimeout(a,b||0)};_.sy=function(a){_.Ra.clearTimeout(a)};
|
|
_.kz=function(a){_.Ij.call(this);this.Zd=1;this.YB=[];this.dC=0;this.jg=[];this.Zj={};this.k5=!!a};_.Za(_.kz,_.Ij);_.g=_.kz.prototype;_.g.subscribe=function(a,b,c){var d=this.Zj[a];d||(d=this.Zj[a]=[]);var e=this.Zd;this.jg[e]=a;this.jg[e+1]=b;this.jg[e+2]=c;this.Zd=e+3;d.push(e);return e};_.g.Sw=_.da(19);_.g.unsubscribe=function(a,b,c){if(a=this.Zj[a]){var d=this.jg;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Gl(a)}return!1};
|
|
_.g.Gl=function(a){var b=this.jg[a];if(b){var c=this.Zj[b];0!=this.dC?(this.YB.push(a),this.jg[a+1]=function(){}):(c&&_.kb(c,a),delete this.jg[a],delete this.jg[a+1],delete this.jg[a+2])}return!!b};
|
|
_.g.zp=function(a,b){var c=this.Zj[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.k5)for(e=0;e<c.length;e++){var h=c[e];lz(this.jg[h+1],this.jg[h+2],d)}else{this.dC++;try{for(e=0,f=c.length;e<f&&!this.isDisposed();e++)h=c[e],this.jg[h+1].apply(this.jg[h+2],d)}finally{if(this.dC--,0<this.YB.length&&0==this.dC)for(;c=this.YB.pop();)this.Gl(c)}}return 0!=e}return!1};var lz=function(a,b,c){_.Zk(function(){a.apply(b,c)})};
|
|
_.kz.prototype.clear=function(a){if(a){var b=this.Zj[a];b&&(b.forEach(this.Gl,this),delete this.Zj[a])}else this.jg.length=0,this.Zj={}};_.kz.prototype.Sb=function(a){if(a){var b=this.Zj[a];return b?b.length:0}a=0;for(b in this.Zj)a+=this.Sb(b);return a};_.kz.prototype.ua=function(){_.kz.N.ua.call(this);this.clear();this.YB.length=0};
|
|
_.mz=function(a){this.Cfa=a};_.mz.prototype.toString=function(){return this.Cfa};_.nz=function(a){_.Ij.call(this);this.ye=new _.kz(a);_.Kj(this,this.ye)};_.Za(_.nz,_.Ij);_.g=_.nz.prototype;_.g.subscribe=function(a,b,c){return this.ye.subscribe(a.toString(),b,c)};_.g.Sw=_.da(18);_.g.unsubscribe=function(a,b,c){return this.ye.unsubscribe(a.toString(),b,c)};_.g.Gl=function(a){return this.ye.Gl(a)};_.g.zp=function(a,b){return this.ye.zp(a.toString(),b)};_.g.clear=function(a){this.ye.clear(void 0!==a?a.toString():void 0)};
|
|
_.g.Sb=function(a){return this.ye.Sb(void 0!==a?a.toString():void 0)};
|
|
var oz=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");_.gb.call(this,c+a[d])},pz=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},qz=function(a){return a.replace(_.ed,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,k,l){f=k;return l});b=(_.Vc(d)||_.$c).eh();return c+f+b+f+e})},sz=function(a){if(a instanceof
|
|
_.Qc)return'url("'+_.Rc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof _.jc)a=_.kc(a);else{a=String(a);var b=a.replace(_.fd,"$1").replace(_.fd,"$1").replace(_.ed,"url");if(_.dd.test(b)){if(b=!rz.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&&pz(a)}a=b?qz(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new oz("Value does not allow [{;}], got: %s.",[a]);return a},tz,rz,vz,wz,xz,zz;_.Za(oz,_.gb);
|
|
oz.prototype.name="AssertionError";tz={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};rz=/\/\*/;_.uz=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(sz).join(" "):sz(d),b+=c+":"+d+";")}return b?new _.bd(b,_.ad):_.cd};vz=/^[a-zA-Z0-9-]+$/;
|
|
wz={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0};xz=function(a){var b=_.qd(_.sd),c=[],d=function(e){Array.isArray(e)?e.forEach(d):(e=_.qd(e),c.push(_.od(e).toString()))};a.forEach(d);return _.pd(c.join(_.od(b).toString()))};_.yz=function(a){return xz(Array.prototype.slice.call(arguments))};zz={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0};
|
|
_.Az=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return"string"===typeof c?c:c.yp+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});_.Is(a,"transition",b.join(","))};
|
|
_.Bz=_.rc(function(){if(_.xd)return!0;var a=_.se("DIV"),b=_.Cd?"-webkit":_.Bd?"-moz":_.xd?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!vz.test("div"))throw Error("q");if("DIV"in wz)throw Error("q");b=void 0;var d="";if(c)for(h in c)if(Object.prototype.hasOwnProperty.call(c,h)){if(!vz.test(h))throw Error("q");var e=c[h];if(null!=e){var f=h;if(e instanceof _.jc)e=_.kc(e);else if("style"==f.toLowerCase()){if(!_.Wb(e))throw Error("q");e instanceof
|
|
_.bd||(e=_.uz(e));e=_.As(e)}else{if(/^on/i.test(f))throw Error("q");if(f.toLowerCase()in zz)if(e instanceof _.nc)e=_.oc(e).toString();else if(e instanceof _.Qc)e=_.Rc(e);else if("string"===typeof e)e=(_.Vc(e)||_.$c).eh();else throw Error("q");}e.xj&&(e=e.eh());f=f+'="'+_.Nc(String(e))+'"';d+=" "+f}}var h="<div"+d;null==b?b=[]:Array.isArray(b)||(b=[b]);!0===tz.div?h+=">":(b=_.yz(b),h+=">"+_.od(b).toString()+"</div>");h=_.pd(h);_.Yd(a,h);return""!=_.Ks(a.firstChild,"transition")});
|
|
_.Dz=function(){_.Cz="oauth2relay"+String(2147483647*(0,_.Mh)()|0)};_.Ez=new _.nz;_.Fz=new _.mz("oauth");_.Dz();_.Ef("oauth-flow/client_id");var Gz=String(_.Ef("oauth-flow/redirectUri"));if(Gz)Gz.replace(/[#][\s\S]*/,"");else{var Hz=_.Eh.getOrigin(window.location.href);_.Ef("oauth-flow/callbackUrl");encodeURIComponent(Hz)}_.Eh.getOrigin(window.location.href);
|
|
var Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,mA,nA,oA,pA,qA,rA,sA,tA,uA,vA,wA,zA,yA,AA,BA,CA,DA,EA,FA,GA,HA,IA,KA;_.Iz=function(a,b){if(_.zi&&!b)return _.Ra.atob(a);var c="";_.Ei(a,function(d){c+=String.fromCharCode(d)});return c};Jz=function(a){var b=String(a("immediate")||"");a=String(a("prompt")||"");return"true"===b||"none"===a};Kz=function(a){return _.Vi("enableMultilogin")&&a("cookie_policy")&&!Jz(a)?!0:!1};
|
|
Nz=function(){var a,b=null;_.cz.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=_.Sy(c.substring(11)),!a||c.nf&&!a.nf||c.nf==a.nf&&c.ej>a.ej)&&(a=c,b=d)});return{w5:a,authuser:b}};Oz=[".APPS.GOOGLEUSERCONTENT.COM","@DEVELOPER.GSERVICEACCOUNT.COM"];Pz=function(a){a=a.toUpperCase();for(var b=0,c=Oz.length;b<c;++b){var d=a.split(Oz[b]);2==d.length&&""===d[1]&&(a=d[0])}a=a.replace(/-/g,"_").toUpperCase();40<a.length&&(b=new _.Lh,b.tx(a),a=b.cj().toUpperCase());return a};
|
|
Qz=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]};Rz=function(a){a=a.split(":");return{clientId:a[0].split("=")[1],fea:Qz(a[1]),Jpa:Qz(a[2]),Eoa:Qz(a[3])}};Sz=function(a){var b=Nz(),c=b.w5;b=b.authuser;var d=a&&Pz(a);if(null!==b){var e;_.cz.iterate(function(h,k){(h=_.Uy(h))&&h.Ej&&(d&&h.X5!=d||h.nf==c.nf&&h.ej==c.ej&&(e=k))});if(e){var f=Rz(e);a=f&&f.fea[Number(b)];f=f&&f.clientId;if(a)return{authuser:b,Iqa:a,clientId:f}}}return null};
|
|
Tz=function(a,b){a=_.oj(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};_.Uz=function(a,b){if(b){var c=b;var d=a}else"string"===typeof a?d=a:c=a;c?_.Cw(c,d):_.Dw(d)};
|
|
Vz=function(a){if(!a)return null;"single_host_origin"!==a&&(a=_.Gh(a));var b=window.location.hostname,c=b,d=_.Ty;if("single_host_origin"!==a){c=a.split("://");if(2==c.length)d="https"===c.shift();else return _.Tg.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 _.Tg.log("Invalid cookie_policy domain: "+c),null;c=a;b=c.split(".").length-1}return{domain:c,nf:d,ej:b}};
|
|
Wz=function(a){var b=Vz(a);if(!b)return new _.Yy("G_USERSTATE_");a=["G_USERSTATE_",_.Ty&&b.nf?"S":"H",b.ej].join("");var c=_.gz[a];c||(c={zI:63072E3},_.nf(_.jz(b),c),c=new _.Vy(a,c),_.gz[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};Xz=function(a){var b=Wz(a).read();a=_.lf();if(b){b=b.split(":");for(var c;c=b.shift();)c=c.split("="),a[c[0]]=c[1]}return a};
|
|
Yz=function(a,b,c){var d=Xz(b),e=d[a];d[a]="0";var f=[];_.rn(d,function(k,l){f.push(l+"="+k)});var h=f.join(":");b=Wz(b);h?b.write(h):b.clear();d[a]!==e&&c&&c()};Zz=function(a){a=Vz(a.g_user_cookie_policy);if(!a||a.nf&&!_.Ty)a=null;else{var b=["G_AUTHUSER_",_.Ty&&a.nf?"S":"H",a.ej].join(""),c=_.fz[b];c||(c=new _.cz(b,_.jz(a)),_.fz[b]=c);a=c}_.Ff("googleapis.config/sessionIndex",null);a.clear()};$z=function(a){return Jz(function(b){return a[b]})};aA=0;bA=!1;cA=[];dA={};eA={};fA=null;
|
|
gA=function(a){var b=_.Cz;return function(c){if(this.f==b&&this.t==_.Yg.jo(this.f)&&this.origin==_.Yg.Co(this.f))return a.apply(this,arguments)}};hA=function(a){if(a&&!decodeURIComponent(a).startsWith("m;/_/scs/"))throw Error("Ha");};iA=function(a){var b=_.bg.hh,c=b(a).jsh;if(null!=c)return hA(c),a;if(b=String(b().jsh||_.vf.h||""))hA(b),c=(a+"#").indexOf("#"),a=a.substr(0,c)+(-1!==a.substr(0,c).indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(b)+a.substr(c);return a};jA=function(){return!!_.Ef("oauth-flow/usegapi")};
|
|
kA=function(a,b){jA()?fA.unregister(a):_.Yg.unregister(a+":"+b)};lA=function(a,b,c){jA()?fA.register(a,c,_.Gn):_.Yg.register(a+":"+b,gA(c))};mA=function(){Lz.parentNode.removeChild(Lz)};nA=function(a){var b=Lz;_.Az(b,[{yp:"-webkit-transform",duration:1,timing:"ease",delay:0}]);_.Az(b,[{yp:"transform",duration:1,timing:"ease",delay:0}]);_.ry(function(){b.style.webkitTransform="translate3d(0px,"+a+"px,0px)";b.style.transform="translate3d(0px,"+a+"px,0px)"},0)};oA=function(){var a=Mz+88;nA(a);Mz=a};
|
|
pA=function(){var a=Mz-88;nA(a);Mz=a};qA=function(a){var b=a?oA:pA,c=a?pA:oA;a=a?"-":"";Mz=parseInt(a+88,10);Lz.style.webkitTransform="translate3d(0px,"+a+88+"px,0px)";Lz.style.transform="translate3d(0px,"+a+88+"px,0px)";Lz.style.display="";Lz.style.visibility="visible";b();_.ry(c,4E3);_.ry(mA,5E3)};
|
|
rA=function(a){var b=_.Ef("oauth-flow/toast/position");"top"!==b&&(b="bottom");var c=document.createElement("div");Lz=c;c.style.cssText="position:fixed;left:0px;z-index:1000;width:100%;";_.Is(c,"visibility","hidden");_.Is(c,b,"-40px");_.Is(c,"height","128px");var d=c;if(!_.Xr()&&!_.Wr()){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?"-":"";Mz=parseInt(e+88,10);Lz.style.webkitTransform="translate3d(0px,"+e+88+"px,0px)";Lz.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){}_.Dn.openChild({url:":socialhost:/:session_prefix:_/widget/oauthflow/toast",queryParams:{clientId:a.client_id,idToken:a.id_token},where:d,onRestyle:function(){"top"===b?qA(!0):qA(!1)}})};
|
|
sA=function(a){var b=_.ip(),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==_.pn.call(b,e)&&b.push(e)}0<b.length&&(a.scope=b.join(" "))}return a};
|
|
tA=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=_.Ef("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!=Sz(c)||!$z(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};uA=function(a){a=a&&a.id_token;if(!a||!a.split(".")[1])return null;a=(a.split(".")[1]+"...").replace(/^((....)+)\.?\.?\.?$/,"$1");a=_.Og(_.Iz(a,!0));if(!1===a)throw Error("Ia");return a};vA=function(a){return(a=uA(a))?a.sub:null};
|
|
wA=function(a){a&&cA.push(a);a=_.Cz;var b=document.getElementById(a),c=(new Date).getTime();if(b){if(aA&&6E4>c-aA)return;var d=_.Yg.jo(a);d&&(kA("oauth2relayReady",d),kA("oauth2callback",d));b.parentNode.removeChild(b);if(/Firefox/.test(navigator.userAgent))try{window.frames[a]=void 0}catch(f){}_.Dz();a=_.Cz}aA=c;var e=String(2147483647*(0,_.Mh)()|0);b=_.Ef("oauth-flow/proxyUrl")||_.Ef("oauth-flow/relayUrl");jA()?fA=_.Dn.openChild({where:_.bg.oS(),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(_.Eh.getOrigin(window.location.href)),"#rpctoken=",e,"&forcesecure=1"].join(""),c=_.bg.oS(),d=_.bg.WP({name:a,id:a}),d.src=iA(b),d.style.width="1px",d.style.height="1px",d.style.position="absolute",d.style.top="-100px",d.tabIndex=-1,d.setAttribute("aria-hidden","true"),c.appendChild(d),_.Yg.Gw(a));lA("oauth2relayReady",e,function(){kA("oauth2relayReady",e);var f=cA;if(null!==f){cA=
|
|
null;for(var h=f.length,k=0;k<h;++k)f[k]()}});lA("oauth2callback",e,function(f){var h=_.bg.hh;h=h(f);var k=h.state;f=k.replace(/\|.*$/,"");f={}.hasOwnProperty.call(eA,f)?eA[f]:null;h.state=f;if(null!=h.state){f=dA[k];delete dA[k];k=f&&f.key||"token";var l=h=tA(f&&f.params,h),m=vA(l);if(m){var n=Xz(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 ")&&_.Ef("isLoggedIn")&&"1"===(l&&l._aa)&&(l._aa="0",bA||(bA=!0,rA(l)));
|
|
_.Uz(k,h);h=Tz(k);if(f){k=f.popup;l=f.after_redirect;if(k&&"keep_open"!=l)try{k.close()}catch(p){}f.callback&&(f.callback(h),f.callback=null)}}})};_.xA=function(a){null!==cA?wA(a):a&&a()};zA=function(a,b){var c=yA,d=vA(a);d&&(Zz(a),Yz(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=tA(null,e);c(e)}}))};
|
|
yA=function(a){a||(a=Tz(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||(_.vf.drw=null);_.Uz(a);if(b=a.authuser)_.Ef("googleapis.config/sessionIndex"),_.Ff("googleapis.config/sessionIndex",b);_.Ez.zp(_.Fz,a);return a};AA=["client_id","cookie_policy","response_type"];BA="client_id response_type login_hint authuser prompt include_granted_scopes after_redirect access_type hl state".split(" ");
|
|
CA=function(a){var b=_.Ik(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);_.Cw(b);return b};
|
|
DA=function(a){if(void 0===a.include_granted_scopes){var b=_.Ef("include_granted_scopes");a.include_granted_scopes=!!b}};EA=function(a){window.console&&("function"===typeof window.console.warn?window.console.warn(a):"function"===typeof window.console.log&&window.console.log(a))};
|
|
FA=function(a){var b=a||{},c={};_.tc(BA,function(d){null!=b[d]&&(c[d]=b[d])});a=_.Ef("googleapis/overrideClientId");null!=a&&(c.client_id=a);DA(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{_.sx(c.cookie_policy)}catch(d){c.cookie_policy&&
|
|
EA("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=_.Zi(),null!=a&&(c.authuser=a));a=b.redirect_uri||_.Ef("oauth-flow/redirectUri");
|
|
null!=a&&"postmessage"!=a&&(c.redirect_uri=a);c.gsiwebsdk="shim";return c};
|
|
GA=function(a,b){var c=FA(a),d=new _.bl(function(e,f){_.Zx(c,function(h){var k=h||{};_.tc(AA,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=CA(k),null!=h.authuser&&_.Ff("googleapis.config/sessionIndex",h.authuser),e(h))})});b&&d.then(b,b);return d};HA=_.mj.mS;IA=null;
|
|
_.LA=function(a,b){if("force"!==a.approvalprompt){a=_.JA(a);a.prompt="none";delete a.redirect_uri;delete a.approval_prompt;delete a.immediate;if(b=!b)IA?(a.client_id!==IA.client_id&&window.console&&window.console.log&&window.console.log("Ignoring mismatched page-level auth param client_id="+a.client_id),b=!0):(IA=a,b=!1);b||KA(a)}};
|
|
_.JA=function(a){var b=a.redirecturi||"postmessage",c=(0,_.Fc)((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,_.Fc)(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||_.Ef("googleapis.config/sessionIndex"))&&(b.authuser=a);(a=_.Ef("useoriginassocialhost"))&&(b.use_origin_as_socialhost=a);return b};KA=function(a){_.Sp("waaf0","signin","0");GA(a,function(b){_.Sp("waaf1","signin","0");yA(b)})};
|
|
_.MA=function(a){a=_.JA(a);_.Ff("oauth-flow/authWindowWidth",445);_.Ff("oauth-flow/authWindowHeight",615);KA(a)};_.NA=function(a){_.Ez.unsubscribe(_.Fz,a);_.Ez.subscribe(_.Fz,a)};var UA,XA;_.PA=function(a){return a.cookiepolicy?!0:(_.OA("cookiepolicy is a required field. See https://developers.google.com/+/web/signin/#button_attr_cookiepolicy for more information."),!1)};_.OA=function(a){window.console&&(window.console.error?window.console.error(a):window.console.log&&window.console.log(a))};_.TA=function(a,b){var c=_.ip();_.nf(a,c);c=sA(c);if(_.PA(c)){var d=_.QA();_.RA(c);b?_.uf(b,"click",function(){_.SA(c,d)}):_.SA(c,d)}};
|
|
_.QA=function(){var a=new UA;_.NA(function(b){a.AI&&b&&(b.access_token&&_.Ff("isPlusUser",!0),b["g-oauth-window"]&&(a.AI=!1,_.Tg.warn("OTA app install is no longer supported.")))});return a};UA=function(){this.AI=!1};_.RA=function(a){a=_.VA(a);_.WA(a.callback);_.xA(function(){_.LA(a)})};_.VA=function(a){XA(a);a.redirecturi&&delete a.redirecturi;Kz(function(b){return a[b]})||(a.authuser=0);return a};XA=function(a){/^\s*$/.test(a.scope||"")&&(a.scope="https://www.googleapis.com/auth/plus.login")};
|
|
_.WA=function(a){if("string"===typeof a)if(window[a])a=window[a];else{_.OA('Callback function named "'+a+'" not found');return}a&&_.NA(a)};_.SA=function(a,b){b.AI=!0;a=_.VA(a);_.MA(a)};_.r("gapi.auth.authorize",GA);_.r("gapi.auth.checkSessionState",function(a,b){var c=_.lf();c.client_id=a.client_id;c.session_state=a.session_state;_.xA(function(){jA()?fA.send("check_session_state",c,function(d){b.call(null,d[0])},_.Gn):_.Yg.call(_.Cz,"check_session_state",gA(function(d){b.call(null,d)}),c.session_state,c.client_id)})});_.r("gapi.auth.getAuthHeaderValueForFirstParty",HA);_.r("gapi.auth.getToken",Tz);
|
|
_.r("gapi.auth.getVersionInfo",function(a,b){_.xA(function(){var c=_.kj()||"",d=null,e=null;c&&(e=c.split(" "),2==e.length&&(d=e[1]));d?jA()?fA.send("get_versioninfo",{xapisidHash:d,sessionIndex:b},function(f){a(f[0])},_.Gn):_.Yg.call(_.Cz,"get_versioninfo",gA(function(f){a(f)}),d,b):a()})});_.r("gapi.auth.init",_.xA);_.r("gapi.auth.setToken",_.Uz);_.r("gapi.auth.signIn",function(a){_.TA(a)});_.r("gapi.auth.signOut",function(){var a=Tz();a&&zA(a,a.cookie_policy)});
|
|
_.r("gapi.auth.unsafeUnpackIdToken",uA);_.r("gapi.auth._pimf",_.LA);_.r("gapi.auth._oart",rA);_.r("gapi.auth._guss",function(a){return Wz(a).read()});
|
|
var YA=_.ip();YA.clientid&&YA.scope&&YA.callback&&!_.Ef("disableRealtimeCallback")&&_.RA(YA);
|
|
var dy=function(){};dy.prototype.pP=null;dy.prototype.getOptions=function(){var a;(a=this.pP)||(a={},_.ey(this)&&(a[0]=!0,a[1]=!0),a=this.pP=a);return a};var py;py=function(){};_.Za(py,dy);_.ey=function(a){if(!a.lU&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],c=0;c<b.length;c++){var d=b[c];try{return new ActiveXObject(d),a.lU=d}catch(e){}}throw Error("Aa");}return a.lU};_.oy=new py;
|
|
_.Fi=function(a){return null==a?"":String(a)};_.Gi=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");_.Hi=function(a,b){if(!b)return a;var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]};
|
|
_.Ii=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)_.Ii(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))};_.Ji=function(a){var b=[],c;for(c in a)_.Ii(c,a[c],b);return b.join("&")};_.Ki=function(a,b){b=_.Ji(b);return _.Hi(a,b)};_.Li=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};_.Mi=/#|$/;
|
|
var zj=function(a,b){a=_.bg.WP({id:a,name:a});a.style.width="1px";a.style.height="1px";a.style.position="absolute";a.style.top="-100px";a.style.display="none";if(window.navigator){var c=window.navigator.userAgent||"";var d=window.navigator.product||"";c=0!=c.indexOf("Opera")&&-1==c.indexOf("WebKit")&&"Gecko"==d&&0<c.indexOf("rv:1.")}else c=!1;a.src=c?"about:blank":b;a.tabIndex=-1;"function"===typeof a.setAttribute?a.setAttribute("aria-hidden","true"):a["aria-hidden"]="true";document.body.appendChild(a);
|
|
c&&(a.src=b);return a};_.mj={LT:_.lj,vaa:_.ij,LS:function(){var a=null;_.ij()&&(a=window.__PVT,null==a&&(a=(new _.aj(document)).get("BEAT")));return a},mS:_.kj};var Bj,Aj;Bj=function(){return!!Aj("auth/useFirstPartyAuthV2")};Aj=function(a){return _.Ef("googleapis.config/"+a)};
|
|
_.Cj=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?window.location.href:b;c=void 0===c?"auto":c;if("none"==c)return a;var d=a.Authorization,e=a.OriginToken;if(!d&&!e){(e=_.oj())&&e.access_token&&("oauth2"==c||"auto"==c)&&(d=String(e.token_type||"Bearer")+" "+e.access_token);if(e=!d)e=(!!Aj("auth/useFirstPartyAuth")||"1p"==c)&&"oauth2"!=c;if(e&&_.ij()){if(Bj()){d=Aj("primaryEmail");c=Aj("appDomain");e=Aj("fogId");var f=[];d&&f.push({key:"e",value:d});c&&f.push({key:"a",value:c});e&&f.push({key:"u",
|
|
value:e});d=_.kj(f)}else d=_.kj();d&&(b=_.Zi(b),b=a["X-Goog-AuthUser"]||b,_.Ec(_.Fi(b))&&(!Bj()||Bj()&&_.Ec(_.Fi(Aj("primaryEmail")))&&_.Ec(_.Fi(Aj("appDomain")))&&_.Ec(_.Fi(Aj("fogId"))))&&(b="0"),_.Ec(_.Fi(b))||(a["X-Goog-AuthUser"]=b))}d?a.Authorization=d:!1!==Aj("auth/useOriginToken")&&(e=_.mj.LS())&&(a.OriginToken=e)}return a};_.Dj=function(){function a(n,p,q,u,v){var t=f("proxy");if(u||!t){t=f("root");var x=f("root-1p")||t;t=t||"https://content.googleapis.com";x=x||"https://clients6.google.com";var y=f("xd3")||"/static/proxy.html";t=(u||String(p?x:t))+y}t=String(t);q&&(t+=(0<=t.indexOf("?")?"&":"?")+"usegapi=1");(p=_.bg.hh().jsh||_.vf.h)&&(t+=(0<=t.indexOf("?")?"&":"?")+"jsh="+encodeURIComponent(p));t+="#parent="+encodeURIComponent(null!=v?String(v):_.Eh.getOrigin(document.location.href));return t+("&rpctoken="+n)}function b(n,
|
|
p,q,u,v){var t=d(q,u,v);k[t]||(q=zj(t,p),_.Yg.register("ready:"+n,function(){_.Yg.unregister("ready:"+n);if(!l[t]){l[t]=!0;var x=m[t];m[t]=[];for(var y=0,z=x.length;y<z;++y){var C=x[y];e(C.Fp,C.jda,C.callback)}}}),_.Yg.Gw(t,p),k[t]=q)}function c(n,p,q){var u=String(2147483647*_.vj()|0),v=a(u,n,p,q);_.Vg(function(){b(u,v,n,p,q)})}function d(n,p,q){n=a("",n,p,q,"");q=h[n+p];if(!q){q=new _.Lh;q.tx(n);q=q.cj().toLowerCase();var u=_.vj();q+=u;h[n+p]=q}return"apiproxy"+q}function e(n,p,q){var u=void 0,
|
|
v=!1;if("makeHttpRequests"!==n)throw'only "makeHttpRequests" RPCs are implemented';var t=function(G){if(G){if("undefined"!=typeof u&&"undefined"!=typeof G.root&&u!=G.root)throw"all requests in a batch must have the same root URL";u=G.root||u;v=_.mj.LT(G.headers)}};if(p)for(var x=0,y=p.length;x<y;++x){var z=p[x];z&&t(z.params)}t=!!f("useGapiForXd3");var C=d(v,t,u);k[C]||c(v,t,u);l[C]?_.Yg.call(C,n,function(G){if(this.f==C&&this.t==_.Yg.jo(this.f)&&this.origin==_.Yg.Co(this.f)){var L=_.Og(G);q(L,G)}},
|
|
p):(m[C]||(m[C]=[]),m[C].push({Fp:n,jda:p,callback:q}))}function f(n){return _.Ef("googleapis.config/"+n)}var h={},k={},l={},m={};return{Una:function(n,p,q){return _.Cj(n,p,q)},xn:e}}();
|
|
var Th={yga:"Authorization",Z0:"Content-ID",Vga:"Content-Transfer-Encoding",Wga:"Content-Type",Bha:"Date",ska:"OriginToken",Pia:"hotrod-board-name",Qia:"hotrod-chrome-cpu-model",Ria:"hotrod-chrome-processors",Yma:"WWW-Authenticate",ana:"X-Ad-Manager-Impersonation",Zma:"X-Ad-Manager-Debug-Info",bna:"X-ClientDetails",cna:"X-Compass-Routing-Destination",fna:"X-Goog-AuthUser",ina:"X-Goog-Encode-Response-If-Executable",dna:"X-Google-Consent",ena:"X-Google-EOM",kna:"X-Goog-Meeting-ABR",lna:"X-Goog-Meeting-Botguardid",
|
|
mna:"X-Goog-Meeting-ClientInfo",nna:"X-Goog-Meeting-ClientVersion",ona:"X-Goog-Meeting-Debugid",pna:"X-Goog-Meeting-Identifier",qna:"X-Goog-Meeting-Interop-Cohorts",rna:"X-Goog-Meeting-Interop-Type",sna:"X-Goog-Meeting-OidcIdToken",tna:"X-Goog-Meeting-RtcClient",una:"X-Goog-Meeting-StartSource",vna:"X-Goog-Meeting-Token",wna:"X-Goog-Meeting-Viewer-Token",xna:"X-Goog-PageId",yna:"X-Goog-Safety-Content-Type",zna:"X-Goog-Safety-Encoding",gna:"X-Goog-Drive-Client-Version",hna:"X-Goog-Drive-Resource-Keys",
|
|
Ana:"X-HTTP-Method-Override",Bna:"X-JavaScript-User-Agent",Cna:"X-Origin",Dna:"X-Referer",Ena:"X-Requested-With",Hna:"X-Use-HTTP-Status-Code-Override",Fna:"X-Server-Timeout",jna:"X-Goog-First-Party-Reauth",Gna:"X-Server-Token"},Uh="Accept Accept-Language Authorization Cache-Control cast-device-capabilities Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date developer-token EES-S7E-MODE financial-institution-id GData-Version google-cloud-resource-prefix hotrod-board-name hotrod-chrome-cpu-model hotrod-chrome-processors Host If-Match If-Modified-Since If-None-Match If-Unmodified-Since linked-customer-id login-customer-id MIME-Version Origin OriginToken Pragma Range request-id Slug Transfer-Encoding Want-Digest X-Ad-Manager-Impersonation X-Ad-Manager-Debug-Info x-alkali-account-key x-alkali-application-key x-alkali-auth-apps-namespace x-alkali-auth-entities-namespace x-alkali-auth-entity x-alkali-client-locale x-chrome-connected x-framework-xsrf-token X-Client-Data X-ClientDetails X-Client-Version X-Firebase-Locale X-GData-Client X-GData-Key X-Goog-AuthUser X-Goog-PageId X-Goog-Encode-Response-If-Executable X-GoogApps-Allowed-Domains X-Goog-AdX-Buyer-Impersonation X-Goog-Api-Client X-Goog-Api-Key X-Google-EOM X-Goog-Visibilities X-Goog-Correlation-Id X-Goog-Request-Info X-Goog-Request-Reason X-Goog-Request-Time X-Goog-Experiments x-goog-ext-124712974-jspb x-goog-ext-251363160-jspb x-goog-ext-259736195-jspb x-goog-ext-467253834-jspb x-goog-ext-472780938-jspb x-goog-ext-477772811-jspb x-goog-ext-275505673-bin x-goog-ext-353267353-bin x-goog-ext-353267353-jspb x-goog-ext-496773601-bin x-goog-ext-328800237-bin x-goog-ext-359275022-bin x-goog-ext-202735639-bin x-goog-ext-223435598-bin X-Goog-Firebase-Installations-Auth x-goog-greenenergyuserappservice-metadata X-Firebase-Client X-Firebase-Client-Log-Type X-Firebase-GMPID X-Firebase-Auth-Token X-Firebase-AppCheck X-Firebase-Token X-Goog-Drive-Client-Version X-Goog-Drive-Resource-Keys x-goog-iam-authority-selector x-goog-iam-authorization-token x-goog-request-params x-goog-sherlog-context X-Goog-Sn-Metadata X-Goog-Sn-PatientId X-Goog-Spatula X-Goog-Travel-Bgr X-Goog-Travel-Settings X-Goog-Upload-Command X-Goog-Upload-Content-Disposition X-Goog-Upload-Content-Length X-Goog-Upload-Content-Type X-Goog-Upload-File-Name X-Goog-Upload-Header-Content-Encoding X-Goog-Upload-Header-Content-Length X-Goog-Upload-Header-Content-Type X-Goog-Upload-Header-Transfer-Encoding X-Goog-Upload-Offset X-Goog-Upload-Protocol X-Goog-User-Project X-Goog-Visitor-Id X-Goog-FieldMask X-Google-Project-Override x-goog-maps-api-salt x-goog-maps-api-signature x-goog-maps-client-id x-goog-spanner-database-role X-HTTP-Method-Override X-JavaScript-User-Agent X-Pan-Versionid X-Proxied-User-IP X-Origin X-Referer X-Requested-With X-Stadia-Client-Context X-Upload-Content-Length X-Upload-Content-Type X-Use-Alt-Service X-Use-HTTP-Status-Code-Override X-Ios-Bundle-Identifier X-Android-Package X-Android-Cert X-Ariane-Xsrf-Token X-Earth-Engine-App-ID-Token X-Earth-Engine-Computation-Profile X-Earth-Engine-Computation-Profiling X-Play-Console-Experiments-Override X-Play-Console-Session-Id X-YouTube-Bootstrap-Logged-In X-YouTube-VVT X-YouTube-Page-CL X-YouTube-Page-Timestamp X-Compass-Routing-Destination X-Goog-Meeting-ABR X-Goog-Meeting-Botguardid X-Goog-Meeting-ClientInfo X-Goog-Meeting-ClientVersion X-Goog-Meeting-Debugid X-Goog-Meeting-Identifier X-Goog-Meeting-Interop-Cohorts X-Goog-Meeting-Interop-Type X-Goog-Meeting-OidcIdToken X-Goog-Meeting-RtcClient X-Goog-Meeting-StartSource X-Goog-Meeting-Token X-Goog-Meeting-Viewer-Token x-sdm-id-token X-Sfdc-Authorization X-Server-Timeout x-foyer-client-environment X-Goog-First-Party-Reauth X-Server-Token x-rfui-request-context".split(" "),
|
|
Vh="Digest Cache-Control Content-Disposition Content-Encoding Content-Language Content-Length Content-MD5 Content-Range Content-Transfer-Encoding Content-Type Date ETag Expires Last-Modified Location Pragma Range Server Transfer-Encoding WWW-Authenticate Vary Unzipped-Content-MD5 X-Correlation-ID X-Debug-Tracking-Id X-Google-Consent X-Google-EOM X-Goog-Generation X-Goog-Metageneration X-Goog-Safety-Content-Type X-Goog-Safety-Encoding X-Google-Trace X-Goog-Upload-Chunk-Granularity X-Goog-Upload-Control-URL X-Goog-Upload-Size-Received X-Goog-Upload-Status X-Goog-Upload-URL X-Goog-Diff-Download-Range X-Goog-Hash X-Goog-Updated-Authorization X-Server-Object-Version X-Guploader-Customer X-Guploader-Upload-Result X-Guploader-Uploadid X-Google-Gfe-Backend-Request-Cost X-Earth-Engine-Computation-Profile X-Goog-Meeting-ABR X-Goog-Meeting-Botguardid X-Goog-Meeting-ClientInfo X-Goog-Meeting-ClientVersion X-Goog-Meeting-Debugid X-Goog-Meeting-RtcClient X-Goog-Meeting-Token X-Goog-Meeting-Viewer-Token X-Compass-Routing-Destination".split(" ");var Wh,Xh,Yh,Zh,ai,bi,ci,di,ei,fi,gi,hi;Wh=null;Xh=null;Yh=null;Zh=function(a,b){var c=a.length;if(c!=b.length)return!1;for(var d=0;d<c;++d){var e=a.charCodeAt(d),f=b.charCodeAt(d);65<=e&&90>=e&&(e+=32);65<=f&&90>=f&&(f+=32);if(e!=f)return!1}return!0};
|
|
_.$h=function(a){a=String(a||"").split("\x00").join("");for(var b=[],c=!0,d=a.length,e=0;e<d;++e){var f=a.charAt(e),h=a.charCodeAt(e);if(55296<=h&&56319>=h&&e+1<d){var k=a.charAt(e+1),l=a.charCodeAt(e+1);56320<=l&&57343>=l&&(f+=k,h=65536+(h-55296<<10)+(l-56320),++e)}if(!(0<=h&&1114109>=h)||55296<=h&&57343>=h||64976<=h&&65007>=h||65534==(h&65534))h=65533,f=String.fromCharCode(h);k=!(32<=h&&126>=h)||" "==f||c&&":"==f||"\\"==f;!c||"/"!=f&&"?"!=f||(c=!1);"%"==f&&(e+2>=d?k=!0:(l=16*parseInt(a.charAt(e+
|
|
1),16)+parseInt(a.charAt(e+2),16),0<=l&&255>=l?(h=l,f=0==h?"":"%"+(256+l).toString(16).toUpperCase().substr(1),e+=2):k=!0));k&&(f=encodeURIComponent(f),1>=f.length&&(0<=h&&127>=h?f="%"+(256+h).toString(16).toUpperCase().substr(1):(h=65533,f=encodeURIComponent(String.fromCharCode(h)))));b.push(f)}a=b.join("");a=a.split("#")[0];a=a.split("?");b=a[0].split("/");c=[];d=b.length;for(e=0;e<d;++e)f=b[e],h=f.split("%2E").join("."),h=h.split(encodeURIComponent("\uff0e")).join("."),"."==h?e+1==d&&c.push(""):
|
|
".."==h?(0<c.length&&c.pop(),e+1==d&&c.push("")):c.push(f);a[0]=c.join("/");for(a=a.join("?");a&&"/"==a.charAt(0);)a=a.substr(1);return"/"+a};ai={"access-control-allow-origin":!0,"access-control-allow-credentials":!0,"access-control-expose-headers":!0,"access-control-max-age":!0,"access-control-allow-headers":!0,"access-control-allow-methods":!0,p3p:!0,"proxy-authenticate":!0,"set-cookie":!0,"set-cookie2":!0,status:!0,tsv:!0,"":!0};
|
|
bi={"accept-charset":!0,"accept-encoding":!0,"access-control-request-headers":!0,"access-control-request-method":!0,"client-ip":!0,clientip:!0,connection:!0,"content-length":!0,cookie:!0,cookie2:!0,date:!0,dnt:!0,expect:!0,forwarded:!0,"forwarded-for":!0,"front-end-https":!0,host:!0,"keep-alive":!0,"max-forwards":!0,method:!0,origin:!0,"raw-post-data":!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,url:!0,"user-agent":!0,version:!0,via:!0,"x-att-deviceid":!0,"x-chrome-connected":!0,
|
|
"x-client-data":!0,"x-client-ip":!0,"x-do-not-track":!0,"x-forwarded-by":!0,"x-forwarded-for":!0,"x-forwarded-host":!0,"x-forwarded-proto":!0,"x-geo":!0,"x-googapps-allowed-domains":!0,"x-origin":!0,"x-proxyuser-ip":!0,"x-real-ip":!0,"x-referer":!0,"x-uidh":!0,"x-user-ip":!0,"x-wap-profile":!0,"":!0};
|
|
ci=function(a){if(!_.$b(a))return null;for(var b={},c=0;c<a.length;c++){var d=a[c];if("string"===typeof d&&d){var e=d.toLowerCase();Zh(d,e)&&(b[e]=d)}}for(var f in Th)Object.prototype.hasOwnProperty.call(Th,f)&&(a=Th[f],c=a.toLowerCase(),Zh(a,c)&&Object.prototype.hasOwnProperty.call(b,c)&&(b[c]=a));return b};di=new RegExp("("+/[\t -~\u00A0-\u2027\u202A-\uD7FF\uE000-\uFFFF]/.source+"|"+/[\uD800-\uDBFF][\uDC00-\uDFFF]/.source+"){1,100}","g");ei=/[ \t]*(\r?\n[ \t]+)+/g;fi=/^[ \t]+|[ \t]+$/g;
|
|
gi=function(a,b){if(!b&&"object"===typeof a&&a&&"number"===typeof a.length){b=a;a="";for(var c=b.length,d=0;d<c;++d){var e=gi(b[d],!0);e&&(a&&(e=a+", "+e),a=e)}}if("string"===typeof a&&(a=a.replace(ei," "),a=a.replace(fi,""),""==a.replace(di,"")&&a))return a};hi=/^[-0-9A-Za-z!#\$%&'\*\+\.\^_`\|~]+$/g;
|
|
_.ii=function(a){if("string"!==typeof a||!a||!a.match(hi))return null;a=a.toLowerCase();if(null==Yh){var b=[],c=_.Ef("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Ef("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Vh);(c=_.Ef("googleapis/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Ef("client/headers/request"))&&
|
|
"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Uh);for(var d in Th)Object.prototype.hasOwnProperty.call(Th,d)&&b.push(Th[d]);Yh=ci(b)}return null!=Yh&&Yh.hasOwnProperty(a)?Yh[a]:a};
|
|
_.ji=function(a,b){if(!_.ii(a)||!gi(b))return null;a=a.toLowerCase();if(a.match(/^x-google|^x-gfe|^proxy-|^sec-/i)||bi[a])return null;if(null==Wh){b=[];var c=_.Ef("googleapis/headers/request");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Ef("client/headers/request"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Uh);Wh=ci(b)}return null!=Wh&&Wh.hasOwnProperty(a)?Wh[a]:null};
|
|
_.ki=function(a,b){if(!_.ii(a)||!gi(b))return null;a=a.toLowerCase();if(ai[a])return null;if(null==Xh){b=[];var c=_.Ef("googleapis/headers/response");c&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));(c=_.Ef("client/headers/response"))&&"object"===typeof c&&"number"===typeof c.length||(c=null);null!=c&&(b=b.concat(c));b=b.concat(Vh);Xh=ci(b)}return null!=Xh&&Xh.hasOwnProperty(a)?a:null};
|
|
_.li=function(a,b){if(_.ii(b)&&null!=a&&"object"===typeof a){var c=void 0,d;for(d in a)if(Object.prototype.hasOwnProperty.call(a,d)&&Zh(d,b)){var e=gi(a[d]);e&&(void 0!==c&&(e=c+", "+e),c=e)}return c}};_.mi=function(a,b,c,d){var e=_.ii(b);if(e){c&&(c=gi(c));b=b.toLowerCase();for(var f in a)Object.prototype.hasOwnProperty.call(a,f)&&Zh(f,b)&&delete a[f];c&&(d||(b=e),a[b]=c)}};
|
|
_.ni=function(a,b){var c={};if(!a)return c;a=a.split("\r\n");for(var d=a.length,e=0;e<d;++e){var f=a[e];if(!f)break;var h=f.indexOf(":");if(!(0>=h)){var k=f.substring(0,h);if(k=_.ii(k)){for(f=f.substring(h+1);e+1<d&&a[e+1].match(/^[ \t]/);)f+="\r\n"+a[e+1],++e;if(f=gi(f))if(k=_.ki(k,f)||(b?void 0:k))k=k.toLowerCase(),h=_.li(c,k),void 0!==h&&(f=h+", "+f),_.mi(c,k,f,!0)}}}return c};
|
|
/\uffff/.test("\uffff");
|
|
var wy,yy,Ay;_.ty=function(a,b){var c=_.$b(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
|
|
_.uy=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=_.uy(a[c]);return b};
|
|
_.vy=function(a){return(a=_.ey(a))?new ActiveXObject(a):new XMLHttpRequest};wy={};_.xy=function(a){if(wy[a])return wy[a];a=String(a);if(!wy[a]){var b=/function\s+([^\(]+)/m.exec(a);wy[a]=b?b[1]:"[Anonymous]"}return wy[a]};
|
|
yy=function(a,b){var c=[];if(_.jb(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(_.xy(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){0<e&&c.push(", ");var f=d[e];switch(typeof f){case "object":f=f?"object":"null";break;case "string":break;case "number":f=String(f);break;case "boolean":f=f?"true":"false";break;case "function":f=(f=_.xy(f))?f:"[fn]";break;default:f=typeof f}40<f.length&&(f=f.slice(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");try{c.push(yy(a.caller,
|
|
b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")};_.zy=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||_.zy),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=yy(a||arguments.callee.caller,[]));return b};Ay=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)_.Ii(a[b],a[b+1],c);return c.join("&")};
|
|
_.By=function(a,b){var c=2==arguments.length?Ay(arguments[1],0):Ay(arguments,1);return _.Hi(a,c)};_.Cy=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";return _.Hi(a,b+c)};_.Dy=function(a,b){_.Qj(a,"/")&&(a=a.slice(0,-1));_.Dc(b,"/")&&(b=b.slice(1));return a+"/"+b};_.Ey=function(a){switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:return!0;default:return!1}};var Gy,Hy,Iy;_.Fy=function(a){_.uk.call(this);this.headers=new Map;this.RD=a||null;this.og=!1;this.QD=this.Ra=null;this.gB="";this.Fr=0;this.Qo=this.JH=this.CA=this.MF=!1;this.Zp=0;this.Qd=null;this.rn="";this.kN=this.Eh=!1;this.FE=this.ZM=null};_.Za(_.Fy,_.uk);_.Fy.prototype.Cb=null;Gy=/^https?$/i;Hy=["POST","PUT"];Iy=[];_.Jy=function(a,b,c,d,e,f,h){var k=new _.Fy;Iy.push(k);b&&k.ka("complete",b);k.Lr("ready",k.R5);f&&k.kD(f);h&&(k.Eh=h);k.send(a,c,d,e)};_.g=_.Fy.prototype;
|
|
_.g.R5=function(){this.Ia();_.kb(Iy,this)};_.g.kD=function(a){this.Zp=Math.max(0,a)};_.g.setTrustToken=function(a){this.ZM=a};_.g.setAttributionReporting=function(a){this.FE=a};
|
|
_.g.send=function(a,b,c,d){if(this.Ra)throw Error("Ea`"+this.gB+"`"+a);b=b?b.toUpperCase():"GET";this.gB=a;this.Fr=0;this.MF=!1;this.og=!0;this.Ra=this.RD?_.vy(this.RD):_.vy(_.oy);this.QD=this.RD?this.RD.getOptions():_.oy.getOptions();this.Ra.onreadystatechange=(0,_.A)(this.JW,this);try{this.JH=!0,this.Ra.open(b,String(a),!0),this.JH=!1}catch(h){this.gz(5,h);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===
|
|
typeof d.keys&&"function"===typeof d.get){e=_.ua(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Fa`"+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()});e=_.Ra.FormData&&a instanceof _.Ra.FormData;!_.jb(Hy,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=_.ua(c);for(d=b.next();!d.done;d=b.next())c=_.ua(d.value),d=c.next().value,c=c.next().value,this.Ra.setRequestHeader(d,c);this.rn&&
|
|
(this.Ra.responseType=this.rn);"withCredentials"in this.Ra&&this.Ra.withCredentials!==this.Eh&&(this.Ra.withCredentials=this.Eh);if("setTrustToken"in this.Ra&&this.ZM)try{this.Ra.setTrustToken(this.ZM)}catch(h){}if("setAttributionReporting"in this.Ra&&this.FE)try{this.Ra.setAttributionReporting(this.FE)}catch(h){}try{Ky(this),0<this.Zp&&((this.kN=Ly(this.Ra))?(this.Ra.timeout=this.Zp,this.Ra.ontimeout=(0,_.A)(this.Bh,this)):this.Qd=_.ry(this.Bh,this.Zp,this)),this.CA=!0,this.Ra.send(a),this.CA=!1}catch(h){this.gz(5,
|
|
h)}};var Ly=function(a){return _.xd&&"number"===typeof a.timeout&&void 0!==a.ontimeout};_.Fy.prototype.Bh=function(){"undefined"!=typeof _.Qa&&this.Ra&&(this.Fr=8,this.dispatchEvent("timeout"),this.abort(8))};_.Fy.prototype.gz=function(a){this.og=!1;this.Ra&&(this.Qo=!0,this.Ra.abort(),this.Qo=!1);this.Fr=a;My(this);Ny(this)};var My=function(a){a.MF||(a.MF=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};
|
|
_.Fy.prototype.abort=function(a){this.Ra&&this.og&&(this.og=!1,this.Qo=!0,this.Ra.abort(),this.Qo=!1,this.Fr=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),Ny(this))};_.Fy.prototype.ua=function(){this.Ra&&(this.og&&(this.og=!1,this.Qo=!0,this.Ra.abort(),this.Qo=!1),Ny(this,!0));_.Fy.N.ua.call(this)};_.Fy.prototype.JW=function(){this.isDisposed()||(this.JH||this.CA||this.Qo?Oy(this):this.gJ())};_.Fy.prototype.gJ=function(){Oy(this)};
|
|
var Oy=function(a){if(a.og&&"undefined"!=typeof _.Qa&&(!a.QD[1]||4!=_.Py(a)||2!=a.getStatus()))if(a.CA&&4==_.Py(a))_.ry(a.JW,0,a);else if(a.dispatchEvent("readystatechange"),4==_.Py(a)){a.og=!1;try{a.Wo()?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.Fr=6,My(a))}finally{Ny(a)}}},Ny=function(a,b){if(a.Ra){Ky(a);var c=a.Ra,d=a.QD[0]?function(){}:null;a.Ra=null;a.QD=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},Ky=function(a){a.Ra&&a.kN&&(a.Ra.ontimeout=null);
|
|
a.Qd&&(_.sy(a.Qd),a.Qd=null)};_.Fy.prototype.isActive=function(){return!!this.Ra};_.Fy.prototype.Wo=function(){var a=this.getStatus(),b;if(!(b=_.Ey(a))){if(a=0===a)a=String(this.gB).match(_.Gi)[1]||null,!a&&_.Ra.self&&_.Ra.self.location&&(a=_.Ra.self.location.protocol.slice(0,-1)),a=!Gy.test(a?a.toLowerCase():"");b=a}return b};_.Py=function(a){return a.Ra?a.Ra.readyState:0};_.Fy.prototype.getStatus=function(){try{return 2<_.Py(this)?this.Ra.status:-1}catch(a){return-1}};
|
|
_.Qy=function(a){try{return a.Ra?a.Ra.responseText:""}catch(b){return""}};_.Ry=function(a){try{if(!a.Ra)return null;if("response"in a.Ra)return a.Ra.response;switch(a.rn){case "":case "text":return a.Ra.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in a.Ra)return a.Ra.mozResponseArrayBuffer}return null}catch(b){return null}};_.Fy.prototype.getResponseHeader=function(a){if(this.Ra&&4==_.Py(this))return a=this.Ra.getResponseHeader(a),null===a?void 0:a};
|
|
_.Fy.prototype.getAllResponseHeaders=function(){return this.Ra&&2<=_.Py(this)?this.Ra.getAllResponseHeaders()||"":""};_.Oj(function(a){_.Fy.prototype.gJ=a(_.Fy.prototype.gJ)});
|
|
_.zu=function(a){var b=0,c;for(c in a)b++;return b};_.Au=function(a){if(a.Jd&&"function"==typeof a.Jd)return a.Jd();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(_.$b(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return _.nb(a)};
|
|
_.Bu=function(a){if(a.Dg&&"function"==typeof a.Dg)return a.Dg();if(!a.Jd||"function"!=typeof a.Jd){if("undefined"!==typeof Map&&a instanceof Map)return Array.from(a.keys());if(!("undefined"!==typeof Set&&a instanceof Set)){if(_.$b(a)||"string"===typeof a){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return _.ob(a)}}};
|
|
var Du,Fu,Su,Nu,Wu,Ou,Qu,Pu,Tu,Ru,Xu;_.Cu=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^_.dc()).toString(36)};Du=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};
|
|
_.Eu=function(a,b){var c=a.search(_.Mi),d=_.Li(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return decodeURIComponent(a.slice(d,-1!==e?e:0).replace(/\+/g," "))};Fu=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(_.$b(a)||"string"===typeof a)Array.prototype.forEach.call(a,b,c);else for(var d=_.Bu(a),e=_.Au(a),f=e.length,h=0;h<f;h++)b.call(c,e[h],d&&d[h],a)};
|
|
_.Gu=function(a,b){this.Fe=this.Dh=this.Ki="";this.Ng=null;this.hG=this.hn="";this.ih=!1;var c;a instanceof _.Gu?(this.ih=void 0!==b?b:a.ih,_.Hu(this,a.Ki),_.Iu(this,a.Dh),_.Ju(this,a.Cg()),_.Ku(this,a.Ng),this.setPath(a.getPath()),_.Lu(this,a.fe.clone()),this.tl(a.Gz())):a&&(c=String(a).match(_.Gi))?(this.ih=!!b,_.Hu(this,c[1]||"",!0),_.Iu(this,c[2]||"",!0),_.Ju(this,c[3]||"",!0),_.Ku(this,c[4]),this.setPath(c[5]||"",!0),_.Lu(this,c[6]||"",!0),this.tl(c[7]||"",!0)):(this.ih=!!b,this.fe=new _.Mu(null,
|
|
this.ih))};_.Gu.prototype.toString=function(){var a=[],b=this.Ki;b&&a.push(Nu(b,Ou,!0),":");var c=this.Cg();if(c||"file"==b)a.push("//"),(b=this.Dh)&&a.push(Nu(b,Ou,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Ng,null!=c&&a.push(":",String(c));if(c=this.getPath())this.Fe&&"/"!=c.charAt(0)&&a.push("/"),a.push(Nu(c,"/"==c.charAt(0)?Pu:Qu,!0));(c=this.fe.toString())&&a.push("?",c);(c=this.Gz())&&a.push("#",Nu(c,Ru));return a.join("")};
|
|
_.Gu.prototype.resolve=function(a){var b=this.clone(),c=!!a.Ki;c?_.Hu(b,a.Ki):c=!!a.Dh;c?_.Iu(b,a.Dh):c=!!a.Fe;c?_.Ju(b,a.Cg()):c=null!=a.Ng;var d=a.getPath();if(c)_.Ku(b,a.Ng);else if(c=!!a.hn){if("/"!=d.charAt(0))if(this.Fe&&!this.hn)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(_.Ab(e,"./")||_.Ab(e,"/.")){d=_.Dc(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var k=e[h++];"."==k?d&&h==e.length&&f.push(""):".."==k?((1<
|
|
f.length||1==f.length&&""!=f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?b.setPath(d):c=a.nr();c?_.Lu(b,a.fe.clone()):c=!!a.hG;c&&b.tl(a.Gz());return b};_.Gu.prototype.clone=function(){return new _.Gu(this)};_.Hu=function(a,b,c){a.Ki=c?Su(b,!0):b;a.Ki&&(a.Ki=a.Ki.replace(/:$/,""));return a};_.Iu=function(a,b,c){a.Dh=c?Su(b):b;return a};_.Gu.prototype.Cg=function(){return this.Fe};_.Ju=function(a,b,c){a.Fe=c?Su(b,!0):b;return a};
|
|
_.Ku=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("T`"+b);a.Ng=b}else a.Ng=null;return a};_.Gu.prototype.getPath=function(){return this.hn};_.Gu.prototype.setPath=function(a,b){this.hn=b?Su(a,!0):a;return this};_.Gu.prototype.nr=function(){return""!==this.fe.toString()};_.Lu=function(a,b,c){b instanceof _.Mu?(a.fe=b,a.fe.jL(a.ih)):(c||(b=Nu(b,Tu)),a.fe=new _.Mu(b,a.ih));return a};_.Gu.prototype.ob=function(a,b){return _.Lu(this,a,b)};_.Gu.prototype.getQuery=function(){return this.fe.toString()};
|
|
_.Uu=function(a,b,c){a.fe.set(b,c);return a};_.g=_.Gu.prototype;_.g.ii=function(a){return this.fe.get(a)};_.g.Gz=function(){return this.hG};_.g.tl=function(a,b){this.hG=b?Su(a):a;return this};_.g.removeParameter=function(a){this.fe.remove(a);return this};_.g.jL=function(a){this.ih=a;this.fe&&this.fe.jL(a)};_.Vu=function(a,b){return a instanceof _.Gu?a.clone():new _.Gu(a,b)};Su=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
|
|
Nu=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Wu),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};Wu=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};Ou=/[#\/\?@]/g;Qu=/[#\?:]/g;Pu=/[#\?]/g;Tu=/[#\?@]/g;Ru=/#/g;_.Mu=function(a,b){this.Ee=this.Uc=null;this.Bg=a||null;this.ih=!!b};Xu=function(a){a.Uc||(a.Uc=new Map,a.Ee=0,a.Bg&&Du(a.Bg,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};_.g=_.Mu.prototype;
|
|
_.g.Sb=function(){Xu(this);return this.Ee};_.g.add=function(a,b){Xu(this);this.Bg=null;a=Yu(this,a);var c=this.Uc.get(a);c||this.Uc.set(a,c=[]);c.push(b);this.Ee+=1;return this};_.g.remove=function(a){Xu(this);a=Yu(this,a);return this.Uc.has(a)?(this.Bg=null,this.Ee-=this.Uc.get(a).length,this.Uc.delete(a)):!1};_.g.clear=function(){this.Uc=this.Bg=null;this.Ee=0};_.g.isEmpty=function(){Xu(this);return 0==this.Ee};_.g.aj=function(a){Xu(this);a=Yu(this,a);return this.Uc.has(a)};
|
|
_.g.sk=function(a){var b=this.Jd();return _.jb(b,a)};_.g.forEach=function(a,b){Xu(this);this.Uc.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};_.g.Dg=function(){Xu(this);for(var a=Array.from(this.Uc.values()),b=Array.from(this.Uc.keys()),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
|
|
_.g.Jd=function(a){Xu(this);var b=[];if("string"===typeof a)this.aj(a)&&(b=b.concat(this.Uc.get(Yu(this,a))));else{a=Array.from(this.Uc.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};_.g.set=function(a,b){Xu(this);this.Bg=null;a=Yu(this,a);this.aj(a)&&(this.Ee-=this.Uc.get(a).length);this.Uc.set(a,[b]);this.Ee+=1;return this};_.g.get=function(a,b){if(!a)return b;a=this.Jd(a);return 0<a.length?String(a[0]):b};
|
|
_.g.setValues=function(a,b){this.remove(a);0<b.length&&(this.Bg=null,this.Uc.set(Yu(this,a),_.lb(b)),this.Ee+=b.length)};_.g.toString=function(){if(this.Bg)return this.Bg;if(!this.Uc)return"";for(var a=[],b=Array.from(this.Uc.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.Jd(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+encodeURIComponent(String(d[f])));a.push(h)}}return this.Bg=a.join("&")};
|
|
_.g.clone=function(){var a=new _.Mu;a.Bg=this.Bg;this.Uc&&(a.Uc=new Map(this.Uc),a.Ee=this.Ee);return a};var Yu=function(a,b){b=String(b);a.ih&&(b=b.toLowerCase());return b};_.Mu.prototype.jL=function(a){a&&!this.ih&&(Xu(this),this.Bg=null,this.Uc.forEach(function(b,c){var d=c.toLowerCase();c!=d&&(this.remove(c),this.setValues(d,b))},this));this.ih=a};_.Mu.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Fu(arguments[b],function(c,d){this.add(d,c)},this)};
|
|
var $A=function(a){if(!a||"function"!==typeof a)throw new ZA("Must provide a function.");this.Og=null;this.V6=a},aB=!1;aB=!1;
|
|
var bB=function(a){return new _.bl(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,m){c--;d[k]=l?{sz:!0,value:m}:{sz:!1,reason:m};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.il(h,_.Ya(e,f,!0),_.Ya(e,f,!1));else b(d)})},cB,dB,eB,fB={fP:function(a){cB=a;try{delete fB.fP}catch(b){}},gP:function(a){dB=a;try{delete fB.gP}catch(b){}},hP:function(a){eB=a;try{delete fB.hP}catch(b){}}},gB=function(a){return _.Ey(a.status)},hB=function(){var a=!0,b=_.vy(_.oy);b&&void 0!==b.withCredentials||(a=!1);
|
|
return a},iB=function(a,b){if(null==b)return b;b=String(b);b.match(/^\/\/.*/)&&(b=("http:"==window.location.protocol?"http:":"https:")+b);b.match(/^\/([^\/].*)?$/)&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=window.location.protocol+"//"+window.location.host+b);var c=b.match(/^(https?:)(\/\/)?(\/([^\/].*)?)?$/i);c&&window.location.host&&String(window.location.protocol).match(/^https?:$/)&&(b=c[1]+"//"+window.location.host+(c[3]||""));b=b.replace(/^(https?:\/\/[^\/?#@]*)\/$/i,
|
|
"$1");b=b.replace(/^(http:\/\/[-_a-z0-9.]+):0*80([\/?#].*)?$/i,"$1$2");b=b.replace(/^(https:\/\/[-_a-z0-9.]+):0*443([\/?#].*)?$/i,"$1$2");b.match(/^https?:\/\/[-_a-z0-9.]*[-_a-z][-_a-z0-9.]*$/i)&&(b=b.toLowerCase());c=_.Ef("client/rewrite");_.Wb(c)&&Object.prototype.hasOwnProperty.call(c,b)?b=String(c[b]||b):(b=b.replace(/^(https?):\/\/www\.googleapis\.com$/,"$1://content.googleapis.com"),b=b.replace(/^(https?):\/\/www-(googleapis-[-_a-z0-9]+\.[-_a-z0-9]+\.google\.com)$/,"$1://content-$2"),b.match(/^https?:\/\/content(-[-_a-z0-9.]+)?\.googleapis\.com$/)||
|
|
(b=b.replace(/^(https?):\/\/([-_a-z0-9]+(\.[-_a-z0-9]+)?\.googleapis\.com)$/,"$1://content-$2")));a&&(a=_.Ef("client/firstPartyRewrite"),_.Wb(a)&&Object.prototype.hasOwnProperty.call(a,b)?b=String(a[b]||b):(b=b.replace(/^(https?):\/\/content\.googleapis\.com$/,"$1://clients6.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.([-a-z0-9]+)\.googleapis\.com$/,"$1://$2-googleapis.$3.google.com"),b=b.replace(/^(https?):\/\/content-([-a-z0-9]+)\.googleapis\.com$/,"$1://$2.clients6.google.com"),
|
|
b=b.replace(/^(https?):\/\/([-a-z0-9]+)-www-googleapis\.([-a-z0-9]+).google.com$/,"$1://content-googleapis-$2.$3.google.com")));return b},ZA=function(a){_.gb.call(this,a)};_.B(ZA,_.gb);ZA.prototype.name="gapix.client.GapiClientError";$A.prototype.then=function(a,b,c){this.Og||(this.Og=this.V6());return this.Og.then(a,b,c)};$A.prototype.bD=function(a){this.Og||(this.Og=a)};
|
|
var jB=function(a){var b={},c;for(c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var d=_.li(a,c);d&&(c=_.ki(c,d))&&_.mi(b,c,d,!0)}return b},kB={error:{code:-1,message:"A network error occurred and the request could not be completed."}},lB=function(a,b,c,d){_.Fy.call(this);this.Rd=a;this.EI=b;this.Ud=c;a={};if(d)for(var e in d)Object.prototype.hasOwnProperty.call(d,e)&&(b=_.li(d,e),void 0!==b&&(e=_.ji(e,b))&&_.mi(a,e,b));d={};for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(d[unescape(encodeURIComponent(e))]=
|
|
unescape(encodeURIComponent(a[e])));this.Vu=d;this.Og=null};_.B(lB,_.Fy);
|
|
lB.prototype.then=function(a){this.Og||(this.Og=(new _.bl(function(b,c){this.ka("error",(0,_.A)(function(){c(mB(this))},this));this.ka("success",(0,_.A)(function(){b(mB(this))},this));this.send(this.Rd,this.EI,this.Ud,this.Vu)},this)).then(function(b){b.headers=jB(b.headers);return b},function(b){return b.status?(b.headers=jB(b.headers),_.gl(b)):_.gl({result:kB,body:'{"error":{"code":-1,"message":"A network error occurred and the request could not be completed."}}',headers:null,status:null,statusText:null})}));
|
|
return this.Og.then.apply(this.Og,arguments)};
|
|
var mB=function(a){var b=a.getStatus(),c=_.Qy(a);var d=204==b?!1:""==a.rn?_.Og(c):_.Ry(a);var e=a.getAllResponseHeaders();e=_.ni(e,!1);try{var f=2<_.Py(a)?a.Ra.statusText:""}catch(h){f=""}return{result:d,body:c,headers:e,status:b,statusText:f}},nB=/;\s*charset\s*=\s*("utf-?8"|utf-?8)\s*(;|$)/i,oB=/^(text\/[^\s;\/""]+|application\/(json(\+[^\s;\/""]*)?|([^\s;\/""]*\+)?xml))\s*(;|$)/i,pB=/;\s*charset\s*=/i,qB=/(([\r\n]{0,2}[A-Za-z0-9+\/]){4,4}){0,1024}([\r\n]{0,2}[A-Za-z0-9+\/][\r\n]{0,2}[AQgw]([\r\n]{0,2}=){2,2}|([\r\n]{0,2}[A-Za-z0-9+\/]){2,2}[\r\n]{0,2}[AEIMQUYcgkosw048][\r\n]{0,2}=|([\r\n]{0,2}[A-Za-z0-9+\/]){4,4})[\r\n]{0,2}/g,rB=
|
|
function(a){var b=[];a=a.replace(qB,function(c){b.push(_.Iz(c));return""});if(a.length)throw Error("Ga");return b.join("")},sB=function(a){var b=a.headers;if(b&&"base64"===_.li(b,"X-Goog-Safety-Encoding")){var c=rB(a.body),d=_.li(b,"X-Goog-Safety-Content-Type");b["Content-Type"]=d;if(d.match(nB)||d.match(oB)&&!d.match(pB))c=_.Aw(_.wi(c));_.mi(b,"X-Goog-Safety-Encoding");_.mi(b,"X-Goog-Safety-Content-Type");a.body=c}},tB=function(a,b,c){c||((c=_.Ef("googleapis.config/proxy"))&&(c=String(c).replace(/\/static\/proxy\.html$/,
|
|
"")||"/"),c=String(c||""));c||(c=_.Ef("googleapis.config/root"),b&&(c=_.Ef("googleapis.config/root-1p")||c),c=String(c||""));c=String(iB(b,c)||c);return a=_.Dy(c,a)},uB=function(a,b){var c=a.params||_.lf();c.url=c.path;var d=c.root;d=tB("/",_.lj(c.headers),d);d.match(/^(.*[^\/])?\/$/)&&(d=d.substr(0,d.length-1));c.root=d;a.params=c;_.Dj.xn("makeHttpRequests",[a],function(e,f){e&&e.gapiRequest?(e.gapiRequest.data?sB(e.gapiRequest.data):sB(e),b(e,_.Pg(e))):b(e,f)})},vB=function(a){var b=_.ty(a,"params",
|
|
"headers");b&&"object"===typeof b||(b={});a={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=_.li(b,c);d&&(_.ji(c,d),_.mi(a,c,d))}c="chrome-extension"==(window.location.href.match(_.Gi)[1]||null);a=_.lj(a);return!(c&&a)&&hB()},wB=function(a){return new _.bl(function(b,c){var d=function(e){e&&e.gapiRequest?e=e.gapiRequest.data||e:c(e);e={result:204!=e.status&&_.Og(e.body),body:e.body,headers:e.headers||null,status:e.status||null,statusText:e.statusText||null};gB(e)?b(e):c(e)};
|
|
try{uB(a,d)}catch(e){c(e)}})},xB=function(a){var b=!_.Ef("client/cors")||!!_.Ef("client/xd4"),c={};_.rn(a,function(d,e){(d=_.ji(e,d))||b||(d=_.ii(e));d&&(e=_.li(a,d))&&_.mi(c,d,e)});return c},yB=function(a){var b=a.params||_.lf();a=_.Ik(b.headers||{});var c=b.httpMethod||"GET",d=String(b.url||""),e=encodeURIComponent("$unique");if(!("POST"===c||0<=_.Li(d,0,"$unique",d.search(_.Mi))||0<=_.Li(d,0,e,d.search(_.Mi)))){var f=[];for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&f.push(h.toLowerCase());
|
|
f.sort();f.push(_.Gh(location.href));var h=f.join(":");f=_.dj();f.update(h);h=f.cj().toLowerCase().substr(0,7);h=String(parseInt(h,16)%1E3+1E3).substr(1);d=_.By(d,e,"gc"+h)}e=b.body||null;h=b.responseType||null;b=_.lj(a)||"1p"==b.authType;f=!!_.Ef("googleapis.config/auth/useUberProxyAuth")||!!_.Ef("client/withCredentials");_.mi(a,"X-Referer");a=xB(a);var k=new lB(d,c,e,a);k.Eh=b||f;h&&(k.rn=h);return new _.bl(function(l,m){k.then(function(n){sB(n);l(n)},function(n){m(n)})})},zB=function(a,b){var c=
|
|
function(d){d=_.Ik(d);delete d.result;d={gapiRequest:{data:d}};b&&b(d,_.Pg(d))};yB(a).then(c,c)},AB=function(a,b){(_.Ef("client/cors")||_.Ef("client/xd4"))&&vB(a)?zB(a,b):uB(a,b)},BB=function(a){this.qn=a;this.og=!1;this.promise={then:(0,_.A)(function(b,c,d){this.og||(this.og=!0);this.gw&&!this.ew?this.qn.resolve(this.gw):this.ew&&!this.gw&&this.qn.reject(this.ew);return this.qn.promise.then(b,c,d)},this)}};BB.prototype.resolve=function(a){this.og?this.qn.resolve(a):this.gw||this.ew||(this.gw=a)};
|
|
BB.prototype.reject=function(a){this.og?this.qn.reject(a):this.gw||this.ew||(this.ew=a)};var CB=function(a){a=_.uy(a.error);return{code:a.code,data:a.errors,message:a.message}},DB=function(a){throw Error("Ja`"+a);};var EB=function(a){$A.call(this,EB.prototype.xp);if(!a||"object"!=typeof a&&"string"!=typeof a)throw new ZA("Missing required parameters");if("string"===typeof a){var b={};b.path=a}else b=a;if(!b.path)throw new ZA('Missing required parameter: "path"');this.Ji={};this.Ji.path=b.path;this.Ji.method=b.method||"GET";this.Ji.params=b.params||{};this.Ji.headers=b.headers||{};this.Ji.body=b.body;this.Ji.root=b.root;this.Ji.responseType=b.responseType;this.Ji.apiId=b.apiId;this.Ln=b.authType||"auto";this.Daa=
|
|
!!b.isXd4;this.QU=!1;this.Sj(this.Ln);this.gY=!1};_.B(EB,$A);EB.prototype.jf=function(){return this.Ji};EB.prototype.Sj=function(a){this.Ln=a;this.QU="1p"===this.Ln};EB.prototype.Iu=function(){return this.QU};
|
|
EB.prototype.Zk=function(){if(!this.gY){this.gY=!0;var a=this.Ji,b=a.headers=a.headers||{},c=[],d=[];for(h in b)if(Object.prototype.hasOwnProperty.call(b,h)){c.push(h);var e=h,f=_.li(b,e);f&&(e=_.ji(e,f)||_.ii(e))&&d.push([e,f])}var h=0;for(e=c.length;h<e;++h)delete b[c[h]];c=0;for(h=d.length;c<h;++c)_.mi(b,d[c][0],d[c][1]);if(this.Daa)d="1p"==this.Ln;else{d=b;c=String(_.Ef("client/version","1.1.0"));h=String(_.Ef("client/name","google-api-javascript-client"));h=!0===FB[h]?h:"google-api-javascript-client";
|
|
e=String(_.Ef("client/appName",""));f=[];e&&(f.push(e),f.push(" "));f.push(h);c&&(f.push("/"),f.push(c));_.mi(d,"X-JavaScript-User-Agent",f.join(""));_.mi(b,"X-Requested-With","XMLHttpRequest");d=_.li(b,"Content-Type");a.body&&!d&&_.mi(b,"Content-Type","application/json");_.Ef("client/allowExecutableResponse")||_.mi(b,"X-Goog-Encode-Response-If-Executable","base64");(d=_.li(b,"Content-Type"))&&"application/json"==d.toLowerCase()&&!a.params.alt&&(a.params.alt="json");(d=a.body||null)&&_.Wb(d)&&(a.body=
|
|
_.Pg(d));a.key=a.id;b=_.Cj(b,void 0,this.Ln);d=_.lj(b);if((c=b)&&window.navigator){h=[];for(e=0;e<GB.length;e++)(f=window.navigator[GB[e]])&&h.push(encodeURIComponent(GB[e])+"="+encodeURIComponent(f));_.mi(c,"X-ClientDetails",h.join("&"))}(c=_.Ef("client/apiKey"))&&void 0===a.params.key&&(a.params.key=c);(c=_.Ef("client/trace"))&&!a.params.trace&&(a.params.trace=c)}"auto"==this.Ln&&(d?this.Sj("1p"):(b=_.li(b,"Authorization"))&&String(b).match(/^(Bearer|MAC)[ \t]/i)?this.Sj("oauth2"):this.Sj("none"));
|
|
if((b=String(a.path||"").match(/^(https?:\/\/[^\/?#]+)([\/?#].*)?$/i))&&!a.root)if(a.root=String(b[1]),a.path=String(b[2]||"/"),a.path.match(/^\/_ah\/api(\/.*)?$/))a.root+="/_ah/api",a.path=a.path.substr(8);else{b=_.Ef("googleapis.config/root");d&&(b=_.Ef("googleapis.config/root-1p")||b);b=String(b||"");c=a.root+a.path;if(h=b&&c.substr(0,b.length)===b)h=_.Vu(b),e=_.Vu(c),h=(!h.Fe&&!e.Fe||h.Cg()==e.Cg())&&(null==h.Ng&&null==e.Ng||h.Ng==e.Ng);h&&(a.path=c.substr(b.length),a.root=b)}b=a.params;c=_.$h(a.path);
|
|
h=String(_.Ef("googleapis.config/xd3")||"");18<=h.length&&"/static/proxy.html"==h.substring(h.length-18)&&(h=h.substring(0,h.length-18));h||(h="/");e=_.$h(h);if(h!=e)throw Error("F");"/"!=h.charAt(h.length-1)&&(h+="/");c=_.Dy(h,c);_.Qj(c,"/")&&(c=c.substring(0,c.length-1));h=_.lf();for(var k in b)Object.prototype.hasOwnProperty.call(b,k)&&(e=encodeURIComponent(k),h[e]=b[k]);c=_.Ki(c,h);a.path=c;a.root=iB(!!d,a.root);a.url=tB(a.path,!!d,a.root)}};
|
|
var HB=function(a){a.Zk();var b=a.Ji;return{key:"gapiRequest",params:{id:b.id,key:b.key,url:b.url,path:b.path,httpMethod:b.method,body:b.body||"",headers:b.headers||{},urlParams:{},root:b.root,authType:a.Ln}}};EB.prototype.execute=function(a){var b=HB(this);AB(b,function(c,d){var e=c;c.gapiRequest&&(e=c.gapiRequest);e&&e.data&&(e=e.data);c=e instanceof Array?e[0]:e;if(204!=c.status&&c.body)try{var f=_.Og(c.body)}catch(h){}a&&a(f,d)})};
|
|
EB.prototype.xp=function(){var a=HB(this);return(_.Ef("client/cors")||_.Ef("client/xd4"))&&vB(a)?yB(a):wB(a)};EB.prototype.tj=function(){return this.xp()};var GB=["appVersion","platform","userAgent"],FB={"google-api-gwt-client":!0,"google-api-javascript-client":!0};EB.prototype.execute=EB.prototype.execute;EB.prototype.then=EB.prototype.then;EB.prototype.getPromise=EB.prototype.tj;var IB=function(a){if(!a||"object"!=typeof a)throw new ZA("Missing rpc parameters");if(!a.method)throw new ZA("Missing rpc method");this.tC=a};IB.prototype.Wd=function(){var a=this.tC.transport;return a?a.root||null:null};IB.prototype.execute=function(a){var b=dB();b.add(this,{id:"gapiRpc",callback:this.Cv(a)});b.execute()};
|
|
IB.prototype.qB=function(a){var b=this.tC.method,c=String,d;(d=this.tC.apiVersion)||(d=String(b).split(".")[0],d=_.Ef("googleapis.config/versions/"+b)||_.Ef("googleapis.config/versions/"+d)||"v1",d=String(d));a={jsonrpc:"2.0",id:a,method:b,apiVersion:c(d)};(b=this.tC.rpcParams)&&(a.params=b);return a};
|
|
IB.prototype.Cv=function(a){return function(b,c){if(b)if(b.error){var d=b.error;null==d.error&&(d.error=_.Ik(b.error))}else d=b.result||b.data,_.Wb(d)&&null==d.result&&(d.result=_.Ik(b.result||b.data));else d=!1;a(d,c)}};IB.prototype.execute=IB.prototype.execute;var KB=function(a,b){this.Ge=b||0;2==this.Ge?(b=null,null!=a&&_.Wb(a)&&(b={},b.method=a.method,b.rpcParams=a.rpcParams,b.transport=a.transport,b.root=a.root,b.apiVersion=a.apiVersion,b.authType=a.authType),this.Db=new IB(b)):(0==this.Ge&&(b=a&&a.callback)&&(a.callback=JB(b)),b=null,null!=a&&(_.Wb(a)?(b={},b.path=a.path,b.method=a.method,b.params=a.params,b.headers=a.headers,b.body=a.body,b.root=a.root,b.responseType=a.responseType,b.authType=a.authType,b.apiId=a.apiId):"string"===typeof a&&(b=a)),
|
|
this.Db=new EB(b))},JB=function(a){return function(b){if(null!=b&&_.Wb(b)&&b.error){var c=CB(b);b=_.Pg([{id:"gapiRpc",error:c}]);c.error=_.uy(c)}else null==b&&(b={}),c=_.uy(b),c.result=_.uy(b),b=_.Pg([{id:"gapiRpc",result:b}]);a(c,b)}};_.g=KB.prototype;_.g.getFormat=function(){return this.Ge};_.g.execute=function(a){this.Db.execute(a&&1==this.Ge?JB(a):a)};_.g.then=function(a,b,c){2==this.Ge&&DB('The "then" method is not available on this object.');return this.Db.then(a,b,c)};
|
|
_.g.bD=function(a){this.Db.bD&&this.Db.bD(a)};_.g.jf=function(){if(this.Db.jf)return this.Db.jf()};_.g.Zk=function(){this.Db.jf&&this.Db.Zk()};_.g.Wd=function(){if(this.Db.Wd)return this.Db.Wd()};_.g.qB=function(a){if(this.Db.qB)return this.Db.qB(a)};_.g.Sj=function(a){this.Db.Sj&&this.Db.Sj(a)};_.g.Iu=function(){return this.Db.Iu()};_.g.tj=function(){if(this.Db.tj)return this.Db.tj()};KB.prototype.execute=KB.prototype.execute;KB.prototype.then=KB.prototype.then;KB.prototype.getPromise=KB.prototype.tj;var LB=/<response-(.*)>/,MB=/^application\/http(;.+$|$)/,NB=["clients6.google.com","content.googleapis.com","www.googleapis.com"],OB=function(a,b){a=_.li(a,b);if(!a)throw new ZA("Unable to retrieve header.");return a},PB=function(a){var b=void 0;a=_.ua(a);for(var c=a.next();!c.done;c=a.next()){c=c.value.jf().apiId;if("string"!==typeof c)return"batch";if(void 0===b)b=c;else if(b!=c)return"batch"}b=_.Ef("client/batchPath/"+b)||"batch/"+b.split(":").join("/");return String(b)},QB=function(a){a=a.map(function(b){return b.request});
|
|
return PB(a)},RB=function(a,b){var c=[];a=a.jf();var d=function(f,h){_.rn(f,function(k,l){h.push(l+": "+k)})},e={"Content-Type":"application/http","Content-Transfer-Encoding":"binary"};e["Content-ID"]="<"+b+">";d(e,c);c.push("");c.push(a.method+" "+a.path);d(a.headers,c);c.push("");a.body&&c.push(a.body);return c.join("\r\n")},UB=function(a,b){a=SB(a,b);var c={};_.mb(a,function(d,e){c[e]=TB(d,e)});return c},TB=function(a,b){return{result:a.result||a.body,rawResult:_.Pg({id:b,result:a.result||a.body}),
|
|
id:b}},SB=function(a,b){a=(0,_.Fc)(a);_.Qj(a,"--")&&(a=a.substring(0,a.length-2));a=a.split(b);b=_.lf();for(var c=0;c<a.length;c++)if(a[c]){var d;if(d=a[c]){_.Qj(d,"\r\n")&&(d=d.substring(0,d.length-2));if(d){d=d.split("\r\n");for(var e=0,f={headers:{},body:""};e<d.length&&""==d[e];)e++;for(f.outerHeaders=VB(d,e);e<d.length&&""!=d[e];)e++;e++;var h=d[e++].split(" ");f.status=Number(h[1]);f.statusText=h.slice(2).join(" ");for(f.headers=VB(d,e);e<d.length&&""!=d[e];)e++;e++;f.body=d.slice(e).join("\r\n");
|
|
sB(f);d=f}else d=null;e=_.lf();f=OB(d.outerHeaders,"Content-Type");if(null==MB.exec(f))throw new ZA("Unexpected Content-Type <"+f+">");f=OB(d.outerHeaders,"Content-ID");f=LB.exec(f);if(!f)throw new ZA("Unable to recognize Content-Id.");e.id=decodeURIComponent(f[1].split("@")[0].replace(/^.*[+]/,""));e.response={status:d.status,statusText:d.statusText,headers:d.headers};204!=d.status&&(e.response.body=d.body,e.response.result=_.Og(d.body));d=e}else d=null;d&&d.id&&(b[d.id]=d.response)}return b},VB=
|
|
function(a,b){for(var c=[];b<a.length&&a[b];b++)c.push(a[b]);return _.ni(c.join("\r\n"),!1)},WB=function(a,b,c){a=a||b;if(!a||"https"!==_.Vu(a).Ki)if(a=c?_.Ef("googleapis.config/root-1p"):_.Ef("googleapis.config/root"),!a)return!1;a=iB(c,String(a))||a;return NB.includes(_.Vu(a).Cg())};var XB=function(a){$A.call(this,XB.prototype.xp);this.Bk={};this.jy={};this.mn=[];this.Bf=a;this.dba=!!a;this.NT=this.sA=!1};_.B(XB,$A);var YB=function(a,b){a=_.ua(Object.values(a.Bk));for(var c=a.next();!c.done;c=a.next())if(c.value.map(function(d){return d.id}).includes(b))return!0;return!1};XB.prototype.tq=function(a){(function(b){setTimeout(function(){throw b;})})(a)};
|
|
XB.prototype.add=function(a,b){var c=b||_.lf();b=_.lf();if(!a)throw new ZA("Batch entry "+(_.mf(c,"id")?'"'+c.id+'" ':"")+"is missing a request method");a.Zk();b.request=a;var d=_.ll();d=new BB(d);b.oC=d;a.bD(b.oC.promise);d=a.jf().headers;_.lj(d)&&(this.sA=!0);(d=String((d||{}).Authorization||"")||null)&&d.match(/^Bearer|MAC[ \t]/i)&&(this.NT=!0);d=a.jf().root;if(!this.dba){if(d&&this.Bf&&d!=this.Bf)throw new ZA('The "root" provided in this request is not consistent with that of existing requests in the batch.');
|
|
this.Bf=d||this.Bf}if(_.mf(c,"id")){d=c.id;if(YB(this,d))throw new ZA('Batch ID "'+d+'" already in use, please use another.');b.id=d}else{do b.id=String(Math.round(2147483647*_.vj()));while(YB(this,b.id))}b.callback=c.callback;c="batch";WB(this.Bf,a.jf().path,this.sA)&&(c=QB([b]));this.Bk[c]=this.Bk[c]||[];this.Bk[c].push(b);this.jy[b.id]=b;return b.id};
|
|
var ZB=function(a){var b=[],c=WB(a.Bf,void 0,a.sA);1<Object.entries(a.Bk).length&&_.Tg.warn("Heterogeneous batch requests are deprecated. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");for(var d=_.ua(Object.entries(a.Bk)),e=d.next();!e.done;e=d.next()){e=_.ua(e.value);var f=e.next().value;e=e.next().value;for(var h=!0,k=_.ua(e),l=k.next();!l.done;l=k.next())l=l.value,l.request.Zk(),"batch"===f&&c&&(h=!1,l.waa=!0,l.request.jf.root=a.Bf,b.push(l.request),
|
|
a.mn.push([l]));if(h){f=a.Bf;h=a.sA;k=a.NT;l="batch"+String(Math.round(2147483647*_.vj()))+String(Math.round(2147483647*_.vj()));var m="--"+l;l="multipart/mixed; boundary="+l;for(var n={path:QB(e),method:"POST"},p=[],q=0;q<e.length;q++)p.push(RB(e[q].request,[m.substr(m.indexOf("--")+2),"+",encodeURIComponent(e[q].id).split("(").join("%28").split(")").join("%29").split(".").join("%2E"),"@googleapis.com"].join("")));n.body=[m,p.join("\r\n"+m+"\r\n"),m+"--"].join("\r\n")+"\r\n";n.root=f||null;_.Ef("client/xd4")&&
|
|
hB()?(n.isXd4=!0,n.params={$ct:l},n.headers={},_.mi(n.headers,"Content-Type","text/plain; charset=UTF-8"),h?n.authType="1p":k&&(n.authType="oauth2"),f=new EB(n)):(n.headers={},_.mi(n.headers,"Content-Type",l),f=eB(n));b.push(f);a.mn.push(e)}}return b};
|
|
XB.prototype.execute=function(a){if(!(1>Object.keys(this.Bk).length)){var b=this.Cv(a);a=ZB(this);var c=[],d=a.map(function(e){return new _.bl(function(f){try{e.execute(function(h,k){return f({cP:h,Mca:k})})}catch(h){c.push(h),f({cP:{sz:!1,reason:h}})}})});if(0<c.length&&c.length===a.length)throw c[0];_.jl(d).then(function(e){var f=e.map(function(h){return h.Mca});e=e.map(function(h){return h.cP});b(e,f)})}};
|
|
XB.prototype.xp=function(){var a=this;if(1>Object.keys(this.Bk).length)return _.fl({});var b=ZB(this).map(function(c){return new _.bl(function(d,e){return c.tj().then(d,e)})});return bB(b).then(function(c){c=c.map(function(d){return d.sz?d.value:d});return $B(a,c,!0)})};
|
|
XB.prototype.kX=function(a,b,c,d){var e={};if(c){e=b?SB:UB;b=OB(a.headers,"Content-Type").split("boundary=")[1];if(!b)throw new ZA("Boundary not indicated in response.");e=e(a.body,"--"+b)}else b?(a.result=_.Og(a.body),e[d]=a):e[d]=TB(a,d);a={};e=_.ua(Object.entries(e));for(b=e.next();!b.done;b=e.next())if(c=_.ua(b.value),b=c.next().value,c=c.next().value,a[b]=c,!this.jy[b])throw new ZA("Could not find batch entry for id "+b+".");return a};
|
|
var $B=function(a,b,c,d,e){for(var f=!1,h={},k,l=0,m=0;m<b.length;m++){var n=b[m];if(!1===n.sz){l++;b[m]=n.reason;var p=aC([b[m]]),q=_.ua(a.mn[m]);for(n=q.next();!n.done;n=q.next())h[n.value.id]=p}else{if(1>a.mn[m].length)throw new ZA("Error processing batch responses.");try{var u=!(1===a.mn[m].length&&a.mn[m][0].waa),v=a.mn[m][0].id;if(!c){p=n;var t=d[m];q=p;if(t&&(!q||!u)){var x=_.Og(t);x&&(q=x.gapiRequest?x.gapiRequest.data:x,!u&&p&&(q.body=p))}if(!q)throw new ZA("The batch response is missing.");
|
|
n=q}p=void 0;if(q=n){var y=q.headers;if(y){var z=_.lf();for(p in y)if(Object.prototype.hasOwnProperty.call(y,p)){var C=_.li(y,p);_.mi(z,p,C,!0)}q.headers=z}}if(u&&0!=OB(n.headers,"Content-Type").indexOf("multipart/mixed"))throw new ZA("The response's Content-Type is not multipart/mixed.");k=k||_.uy(n);var G=gB(n);G&&!gB(k)&&(k.status=n.status,k.statusText=n.statusText);if(G||c||!u)f=!0,h=Object.assign(h,a.kX(n,c,u,v))}catch(L){for(l++,b[m]=L,p=aC([L]),q=_.ua(a.mn[m]),n=q.next();!n.done;n=q.next())h[n.value.id]=
|
|
p}}}if(l===b.length){d=aC(b);h=_.Pg(d);k=0;a=Array.from(Object.values(a.Bk)).flat();f=_.ua(a);for(l=f.next();!l.done;l=f.next())if(l=l.value,c)l.oC.reject(d);else if(l.callback)try{k++,l.callback(d,h)}catch(L){XB.prototype.tq(L)}if(e)try{e(d,h)}catch(L){XB.prototype.tq(L)}else if(k!==a.length)throw 1===b.length?b[0]:d;}else{if(f)for(f=_.ua(Object.entries(h)),l=f.next();!l.done;l=f.next())if(l=_.ua(l.value),m=l.next().value,l=l.next().value,c)m=a.jy[m],l&&gB(l)?m.oC.resolve(l):m.oC.reject(l);else if(m=
|
|
a.jy[m],m.callback){if(l&&l.rawResult)try{delete l.rawResult}catch(L){}try{m.callback(l||!1,_.Pg(l))}catch(L){XB.prototype.tq(L)}}k.result=h||{};k.body=1===b.length?k.body:"";if(e)try{e(h||null,1===d.length?d[0]:null)}catch(L){XB.prototype.tq(L)}return k}},aC=function(a){var b={error:{code:0,message:"The batch request could not be fulfilled. "}};a=_.ua(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&c.message||c instanceof Error&&c.message?b.error.message+=(c.message||c instanceof Error&&c.message)+
|
|
" ":c&&c.error&&c.error.message&&(b.error.message+=c.error.message+" ",b.error.code=c.error.code||b.error.code||0);b.error.message=b.error.message.trim();return{result:b,body:_.Pg(b),headers:null,status:null,statusText:null}};XB.prototype.Cv=function(a){var b=this;return function(c,d){b.LE(c,d,a)}};XB.prototype.LE=function(a,b,c){$B(this,a,!1,b,c)};XB.prototype.add=XB.prototype.add;XB.prototype.execute=XB.prototype.execute;XB.prototype.then=XB.prototype.then;var bC=function(){this.jm=[];this.Bf=this.yf=null};
|
|
bC.prototype.add=function(a,b){b=b||{};var c={},d=Object.prototype.hasOwnProperty;if(a)c.Fp=a;else throw new ZA("Batch entry "+(d.call(b,"id")?'"'+b.id+'" ':"")+"is missing a request method");if(d.call(b,"id")){a=b.id;for(d=0;d<this.jm.length;d++)if(this.jm[d].id==a)throw new ZA('Batch ID "'+a+'" already in use, please use another.');c.id=a}else{do c.id=String(2147483647*_.vj()|0);while(d.call(this.jm,c.id))}c.callback=b.callback;this.jm.push(c);return c.id};
|
|
var cC=function(a){return function(b){var c=b.body;if(b=b.result){for(var d={},e=0,f=b.length;e<f;++e)d[b[e].id]=b[e];a(d,c)}else a(b,c)}};
|
|
bC.prototype.execute=function(a){this.yf=[];for(var b,c,d=0;d<this.jm.length;d++)b=this.jm[d],c=b.Fp,this.yf.push(c.qB(b.id)),this.Bf=c.Wd()||this.Bf;c=this.Cv(a);a={requests:this.yf,root:this.Bf};b={};d=a.headers||{};for(var e in d){var f=e;if(Object.prototype.hasOwnProperty.call(d,f)){var h=_.li(d,f);h&&(f=_.ji(f,h)||_.ii(f))&&_.mi(b,f,h)}}_.mi(b,"Content-Type","application/json");e=cC(c);eB({method:"POST",root:a.root||void 0,path:"/rpc",params:a.urlParams,headers:b,body:a.requests||[]}).then(e,
|
|
e)};bC.prototype.Cv=function(a){var b=this;return function(c,d){b.LE(c,d,a)}};bC.prototype.LE=function(a,b,c){a||(a={});for(var d=0;d<this.jm.length;d++){var e=this.jm[d];e.callback&&e.callback(a[e.id]||!1,b)}c&&c(a,b)};fB.gP(function(){return new bC});bC.prototype.add=bC.prototype.add;bC.prototype.execute=bC.prototype.execute;var dC=function(a,b){this.gca=a;this.Ge=b||null;this.Lf=null};dC.prototype.NH=function(a){this.Ge=a;this.Lf=2==this.Ge?new bC:new XB(this.gca)};dC.prototype.add=function(a,b){if(!a)throw a=b||_.lf(),new ZA("Batch entry "+(_.mf(a,"id")?'"'+a.id+'" ':"")+"is missing a request method");null===this.Ge&&this.NH(a.getFormat());this.Ge!==a.getFormat()&&DB("Unable to add item to batch.");var c=b&&b.callback;1==this.Ge&&c&&(b.callback=function(d){d=eC(d);var e=_.Pg([d]);c(d,e)});return this.Lf.add(a,b)};
|
|
dC.prototype.execute=function(a){var b=a&&1==this.Ge?function(c){var d=[];_.rn(c,function(f,h){f=eC(f);c[h]=f;d.push(f)});var e=_.Pg(d);a(c,e)}:a;this.Lf&&this.Lf.execute(b)};var eC=function(a){var b=a?_.ty(a,"result"):null;_.Wb(b)&&null!=b.error&&(b=CB(b),a={id:a.id,error:b});return a};dC.prototype.then=function(a,b,c){2==this.Ge&&DB('The "then" method is not available on this object.');return this.Lf.then(a,b,c)};dC.prototype.add=dC.prototype.add;dC.prototype.execute=dC.prototype.execute;
|
|
dC.prototype.then=dC.prototype.then;var fC=function(a){$A.call(this,fC.prototype.xp);this.Db=a};_.B(fC,$A);var gC=function(a){a.Db.Zk();var b=a.Db,c=b.jf();return!(WB(c.root,c.path,a.Db.Iu())?"batch"!==PB([b]):1)};_.g=fC.prototype;
|
|
_.g.execute=function(a){var b=this;if(gC(this))this.Db.execute(a);else{var c=function(d){if("function"===typeof a){var e={gapiRequest:{data:{status:d&&d.status,statusText:d&&d.statusText,headers:d&&d.headers,body:d&&d.body}}};if(1===b.getFormat()){a=JB(a);var f={}}var h=d?d.result:!1;d&&204==d.status&&(h=f,delete e.gapiRequest.data.body);a(h,_.Pg(e))}};this.tj().then(c,c)}};
|
|
_.g.xp=function(){return gC(this)?this.Db.tj():new _.bl(function(a,b){var c=cB(),d=c.add(this.Db,{id:"gapiRequest"});c.then(function(e){var f=e.result;if(f&&(f=f[d])){Object.prototype.hasOwnProperty.call(f,"result")||(f.result=!1);Object.prototype.hasOwnProperty.call(f,"body")||(f.body="");gB(f)?a(f):b(f);return}b(e)},b)},this)};_.g.jf=function(){if(this.Db.jf)return this.Db.jf()};_.g.Zk=function(){this.Db.Zk&&this.Db.Zk()};_.g.Wd=function(){if(this.Db.Wd)return this.Db.Wd()};
|
|
_.g.Sj=function(a){this.Db.Sj&&this.Db.Sj(a)};_.g.Iu=function(){return this.Db.Iu()};_.g.getFormat=function(){return this.Db.getFormat?this.Db.getFormat():0};_.g.tj=function(){return this.xp()};fC.prototype.execute=fC.prototype.execute;fC.prototype.then=fC.prototype.then;fC.prototype.getPromise=fC.prototype.tj;var hC="/rest?fields="+encodeURIComponent("kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id")+"&pp=0",iC=function(a,b){return"/discovery/v1/apis/"+(encodeURIComponent(a)+"/"+encodeURIComponent(b)+hC)},kC=function(a,b,c,d){if(_.Wb(a)){var e=a;var f=a.name;a=a.version||"v1"}else f=a,a=b;if(!f||!a)throw new ZA("Missing required parameters.");var h=c||function(){},k=_.Wb(d)?d:{};c=function(l){var m=l&&l.result;if(!m||m.error||!m.name||!l||l.error||l.message||l.message)h(m&&
|
|
m.error?m:l&&(l.error||l.message||l.message)?l:new ZA("API discovery response missing required fields."));else{l=k.root;l=null!=m.rootUrl?String(m.rootUrl):l;l="string"===typeof l?l.replace(/([^\/])\/$/,"$1"):void 0;k.root=l;m.name&&m.version&&!m.id&&(m.id=[m.name,m.version].join(":"));m.id&&(k.apiId=m.id,l="client/batchPath/"+m.id,m.batchPath&&!_.Ef(l)&&_.Ff(l,m.batchPath));var n=m.servicePath,p=m.parameters,q=function(v){_.rn(v,function(t){if(!(t&&t.id&&t.path&&t.httpMethod))throw new ZA("Missing required parameters");
|
|
var x=t.id.split("."),y=window.gapi.client,z;for(z=0;z<x.length-1;z++){var C=x[z];y[C]=y[C]||{};y=y[C]}var G,L;k&&(k.hasOwnProperty("root")&&(G=k.root),k.hasOwnProperty("apiId")&&(L=k.apiId));C=window.gapi.client[x[0]];C.AN||(C.AN={servicePath:n||"",parameters:p,apiId:L});x=x[z];y[x]||(y[x]=_.Ya(jC,{path:"string"===typeof t.path?t.path:null,httpMethod:"string"===typeof t.httpMethod?t.httpMethod:null,parameters:t.parameters,parameterName:(t.request||{}).parameterName||"",request:t.request,root:G},
|
|
C.AN))})},u=function(v){_.rn(v,function(t){q(t.methods);u(t.resources)})};u(m.resources);q(m.methods);h.call()}};e?c({result:e}):0<f.indexOf("://")?eB({path:f,params:{pp:0,fields:0<=("/"+f).indexOf("/discovery/v1/apis/")?"kind,name,version,rootUrl,servicePath,resources,parameters,methods,batchPath,id":'fields["kind"],fields["name"],fields["version"],fields["rootUrl"],fields["servicePath"],fields["resources"],fields["parameters"],fields["methods"],fields["batchPath"],fields["id"]'}}).then(c,c):eB({path:iC(f,
|
|
a),root:d&&d.root}).then(c,c)},jC=function(a,b,c,d,e){e=void 0===e?{}:e;var f=b.servicePath||"";_.Dc(f,"/")||(f="/"+f);var h=lC(a.path,[a.parameters,b.parameters],c||{});c=h.Od;var k=h.Mfa;f=_.Dy(f,h.path);h=k.root;delete k.root;var l=a.parameterName;!l&&1==_.zu(k)&&k.hasOwnProperty("resource")&&(l="resource");if(l){var m=k[l];delete k[l]}null==m&&(m=d);null==m&&a.request&&(_.vi(k)&&(k=void 0),m=k);e=e||{};l=a.httpMethod;"GET"==l&&void 0!==m&&""!=String(m)&&(_.mi(e,"X-HTTP-Method-Override",l),l="POST");
|
|
if((null==m||null!=d)&&k)for(var n in k)"string"===typeof k[n]&&(c[n]=k[n]);return eB({path:f,method:l,params:c,headers:e,body:m,root:h||a.root,apiId:b.apiId},1)},lC=function(a,b,c){c=_.Ik(c);var d={};_.qn(b,function(e){_.rn(e,function(f,h){var k=f.required;if("path"==f.location)if(Object.prototype.hasOwnProperty.call(c,h))_.Ab(a,"{"+h+"}")?(f=encodeURIComponent(String(c[h])),a=a.replace("{"+h+"}",f)):_.Ab(a,"{+"+h+"}")&&(f=encodeURI(String(c[h])),a=a.replace("{+"+h+"}",f)),delete c[h];else{if(k)throw new ZA("Required path parameter "+
|
|
h+" is missing.");}else"query"==f.location&&Object.prototype.hasOwnProperty.call(c,h)&&(d[h]=c[h],delete c[h])})});if(b=c.trace)d.trace=b,delete c.trace;return{path:a,Od:d,Mfa:c}};var mC=function(a,b,c,d){var e=b||"v1",f=_.Wb(d)?d:{root:d};if(c)kC(a,e,function(h){if(h)if(h.error)c(h);else{var k="API discovery was unsuccessful.";if(h.message||h.message)k=h.message||h.message;c({error:k,code:0})}else c()},f);else return new _.bl(function(h,k){var l=function(m){m?k(m):h()};try{kC(a,e,l,f)}catch(m){k(m)}})},nC=new RegExp(/^((([Hh][Tt][Tt][Pp][Ss]?:)?\/\/[^\/?#]*)?\/)?/.source+/(_ah\/api\/)?(batch|rpc)(\/|\?|#|$)/.source),oC=function(a,b){if(!a)throw new ZA("Missing required parameters");
|
|
var c="object"===typeof a?a:{path:a};a=c.callback;delete c.callback;b=new KB(c,b);if(c=!!_.Ef("client/xd4")&&hB()){var d=b.jf();c=d.path;(d=d.root)&&"/"!==d.charAt(d.length-1)&&(d+="/");d&&c&&c.substr(0,d.length)===d&&(c=c.substr(d.length));c=!c.match(nC)}c&&(b=new fC(b));return a?(b.execute(a),null):b};fB.hP(function(a){return oC.apply(null,arguments)});
|
|
var pC=function(a,b){if(!a)throw new ZA("Missing required parameters");for(var c=a.split("."),d=window.gapi.client,e=0;e<c.length-1;e++){var f=c[e];d[f]=d[f]||{};d=d[f]}c=c[c.length-1];if(!d[c]){var h=b||{};d[c]=function(k){var l="string"==typeof h?h:h.root;k&&k.root&&(l=k.root);return new KB({method:a,apiVersion:h.apiVersion,rpcParams:k,transport:{name:"googleapis",root:l}},2)}}},qC=function(a){return new dC(a)};fB.fP(function(a){return qC.apply(null,arguments)});
|
|
var rC=function(a){if(_.$i.JSONRPC_ERROR_MOD)throw new ZA(a+" is discontinued. See https://developers.googleblog.com/2018/03/discontinuing-support-for-json-rpc-and.html");_.Tg.log(a+" is deprecated. See https://developers.google.com/api-client-library/javascript/reference/referencedocs")};_.r("gapi.client.init",function(a){a.apiKey&&_.Ff("client/apiKey",a.apiKey);var b=_.vc(a.discoveryDocs||[],function(d){return mC(d)});if((a.clientId||a.client_id)&&a.scope){var c=new _.bl(function(d,e){var f=function(){_.Ra.gapi.auth2.init.call(_.Ra.gapi.auth2,a).then(function(){d()},e)};aB?f():_.Ra.gapi.load("auth2",{callback:function(){f()},onerror:function(h){e(h||Error("Ka"))}})});b.push(c)}else(a.clientId||a.client_id||a.scope)&&_.Tg.log("client_id and scope must both be provided to initialize OAuth.");
|
|
return _.jl(b).then(function(){})});_.r("gapi.client.load",mC);_.r("gapi.client.newBatch",qC);_.r("gapi.client.newRpcBatch",function(){rC("gapi.client.newRpcBatch");return qC()});_.r("gapi.client.newHttpBatch",function(a){rC("gapi.client.newHttpBatch");return new dC(a,0)});_.r("gapi.client.register",function(a,b){rC("gapi.client.register");var c;b&&(c={apiVersion:b.apiVersion,root:b.root});pC(a,c)});_.r("gapi.client.request",oC);
|
|
_.r("gapi.client.rpcRequest",function(a,b,c){rC("gapi.client.rpcRequest");if(!a)throw new ZA('Missing required parameter "method".');return new KB({method:a,apiVersion:b,rpcParams:c,transport:{name:"googleapis",root:c&&c.root||""}},2)});_.r("gapi.client.setApiKey",function(a){_.Ff("client/apiKey",a);_.Ff("googleapis.config/developerKey",a)});_.r("gapi.client.setApiVersions",function(a){rC("gapi.client.setApiVersions");_.Ff("googleapis.config/versions",a)});_.r("gapi.client.getToken",function(a){return _.oj(a)});
|
|
_.r("gapi.client.setToken",function(a,b){a?_.Cw(a,b):_.Dw(b)});_.r("gapi.client.AuthType",{zga:"auto",NONE:"none",lka:"oauth2",sia:"1p"});_.r("gapi.client.AuthType.AUTO","auto");_.r("gapi.client.AuthType.NONE","none");_.r("gapi.client.AuthType.OAUTH2","oauth2");_.r("gapi.client.AuthType.FIRST_PARTY","1p");
|
|
});
|
|
// Google Inc.
|