/* JS */ gapi.loaded_2(function(_){var window=this;
_.XB=function(a){_.Fs.call(this,a.S);this.F=a;this.B=null};_.t(_.XB,_.Hs);_.XB.prototype.open=function(){this.A.targetPos=this.A.targetPos||"top-start";this.A.anchorPos=this.A.anchorPos||"bottom-start";var a=_.Ks(this),b=this.S.Oa();b?(b.style.visibility="hidden",b.style.position="absolute",a.parentNode.appendChild(b)):this.F.open()};_.XB.prototype.open=_.XB.prototype.open;
_.XB.prototype.gc=function(){if(this.A.closeClickDetection){var a=this,b=function(b){_.Ls(a.S.Oa(),b)||(a.S.close(),a.B=null)};window.document.A?(window.document.A("click",b),this.B=function(){window.document.removeEventListener("click",b,!1)}):window.document.attachEvent&&(window.document.attachEvent("onclick",b),this.B=function(){window.document.detachEvent("onclick",b)})}var c=this.S.Oa();window.document.getElementById(this.S.id).style.height=this.S.height+"px";var d=_.Ks(this);d&&_.Qs(c,this.A.targetPos, d,this.A.anchorPos,{x:this.A.leftOffset||0,y:this.A.topOffset||0});c.style.visibility="visible"};_.XB.prototype.onready=_.XB.prototype.gc;_.XB.prototype.close=function(){this.F.close();this.B&&this.B()};_.XB.prototype.close=_.XB.prototype.close;
var ZB;_.YB=function(a){_.Fs.call(this,a)};_.t(_.YB,_.Hs);ZB=["transition","WebkitTransition","MozTransition","OTranstion","msTransition"];_.$B=function(a,b){a.B=window.document.createElement("div");var c={position:"absolute",top:"-10000px",zIndex:_.Ms(a)};a.A.width&&(c.width=a.A.width+"px");for(var d in c)a.B.style[d]=c[d];(b||window.document.body).appendChild(a.B)};_.YB.prototype.open=function(a){this.S.Lc("updateContainer",(0,_.s)(this.C,this));_.$B(this,a);this.S.Bd(this.B);this.S.Vd(this.B)};
_.YB.prototype.open=_.YB.prototype.open;_.YB.prototype.gc=function(){var a=aC(this);if(a){var b=window.document.getElementById(this.S.da());b.style.height=a.height+"px";b.style.width=a.width+"px";this.S.width=a.width;this.S.height=a.height;b.style.boxShadow="0 4px 16px rgba(0, 0, 0, 0.3)"}};_.YB.prototype.onready=_.YB.prototype.gc;_.YB.prototype.close=function(){this.B.parentNode&&this.B.parentNode.removeChild(this.B)};_.YB.prototype.close=_.YB.prototype.close;
_.YB.prototype.C=function(a,b,c){var d=this.S.Oa();d&&(a?(bC(this,b,c),d.style.opacity=0,d.style.display="",window.setTimeout((0,_.s)(function(){cC(d,!0);d.style.opacity=1},this),0)):(d.style.display="none",cC(d,!1),d.style.opacity=0))};
var cC=function(a,b){for(var c=0;c<ZB.length;c++)a.style[ZB[c]]=b?"opacity .13s linear":""},bC=function(a,b,c){var d=a.S.Kb();b+=10;c+=10;if(_.J.ra&&(d&&(d=_.Vr(d.Oa(),window),b+=d.x,c+=d.y),d=aC(a))){var e=_.zr(window),f=_.vr(window.document);e.width&&(b=Math.min(b,e.width+f.x-d.width-8),c+d.height>e.height+f.y-8&&(c-=20+d.height,c=Math.max(c,Math.min(f.y+1,_.Es()-d.height))))}a=a.S.Oa();a.style.left=b+"px";a.style.top=c+"px"},aC=function(a){return a.S.width&&a.S.height?{width:a.S.width,height:a.S.height}: (a=a.S.Fa())&&a.offsetWidth&&a.offsetHeight?{width:a.offsetWidth,height:a.offsetHeight}:null};
_.dC=function(a){_.Fs.call(this,a)};_.t(_.dC,_.Hs);_.dC.prototype.C=null;_.dC.prototype.D=null;_.dC.prototype.B=null;var eC={end:"start",left:"right",right:"left",start:"end"},fC={top:"bottom",bottom:"top"};_.dC.prototype.open=function(){var a=window.document.createElement("div");_.Q(a,{top:"-10000px",position:"absolute",zIndex:_.Ms(this)});_.Ks(this).parentNode.appendChild(a);this.S.Vd(a);this.S.Bd(a)};_.dC.prototype.open=_.dC.prototype.open;
_.dC.prototype.gc=function(){var a=window.document.getElementById(this.S.id);a.style.height=this.S.height+"px";a.style.width=this.S.width+"px";a.style.boxShadow="0 4px 16px rgba(0, 0, 0, 0.3)";var b=this.S.Oa();b.style.lineHeight=0;var c=_.Ks(this),d=this.A.targetPos||"top-start",e=this.A.anchorPos||"bottom-start",f=this.A.leftOffset||0,g=this.A.topOffset||0;_.Qs(b,d,c,e,{x:f,y:g});var k=_.zr(window),l=_.vr(window.document),m=b.offsetLeft<l.x||b.offsetLeft+b.offsetWidth>k.width+l.x,k=b.offsetTop<
l.y||b.offsetTop+b.offsetHeight>k.height+l.y,d=gC(d,m,k),e=gC(e,m,k);_.Qs(b,d,c,e,{x:f*(m?-1:1),y:g*(k?-1:1)});b.style.visibility="visible";this.C=_.N(window.document,"mouseover",(0,_.s)(function(b){b.target===a&&this.B&&(window.clearTimeout(this.B),this.B=null)},this));this.D=_.N(window.document,"mouseout",(0,_.s)(function(b){b.target===a&&(this.B=window.setTimeout((0,_.s)(this.S.close,this.S),1E3))},this))};_.dC.prototype.onready=_.dC.prototype.gc;
var gC=function(a,b,c){a=a.split("-");for(var d=0;2>d;d++)b&&eC[a[d]]&&(a[d]=eC[a[d]]),c&&fC[a[d]]&&(a[d]=fC[a[d]]);return a.join("-")};_.dC.prototype.close=function(){this.C&&(_.bf(this.C),_.bf(this.D),this.D=this.C=null);this.B&&(window.clearTimeout(this.B),this.B=null);_.dC.J.close.call(this)};_.dC.prototype.close=_.dC.prototype.close;

_.Dm.hover=function(a){var b=new _.YB(_.NM(a));_.$B(b,a.where);a.where=b.B;a.onClose=function(){b.close()};a.onRestyle=function(a){if(a.updateContainer){var d=a.updateContainer;b.C(d.visible,d.x,d.y)}a.width&&(b.S.width=a.width);a.height&&(b.S.height=a.height)};a.onCreate=function(c){b.S=c;c.Kb=function(){return a.openerIframe};c.register("_ready",(0,_.s)(b.gc,b),_.om);c.updateContainer=function(a,c,f){b.C(a,c,f)}}};

var IG=function(a,b){this.A=a;this.xg=b};IG.prototype.Zm=function(){this.A.oc(this.xg)};_.JG=function(a){this.w=this.gb=a;this.n=null;this.slf=0;this.ssh=!1;this.sen=!0;this.shl=this.itm=null};_.JG.prototype.sm=function(a,b){this.gb.Hi(new IG(a,this));this.n=b};_.JG.prototype.sh=function(){this.gb.show()};_.JG.prototype.hi=function(){this.gb.rb()};_.JG.prototype.cl=function(){this.gb.close()};_.JG.prototype.en=function(){this.gb.enable()};_.JG.prototype.di=function(){this.gb.disable()};_.JG.prototype.hl=function(a){this.gb.dE(a)};_.JG.prototype.vr=function(a,b){this.gb.DE(a,b)};

_.dm.F("ytsubscribe",function(a,b){var c=_.dm.B;c&&_.dm.I({role:"ytsubscribe",iframe:c,data:b},{role:"ytrelay",iframe:a})},void 0,_.om);
_.nf="StopIteration"in _.r?_.r.StopIteration:Error("l");_.of=function(){};_.of.prototype.next=function(){throw _.nf;};_.of.prototype.df=function(){return this};_.pf=function(a,b){this.B={};this.A=[];this.D=this.C=0;var c=arguments.length;if(1<c){if(c%2)throw Error("j");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a){a instanceof _.pf?(c=a.vd(),d=a.Hc()):(c=_.ud(a),d=_.td(a));for(var e=0;e<c.length;e++)this.set(c[e],d[e])}};_.h=_.pf.prototype;_.h.cb=function(){return this.C};_.h.Hc=function(){qf(this);for(var a=[],b=0;b<this.A.length;b++)a.push(this.B[this.A[b]]);return a};_.h.vd=function(){qf(this);return this.A.concat()};_.h.qj=_.q(2);
_.h.equals=function(a,b){if(this===a)return!0;if(this.C!=a.cb())return!1;var c=b||rf;qf(this);for(var d,e=0;d=this.A[e];e++)if(!c(this.get(d),a.get(d)))return!1;return!0};var rf=function(a,b){return a===b};_.pf.prototype.isEmpty=function(){return 0==this.C};_.pf.prototype.clear=function(){this.B={};this.D=this.C=this.A.length=0};_.pf.prototype.remove=function(a){return _.sf(this.B,a)?(delete this.B[a],this.C--,this.D++,this.A.length>2*this.C&&qf(this),!0):!1};
var qf=function(a){if(a.C!=a.A.length){for(var b=0,c=0;b<a.A.length;){var d=a.A[b];_.sf(a.B,d)&&(a.A[c++]=d);b++}a.A.length=c}if(a.C!=a.A.length){for(var e={},c=b=0;b<a.A.length;)d=a.A[b],_.sf(e,d)||(a.A[c++]=d,e[d]=1),b++;a.A.length=c}};_.h=_.pf.prototype;_.h.get=function(a,b){return _.sf(this.B,a)?this.B[a]:b};_.h.set=function(a,b){_.sf(this.B,a)||(this.C++,this.A.push(a),this.D++);this.B[a]=b};
_.h.forEach=function(a,b){for(var c=this.vd(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};_.h.clone=function(){return new _.pf(this)};_.h.df=function(a){qf(this);var b=0,c=this.A,d=this.B,e=this.D,f=this,g=new _.of;g.next=function(){for(;;){if(e!=f.D)throw Error("n");if(b>=c.length)throw _.nf;var g=c[b++];return a?g:d[g]}};return g};_.sf=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};

var bN=function(a){a.A.os(a.xg)},cN=function(a){this.xg=a;this.Tc=0;this.Fk=!1;this.Ju=!0;this.gg=null};cN.prototype.If=function(){return this.xg};var dN=function(a){return 5==a.Tc||4==a.Tc};cN.prototype.isEnabled=function(){return this.Ju};cN.prototype.Ma=function(a){this.Ju=a};
var eN=function(a,b,c){this.A=a||{};this.B=b||0;this.D=c||0;a={};b=(0,_.s)(this.$u,this);a.fc=b;b=(0,_.s)(this.pr,this);a.rc=b;b=(0,_.s)(this.Ur,this);a.sc=b;b=(0,_.s)(this.ek,this);a.hc=b;b=(0,_.s)(this.pj,this);a.cc=b;b=(0,_.s)(this.jw,this);a.os=b;b=(0,_.s)(this.iw,this);a.or=b;b=(0,_.s)(this.gw,this);a.oh=b;b=(0,_.s)(this.ew,this);a.oc=b;b=(0,_.s)(this.fw,this);a.oe=b;b=(0,_.s)(this.hw,this);a.oi=b;this.C=a};_.h=eN.prototype;
_.h.pr=function(a,b,c){try{a=a+(null!=b?"_"+b:""),c.sm(this.C,a),this.A[a]=new cN(c)}catch(d){return!1}return!0};_.h.$u=function(a,b){var c=this.A[a+(null!=b?"_"+b:"")];return c?c.If():null};_.h.Ur=function(a){var b=fN(this,a);if(b&&(2==b.Tc||3==b.Tc)&&b.isEnabled()&&!b.Fk){try{a.sh()}catch(c){}b.Fk=!0}};_.h.ek=function(a){var b=fN(this,a);if(b&&(2==b.Tc||3==b.Tc||dN(b))&&b.Fk){try{a.hi()}catch(c){}b.Fk=!1}};
_.h.pj=function(a){var b=fN(this,a);if(b&&5!=b.Tc){try{this.ek(a),a.cl()}catch(c){}gN(this,b)}};_.h.jw=function(a){(a=fN(this,a))&&0==a.Tc&&(hN(this,a),a.Tc=1)};var hN=function(a,b){if(a.B){var c=(0,window.setTimeout)((0,_.s)(function(){dN(b)||iN(this,b)},a),a.B);b.gg=c}else iN(a,b)},iN=function(a,b){var c=a.D-a.B;0<c&&(c=(0,window.setTimeout)((0,_.s)(function(){dN(b)||(b.Tc=4,this.pj(b.If()))},a),c),b.gg=c)},jN=function(a){null!=a.gg&&((0,window.clearTimeout)(a.gg),a.gg=null)};_.h=eN.prototype;
_.h.iw=function(a){(a=fN(this,a))&&!dN(a)&&1==a.Tc&&(jN(a),a.Tc=3)};_.h.gw=function(a){(a=fN(this,a))&&!dN(a)&&(a.Fk=!1)};_.h.ew=function(a){var b=fN(this,a);if(b&&!dN(b)){try{this.ek(a)}catch(c){}gN(this,b)}};_.h.fw=function(a){(a=fN(this,a))&&!dN(a)&&(a.Tc=4,this.pj(a.If()))};_.h.hw=function(a,b){var c=fN(this,a);c&&!dN(c)&&2<=b&&4>=b&&!dN(c)&&(jN(c),c.Tc=2)};var gN=function(a,b){jN(b);b.Tc=5;var c=a.A,d;for(d in c)c[d]==b&&delete c[d]},fN=function(a,b){return a.A[b.n]},kN=function(){eN.call(this)};
_.t(kN,eN);var lN=function(a){this.A=a};_.h=lN.prototype;_.h.pr=function(a,b,c){return this.A.rc(a,b,c)};_.h.$u=function(a,b){return this.A.fc(a,b)};_.h.Ur=function(a){this.A.sc(a)};_.h.ek=function(a){this.A.hc(a)};_.h.pj=function(a){this.A.cc(a)};_.h.jw=function(a){this.A.os(a)};_.h.iw=function(a,b){this.A.or(a,b)};_.h.gw=function(a){this.A.oh(a)};_.h.ew=function(a){this.A.oc(a)};_.h.fw=function(a,b,c,d,e,f){this.A.oe(a,b,c,d,e,f)};_.h.hw=function(a,b,c,d){this.A.oi(a,b,c,d)};
var mN=function(){return window.___jsl.man},nN=function(a){if(window.___jsl.man)a(window.___jsl.man);else{var b=function(){var b=new kN;window.___jsl.man=b;a(b)};if(window.gbar){var c=function(){if(window.gbar.wg){var c=new lN(window.gbar.wg);window.___jsl.man=c;a(c)}else b()};window.gbar.wg?c():window.gbar.qm(c)}else b()}};
var oN=_.wd("contactid","cmp","email","hl","n","m","p","src","userid","sp","ytid");_.wd("hl","origin","ri","src","userid");var pN=_.wd("nm","s","pr","v");_.Hd(pN,oN);var qN=/(?:^|\s)g-(?:hovercard|profile)(?:$|\s)/,rN={loadHovercardDelay:250,loadDelay:150,hoverDelay:500,closeDelay:500},sN=0,tN=function(a){return window.document.body==a?"body":a.__cardid||null},uN=function(a){var b=tN(a);b||(b=a.__cardid=sN++);return b},vN=function(a){var b=a.className||"getAttribute"in a&&a.getAttribute("class");return b&&qN.test(b)||"getAttribute"in a&&a.getAttribute("oid")&&36==_.F("card/p")?!0:"G:HOVERCARD"==a.tagName.toUpperCase()},wN=function(a,b){var c={};_.Hd(c,rN,_.F("iframes/card")||
{},_.F("card")||{});for(var d=[],e=a;e;e=e.parentNode){var f=tN(e);f&&b[f]&&d.push(b[f])}(0,_.bd)(d.reverse(),function(a){_.Hd(c,a)});d="G:HOVERCARD"==a.tagName.toUpperCase()?"":"data-";e=a.attributes;for(f=0;f<e.length;f++)_.Vc(e[f].name,d)&&(c[e[f].name.substring(d.length)]=e[f].value);"getAttribute"in a&&a.getAttribute("oid")&&36==_.F("card/p")&&(c.ytid=a.getAttribute("oid"));!c.userid&&"A"==a.tagName.toUpperCase()&&a.pathname&&(d=a.pathname.match(/^\/?(\d+)$/),/\.google\.com$/.test(a.hostname)&& d&&(c.userid=d[1]));c.hl||(c.hl=_.F("lang")||_.G.Cb().hl||void 0);c.m=c.entity;c.src=c.source;delete c.entity;delete c.source;return c},xN=function(a,b){var c=b[a];_.Uc(c)||(c=rN[a]);return 0>c?0:c};
var yN=function(a){this.B=a;this.xg=new _.JG(this);this.C=!1;this.D=0};_.h=yN.prototype;_.h.If=function(){return this.xg};
_.h.load=function(a){bN(this.ub);a=_.Cs(a,function(a,b){return oN[b]&&null!=a});a.origin=window.location.protocol+"//"+window.location.host;var b=this,c=this.B,d={_event:function(a){if(!(a.timestamp<c.la)){"sgcp_ams"==a.event?(c.Q=!0,c.W=!1):c.Q&&"mouseover"==a.event?c.W=!0:c.Q&&"mouseout"==a.event?c.W=!1:"sgcp_amh"==a.event&&(c.Q=!1,c.W||zN(c));if("mouseover"==a.event||"sgcp_ams"==a.event)window.clearTimeout(c.F),c.F=null;if(a.cpid){for(var b=window.document.getElementById(a.cpid);b&&"BODY"!=b.parentNode.tagName;)b=
b.parentNode;c.Za=b}a.fromCard&&"mouseout"==a.event&&zN(c)}},_ready:(0,_.s)(this.ID,this),version:function(a){AN(c,c.K,{type:"circles_changed",version:a.v})},loaded:function(a){a.ri==b.D&&b.F()},rendered:function(){var a=b.B.I,c=_.xr(_.Br((window||_.r||window).document));BN(b,!0,a.x+c.x,a.y+c.y);a=b.B;AN(a,a.K,{type:"show",frame:b.A})},renderfailed:function(){BN(b,!1,0,0)},disposed:function(){b.A.close()},cardAction:function(a){CN(c,a)}},e=":card";!_.F("iframes/card/url")&&_.F("iframes/hovercard/url")&&
(e=":hovercard");a=_.Tl(_.Ul(_.Vl(_.Nm(_.Om(new _.Sl({disableMultiLevelParentRelay:!0,hover:!0}),d),_.om),a),"hover"),e);_.F("card/relayOpenTop")&&(_.Wl(a,-1),_.Rm(new _.Rl(a.A),"_default"));_.dm.open(a.value(),(0,_.s)(function(a){this.A=a},this))};_.h.ID=function(){this.C=!0;var a=this.ub;a.A.or(a.xg,{});a=this.B;a.A&&a.Kq(a.A)};_.h.Hi=function(a){this.ub=a};_.h.dE=function(a){this.A.send("getHealthc",void 0,a,_.om)};_.h.DE=function(a,b){this.A.send("getVarc",a,b,_.om)};
var BN=function(a,b,c,d){a.A.updateContainer?a.A.updateContainer(b,c,d):a.A.vk({updateContainer:{visible:b,x:c,y:d}})};_.h=yN.prototype;_.h.show=function(){BN(this,!0,0,-1E4);this.A.send("render",void 0,void 0,_.om)};_.h.rb=function(){this.A.send("hide",void 0,void 0,_.om);BN(this,!1,0,0);var a=this.B;AN(a,a.K,{type:"hide"});a.K=null;a.Ca=null};_.h.close=function(){this.A.send("dispose",void 0,void 0,_.om)};_.h.enable=function(){};_.h.disable=function(){};
var DN=function(){this.mb=0;this.ha=[];this.X={};this.Z={};this.N={};this.la=this.F=this.B=this.M=this.Ca=this.K=this.D=this.A=this.C=null;this.I={x:0,y:0};this.W=this.Q=!1;this.Za=null;this.ua=new _.pf;_.pe("gapi.load")("gapi.iframes.style.slide-menu")},EN=0,FN=function(a,b,c,d){var e=uN(b),e=a.N[e]||(a.N[e]={});e[c]||(e[c]=d=(0,_.s)(d,a),b.addEventListener?b.addEventListener(c,d,"focus"==c||"blur"==c):("focus"==c?c="focusin":"blur"==c&&(c="focusout"),b.attachEvent("on"+c,d)))},GN=function(a,b,c){(a=
a.N[uN(b)])&&a[c]&&(b.addEventListener?b.removeEventListener(c,a[c],"focus"==c||"blur"==c):b.detachEvent("focus"==c?"onfocusin":"blur"==c?"onfocusout":"on"+c,a[c]),delete a[c])},HN=function(a,b){var c=a.N[b.id];if(c)for(var d in c)c.hasOwnProperty(d)&&GN(a,b,d)};
DN.prototype.watch=function(a,b,c){if(a=a||window.document.body){this.mb++;var d=uN(a);b&&(this.X[d]=b);c&&(this.Z[d]=c);FN(this,a,"mouseover",this.Uu);FN(this,a,"mouseout",this.uq);FN(this,a,"mousedown",this.Tu);FN(this,a,"focus",this.Uu);FN(this,a,"blur",this.uq);FN(this,window.document.body,"mouseout",this.uq);FN(this,window.document.body,"mousedown",this.Tu)}else window.setTimeout((0,_.s)(this.watch,this),100)};
DN.prototype.unwatch=function(a){if(a=a||window.document.body)if(zN(this,0),a!=window.document.body?HN(this,a):GN(this,window.document.body,"mouseover"),a=uN(a),delete this.X[a],delete this.Z[a],!(0<--this.mb)){HN(this,window.document.body);var b=this.C;this.ia();this.C=null;window.setTimeout(function(){var a=mN();a&&b&&a.pj(b.If())},100)}};DN.prototype.Nb=function(a){this.ha.push(a)};DN.prototype.Zg=function(a){_.re(this.ha,a)};
var AN=function(a,b,c){for(var d=[];b;){var e=tN(b);e&&a.X[e]&&d.push(a.X[e]);b=b.parentNode}_.id(d,a.ha);(0,_.bd)(d,function(a){a(c)})};_.h=DN.prototype;
_.h.Uu=function(a){this.la=(0,_.xa)();var b=a.target||a.srcElement;if(b&&"IFRAME"!=b.tagName){for(;b&&!vN(b);)if(b=b.parentNode,1!=b.nodeType)return;if(b)if(this.K==b||this.A==b)this.F&&(window.clearTimeout(this.F),this.F=null);else{this.A=b;FN(this,b,"mousemove",this.oF);"focus"==a.type||"focusin"==a.type?(a=_.ns(b),this.I.x=a.x,this.I.y=a.y+b.offsetHeight):(this.I.x=a.clientX,this.I.y=a.clientY);this.M=(0,_.xa)();a=this.D=wN(b,this.Z);var c=xN("hoverDelay",a);this.C?this.C.C&&(window.clearTimeout(this.B),
this.B=window.setTimeout((0,_.s)(this.Kq,this,b),c-xN("loadDelay",a))):(window.clearTimeout(this.B),this.B=window.setTimeout((0,_.s)(this.BG,this),c-xN("loadHovercardDelay",a)))}}};_.h.uq=function(a){this.la=(0,_.xa)();if("blur"!=a.type||a.target==this.K||a.target==this.A){if(a=a.relatedTarget||a.toElement){if("IFRAME"==a.tagName)return;if(this.Za)for(;a&&"BODY"!=a.tagName;){if(a==this.Za)return;a=a.parentNode}}zN(this)}};_.h.Tu=function(){zN(this,0)};
_.h.oF=function(a){this.I.x=a.clientX;this.I.y=a.clientY};_.h.BG=function(){this.B&&(window.clearTimeout(this.B),this.B=null);if(this.A&&(AN(this,this.A,{type:"hover",config:this.D}),!this.C)){var a=this.C=new yN(this);nN((0,_.s)(function(b){b.pr("card",EN++,a.If())&&a.load(this.D)},this))}};
_.h.Kq=function(a){this.B&&(window.clearTimeout(this.B),this.B=null);if(this.A==a){var b=xN("hoverDelay",this.D)-xN("loadDelay",this.D)-(0,_.xa)()+this.M;if(0<b)this.B=window.setTimeout((0,_.s)(this.Kq,this,a),b);else{AN(this,a,{type:"hover",config:this.D});var b=this.C,c=this.D;a=(0,_.s)(this.Cz,this,a);b.C&&(b.F=a,c.ri=++b.D,b.A.send("loadData",c,void 0,_.om))}}};
_.h.Cz=function(a){if(this.A===a&&this.C&&this.C.C&&this.M){var b=xN("hoverDelay",this.D)-(0,_.xa)()+this.M;0<b?window.setTimeout((0,_.s)(this.Cz,this,a),b):(this.ia(),this.K=this.A,this.Ca=this.D,GN(this,this.A,"mousemove"),this.M=this.D=this.A=null,mN().Ur(this.C.If()))}};var zN=function(a,b){a.A&&GN(a,a.A,"mousemove");a.A=null;a.D=null;a.M=null;a.B&&(window.clearTimeout(a.B),a.B=null);!a.F&&a.K&&(a.F=window.setTimeout((0,_.s)(a.ia,a),_.Uc(b)?b:xN("closeDelay",a.Ca)))};
DN.prototype.ia=function(){this.F&&(window.clearTimeout(this.F),this.F=null);this.K&&mN().ek(this.C.If())};var CN=function(a,b){AN(a,null,b);a.va&&a.va.send("cardAction",b,void 0,a.Ba)};DN.prototype.No=function(a,b,c){var d={};d.frame=a;d.filter=b||_.nm;d.Xc=c||_.Bd;this.ua.set(_.Sc(a),d);a.register("cardAction",(0,_.s)(function(a){CN(this,a);d.Xc(a)},this),d.filter)};
DN.prototype.Oo=function(a){this.Ba=a||_.nm;_.dm.D((0,_.s)(function(a){this.va=a;this.va.register("cardAction",(0,_.s)(this.pl,this),this.Ba)},this),void 0,this.Ba)};DN.prototype.pl=function(a){this.ua.isEmpty()||(0,_.bd)(this.ua.Hc(),function(b){b.frame.send("cardAction",a,void 0,b.filter)});this.C&&this.C.A.send("cardAction",a,void 0,_.om)};
_.IN=function(){var a={},b=new DN;a.watch=function(a,d,e){b.watch(a,d,e)};a.unwatch=function(a){b.unwatch(a)};a.Nb=function(a){b.Nb(a)};a.Zg=function(a){b.Zg(a)};a.No=function(a,d,e){b.No(a,d,e)};a.Oo=function(a){b.Oo(a)};a.pl=function(a){b.pl(a)};a.Y=function(a,b){b.origin=window.location.protocol+"//"+window.location.host;var e=_.dm.Wf({url:":card",where:window.document.getElementById(a),queryParams:b,messageHandlers:{_ready:function(){e.send("loadData",b,void 0,_.om)},loaded:function(){e.send("render", void 0,void 0,_.om)}},messageHandlersFilter:_.om})};return a}();
_.B("gapi.card.watch",_.IN.watch);_.B("gapi.card.unwatch",_.IN.unwatch);_.B("gapi.card.addCallback",_.IN.Nb);_.B("gapi.card.removeCallback",_.IN.Zg);_.B("gapi.card.render",_.IN.Y);_.B("gapi.card.connectChild",_.IN.No);_.B("gapi.card.connectOpener",_.IN.Oo);_.B("gapi.card.broadcast",_.IN.pl);

});
// Google Inc.
