(function(g){var window=this;'use strict';var Sib=function(a){a.mutedAutoplay=!1;a.endSeconds=NaN;a.limitedPlaybackDurationInSeconds=NaN;g.hO(a)},Tib=function(){return{G:"svg",
Y:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},X:[{G:"path",wc:!0,S:"ytp-svg-fill",Y:{d:"M 16.68,.99 C 13.55,1.03 7.02,1.16 4.99,1.68 c -1.49,.4 -2.59,1.6 -2.99,3 -0.69,2.7 -0.68,8.31 -0.68,8.31 0,0 -0.01,5.61 .68,8.31 .39,1.5 1.59,2.6 2.99,3 2.69,.7 13.40,.68 13.40,.68 0,0 10.70,.01 13.40,-0.68 1.5,-0.4 2.59,-1.6 2.99,-3 .69,-2.7 .68,-8.31 .68,-8.31 0,0 .11,-5.61 -0.68,-8.31 -0.4,-1.5 -1.59,-2.6 -2.99,-3 C 29.11,.98 18.40,.99 18.40,.99 c 0,0 -0.67,-0.01 -1.71,0 z m 72.21,.90 0,21.28 2.78,0 .31,-1.37 .09,0 c .3,.5 .71,.88 1.21,1.18 .5,.3 1.08,.40 1.68,.40 1.1,0 1.99,-0.49 2.49,-1.59 .5,-1.1 .81,-2.70 .81,-4.90 l 0,-2.40 c 0,-1.6 -0.11,-2.90 -0.31,-3.90 -0.2,-0.89 -0.5,-1.59 -1,-2.09 -0.5,-0.4 -1.10,-0.59 -1.90,-0.59 -0.59,0 -1.18,.19 -1.68,.49 -0.49,.3 -1.01,.80 -1.21,1.40 l 0,-7.90 -3.28,0 z m -49.99,.78 3.90,13.90 .18,6.71 3.31,0 0,-6.71 3.87,-13.90 -3.37,0 -1.40,6.31 c -0.4,1.89 -0.71,3.19 -0.81,3.99 l -0.09,0 c -0.2,-1.1 -0.51,-2.4 -0.81,-3.99 l -1.37,-6.31 -3.40,0 z m 29.59,0 0,2.71 3.40,0 0,17.90 3.28,0 0,-17.90 3.40,0 c 0,0 .00,-2.71 -0.09,-2.71 l -9.99,0 z m -53.49,5.12 8.90,5.18 -8.90,5.09 0,-10.28 z m 89.40,.09 c -1.7,0 -2.89,.59 -3.59,1.59 -0.69,.99 -0.99,2.60 -0.99,4.90 l 0,2.59 c 0,2.2 .30,3.90 .99,4.90 .7,1.1 1.8,1.59 3.5,1.59 1.4,0 2.38,-0.3 3.18,-1 .7,-0.7 1.09,-1.69 1.09,-3.09 l 0,-0.5 -2.90,-0.21 c 0,1 -0.08,1.6 -0.28,2 -0.1,.4 -0.5,.62 -1,.62 -0.3,0 -0.61,-0.11 -0.81,-0.31 -0.2,-0.3 -0.30,-0.59 -0.40,-1.09 -0.1,-0.5 -0.09,-1.21 -0.09,-2.21 l 0,-0.78 5.71,-0.09 0,-2.62 c 0,-1.6 -0.10,-2.78 -0.40,-3.68 -0.2,-0.89 -0.71,-1.59 -1.31,-1.99 -0.7,-0.4 -1.48,-0.59 -2.68,-0.59 z m -50.49,.09 c -1.09,0 -2.01,.18 -2.71,.68 -0.7,.4 -1.2,1.12 -1.49,2.12 -0.3,1 -0.5,2.27 -0.5,3.87 l 0,2.21 c 0,1.5 .10,2.78 .40,3.78 .2,.9 .70,1.62 1.40,2.12 .69,.5 1.71,.68 2.81,.78 1.19,0 2.08,-0.28 2.78,-0.68 .69,-0.4 1.09,-1.09 1.49,-2.09 .39,-1 .49,-2.30 .49,-3.90 l 0,-2.21 c 0,-1.6 -0.2,-2.87 -0.49,-3.87 -0.3,-0.89 -0.8,-1.62 -1.49,-2.12 -0.7,-0.5 -1.58,-0.68 -2.68,-0.68 z m 12.18,.09 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.18,-0.70 -0.18,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .18,2.39 .68,3.09 .49,.7 1.21,1 2.21,1 1.4,0 2.48,-0.69 3.18,-2.09 l .09,0 .31,1.78 2.59,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 17.31,0 0,11.90 c -0.1,.3 -0.29,.48 -0.59,.68 -0.2,.2 -0.51,.31 -0.81,.31 -0.3,0 -0.58,-0.10 -0.68,-0.40 -0.1,-0.3 -0.21,-0.70 -0.21,-1.40 l 0,-10.99 -3.40,0 0,11.21 c 0,1.4 .21,2.39 .71,3.09 .5,.7 1.18,1 2.18,1 1.39,0 2.51,-0.69 3.21,-2.09 l .09,0 .28,1.78 2.62,0 0,-14.99 c 0,0 -3.40,.00 -3.40,-0.09 z m 20.90,2.09 c .4,0 .58,.11 .78,.31 .2,.3 .30,.59 .40,1.09 .1,.5 .09,1.21 .09,2.21 l 0,1.09 -2.5,0 0,-1.09 c 0,-1 -0.00,-1.71 .09,-2.21 0,-0.4 .11,-0.8 .31,-1 .2,-0.3 .51,-0.40 .81,-0.40 z m -50.49,.12 c .5,0 .8,.18 1,.68 .19,.5 .28,1.30 .28,2.40 l 0,4.68 c 0,1.1 -0.08,1.90 -0.28,2.40 -0.2,.5 -0.5,.68 -1,.68 -0.5,0 -0.79,-0.18 -0.99,-0.68 -0.2,-0.5 -0.31,-1.30 -0.31,-2.40 l 0,-4.68 c 0,-1.1 .11,-1.90 .31,-2.40 .2,-0.5 .49,-0.68 .99,-0.68 z m 39.68,.09 c .3,0 .61,.10 .81,.40 .2,.3 .27,.67 .37,1.37 .1,.6 .12,1.51 .12,2.71 l .09,1.90 c 0,1.1 .00,1.99 -0.09,2.59 -0.1,.6 -0.19,1.08 -0.49,1.28 -0.2,.3 -0.50,.40 -0.90,.40 -0.3,0 -0.51,-0.08 -0.81,-0.18 -0.2,-0.1 -0.39,-0.29 -0.59,-0.59 l 0,-8.5 c .1,-0.4 .29,-0.7 .59,-1 .3,-0.3 .60,-0.40 .90,-0.40 z"}}]}},
Uib=function(a){g.X.call(this,{G:"div",
S:"ytp-related-on-error-overlay"});var b=this;this.api=a;this.J=this.u=0;this.D=new g.PK(this);this.j=[];this.suggestionData=[];this.columns=this.containerWidth=0;this.title=new g.X({G:"h2",S:"ytp-related-title",Aa:"{{title}}"});this.previous=new g.X({G:"button",Na:["ytp-button","ytp-previous"],Y:{"aria-label":"Mostrar v\u00eddeos sugeridos anteriores"},X:[g.dR()]});this.oa=new g.f3(function(f){b.suggestions.element.scrollLeft=-f});
this.C=this.B=0;this.K=!0;this.next=new g.X({G:"button",Na:["ytp-button","ytp-next"],Y:{"aria-label":"Mostrar mais v\u00eddeos sugeridos"},X:[g.eR()]});g.H(this,this.D);a=a.W();this.V=a.C;g.H(this,this.title);this.title.Ja(this.element);this.suggestions=new g.X({G:"div",S:"ytp-suggestions"});g.H(this,this.suggestions);this.suggestions.Ja(this.element);g.H(this,this.previous);this.previous.Ja(this.element);this.previous.Ta("click",this.A0,this);g.H(this,this.oa);for(var c={ex:0};16>c.ex;c={ex:c.ex},
c.ex++){var d=new g.X({G:"a",S:"ytp-suggestion-link",Y:{href:"{{link}}",target:a.ea,"aria-label":"{{aria_label}}"},X:[{G:"div",S:"ytp-suggestion-image",X:[{G:"div",Y:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration",Aa:"{{duration}}"}]},{G:"div",S:"ytp-suggestion-title",Y:{title:"{{hover_title}}"},Aa:"{{title}}"},{G:"div",S:"ytp-suggestion-author",Aa:"{{views_or_author}}"}]});g.H(this,d);d.Ja(this.suggestions.element);var e=d.Ha("ytp-suggestion-link");g.Un(e,"transitionDelay",c.ex/20+"s");
this.D.T(e,"click",function(f){return function(h){var l=f.ex,m=b.suggestionData[l],n=m.sessionData;g.xM(b.api.W())&&b.api.N("web_player_log_click_before_generating_ve_conversion_params")?(b.api.ub(b.j[l].element),l=m.Wk(),m={},g.uLa(b.api,m,"emb_rel_err"),l=g.Yj(l,m),g.pT(l,b.api,h)):g.oT(h,b.api,b.V,n||void 0)&&b.api.xo(m.videoId,n,m.playlistId)}}(c));
this.j.push(d)}g.H(this,this.next);this.next.Ja(this.element);this.next.Ta("click",this.z0,this);this.D.T(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.qb().getPlayerSize());this.onVideoDataChange();this.show()},Vib=function(a,b){if(a.api.W().N("web_player_log_click_before_generating_ve_conversion_params"))for(var c=Math.floor(-a.B/(a.C+a.u)),d=Math.min(c+a.columns,a.suggestionData.length)-1;c<=d;c++)a.api.Za(a.j[c].element,b)},Wib=function(a){a.next.element.style.bottom=
a.J+"px";
a.previous.element.style.bottom=a.J+"px";var b=a.B,c=a.containerWidth-a.suggestionData.length*(a.C+a.u);g.Wq(a.element,"ytp-scroll-min",0<=b);g.Wq(a.element,"ytp-scroll-max",b<=c)},Xib=function(a){for(var b=0;b<a.suggestionData.length;b++){var c=a.suggestionData[b],d=a.j[b],e=c.shortViewCount?c.shortViewCount:c.author,f=c.Wk(),h=a.api.W();
if(g.xM(h)&&!h.N("web_player_log_click_before_generating_ve_conversion_params")){var l={};g.ES(a.api,"addEmbedsConversionTrackingParams",[l]);f=g.Yj(f,g.xS(l,"emb_rel_err"))}d.element.style.display="";l=d.Ha("ytp-suggestion-title");g.gr.test(c.title)?l.dir="rtl":g.Hbb.test(c.title)&&(l.dir="ltr");l=d.Ha("ytp-suggestion-author");g.gr.test(e)?l.dir="rtl":g.Hbb.test(e)&&(l.dir="ltr");d.update({views_or_author:e,duration:c.isLivePlayback?"Em direto":c.lengthSeconds?g.HR(c.lengthSeconds):"",link:f,hover_title:c.title,
title:c.title,aria_label:c.ariaLabel||null,is_live:c.isLivePlayback});e=d.Ha("ytp-suggestion-image");f=c.Kg();e.style.backgroundImage=f?"url("+f+")":"";h.N("web_player_log_click_before_generating_ve_conversion_params")&&(a.api.ag(d.element,d),(c=(c=c.sessionData)&&c.itct)&&a.api.gg(d.element,c))}for(;b<a.j.length;b++)a.j[b].element.style.display="none";Wib(a)},c6=function(a){g.qU.call(this,a);
var b=this;this.j=null;var c=a.W(),d={G:"svg",Y:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},X:[{G:"path",Y:{d:"M0 0h24v24H0V0z",fill:"none"}},{G:"path",Y:{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"}}]};g.FM(c)&&(d={G:"svg",Y:{fill:"none",height:"100%",
viewBox:"0 0 25 25",width:"100%"},X:[{G:"g",Y:{"clip-path":"url(#clip0)",fill:"#fff"},X:[{G:"path",Y:{d:"M12.57.98C6.21.98 1.05 6.14 1.05 12.5c0 6.36 5.16 11.52 11.52 11.52 6.36 0 11.52-5.16 11.52-11.52C24.09 6.14 18.93.98 12.57.98zm0 18.34c-3.77 0-6.82-3.05-6.82-6.82 0-3.77 3.05-6.82 6.82-6.82 3.77 0 6.82 3.05 6.82 6.82 0 3.77-3.05 6.82-6.82 6.82z"}},{G:"path",Y:{d:"M12.57 6.52c-3.29 0-5.98 2.68-5.98 5.98 0 3.3 2.68 5.98 5.98 5.98 3.3 0 5.98-2.68 5.98-5.98 0-3.3-2.69-5.98-5.98-5.98zm-2.25 9.38V9.1l5.88 3.4-5.88 3.4z"}}]},
{G:"defs",X:[{G:"clipPath",Y:{id:"clip0"},X:[{G:"path",Y:{d:"M0 0h24v24H0z",fill:"#fff",transform:"translate(.57 .5)"}}]}]}]});var e={target:c.ea},f=["ytp-small-redirect"];c.B?f.push("no-link"):(c=g.YM(c),e.href=c,e["aria-label"]="Aceder ao YouTube para pesquisar mais v\u00eddeos");var h=new g.X({G:"a",Na:f,Y:e,X:[d]});h.Ja(this.element);a.xb(h.element,this,178053);this.T(h.element,"click",function(l){Yib(b,l,h.element)});
g.H(this,h);a.W().B||(this.j=new Uib(a),this.j.Ja(this.element),g.H(this,this.j));this.T(a,"videodatachange",function(){b.show()});
this.resize(this.api.qb().getPlayerSize())},Yib=function(a,b,c){b.preventDefault();
a.api.W().B||(a.api.ub(c),b=c.getAttribute("href"),c={},g.ES(a.api,"addEmbedsConversionTrackingParams",[c]),b=g.id(c)?b:g.Yj(b,c),g.gl(b))},Zib=function(a,b){a.Ha("ytp-error-content").style.paddingTop="0px";
var c=a.Ha("ytp-error-content"),d=c.clientHeight;a.j.resize(b,b.height-d);c.style.paddingTop=(b.height-a.j.element.clientHeight)/2-d/2+"px"},bjb=function(a,b){var c=a.api.W(),d;
b.reason&&($ib(b.reason)?d=g.WG(b.reason):d=g.rU(g.VG(b.reason)),a.qe(d,"content"));var e;b.subreason&&($ib(b.subreason)?e=g.WG(b.subreason):e=g.rU(g.VG(b.subreason)),a.qe(e,"subreason"));if(b.proceedButton&&b.proceedButton.buttonRenderer){d=a.Ha("ytp-error-content-wrap-subreason");b=b.proceedButton.buttonRenderer;var f=g.bf("A");if(b.text&&b.text.simpleText&&(e=b.text.simpleText,f.textContent=e,!ajb(d,e)&&(!c.B||c.embedsErrorLinks))){var h;c=null==(h=g.Q(null==b?void 0:b.navigationEndpoint,g.rO))?
void 0:h.url;var l;h=null==(l=g.Q(null==b?void 0:b.navigationEndpoint,g.rO))?void 0:l.target;c&&(f.setAttribute("href",c),a.api.xb(f,a,178424),a.T(f,"click",function(m){Yib(a,m,f)}));
h&&f.setAttribute("target",h);l=g.bf("DIV");l.appendChild(f);d.appendChild(l)}}},$ib=function(a){if(a.runs)for(var b=0;b<a.runs.length;b++)if(a.runs[b].navigationEndpoint)return!0;
return!1},ajb=function(a,b){a=g.Ke("A",a);
for(var c=0;c<a.length;c++)if(a[c].textContent===b)return!0;return!1},d6=function(a,b){g.X.call(this,{G:"a",
Na:["ytp-impression-link"],Y:{target:"{{target}}",href:"{{url}}","aria-label":"Ver no YouTube"},X:[{G:"div",S:"ytp-impression-link-content",Y:{"aria-hidden":"true"},X:[{G:"div",S:"ytp-impression-link-text",Aa:"Ver no"},{G:"div",S:"ytp-impression-link-logo",X:[Tib()]}]}]});this.api=a;this.u=b;this.updateValue("target",a.W().ea);this.api.xb(this.element,this,96714);this.T(this.api,"presentingplayerstatechange",this.Yi);this.T(this.api,"videoplayerreset",this.j);this.T(this.element,"click",this.onClick);
this.j()},cjb=function(a){var b={};
g.ES(a.api,"addEmbedsConversionTrackingParams",[b]);return g.Yj(a.api.getVideoUrl(),g.xS(b,"emb_imp_woyt"))},e6=function(a){g.X.call(this,{G:"div",
Na:["ytp-mobile-a11y-hidden-seek-button"],X:[{G:"button",Na:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],Y:{"aria-label":"Retroceder 10 segundos","aria-hidden":"false"}},{G:"button",Na:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],Y:{"aria-label":"Avan\u00e7ar 10 segundos","aria-hidden":"false"}}]});this.api=a;this.j=this.Ha("ytp-mobile-a11y-hidden-seek-button-rewind");this.forwardButton=this.Ha("ytp-mobile-a11y-hidden-seek-button-forward");this.api.xb(this.j,this,141902);
this.api.xb(this.forwardButton,this,141903);this.T(this.api,"presentingplayerstatechange",this.Yi);this.T(this.j,"click",this.u);this.T(this.forwardButton,"click",this.B);this.Yi()},f6=function(a){g.X.call(this,{G:"div",
S:"ytp-muted-autoplay-endscreen-overlay",X:[{G:"div",S:"ytp-muted-autoplay-end-panel",X:[{G:"button",Na:["ytp-muted-autoplay-end-text","ytp-button"],Aa:"{{text}}"}]}]});this.api=a;this.C=this.Ha("ytp-muted-autoplay-end-panel");this.u=!1;this.api.xb(this.element,this,52428);this.T(this.api,"presentingplayerstatechange",this.B);this.T(a,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.Ta("click",this.onClick);this.hide()},g6=function(a){var b=a.W();
g.X.call(this,{G:"a",Na:["ytp-watermark","yt-uix-sessionlink"],Y:{target:b.ea,href:"{{url}}","aria-label":g.MP("Ver em $WEBSITE",{WEBSITE:g.MM(b)}),"data-sessionlink":"feature=player-watermark"},X:[Tib()]});this.api=a;this.j=null;this.u=!1;this.state=a.Nb();a.xb(this.element,this,76758);this.T(a,"videodatachange",this.l_);this.T(a,"videodatachange",this.onVideoDataChange);this.T(a,"presentingplayerstatechange",this.onStateChange);this.T(a,"appresize",this.Kb);this.Ac(this.state);this.onVideoDataChange();
this.Kb(a.qb().getPlayerSize())},fjb=function(a){g.X.call(this,{G:"div",
S:"ytp-muted-autoplay-overlay",X:[{G:"div",S:"ytp-muted-autoplay-bottom-buttons",X:[{G:"button",Na:["ytp-muted-autoplay-equalizer","ytp-button"],Y:{"aria-label":"Indicador de reprodu\u00e7\u00e3o sem som"},X:[{G:"div",Na:["ytp-muted-autoplay-equalizer-icon"],X:[{G:"svg",Y:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},X:[{G:"g",Y:{fill:"#fff"},X:[{G:"rect",S:"ytp-equalizer-bar-left",Y:{height:"9",width:"4",x:"1",y:"7"}},{G:"rect",S:"ytp-equalizer-bar-middle",Y:{height:"14",width:"4",
x:"6",y:"2"}},{G:"rect",S:"ytp-equalizer-bar-right",Y:{height:"12",width:"4",x:"11",y:"4"}}]}]}]}]}]}]});var b=this;this.api=a;this.bottomButtons=this.Ha("ytp-muted-autoplay-bottom-buttons");this.Ha("ytp-muted-autoplay-equalizer");this.B=new g.Kq(this.D5,4E3,this);this.u=!1;a.xb(this.element,this,39306);this.T(a,"presentingplayerstatechange",this.mK);this.T(a,"onMutedAutoplayStarts",function(){djb(b);b.mK();ejb(b);b.u=!1});
this.T(a,"onAutoplayBlocked",this.onAutoplayBlocked);this.Ta("click",this.onClick);this.T(a,"onMutedAutoplayEnds",this.onMutedAutoplayEnds);this.hide();g.JS(a.app)&&(djb(this),this.mK(),ejb(this))},ejb=function(a){a.Gb&&a.j&&(a.j.show(),a.B.start())},djb=function(a){a.watermark||(a.watermark=new g6(a.api),g.H(a,a.watermark),a.watermark.Ja(a.bottomButtons,0),g.Wq(a.watermark.element,"ytp-muted-autoplay-watermark",!0),a.j=new g.yR(a.watermark,0,!0,100),g.H(a,a.j))},h6=function(a,b){g.X.call(this,{G:"div",
S:"ytp-pause-overlay",Y:{tabIndex:"-1"}});var c=this;this.api=a;this.B=new g.PK(this);this.C=new g.yR(this,1E3,!1,100,function(){c.j.B=!1},function(){c.j.B=!0});
this.u=!1;this.expandButton=new g.X({G:"button",Na:["ytp-button","ytp-expand"],Aa:g.US(this.api)?"Mais v\u00eddeos curtos":"Mais v\u00eddeos"});"0"===a.W().controlsType&&g.Sq(a.getRootNode(),"ytp-pause-overlay-controls-hidden");g.H(this,this.B);g.H(this,this.C);var d=new g.X({G:"button",Na:["ytp-button","ytp-collapse"],Y:{"aria-label":g.US(this.api)?"Ocultar mais v\u00eddeos curtos":"Ocultar mais v\u00eddeos"},X:[{G:"div",S:"ytp-collapse-icon",X:[g.ZEa()]}]});g.H(this,d);d.Ja(this.element);d.Ta("click",
this.D,this);g.H(this,this.expandButton);this.expandButton.Ja(this.element);this.expandButton.Ta("click",this.J,this);this.j=new g.g3(a,b);g.H(this,this.j);this.j.B=!1;this.j.Ja(this.element);g.US(this.api)?this.api.xb(this.element,this,157212):this.api.xb(this.element,this,172777);this.B.T(this.api,"presentingplayerstatechange",this.Sa);this.B.T(this.api,"videodatachange",this.Sa);this.hide()},i6=function(a){g.X.call(this,{G:"div",
Na:["ytp-player-content","ytp-iv-player-content"],X:[{G:"div",S:"ytp-countdown-timer",X:[{G:"svg",Y:{height:"100%",version:"1.1",viewBox:"0 0 72 72",width:"100%"},X:[{G:"circle",S:"ytp-svg-countdown-timer-ring",Y:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-dasharray":"211","stroke-dashoffset":"-211","stroke-width":"4",transform:"rotate(-90)"}},{G:"circle",S:"ytp-svg-countdown-timer-background",Y:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-opacity":"0.3",
"stroke-width":"4",transform:"rotate(-90)"}}]},{G:"span",S:"ytp-countdown-timer-time",Aa:"{{duration}}"}]}]});this.api=a;this.J=this.Ha("ytp-svg-countdown-timer-ring");this.j=null;this.C=this.B=0;this.u=!1;this.D=0;this.api.xb(this.element,this,159628)},hjb=function(a){a.j||(a.B=5E3,a.C=(0,g.mC)(),a.j=new g.Iq(function(){gjb(a)},null),gjb(a))},gjb=function(a){if(!a.u){var b=Math.min((0,g.mC)()-a.C,a.B);
var c=a.B-b;b=0===a.B?0:Math.max(c/a.B,0);c=Math.round(c/1E3);a.J.setAttribute("stroke-dashoffset",""+-211*(b+1));a.updateValue("duration",c);0>=b&&a.j?j6(a):a.j&&a.j.start()}},j6=function(a){a.j&&(a.j.dispose(),a.j=null,a.u=!1)},jjb=function(a){g.WT.call(this,a);
this.I=a;this.j=new g.PK(this);this.u=null;this.K=!1;this.countdownTimer=null;this.ea=!1;ijb(this);g.H(this,this.j);this.load()},ljb=function(a){var b=g.J$a(a.I);
b!==a.ea&&(a.ea=b,a.D&&(a.D.dispose(),a.D=null),a.B&&(a.B.dispose(),a.B=null),a.C&&(a.C.dispose(),a.C=null),a.u&&(a.u.stop(),a.u.dispose(),a.u=null),b&&(b=g.GS(a.I),g.US(a.I)&&(a.C=new g.X({G:"div",S:"ytp-pause-overlay-backdrop",Y:{tabIndex:"-1"}}),g.H(a,a.C),g.XS(a.I,a.C.element,4),a.u=new g.yR(a.C,1E3,!1,100),g.H(a,a.u),a.C.hide()),a.B=new h6(a.I,b),g.H(a,a.B),a.D=new g.X({G:"div",S:"ytp-pause-overlay-container",Y:{tabIndex:"-1"},X:[a.B]}),g.H(a,a.D),g.XS(a.I,a.D.element,4),kjb(a,a.I.Nb())))},kjb=
function(a,b){a.u&&(!g.yP(b,4)&&!g.yP(b,2)||g.yP(b,1024)?a.u.hide():a.u.show())},ijb=function(a){var b=a.I;
a=!!g.US(b);g.Wq(b.getRootNode(),"ytp-shorts-mode",a);if(b=b.getVideoData())b.fT=a},k6=function(a,b){a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE",
breakType:0===a.I.getCurrentTime()?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":0===a.I.getPlayerState()?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.lfa(a.I.W().loaderUrl),eventType:b,youtubeHost:g.Sj(a.I.W().Oa)||""};g.UB("embedsAdEvent",a)};
g.x(Uib,g.X);g.k=Uib.prototype;g.k.hide=function(){this.K=!0;g.X.prototype.hide.call(this);Vib(this,!1)};
g.k.show=function(){this.K=!1;g.X.prototype.show.call(this);Vib(this,!0)};
g.k.isHidden=function(){return this.K};
g.k.z0=function(){this.scrollTo(this.B-this.containerWidth)};
g.k.A0=function(){this.scrollTo(this.B+this.containerWidth)};
g.k.resize=function(a,b){var c=this.api.W(),d=16/9,e=650<=a.width,f=480>a.width||290>a.height,h=Math.min(this.suggestionData.length,this.j.length);if(150>=Math.min(a.width,a.height)||0===h||!c.Qd)this.hide();else{var l;if(e){var m=l=28;this.u=16}else this.u=m=l=8;if(f){var n=6;e=14;var p=12;f=24;c=12}else n=8,e=18,p=16,f=36,c=16;a=a.width-(48+l+m);l=Math.ceil(a/150);l=Math.min(3,l);m=a/l-this.u;var q=Math.floor(m/d);b&&q+100>b&&50<m&&(q=Math.max(b,50/d),l=Math.ceil(a/(d*(q-100)+this.u)),m=a/l-this.u,
q=Math.floor(m/d));50>m||g.TS(this.api)?this.hide():this.show();for(b=0;b<h;b++){d=this.j[b];var t=d.Ha("ytp-suggestion-image");t.style.width=m+"px";t.style.height=q+"px";d.Ha("ytp-suggestion-title").style.width=m+"px";d.Ha("ytp-suggestion-author").style.width=m+"px";d=d.Ha("ytp-suggestion-duration");d.style.display=d&&100>m?"none":""}h=e+n+p+4;this.J=h+c+(q-f)/2;this.suggestions.element.style.height=q+h+"px";this.C=m;this.containerWidth=a;this.columns=l;this.B=0;this.suggestions.element.scrollLeft=
-0;Wib(this)}};
g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.W();this.V=a.Dd?!1:b.C;a.suggestions?this.suggestionData=g.cp(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
Xib(this);a.Dd?this.title.update({title:g.MP("Mais v\u00eddeos de $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"Mais v\u00eddeos no YouTube"})};
g.k.scrollTo=function(a){a=g.pe(a,this.containerWidth-this.suggestionData.length*(this.C+this.u),0);this.oa.start(this.B,a,1E3);this.B=a;Wib(this);Vib(this,!0)};g.x(c6,g.qU);c6.prototype.show=function(){g.qU.prototype.show.call(this);Zib(this,this.api.qb().getPlayerSize())};
c6.prototype.resize=function(a){g.qU.prototype.resize.call(this,a);this.j&&(Zib(this,a),g.Wq(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))};
c6.prototype.u=function(a){g.qU.prototype.u.call(this,a);var b=this.api.getVideoData();if(b.sB||b.playerErrorMessageRenderer)(a=b.sB)?bjb(this,a):b.playerErrorMessageRenderer&&bjb(this,b.playerErrorMessageRenderer);else{var c;a.Vm&&(b.Ox?$ib(b.Ox)?c=g.WG(b.Ox):c=g.rU(g.VG(b.Ox)):c=g.rU(a.Vm),this.qe(c,"subreason"))}};g.x(d6,g.X);d6.prototype.Yi=function(){this.api.Nb().isCued()||(this.hide(),this.api.Za(this.element,!1))};
d6.prototype.j=function(){var a=this.api.getVideoData(),b=this.api.W(),c=this.api.getVideoData().Dd,d=b.Wd,e=!b.Qd,f=this.u.kh(),h=g.FM(b);b=b.B;d||f||c||e||h||b||g.US(this.api)||!a.videoId?(this.hide(),this.api.Za(this.element,!1)):(a=cjb(this),this.updateValue("url",a),this.show())};
d6.prototype.onClick=function(a){this.api.N("web_player_log_click_before_generating_ve_conversion_params")&&this.api.ub(this.element);var b=cjb(this);g.pT(b,this.api,a);this.api.N("web_player_log_click_before_generating_ve_conversion_params")||this.api.ub(this.element)};
d6.prototype.show=function(){this.api.Nb().isCued()&&(g.X.prototype.show.call(this),this.api.rj(this.element)&&this.api.Za(this.element,!0))};g.x(e6,g.X);e6.prototype.Yi=function(){var a=this.api.Nb();!this.api.Nh()||g.yP(a,2)&&g.QS(this.api)||g.yP(a,64)?(this.api.Za(this.j,!1),this.api.Za(this.forwardButton,!1),this.hide()):(this.show(),this.api.Za(this.j,!0),this.api.Za(this.forwardButton,!0))};
e6.prototype.u=function(){this.api.seekBy(-10*this.api.getPlaybackRate());this.api.ub(this.j)};
e6.prototype.B=function(){this.api.seekBy(10*this.api.getPlaybackRate());this.api.ub(this.forwardButton)};g.x(f6,g.X);f6.prototype.B=function(){var a=this.api.Nb(),b=this.api.getVideoData();this.api.W().N("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&(g.yP(a,2)&&!this.Gb?(this.show(),this.j||(this.j=new g.oU(this.api),g.H(this,this.j),this.j.Ja(this.C,0),this.j.show()),a=this.api.getVideoData(),this.updateValue("text",a.VY),g.Wq(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.Za(this.element,this.Gb),this.api.Qa("onMutedAutoplayEnds")):this.hide())};
f6.prototype.onClick=function(){if(!this.u){this.j&&(this.j.xa(),this.j=null);g.Wq(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Sib(a);this.api.loadVideoById(a.videoId,b);this.api.Nz();this.api.ub(this.element);this.hide();this.u=!0}};
f6.prototype.onMutedAutoplayStarts=function(){this.u=!1;this.j&&(this.j.xa(),this.j=null)};g.x(g6,g.X);g.k=g6.prototype;g.k.l_=function(){var a=this.api.getVideoData(),b=this.api.getVideoData(1).Dd,c=this.api.W();b=c.Wd&&!g.yP(this.state,2)&&!(b&&c.oa);a.mutedAutoplay||g.$Q(this,b);this.api.Za(this.element,b)};
g.k.onStateChange=function(a){this.Ac(a.state)};
g.k.Ac=function(a){this.state!==a&&(this.state=a);this.l_()};
g.k.onVideoDataChange=function(){var a=this.api.W();a.B&&g.Sq(this.element,"ytp-no-hover");this.api.getVideoData().videoId&&!a.B?(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a),this.j||(this.j=this.Ta("click",this.onClick))):this.j&&(this.updateValue("url",null),this.Mc(this.j),this.j=null)};
g.k.onClick=function(a){this.api.N("web_player_log_click_before_generating_ve_conversion_params")&&this.api.ub(this.element);var b=this.api.getVideoUrl(!g.IR(a),!1,!0,!0);if(this.api.N("web_player_log_click_before_generating_ve_conversion_params")){var c={};g.ES(this.api,"addEmbedsConversionTrackingParams",[c]);b=g.Yj(b,g.xS(c,"emb_yt_watermark"))}g.pT(b,this.api,a);this.api.N("web_player_log_click_before_generating_ve_conversion_params")||this.api.ub(this.element)};
g.k.Kb=function(a){if((a=480>a.width)&&!this.u||!a&&this.u){var b=new g.X(Tib()),c=this.Ha("ytp-watermark");g.Wq(c,"ytp-watermark-small",a);g.ef(c);b.Ja(c);this.u=a}};g.x(fjb,g.X);g.k=fjb.prototype;g.k.mK=function(){var a=this.api.Nb(),b=this.api.getVideoData();this.api.W().N("embeds_enable_muted_autoplay")&&b.mutedAutoplay&&!g.yP(a,2)?this.Gb||(g.X.prototype.show.call(this),this.api.Za(this.element,this.Gb)):this.hide()};
g.k.D5=function(){this.j&&this.j.hide()};
g.k.onAutoplayBlocked=function(){this.hide();Sib(this.api.getVideoData())};
g.k.onClick=function(){if(!this.u){g.Wq(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Sib(a);this.api.loadVideoById(a.videoId,b);this.api.Nz();this.api.ub(this.element);this.api.Qa("onMutedAutoplayEnds");this.u=!0}};
g.k.onMutedAutoplayEnds=function(){this.watermark&&(this.watermark.xa(),this.watermark=null)};g.x(h6,g.X);h6.prototype.hide=function(){g.Uq(this.api.getRootNode(),"ytp-expand-pause-overlay");g.X.prototype.hide.call(this)};
h6.prototype.D=function(){this.u=!0;g.Uq(this.api.getRootNode(),"ytp-expand-pause-overlay");g.US(this.api)&&this.api.Za(this.element,!1);this.expandButton.focus()};
h6.prototype.J=function(){this.u=!1;g.Sq(this.api.getRootNode(),"ytp-expand-pause-overlay");g.US(this.api)&&this.api.Za(this.element,!0);this.focus()};
h6.prototype.Sa=function(a){a=this.api.W().N("embeds_web_enable_pause_overlay_wn_update")?this.api.Nb():a.state;g.yP(a,1)||g.yP(a,16)||g.yP(a,32)||(!g.yP(a,4)||g.yP(a,2)||g.yP(a,1024)?(this.u||this.api.Za(this.element,!1),this.C.hide()):0<this.j.suggestionData.length&&(this.u||(g.Sq(this.api.getRootNode(),"ytp-expand-pause-overlay"),g.h3(this.j),this.j.show(),this.api.Za(this.element,!0)),this.C.show()))};g.x(i6,g.X);i6.prototype.show=function(){g.X.prototype.show.call(this);this.api.Za(this.element,!0)};
i6.prototype.xa=function(){j6(this);g.X.prototype.xa.call(this)};g.x(jjb,g.WT);g.k=jjb.prototype;g.k.vl=function(){return!1};
g.k.create=function(){var a=this.I.W(),b=g.GS(this.I),c,d=null==(c=this.I.getVideoData())?void 0:c.clientPlaybackNonce;d&&g.OH({clientPlaybackNonce:d});ljb(this);a.N("embeds_enable_muted_autoplay")&&(this.V=new fjb(this.I),g.H(this,this.V),g.XS(this.I,this.V.element,4),this.qa=new f6(this.I),g.H(this,this.qa),g.XS(this.I,this.qa.element,4));a.Wd&&(this.watermark=new g6(this.I),g.H(this,this.watermark),g.XS(this.I,this.watermark.element,8));this.J=new d6(this.I,b);g.H(this,this.J);g.XS(this.I,this.J.element,
8);g.JS(this.I.app)&&(this.onMutedAutoplayStarts(),this.J.hide());a.u&&(this.oa=new e6(this.I),g.H(this,this.oa),g.XS(this.I,this.oa.element,4));this.j.T(this.I,"appresize",this.Kb);this.j.T(this.I,"presentingplayerstatechange",this.Yi);this.j.T(this.I,"videodatachange",this.onVideoDataChange);this.j.T(this.I,"videoplayerreset",this.xw);this.j.T(this.I,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.T(this.I,"onAdStart",this.onAdStart);this.j.T(this.I,"onAdComplete",this.onAdComplete);
this.j.T(this.I,"onAdSkip",this.onAdSkip);this.j.T(this.I,"onAdStateChange",this.onAdStateChange);if(this.K=g.SA(g.GM(a)))this.countdownTimer=new i6(this.I),g.H(this,this.countdownTimer),g.XS(this.I,this.countdownTimer.element,4),this.countdownTimer.hide(),this.j.T(this.I,g.PG("embeds"),this.onCueRangeEnter),this.j.T(this.I,g.QG("embeds"),this.onCueRangeExit);this.vc(this.I.Nb());this.player.Fg("embed")};
g.k.onCueRangeEnter=function(a){"countdown timer"===a.getId()&&this.countdownTimer&&(this.countdownTimer.show(),hjb(this.countdownTimer))};
g.k.onCueRangeExit=function(a){"countdown timer"===a.getId()&&this.countdownTimer&&(j6(this.countdownTimer),this.countdownTimer.hide())};
g.k.Kb=function(){var a=this.I.qb().getPlayerSize();this.Jg&&this.Jg.resize(a)};
g.k.xw=function(){ijb(this)};
g.k.Yi=function(a){this.vc(a.state)};
g.k.vc=function(a){g.yP(a,128)?(this.Jg||(this.Jg=new c6(this.I),g.H(this,this.Jg),g.XS(this.I,this.Jg.element,4)),this.Jg.u(a.gh),this.Jg.show(),g.Sq(this.I.getRootNode(),"ytp-embed-error")):this.Jg&&(this.Jg.dispose(),this.Jg=null,g.Uq(this.I.getRootNode(),"ytp-embed-error"));if(this.countdownTimer&&this.countdownTimer.j)if(g.yP(a,64))this.countdownTimer.hide(),j6(this.countdownTimer);else if(g.cQ(a)){var b=this.countdownTimer;b.u||(b.u=!0,b.D=(0,g.mC)())}else a.wd()&&this.countdownTimer.u&&(b=
this.countdownTimer,b.u&&(b.C+=(0,g.mC)()-b.D,b.u=!1,gjb(b)));kjb(this,a)};
g.k.onMutedAutoplayStarts=function(){this.I.getVideoData().mutedAutoplay&&this.V&&g.Wq(this.I.getRootNode(),"ytp-muted-autoplay",!0)};
g.k.onVideoDataChange=function(a,b){var c=this.rD!==b.videoId;a=!c&&"dataloaded"===a;var d={isShortsModeEnabled:!!g.US(this.I)};g.UB("embedsVideoDataDidChange",{clientPlaybackNonce:b.clientPlaybackNonce,isReload:a,runtimeEnabledFeatures:d});c&&(this.rD=b.videoId,this.countdownTimer&&(this.countdownTimer.show(),this.countdownTimer.hide()),this.K&&(this.I.Te("embeds"),b.isAd()||5>b.limitedPlaybackDurationInSeconds||g.TS(this.I)||(b=Math.max(1E3*(b.startSeconds+b.limitedPlaybackDurationInSeconds-5),
0),b=new g.NG(b,b+5E3,{id:"countdown timer",namespace:"embeds"}),this.I.hf([b]))),ijb(this),ljb(this));this.I.W().B&&this.B&&this.B.detach()};
g.k.onAdStart=function(){k6(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")};
g.k.onAdComplete=function(){k6(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")};
g.k.onAdSkip=function(){k6(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")};
g.k.onAdStateChange=function(a){2===a&&k6(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.VT("embed",jjb);})(_yt_player);
