(function(g){var window=this;/*
 SPDX-License-Identifier: Apache-2.0
*/
/*

 Copyright 2017 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
'use strict';var Vtb=function(a){a.mutedAutoplay=!1;a.endSeconds=NaN;a.limitedPlaybackDurationInSeconds=NaN;g.vS(a)},Wtb=function(a){g.iv(a);
for(var b=0;b<a.xg.length;b++){var c=a.xg[b],d=a.vy[b];if(d!==c.version)return!0;if(!g.fv(c)||c.ql)if(c.ql||c.JZ!==g.vv)(c.b1(c)||Wtb(c))&&c.d1(c),c.ql=!1,c.JZ=g.vv;if(d!==c.version)return!0}return!1},Xtb=function(a){g.iv(a);
if(g.fv(a))for(var b=0;b<a.xg.length;b++)g.gv(a.xg[b],a.cn[b]);a.xg.length=a.vy.length=a.cn.length=0;a.cj&&(a.cj.length=a.Ju.length=0)},Ytb=function(a,b,c){function d(f){e.Jz=f}
var e=Object.create(g.mmb);c&&(e.Lt=!0);e.Fm=a;e.schedule=b;a={};e.dC=(a.notify=function(){return g.Tka(e)},a.Ks=function(){if(e.Fm!==null){if(g.dv)throw Error("Schedulers cannot synchronously execute watches while scheduling.");
e.ql=!1;if(!e.sF||Wtb(e)){e.sF=!0;var f=g.ev(e);try{e.Jz(),e.Jz=g.bla,e.Fm(d)}finally{g.hv(e,f)}}}},a.Hpb=function(){return e.Jz()},a.destroy=function(){if(e.Fm!==null||e.schedule!==null)Xtb(e),e.Jz(),e.Fm=null,e.schedule=null,e.Jz=g.bla},a[g.uv]=e,a);
return e.dC},Z4=function(a,b){a=g.cv(a);
try{return b()}finally{g.cv(a)}},Ztb=function(){return{I:"svg",
W:{height:"100%",version:"1.1",viewBox:"0 0 110 26",width:"100%"},V:[{I:"path",Jc:!0,S:"ytp-svg-fill",W:{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"}}]}},
$tb=function(){return{I:"svg",
W:{fill:"none",height:"100%",viewBox:"0 0 143 51",width:"100%"},V:[{I:"path",W:{d:"M58.37 41.39H62.79V27.23C62.79 23.03 62.69 18.69 62.43 13.59H62.93L63.69 16.89L68.67 41.39H73.17L78.07 16.89L78.89 13.59H79.37C79.15 18.45 79.03 22.89 79.03 27.23V41.39H83.45V8.79H75.95L73.41 20.81C72.35 25.85 71.51 32.01 71.01 35.19H70.73C70.33 31.95 69.49 25.81 68.41 20.85L65.81 8.79H58.37V41.39Z",fill:"white"}},{I:"path",W:{d:"M91.45 41.73C93.91 41.73 95.83 40.59 97.17 38.13H97.35L97.69 41.39H101.43V17.73H96.47V36.61C95.91 37.67 94.81 38.29 93.73 38.29C92.33 38.29 91.89 37.17 91.89 35.13V17.73H86.93V35.43C86.93 39.49 88.19 41.73 91.45 41.73Z",
fill:"white"}},{I:"path",W:{d:"M110.79 41.89C115.15 41.89 117.75 39.83 117.75 35.65C117.75 31.79 115.93 30.39 111.85 27.47C109.67 25.91 108.39 25.09 108.39 22.95C108.39 21.47 109.27 20.61 110.89 20.61C112.69 20.61 113.33 21.81 113.33 25.29L117.45 25.07C117.77 19.57 115.71 17.23 110.97 17.23C106.57 17.23 104.17 19.27 104.17 23.45C104.17 27.25 105.97 28.83 108.93 31.03C111.89 33.23 113.55 34.53 113.55 36.23C113.55 37.75 112.51 38.61 111.01 38.61C109.13 38.61 108.11 36.97 108.29 34.41L104.21 34.49C103.51 39.25 105.89 41.89 110.79 41.89Z",
fill:"white"}},{I:"path",W:{d:"M122.5 14.59C124.22 14.59 125.04 13.99 125.04 11.59C125.04 9.33 124.16 8.65 122.5 8.65C120.84 8.65 119.94 9.27 119.94 11.59C119.94 13.99 120.82 14.59 122.5 14.59ZM120.2 41.39H125V17.73H120.2V41.39Z",fill:"white"}},{I:"path",W:{d:"M134.95 41.79C137.31 41.79 138.63 41.49 139.71 40.47C141.31 39.01 141.97 36.63 141.85 33.11L137.41 32.87C137.41 36.87 136.81 38.45 135.03 38.45C133.13 38.45 132.77 36.45 132.77 31.97V27.21C132.77 22.41 133.23 20.51 135.07 20.51C136.67 20.51 137.29 22.01 137.29 26.47L141.65 26.15C141.97 22.93 141.59 20.29 140.09 18.83C139.01 17.77 137.37 17.29 135.15 17.29C129.65 17.29 127.75 20.73 127.75 28.03V31.17C127.75 38.47 129.23 41.79 134.95 41.79Z",
fill:"white"}},{I:"path",W:{"clip-rule":"evenodd",d:"M24.99 49C29.74 49.00 34.38 47.59 38.32 44.95C42.27 42.32 45.35 38.57 47.17 34.18C48.98 29.80 49.46 24.97 48.53 20.32C47.61 15.66 45.32 11.38 41.97 8.03C38.61 4.67 34.33 2.38 29.68 1.46C25.02 .53 20.20 1.01 15.81 2.82C11.43 4.64 7.68 7.71 5.04 11.66C2.40 15.61 1 20.25 1 25C0.99 28.15 1.61 31.27 2.82 34.18C4.03 37.09 5.79 39.74 8.02 41.97C10.25 44.19 12.89 45.96 15.81 47.17C18.72 48.37 21.84 49 24.99 49ZM24.99 12.36C27.49 12.36 29.94 13.10 32.02 14.48C34.10 15.87 35.72 17.84 36.68 20.15C37.64 22.46 37.89 25.01 37.41 27.46C36.92 29.91 35.72 32.17 33.95 33.94C32.18 35.70 29.93 36.91 27.48 37.40C25.02 37.89 22.48 37.64 20.17 36.68C17.86 35.72 15.88 34.10 14.50 32.02C13.11 29.94 12.37 27.50 12.37 25C12.37 21.65 13.70 18.44 16.07 16.07C18.43 13.70 21.64 12.37 24.99 12.36ZM24.99 10.43C22.11 10.43 19.29 11.28 16.89 12.88C14.50 14.48 12.63 16.76 11.53 19.42C10.42 22.09 10.13 25.02 10.70 27.85C11.26 30.67 12.65 33.27 14.69 35.31C16.73 37.35 19.32 38.73 22.15 39.30C24.98 39.86 27.91 39.57 30.57 38.46C33.23 37.36 35.51 35.49 37.11 33.09C38.71 30.70 39.57 27.88 39.56 25C39.56 23.08 39.19 21.19 38.46 19.42C37.72 17.65 36.65 16.04 35.30 14.69C33.94 13.34 32.34 12.27 30.57 11.53C28.80 10.80 26.90 10.43 24.99 10.43ZM32.63 24.99L20.36 32.09V17.91L32.63 24.99Z",
fill:"white","fill-rule":"evenodd"}}]}},aub=function(){},$4=function(a,b){for(;a.length>b;)a.pop()},bub=function(a){a=Array(a);
$4(a,0);return a},cub=function(a,b,c){if(c==null)a.removeAttribute(b);
else{var d=b.lastIndexOf("xml:",0)===0?"http://www.w3.org/XML/1998/namespace":b.lastIndexOf("xlink:",0)===0?"http://www.w3.org/1999/xlink":null;d?a.setAttributeNS(d,b,c):a.setAttribute(b,c)}},eub=function(a,b,c){a=a.style;
if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(dub.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}},fub=function(a,b,c){var d=typeof c;
d==="object"||d==="function"?a[b]=c:cub(a,b,c)},gub=function(){var a=new aub;
a.__default=fub;a.style=eub;return a},hub=function(a,b,c,d){(d[b]||d.__default)(a,b,c)},iub=function(a){this.created=[];
this.j=[];this.node=a},jub=function(a,b){this.j=null;
this.B=a;this.key=b;this.text=void 0},kub=function(a,b,c){b=new jub(b,c);
return a.__incrementalDOMData=b},a5=function(a,b){if(a.__incrementalDOMData)return a.__incrementalDOMData;
var c=a.nodeType===1?a.localName:a.nodeName,d=a.nodeType===1?a.getAttribute("key"):null;b=kub(a,c,a.nodeType===1?d||b:null);if(a.nodeType===1&&(a=a.attributes,c=a.length)){d=b.j||(b.j=bub(c*2));for(var e=0,f=0;e<c;e+=1,f+=2){var h=a[e],l=h.value;d[f]=h.name;d[f+1]=l}}return b},lub=function(a,b,c,d,e){return b==c&&d==e},e5=function(a){for(var b=b5,c=c5();c!==a;){var d=c.nextSibling;
b.removeChild(c);d5.j.push(c);c=d}},c5=function(){return f5?f5.nextSibling:b5.firstChild},mub=function(a,b){f5=c5();
var c;a:{if(c=f5){do{var d=c,e=a,f=b,h=a5(d,f);if(g5(d,e,h.B,f,h.key))break a}while(b&&(c=c.nextSibling))}c=null}c||(a==="#text"?(a=h5.createTextNode(""),kub(a,"#text",null)):(c=h5,d=b5,typeof a==="function"?c=new a:c=(d=a==="svg"?"http://www.w3.org/2000/svg":a==="math"?"http://www.w3.org/1998/Math/MathML":d==null||a5(d).B==="foreignObject"?null:d.namespaceURI)?c.createElementNS(d,a):c.createElement(a),kub(c,a,b),a=c),d5.created.push(a),c=a);a=c;if(a!==f5){if(i5.indexOf(a)>=0)for(b=b5,c=a.nextSibling,
d=f5;d!==null&&d!==a;)e=d.nextSibling,b.insertBefore(d,c),d=e;else b5.insertBefore(a,f5);f5=a}},nub=function(a,b){mub(a,b);
b5=f5;f5=null;return b5},pub=function(a,b){b=b===void 0?{}:b;
var c=b.matches===void 0?lub:b.matches;return function(d,e,f){var h=d5,l=h5,m=i5,n=j5,p=f5,q=b5,r=g5;h5=d.ownerDocument;d5=new iub(d);g5=c;j5=[];f5=null;var t=b5=d.parentNode,u,w=oub.call(d);if((u=w.nodeType===11||w.nodeType===9?w.activeElement:null)&&d.contains(u)){for(w=[];u!==t;)w.push(u),u=u.parentNode||(t?u.host:null);t=w}else t=[];i5=t;try{return a(d,e,f)}finally{d=d5,k5&&d.j.length>0&&k5(d.j),h5=l,d5=h,g5=r,j5=n,f5=p,b5=q,i5=m}}},qub=function(a,b,c,d){l5.push(hub);
l5.push(a);l5.push(b);l5.push(c);l5.push(d)},rub=function(a){mub("#text",null);
var b=f5;var c=a5(b);if(c.text!==a){c=c.text=a;for(var d=1;d<arguments.length;d+=1)c=(0,arguments[d])(c);b.data!==c&&(b.data=c)}},sub=function(a){var b=a.component;
var c=a.debugInstance;a=a.Fm;var d,e=(d=b.Qpb)!=null?d:b.name;m5.push({name:c?e+" ("+c+")":e,UA:!!b.UA});b=a();m5.pop();return b},n5=function(){var a=m5[m5.length-1];
return a?a.UA||!1:!1},o5=function(a,b){b=b===void 0?{}:b;
var c=m5.length;b.stack&&(m5=[].concat(g.ra(b.stack)));try{return a()}catch(d){throw tub(d),d;}finally{a=m5.length-c,a>0&&m5.splice(-a)}},tub=function(a){var b=m5;
if(b.length!==0&&!a.dJ){var c=b.slice(-20).reverse().map(function(d){return d.name}).join(" > ");
c=a.message+"\n\nComponent stack: "+c;try{a.dJ=b.slice(),p5.x8&&(a.stack&&(a.stack=a.stack.replace(a.message,c)),a.message=c)}catch(d){}}},r5=function(a){var b=q5;
if(b&&b!==uub&&!b[vub]){var c=m5.slice();b.AE||(b.AE=[]);b.AE.push(function(){return void o5(function(){return void a()},{stack:c})})}},xub=function(a){var b=q5;
b&&!b.Na&&(r5(function(){return void wub(a)}),a.parent=b)},yub=function(a){a.AE&&(Z4(g.nmb,function(){for(var b=g.v(a.AE),c=b.next();!c.done;c=b.next())c=c.value,c()}),a.AE.length=0)},wub=function(a){if(!a.Na){a.Na=!0;
var b;(b=a[s5])==null||b.call(a);delete a.parent;yub(a)}},t5=function(a,b){var c=q5;
q5=a;try{return b()}finally{q5=c}},u5=function(a){var b=!!q5,c={};
(b===void 0||b)&&xub(c);t5(c,function(){return void a(c)});
return function(){return void wub(c)}},zub=function(a){for(var b=g.v(a),c=b.next();!c.done;c=b.next())c=c.value,a.delete(c),v5(c)},Aub=function(){Xtb(this);
w5.delete(this);wub(this)},Bub=function(a){a.Na||w5.add(a)},Cub=function(a){return g.H(function(b){if(b.j==1)return a.Na?b.return():g.z(b,Promise.resolve(),2);
v5(a);g.Aa(b)})},v5=function(a){if(a.MS!==null&&!a.Na){if(g.dv)throw Error("Schedulers cannot synchronously execute effects while scheduling.");
a.ql=!1;if(!a.sF||Wtb(a)){a.sF=!0;Dub++;yub(a);var b=q5;q5=a;var c=g.ev(a);try{o5(a.MS,{stack:a.dJ})}finally{g.hv(a,c),q5=b}}}},Eub=function(a){for(var b=g.v(a),c=b.next();!c.done;c=b.next())c=c.value,a.delete(c),c.Ks()},Fub=function(a){a.Na||x5.add(a)},Gub=function(a){return g.H(function(b){if(b.j==1)return a.Na?b.return():g.z(b,Promise.resolve(),2);
a.Ks();g.Aa(b)})},Iub=function(a,b,c){function d(){return void o5(b,{stack:e})}
Hub++;var e=m5.slice(),f=Ytb(function(){f.Na||(Dub++,yub(f),t5(f,d))},function(){return void a(f)},c===void 0?!1:c);
f.DZ=!0;xub(f);f[s5]=function(){f.destroy();x5.delete(f)};
return f},Jub=function(a,b,c,d){d=d===void 0?!1:d;
p5.PM?(Hub++,b=Object.create(b),b.dJ=m5.slice(),b.MS=a,xub(b),a=b):a=Iub(c,a,d);return a},Lub=function(a){a=Jub(a,Kub,Gub);
p5.PM?Cub(a):Gub(a)},Oub=function(a,b,c){if(Object.hasOwnProperty.call(Mub,a)&&(a=Mub[a],Object.hasOwnProperty.call(a,b)&&(a=a[b],a instanceof Array))){for(var d=null,e=!1,f=0,h=a.length;f<h;++f){var l=a[f],m=l.Fi;
if(!m)return l.Ad;d===null&&(d={});m=Object.hasOwnProperty.call(d,m)?d[m]:d[m]=c(m);if(m===l.Oi)return l.Ad;m==null&&(e=!0)}if(e)return null}b=Nub[b];return typeof b==="number"?b:null},Qub=function(a,b,c){if(c===null||c===void 0)return c;
var d=Oub(a.tagName.toLowerCase(),b,function(){throw Error("Contingent attribute/property lookups are not supported.");});
if(d===null)return c;d=Pub[d];var e;if((e=d.Eu)==null?0:e.call(d,c)){if(d.Zs)return d.Zs(c);throw Error("Value Handler's unwrap function does not exist.");}return d.Gr?d.Gr(a.tagName,b,String(c)):c},Sub=function(a){function b(d,e,f){g.$r(d,Rub);
for(var h=Math.min(e.length-f,d.length),l=0;l<h;l++)if(d[l]!==Rub(e[f+l]))return!1;return!0}
a=String(a);for(var c=0;(c=a.indexOf("<",c))!=-1;){if(b("\x3c/script",a,c)||b("\x3c!--",a,c))return"zSoyz";c+=1}return a},Rub=function(a){return"A"<=a&&a<="Z"?a.toLowerCase():a},y5=function(a,b,c){if(c===!1&&Tub.has(b))cub(a,b,null);
else if(b!=="idomKey"&&b!=="skip"&&b!=="skipchildren"&&b!=="children"&&b!=="el"){if(b.startsWith("on"))if(b[2]===":"){if(c===void 0||c===null){var d;(d=p5.zA)==null||d.call(p5,a.tagName,Error("The "+b+" attribute was set to undefined or null. This is not supported and may lead to unexpected behavior if an event handler is being conditionally set."));a[b]=void 0;return}if(typeof c!=="object"||c===null)throw Error("Expected "+b+" to be an EventHandler but its type was: "+(typeof c+". Event handlers must be created using useHandler."));
if(typeof c.jY!=="function")throw Error("Expected the event handler for "+b+" to have a 'getFn' property but its keys were: "+(Object.keys(c)+". Event handlers must be created using useHandler."));var e=c.jY(0),f=b.slice(3);if((d=n5())&&a["on"+f]===void 0)a.addEventListener(f,e),r5(function(){return void a.removeEventListener(f,e)});
else if(d||!Uub.includes(f))a["on"+f]=e}else{Vub(a,b,c);return}else if(b.startsWith("data-")&&typeof c==="string")try{c=Sub(c)}catch(h){c="zSoyz"}typeof c!=="function"||a._disposeEffects!=null?(p5.w8&&(c=Qub(a,b,c)),b==="style"?Wub(a,b,c):b.startsWith("prop:")?a[b.slice(5)]=c:Vub(a,b,c)):(a._signalProps||(a._signalProps=[]),a._signalValues||(a._signalValues=[]),a._signalProps.push(b))}},Xub=function(a,b,c){c=(c===void 0?{}:c).UA;
if(b==null?0:b.el){var d=b.el;if(typeof d==="function")d(a);else{var e;(e=d.aca)==null||e.call(d,a);a._disposeRef||(a._disposeRef=function(){var f;(f=d.Pca)==null||f.call(d);delete a._disposeRef},c&&r5(function(){var f;
return void((f=a._disposeRef)==null?void 0:f.call(a))}))}}},z5=function(a){this.props=a;
this.C=!1},Yub=function(){if(n5())throw Error("Reactive components are not allowed to use useState or other memoization based hooks.");
return A5},B5=function(a){z5.call(this,a);
var b=this;this.EA=[];this.D=0;this.G=u5(function(c){b.qJ=c;r5(function(){Zub(b,b.el)})})},Zub=function(a,b){if(!a.C&&b){a.C=!0;
try{a.nJ()}catch(e){var c,d;(d=p5.zA)==null||d.call(p5,(c=a.j)==null?void 0:c.ww,e)}C5.nJ(a);a.el=null;b.__instance&&delete b.__instance}},$ub=function(a,b){var c=g.Ja.apply(2,arguments),d;
b=(d=b)!=null?d:{};d={};return d.type=a,d.props=b,d.children=c,d[D5]=!0,d},E5=function(a){return a.children},G5=function(a,b){var c=F5;
F5=a;try{return b()}finally{F5=c}},bvb=function(a){a=Jub(a,avb,Fub);
p5.PM?v5(a):a.Ks()},dvb=function(a){a=Jub(a,cvb,Fub,!0);
p5.PM?v5(a):a.Ks()},H5=function(){return document.createTextNode("")},I5=function(a){a=document.createTextNode(String(a));
a._isSignalTextNode=!0;return a},J5=function(a){a=typeof a;
return a==="string"||a==="number"||a==="boolean"},K5=function(a){return a instanceof g.Yd||a instanceof g.ce||a instanceof g.le||!1},evb=function(a,b){a.parentElement&&a.parentElement.replaceChild(b,a);
return b},fvb=function(a,b){a.textContent!==String(b)&&(a.textContent=String(b));
return a},L5=function(a,b){var c=a[0].parentElement;
if(c)if(a[0].previousSibling||a[a.length-1].nextSibling){c.insertBefore(b,a[0]);for(var d=a.length-1;d>=0;d--)c.removeChild(a[d])}else c.textContent="",c.appendChild(b);return b},gvb=function(a,b){if(a[0].parentElement)for(var c=a[0].parentElement,d=b.length,e=a.length,f=d,h=0,l=0,m=a[e-1].nextSibling,n=null;h<e||l<f;)if(a[h]===b[l])h++,l++;
else{for(;a[e-1]===b[f-1];)e--,f--;if(e===h)for(var p=f<d?l?b[l-1].nextSibling:b[f-l]:m;l<f;)c.insertBefore(b[l++],p);else if(f===l)for(;h<e;)p=a[h],n&&n.has(p)||c.removeChild(p),h++;else if(a[h]===b[f-1]&&b[l]===a[e-1])p=a[--e].nextSibling,c.insertBefore(b[l++],a[h++].nextSibling),c.insertBefore(b[--f],p),a[e]=b[f];else{if(!n)for(n=new Map,p=l;p<f;)n.set(b[p],p++);p=n.get(a[h]);if(p==null)c.removeChild(a[h]),h++;else if(l<p&&p<f){for(var q=h,r=1,t=void 0;++q<e&&q<f&&(t=n.get(a[q]))!=null&&t===p+
r;)r++;if(r>p-l)for(q=a[h];l<p;)c.insertBefore(b[l++],q);else c.replaceChild(b[l++],a[h++])}else h++}}return b},M5=function(a){return g.db(a)?"nodeType"in a:!1},jvb=function(a){var b={}.Bpb;
var c=hvb();(b?dvb:bvb)(function(){var d=c[0],e=c.Em,f=G5(N5,a);d=ivb(d,f,c);Array.isArray(d)||(c.Em=[d]);f=c.Em;if(e&&(!Array.isArray(e)||e.length!==0)){e=Array.isArray(e)?e[0]:e;var h=e[O5],l=e._disposeEffects;e._disposeEffects=void 0;e=Array.isArray(f)?f[0]:f;e[O5]=h;e[O5]&&(e[O5].J_=e===f?1:f.length);e._disposeEffects=l}c[0]=d});
return c},ivb=function(a,b,c){for(;typeof b==="function";)b=b();
if(b!=null&&b[D5]){var d;throw Error("Encountered a VNode when only real nodes are expected. Tag name: "+((d=b.type)==null?void 0:d.ww));}if(a==null)return b==null?H5():J5(b)?I5(b):K5(b)?I5(b.toString()):M5(b)?b:b.length===0?H5():P5(b,c);if(M5(a)){if(b==null)return evb(a,H5());if(J5(b))return fvb(a,b);if(K5(b))return fvb(a,b.toString());if(M5(b))return evb(a,b);if(b.length===0)return evb(a,H5());b=P5(b,c);gvb([a],c.Em);return b}a=Q5(a);if(b==null)return L5(a,H5());if(J5(b))return L5(a,I5(b));if(K5(b))return L5(a,
I5(b.toString()));if(M5(b))return gvb(a,[b])[0];if(b.length===0)return L5(a,H5());b=P5(b,c);gvb(a,c.Em);return b},Q5=function(a,b,c){return kvb(a,b!=null?b:[],c===void 0?!1:c)},P5=function(a,b){var c=Q5(a,void 0,!0);
if(c.length===0)return H5();b.Em=c;return a},kvb=function(a,b,c,d,e){b=b===void 0?[]:b;
c=c===void 0?!1:c;e=e===void 0?-1:e;if(a==null)return b;J5(a)&&(a=I5(a),d&&c&&(d[e]=a));K5(a)&&(a=I5(a.toString()),d&&c&&(d[e]=a));isLegacyScript(a)&&(a=I5(a.build()),d&&c&&(d[e]=a));if(M5(a))return lvb(b,a);if(Array.isArray(a)){for(d=0;d<a.length;d++)kvb(a[d],b,c,a,d);return b}if(typeof a==="function")return a=jvb(a)[0],d&&c&&(d[e]=a),lvb(b,a);if(a!=null&&a[D5]){var f=a;a=G5(N5,function(){return F5.apply(null,[f.type,f.props].concat(g.ra(f.children)))});
return kvb(a,b,c)}throw Error("Unrecognized JSXResult type in flattening.");},hvb=function(a){var b=[];
if(!a)return b.Em=[],b;b[0]=P5(a,b);return b},lvb=function(a,b){Array.isArray(a)?a.push(b):a.appendChild(b);
return a},mvb=function(a,b){var c,d,e=u5(function(n){d=n;
c=G5(N5,function(){return Z4(g.omb,function(){return a(b)})})});
c!=null&&c.Em||!Array.isArray(c)||(c=hvb(c));var f=c!=null&&c.Em?c.Em:c;var h=Array.isArray(f)?f[0]:f;if(h){var l,m=(l=b==null?void 0:b.idomKey)!=null?l:a;l=a.o3;h._disposeEffects=e;e=h[O5]||{};Object.assign(e,{key:m,props:l?b:void 0,J_:f!==h?f.length:1,context:d,g$:!!h[O5],o2:c!=null&&c.Em?c:e.o2});h[O5]=e}else e();t5(d,function(){});
return c},nvb=function(a,b){a._disposeEffects==null&&a._signalProps!=null&&(a._disposeEffects=u5(function(){bvb(function(){for(var c=a._signalProps,d=a._signalValues,e=0;e<c.length;e++){var f=c[e],h=b[f]();
d[e]!==h&&(d[e]=h,y5(a,f,h))}})}))},ovb=function(a,b){a._disposeEffects=u5(function(){a._isSignalTextNode=!0;
bvb(function(){var c=b();c==null&&(c="");var d=typeof c;if(d==="object"||d==="function")throw Error("Invalid text node kind: "+d+". Text nodes must be primitives like numbers, strings, or null, but an object type was passed. See go/cow-errors#invalid-text-nodes for more information.");a.textContent=String(c)})})},rvb=function(a,b){var c=g.Ja.apply(2,arguments);
b!=null||(b={});if(a===E5)return c;if(typeof a==="function")return sub({component:a,debugInstance:b.debugInstance,Fm:function(){c.length>0&&(b.children=c.length===1?c[0]:c);var f=pvb(a,b);return f===!1?qvb(a,b):f}});
var d=document.createElement(a),e;for(e in b)y5(d,e,b[e]);nvb(d,b);Q5(c,d);Xub(d,b,{UA:!0});return d},pvb=function(a,b){if(a.frb||a.UA)return!1;
b||(b={});var c=new B5(b);c.B=a;var d=Z4(g.omb,function(){return c.Dy(b)});
if(!(d instanceof HTMLElement))return d;d.__instance=c;c.el=d;c.j=a;a.ww=d.tagName.toLowerCase();C5.wE(c);return d},svb=function(a){Lub(function(){Z4(null,a)})},tvb=function(a){if(a){var b;
(b=a._disposeRef)==null||b.call(a);var c;(c=a._disposeEffects)==null||c.call(a);a.__instance&&a.__instance instanceof z5&&(b=a.__instance,Zub(b,a),b instanceof B5&&b.G());for(b=0;b<a.childNodes.length;b++)tvb(a.childNodes[b])}},vvb=function(a){uvb.push(a)===1&&requestAnimationFrame(function(){setTimeout(function(){var b=[].concat(g.ra(uvb));
uvb=[];b=g.v(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;try{for(var d=0;d<c.length;d++)tvb(c[d])}catch(e){d=c=void 0,(d=(c=p5).zA)==null||d.call(c,"unknown",e)}}})})},R5=function(a,b){return F5.apply(null,[a,
b].concat(g.ra(g.Ja.apply(2,arguments))))},wvb=function(a){var b=null,c;
return{value:null,aca:function(d){if(c&&d!==c){var e;(e=b)==null||e();c._disposeRef=void 0}c=d;b=a(d)||null},
Pca:function(){var d;(d=b)==null||d()}}},xvb=function(a){var b=Yub();
if(b==null)throw Error("A valid hook context was not found. Please ensure you are using components from TSX and not invoking the component function directly");var c=b.D++;b.EA||(b.EA=[]);var d=b.EA;d[c]||(d[c]={key:a,host:b});if(a!==d[c].key){var e,f;a=((e=b.j)==null?void 0:e.name)||((f=b.B)==null?void 0:f.name);throw Error("Hook called out of order in "+a+". Hooks must be invoked unconditionally and in the same order every render. This could happen if you conditionally invoke a hook.");}return d[c]},
yvb=function(a,b){return!a||a.length!==(b==null?void 0:b.length)||a.some(function(c,d){return c!==b[d]})},zvb=function(a,b){var c=xvb("onChange"),d=Yub();
yvb(c.gh,b)&&(c.gh=b,c.F0=a,d.xz||(d.xz=[]),d.xz.push(c))},S5=function(a,b){zvb(function(){return Z4(null,a)},b)},Avb=function(a){n5()?svb(function(){Z4(null,a)}):zvb(function(){return Z4(null,a)},[])},Cvb=function(a){var b=[].concat(g.ra(a));
a.length=0;a=g.v(b);for(b=a.next();!b.done;b=a.next()){b=b.value;Bvb(b);var c=b.F0;b.F0=null;if(c=c==null?void 0:c())b.E0=c}},Bvb=function(a){var b=a.E0;
a.E0=null;b==null||b()},T5=function(a){var b=[];
if(n5())return a();var c=xvb("useMemoInternal");yvb(c.gh,b)&&(c.gh=b,c.value=a());return c.value},U5=function(){var a=T5(function(){return wvb(function(b){a.value=b;
var c=Z4(null,function(){});
return function(){c==null||c();a.value=null}})});
return a},Dvb=function(a){var b=q5,c=m5.slice();
return{jY:function(){return function(d){b.Na||o5(function(){return a(d)},{stack:c})!==!0&&d.stopPropagation()}}}},Evb=function(a){if(typeof a.children==="function")return a.children(),null;
a=g.v(a.children);for(var b=a.next();!b.done;b=a.next())b=b.value,b();return null},Gvb=function(a,b,c){c=c===void 0?!1:c;
o5(function(){return Fvb(a,b,c)})},Fvb=function(a,b,c){c=((c===void 0?0:c)?Hvb:Ivb)(a,function(){V5(b)});
return c===null?a:c},V5=function(a){if(a!==void 0&&a!==null)if(Array.isArray(a)){a=g.v(a);
for(var b=a.next();!b.done;b=a.next())V5(b.value)}else if(a instanceof g.Yd||a instanceof g.ce||a instanceof g.le)rub(a.toString());else if(M5(a)){if(c5()!==a)throw Error("Encountered a real dom node where a vdom node was expected. Real dom nodes should only come from the reactive renderer, and they can't be passed in JSX expressions directly. Tag name: "+a.tagName);f5=c5()}else{var c=typeof a;if(c==="boolean"||c==="number"||c==="string")rub(a);else if(typeof a==="function"){b=b5;var d=c5();if(!d||
!d._isSignalTextNode){var e=b.insertBefore,f=document.createTextNode("");ovb(f,a);e.call(b,f,d)}f5=c5()}else if(isLegacyScript(a))rub(a.build(Jvb));else{if(typeof a.type==="string"){a.qr||nub(a.type,a.props.idomKey);b=b5;for(e in a.props)a.props[e]!==Kvb&&(f=a.props[e],c=j5,c.push(e),c.push(f));e=p5.attributes;e=e===void 0?Lvb:e;f=b5;var h=a5(f);c=e;e=j5;h=h.j||(h.j=bub(e.length));for(var l=!h.length||!1,m=0;m<e.length;m+=2){var n=e[m];if(l)h[m]=n;else if(h[m]!==n)break;var p=e[m+1];if(l||h[m+1]!==
p)h[m+1]=p,qub(f,n,p,c)}if(m<e.length||m<h.length){for(m=l=m;m<h.length;m+=2)W5[h[m]]=h[m+1];for(m=l;m<e.length;m+=2)l=e[m],n=e[m+1],W5[l]!==n&&qub(f,l,n,c),h[m]=l,h[m+1]=n,delete W5[l];$4(h,e.length);for(d in W5)qub(f,d,void 0,c),delete W5[d]}d=Mvb;Mvb=f=l5.length;for(c=d;c<f;c+=5)(0,l5[c])(l5[c+1],l5[c+2],l5[c+3],l5[c+4]);Mvb=d;$4(l5,d);$4(e,0);nvb(b,a.props);(a.props.skip||a.props.skipchildren)&&b5.hasChildNodes()?f5=b5.lastChild:(b.tagName.toLowerCase()==="script"&&LEGACY_SCRIPT_LOADED&&(Jvb=
createLegacyScriptCtx()),V5(a.children),Jvb=void 0);e5(null);f5=b5;b5=b5.parentNode;a.qr&&(a.qr=!1);Xub(b,a.props);return b}if(a.type===E5)V5(a.children);else if(!Nvb(a)){try{Ovb(a)}catch(q){d=q,(f=p5.zA)==null||f.call(p5,(b=a.type)==null?void 0:b.ww,d)}a.qr&&(e5(null),f5=b5,b5=b5.parentNode,a.qr=!1)}}}},Pvb=function(a,b){var c;
((c=a.prototype)==null?void 0:c.Dy)===void 0?(b=new B5(b),b.B=a):b=new a(b);b.j=a;b.RN={vR:b.state,BZ:!1};return b},Ovb=function(a){var b=a.type,c=b.ww;
if(b===Evb)a.props.children=a.children,b(a.props);else{a.children.length>0&&(a.props.children=a.children);var d;(d=a.props).idomKey||(d.idomKey=b);if(c){var e=nub(c,a.props.idomKey);a.qr=!0;var f=e.__instance}f||(f=Pvb(b,a.props),f.props=null,e&&(e.__instance=f,f.el=e));var h;c=((h=f.RN)!=null?h:{vR:f.state,BZ:!1}).vR;f.RN=void 0;b.c9&&(c=b.c9(a.props,c));f.props=a.props;f.state=c;h=function(){var l=f;C5.ZW(l);var m=l.Dy(l.props);m?(l.props.idomKey&&(m.props.idomKey=l.props.idomKey),l=m):l=void 0;
if(m=l)if(m.qr=a.qr,l=V5(m),a.qr=m.qr,!b.ww)if(l)b.ww=l.tagName.toLowerCase(),l.__instance=f,f.el=l;else{var n;if((n=f.EA)==null?0:n.length){var p;(p=p5.zA)==null||p.call(p5,"unknown",Error("A component used hooks, but failed to return a host element"))}}f.wE();C5.wE(f)};
(c=f.B)?sub({component:c,debugInstance:f.props.debugInstance,Fm:h}):h()}},Nvb=function(a){var b=a.type;
if(!b.UA)return!1;a.props.children=a.children.length>1?a.children:a.children[0];var c,d=(c=a.props.idomKey)!=null?c:a.type,e;if(c5()&&((e=c5()[O5])==null?void 0:e.key)===d){d=c5();c=d[O5];if(!c)throw Error("Reactive data has been lost on node. Tag name: "+d.tagName);if(!b.o3){var f;(f=c.Msb)==null||f.call(c,a.props);Qvb(c);return!0}f=q5;b=b.o3(a.props,c.props,f!==null?f:c.context,c.g$);f=Rvb(b);Svb(a.props,c.props);f>0?V5(b):f5=c5();return!0}if(Tvb.has(b.name)&&a.props.allowIdomInterop!==Uvb)throw Error(b.name+
" can not be called from a IDOM component. See go/cow-errors#control-flow-component-called-from-Idom-Component");(b=sub({component:a.type,debugInstance:a.props.debugInstance,Fm:function(){return qvb(a.type,a.props)}}))&&Vvb(b);
return!0},Rvb=function(a){if(a){if(Array.isArray(a)){var b=0;
a=g.v(a);for(var c=a.next();!c.done;c=a.next())(c=c.value)&&(b=c.type===E5?b+c.children.length:b+1);return b}if(a.type===E5)return a.children.length}else return 0;return 1},Svb=function(a,b){b&&(b.children=a.children,b.v8=a.v8,b.fallback=a.fallback)},Wvb=function(a){for(var b=0;b<Q5(a).length;b++)f5=c5()},Qvb=function(a){var b=Xvb();
if(b)Wvb(b);else for(var c=0;c<a.J_;c++)(b=Xvb())?Wvb(b):f5=c5()},Xvb=function(){var a;
return(a=c5()[O5])==null?void 0:a.o2},Vvb=function(a){a=a!=null&&a.Em?a.Em:a;
a=Array.isArray(a)?a:[a];a=g.v(a);for(var b=a.next();!b.done;b=a.next())b5.insertBefore(b.value,c5()),f5=c5()},Yvb=function(a){var b=Yub(),c=T5(function(){return{value:typeof a==="function"?a():a}});
return[c.value,function(d){if(A5!==null)throw Error("Can't set state during rendering");c.value=typeof d==="function"?d(c.value):d;b.RN={vR:b.state,BZ:!0};t5(b.qJ,function(){G5($ub,function(){if(b.el){var e,f={},h=(f.props=b.props,f.type=b.j,f.children=(e=b.props.children)!=null?e:[],f[D5]=!0,f);try{Gvb(b.el,h,!0)}catch(n){var l,m;(m=p5.zA)==null||m.call(p5,(l=b.j)==null?void 0:l.ww,n)}}})})}]},Zvb=function(){return T5(function(){return{value:null}})},cwb=function(a){var b=$vb;
awb.push(a);bwb||(b(function(){for(var c=g.v(awb),d=c.next();!d.done;d=c.next())d=d.value,d();awb.length=0;bwb=!1}),bwb=!0)},$vb=function(a){Promise.resolve().then(a)},dwb=function(a){a=g.v(Yvb(a));
var b=a.next().value,c=a.next().value;return[b,function(d){cwb(function(){c(d)})}]},ewb=function(a){function b(){var l=a.J.fd()?"\u0421\u043a\u0440\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e Shorts":"\u0421\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438";
e(l)}
var c=g.v(Yvb("\u0421\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438")),d=c.next().value,e=c.next().value;S5(function(){var l=a.J;l.addEventListener("videodatachange",b);return function(){l.removeEventListener("videodatachange",b)}},[a.J]);
var f=T5(function(){return(new g.KE(g.YE())).element}),h=U5();
Avb(function(){h.value.appendChild(f)});
return R5("button",{class:"ytp-button ytp-collapse","aria-label":d,"on:click":Dvb(function(){a.action&&a.action()})},R5("div",{class:"ytp-collapse-icon",
el:h,skip:!0}))},fwb=function(a){function b(){var h=a.J.fd()?"\u0415\u0449\u0451 \u0432\u0438\u0434\u0435\u043e Shorts":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e";
e(h)}
var c=g.v(dwb("\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e")),d=c.next().value,e=c.next().value,f=U5();S5(function(){a.dC&&(a.dC.value=f.value)},[a.dC]);
S5(function(){var h=a.J;h.addEventListener("videodatachange",b);return function(){h.removeEventListener("videodatachange",b)}},[a.J]);
return R5("button",{el:f,class:"ytp-button ytp-expand","on:click":Dvb(function(){a.action&&a.action()})},d)},gwb=function(a,b){var c=Zvb();
S5(function(){var d=new g.b2(a);d.B=!0;c.value=d;return function(){var e;(e=c.value)==null||e.dispose()}},[a,
b]);return c},hwb=function(a){function b(w){a:{var A=g.v([1,
16,32]);for(var C=A.next();!C.done;C=A.next())if(g.yF(w,C.value)){A=!0;break a}A=!1}if(!A){var F;(F=p.value)!=null&&F.suggestionData.length>0&&h(g.yF(w,4)&&!g.yF(w,2)&&!g.yF(w,1024))}}
function c(){b(a.J.getPlayerStateObject())}
function d(w){b(w.state)}
var e=g.v(dwb(!1)),f=e.next().value,h=e.next().value,l=g.v(dwb(!1));e=l.next().value;var m=l.next().value,n=U5(),p=gwb(a.J,a.Pe),q=U5();l=Zvb();var r=Zvb();S5(function(){var w=a.J,A=w.fd()?157212:172777;r.value=new g.I;w.createClientVe(q.value,r.value,A);w.addEventListener("presentingplayerstatechange",d);w.addEventListener("videodatachange",c);A=w.U().controlsType==="0";g.Ov(w.getRootNode(),"ytp-pause-overlay-controls-hidden",A);return function(){w.removeEventListener("videodatachange",c);w.removeEventListener("presentingplayerstatechange",
d);var C;(C=r.value)==null||C.dispose()}},[a.J]);
S5(function(){var w;(w=p.value)==null||w.Ka(n.value)},[p]);
var t=a.J;if(f)if(g.Ov(t.getRootNode(),"ytp-expand-pause-overlay",!e),e)l.value.focus();else{var u=p.value;g.c2(u);u.show();q.value.focus()}q.value&&t.logVisibility(q.value,f&&!e);return R5("ytp-pause-overlay",{el:q,class:"ytp-pause-overlay","aria-hidden":!f},R5(ewb,{J:a.J,Pe:a.Pe,action:function(){m(!0)}}),R5(fwb,{J:a.J,
Pe:a.Pe,action:function(){m(!1)},
dC:l}),R5("div",{el:n,skip:!0}))},iwb=function(a){g.W.call(this,{I:"div",
S:"ytp-related-on-error-overlay"});var b=this;this.api=a;this.K=this.B=0;this.G=new g.NJ(this);this.j=[];this.suggestionData=[];this.columns=this.containerWidth=0;this.title=new g.W({I:"h2",S:"ytp-related-title",xa:"{{title}}"});this.previous=new g.W({I:"button",Ma:["ytp-button","ytp-previous"],W:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},V:[g.TE()]});
this.ra=new g.a2(function(f){b.suggestions.element.scrollLeft=-f});
this.D=this.C=0;this.N=!0;this.next=new g.W({I:"button",Ma:["ytp-button","ytp-next"],W:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},V:[g.UE()]});g.M(this,this.G);a=a.U();this.api.L("embeds_web_enable_pause_overlay_rounding")&&g.Kv(this.element,"ytp-error-overlay-round-corners");this.Y=a.D;g.M(this,this.title);this.title.Ka(this.element);this.suggestions=
new g.W({I:"div",S:"ytp-suggestions"});g.M(this,this.suggestions);this.suggestions.Ka(this.element);g.M(this,this.previous);this.previous.Ka(this.element);this.previous.listen("click",this.Y4,this);g.M(this,this.ra);for(var c={IA:0};c.IA<16;c={IA:c.IA},c.IA++){var d=new g.W({I:"a",S:"ytp-suggestion-link",W:{href:"{{link}}",target:a.Y,"aria-label":"{{aria_label}}"},V:[{I:"div",S:"ytp-suggestion-image",V:[{I:"div",W:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration",xa:"{{duration}}"}]},{I:"div",
S:"ytp-suggestion-title",W:{title:"{{hover_title}}"},xa:"{{title}}"},{I:"div",S:"ytp-suggestion-author",xa:"{{views_or_author}}"}]});g.M(this,d);d.Ka(this.suggestions.element);var e=d.Fa("ytp-suggestion-link");g.Is(e,"transitionDelay",c.IA/20+"s");this.G.T(e,"click",function(f){return function(h){var l=f.IA,m=b.suggestionData[l],n=m.sessionData;g.nR(b.api.U())&&b.api.L("web_player_log_click_before_generating_ve_conversion_params")?(b.api.logClick(b.j[l].element),l=m.zl(),m={},g.LYa(b.api,m,"emb_rel_err"),
l=g.to(l,m),g.$T(l,b.api,h)):g.ZT(h,b.api,b.Y,n||void 0)&&b.api.qp(m.videoId,n,m.playlistId)}}(c));
this.j.push(d)}g.M(this,this.next);this.next.Ka(this.element);this.next.listen("click",this.X4,this);this.G.T(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.qb().getPlayerSize());this.onVideoDataChange();this.show()},jwb=function(a,b){if(a.api.U().L("web_player_log_click_before_generating_ve_conversion_params"))for(var c=Math.floor(-a.C/(a.D+a.B)),d=Math.min(c+a.columns,a.suggestionData.length)-1;c<=d;c++)a.api.logVisibility(a.j[c].element,b)},kwb=function(a){a.next.element.style.bottom=
a.K+"px";
a.previous.element.style.bottom=a.K+"px";var b=a.C,c=a.containerWidth-a.suggestionData.length*(a.D+a.B);g.Ov(a.element,"ytp-scroll-min",b>=0);g.Ov(a.element,"ytp-scroll-max",b<=c)},lwb=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.zl(),h=a.api.U();
if(g.nR(h)&&!h.L("web_player_log_click_before_generating_ve_conversion_params")){var l={};g.qT(a.api,"addEmbedsConversionTrackingParams",[l]);a.api.L("embeds_web_enable_referring_feature_deprecation")||g.JO(l,"emb_rel_err");f=g.to(f,l)}d.element.style.display="";l=d.Fa("ytp-suggestion-title");g.Bla.test(c.title)?l.dir="rtl":g.rmb.test(c.title)&&(l.dir="ltr");l=d.Fa("ytp-suggestion-author");g.Bla.test(e)?l.dir="rtl":g.rmb.test(e)&&(l.dir="ltr");d.update({views_or_author:e,duration:c.isLivePlayback?
"\u0412 \u044d\u0444\u0438\u0440\u0435":c.lengthSeconds?g.IF(c.lengthSeconds):"",link:f,hover_title:c.title,title:c.title,aria_label:c.ariaLabel||null,is_live:c.isLivePlayback});e=d.Fa("ytp-suggestion-image");f=c.kh();e.style.backgroundImage=f?"url("+f+")":"";h.L("web_player_log_click_before_generating_ve_conversion_params")&&(a.api.createServerVe(d.element,d),(c=(c=c.sessionData)&&c.itct)&&a.api.setTrackingParams(d.element,c))}for(;b<a.j.length;b++)a.j[b].element.style.display="none";kwb(a)},X5=
function(a){g.JV.call(this,a);
var b=this;this.j=null;var c=a.U(),d={target:c.Y},e=["ytp-small-redirect"];c.C?e.push("no-link"):(c=g.LR(c),d.href=c,d["aria-label"]="\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043d\u0430 YouTube \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u0435\u043e");var f=new g.W({I:"a",Ma:e,W:d,V:[{I:"svg",W:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},V:[{I:"path",W:{d:"M0 0h24v24H0V0z",fill:"none"}},{I:"path",
W:{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"}}]}]});f.Ka(this.element);a.createClientVe(f.element,this,178053);this.T(f.element,"click",function(h){mwb(b,h,f.element)});
g.M(this,f);a.U().C||(this.j=new iwb(a),this.j.Ka(this.element),g.M(this,this.j));this.T(a,"videodatachange",function(){b.show()});
this.resize(this.api.qb().getPlayerSize())},mwb=function(a,b,c){b.preventDefault();
a.api.logClick(c);b=c.getAttribute("href");c={};g.qT(a.api,"addEmbedsConversionTrackingParams",[c]);b=g.gd(c)?b:g.to(b,c);g.Re(b)},nwb=function(a,b){a.Fa("ytp-error-content").style.paddingTop="0px";
var c=a.Fa("ytp-error-content"),d=c.clientHeight;a.j&&a.j.resize(b,b.height-d);c.style.paddingTop=(b.height-(a.j?a.j.element.clientHeight:0))/2-d/2+"px"},qwb=function(a,b){var c=a.api.U(),d;
b.reason&&(owb(b.reason)?d=g.SE(b.reason):d=g.KV(g.RE(b.reason)),a.Dd(d,"content"));var e;b.subreason&&(owb(b.subreason)?e=g.SE(b.subreason):e=g.KV(g.RE(b.subreason)),a.Dd(e,"subreason"));if(b.proceedButton&&b.proceedButton.buttonRenderer){d=a.Fa("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,!pwb(d,e)&&(!c.C||c.embedsErrorLinks))){var h;c=(h=g.V(b==null?void 0:b.navigationEndpoint,g.dF))==null?
void 0:h.url;var l;h=(l=g.V(b==null?void 0:b.navigationEndpoint,g.dF))==null?void 0:l.target;c&&(f.setAttribute("href",c),a.api.createClientVe(f,a,178424),a.T(f,"click",function(m){mwb(a,m,f)}));
h&&f.setAttribute("target",h);l=g.Bf("DIV");l.appendChild(f);d.appendChild(l)}}},owb=function(a){if(a.runs)for(var b=0;b<a.runs.length;b++)if(a.runs[b].navigationEndpoint)return!0;
return!1},pwb=function(a,b){a=g.of("A",a);
for(var c=0;c<a.length;c++)if(a[c].textContent===b)return!0;return!1},rwb=function(a,b){g.W.call(this,{I:"a",
Ma:["ytp-impression-link"],W:{target:"{{target}}",href:"{{url}}","aria-label":"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 YouTube"},V:[{I:"div",S:"ytp-impression-link-content",W:{"aria-hidden":"true"},V:[{I:"div",S:"ytp-impression-link-text",xa:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430"},{I:"div",S:"ytp-impression-link-logo",xa:"{{logoSvg}}"}]}]});this.api=a;this.Pe=b;this.updateValue("target",a.U().Y);this.T(a,"videodatachange",this.onVideoDataChange);
this.T(this.api,"presentingplayerstatechange",this.Gk);this.T(this.api,"videoplayerreset",this.QU);this.T(this.element,"click",this.onClick);this.onVideoDataChange();this.QU()},swb=function(a){var b={};
g.qT(a.api,"addEmbedsConversionTrackingParams",[b]);var c=a.api.getVideoUrl();a.api.L("embeds_web_enable_referring_feature_deprecation")||g.JO(b,"emb_imp_woyt");return c=g.to(c,b)},Y5=function(a){g.W.call(this,{I:"div",
Ma:["ytp-mobile-a11y-hidden-seek-button"],V:[{I:"button",Ma:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],W:{"aria-label":"\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043d\u0430 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430\u0437\u0430\u0434","aria-hidden":"false"}},{I:"button",Ma:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],W:{"aria-label":"\u041f\u0435\u0440\u0435\u043c\u043e\u0442\u0430\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043d\u0430 10 \u0441\u0435\u043a\u0443\u043d\u0434 \u0432\u043f\u0435\u0440\u0435\u0434",
"aria-hidden":"false"}}]});this.api=a;this.j=this.Fa("ytp-mobile-a11y-hidden-seek-button-rewind");this.forwardButton=this.Fa("ytp-mobile-a11y-hidden-seek-button-forward");this.api.createClientVe(this.j,this,141902);this.api.createClientVe(this.forwardButton,this,141903);this.T(this.api,"presentingplayerstatechange",this.Gk);this.T(this.j,"click",this.B);this.T(this.forwardButton,"click",this.C);this.Gk()},Z5=function(a){g.W.call(this,{I:"div",
S:"ytp-muted-autoplay-endscreen-overlay",V:[{I:"div",S:"ytp-muted-autoplay-end-panel",V:[{I:"button",Ma:["ytp-muted-autoplay-end-text","ytp-button"],xa:"{{text}}"}]}]});this.api=a;this.D=this.Fa("ytp-muted-autoplay-end-panel");this.B=!1;this.api.createClientVe(this.element,this,52428);this.T(this.api,"presentingplayerstatechange",this.C);this.T(a,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.listen("click",this.onClick);this.hide()},$5=function(a){var b=a.U();
g.W.call(this,{I:"a",Ma:["ytp-watermark","yt-uix-sessionlink"],W:{target:b.Y,href:"{{url}}","aria-label":g.aJ("\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0430\u00a0$WEBSITE",{WEBSITE:g.AR(b)}),"data-sessionlink":"feature=player-watermark"},xa:"{{logoSvg}}"});this.api=a;this.j=null;this.B=!1;this.state=a.getPlayerStateObject();this.T(a,"videodatachange",this.onVideoDataChange);this.T(a,"presentingplayerstatechange",this.onStateChange);
this.T(a,"appresize",this.kc);this.onVideoDataChange();this.Ic(this.state);this.kc(a.qb().getPlayerSize())},twb=function(a){var b=a.api.getVideoData(),c=a.api.U().Fd&&!g.yF(a.state,2)&&!g.jT(a.api.getVideoData(1));
b.mutedAutoplay||g.NE(a,c);a.api.logVisibility(a.element,c)},wwb=function(a){g.W.call(this,{I:"div",
S:"ytp-muted-autoplay-overlay",V:[{I:"div",S:"ytp-muted-autoplay-bottom-buttons",V:[{I:"button",Ma:["ytp-muted-autoplay-equalizer","ytp-button"],W:{"aria-label":"\u0418\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440 \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0431\u0435\u0437 \u0437\u0432\u0443\u043a\u0430"},V:[{I:"div",Ma:["ytp-muted-autoplay-equalizer-icon"],V:[{I:"svg",W:{height:"100%",version:"1.1",viewBox:"-4 -4 24 24",width:"100%"},V:[{I:"g",
W:{fill:"#fff"},V:[{I:"rect",S:"ytp-equalizer-bar-left",W:{height:"9",width:"4",x:"1",y:"7"}},{I:"rect",S:"ytp-equalizer-bar-middle",W:{height:"14",width:"4",x:"6",y:"2"}},{I:"rect",S:"ytp-equalizer-bar-right",W:{height:"12",width:"4",x:"11",y:"4"}}]}]}]}]}]}]});var b=this;this.api=a;this.bottomButtons=this.Fa("ytp-muted-autoplay-bottom-buttons");this.Fa("ytp-muted-autoplay-equalizer");this.C=new g.Dv(this.f$,4E3,this);this.B=!1;a.createClientVe(this.element,this,39306);this.T(a,"presentingplayerstatechange",
this.bN);this.T(a,"onMutedAutoplayStarts",function(){uwb(b);b.bN();vwb(b);b.B=!1});
this.T(a,"onAutoplayBlocked",this.onAutoplayBlocked);this.listen("click",this.onClick);this.T(a,"onMutedAutoplayEnds",this.onMutedAutoplayEnds);this.hide();g.tT(a.app)&&(uwb(this),this.bN(),vwb(this));g.M(this,this.C)},vwb=function(a){a.Ib&&a.j&&(a.j.show(),a.C.start())},uwb=function(a){a.watermark||(a.watermark=new $5(a.api),g.M(a,a.watermark),a.watermark.Ka(a.bottomButtons,0),g.Ov(a.watermark.element,"ytp-muted-autoplay-watermark",!0),a.j=new g.rF(a.watermark,0,!0,100),g.M(a,a.j))},a6=function(a){g.W.call(this,
{I:"div",
S:"ytp-pause-overlay",W:{tabIndex:"-1"}});var b=this;this.api=a;this.C=new g.NJ(this);this.D=new g.rF(this,1E3,!1,100,function(){b.j.B=!1},function(){b.j.B=!0});
this.B=!1;this.expandButton=new g.W({I:"button",Ma:["ytp-button","ytp-expand"],xa:this.api.fd()?"\u0415\u0449\u0451 \u0432\u0438\u0434\u0435\u043e Shorts":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e"});a.U().controlsType==="0"&&g.Kv(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.api.L("embeds_web_enable_pause_overlay_rounding")&&g.Kv(this.element,"ytp-pause-overlay-round-corners");g.M(this,this.C);g.M(this,this.D);
var c=new g.W({I:"button",Ma:["ytp-button","ytp-collapse"],W:{"aria-label":this.api.fd()?"\u0421\u043a\u0440\u044b\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e Shorts":"\u0421\u043a\u0440\u044b\u0442\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u0438"},V:[{I:"div",S:"ytp-collapse-icon",V:[g.YE()]}]});g.M(this,c);c.Ka(this.element);c.listen("click",this.G,this);g.M(this,this.expandButton);this.expandButton.Ka(this.element);this.expandButton.listen("click",
this.K,this);this.j=new g.b2(a);g.M(this,this.j);this.j.B=!1;this.j.Ka(this.element);this.api.fd()?this.api.createClientVe(this.element,this,157212):this.api.createClientVe(this.element,this,172777);this.C.T(this.api,"presentingplayerstatechange",this.Ua);this.C.T(this.api,"videodatachange",this.Ua);this.hide()},b6=function(a){g.W.call(this,{I:"div",
Ma:["ytp-player-content","ytp-iv-player-content"],V:[{I:"div",S:"ytp-countdown-timer",V:[{I:"svg",W:{height:"100%",version:"1.1",viewBox:"0 0 72 72",width:"100%"},V:[{I:"circle",S:"ytp-svg-countdown-timer-ring",W:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-dasharray":"211","stroke-dashoffset":"-211","stroke-width":"4",transform:"rotate(-90)"}},{I:"circle",S:"ytp-svg-countdown-timer-background",W:{cx:"-36",cy:"36","fill-opacity":"0",r:"33.5",stroke:"#FFFFFF","stroke-opacity":"0.3",
"stroke-width":"4",transform:"rotate(-90)"}}]},{I:"span",S:"ytp-countdown-timer-time",xa:"{{duration}}"}]}]});this.api=a;this.K=this.Fa("ytp-svg-countdown-timer-ring");this.j=null;this.D=this.C=0;this.B=!1;this.G=0;this.api.createClientVe(this.element,this,159628)},ywb=function(a){a.j||(a.C=5E3,a.D=(0,g.iC)(),a.j=new g.Cv(function(){xwb(a)},null),xwb(a))},xwb=function(a){if(!a.B){var b=Math.min((0,g.iC)()-a.D,a.C);
var c=a.C-b;b=a.C===0?0:Math.max(c/a.C,0);c=Math.round(c/1E3);a.K.setAttribute("stroke-dashoffset",""+-211*(b+1));a.updateValue("duration",c);b<=0&&a.j?c6(a):a.j&&a.j.start()}},c6=function(a){a.j&&(a.j.dispose(),a.j=null,a.B=!1)},Awb=function(a){g.gV.call(this,a);
this.J=a;this.j=new g.NJ(this);this.B=null;this.N=!1;this.countdownTimer=null;this.Y=!1;zwb(this);g.M(this,this.j);this.load()},Cwb=function(a){var b=g.Akb(a.J);
b!==a.Y&&(a.Y=b,a.G&&(a.G.dispose(),a.G=null),a.C&&(a.C.dispose(),a.C=null),a.D&&(a.D.dispose(),a.D=null),a.B&&(a.B.stop(),a.B.dispose(),a.B=null),b&&(b=g.vT(a.J),a.J.fd()&&(a.D=new g.W({I:"div",S:"ytp-pause-overlay-backdrop",W:{tabIndex:"-1"}}),g.M(a,a.D),g.HT(a.J,a.D.element,4),a.B=new g.rF(a.D,1E3,!1,100),g.M(a,a.B),a.D.hide()),a.G=new g.W({I:"div",S:"ytp-pause-overlay-container",W:{tabIndex:"-1"}}),g.M(a,a.G),a.J.L("embeds_web_enable_keto_pause_overlay")?Gvb(a.G.element,R5(hwb,{J:a.J,Pe:b})):
(a.C=new a6(a.J,b),g.M(a,a.C),a.C.Ka(a.G.element)),g.HT(a.J,a.G.element,4),Bwb(a,a.J.getPlayerStateObject())))},Bwb=function(a,b){a.B&&(!g.yF(b,4)&&!g.yF(b,2)||g.yF(b,1024)?a.B.hide():a.B.show())},zwb=function(a){var b=a.J;
a=!!b.fd();g.Ov(b.getRootNode(),"ytp-shorts-mode",a);if(b=b.getVideoData())b.EX=a},d6=function(a,b){var c=a.J.U();
a={adSource:"EMBEDS_AD_SOURCE_YOUTUBE",breakType:a.J.getCurrentTime()===0?"EMBEDS_AD_BREAK_TYPE_PRE_ROLL":a.J.getPlayerState()===0?"EMBEDS_AD_BREAK_TYPE_POST_ROLL":"EMBEDS_AD_BREAK_TYPE_MID_ROLL",embedUrl:g.Jfa(a.J.U().loaderUrl),eventType:b,youtubeHost:g.yn(a.J.U().Ha)||""};a.embeddedPlayerMode=c.Ga;g.VB("embedsAdEvent",a)},Hub=0,Dub=0;var dub=Object.prototype.hasOwnProperty;aub.prototype=Object.create(null);var Lvb=gub();var k5=null;var oub=typeof Node!=="undefined"&&Node.prototype.getRootNode||function(){for(var a=this,b=a;a;)b=a,a=a.parentNode;return b};var d5=null,f5=null,b5=null,h5=null,i5=[],g5=lub,j5=[],Ivb=function(a){return pub(function(b,c,d){b5=f5=b;f5=null;c(d);e5(null);f5=b5;b5=b5.parentNode;return b},a)}(),Hvb=function(a){return pub(function(b,c,d){var e={nextSibling:b};
f5=e;c(d);b5&&e5(b.nextSibling);return e===f5?null:f5},a)}();var l5=[],Mvb=0;var W5=new aub;var p5={attributes:gub(),zA:function(a,b){throw b;},
w8:!0,x8:!0,PM:g.Nkb,w3:g.Okb};var m5=[];var Uvb=Symbol("ALLOW_IDOM_INTEROP_SYMBOL");var vub=Symbol("DISABLE_ON_CLEANUP");var s5=Symbol("Disposable.dispose");var e6={},uub=(e6.DZ=!0,e6[s5]=function(){throw Error("This owner cannot be disposed");},e6.Na=!1,e6);var q5=null;var w5=new Set,f6={},Dwb=Object.assign({},{DZ:!0},g.wv,(f6.sF=!1,f6.MS=null,f6.OO=!0,f6.Lt=!1,f6[s5]=Aub,f6.dJ=void 0,f6));var x5=new Set;g.$ka=function(){if(p5.w3){var a=w5;w5=new Set;zub(a)}else zub(w5);p5.w3?(a=x5,x5=new Set,Eub(a)):Eub(x5)};var Kub=Object.assign({},Dwb,{pE:Cub,Lt:!1});var Tub=new Set("allowfullscreen async autofocus autoplay checked controls default defer disabled formnovalidate hidden ismap itemscope jsshadow jsslot loop multiple muted novalidate open playsinline readonly required reversed scoped seamless selected spellcheck sortable typemustmatch".split(" "));var Nub={align:1,alt:1,"aria-activedescendant":10,"aria-atomic":1,"aria-autocomplete":1,"aria-busy":1,"aria-checked":1,"aria-controls":10,"aria-current":1,"aria-describedby":10,"aria-disabled":1,"aria-dropeffect":1,"aria-expanded":1,"aria-haspopup":1,"aria-hidden":1,"aria-invalid":1,"aria-label":1,"aria-labelledby":10,"aria-level":1,"aria-live":1,"aria-multiline":1,"aria-multiselectable":1,"aria-orientation":1,"aria-owns":10,"aria-posinset":1,"aria-pressed":1,"aria-readonly":1,"aria-relevant":1,"aria-required":1,
"aria-selected":1,"aria-setsize":1,"aria-sort":1,"aria-valuemax":1,"aria-valuemin":1,"aria-valuenow":1,"aria-valuetext":1,async:8,autocapitalize:1,autocomplete:1,autocorrect:1,autofocus:1,autoplay:1,bgcolor:1,border:1,cellpadding:1,cellspacing:1,checked:1,cite:3,"class":1,color:1,cols:1,colspan:1,contenteditable:1,controls:1,datetime:1,dir:8,disabled:1,download:1,draggable:1,enctype:1,face:1,"for":10,formenctype:1,frameborder:1,height:1,hidden:1,href:4,hreflang:1,id:10,ismap:1,itemid:1,itemprop:1,
itemref:1,itemscope:1,itemtype:1,label:1,lang:1,list:10,loading:8,loop:1,max:1,maxlength:1,media:1,min:1,minlength:1,multiple:1,muted:1,name:10,nonce:1,open:1,placeholder:1,poster:3,preload:1,rel:1,required:1,reversed:1,role:1,rows:1,rowspan:1,selected:1,shape:1,size:1,sizes:1,slot:1,span:1,spellcheck:1,src:4,srcset:12,start:1,step:1,style:5,summary:1,tabindex:1,target:8,title:1,translate:1,type:1,valign:1,value:1,width:1,wrap:1},Mub={a:{href:[{Ad:3}]},area:{href:[{Ad:3}]},audio:{src:[{Ad:3}]},button:{formaction:[{Ad:3}],
formmethod:[{Ad:1}]},form:{action:[{Ad:3}],method:[{Ad:1}]},iframe:{srcdoc:[{Ad:2}]},img:{src:[{Ad:3}],srcset:[{Ad:11}]},input:{accept:[{Ad:1}],formaction:[{Ad:3}],formmethod:[{Ad:1}],pattern:[{Ad:1}],readonly:[{Ad:1}],src:[{Ad:3}]},link:{href:[{Ad:3,Fi:"rel",Oi:"alternate"},{Ad:3,Fi:"rel",Oi:"author"},{Ad:3,Fi:"rel",Oi:"bookmark"},{Ad:3,Fi:"rel",Oi:"canonical"},{Ad:3,Fi:"rel",Oi:"cite"},{Ad:3,Fi:"rel",Oi:"help"},{Ad:3,Fi:"rel",Oi:"icon"},{Ad:3,Fi:"rel",Oi:"license"},{Ad:3,Fi:"rel",Oi:"next"},{Ad:3,
Fi:"rel",Oi:"prefetch"},{Ad:3,Fi:"rel",Oi:"dns-prefetch"},{Ad:3,Fi:"rel",Oi:"prerender"},{Ad:3,Fi:"rel",Oi:"preconnect"},{Ad:3,Fi:"rel",Oi:"preload"},{Ad:3,Fi:"rel",Oi:"prev"},{Ad:3,Fi:"rel",Oi:"search"},{Ad:3,Fi:"rel",Oi:"subresource"}]},script:{defer:[{Ad:1}]},source:{src:[{Ad:3}],srcset:[{Ad:11}]},textarea:{readonly:[{Ad:1}]},video:{src:[{Ad:3}]}};var Ewb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,g6={},Pub=(g6[1]={Gr:null,Eu:null,Zs:null},g6[2]={Gr:function(){return g.ge.toString()},
Eu:function(a){return a instanceof g.re},
Zs:function(a){return g.se(a)}},g6[3]={Gr:function(a,b,c){return Ewb.test(c)?c:g.ge.toString()},
Eu:function(a){return a instanceof g.ce},
Zs:function(a){return g.de(a)}},g6[4]={Gr:function(){return g.ge.toString()},
Eu:function(a){return a instanceof g.Yd},
Zs:function(a){return g.Zd(a)}},g6[5]={Gr:null,
Eu:function(a){return a instanceof g.le},
Zs:function(a){return a.toString()}},g6[7]={Gr:null,
Eu:null,Zs:null},g6[8]={Gr:null,Eu:null,Zs:null},g6[10]={Gr:null,Eu:null,Zs:null},g6);var Kvb=Symbol("ATTR_TAG_VALUE");RegExp.prototype.hasOwnProperty("sticky");var Fwb=gub(),Vub=Fwb.__default,Wub=Fwb.style,Uub=["focusin","focusout"];var C5={ypb:function(){},
Hrb:function(){},
Cpb:function(){},
ZW:function(){},
zpb:function(){},
l8:function(){},
wE:function(){},
nJ:function(){},
m8:function(){}};var D5=Symbol("IS_VNODE");z5.prototype.wE=function(){};
z5.prototype.l8=function(){};
z5.prototype.nJ=function(){};
z5.prototype.m8=function(){};var A5=null;g.x(B5,z5);B5.prototype.Dy=function(a){var b=this,c=A5;A5=this;this.D=0;try{return o5(function(){return Z4(g.omb,function(){return t5(b.qJ,function(){return b.B(a)})})})}finally{A5=c}};var N5,F5=$ub;var O5=Symbol("reactiveData");var avb=Object.assign({},Dwb,{pE:Bub,Lt:!1});var cvb=Object.assign({},Dwb,{pE:Bub,Lt:!0});var Gwb;(Gwb=globalThis).LEGACY_SCRIPT_LOADED!=null||(Gwb.LEGACY_SCRIPT_LOADED=!1);var Hwb;(Hwb=globalThis).isLegacyScript!=null||(Hwb.isLegacyScript=function(){return!1});var qvb=mvb;N5=rvb;var uvb=[];(function(){var a=k5;k5=function(b){a==null||a(b);vvb(b)}})();(function(a){var b={},c;for(c in a)b={T0:void 0,C_:void 0},b.T0=C5[c],b.C_=a[c],C5[c]=function(d){return function(){var e=g.Ja.apply(0,arguments);d.T0.apply(null,g.ra(e));d.C_.apply(null,g.ra(e))}}(b)})({ZW:function(a){t5(a.qJ,function(){var b;
((b=a.xz)==null?0:b.length)&&Cvb(a.xz)})},
wE:function(a){t5(a.qJ,function(){var b;((b=a.xz)==null?0:b.length)&&Cvb(a.xz)})},
nJ:function(a){var b;((b=a.EA)==null?0:b.length)&&a.EA.forEach(Bvb)}});N5=rvb;var Jvb,Tvb=new Set(["For","If","Match","Watch"]),Iwb={},Jwb=(Iwb.__default=function(){return y5},Iwb.style=function(){return y5},Iwb),h6;
for(h6 in Jwb)p5.attributes[h6]=Jwb[h6](p5.attributes[h6]);var awb=[],bwb=!1;g.x(iwb,g.W);g.k=iwb.prototype;g.k.hide=function(){this.N=!0;g.W.prototype.hide.call(this);jwb(this,!1)};
g.k.show=function(){this.N=!1;g.W.prototype.show.call(this);jwb(this,!0)};
g.k.isHidden=function(){return this.N};
g.k.X4=function(){this.scrollTo(this.C-this.containerWidth)};
g.k.Y4=function(){this.scrollTo(this.C+this.containerWidth)};
g.k.resize=function(a,b){var c=this.api.U(),d=16/9,e=a.width>=650,f=a.width<480||a.height<290,h=Math.min(this.suggestionData.length,this.j.length);if(Math.min(a.width,a.height)<=150||h===0||!c.Ed)this.hide();else{var l;if(e){var m=l=28;this.B=16}else this.B=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.B;var q=Math.floor(m/d);b&&q+100>b&&m>50&&(q=Math.max(b,50/d),l=Math.ceil(a/(d*(q-100)+this.B)),m=a/l-this.B,
q=Math.floor(m/d));m<50||g.ET(this.api)?this.hide():this.show();for(b=0;b<h;b++){d=this.j[b];var r=d.Fa("ytp-suggestion-image");r.style.width=m+"px";r.style.height=q+"px";d.Fa("ytp-suggestion-title").style.width=m+"px";d.Fa("ytp-suggestion-author").style.width=m+"px";d=d.Fa("ytp-suggestion-duration");d.style.display=d&&m<100?"none":""}h=e+n+p+4;this.K=h+c+(q-f)/2;this.suggestions.element.style.height=q+h+"px";this.D=m;this.containerWidth=a;this.columns=l;this.C=0;this.suggestions.element.scrollLeft=
-0;kwb(this)}};
g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.U();this.Y=a.Jf?!1:b.D;a.suggestions?this.suggestionData=g.Mt(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
lwb(this);a.Jf?this.title.update({title:g.aJ('\u0414\u0440\u0443\u0433\u0438\u0435 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u043a\u0430\u043d\u0430\u043b\u0435 "$DNI_RELATED_CHANNEL"',{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u044d\u0442\u0438 \u0440\u043e\u043b\u0438\u043a\u0438"})};
g.k.scrollTo=function(a){a=g.ze(a,this.containerWidth-this.suggestionData.length*(this.D+this.B),0);this.ra.start(this.C,a,1E3);this.C=a;kwb(this);jwb(this,!0)};g.x(X5,g.JV);X5.prototype.show=function(){g.JV.prototype.show.call(this);nwb(this,this.api.qb().getPlayerSize())};
X5.prototype.resize=function(a){g.JV.prototype.resize.call(this,a);this.j&&(nwb(this,a),g.Ov(this.element,"related-on-error-overlay-visible",!this.j.isHidden()))};
X5.prototype.B=function(a){g.JV.prototype.B.call(this,a);var b=this.api.getVideoData();if(b.PD||b.playerErrorMessageRenderer)(a=b.PD)?qwb(this,a):b.playerErrorMessageRenderer&&qwb(this,b.playerErrorMessageRenderer);else{var c;a.Rn&&(b.yw?owb(b.yw)?c=g.SE(b.yw):c=g.KV(g.RE(b.yw)):c=g.KV(a.Rn),this.Dd(c,"subreason"))}};g.x(rwb,g.W);g.k=rwb.prototype;g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=Ztb(),c=96714;g.kT(a)?(b=$tb(),c=216165,g.Kv(this.element,"ytp-music-impression-link")):g.Mv(this.element,"ytp-music-impression-link");this.updateValue("logoSvg",b);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,c)};
g.k.Gk=function(){this.api.getPlayerStateObject().isCued()||(this.hide(),this.api.logVisibility(this.element,!1))};
g.k.QU=function(){var a=this.api.getVideoData(),b=this.api.U(),c=this.api.getVideoData().Jf,d=b.Fd,e=!b.Ed,f=this.Pe.Tg();b=b.C;d||f||c||e||b||this.api.fd()||!a.videoId?(this.hide(),this.api.logVisibility(this.element,!1)):(a=swb(this),this.updateValue("url",a),this.show())};
g.k.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=swb(this);g.$T(b,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)};
g.k.show=function(){this.api.getPlayerStateObject().isCued()&&(g.W.prototype.show.call(this),this.api.hasVe(this.element)&&this.api.logVisibility(this.element,!0))};g.x(Y5,g.W);Y5.prototype.Gk=function(){var a=this.api.getPlayerStateObject();!this.api.oi()||g.yF(a,2)&&g.BT(this.api)||g.yF(a,64)?(this.api.logVisibility(this.j,!1),this.api.logVisibility(this.forwardButton,!1),this.hide()):(this.show(),this.api.logVisibility(this.j,!0),this.api.logVisibility(this.forwardButton,!0))};
Y5.prototype.B=function(){this.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,83);this.api.logClick(this.j)};
Y5.prototype.C=function(){this.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,82);this.api.logClick(this.forwardButton)};g.x(Z5,g.W);Z5.prototype.C=function(){var a=this.api.getPlayerStateObject();this.api.getVideoData().mutedAutoplay&&(g.yF(a,2)&&!this.Ib?(this.show(),this.j||(this.j=new g.HV(this.api),g.M(this,this.j),this.j.Ka(this.D,0),this.j.show()),a=this.api.getVideoData(),this.updateValue("text",a.JU),g.Ov(this.element,"ytp-muted-autoplay-show-end-panel",!0),this.api.logVisibility(this.element,this.Ib),this.api.Ac("onMutedAutoplayEnds")):this.hide())};
Z5.prototype.onClick=function(){if(!this.B){this.j&&(this.j.ya(),this.j=null);g.Ov(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Vtb(a);this.api.loadVideoById(a.videoId,b);this.api.lB();this.api.logClick(this.element);this.hide();this.B=!0}};
Z5.prototype.onMutedAutoplayStarts=function(){this.B=!1;this.j&&(this.j.ya(),this.j=null)};g.x($5,g.W);g.k=$5.prototype;g.k.onStateChange=function(a){this.Ic(a.state)};
g.k.Ic=function(a){this.state!==a&&(this.state=a);twb(this)};
g.k.onVideoDataChange=function(){var a=this.api.U();a.C&&g.Kv(this.element,"ytp-no-hover");var b=this.api.getVideoData();b.videoId&&!a.C?(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a),this.j||(this.j=this.listen("click",this.onClick))):this.j&&(this.updateValue("url",null),this.Oc(this.j),this.j=null);a=Ztb();var c=76758;g.kT(b)&&(a=$tb(),c=216164);this.updateValue("logoSvg",a);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,
c);twb(this)};
g.k.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=this.api.getVideoUrl(!g.JF(a),!1,!0,!0);if(this.api.L("web_player_log_click_before_generating_ve_conversion_params")){var c={};g.qT(this.api,"addEmbedsConversionTrackingParams",[c]);this.api.L("embeds_web_enable_referring_feature_deprecation")||g.JO(c,"emb_yt_watermark");b=g.to(b,c)}g.$T(b,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||
this.api.logClick(this.element)};
g.k.kc=function(a){if((a=a.width<480)&&!this.B||!a&&this.B){var b=new g.W(Ztb()),c=this.Fa("ytp-watermark");g.Ov(c,"ytp-watermark-small",a);g.Ef(c);b.Ka(c);this.B=a}};g.x(wwb,g.W);g.k=wwb.prototype;g.k.bN=function(){var a=this.api.getPlayerStateObject();!this.api.getVideoData().mutedAutoplay||g.yF(a,2)?this.hide():this.Ib||(g.W.prototype.show.call(this),this.api.logVisibility(this.element,this.Ib))};
g.k.f$=function(){this.j&&this.j.hide()};
g.k.onAutoplayBlocked=function(){this.hide();Vtb(this.api.getVideoData())};
g.k.onClick=function(){if(!this.B){g.Ov(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Vtb(a);this.api.loadVideoById(a.videoId,b);this.api.lB();this.api.logClick(this.element);this.api.Ac("onMutedAutoplayEnds");this.B=!0}};
g.k.onMutedAutoplayEnds=function(){this.watermark&&(this.watermark.ya(),this.watermark=null)};g.x(a6,g.W);a6.prototype.hide=function(){g.Mv(this.api.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
a6.prototype.G=function(){this.B=!0;g.Mv(this.api.getRootNode(),"ytp-expand-pause-overlay");this.api.fd()&&this.api.logVisibility(this.element,!1);this.expandButton.focus()};
a6.prototype.K=function(){this.B=!1;g.Kv(this.api.getRootNode(),"ytp-expand-pause-overlay");this.api.fd()&&this.api.logVisibility(this.element,!0);this.focus()};
a6.prototype.Ua=function(){var a=this.api.getPlayerStateObject();g.yF(a,1)||g.yF(a,16)||g.yF(a,32)||(!g.yF(a,4)||g.yF(a,2)||g.yF(a,1024)?(this.B||this.api.logVisibility(this.element,!1),this.D.hide()):this.j.suggestionData.length>0&&(this.B||(g.Kv(this.api.getRootNode(),"ytp-expand-pause-overlay"),g.c2(this.j),this.j.show(),this.api.logVisibility(this.element,!0)),this.D.show()))};g.x(b6,g.W);b6.prototype.show=function(){g.W.prototype.show.call(this);this.api.logVisibility(this.element,!0)};
b6.prototype.ya=function(){c6(this);g.W.prototype.ya.call(this)};g.x(Awb,g.gV);g.k=Awb.prototype;g.k.qn=function(){return!1};
g.k.create=function(){var a=this.J.U(),b=g.vT(this.J),c,d=(c=this.J.getVideoData())==null?void 0:c.clientPlaybackNonce;d&&g.LG({clientPlaybackNonce:d});a.eb&&Cwb(this);this.Z=new wwb(this.J);g.M(this,this.Z);g.HT(this.J,this.Z.element,4);this.va=new Z5(this.J);g.M(this,this.va);g.HT(this.J,this.va.element,4);a.Fd&&(this.watermark=new $5(this.J),g.M(this,this.watermark),g.HT(this.J,this.watermark.element,8));b&&(this.K=new rwb(this.J,b),g.M(this,this.K),g.HT(this.J,this.K.element,8),g.tT(this.J.app)&&
(this.onMutedAutoplayStarts(),this.K.hide()));a.B&&(this.ra=new Y5(this.J),g.M(this,this.ra),g.HT(this.J,this.ra.element,4));this.j.T(this.J,"appresize",this.kc);this.j.T(this.J,"presentingplayerstatechange",this.Gk);this.j.T(this.J,"videodatachange",this.onVideoDataChange);this.j.T(this.J,"videoplayerreset",this.onReset);this.j.T(this.J,"onMutedAutoplayStarts",this.onMutedAutoplayStarts);this.j.T(this.J,"onAdStart",this.onAdStart);this.j.T(this.J,"onAdComplete",this.onAdComplete);this.j.T(this.J,
"onAdSkip",this.onAdSkip);this.j.T(this.J,"onAdStateChange",this.onAdStateChange);if(this.N=g.fB(g.wR(a)))this.countdownTimer=new b6(this.J),g.M(this,this.countdownTimer),g.HT(this.J,this.countdownTimer.element,4),this.countdownTimer.hide(),this.j.T(this.J,g.VI("embeds"),this.onCueRangeEnter),this.j.T(this.J,g.WI("embeds"),this.onCueRangeExit);this.Hc(this.J.getPlayerStateObject());this.player.Hg("embed");var e,f;((e=this.J.U().getWebPlayerContextConfig())==null?0:(f=e.embedsHostFlags)==null?0:f.allowOverridingVisitorDataPlayerVars)&&
(a=g.jA("IDENTITY_MEMENTO"))&&this.J.dn("onMementoChange",a)};
g.k.onCueRangeEnter=function(a){a.getId()==="countdown timer"&&this.countdownTimer&&(this.countdownTimer.show(),ywb(this.countdownTimer))};
g.k.onCueRangeExit=function(a){a.getId()==="countdown timer"&&this.countdownTimer&&(c6(this.countdownTimer),this.countdownTimer.hide())};
g.k.kc=function(){var a=this.J.qb().getPlayerSize();this.Ag&&this.Ag.resize(a)};
g.k.onReset=function(){zwb(this)};
g.k.Gk=function(a){this.Hc(a.state)};
g.k.Hc=function(a){g.yF(a,128)?(this.Ag||(this.Ag=new X5(this.J),g.M(this,this.Ag),g.HT(this.J,this.Ag.element,4)),this.Ag.B(a.hh),this.Ag.show(),g.Kv(this.J.getRootNode(),"ytp-embed-error")):this.Ag&&(this.Ag.dispose(),this.Ag=null,g.Mv(this.J.getRootNode(),"ytp-embed-error"));if(this.countdownTimer&&this.countdownTimer.j)if(g.yF(a,64))this.countdownTimer.hide(),c6(this.countdownTimer);else if(a.isPaused()){var b=this.countdownTimer;b.B||(b.B=!0,b.G=(0,g.iC)())}else a.isPlaying()&&this.countdownTimer.B&&
(b=this.countdownTimer,b.B&&(b.D+=(0,g.iC)()-b.G,b.B=!1,xwb(b)));Bwb(this,a)};
g.k.onMutedAutoplayStarts=function(){this.J.getVideoData().mutedAutoplay&&this.Z&&g.Ov(this.J.getRootNode(),"ytp-muted-autoplay",!0)};
g.k.onVideoDataChange=function(a,b){var c=this.QF!==b.videoId;a=!c&&a==="dataloaded";var d={isShortsModeEnabled:!!this.J.fd()};g.VB("embedsVideoDataDidChange",{clientPlaybackNonce:b.clientPlaybackNonce,isReload:a,runtimeEnabledFeatures:d});c&&(this.QF=b.videoId,this.countdownTimer&&(this.countdownTimer.show(),this.countdownTimer.hide()),this.N&&(this.J.sf("embeds"),b.isAd()||b.limitedPlaybackDurationInSeconds<5||g.ET(this.J)||(b=Math.max((b.startSeconds+b.limitedPlaybackDurationInSeconds-5)*1E3,0),
b=new g.UI(b,b+5E3,{id:"countdown timer",namespace:"embeds"}),this.J.nf([b]))),this.J.U().eb&&(zwb(this),Cwb(this)));this.J.U().C&&this.C&&this.C.detach()};
g.k.onAdStart=function(){d6(this,"EMBEDS_AD_EVENT_TYPE_AD_STARTED")};
g.k.onAdComplete=function(){d6(this,"EMBEDS_AD_EVENT_TYPE_AD_COMPLETED")};
g.k.onAdSkip=function(){d6(this,"EMBEDS_AD_EVENT_TYPE_AD_SKIPPED")};
g.k.onAdStateChange=function(a){a===2&&d6(this,"EMBEDS_AD_EVENT_TYPE_AD_PAUSED")};g.fV("embed",Awb);})(_yt_player);
