(function(g){var window=this;'use strict';var Qa_=function(p){p.watermark||(p.watermark=new qg(p.api),g.E(p,p.watermark),p.watermark.lT(p.bottomButtons,0),g.JB(p.watermark.element,"ytp-muted-autoplay-watermark",!0),p.L=new g.Gq(p.watermark,0,!0,100),g.E(p,p.L))},J7=function(p){g.vl.call(this,p); var a=this;this.L=null;var l=p.C(),y={target:l.Sl},S=["ytp-small-redirect"];if(l.U)S.push("no-link");else{var n=g.ft(l);y.href=n;y["aria-label"]="Ve a YouTube para buscar m\u00e1s v\u00eddeos"}var V=new g.X({X:"a",A9:S,V:y,N:[{X:"svg",V:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},N:[{X:"path",V:{d:"M0 0h24v24H0V0z",fill:"none"}},{X:"path",V:{d:"M21.58 7.19c-.23-.86-.91-1.54-1.77-1.77C18.25 5 12 5 12 5s-6.25 0-7.81.42c-.86.23-1.54.91-1.77 1.77C2 8.75 2 12 2 12s0 3.25.42 4.81c.23.86.91 1.54 1.77 1.77C5.75 19 12 19 12 19s6.25 0 7.81-.42c.86-.23 1.54-.91 1.77-1.77C22 15.25 22 12 22 12s0-3.25-.42-4.81zM10 15V9l5.2 3-5.2 3z"}}]}]}); V.lT(this.element);p.createClientVe(V.element,this,178053);this.J(V.element,"click",function(z){hxW(a,z,V.element)}); g.E(this,V);l.U||l.disableOrganicUi||(this.L=new Aql(p),this.L.lT(this.element),g.E(this,this.L));this.J(p,"videodatachange",function(){a.show()}); this.resize(this.api.Fu().getPlayerSize())},gJl=function(p){p.next.element.style.bottom=p.W+"px"; p.previous.element.style.bottom=p.W+"px";var a=p.scrollPosition,l=p.containerWidth-p.suggestionData.length*(p.U+p.S);g.JB(p.element,"ytp-scroll-min",a>=0);g.JB(p.element,"ytp-scroll-max",a<=l)},Ycl=function(p){if(p.runs)for(var a=0;a=650,n=p.width<480||p.height<290,V=Math.min(this.suggestionData.length,this.L.length);if(Math.min(p.width,p.height)<=150||V===0||!l.vZ)this.hide();else{var z;if(S){var d=z=28;this.S=16}else this.S=d=z=8;if(n){var G=6;S=14;var B=12;n=24;l=12}else G=8,S=18,B=16,n=36,l=16;p=p.width-(48+z+d);z=Math.ceil(p/150);z=Math.min(3,z);d=p/z-this.S;var c=Math.floor(d/y);a&&c+100>a&&d>50&&(c=Math.max(a,50/y),z=Math.ceil(p/(y*(c-100)+this.S)),d=p/z-this.S, c=Math.floor(d/y));d<50||g.Gs(this.api)?this.hide():this.show();for(a=0;a