File: /home/slyfwmm/dallavitae/assets/embed.js
(function(g){var window=this;/*
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright 2017 Google LLC
SPDX-License-Identifier: BSD-3-Clause
*/
'use strict';var Ptb=function(a){a.mutedAutoplay=!1;a.endSeconds=NaN;a.limitedPlaybackDurationInSeconds=NaN;g.uS(a)},Qtb=function(a){g.ev(a);
for(var b=0;b<a.rg.length;b++){var c=a.rg[b],d=a.gy[b];if(d!==c.version)return!0;if(!g.bv(c)||c.bl)if(c.bl||c.HZ!==g.hv)(c.X0(c)||Qtb(c))&&c.Y0(c),c.bl=!1,c.HZ=g.hv;if(d!==c.version)return!0}return!1},Rtb=function(a){g.ev(a);
if(g.bv(a))for(var b=0;b<a.rg.length;b++)g.cv(a.rg[b],a.Vm[b]);a.rg.length=a.gy.length=a.Vm.length=0;a.Zi&&(a.Zi.length=a.Bu.length=0)},Stb=function(a,b,c){function d(f){e.Cz=f}
var e=Object.create(g.gmb);c&&(e.Dt=!0);e.Bm=a;e.schedule=b;a={};e.VB=(a.notify=function(){return g.Tka(e)},a.dC=function(){if(e.Bm!==null){if(g.$u)throw Error("Schedulers cannot synchronously execute watches while scheduling.");
e.bl=!1;if(!e.lF||Qtb(e)){e.lF=!0;var f=g.av(e);try{e.Cz(),e.Cz=g.iv,e.Bm(d)}finally{g.dv(e,f)}}}},a.Cpb=function(){return e.Cz()},a.destroy=function(){if(e.Bm!==null||e.schedule!==null)Rtb(e),e.Cz(),e.Bm=null,e.schedule=null,e.Cz=g.iv},a[g.gv]=e,a);
return e.VB},Z4=function(a,b){a=g.Zu(a);
try{return b()}finally{g.Zu(a)}},Ttb=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"}}]}},
Utb=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"}}]}},Vtb=function(){},$4=function(a,b){for(;a.length>b;)a.pop()},Wtb=function(a){a=Array(a);
$4(a,0);return a},Xtb=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)}},Ztb=function(a,b,c){a=a.style;
if(typeof c==="string")a.cssText=c;else{a.cssText="";for(var d in c)if(Ytb.call(c,d)){b=a;var e=d,f=c[d];e.indexOf("-")>=0?b.setProperty(e,f):b[e]=f}}},$tb=function(a,b,c){var d=typeof c;
d==="object"||d==="function"?a[b]=c:Xtb(a,b,c)},aub=function(){var a=new Vtb;
a.__default=$tb;a.style=Ztb;return a},bub=function(a,b,c,d){(d[b]||d.__default)(a,b,c)},cub=function(a){this.created=[];
this.j=[];this.node=a},dub=function(a,b){this.j=null;
this.B=a;this.key=b;this.text=void 0},eub=function(a,b,c){b=new dub(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=eub(a,c,a.nodeType===1?d||b:null);if(a.nodeType===1&&(a=a.attributes,c=a.length)){d=b.j||(b.j=Wtb(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},fub=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},gub=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(""),eub(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),eub(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}},hub=function(a,b){gub(a,b);
b5=f5;f5=null;return b5},jub=function(a,b){b=b===void 0?{}:b;
var c=b.matches===void 0?fub: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 cub(d);g5=c;j5=[];f5=null;var t=b5=d.parentNode,u,w=iub.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}}},kub=function(a,b,c,d){l5.push(bub);
l5.push(a);l5.push(b);l5.push(c);l5.push(d)},lub=function(a){gub("#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)}},mub=function(a){var b=a.component;
var c=a.debugInstance;a=a.Bm;var d,e=(d=b.Lpb)!=null?d:b.name;m5.push({name:c?e+" ("+c+")":e,NA:!!b.NA});b=a();m5.pop();return b},n5=function(){var a=m5[m5.length-1];
return a?a.NA||!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 nub(d),d;}finally{a=m5.length-c,a>0&&m5.splice(-a)}},nub=function(a){var b=m5;
if(b.length!==0&&!a.XI){var c=b.slice(-20).reverse().map(function(d){return d.name}).join(" > ");
c=a.message+"\n\nComponent stack: "+c;try{a.XI=b.slice(),p5.s8&&(a.stack&&(a.stack=a.stack.replace(a.message,c)),a.message=c)}catch(d){}}},r5=function(a){var b=q5;
if(b&&b!==oub){var c=m5.slice();b.tE||(b.tE=[]);b.tE.push(function(){return void o5(function(){return void a()},{stack:c})})}},qub=function(a){var b=q5;
b&&!b.Na&&(r5(function(){return void pub(a)}),a.parent=b)},rub=function(a){a.tE&&(Z4(g.hmb,function(){for(var b=g.v(a.tE),c=b.next();!c.done;c=b.next())c=c.value,c()}),a.tE.length=0)},pub=function(a){if(!a.Na){a.Na=!0;
var b;(b=a[s5])==null||b.call(a);delete a.parent;rub(a)}},sub=function(a){for(var b=g.v(a),c=b.next();!c.done;c=b.next())c=c.value,a.delete(c),t5(c)},tub=function(){Rtb(this);
u5.delete(this);pub(this)},uub=function(a){a.Na||u5.add(a)},vub=function(a){return g.G(function(b){if(b.j==1)return a.Na?b.return():g.z(b,Promise.resolve(),2);
t5(a);g.Aa(b)})},t5=function(a){if(a.IS!==null&&!a.Na){if(g.$u)throw Error("Schedulers cannot synchronously execute effects while scheduling.");
a.bl=!1;if(!a.lF||Qtb(a)){a.lF=!0;wub++;rub(a);var b=q5;q5=a;var c=g.av(a);try{o5(a.IS,{stack:a.XI})}finally{g.dv(a,c),q5=b}}}},v5=function(a,b){var c=q5;
q5=a;try{return b()}finally{q5=c}},xub=function(a){for(var b=g.v(a),c=b.next();!c.done;c=b.next())c=c.value,a.delete(c),c.dC()},yub=function(a){a.Na||w5.add(a)},zub=function(a){return g.G(function(b){if(b.j==1)return a.Na?b.return():g.z(b,Promise.resolve(),2);
a.dC();g.Aa(b)})},Bub=function(a,b,c){function d(){return void o5(b,{stack:e})}
Aub++;var e=m5.slice(),f=Stb(function(){f.Na||(wub++,rub(f),v5(f,d))},function(){return void a(f)},c===void 0?!1:c);
f.CZ=!0;qub(f);f[s5]=function(){f.destroy();w5.delete(f)};
return f},Cub=function(a,b,c,d){d=d===void 0?!1:d;
p5.KM?(Aub++,b=Object.create(b),b.XI=m5.slice(),b.IS=a,qub(b),a=b):a=Bub(c,a,d);return a},Eub=function(a){a=Cub(a,Dub,yub);
p5.KM?t5(a):a.dC()},Gub=function(a){a=Cub(a,Fub,yub,!0);
p5.KM?t5(a):a.dC()},Hub=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[x5]=!0,d},y5=function(a){return a.children},A5=function(a,b){var c=z5;
z5=a;try{return b()}finally{z5=c}},Jub=function(a){function b(d,e,f){g.Wr(d,Iub);
for(var h=Math.min(e.length-f,d.length),l=0;l<h;l++)if(d[l]!==Iub(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},Iub=function(a){return"A"<=a&&a<="Z"?a.toLowerCase():a},B5=function(){return document.createTextNode("")},C5=function(a){a=document.createTextNode(String(a));
a._isSignalTextNode=!0;return a},D5=function(a){a=typeof a;
return a==="string"||a==="number"||a==="boolean"},E5=function(a){return a instanceof g.Yd||a instanceof g.ce||a instanceof g.pe||!1},Kub=function(a,b){a.parentElement&&a.parentElement.replaceChild(b,a);
return b},Lub=function(a,b){a.textContent!==String(b)&&(a.textContent=String(b));
return a},F5=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},Mub=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},G5=function(a){return g.db(a)?"nodeType"in a:!1},Pub=function(a){var b={}.vpb;
var c=Nub();(b?Gub:Eub)(function(){var d=c[0],e=c.Am,f=A5(H5,a);d=Oub(d,f,c);Array.isArray(d)||(c.Am=[d]);f=c.Am;if(e&&(!Array.isArray(e)||e.length!==0)){e=Array.isArray(e)?e[0]:e;var h=e[I5],l=e._disposeEffects;e._disposeEffects=void 0;e=Array.isArray(f)?f[0]:f;e[I5]=h;e[I5]&&(e[I5].H_=e===f?1:f.length);e._disposeEffects=l}c[0]=d});
return c},Oub=function(a,b,c){for(;typeof b==="function";)b=b();
if(b!=null&&b[x5]){var d;throw Error("Encountered a VNode when only real nodes are expected. Tag name: "+((d=b.type)==null?void 0:d.jw));}if(a==null)return b==null?B5():D5(b)?C5(b):E5(b)?C5(b.toString()):G5(b)?b:b.length===0?B5():J5(b,c);if(G5(a)){if(b==null)return Kub(a,B5());if(D5(b))return Lub(a,b);if(E5(b))return Lub(a,b.toString());if(G5(b))return Kub(a,b);if(b.length===0)return Kub(a,B5());b=J5(b,c);Mub([a],c.Am);return b}a=K5(a);if(b==null)return F5(a,B5());if(D5(b))return F5(a,C5(b));if(E5(b))return F5(a,
C5(b.toString()));if(G5(b))return Mub(a,[b])[0];if(b.length===0)return F5(a,B5());b=J5(b,c);Mub(a,c.Am);return b},K5=function(a,b,c){return Qub(a,b!=null?b:[],c===void 0?!1:c)},J5=function(a,b){var c=K5(a,void 0,!0);
if(c.length===0)return B5();b.Am=c;return a},Qub=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;D5(a)&&(a=C5(a),d&&c&&(d[e]=a));E5(a)&&(a=C5(a.toString()),d&&c&&(d[e]=a));isLegacyScript(a)&&(a=C5(a.build()),d&&c&&(d[e]=a));if(G5(a))return Rub(b,a);if(Array.isArray(a)){for(d=0;d<a.length;d++)Qub(a[d],b,c,a,d);return b}if(typeof a==="function")return a=Pub(a)[0],d&&c&&(d[e]=a),Rub(b,a);if(a!=null&&a[x5]){var f=a;a=A5(H5,function(){return z5.apply(null,[f.type,f.props].concat(g.ra(f.children)))});
return Qub(a,b,c)}throw Error("Unrecognized JSXResult type in flattening.");},Nub=function(a){var b=[];
if(!a)return b.Am=[],b;b[0]=J5(a,b);return b},Rub=function(a,b){Array.isArray(a)?a.push(b):a.appendChild(b);
return a},Uub=function(a,b,c){if(Object.hasOwnProperty.call(Sub,a)&&(a=Sub[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.Bi;
if(!m)return l.Ad;d===null&&(d={});m=Object.hasOwnProperty.call(d,m)?d[m]:d[m]=c(m);if(m===l.Li)return l.Ad;m==null&&(e=!0)}if(e)return null}b=Tub[b];return typeof b==="number"?b:null},Wub=function(a,b,c){if(c===null||c===void 0)return c;
var d=Uub(a.tagName.toLowerCase(),b,function(){throw Error("Contingent attribute/property lookups are not supported.");});
if(d===null)return c;d=Vub[d];var e;if((e=d.vu)==null?0:e.call(d,c)){if(d.Rs)return d.Rs(c);throw Error("Value Handler's unwrap function does not exist.");}return d.zr?d.zr(a.tagName,b,String(c)):c},L5=function(a,b,c){if(c===!1&&Xub.has(b))Xtb(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.sA)==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.hY!=="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.hY(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||!Yub.includes(f))a["on"+f]=e}else{Zub(a,b,c);return}else if(b.startsWith("data-")&&typeof c==="string")try{c=Jub(c)}catch(h){c="zSoyz"}typeof c!=="function"||a._disposeEffects!=null?(p5.r8&&(c=Wub(a,b,c)),b==="style"?$ub(a,b,c):b.startsWith("prop:")?a[b.slice(5)]=c:Zub(a,b,c)):(a._signalProps||(a._signalProps=[]),a._signalValues||(a._signalValues=[]),a._signalProps.push(b))}},avb=function(a,b,c){c=(c===void 0?{}:c).NA;
if(b==null?0:b.el){var d=b.el;if(typeof d==="function")d(a);else{var e;(e=d.Wba)==null||e.call(d,a);a._disposeRef||(a._disposeRef=function(){var f;(f=d.Lca)==null||f.call(d);delete a._disposeRef},c&&r5(function(){var f;
return void((f=a._disposeRef)==null?void 0:f.call(a))}))}}},M5=function(a){var b=!!q5,c={};
(b===void 0||b)&&qub(c);v5(c,function(){return void a(c)});
return function(){return void pub(c)}},N5=function(a){this.props=a;
this.C=!1},bvb=function(){if(n5())throw Error("Reactive components are not allowed to use useState or other memoization based hooks.");
return O5},P5=function(a){N5.call(this,a);
var b=this;this.xA=[];this.D=0;this.G=M5(function(c){b.kJ=c;r5(function(){cvb(b,b.el)})})},cvb=function(a,b){if(!a.C&&b){a.C=!0;
try{a.hJ()}catch(e){var c,d;(d=p5.sA)==null||d.call(p5,(c=a.j)==null?void 0:c.jw,e)}Q5.hJ(a);a.el=null;b.__instance&&delete b.__instance}},dvb=function(a,b){var c,d,e=M5(function(n){d=n;
c=A5(H5,function(){return Z4(g.imb,function(){return a(b)})})});
c!=null&&c.Am||!Array.isArray(c)||(c=Nub(c));var f=c!=null&&c.Am?c.Am: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.l3;h._disposeEffects=e;e=h[I5]||{};Object.assign(e,{key:m,props:l?b:void 0,H_:f!==h?f.length:1,context:d,b$:!!h[I5],l2:c!=null&&c.Am?c:e.l2});h[I5]=e}else e();v5(d,function(){});
return c},evb=function(a,b){a._disposeEffects==null&&a._signalProps!=null&&(a._disposeEffects=M5(function(){Eub(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,L5(a,f,h))}})}))},fvb=function(a,b){a._disposeEffects=M5(function(){a._isSignalTextNode=!0;
Eub(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)})})},ivb=function(a,b){var c=g.Ja.apply(2,arguments);
b!=null||(b={});if(a===y5)return c;if(typeof a==="function")return mub({component:a,debugInstance:b.debugInstance,Bm:function(){c.length>0&&(b.children=c.length===1?c[0]:c);var f=gvb(a,b);return f===!1?hvb(a,b):f}});
var d=document.createElement(a),e;for(e in b)L5(d,e,b[e]);evb(d,b);K5(c,d);avb(d,b,{NA:!0});return d},gvb=function(a,b){if(a.arb||a.NA)return!1;
b||(b={});var c=new P5(b);c.B=a;var d=Z4(g.imb,function(){return c.sy(b)});
if(!(d instanceof HTMLElement))return d;d.__instance=c;c.el=d;c.j=a;a.jw=d.tagName.toLowerCase();Q5.pE(c);return d},kvb=function(a){a=Cub(a,jvb,zub);
p5.KM?vub(a):zub(a)},lvb=function(a){kvb(function(){Z4(null,a)})},mvb=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 N5&&(b=a.__instance,cvb(b,a),b instanceof P5&&b.G());for(b=0;b<a.childNodes.length;b++)mvb(a.childNodes[b])}},ovb=function(a){nvb.push(a)===1&&requestAnimationFrame(function(){setTimeout(function(){var b=[].concat(g.ra(nvb));
nvb=[];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++)mvb(c[d])}catch(e){d=c=void 0,(d=(c=p5).sA)==null||d.call(c,"unknown",e)}}})})},R5=function(a,b){return z5.apply(null,[a,
b].concat(g.ra(g.Ja.apply(2,arguments))))},pvb=function(a){var b=null,c;
return{value:null,Wba:function(d){if(c&&d!==c){var e;(e=b)==null||e();c._disposeRef=void 0}c=d;b=a(d)||null},
Lca:function(){var d;(d=b)==null||d()}}},qvb=function(a){var b=bvb();
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.xA||(b.xA=[]);var d=b.xA;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]},
rvb=function(a,b){return!a||a.length!==(b==null?void 0:b.length)||a.some(function(c,d){return c!==b[d]})},svb=function(a,b){var c=qvb("onChange"),d=bvb();
rvb(c.dh,b)&&(c.dh=b,c.D0=a,d.oz||(d.oz=[]),d.oz.push(c))},S5=function(a,b){svb(function(){return Z4(null,a)},b)},tvb=function(a){n5()?lvb(function(){Z4(null,a)}):svb(function(){return Z4(null,a)},[])},vvb=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;uvb(b);var c=b.D0;b.D0=null;if(c=c==null?void 0:c())b.C0=c}},uvb=function(a){var b=a.C0;
a.C0=null;b==null||b()},T5=function(a){var b=[];
if(n5())return a();var c=qvb("useMemoInternal");rvb(c.dh,b)&&(c.dh=b,c.value=a());return c.value},U5=function(){var a=T5(function(){return pvb(function(b){a.value=b;
var c=Z4(null,function(){});
return function(){c==null||c();a.value=null}})});
return a},wvb=function(a){var b=q5,c=m5.slice();
return{hY:function(){return function(d){b.Na||o5(function(){return a(d)},{stack:c})!==!0&&d.stopPropagation()}}}},xvb=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},zvb=function(a,b,c){c=c===void 0?!1:c;
o5(function(){return yvb(a,b,c)})},yvb=function(a,b,c){c=((c===void 0?0:c)?Avb:Bvb)(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.pe)lub(a.toString());else if(G5(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")lub(a);else if(typeof a==="function"){b=b5;var d=c5();if(!d||
!d._isSignalTextNode){var e=b.insertBefore,f=document.createTextNode("");fvb(f,a);e.call(b,f,d)}f5=c5()}else if(isLegacyScript(a))lub(a.build());else{if(typeof a.type==="string"){a.Yq||hub(a.type,a.props.idomKey);b=b5;for(e in a.props)a.props[e]!==Cvb&&(f=a.props[e],c=j5,c.push(e),c.push(f));e=p5.attributes;e=e===void 0?Dvb:e;f=b5;var h=a5(f);c=e;e=j5;h=h.j||(h.j=Wtb(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,kub(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&&kub(f,l,n,c),h[m]=l,h[m+1]=n,delete W5[l];$4(h,e.length);for(d in W5)kub(f,d,void 0,c),delete W5[d]}d=Evb;Evb=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]);Evb=d;$4(l5,d);$4(e,0);evb(b,a.props);(a.props.skip||a.props.skipchildren)&&b5.hasChildNodes()?f5=b5.lastChild:V5(a.children);e5(null);f5=b5;b5=b5.parentNode;a.Yq&&(a.Yq=!1);avb(b,a.props);
return b}if(a.type===y5)V5(a.children);else if(!Fvb(a)){try{Gvb(a)}catch(q){d=q,(f=p5.sA)==null||f.call(p5,(b=a.type)==null?void 0:b.jw,d)}a.Yq&&(e5(null),f5=b5,b5=b5.parentNode,a.Yq=!1)}}}},Hvb=function(a,b){var c;
((c=a.prototype)==null?void 0:c.sy)===void 0?(b=new P5(b),b.B=a):b=new a(b);b.j=a;b.NN={rR:b.state,zZ:!1};return b},Gvb=function(a){var b=a.type,c=b.jw;
if(b===xvb)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=hub(c,a.props.idomKey);a.Yq=!0;var f=e.__instance}f||(f=Hvb(b,a.props),f.props=null,e&&(e.__instance=f,f.el=e));var h;c=((h=f.NN)!=null?h:{rR:f.state,zZ:!1}).rR;f.NN=void 0;b.X8&&(c=b.X8(a.props,c));f.props=a.props;f.state=c;h=function(){var l=f;Q5.WW(l);var m=l.sy(l.props);m?(l.props.idomKey&&(m.props.idomKey=l.props.idomKey),l=m):l=void 0;
if(m=l)if(m.Yq=a.Yq,l=V5(m),a.Yq=m.Yq,!b.jw)if(l)b.jw=l.tagName.toLowerCase(),l.__instance=f,f.el=l;else{var n;if((n=f.xA)==null?0:n.length){var p;(p=p5.sA)==null||p.call(p5,"unknown",Error("A component used hooks, but failed to return a host element"))}}f.pE();Q5.pE(f)};
(c=f.B)?mub({component:c,debugInstance:f.props.debugInstance,Bm:h}):h()}},Fvb=function(a){var b=a.type;
if(!b.NA)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()[I5])==null?void 0:e.key)===d){d=c5();c=d[I5];if(!c)throw Error("Reactive data has been lost on node. Tag name: "+d.tagName);if(!b.l3){var f;(f=c.Hsb)==null||f.call(c,a.props);Ivb(c);return!0}f=q5;b=b.l3(a.props,c.props,f!==null?f:c.context,c.b$);f=Jvb(b);Kvb(a.props,c.props);f>0?V5(b):f5=c5();return!0}if(Lvb.has(b.name)&&a.props.allowIdomInterop!==Mvb)throw Error(b.name+
" can not be called from a IDOM component. See go/cow-errors#control-flow-component-called-from-Idom-Component");(b=mub({component:a.type,debugInstance:a.props.debugInstance,Bm:function(){return hvb(a.type,a.props)}}))&&Nvb(b);
return!0},Jvb=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===y5?b+c.children.length:b+1);return b}if(a.type===y5)return a.children.length}else return 0;return 1},Kvb=function(a,b){b&&(b.children=a.children,b.q8=a.q8,b.fallback=a.fallback)},Ovb=function(a){for(var b=0;b<K5(a).length;b++)f5=c5()},Ivb=function(a){var b=Pvb();
if(b)Ovb(b);else for(var c=0;c<a.H_;c++)(b=Pvb())?Ovb(b):f5=c5()},Pvb=function(){var a;
return(a=c5()[I5])==null?void 0:a.l2},Nvb=function(a){a=a!=null&&a.Am?a.Am: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()},Qvb=function(a){var b=bvb(),c=T5(function(){return{value:typeof a==="function"?a():a}});
return[c.value,function(d){if(O5!==null)throw Error("Can't set state during rendering");c.value=typeof d==="function"?d(c.value):d;b.NN={rR:b.state,zZ:!0};v5(b.kJ,function(){A5(Hub,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[x5]=!0,f);try{zvb(b.el,h,!0)}catch(n){var l,m;(m=p5.sA)==null||m.call(p5,(l=b.j)==null?void 0:l.jw,n)}}})})}]},Rvb=function(){return T5(function(){return{value:null}})},Vvb=function(a){var b=Svb;
Tvb.push(a);Uvb||(b(function(){for(var c=g.v(Tvb),d=c.next();!d.done;d=c.next())d=d.value,d();Tvb.length=0;Uvb=!1}),Uvb=!0)},Svb=function(a){Promise.resolve().then(a)},Wvb=function(a){a=g.v(Qvb(a));
var b=a.next().value,c=a.next().value;return[b,function(d){Vvb(function(){c(d)})}]},Xvb=function(a){function b(){var l=a.J.fd()?"Nascondi la sezione Altri Short":"Nascondi Altri video";
e(l)}
var c=g.v(Qvb("Nascondi Altri video")),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.JE(g.XE())).element}),h=U5();
tvb(function(){h.value.appendChild(f)});
return R5("button",{class:"ytp-button ytp-collapse","aria-label":d,"on:click":wvb(function(){a.action&&a.action()})},R5("div",{class:"ytp-collapse-icon",
el:h,skip:!0}))},Yvb=function(a){function b(){var h=a.J.fd()?"Altri Short":"Altri video";
e(h)}
var c=g.v(Wvb("Altri video")),d=c.next().value,e=c.next().value,f=U5();S5(function(){a.VB&&(a.VB.value=f.value)},[a.VB]);
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":wvb(function(){a.action&&a.action()})},d)},Zvb=function(a,b){var c=Rvb();
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},$vb=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.xF(w,C.value)){A=!0;break a}A=!1}if(!A){var F;(F=p.value)!=null&&F.suggestionData.length>0&&h(g.xF(w,4)&&!g.xF(w,2)&&!g.xF(w,1024))}}
function c(){b(a.J.getPlayerStateObject())}
function d(w){b(w.state)}
var e=g.v(Wvb(!1)),f=e.next().value,h=e.next().value,l=g.v(Wvb(!1));e=l.next().value;var m=l.next().value,n=U5(),p=Zvb(a.J,a.Pe),q=U5();l=Rvb();var r=Rvb();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.Nv(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.Nv(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(Xvb,{J:a.J,Pe:a.Pe,action:function(){m(!0)}}),R5(Yvb,{J:a.J,
Pe:a.Pe,action:function(){m(!1)},
VB:l}),R5("div",{el:n,skip:!0}))},awb=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.MJ(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",La:["ytp-button","ytp-previous"],W:{"aria-label":"Mostra i video consigliati in precedenza"},V:[g.SE()]});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",La:["ytp-button","ytp-next"],W:{"aria-label":"Mostra altri video consigliati"},V:[g.TE()]});g.M(this,this.G);a=a.U();this.api.L("embeds_web_enable_pause_overlay_rounding")&&g.Jv(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.T4,this);g.M(this,this.ra);for(var c={BA:0};c.BA<16;c={BA:c.BA},c.BA++){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.Es(e,"transitionDelay",c.BA/20+"s");this.G.T(e,"click",function(f){return function(h){var l=f.BA,m=b.suggestionData[l],n=m.sessionData;g.mR(b.api.U())&&b.api.L("web_player_log_click_before_generating_ve_conversion_params")?(b.api.logClick(b.j[l].element),l=m.rl(),m={},g.IYa(b.api,m,"emb_rel_err"),l=g.Bn(l,m),g.ZT(l,b.api,h)):g.XT(h,b.api,b.Y,n||void 0)&&b.api.hp(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.S4,this);this.G.T(this.api,"videodatachange",this.onVideoDataChange);this.resize(this.api.qb().getPlayerSize());this.onVideoDataChange();this.show()},bwb=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)},cwb=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.Nv(a.element,"ytp-scroll-min",b>=0);g.Nv(a.element,"ytp-scroll-max",b<=c)},dwb=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.rl(),h=a.api.U();
if(g.mR(h)&&!h.L("web_player_log_click_before_generating_ve_conversion_params")){var l={};g.pT(a.api,"addEmbedsConversionTrackingParams",[l]);a.api.L("embeds_web_enable_referring_feature_deprecation")||g.IO(l,"emb_rel_err");f=g.Bn(f,l)}d.element.style.display="";l=d.Fa("ytp-suggestion-title");g.yla.test(c.title)?l.dir="rtl":g.lmb.test(c.title)&&(l.dir="ltr");l=d.Fa("ytp-suggestion-author");g.yla.test(e)?l.dir="rtl":g.lmb.test(e)&&(l.dir="ltr");d.update({views_or_author:e,duration:c.isLivePlayback?
"Dal vivo":c.lengthSeconds?g.HF(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.gh();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";cwb(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.KR(c),d.href=c,d["aria-label"]="Visita YouTube per cercare altri video");var f=new g.W({I:"a",La: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){ewb(b,h,f.element)});
g.M(this,f);a.U().C||(this.j=new awb(a),this.j.Ka(this.element),g.M(this,this.j));this.T(a,"videodatachange",function(){b.show()});
this.resize(this.api.qb().getPlayerSize())},ewb=function(a,b,c){b.preventDefault();
a.api.logClick(c);b=c.getAttribute("href");c={};g.pT(a.api,"addEmbedsConversionTrackingParams",[c]);b=g.gd(c)?b:g.Bn(b,c);g.Re(b)},fwb=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"},iwb=function(a,b){var c=a.api.U(),d;
b.reason&&(gwb(b.reason)?d=g.RE(b.reason):d=g.KV(g.QE(b.reason)),a.Dd(d,"content"));var e;b.subreason&&(gwb(b.subreason)?e=g.RE(b.subreason):e=g.KV(g.QE(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,!hwb(d,e)&&(!c.C||c.embedsErrorLinks))){var h;c=(h=g.V(b==null?void 0:b.navigationEndpoint,g.cF))==null?
void 0:h.url;var l;h=(l=g.V(b==null?void 0:b.navigationEndpoint,g.cF))==null?void 0:l.target;c&&(f.setAttribute("href",c),a.api.createClientVe(f,a,178424),a.T(f,"click",function(m){ewb(a,m,f)}));
h&&f.setAttribute("target",h);l=g.Bf("DIV");l.appendChild(f);d.appendChild(l)}}},gwb=function(a){if(a.runs)for(var b=0;b<a.runs.length;b++)if(a.runs[b].navigationEndpoint)return!0;
return!1},hwb=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},jwb=function(a,b){g.W.call(this,{I:"a",
La:["ytp-impression-link"],W:{target:"{{target}}",href:"{{url}}","aria-label":"Guarda su YouTube"},V:[{I:"div",S:"ytp-impression-link-content",W:{"aria-hidden":"true"},V:[{I:"div",S:"ytp-impression-link-text",xa:"Guarda su"},{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.Ck);this.T(this.api,"videoplayerreset",this.MU);this.T(this.element,
"click",this.onClick);this.onVideoDataChange();this.MU()},kwb=function(a){var b={};
g.pT(a.api,"addEmbedsConversionTrackingParams",[b]);var c=a.api.getVideoUrl();a.api.L("embeds_web_enable_referring_feature_deprecation")||g.IO(b,"emb_imp_woyt");return c=g.Bn(c,b)},Y5=function(a){g.W.call(this,{I:"div",
La:["ytp-mobile-a11y-hidden-seek-button"],V:[{I:"button",La:["ytp-mobile-a11y-hidden-seek-button-rewind","ytp-button"],W:{"aria-label":"Indietro di 10 secondi","aria-hidden":"false"}},{I:"button",La:["ytp-mobile-a11y-hidden-seek-button-forward","ytp-button"],W:{"aria-label":"Avanti veloce di 10 secondi","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.Ck);this.T(this.j,"click",this.B);this.T(this.forwardButton,"click",this.C);this.Ck()},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",La:["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",La:["ytp-watermark","yt-uix-sessionlink"],W:{target:b.Y,href:"{{url}}","aria-label":g.$I("Guarda su $WEBSITE",{WEBSITE:g.zR(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())},
lwb=function(a){var b=a.api.getVideoData(),c=a.api.U().Fd&&!g.xF(a.state,2)&&!g.iT(a.api.getVideoData(1));
b.mutedAutoplay||g.ME(a,c);a.api.logVisibility(a.element,c)},owb=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",La:["ytp-muted-autoplay-equalizer","ytp-button"],W:{"aria-label":"Indicatore di riproduzione con audio disattivato"},V:[{I:"div",La:["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.Cv(this.a$,4E3,this);this.B=!1;a.createClientVe(this.element,this,39306);this.T(a,"presentingplayerstatechange",this.XM);this.T(a,"onMutedAutoplayStarts",function(){mwb(b);b.XM();nwb(b);b.B=!1});
this.T(a,"onAutoplayBlocked",this.onAutoplayBlocked);this.listen("click",this.onClick);this.T(a,"onMutedAutoplayEnds",this.onMutedAutoplayEnds);this.hide();g.sT(a.app)&&(mwb(this),this.XM(),nwb(this));g.M(this,this.C)},nwb=function(a){a.Ib&&a.j&&(a.j.show(),a.C.start())},mwb=function(a){a.watermark||(a.watermark=new $5(a.api),g.M(a,a.watermark),a.watermark.Ka(a.bottomButtons,0),g.Nv(a.watermark.element,"ytp-muted-autoplay-watermark",!0),a.j=new g.qF(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.MJ(this);this.D=new g.qF(this,1E3,!1,100,function(){b.j.B=!1},function(){b.j.B=!0});
this.B=!1;this.expandButton=new g.W({I:"button",La:["ytp-button","ytp-expand"],xa:this.api.fd()?"Altri Short":"Altri video"});a.U().controlsType==="0"&&g.Jv(a.getRootNode(),"ytp-pause-overlay-controls-hidden");this.api.L("embeds_web_enable_pause_overlay_rounding")&&g.Jv(this.element,"ytp-pause-overlay-round-corners");g.M(this,this.C);g.M(this,this.D);var c=new g.W({I:"button",La:["ytp-button","ytp-collapse"],W:{"aria-label":this.api.fd()?"Nascondi la sezione Altri Short":"Nascondi Altri video"},V:[{I:"div",
S:"ytp-collapse-icon",V:[g.XE()]}]});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",
La:["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)},qwb=function(a){a.j||(a.C=5E3,a.D=(0,g.hC)(),a.j=new g.Bv(function(){pwb(a)},null),pwb(a))},pwb=function(a){if(!a.B){var b=Math.min((0,g.hC)()-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)},swb=function(a){g.fV.call(this,a);
this.J=a;this.j=new g.MJ(this);this.B=null;this.N=!1;this.countdownTimer=null;this.Y=!1;rwb(this);g.M(this,this.j);this.load()},uwb=function(a){var b=g.ukb(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.uT(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.GT(a.J,a.D.element,4),a.B=new g.qF(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")?zvb(a.G.element,R5($vb,{J:a.J,Pe:b})):
(a.C=new a6(a.J,b),g.M(a,a.C),a.C.Ka(a.G.element)),g.GT(a.J,a.G.element,4),twb(a,a.J.getPlayerStateObject())))},twb=function(a,b){a.B&&(!g.xF(b,4)&&!g.xF(b,2)||g.xF(b,1024)?a.B.hide():a.B.show())},rwb=function(a){var b=a.J;
a=!!b.fd();g.Nv(b.getRootNode(),"ytp-shorts-mode",a);if(b=b.getVideoData())b.LW=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.Hfa(a.J.U().loaderUrl),eventType:b,youtubeHost:g.vn(a.J.U().Ha)||""};a.embeddedPlayerMode=c.Ga;g.UB("embedsAdEvent",a)},Aub=0,wub=0;var Ytb=Object.prototype.hasOwnProperty;Vtb.prototype=Object.create(null);var Dvb=aub();var k5=null;var iub=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=fub,j5=[],Bvb=function(a){return jub(function(b,c,d){b5=f5=b;f5=null;c(d);e5(null);f5=b5;b5=b5.parentNode;return b},a)}(),Avb=function(a){return jub(function(b,c,d){var e={nextSibling:b};
f5=e;c(d);b5&&e5(b.nextSibling);return e===f5?null:f5},a)}();var l5=[],Evb=0;var W5=new Vtb;var p5={attributes:aub(),sA:function(a,b){throw b;},
r8:!0,s8:!0,KM:g.Hkb,t3:g.Ikb};var m5=[];var Mvb=Symbol("ALLOW_IDOM_INTEROP_SYMBOL");var s5=Symbol("Disposable.dispose");var e6={},oub=(e6.CZ=!0,e6[s5]=function(){throw Error("This owner cannot be disposed");},e6.Na=!1,e6);var q5=null;var u5=new Set,f6={},vwb=Object.assign({},{CZ:!0},g.tv,(f6.lF=!1,f6.IS=null,f6.LO=!0,f6.Dt=!1,f6[s5]=tub,f6.XI=void 0,f6));var w5=new Set;g.$ka=function(){if(p5.t3){var a=u5;u5=new Set;sub(a)}else sub(u5);p5.t3?(a=w5,w5=new Set,xub(a)):xub(w5)};var Dub=Object.assign({},vwb,{iE:uub,Dt:!1});var Fub=Object.assign({},vwb,{iE:uub,Dt:!0});var x5=Symbol("IS_VNODE");var H5,z5=Hub;var Cvb=Symbol("ATTR_TAG_VALUE");RegExp.prototype.hasOwnProperty("sticky");var I5=Symbol("reactiveData");var wwb;(wwb=globalThis).isLegacyScript!=null||(wwb.isLegacyScript=function(){return!1});var Xub=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 Tub={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},Sub={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,Bi:"rel",Li:"alternate"},{Ad:3,Bi:"rel",Li:"author"},{Ad:3,Bi:"rel",Li:"bookmark"},{Ad:3,Bi:"rel",Li:"canonical"},{Ad:3,Bi:"rel",Li:"cite"},{Ad:3,Bi:"rel",Li:"help"},{Ad:3,Bi:"rel",Li:"icon"},{Ad:3,Bi:"rel",Li:"license"},{Ad:3,Bi:"rel",Li:"next"},{Ad:3,
Bi:"rel",Li:"prefetch"},{Ad:3,Bi:"rel",Li:"dns-prefetch"},{Ad:3,Bi:"rel",Li:"prerender"},{Ad:3,Bi:"rel",Li:"preconnect"},{Ad:3,Bi:"rel",Li:"preload"},{Ad:3,Bi:"rel",Li:"prev"},{Ad:3,Bi:"rel",Li:"search"},{Ad:3,Bi:"rel",Li:"subresource"}]},script:{defer:[{Ad:1}]},source:{src:[{Ad:3}],srcset:[{Ad:11}]},textarea:{readonly:[{Ad:1}]},video:{src:[{Ad:3}]}};var xwb=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,g6={},Vub=(g6[1]={zr:null,vu:null,Rs:null},g6[2]={zr:function(){return g.ie.toString()},
vu:function(a){return a instanceof g.re},
Rs:function(a){return g.se(a)}},g6[3]={zr:function(a,b,c){return xwb.test(c)?c:g.ie.toString()},
vu:function(a){return a instanceof g.ce},
Rs:function(a){return g.de(a)}},g6[4]={zr:function(){return g.ie.toString()},
vu:function(a){return a instanceof g.Yd},
Rs:function(a){return g.Zd(a)}},g6[5]={zr:null,
vu:function(a){return a instanceof g.pe},
Rs:function(a){return a.toString()}},g6[7]={zr:null,
vu:null,Rs:null},g6[8]={zr:null,vu:null,Rs:null},g6[10]={zr:null,vu:null,Rs:null},g6);var ywb=aub(),Zub=ywb.__default,$ub=ywb.style,Yub=["focusin","focusout"];var Q5={rpb:function(){},
Crb:function(){},
wpb:function(){},
WW:function(){},
spb:function(){},
g8:function(){},
pE:function(){},
hJ:function(){},
h8:function(){}};N5.prototype.pE=function(){};
N5.prototype.g8=function(){};
N5.prototype.hJ=function(){};
N5.prototype.h8=function(){};var O5=null;g.x(P5,N5);P5.prototype.sy=function(a){var b=this,c=O5;O5=this;this.D=0;try{return o5(function(){return Z4(g.imb,function(){return v5(b.kJ,function(){return b.B(a)})})})}finally{O5=c}};var hvb=dvb;var jvb=Object.assign({},vwb,{iE:vub,Dt:!1});H5=ivb;var nvb=[];(function(){var a=k5;k5=function(b){a==null||a(b);ovb(b)}})();(function(a){var b={},c;for(c in a)b={Q0:void 0,A_:void 0},b.Q0=Q5[c],b.A_=a[c],Q5[c]=function(d){return function(){var e=g.Ja.apply(0,arguments);d.Q0.apply(null,g.ra(e));d.A_.apply(null,g.ra(e))}}(b)})({WW:function(a){v5(a.kJ,function(){var b;
((b=a.oz)==null?0:b.length)&&vvb(a.oz)})},
pE:function(a){v5(a.kJ,function(){var b;((b=a.oz)==null?0:b.length)&&vvb(a.oz)})},
hJ:function(a){var b;((b=a.xA)==null?0:b.length)&&a.xA.forEach(uvb)}});H5=ivb;var Lvb=new Set(["For","If","Match","Watch"]),zwb={},Awb=(zwb.__default=function(){return L5},zwb.style=function(){return L5},zwb),h6;
for(h6 in Awb)p5.attributes[h6]=Awb[h6](p5.attributes[h6]);var Tvb=[],Uvb=!1;g.x(awb,g.W);g.k=awb.prototype;g.k.hide=function(){this.N=!0;g.W.prototype.hide.call(this);bwb(this,!1)};
g.k.show=function(){this.N=!1;g.W.prototype.show.call(this);bwb(this,!0)};
g.k.isHidden=function(){return this.N};
g.k.S4=function(){this.scrollTo(this.C-this.containerWidth)};
g.k.T4=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.DT(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;cwb(this)}};
g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=this.api.U();this.Y=a.Gf?!1:b.D;a.suggestions?this.suggestionData=g.It(a.suggestions,function(c){return c&&!c.playlistId}):this.suggestionData.length=0;
dwb(this);a.Gf?this.title.update({title:g.$I("Altri video da $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:a.author})}):this.title.update({title:"Altri video su YouTube"})};
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;cwb(this);bwb(this,!0)};g.x(X5,g.JV);X5.prototype.show=function(){g.JV.prototype.show.call(this);fwb(this,this.api.qb().getPlayerSize())};
X5.prototype.resize=function(a){g.JV.prototype.resize.call(this,a);this.j&&(fwb(this,a),g.Nv(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.HD||b.playerErrorMessageRenderer)(a=b.HD)?iwb(this,a):b.playerErrorMessageRenderer&&iwb(this,b.playerErrorMessageRenderer);else{var c;a.Ln&&(b.lw?gwb(b.lw)?c=g.RE(b.lw):c=g.KV(g.QE(b.lw)):c=g.KV(a.Ln),this.Dd(c,"subreason"))}};g.x(jwb,g.W);g.k=jwb.prototype;g.k.onVideoDataChange=function(){var a=this.api.getVideoData(),b=Ttb(),c=96714;g.jT(a)?(b=Utb(),c=216165,g.Jv(this.element,"ytp-music-impression-link")):g.Lv(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.Ck=function(){this.api.getPlayerStateObject().isCued()||(this.hide(),this.api.logVisibility(this.element,!1))};
g.k.MU=function(){var a=this.api.getVideoData(),b=this.api.U(),c=this.api.getVideoData().Gf,d=b.Fd,e=!b.Ed,f=this.Pe.Qg();b=b.C;d||f||c||e||b||this.api.fd()||!a.videoId?(this.hide(),this.api.logVisibility(this.element,!1)):(a=kwb(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=kwb(this);g.ZT(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.Ck=function(){var a=this.api.getPlayerStateObject();!this.api.Zh()||g.xF(a,2)&&g.AT(this.api)||g.xF(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.xF(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.DU),g.Nv(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.Nv(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Ptb(a);this.api.loadVideoById(a.videoId,b);this.api.dB();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);lwb(this)};
g.k.onVideoDataChange=function(){var a=this.api.U();a.C&&g.Jv(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=Ttb();var c=76758;g.jT(b)&&(a=Utb(),c=216164);this.updateValue("logoSvg",a);this.api.hasVe(this.element)&&this.api.destroyVe(this.element);this.api.createClientVe(this.element,this,
c);lwb(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.IF(a),!1,!0,!0);if(this.api.L("web_player_log_click_before_generating_ve_conversion_params")){var c={};g.pT(this.api,"addEmbedsConversionTrackingParams",[c]);this.api.L("embeds_web_enable_referring_feature_deprecation")||g.IO(c,"emb_yt_watermark");b=g.Bn(b,c)}g.ZT(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(Ttb()),c=this.Fa("ytp-watermark");g.Nv(c,"ytp-watermark-small",a);g.Gf(c);b.Ka(c);this.B=a}};g.x(owb,g.W);g.k=owb.prototype;g.k.XM=function(){var a=this.api.getPlayerStateObject();!this.api.getVideoData().mutedAutoplay||g.xF(a,2)?this.hide():this.Ib||(g.W.prototype.show.call(this),this.api.logVisibility(this.element,this.Ib))};
g.k.a$=function(){this.j&&this.j.hide()};
g.k.onAutoplayBlocked=function(){this.hide();Ptb(this.api.getVideoData())};
g.k.onClick=function(){if(!this.B){g.Nv(this.api.getRootNode(),"ytp-muted-autoplay",!1);var a=this.api.getVideoData(),b=this.api.getCurrentTime();Ptb(a);this.api.loadVideoById(a.videoId,b);this.api.dB();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.Lv(this.api.getRootNode(),"ytp-expand-pause-overlay");g.W.prototype.hide.call(this)};
a6.prototype.G=function(){this.B=!0;g.Lv(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.Jv(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.xF(a,1)||g.xF(a,16)||g.xF(a,32)||(!g.xF(a,4)||g.xF(a,2)||g.xF(a,1024)?(this.B||this.api.logVisibility(this.element,!1),this.D.hide()):this.j.suggestionData.length>0&&(this.B||(g.Jv(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(swb,g.fV);g.k=swb.prototype;g.k.dn=function(){return!1};
g.k.create=function(){var a=this.J.U(),b=g.uT(this.J),c,d=(c=this.J.getVideoData())==null?void 0:c.clientPlaybackNonce;d&&g.KG({clientPlaybackNonce:d});a.eb&&uwb(this);this.Z=new owb(this.J);g.M(this,this.Z);g.GT(this.J,this.Z.element,4);this.va=new Z5(this.J);g.M(this,this.va);g.GT(this.J,this.va.element,4);a.Fd&&(this.watermark=new $5(this.J),g.M(this,this.watermark),g.GT(this.J,this.watermark.element,8));b&&(this.K=new jwb(this.J,b),g.M(this,this.K),g.GT(this.J,this.K.element,8),g.sT(this.J.app)&&
(this.onMutedAutoplayStarts(),this.K.hide()));a.B&&(this.ra=new Y5(this.J),g.M(this,this.ra),g.GT(this.J,this.ra.element,4));this.j.T(this.J,"appresize",this.kc);this.j.T(this.J,"presentingplayerstatechange",this.Ck);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.eB(g.vR(a)))this.countdownTimer=new b6(this.J),g.M(this,this.countdownTimer),g.GT(this.J,this.countdownTimer.element,4),this.countdownTimer.hide(),this.j.T(this.J,g.UI("embeds"),this.onCueRangeEnter),this.j.T(this.J,g.VI("embeds"),this.onCueRangeExit);this.Hc(this.J.getPlayerStateObject());this.player.Eg("embed");var e,f;((e=this.J.U().getWebPlayerContextConfig())==null?0:(f=e.embedsHostFlags)==null?0:f.allowOverridingVisitorDataPlayerVars)&&
(a=g.iA("IDENTITY_MEMENTO"))&&this.J.Wm("onMementoChange",a)};
g.k.onCueRangeEnter=function(a){a.getId()==="countdown timer"&&this.countdownTimer&&(this.countdownTimer.show(),qwb(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.xg&&this.xg.resize(a)};
g.k.onReset=function(){rwb(this)};
g.k.Ck=function(a){this.Hc(a.state)};
g.k.Hc=function(a){g.xF(a,128)?(this.xg||(this.xg=new X5(this.J),g.M(this,this.xg),g.GT(this.J,this.xg.element,4)),this.xg.B(a.Dh),this.xg.show(),g.Jv(this.J.getRootNode(),"ytp-embed-error")):this.xg&&(this.xg.dispose(),this.xg=null,g.Lv(this.J.getRootNode(),"ytp-embed-error"));if(this.countdownTimer&&this.countdownTimer.j)if(g.xF(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.hC)())}else a.isPlaying()&&this.countdownTimer.B&&
(b=this.countdownTimer,b.B&&(b.D+=(0,g.hC)()-b.G,b.B=!1,pwb(b)));twb(this,a)};
g.k.onMutedAutoplayStarts=function(){this.J.getVideoData().mutedAutoplay&&this.Z&&g.Nv(this.J.getRootNode(),"ytp-muted-autoplay",!0)};
g.k.onVideoDataChange=function(a,b){var c=this.JF!==b.videoId;a=!c&&a==="dataloaded";var d={isShortsModeEnabled:!!this.J.fd()};g.UB("embedsVideoDataDidChange",{clientPlaybackNonce:b.clientPlaybackNonce,isReload:a,runtimeEnabledFeatures:d});c&&(this.JF=b.videoId,this.countdownTimer&&(this.countdownTimer.show(),this.countdownTimer.hide()),this.N&&(this.J.qf("embeds"),b.isAd()||b.limitedPlaybackDurationInSeconds<5||g.DT(this.J)||(b=Math.max((b.startSeconds+b.limitedPlaybackDurationInSeconds-5)*1E3,0),
b=new g.TI(b,b+5E3,{id:"countdown timer",namespace:"embeds"}),this.J.lf([b]))),this.J.U().eb&&(rwb(this),uwb(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.eV("embed",swb);})(_yt_player);