(function(g){var window=this;var Zsa=function(a,b){var c=(b-a.o)/(a.u-a.o);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,k=0;8>k;k++){f=g.Sn(a,c);var l=(g.Sn(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(k=0;1E-6<Math.abs(f-b)&&8>k;k++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=g.Sn(a,c);return c},$sa=function(){return g.Y?{D:"div",
X:["ytp-icon","ytp-icon-watermark"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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"}}]}},
ata=function(){return g.Y?{D:"div",
X:["ytp-icon","ytp-icon-youtube-logo-redirect"]}:{D:"svg",M:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{d:"M0 0h24v24H0V0z",fill:"none"}},{D:"path",M:{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"}}]}},M4=function(a){g.B.call(this);
this.B=a;this.A=new g.Rn(0,0,.4,0,.2,1,1,1);this.u=new g.vn(this.w,window,this);g.H(this,this.u)},N4=function(a){g.V.call(this,{D:"div",
I:"ytp-related-on-error-overlay"});this.S=this.A=0;this.u=a;this.V=new g.P(this);g.H(this,this.V);a=a.N();this.C=[];this.w=[];this.F=0;this.ca=a.u;this.O=new g.V({D:"h2",I:"ytp-related-title",W:"{{title}}"});g.H(this,this.O);this.O.ba(this.element);this.G=new g.V({D:"div",I:"ytp-suggestions"});g.H(this,this.G);this.G.ba(this.element);this.J=new g.V({D:"button",X:["ytp-button","ytp-previous"],M:{"aria-label":"\u00d6nceki \u00f6nerilen videolar\u0131 g\u00f6ster"},K:[g.hM()]});g.H(this,this.J);this.J.ba(this.element);
this.J.ia("click",this.PH,this);this.da=new M4((0,g.x)(this.mz,this));g.H(this,this.da);this.Z=this.B=0;this.U=!0;for(var b=0;16>b;b++){var c=new g.V({D:"a",I:"ytp-suggestion-link",M:{href:"{{link}}",target:a.A,"aria-label":"{{aria_label}}"},K:[{D:"div",I:"ytp-suggestion-image",K:[{D:"div",M:{"data-is-live":"{{is_live}}"},I:"ytp-suggestion-duration",W:"{{duration}}"}]},{D:"div",I:"ytp-suggestion-title",M:{title:"{{hover_title}}"},W:"{{title}}"},{D:"div",I:"ytp-suggestion-author",W:"{{views_or_author}}"}]});
g.H(this,c);c.ba(this.G.element);var d=c.o["ytp-suggestion-link"];g.th(d,"transitionDelay",b/20+"s");this.V.L(d,"click",g.Ra(this.QH,b));this.C.push(c)}this.H=new g.V({D:"button",X:["ytp-button","ytp-next"],M:{"aria-label":"Daha fazla \u00f6nerilen video g\u00f6ster"},K:[g.iM()]});g.H(this,this.H);this.H.ba(this.element);this.H.ia("click",this.OH,this);this.V.L(this.u,"videodatachange",this.lz);bta(this,g.pL(this.u).getPlayerSize());this.lz();this.show()},bta=function(a,b,c){var d=a.u.N(),e=16/9,
f=650<=b.width,k=480>b.width||290>b.height,l=Math.min(a.w.length,a.C.length);
if(150>=Math.min(b.width,b.height)||0==l||!d.Ha)a.hide();else{var m;if(f){var n=m=28;a.A=16}else n=m=8,a.A=8;if(k){var p=6;f=14;var t=12;k=24;d=12}else p=8,f=18,t=16,k=36,d=16;b=b.width-(48+m+n);m=Math.ceil(b/150);m=Math.min(3,m);m=b/m-a.A;n=Math.floor(m/e);c&&n+100>c&&50<m&&(n=Math.max(c,50/e),m=Math.ceil(b/(e*(n-100)+a.A)),m=b/m-a.A,n=Math.floor(m/e));50>m||g.uL(a.u)?a.hide():a.show();for(c=0;c<l;c++){e=a.C[c];var u=e.o["ytp-suggestion-image"];u.style.width=m+"px";u.style.height=n+"px";e.o["ytp-suggestion-title"].style.width=
m+"px";e.o["ytp-suggestion-author"].style.width=m+"px";e=e.o["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+p+t+4;a.S=l+d+(n-k)/2;a.G.element.style.height=n+l+"px";a.Z=m;a.F=b;a.B=0;a.mz(0);O4(a)}},cta=function(a,b){var c=g.sd(b,a.F-a.w.length*(a.Z+a.A),0);
a.da.start(a.B,c,1E3);a.B=c;O4(a)},O4=function(a){a.H.element.style.bottom=a.S+"px";
a.J.element.style.bottom=a.S+"px";var b=a.B,c=a.F-a.w.length*(a.Z+a.A);g.L(a.element,"ytp-scroll-min",0<=b);g.L(a.element,"ytp-scroll-max",b<=c)},dta=function(a){for(var b=0;b<a.w.length;b++){var c=b,d=a.w[b].wa();
c=a.C[c];var e=d.shortViewCount?d.shortViewCount:d.author,f=d.Rh();g.ux(a.u.N())&&(f=g.eh(f,g.FD({},"emb_rel_err")));c.element.style.display="";var k=c.o["ytp-suggestion-title"];g.fn.test(d.title)?k.dir="rtl":g.kpa.test(d.title)&&(k.dir="ltr");k=c.o["ytp-suggestion-author"];g.fn.test(e)?k.dir="rtl":g.kpa.test(e)&&(k.dir="ltr");k=void 0;d.ua?k="Canl\u0131":k=d.lengthSeconds?g.$L(d.lengthSeconds):"";c.update({views_or_author:e,duration:k,link:f,hover_title:d.title,title:d.title,aria_label:d.fk||null,
is_live:d.ua});c=c.o["ytp-suggestion-image"];d=d.Bc();c.style.backgroundImage=d?"url("+d+")":""}for(;b<a.C.length;b++)a.C[b].element.style.display="none";O4(a)},P4=function(a){g.UM.call(this,a);
a=a.N();a=new g.V({D:"a",I:"ytp-small-redirect",M:{href:g.by(a),target:a.A,"aria-label":"Daha fazla videoya ula\u015fmak i\u00e7in YouTube'u ziyaret edin"},K:[ata()]});a.ba(this.element);g.H(this,a);this.w=new N4(this.api);this.w.ba(this.element);g.H(this,this.w);this.C=1;this.u(g.pL(this.api).getPlayerSize())},eta=function(a,b){a.o["ytp-error-content"].style.paddingTop="0px";
var c=a.o["ytp-error-content"],d=c.clientHeight;bta(a.w,b,b.height-d);if(a.api.N().B){var e=g.pM(),f=g.Y?{D:"div",X:["ytp-icon","ytp-icon-youtube-logo-redirect-large"]}:{D:"svg",M:{fill:"#fff",viewBox:"0 0 24 24"},K:[{D:"path",M:{d:"M0 0h24v24H0V0z",fill:"none"}},{D:"path",M:{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"}}]},
k=1;480>b.width||290>b.height?(e={D:"div",X:["ytp-icon","ytp-icon-error-exclamation-small"]},f=ata(),k=0):650<=b.width&&(e={D:"div",X:["ytp-icon","ytp-icon-error-exclamation-large"]},f=g.Y?{D:"div",X:["ytp-icon","ytp-icon-youtube-logo-redirect-extra-large"]}:{D:"svg",M:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{d:"M0 0h24v24H0V0z",fill:"none"}},{D:"path",M:{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"}}]},
k=2);if(k!==a.C){e={"ytp-error-icon-container":e,"ytp-small-redirect":f};f=g.q(Object.keys(e));for(var l=f.next();!l.done;l=f.next()){l=l.value;var m=g.Jd(l,a.element);g.Yd(m);(new g.V(e[l])).ba(m)}a.C=k}}c.style.paddingTop=(b.height-a.w.element.clientHeight)/2-d/2+"px"},Q4=function(a){g.V.call(this,{D:"div",
I:"ytp-muted-autoplay-endscreen-overlay",K:[{D:"div",I:"ytp-muted-autoplay-end-panel",K:[{D:"div",I:"ytp-muted-autoplay-end-text",W:"{{text}}"}]}]});this.u=a;this.A=this.o["ytp-muted-autoplay-end-panel"];this.w=new g.HM(a);g.H(this,this.w);this.w.ba(this.A,0);g.ML(a,this.element,this,52428);this.L(a,"presentingplayerstatechange",this.C);this.ia("click",this.B);this.hide()},R4=function(a){g.V.call(this,{D:"div",
I:"ytp-muted-autoplay-overlay",K:[{D:"div",I:"ytp-muted-autoplay-bottom-buttons",K:[{D:"button",X:["ytp-muted-autoplay-equalizer","ytp-button"],K:[{D:"div",X:["ytp-muted-autoplay-equalizer-icon"],K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-equalizer-animation"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},K:[{D:"g",M:{fill:"#fff"},K:[{D:"rect",I:"ytp-equalizer-bar-left",M:{height:"9",width:"4",x:"1",y:"7"}},{D:"rect",I:"ytp-equalizer-bar-middle",M:{height:"14",width:"4",
x:"6",y:"2"}},{D:"rect",I:"ytp-equalizer-bar-right",M:{height:"12",width:"4",x:"11",y:"4"}}]}]}]}]}]}]});this.u=a;this.bottomButtons=this.o["ytp-muted-autoplay-bottom-buttons"];this.A=this.o["ytp-muted-autoplay-equalizer"];this.B=new g.J(this.C,4E3,this);g.ML(a,this.element,this,39306);this.L(a,"presentingplayerstatechange",this.w);this.L(a,"onMutedAutoplayStarts",this.w);this.ia("click",this.F);this.hide()},S4=function(a,b){g.V.call(this,{D:"div",
I:"ytp-pause-overlay"});this.u=a;this.ca=b;this.A=new g.P(this);g.H(this,this.A);this.U=new g.dM(this,1E3,!1,100);g.H(this,this.U);var c=a.N();"0"==c.controlsType&&g.K(g.qL(a),"ytp-pause-overlay-controls-hidden");this.C=[];this.w=[];this.F=0;this.da=c.u;this.Z=!1;this.na=0;this.S=new g.V({D:"h2",I:"ytp-related-title",W:"{{title}}"});g.H(this,this.S);this.S.ba(this.element);this.G=new g.V({D:"div",I:"ytp-suggestions"});g.H(this,this.G);this.G.ba(this.element);this.O=new g.V({D:"button",X:["ytp-button",
"ytp-previous"],M:{"aria-label":"\u00d6nceki \u00f6nerilen videolar\u0131 g\u00f6ster"},K:[g.hM()]});g.H(this,this.O);this.O.ba(this.element);this.O.ia("click",this.JH,this);var d=g.Gv||g.wh?{style:"will-change: opacity"}:null;this.ea=new M4((0,g.x)(this.kz,this));g.H(this,this.ea);for(var e=this.ga=this.V=this.B=0;16>e;e++){var f=new g.V({D:"a",I:"ytp-suggestion-link",M:{href:"{{link}}",target:c.A,"aria-label":"{{aria_label}}"},K:[{D:"div",I:"ytp-suggestion-image"},{D:"div",I:"ytp-suggestion-overlay",
M:d,K:[{D:"div",I:"ytp-suggestion-title",W:"{{title}}"},{D:"div",I:"ytp-suggestion-author",W:"{{author_and_views}}"},{D:"div",M:{"data-is-live":"{{is_live}}"},I:"ytp-suggestion-duration",W:"{{duration}}"}]}]});g.H(this,f);f.ba(this.G.element);var k=f.o["ytp-suggestion-link"];g.th(k,"transitionDelay",e/20+"s");this.A.L(k,"click",g.Ra(this.KH,e));this.C.push(f)}this.J=new g.V({D:"button",X:["ytp-button","ytp-next"],M:{"aria-label":"Daha fazla \u00f6nerilen video g\u00f6ster"},K:[g.iM()]});g.H(this,
this.J);this.J.ba(this.element);this.J.ia("click",this.IH,this);c=new g.V({D:"button",X:["ytp-button","ytp-collapse"],M:{"aria-label":"Kapat"},K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-small-close"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 16 16",width:"100%"},K:[{D:"path",M:{d:"M13 4L12 3 8 7 4 3 3 4 7 8 3 12 4 13 8 9 12 13 13 12 9 8z",fill:"#fff"}}]}]});g.H(this,c);c.ba(this.element);c.ia("click",this.EK,this);this.H=new g.V({D:"button",X:["ytp-button","ytp-expand"],W:"Daha fazla video"});g.H(this,
this.H);this.H.ba(this.element);this.H.ia("click",this.FK,this);this.A.L(this.u,"appresize",this.Ms);this.A.L(this.u,"fullscreentoggled",this.LH);this.A.L(this.u,"presentingplayerstatechange",this.MH);this.A.L(this.u,"videodatachange",this.NH);this.Ms(g.pL(this.u).getPlayerSize())},fta=function(a,b){var c=g.sd(b,a.F-a.w.length*(a.V+8),0);
a.ea.start(a.B,c,1E3);a.B=c;T4(a)},T4=function(a){var b=a.ca.hc();
b=a.ga/2+(b?32:16);a.J.element.style.bottom=b+"px";a.O.element.style.bottom=b+"px";b=a.B;var c=a.F-a.w.length*(a.V+8);g.L(a.element,"ytp-scroll-min",0<=b);g.L(a.element,"ytp-scroll-max",b<=c)},gta=function(a){for(var b=0;b<a.w.length;b++){var c=a.w[b].wa(),d=a.C[b],e=c.shortViewCount?c.author+" \u2022 "+c.shortViewCount:c.author;
d.element.style.display="";g.jpa.test(c.title)&&(d.o["ytp-suggestion-title"].dir="rtl");g.jpa.test(e)&&(d.o["ytp-suggestion-author"].dir="rtl");var f=void 0;c.ua?f="Canl\u0131":f=c.lengthSeconds?g.$L(c.lengthSeconds):"";var k=c.Rh();g.ux(a.u.N())&&(k=g.eh(k,g.FD({},"emb_rel_pause")));d.update({author_and_views:e,duration:f,link:k,title:c.title,aria_label:c.fk||null,is_live:c.ua});d=d.o["ytp-suggestion-image"];c=c.Bc();d.style.backgroundImage=c?"url("+c+")":""}for(;b<a.C.length;b++)a.C[b].element.style.display=
"none";T4(a)},U4=function(a){var b=a.N();
g.V.call(this,{D:"a",X:["ytp-watermark","yt-uix-sessionlink"],M:{target:b.A,href:"{{url}}","aria-label":g.JM("$WEBSITE sitesinde izle",{WEBSITE:g.Ox(b)}),"data-sessionlink":"feature=player-watermark"},K:[$sa()]});this.u=a;this.A=null;this.B=!1;this.w=g.sL(a);g.ML(a,this.element,this,76758);this.L(a,"videodatachange",this.Ns);this.L(a,"videodatachange",this.oz);this.L(a,"presentingplayerstatechange",this.SH);this.L(a,"appresize",this.nz);b=this.w;this.w!=b&&(this.w=b);this.Ns();this.oz();this.nz(g.pL(a).getPlayerSize())},
V4=function(a){g.LP.call(this,a);
this.o=a;this.B=new g.P(this);g.H(this,this.B);this.load()},hta=function(a,b){g.W(b,128)?(a.u||(a.u=new P4(a.o),g.H(a,a.u),g.KL(a.o,a.u.element,4)),a.u.B(b.u),a.u.show(),g.K(g.qL(a.o),"ytp-embed-error")):a.u&&(a.u.dispose(),a.u=null,g.Kn(g.qL(a.o),"ytp-embed-error"))};
g.r(M4,g.B);M4.prototype.start=function(a,b,c){this.o=a;this.G=b;this.C=c;this.F=(0,g.O)();this.w()};
M4.prototype.w=function(){var a=(0,g.O)()-this.F;var b=this.A;a=Zsa(b,a/this.C);if(0==a)b=b.B;else if(1==a)b=b.G;else{var c=g.ud(b.B,b.C,a),d=g.ud(b.C,b.F,a);b=g.ud(b.F,b.G,a);c=g.ud(c,d,a);d=g.ud(d,b,a);b=g.ud(c,d,a)}b=g.sd(b,0,1);this.B((this.G-this.o)*b+this.o);1>b&&this.u.start()};g.r(N4,g.V);g.h=N4.prototype;g.h.hide=function(){this.U=!0;g.V.prototype.hide.call(this)};
g.h.show=function(){this.U=!1;g.V.prototype.show.call(this)};
g.h.isHidden=function(){return this.U};
g.h.OH=function(){cta(this,this.B-this.F)};
g.h.PH=function(){cta(this,this.B+this.F)};
g.h.QH=function(a,b){var c=this.w[a],d=c.Nb;if(g.PM(b,this.u,this.ca,d||void 0)){var e=c.wa().videoId;c=c.getPlaylistId();g.LT(this.u.app,e,d,c,void 0,void 0)}};
g.h.lz=function(){var a=this,b=this.u.getVideoData(),c=this.u.N();this.ca=b.uc?!1:c.u;if(b.suggestions){var d=(0,g.ae)(b.suggestions,function(e){return e&&!e.list});
this.w=(0,g.A)(d,function(e){e=g.nO(c,e);g.H(a,e);return e})}else this.w.length=0;
dta(this);b.uc?this.O.update({title:g.JM("$DNI_RELATED_CHANNEL adl\u0131 kanal\u0131n di\u011fer videolar\u0131",{DNI_RELATED_CHANNEL:b.author})}):this.O.update({title:"YouTube'daki di\u011fer videolar"})};
g.h.mz=function(a){this.G.element.scrollLeft=-a};g.r(P4,g.UM);P4.prototype.show=function(){g.UM.prototype.show.call(this);eta(this,g.pL(this.api).getPlayerSize())};
P4.prototype.u=function(a){g.UM.prototype.u.call(this,a);eta(this,a);g.L(this.element,"related-on-error-overlay-visible",!this.w.isHidden())};
P4.prototype.B=function(a){g.UM.prototype.B.call(this,a);var b=this.api.getVideoData(),c;if(a.Kh){if(b.mn){a:{a=b.mn;if(a.runs)for(var d=0;d<a.runs.length;d++)if(a.runs[d].navigationEndpoint){a=!0;break a}a=!1}a?c=g.hA(b.mn):c=g.VM(g.gA(b.mn))}else c=g.VM(a.Kh);this.ub(c,"subreason")}};g.r(Q4,g.V);Q4.prototype.C=function(){var a=g.sL(this.u),b=this.u.getVideoData();g.R(this.u.N().experiments,"embeds_enable_muted_autoplay")&&b.mutedAutoplay&&(g.W(a,2)&&!this.Fa()?(this.show(),this.w.show(),a=this.u.getVideoData(),this.ha("text",a.fA),g.L(this.element,"ytp-muted-autoplay-show-end-panel",!0),g.QL(this.u,this.element,this.Fa()),this.u.ka("onMutedAutoplayEnds")):this.hide())};
Q4.prototype.B=function(){var a=this.u.getVideoData(),b=this.u.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;a.me();this.u.loadVideoById(a.videoId,b);g.PL(this.u,this.element);this.hide()};g.r(R4,g.V);R4.prototype.w=function(){var a=g.sL(this.u),b=this.u.getVideoData(),c=this.u.N();b=g.R(c.experiments,"embeds_enable_muted_autoplay")&&b.mutedAutoplay;c=!c.B;!b||g.W(a,2)?this.hide():this.Fa()||(g.V.prototype.show.call(this),c||(this.A.style.display="none"),this.B.start(),g.QL(this.u,this.element,this.Fa()))};
R4.prototype.C=function(){g.L(this.element,"ytp-muted-autoplay-hide-watermark",!0)};
R4.prototype.F=function(){var a=this.u.getVideoData(),b=this.u.getCurrentTime();a.mutedAutoplay=!1;a.endSeconds=NaN;a.me();this.u.loadVideoById(a.videoId,b);g.PL(this.u,this.element)};g.r(S4,g.V);g.h=S4.prototype;g.h.hide=function(){g.Kn(g.qL(this.u),"ytp-expand-pause-overlay");g.V.prototype.hide.call(this)};
g.h.EK=function(){this.Z=!0;g.Kn(g.qL(this.u),"ytp-expand-pause-overlay");this.H.focus()};
g.h.FK=function(){this.Z=!1;g.K(g.qL(this.u),"ytp-expand-pause-overlay")};
g.h.IH=function(){fta(this,this.B-this.F)};
g.h.JH=function(){fta(this,this.B+this.F)};
g.h.KH=function(a,b){if(1E3>(0,g.O)()-this.na)g.Lq(b),document.activeElement.blur();else{var c=this.w[a],d=c.Nb;if(g.PM(b,this.u,this.da,d||void 0)){var e=c.wa().videoId;c=c.getPlaylistId();g.LT(this.u.app,e,d,c,void 0,void 0)}}};
g.h.LH=function(){this.Ms(g.pL(this.u).getPlayerSize())};
g.h.MH=function(a){if(!(g.W(a.state,1)||g.W(a.state,16)||g.W(a.state,32))){var b=!g.R(this.u.N().experiments,"embeds_disable_pauseoverlay_on_autoplay_blocked_killswitch")&&g.W(a.state,2048);!g.W(a.state,4)||g.W(a.state,2)||b?this.U.hide():this.w.length&&(this.Z||(g.K(g.qL(this.u),"ytp-expand-pause-overlay"),T4(this)),this.U.show(),this.na=(0,g.O)())}};
g.h.Ms=function(a){var b=16/9,c=this.ca.hc();a=a.width-(c?112:58);c=Math.ceil(a/(c?320:192));c=(a-8*c)/c;b=Math.floor(c/b);for(var d=0;d<this.C.length;d++){var e=this.C[d].o["ytp-suggestion-image"];e.style.width=c+"px";e.style.height=b+"px"}this.G.element.style.height=b+"px";this.V=c;this.ga=b;this.F=a;this.B=0;this.kz(0);T4(this)};
g.h.NH=function(){var a=this,b=this.u.N(),c=this.u.getVideoData();this.da=c.uc?!1:b.u;if(c.suggestions){var d=(0,g.ae)(c.suggestions,function(e){return e&&!e.list});
this.w=(0,g.A)(d,function(e){e=g.nO(b,e);g.H(a,e);return e})}else this.w.length=0;
gta(this);c.uc?this.S.update({title:g.JM("$DNI_RELATED_CHANNEL adl\u0131 kanal\u0131n di\u011fer videolar\u0131",{DNI_RELATED_CHANNEL:c.author})}):this.S.update({title:"Daha fazla video"})};
g.h.kz=function(a){this.G.element.scrollLeft=-a};g.r(U4,g.V);g.h=U4.prototype;g.h.Ns=function(){var a=this.u.getVideoData(),b=this.u.N();a=a.mutedAutoplay||b.Oa&&!g.W(this.w,2);g.FC(this,a);g.QL(this.u,this.element,a)};
g.h.SH=function(a){a=a.state;this.w!=a&&(this.w=a);this.Ns()};
g.h.oz=function(){if(this.u.getVideoData().videoId){var a=this.u.getVideoUrl(!0,!1,!1,!0);this.ha("url",a);this.A||(this.A=this.ia("click",this.RH))}else this.A&&(this.ha("url",null),this.Wa(this.A),this.A=null)};
g.h.RH=function(a){var b=this.u.getVideoUrl(!g.aM(a),!1,!0,!0);g.QM(b,this.u,a);g.PL(this.u,this.element)};
g.h.nz=function(a){var b=this.u.N(),c=480>a.width;if(c&&!this.B||!c&&this.B)a=480>a.width&&b.B?{D:"div",X:["ytp-icon","ytp-icon-watermark-small"]}:$sa(),a=new g.V(a),b=this.o["ytp-watermark"],g.L(b,"ytp-watermark-small",c),g.Yd(b),a.ba(b),this.B=c};g.r(V4,g.LP);g.h=V4.prototype;g.h.Bf=function(){return!1};
g.h.create=function(){var a=this.o.N(),b=g.WC(this.o);a.Ha&&(this.F=new S4(this.o,b),g.H(this,this.F),g.KL(this.o,this.F.element,4));g.R(a.experiments,"embeds_enable_muted_autoplay")&&(this.w=new R4(this.o),g.H(this,this.w),g.KL(this.o,this.w.element,4),this.C=new Q4(this.o),g.H(this,this.C),g.KL(this.o,this.C.element,4));if(a.Oa||this.w)this.A=new U4(this.o),g.H(this,this.A),g.KL(this.o,this.A.element,7);this.B.L(this.o,"appresize",this.DH);this.B.L(this.o,"presentingplayerstatechange",this.CH);
this.B.L(this.o,"videodatachange",this.iP);this.B.L(this.o,"onMutedAutoplayStarts",this.OL);hta(this,g.sL(this.o));g.HL(this.player,"embed")};
g.h.DH=function(){var a=g.pL(this.o).getPlayerSize();this.u&&this.u.u(a)};
g.h.CH=function(a){hta(this,a.state)};
g.h.OL=function(){this.o.getVideoData().mutedAutoplay&&this.w&&this.A&&this.A.ba(this.w.bottomButtons,0)};
g.h.iP=function(){var a=this.o.getVideoData();this.A&&this.w&&!a.mutedAutoplay&&g.ce(this.w.element,this.A.element)&&g.KL(this.o,this.A.element,7)};g.$P.embed=V4;})(_yt_player);
