text: (function(g){var window=this;var G3=function(a){var b={languageCode:a.u,languageName:a.w,displayName:g.rz(a),kind:a.A,name:a.B,id:a.H,is_servable:a.F,is_default:a.isDefault,is_translateable:a.isTranslateable,vss_id:a.C};a.o&&(b.translationLanguage=a.o);return b},H3=function(a){return a.o?a.o.languageCode:a.u},Xra=function(a,b){var c=new g.qz;
  c.u=a.u;c.w=a.w;c.B=a.B;c.A=a.A;c.isDefault=!1;c.F=a.F;c.isTranslateable=a.isTranslateable;c.C=a.C;c.G=a.G;c.o=b;return c},Yra=function(a){for(var b=[],c=0,d=0;c<a.length;){var e=a[c++];
  if(128>e)b[d++]=String.fromCharCode(e);else if(191<e&&224>e){var f=a[c++];b[d++]=String.fromCharCode((e&31)<<6|f&63)}else if(239<e&&365>e){f=a[c++];var k=a[c++],l=a[c++];e=((e&7)<<18|(f&63)<<12|(k&63)<<6|l&63)-65536;b[d++]=String.fromCharCode(55296+(e>>10));b[d++]=String.fromCharCode(56320+(e&1023))}else f=a[c++],k=a[c++],b[d++]=String.fromCharCode((e&15)<<12|(f&63)<<6|k&63)}return b.join("")},Zra=function(){this.u=[];
  this.o=[]},I3=function(a,b){return b?a.o.concat(a.u):a.o},J3=function(a,b){switch(b.A){case "asr":var c=a.u;
  g.Za(c,(0,g.x)(b.ob,b))||c.push(b);break;default:c=a.o,g.Za(c,(0,g.x)(b.ob,b))||c.push(b)}},K3=function(a){g.B.call(this);
  this.Wa=a;this.u=new Zra;this.B=[]},L3=function(a,b,c){K3.call(this,a);
  this.o=null;this.B=b.jw;this.w=c},M3=function(){this.segments=[]},N3=function(a,b,c,d,e,f){g.B.call(this);
  this.J=a;this.w=b;this.O=b.M();this.B=new M3;this.o=null;this.F=d;this.P=f;this.u=this.A=null;this.S=c;this.C=e||!1;this.G=new g.I(this.vy,1E3,this);g.C(this,this.G);this.H=new g.P(this);g.C(this,this.H);this.H.L(b,"SEEK_COMPLETE",this.mz);this.mz();this.vy()},$ra=function(a,b){b-=a.w.yb();
  var c=a.o;a.o=g.Xa(a.S.hg(b).o);c!=a.o&&a.P&&a.P()},asa=function(a,b){var c=g.Dw(b,a.J,{}).Ub(),d={format:"RAW",
  withCredentials:!0};a.C&&(d.responseType="arraybuffer");a.u=g.Eq(c,d,3,100).then((0,g.x)(a.KM,a));a.A=b;c=a.B;d=a.A.o[0].u;var e=g.qb(c.segments,d);0<=e||0>e&&1===(-e-1)%2||(e=-e-1,0<e&&1===d-c.segments[e-1]&&e<c.segments.length&&1===c.segments[e]-d?(g.eb(c.segments,e),g.eb(c.segments,e-1)):0<e&&1===d-c.segments[e-1]?c.segments[e-1]=d:e<c.segments.length&&1===c.segments[e]-d?c.segments[e]=d:(g.nb(c.segments,e,0,d),g.nb(c.segments,e+1,0,d)))},O3=function(a,b){K3.call(this,b.M());
  this.o=a;this.F=b;this.w=null;this.A=!1;this.C=g.Zy(this.F.M())&&!this.o.u},bsa=function(a,b){var c=[],d;
  for(d in a.o.o){var e=a.o.o[d];if(g.OK(e,b||null)){var f="en",k="English",l=".en",m="";if(e=e.info.captionTrack)f=e.languageCode,k=e.displayName,l=e.vssId,m=e.kind;c.push(new g.qz({id:d,languageCode:f,languageName:k,is_servable:!0,is_default:!0,is_translateable:!1,vss_id:l,kind:m}))}}return c},csa=function(a,b){return null!=b&&b in a.o.o?a.o.o[b]:null},dsa=function(a,b,c){var d=[],e;
  for(e in a.o.o){var f=a.o.o[e];if(g.OK(f,c||null)){var k=f.info.captionTrack;k&&k.languageCode==b&&d.push(f)}}return d.length?d[0]:null},P3=function(a,b,c,d,e){K3.call(this,e||null);
  c=c||g.Kp(a).hl||"";c=c.split("_").join("-");this.A=g.Mp(a,{hl:c});this.w=b;this.C=!!d;this.F={};this.o=null},Q3=function(a,b,c,d,e,f,k){f=void 0===f?!1:f;
  k=void 0===k?null:k;g.VC.call(this,a,a+b,{priority:c,namespace:"captions"});this.windowId=d;this.text=e;this.u=f;this.o=k},R3=function(a,b,c,d,e){g.VC.call(this,a,a+b,{priority:c,
  namespace:"captions"});this.id=d;this.params=e;this.o=[]},esa=function(a){a=void 0===a?{}:a;
  var b="_"+S3++;return new R3(0,0x8000000000000,0,b,a)},T3=function(a,b,c,d,e,f){var k={};
  g.Ta(k,b);g.Ta(k,a.params);g.Ta(k,c);var l={};g.Ta(l,b.Bb);a.params.Bb&&g.Ta(l,a.params.Bb);g.Ta(l,c.Bb);k.Bb=l;g.S.call(this,{D:"div",I:"caption-window",N:{id:"caption-window-"+a.id,dir:1==k.Ed?"rtl":"ltr",tabindex:"0","aria-live":"assertive",lang:k.lang},K:[{D:"span",I:"captions-text",N:{style:"word-wrap: normal; display: block;"}}]});this.C=[];this.S=!1;this.w=a;this.Z=this.U=null;this.Ja=e;this.Ha=f;this.F=null;this.ca=.96*e;this.xa=.96*f;this.u=k;this.Ga=c;this.B=this.o["captions-text"];this.Aa=
  null!=this.B.style["box-decoration-break"]||null!=this.B.style["-webkit-box-decoration-break"];this.aa=d/360*16;this.type=0;this.ha=this.aa*fsa(l);a=new g.gr(this.element,!0);g.C(this,a);a.subscribe("dragstart",this.uI,this);a.subscribe("dragmove",this.tI,this);a.subscribe("dragend",this.sI,this);this.sa=this.na=0;b="";this.u.windowOpacity&&(a=g.N1(this.u.windowColor),b="rgba("+a[0]+","+a[1]+","+a[2]+","+this.u.windowOpacity+")");a={"background-color":b,display:!1===this.u.isVisible?"none":"","text-align":gsa[this.u.textAlign]};
  this.Aa&&(a["border-radius"]=b?this.ha/8+"px":"");if(this.A=2==this.w.params.Ed||3==this.w.params.Ed)b=this.element,c="vertical-rl",1==this.u.Du&&(c="vertical-lr"),g.Od&&(c="vertical-lr"==c?"tb-lr":"tb-rl"),g.$g(b,"-o-writing-mode",c),g.$g(b,"-webkit-writing-mode",c),g.$g(b,"writing-mode",c),g.$g(b,"text-orientation","upright"),g.K(b,"ytp-vertical-caption"),3==this.w.params.Ed&&(g.$g(b,"text-orientation",""),g.$g(b,"transform","rotate(180deg)"));g.$g(this.element,a);switch(this.u.Rf){case 0:case 1:case 2:g.K(this.element,
  "ytp-caption-window-top");break;case 6:case 7:case 8:g.K(this.element,"ytp-caption-window-bottom")}},fsa=function(a){var b=1+.25*(a.fontSizeIncrement||0);
  if(0==a.offset||2==a.offset)b*=.8;return b},hsa=function(a,b){var c={},d=b.background?b.background:a.u.Bb.background;
  if(null!=b.backgroundOpacity||b.background){var e=null!=b.backgroundOpacity?b.backgroundOpacity:a.u.Bb.backgroundOpacity;d=g.N1(d);c.background="rgba("+d[0]+","+d[1]+","+d[2]+","+e+")";a.Aa&&(c["box-decoration-break"]="clone",c["border-radius"]=a.ha/8+"px")}if(null!=b.fontSizeIncrement||null!=b.offset)c["font-size"]=a.aa*fsa(b)+"px";d=1;e=b.color||a.u.Bb.color;if(b.color||null!=b.textOpacity)e=g.N1(e),d=null==b.textOpacity?a.u.Bb.textOpacity:b.textOpacity,e="rgba("+e[0]+","+e[1]+","+e[2]+","+d+")",
  c.color=e,c.fill=e;var f=b.charEdgeStyle;0==f&&(f=null);if(f){e="rgba(34, 34, 34, "+d+")";var k="rgba(204, 204, 204, "+d+")";b.Yq&&(k=e=b.Yq);var l=a.aa/16/2,m=Math.max(l,1),n=Math.max(2*l,1),q=Math.max(3*l,1),t=Math.max(5*l,1);d=[];switch(f){case 4:for(;q<=t;q+=l)d.push(n+"px "+n+"px "+q+"px "+e);break;case 1:n=2<=window.devicePixelRatio?.5:1;for(f=m;f<=q;f+=n)d.push(f+"px "+f+"px "+e);break;case 2:d.push(m+"px "+m+"px "+k);d.push("-"+m+"px -"+m+"px "+e);break;case 3:for(q=0;5>q;q++)d.push("0 0 "+
  n+"px "+e)}c["text-shadow"]=d.join(", ")}e="";switch(b.fontFamily){case 1:e='"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace';break;case 2:e='"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif';break;case 3:e='"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace';break;case 5:e='"Comic Sans MS", Impact, Handlee, fantasy';break;case 6:e='"Monotype Corsiva", "URW Chancery L", "Apple Chancery", "Dancing Script", cursive';break;case 7:e=g.Lk()?
  '"Carrois Gothic SC", sans-serif-smallcaps':'"Arial Unicode Ms", Arial, Helvetica, Verdana, "Marcellus SC", sans-serif';break;case 0:case 4:e='"YouTube Noto", Roboto, "Arial Unicode Ms", Arial, Helvetica, Verdana, "PT Sans Caption", sans-serif'}e&&(c["font-family"]=e);e=b.offset;null==e&&(e=a.u.Bb.offset);switch(e){case 0:c["vertical-align"]="sub";break;case 2:c["vertical-align"]="super"}7==b.fontFamily&&(c["font-variant"]="small-caps");b.bold&&(c["font-weight"]="bold");b.Xe&&(c["font-style"]="italic");
  b.underline&&(c["text-decoration"]="underline");b.aG&&(c.visibility="hidden");1==b.Px&&a.A&&(c["text-combine-upright"]="all",c["text-orientation"]="mixed",e=g.az||g.bz,3==a.w.params.Ed?c.transform=e?"rotate(90deg)":"rotate(180deg)":e&&(c.transform="rotate(-90deg)"));if(1==b.ff||2==b.ff||3==b.ff||4==b.ff||5==b.ff)if(g.az)c["font-weight"]="bold";else switch(c["text-emphasis-style"]="filled circle",c["text-emphasis-color"]="currentcolor",c["webkit-text-emphasis"]="filled circle",b.ff){case 4:case 3:c["text-emphasis-position"]=
  "under left";c["webkit-text-emphasis-position"]="under left";break;case 5:case 2:c["text-emphasis-position"]="over right",c["webkit-text-emphasis-position"]="over right"}return c},isa=function(a){a.F=g.Vd("SPAN");
  g.$g(a.F,{display:"block"});g.K(a.F,"caption-visual-line");a.B.appendChild(a.F)},jsa=function(a,b){var c=g.Vd("SPAN");
  g.$g(c,{display:"inline-block","white-space":"pre-wrap"});g.$g(c,hsa(a,b));c.classList.add("ytp-caption-segment");a.F.appendChild(c);c.previousElementSibling&&(g.$g(c.previousElementSibling,{"border-top-right-radius":"0","border-bottom-right-radius":"0"}),g.$g(c,{"border-top-left-radius":"0","border-bottom-left-radius":"0"}));return c},ksa=function(a,b,c){a.S=a.S||!!c;
  var d={};g.Ta(d,a.u.Bb);g.Ta(d,c||b.o);g.Ta(d,a.Ga.Bb);(c=!a.F)&&isa(a);for(var e=a.U&&a.Z&&g.A.ob(d,a.Z)?a.U:jsa(a,d),f="string"===typeof b.text,k=f?b.text.split("\n"):[b.text],l=0;l<k.length;l++){var m=0<l||!b.u,n=k[l];m&&!c?(isa(a),e=jsa(a,d)):m&&c&&(c=!1);n&&(e.appendChild(f?g.Xd(n):n),f||"RUBY"!=n.tagName||4!=n.childElementCount||g.az||!g.dh(n.children[2],"text-emphasis")||(m=a.A?"padding-right":"padding-top",g.dh(n.children[2],"text-emphasis-position")&&(m=a.A?"padding-left":"padding-bottom"),
  g.Qd?g.$g(e,m,"1em"):g.$g(e,m,"0.5em")))}a.Z=d;a.U=e;a.C.push(b)},lsa=function(){},V3=function(){this.A=this.u=this.mode=this.w=0;
  this.B=new U3(this);this.C=new U3(this);this.o=[];this.clear()},nsa=function(a,b,c){if(255==a&&255==b||!a&&!b)return{ln:a,
  mn:b,result:0};a=msa[a];b=msa[b];if(a&128){if(!(b&128)&&0!=c.o&&c.u==b)return{ln:a,mn:b,result:1}}else if(b&128&&1<=a&&31>=a)return{ln:a,mn:b,result:2};return{ln:a,mn:b,result:3}},psa=function(a,b,c,d){255==b&&255==c||!b&&!c?(45==++a.A&&a.reset(),a.B.o.clear(),a.C.o.clear()):(a.A=0,osa(a.B,b,c,d))},qsa=function(a,b){a.o.sort(function(e,f){var k=e.time-f.time;
  return 0==k?e.order-f.order:k});
  for(var c=0;c<a.o.length;c++){var d=a.o[c];a.u=d.time;0==d.type?psa(a,d.lw,d.mw,b):1==d.type&&a.w&496&&osa(a.C,d.lw,d.mw,b)}a.o.length=0},W3=function(){this.o=0},X3=function(){this.u=this.w=this.o=0},Y3=function(){this.timestamp=this.se=0},Z3=function(a){this.w=[];
  for(var b=0;15>=b;b++){this.w[b]=[];for(var c=0;32>=c;c++)this.w[b][c]=new Y3}this.o=this.u=this.row=0;this.style=new W3;this.B=a;this.A=0},$3=function(a,b){if(3==a.style.o){for(var c=0,d=0,e=a.B.u+0,f="",k="",l=e,m=1;15>=m;++m){for(var n=!1,q=d?d:1;32>=q;++q){var t=a.w[m][q];
  if(0!=t.se){0==c&&(c=m,d=q);n=String.fromCharCode(t.se);var u=t.timestamp;u<e&&(e=u);t.timestamp=l;k&&(f+=k,k="");f+=n;n=!0}if((0==t.se||32==q)&&n){k="\n";break}else if(d&&!n)break}if(c&&!n)break}f&&b.B(c,d,e,l,f)}else for(d=c=0,f=e=a.B.u+0,k=1;15>=k;++k)for(l="",m=1;32>=m;++m)if(q=a.w[k][m],t=q.se,0!=t&&(0==c&&(c=k,d=m),n=String.fromCharCode(t),u=q.timestamp,u<=e&&(e=u),l+=n,q.reset()),32==m||0==t)l&&b.B(c,d,e,f,l),e=f,l="",d=c=0},vsa=function(a,b){switch(a){case 0:return rsa[(b&127)-32];
  case 1:return ssa[b&15];case 2:return tsa[b&31];case 3:return usa[b&31]}return 0},a4=function(a){return a.w[a.row][a.u]},b4=function(a,b,c){2<=b&&1<a.u&&(--a.u,a4(a).se=0);
  var d=a4(a);d.timestamp=a.B.u+0;d.se=vsa(b,c);32>a.u&&a.u++},wsa=function(a,b,c,d){for(var e=0;e<d;e++)for(var f=0;32>=f;f++)a.w[b+e][f].Zh(a.w[c+e][f])},c4=function(a,b,c){for(var d=0;d<c;d++)for(var e=0;32>=e;e++)a.w[b+d][e].reset()},d4=function(a){a.row=0<a.o?a.o:1;
  a.u=1;c4(a,0,15)},e4=function(a){this.A=a;
  this.B=0;this.style=new W3;this.C=new Z3(a);this.F=new Z3(a);this.G=new Z3(a);this.u=this.C;this.w=this.F;this.o=this.u},f4=function(a,b,c){var d=a.u,e=!1;
  switch(a.style.get()){case 4:if(0<d.o)break;case 1:case 2:$3(d,c),d4(a.u),d4(a.w),d.row=15,d.o=b,e=!0}a.style.set(3);a.o=d;a.o.style=a.style;a.A.mode=1<<d.A;e?d.u=1:d.o!=b&&(d.o>b?($3(d,c),c4(d,d.row-d.o,b)):d.row<b&&(b=d.o),d.o=b)},xsa=function(a){a.style.set(1);
  a.o=a.w;a.o.o=0;a.o.style=a.style;a.A.mode=1<<a.o.A},ysa=function(a){a.style.set(4);
  a.o=a.G;a.o.style=a.style;a.A.mode=1<<a.o.A},U3=function(a){this.u=a;
  this.o=new X3;this.B=0;this.w=new e4(a);this.C=new e4(a);this.A=this.w},osa=function(a,b,c,d){a.o.update();
  b=nsa(b,c,a.o);switch(b.result){case 0:return;case 1:case 2:return}var e=b.ln;c=b.mn;if(32<=e||!e)a.u.mode&a.u.w&&(b=e,b&128&&(b=127),c&128&&(c=127),a=a.A.o,b&96&&b4(a,0,b),c&96&&b4(a,0,c),0!=b&&0!=c&&3==a.style.o&&$3(a,d));else if(e&16)a:if(!a.o.matches(e,c)&&(b=a.o,b.w=e,b.u=c,b.o=2,b=e&8?a.C:a.w,a.A=b,a.u.mode=1<<(a.B<<2)+(b.B<<1)+(4==b.style.o?1:0),(a.u.mode|1<<(a.B<<2)+(b.B<<1)+(4!=b.style.o?1:0))&a.u.w))if(c&64){d=[11,11,1,2,3,4,12,13,14,15,5,6,7,8,9,10][(e&7)<<1|c>>5&1];a=c&16?4*((c&14)>>1):
  0;c=b.o;switch(b.style.get()){case 4:d=c.row;break;case 3:if(d!=c.row){if(d<c.o&&(d=c.o,d==c.row))break;var f=1+c.row-c.o,k=1+d-c.o;wsa(c,k,f,c.o);b=f;e=c.o;k<f?(f=k+e-f,0<f&&(b+=f,e-=f)):(f=f+e-k,0<f&&(e-=f));c4(c,b,e)}}c.row=d;c.u=a+1}else switch(e&7){case 1:switch(c&112){case 32:b4(b.o,0,32);break a;case 48:57==c?(d=b.o,a4(d).se=0,32>d.u&&d.u++):b4(b.o,1,c&15)}break;case 2:c&32&&b4(b.o,2,c&31);break;case 3:c&32&&b4(b.o,3,c&31);break;case 4:case 5:if(32<=c&&47>=c)switch(c){case 32:xsa(b);break;
  case 33:d=b.o;1<d.u&&(--d.u,a4(d).se=0);break;case 36:d=b.o;b=a4(d);for(a=0;15>=a;a++)for(c=0;32>=c;c++)if(d.w[a][c]==b){for(;32>=c;c++)d.w[a][c].reset();break}break;case 37:f4(b,2,d);break;case 38:f4(b,3,d);break;case 39:f4(b,4,d);break;case 40:b4(b.o,0,32);break;case 41:b.style.set(2);b.o=b.u;b.o.o=0;b.o.style=b.style;b.A.mode=1<<b.o.A;break;case 42:d=b.G;d.o=15;d.style.set(4);d4(d);ysa(b);break;case 43:ysa(b);break;case 44:a=b.u;switch(b.style.get()){case 1:case 2:case 3:$3(a,d)}c4(a,0,15);break;
  case 45:b:{a=b.o;switch(b.style.get()){default:case 2:case 1:break b;case 4:if(15>a.row){++a.row;a.u=1;break b}case 3:}2>a.o&&(a.o=2,a.row<a.o&&(a.row=a.o));b=a.row-a.o+1;$3(a,d);wsa(a,b,b+1,a.o-1);c4(a,a.row,1)}break;case 46:c4(b.w,0,15);break;case 47:$3(b.u,d),b.w.updateTime(b.A.u+0),d=b.w,b.w=b.u,b.u=d,xsa(b)}break;case 7:switch(c){case 33:case 34:case 35:d=b.o,32<(d.u+=c&3)&&(d.u=32)}}},Asa=function(a,b,c,d,e,f,k){var l=f[0],m=k[l.getAttribute("p")];
  if(1==m.Lb){var n=f[1],q=f[2];f=f[3];l.getAttribute("t");n.getAttribute("t");q.getAttribute("t");f.getAttribute("t");l.getAttribute("p");n.getAttribute("p");f.getAttribute("p");k=k[q.getAttribute("p")];l=zsa(l.textContent,n.textContent,q.textContent,f.textContent,k);return new Q3(a,b,e,c,l,d,m)}switch(m.Lb){case 9:case 10:m.ff=1;break;case 11:m.ff=2;break;case 12:m.ff=3;break;case 13:m.ff=4;break;case 14:m.ff=5}return new Q3(a,b,e,c,l.textContent||"",d,m)},zsa=function(a,b,c,d,e){var f=g.Lk(),k=f?
  g.Vd("DIV"):g.Vd("RUBY"),l=g.Vd("SPAN");
  l.textContent=a;k.appendChild(l);a=f?g.Vd("DIV"):g.Vd("RP");a.textContent=b;k.appendChild(a);b=f?g.Vd("DIV"):g.Vd("RT");b.textContent=c;k.appendChild(b);c=e.Lb;if(10==c||11==c||12==c||13==c||14==c)if(g.$g(b,"text-emphasis-style","filled circle"),g.$g(b,"text-emphasis-color","currentcolor"),g.$g(b,"webkit-text-emphasis","filled circle"),e.Lb==e.Lb==11||13==e.Lb)g.$g(b,"webkit-text-emphasis-position","under left"),g.$g(b,"text-emphasis-position","under left");c=!0;if(4==e.Lb||7==e.Lb||12==e.Lb||14==
  e.Lb)g.$g(k,"ruby-position","over"),g.$g(k,"-webkit-ruby-position","before");else if(5==e.Lb||6==e.Lb||11==e.Lb||13==e.Lb)g.$g(k,"ruby-position","under"),g.$g(k,"-webkit-ruby-position","after"),c=!1;e=f?g.Vd("DIV"):g.Vd("RP");e.textContent=d;k.appendChild(e);f&&(d=c,g.$g(k,{display:"inline-block",position:"relative"}),f=k.firstElementChild.nextElementSibling,g.$g(f,"display","none"),f=f.nextElementSibling,g.$g(f,{"font-size":"0.5em","line-height":"1.2em","text-align":"center",position:"absolute",
  left:"50%",transform:"translateX(-50%)",width:"400%"}),g.$g(k.lastElementChild,"display","none"),d?(g.$g(k,"padding-top","0.6em"),g.$g(f,"top","0")):(g.$g(k,"padding-bottom","0.6em"),g.$g(f,"bottom","0")));return k},g4=function(){g.B.apply(this,arguments)},h4=function(a){g4.call(this);
  this.A={};this.H={};this.J={};this.B="_"+S3++;this.C=a;this.G={};this.u=this.o=null;this.F=!0},i4=function(a,b){var c=a.getAttribute(b);
  if(null!=c)return parseFloat(c)},j4=function(a,b){var c=a.getAttribute(b);
  if(null!=c)return"1"==c},k4=function(a,b){var c=i4(a,b);
  return void 0!=c?c:null},m4=function(a,b){var c=a.getAttribute(b);
  if(null!=c)return l4.test(c),c},Bsa=function(a,b){var c={},d=b.getAttribute("ws");
  g.Ta(c,d?a.J[d]:a.C);d=k4(b,"mh");null!=d&&(c.Ij=d);d=k4(b,"ju");null!=d&&(c.textAlign=d);d=k4(b,"pd");null!=d&&(c.Ed=d);d=k4(b,"sd");null!=d&&(c.Du=d);d=m4(b,"wfc");null!=d&&(c.windowColor=d);d=i4(b,"wfo");void 0!=d&&(c.windowOpacity=d/255);return c},Csa=function(a,b){var c={},d=b.getAttribute("wp");
  d&&g.Ta(c,a.H[d]);d=k4(b,"ap");null!=d&&(c.Rf=d);d=i4(b,"cc");null!=d&&(c.Sg=d);d=i4(b,"ah");null!=d&&(c.Ye=d);d=i4(b,"rc");null!=d&&(c.Hg=d);d=i4(b,"av");null!=d&&(c.Ig=d);return c},Dsa=function(a,b,c,d){var e={};
  g.Ta(e,Csa(a,b));g.Ta(e,Bsa(a,b));d?g.A.ob(e,a.C)?(d=a.B,e=a.C):d="_"+S3++:d=b.getAttribute("id")||"_"+S3++;a=i4(b,"t")+c;b=i4(b,"d")||0x8000000000000;if(2==e.Ed||3==e.Ed)c=e.Hg,e.Hg=e.Sg,e.Sg=c;return new R3(a,b,0,d,e)},n4=function(a){g4.call(this);
  this.o=new Map;this.A=new Map;this.B=new Map;this.u=new Map;this.C=a},o4=function(a){a=g.td(Math.round(a),0,16777215).toString(16).toUpperCase();
  return"#000000".substr(0,7-a.length)+a},Esa=function(a,b,c,d,e){0==d&&(d=0x8000000000000);
  var f={};b.wpWinPosId&&Object.assign(f,a.A.get(b.wpWinPosId));b.wsWinStyleId&&Object.assign(f,a.B.get(b.wsWinStyleId));a=b.rcRowCount;void 0!=a&&(f.Hg=a);b=b.ccColCount;void 0!=b&&(f.Sg=b);if(2===f.Ed||3===f.Ed)b=f.Hg,f.Hg=f.Sg,f.Sg=b;return new R3(c,d,0,e,f)},p4=function(a,b,c,d,e,f,k){T3.call(this,a,b,c,d,e,f,k);
  this.type=1},q4=function(a,b,c){this.F=c;
  this.version=this.C=this.A=this.o=0;this.u=new DataView(a);this.w=[]},r4=function(a){var b=a.o;
  a.o+=1;return a.u.getUint8(b)},s4=function(a){var b=a.o;
  a.o+=4;return a.u.getUint32(b)},t4=function(a,b){g4.call(this);
  this.u=a;this.track="CC3"==b.w?4:0;this.o=new V3;this.o.w=1<<this.track},u4=function(a){if("string"===typeof a)return!1;
  a=new q4(a,8,0);return Fsa(a)},Fsa=function(a){if(!(a.o<a.u.byteLength)||1380139777!=s4(a))return!1;
  a.version=r4(a);if(1<a.version)return!1;r4(a);r4(a);r4(a);return!0},v4=function(a,b,c,d,e,f,k){T3.call(this,a,b,c,d,e,f,k);
  g.K(this.element,"ytp-caption-window-rollup");this.type=2;this.G=[];this.J=this.H=this.da=0;this.O=NaN;this.ya=0;this.Ba=null;this.fa=new g.I(this.QM,433,this);g.C(this,this.fa);g.$g(this.element,"overflow","hidden")},Gsa=function(a,b){return(a.A?b.offsetHeight:b.offsetWidth)+1},Hsa=function(a){if(isNaN(a.O)){var b=a.u.Sg;
  if(b){var c=g.Vd("SPAN");g.ee(c,"\u2013".repeat(b));g.$g(c,hsa(a,a.u.Bb));a.B.appendChild(c);a.O=c.offsetWidth;a.B.removeChild(c)}else a.O=0}return a.O},Isa=function(a,b){if(!b)return"";
  a.A&&1!=a.w.params.Du&&(b*=-1);return"translate"+(a.A?"X":"Y")+"("+b+"px)"},Jsa=function(a){a.G=[].concat(g.na(document.getElementsByClassName("caption-visual-line")));
  for(var b=a.w.params.Hg,c=0,d=0,e=a.G.length-1;c<b&&-1<e;){var f=a.G[e];d+=a.A?f.offsetWidth:f.offsetHeight;c++;e--}a.G.length<b&&(d*=b/a.G.length);a.H=d;a.J=Math.max(Hsa(a),a.ya,Gsa(a,a.B))},Ksa=function(a,b){Jsa(a);
  var c=a.G.reduce(function(e,f){return(a.A?f.offsetWidth:f.offsetHeight)+e},0);
  c=a.H-c;if(c!=a.da){var d=0<c&&0==a.da;b||isNaN(c)||d||(g.K(a.element,"ytp-rollup-mode"),g.cn(a.fa));g.$g(a.B,"transform",Isa(a,c));a.da=c}Jsa(a)},w4=function(){g4.call(this)},Lsa=function(a,b,c,d,e,f,k,l,m){switch(k.tagName){case "b":l.bold=!0;
  break;case "i":l.Xe=!0;break;case "u":l.underline=!0}for(var n=0;n<k.childNodes.length;n++){var q=k.childNodes[n];if(3==q.nodeType)q=new Q3(b,c,d,e.id,q.nodeValue,f||0<n,g.A.isEmpty(l)?void 0:l),m.push(q),e.o.push(q);else{var t={};g.Ta(t,l);Lsa(a,b,c,d,e,!0,q,t,m)}}},x4=function(a){var b=a.split(":");
  a=0;b=g.p(b);for(var c=b.next();!c.done;c=b.next())a=60*a+parseFloat(c.value);return 1E3*a},Msa=function(a,b,c,d){d=Object.assign({Ij:0},d);
  return new R3(a,b,c,"_"+S3++,d)},y4=function(a){g.B.call(this);
  this.u=a;this.o=null},Osa=function(a){var b={};
  if(a=H3(a))b.lang=a,Nsa.test(a)&&(b.Ed=1);return b},B4=function(a){g.NK.call(this,a);
  this.w=a.M();this.T=a.getVideoData();this.ya=g.fK(a);this.U=a;var b=null,c=g.Tn("yt-html5-player-modules::subtitlesModuleData");c&&(b=new g.Cn(c));this.ca=b;this.A={Bb:{}};this.C={Bb:{}};this.J=[];this.O={};this.aa={};this.P=!1;this.sa=g.PK(this.T,this.U);this.Aa=!!this.T.captionTracks.length;this.Ba=!!this.T.Fk;this.ha="3"==this.w.controlsType;b=a.app.B;c=!(!b||!b.Fm());this.xa=!(!b||!b.Vi());this.B=this.ha&&c&&!this.sa;this.H=!this.B&&this.ha&&this.xa&&this.sa;this.u=this.F=this.G=this.Z=this.na=
  null;this.da=new y4(this.w);g.C(this,this.da);c=b=this.o=null;this.B||(b=new g.Zm(this.BC,void 0,this),g.C(this,b),c=new g.I(this.oO,2E3,this),g.C(this,c));this.fa=b;this.ra=c;this.S=new g.P(this);g.C(this,this.S);this.B||this.S.L(a,"resize",this.Ou);this.S.L(a,"onPlaybackAudioChange",this.vK);this.S.L(a,g.YC("captions"),this.gH,this);this.S.L(a,"crx_captions",this.hH,this);z4(this,A4(this,"display-settings")||{})},C4=function(a){if(1==a.w.Rg||1==a.T.Rg||"alwayson"==g.sB(a.T,"yt:cc"))return!0;
  if(2==a.w.Rg){var b=A4(a,"module-enabled");if(null!=b)return!!b}if(a.T.captionTracks.length)var c=a.player.getAudioTrack().Vq;return"ON"==c||"on"==g.sB(a.T,"yt:cc")},D4=function(a,b){if(a.o&&(void 0===b||!b)||!a.T.captionTracks.length)return!1;
  var c=a.player.getAudioTrack();return!!c.Qn||"FORCED_ON"==c.Vq},F4=function(a,b){if(a.u){if(a.F&&a.F.o)return a.F.o;
  var c=b;c||(c=a.Ba?!1:a.Aa?!1:!0);c=I3(a.u.u,c);for(var d=[a.T.captionsLanguagePreference,a.w.captionsLanguagePreference,g.sB(a.T,"yt:cc_default_lang")],e=0;e<d.length;e++)for(var f=0;f<c.length;f++)if(H3(c[f])==d[e])return c[f];return a.F&&a.F.hr?a.F.hr:(d=c.find(function(k){return k.isDefault}))?d:c[0]||E4(a)}return null},E4=function(a){return a.F&&a.F.Qn},G4=function(a){var b=E4(a);
  return!!b&&a.o==b},Psa=function(a,b){for(var c=a.U.app.B.bb().textTracks,d=a.o.toString(),e=0;e<c.length;e++){var f=c[e];
  f.id==d&&(b?"showing"!=f.mode&&(f.mode="showing"):"showing"==f.mode&&(f.mode="disabled"))}},I4=function(a,b,c){a.loaded&&a.unload();
  null!=c&&(a.P=c,a.P&&H4(a,"module-enabled",!!b));a.o=b;D4(a)&&(a.o=E4(a));a.load()},Qsa=function(a,b){var c=a.ya.getVideoContentRect(!0).height;
  if(!c)return null;var d=a.o?a.o.u:null;!b.params.Ed&&d&&Nsa.test(d)&&(b.params.Ed=1);d=a.ya.getPlayerSize();switch(null!=b.params.Ij?b.params.Ij:1<b.o.length?1:0){case 1:return new p4(b,a.A,a.C,c,d.width,d.height,a.w.experiments);case 2:return new v4(b,a.A,a.C,c,d.width,d.height,a.w.experiments);default:return new T3(b,a.A,a.C,c,d.width,d.height,a.w.experiments)}},z4=function(a,b,c){c=void 0===c?!1:c;
  var d=J4.Bb;a.A={};g.Ta(a.A,J4);a.A.Bb={};g.Ta(a.A.Bb,d);a.C={Bb:{}};var e=b.backgroundOverride?a.C:a.A,f=b.background||d.background;l4.test(f);e.Bb.background=f;e=b.colorOverride?a.C:a.A;f=b.color||d.color;l4.test(f);e.Bb.color=f;e=b.windowColorOverride?a.C:a.A;f=b.windowColor||J4.windowColor;l4.test(f);e.windowColor=f;e=b.backgroundOpacityOverride?a.C:a.A;f=b.backgroundOpacity;null==f&&(f=d.backgroundOpacity);e.Bb.backgroundOpacity=f;e=b.fontSizeIncrementOverride?a.C:a.A;f=b.fontSizeIncrement;null==
  f&&(f=d.fontSizeIncrement);e.Bb.fontSizeIncrement=f;f=b.fontStyleOverride?a.C:a.A;e=b.fontStyle;null==e&&(e=d.bold&&d.Xe?3:d.bold?1:d.Xe?2:0);f=f.Bb;switch(e){case 1:f.bold=!0;delete f.Xe;break;case 2:delete f.bold;f.Xe=!0;break;case 3:f.bold=!0;f.Xe=!0;break;default:delete f.bold,delete f.Xe}e=b.textOpacityOverride?a.C:a.A;f=b.textOpacity;null==f&&(f=d.textOpacity);e.Bb.textOpacity=f;e=b.windowOpacityOverride?a.C:a.A;f=b.windowOpacity;null==f&&(f=J4.windowOpacity);e.windowOpacity=f;e=b.charEdgeStyleOverride?
  a.C:a.A;f=b.charEdgeStyle;null==f&&(f=d.charEdgeStyle);e.Bb.charEdgeStyle=f;e=b.fontFamilyOverride?a.C:a.A;f=b.fontFamily;null==f&&(f=d.fontFamily);e.Bb.fontFamily=f;a.loaded&&a.Ou();c&&H4(a,"display-settings",b)},Ssa=function(a,b){if(b&&!a.G){var c=esa({Ed:0,
  lang:"es"});a.G=[c,new Q3(c.start,c.end-c.start,0,c.id,"Los subt\u00edtulos tendr\u00e1n este aspecto")];g.wK(a.player,a.G)}else!b&&a.G&&(Rsa(a,a.G),a.G=null)},Rsa=function(a,b){g.ES(a.player.app,b,void 0);
  (0,g.y)(b,function(c){g.fb(this.J,c)},a);
  g.$m(a.fa)},A4=function(a,b){if(!a.ca)return null;
  try{var c=a.ca.get(b)}catch(d){a.ca.remove(b)}return c},H4=function(a,b,c){if(a.ca)try{a.ca.set(b,c)}catch(d){}};
  g.ku.prototype.co=g.ca(10,function(a){return(a=this.eg(a))?a.o:0});
  g.Vw.prototype.co=g.ca(9,function(){return 0});
  g.Et.prototype.Gk=g.ca(8,function(){for(var a=g.Hd(document,"track",void 0,this.o),b=0;b<a.length;b++)g.ae(a[b])});
  g.lQ.prototype.Gk=g.ca(7,function(){this.o.Gk()});
  g.Et.prototype.Fm=g.ca(6,function(){return!!this.o.textTracks});
  g.lQ.prototype.Fm=g.ca(5,function(){return this.o.Fm()});
  g.Et.prototype.Bk=g.ca(4,function(a){for(var b=0;b<a.length;b++)this.o.appendChild(a[b])});
  g.lQ.prototype.Bk=g.ca(3,function(a){this.o.Bk(a)});
  g.ut.prototype.Vi=g.ca(2,function(){});
  g.Et.prototype.Vi=g.ca(1,function(){return!(!this.o.textTracks||!this.o.textTracks.addEventListener)});
  g.lQ.prototype.Vi=g.ca(0,function(){return this.o.Vi()});
  var Nsa=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,l4=/^#(?:[0-9a-f]{3}){1,2}$/i;g.r(K3,g.B);K3.prototype.lB=function(){return!1};
  K3.prototype.X=function(){this.Hh();g.B.prototype.X.call(this)};
  g.r(L3,K3);L3.prototype.Ks=function(a,b,c){this.ga();b=this.bl(a,b);var d=(0,g.x)(function(e){this.o=null;c(e.responseText,a)},this);
  this.Hh();this.o=g.bq(b,{format:"RAW",onSuccess:d,withCredentials:!0})};
  L3.prototype.Ls=function(a){if(this.w)for(var b=g.p(this.w.captionTracks),c=b.next();!c.done;c=b.next())J3(this.u,c.value);a()};
  L3.prototype.bl=function(a,b){var c=a.Ub(),d={fmt:b};if("srv3"==b||"3"==b||"json3"==b)g.Lk()?Object.assign(d,{xorb:2,xobt:1,xovt:1}):Object.assign(d,{xorb:2,xobt:3,xovt:3});a.o&&(d.tlang=H3(a));return g.Mp(c,d)};
  L3.prototype.Hh=function(){this.o&&this.o.abort()};
  M3.prototype.contains=function(a){a=g.qb(this.segments,a);return 0<=a||0>a&&1===(-a-1)%2};
  M3.prototype.length=function(){return this.segments.length/2};
  g.r(N3,g.B);g.h=N3.prototype;g.h.X=function(){g.B.prototype.X.call(this);this.u&&this.u.cancel()};
  g.h.mz=function(){$ra(this,this.w.getCurrentTime())};
  g.h.reset=function(){this.B=new M3;this.u&&(this.u.cancel(),this.u=null)};
  g.h.vy=function(){this.ga();var a;if(a=null!==this.o)a=this.o,a=a.o.Ag(a);!a||this.u||this.o&&30<this.o.startTime-this.w.getCurrentTime()||(a=this.o,a=a.o.Mj(a),a.o[0].duration?(this.B.contains(a.o[0].u)||asa(this,a),this.o=g.Xa(a.o)):!g.T(this.O.experiments,"force_caption_seek_for_live_killswitch")&&this.o&&this.o.B&&this.o.B+this.w.yb()<this.w.getCurrentTime()&&$ra(this,this.w.getCurrentTime()));this.G.start()};
  g.h.KM=function(a){this.ga();var b=!(this.C?a.response:a.responseText)||400<=a.status,c=g.$w(a);c?(a=g.Dw(this.A,this.J,{}),b=this.A,g.zw(b.u,a,c),b.requestId=a.get("req_id"),asa(this,this.A)):(b||null===this.F||(c=this.A.o[0],this.C?this.F(a.response,1E3*(c.startTime+this.w.yb())):this.F(a.responseText,1E3*(c.startTime+this.w.yb()))),this.u=this.A=null)};
  g.r(O3,K3);g.h=O3.prototype;g.h.Ks=function(a,b,c){this.Hh();b=csa(this,a.getId());b||(b=a.u,b=this.o.u?dsa(this,b,"386"):dsa(this,b));if(b){var d=1E3*(b.index.co(b.index.Ve())-b.index.fd(b.index.Ve()));this.w=new N3(new g.Wv,this.F,b,function(e,f){c(e,a,f,d)},this.C||g.zs(b.info),(0,g.x)(function(){this.w&&this.w.reset();
  this.A=!0},this))}};
  g.h.lB=function(){var a=this.A;this.A=!1;return a};
  g.h.Ls=function(a){var b;this.C?b=[new g.qz({id:"rawcc",languageCode:"rawcc",languageName:"CC1",is_servable:!0,is_default:!0,is_translateable:!1,vss_id:".en"}),new g.qz({id:"rawcc",languageCode:"rawcc",languageName:"CC3",is_servable:!0,is_default:!0,is_translateable:!1,vss_id:".en"})]:b=this.o.u?bsa(this,"386"):bsa(this);b=g.p(b);for(var c=b.next();!c.done;c=b.next())J3(this.u,c.value);a()};
  g.h.Hh=function(){this.w&&(this.w.dispose(),this.w=null)};
  g.h.bl=function(){return""};
  g.r(P3,K3);P3.prototype.Ks=function(a,b,c){this.ga();b=this.bl(a,b);var d=(0,g.x)(function(e){this.o=null;c(e.responseText,a)},this);
  this.Hh();this.o=g.bq(b,{format:"RAW",onSuccess:d,withCredentials:!0})};
  P3.prototype.Ls=function(a){var b=this.A,c={type:"list",tlangs:1,v:this.w,vssids:1};this.C&&(c.asrs=1);b=g.Mp(b,c);c=(0,g.x)(function(d){this.o=null;if((d=d.responseXML)&&d.firstChild){for(var e=g.p(d.getElementsByTagName("track")),f=e.next();!f.done;f=e.next()){var k=f.value;f=k.getAttribute("lang_code");var l=k.getAttribute("lang_translated"),m=k.getAttribute("name"),n=k.getAttribute("kind"),q=k.getAttribute("id"),t="true"==k.getAttribute("lang_default"),u="true"==k.getAttribute("cantran");k=k.getAttribute("vss_id");
  J3(this.u,new g.qz({languageCode:f,languageName:l,name:m,kind:n,id:q,is_servable:!0,is_translateable:u,vss_id:k,is_default:t}))}d=d.getElementsByTagName("target");e=d.length;for(f=0;f<e;f++)l=d[f].getAttribute("lang_code"),m=d[f].getAttribute("lang_translated"),n=d[f].getAttribute("lang_original"),q=d[f].getAttribute("id"),t="true"==d[f].getAttribute("lang_default"),l={languageCode:l,languageName:m,languageOriginal:n,id:q,isDefault:t},this.F[l.languageCode]=l.languageName,this.B.push(l)}a()},this);
  this.Hh();this.o=g.bq(b,{format:"RAW",onSuccess:c,withCredentials:!0})};
  P3.prototype.bl=function(a,b){var c=this.A,d={v:this.w,type:"track",lang:a.u,name:a.getName(),kind:a.A,fmt:b};a.o&&(d.tlang=H3(a));return c=g.Mp(c,d)};
  P3.prototype.Hh=function(){this.o&&this.o.abort()};var gsa=["left","right","center","justify"];var J4={windowColor:"#080808",windowOpacity:0,textAlign:2,Rf:7,Ye:50,Ig:100,Bb:{background:"#080808",backgroundOpacity:.75,charEdgeStyle:0,color:"#fff",fontFamily:4,fontSizeIncrement:0,textOpacity:1,offset:1}};g.r(Q3,g.VC);Q3.prototype.toString=function(){return g.VC.prototype.toString.call(this)};g.r(R3,g.VC);R3.prototype.toString=function(){return g.VC.prototype.toString.call(this)};
  var S3=0;g.r(T3,g.S);g.h=T3.prototype;g.h.uI=function(a,b){var c=g.ph(this.element,this.element.parentElement);this.na=a-c.x;this.sa=b-c.y;g.K(this.element,"ytp-dragging")};
  g.h.tI=function(a,b){var c=g.sh(this.element),d=a-this.na-.02*this.Ja,e=b-this.sa-.02*this.Ha,f=(d+c.width/2)/this.ca*3;f=Math.floor(g.td(f,0,2));var k=(e+c.height/2)/this.xa*3;k=Math.floor(g.td(k,0,2));var l=f+3*k;d=(d+f/2*c.width)/this.ca;d=100*g.td(d,0,1);c=(e+k/2*c.height)/this.xa;c=100*g.td(c,0,1);this.w.params.Rf=l;this.w.params.Ig=c;this.w.params.Ye=d;this.u.Rf=l;this.u.Ig=c;this.u.Ye=d;this.LB()};
  g.h.sI=function(){g.on(this.element,"ytp-dragging")};
  g.h.LB=function(){this.Pi(this.C)};
  g.h.Pi=function(a){var b=Math.min(this.jx(),this.ca),c=this.ix(),d="";3==this.w.params.Ed&&(d="rotate(180deg)");g.$g(this.element,{top:0,left:0,right:"",bottom:"",width:b?b+"px":"",height:c?c+"px":"","max-width":"96%","max-height":"96%",margin:"",transform:""});this.Nq(a);a={transform:d,top:"",left:"",width:b?b+"px":"",height:c?c+"px":"","max-width":"","max-height":""};var e=.96*this.u.Ye+2;d=this.u.Rf;switch(d){case 0:case 3:case 6:a.left=e+"%";break;case 1:case 4:case 7:a.left=e+"%";e=this.B.offsetWidth;
  b||e?(b=b||e+1,a.width=b+"px",a["margin-left"]=b/-2+"px"):a.transform+=" translateX(-50%)";break;case 2:case 5:case 8:a.right=100-e+"%"}b=.96*this.u.Ig+2;switch(d){case 0:case 1:case 2:a.top=b+"%";break;case 3:case 4:case 5:a.top=b+"%";(c=c||this.element.clientHeight)?(a.height=c+"px",a["margin-top"]=c/-2+"px"):a.transform+=" translateY(-50%)";break;case 6:case 7:case 8:a.bottom=100-b+"%"}g.$g(this.element,a)};
  g.h.Nq=function(a){var b;for(b=0;b<a.length&&a[b]==this.C[b];b++);if(this.S||this.C.length>b)b=0,this.S=!1,this.C=[],this.F=this.Z=this.U=null,g.Zd(this.B);for(;b<a.length;b++)ksa(this,a[b])};
  g.h.jx=function(){return 0};
  g.h.ix=function(){return 0};
  g.h.toString=function(){return g.S.prototype.toString.call(this)};lsa.prototype.B=function(){};V3.prototype.clear=function(){this.A=this.u=this.mode=0;this.o=[];this.reset()};
  V3.prototype.reset=function(){this.mode=0;this.B.reset(0);this.C.reset(1)};
  var msa=[128,1,2,131,4,133,134,7,8,137,138,11,140,13,14,143,16,145,146,19,148,21,22,151,152,25,26,155,28,157,158,31,32,161,162,35,164,37,38,167,168,41,42,171,44,173,174,47,176,49,50,179,52,181,182,55,56,185,186,59,188,61,62,191,64,193,194,67,196,69,70,199,200,73,74,203,76,205,206,79,208,81,82,211,84,213,214,87,88,217,218,91,220,93,94,223,224,97,98,227,100,229,230,103,104,233,234,107,236,109,110,239,112,241,242,115,244,117,118,247,248,121,122,251,124,253,254,127,0,129,130,3,132,5,6,135,136,9,10,139,
  12,141,142,15,144,17,18,147,20,149,150,23,24,153,154,27,156,29,30,159,160,33,34,163,36,165,166,39,40,169,170,43,172,45,46,175,48,177,178,51,180,53,54,183,184,57,58,187,60,189,190,63,192,65,66,195,68,197,198,71,72,201,202,75,204,77,78,207,80,209,210,83,212,85,86,215,216,89,90,219,92,221,222,95,96,225,226,99,228,101,102,231,232,105,106,235,108,237,238,111,240,113,114,243,116,245,246,119,120,249,250,123,252,125,126,255];W3.prototype.set=function(a){this.o=a};
  W3.prototype.get=function(){return this.o};
  X3.prototype.clear=function(){this.o=0};
  X3.prototype.update=function(){this.o=2==this.o?1:0};
  X3.prototype.matches=function(a,b){return 0!=this.o&&a==this.w&&b==this.u};
  Y3.prototype.Zh=function(a){this.se=a.se;this.timestamp=a.timestamp};
  Y3.prototype.reset=function(){this.timestamp=this.se=0};
  Z3.prototype.updateTime=function(a){for(var b=1;15>=b;++b)for(var c=1;32>=c;++c)this.w[b][c].timestamp=a};
  Z3.prototype.debugString=function(){for(var a="\n",b=1;15>=b;++b){for(var c=1;32>=c;++c){var d=this.w[b][c];a=0==d.se?a+"_":a+String.fromCharCode(d.se)}a+="\n"}return a};
  Z3.prototype.reset=function(a){for(var b=0;15>=b;b++)for(var c=0;32>=c;c++)this.w[b][c].reset();this.A=a;this.o=0;this.u=this.row=1};
  var rsa=[32,33,34,35,36,37,38,39,40,41,225,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,233,93,237,243,250,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,231,247,209,241,9632],ssa=[174,176,189,191,8482,162,163,9834,224,32,232,226,234,238,244,251],tsa=[193,201,211,218,220,252,8216,161,42,39,9473,169,8480,183,8220,8221,192,194,199,200,202,203,235,
  206,207,239,212,217,249,219,171,187],usa=[195,227,205,204,236,210,242,213,245,123,125,92,94,95,124,126,196,228,214,246,223,165,164,9475,197,229,216,248,9487,9491,9495,9499];e4.prototype.reset=function(a,b){this.B=b;this.style.set(2);this.u=this.C;this.w=this.F;this.o=this.u;var c=(a<<2)+(b<<1);this.C.reset(c);this.F.reset(c);this.G.reset((a<<2)+(b<<1)+1)};
  U3.prototype.reset=function(a){this.B=a;this.o.clear();this.A=this.w;this.w.reset(a,0);this.C.reset(a,1)};g.r(g4,g.B);g4.prototype.w=function(){return[]};
  g4.prototype.reset=function(){};g.r(h4,g4);h4.prototype.reset=function(){this.G={};this.u=this.o=null;this.F=!0};
  h4.prototype.w=function(a,b){var c=a.firstChild;c.getAttribute("format");b=b||0;Number.isFinite(b);c=Array.from(c.childNodes);c=g.p(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,1==d.nodeType)switch(d.tagName){case "head":var e=d;break;case "body":var f=d}if(e)for(e=Array.from(e.childNodes),e=g.p(e),c=e.next();!c.done;c=e.next())if(c=c.value,1==c.nodeType)switch(c.tagName){case "pen":d=c.getAttribute("id");var k=this.A,l={},m=c.getAttribute("p");m&&g.Ta(l,this.A[m]);m=j4(c,"b");null!=m&&(l.bold=
  m);m=j4(c,"i");null!=m&&(l.Xe=m);m=j4(c,"u");null!=m&&(l.underline=m);m=k4(c,"et");null!=m&&(l.charEdgeStyle=m);m=k4(c,"of");null!=m&&(l.offset=m);m=m4(c,"bc");null!=m&&(l.background=m);m=m4(c,"ec");null!=m&&(l.Yq=m);m=m4(c,"fc");null!=m&&(l.color=m);m=k4(c,"fs");null!=m&&0!=m&&(l.fontFamily=m);m=i4(c,"sz");void 0!=m&&(l.fontSizeIncrement=m/100-1);m=i4(c,"bo");void 0!=m&&(l.backgroundOpacity=m/255);m=i4(c,"fo");void 0!=m&&(l.textOpacity=m/255);m=k4(c,"rb");null!=m&&10!=m&&0!=m&&(l.Lb=10<m?m-1:m);
  c=k4(c,"hg");null!=c&&(l.Px=c);k[d]=l;break;case "ws":d=c.getAttribute("id");this.J[d]=Bsa(this,c);break;case "wp":d=c.getAttribute("id"),this.H[d]=Csa(this,c)}if(f){e=b;c=[];f=Array.from(f.childNodes);f=g.p(f);for(d=f.next();!d.done;d=f.next())if(d=d.value,1==d.nodeType)switch(d.tagName){case "w":this.o=Dsa(this,d,e,!1);(d=this.G[this.o.id])&&d.end>this.o.start&&(d.end=this.o.start);this.G[this.o.id]=this.o;c.push(this.o);break;case "p":var n=e;k=[];l=d.getAttribute("w")||this.B;m=!!j4(d,"a");n=
  (i4(d,"t")||0)+n;var q=i4(d,"d")||5E3;m||(!this.F&&this.u&&this.u.windowId==l&&this.u.end>n&&(this.u.end=n),this.u&&"\n"==this.u.text&&(this.u.text=""));var t=m?6:5,u=this.A[d.getAttribute("p")],z=[].concat(g.na(d.childNodes));z.length&&(this.F=null!=d.getAttribute("d"));for(var D=0;D<z.length;D++){var E=z[D],F=void 0;0<D&&(m=!0);var G=void 0;1==E.nodeType&&(G=E);if(G&&"s"==G.tagName){if((E=this.A[G.getAttribute("p")])&&E.Lb&&(1==E.Lb?(E=z.slice(D,D+4),4==E.length&&(F=Asa(n,q,l,m,t,E,this.A),D+=3)):
  F=Asa(n,q,l,m,t,[G],this.A)),!F){var J=G;F=n;G=q;E=l;var la=m,ta=t,tc=J.textContent?J.textContent:"",Wd=this.A[J.getAttribute("p")];J=i4(J,"t")||0;F=new Q3(F+J,G-J,ta,E,tc,la,Wd)}}else F=new Q3(n,q,t,l,E.textContent||"",m,u);k.push(F);this.u=F}if(0<k.length)for(k[0].windowId==this.B&&(this.o=Dsa(this,d,e,!0),c.push(this.o)),d=g.p(k),k=d.next();!k.done;k=d.next())k=k.value,k.windowId=this.o.id,this.o.o.push(k),c.push(k)}e=c}else e=[];return e};var Tsa=new Map([[9,1],[10,1],[11,2],[12,3],[13,4],[14,5]]);g.r(n4,g4);n4.prototype.reset=function(){this.u.clear()};
  n4.prototype.w=function(a,b){var c=JSON.parse(a);if(!c)return[];if(c.pens)for(var d=0,e=g.p(c.pens),f=e.next();!f.done;f=e.next()){f=f.value;var k={},l=f.pParentId;l&&Object.assign(k,this.o.get(l));f.bAttr&&(k.bold=!0);f.iAttr&&(k.Xe=!0);f.uAttr&&(k.underline=!0);l=f.ofOffset;null!=l&&(k.offset=l);f.szPenSize&&(k.fontSizeIncrement=f.szPenSize/100-1);l=f.etEdgeType;null!=l&&(k.charEdgeStyle=l);void 0!=f.ecEdgeColor&&(k.Yq=o4(f.ecEdgeColor));l=f.fsFontStyle;null!=l&&0!==l&&(k.fontFamily=l);void 0!=
  f.fcForeColor&&(k.color=o4(f.fcForeColor));void 0!=f.foForeAlpha&&(k.textOpacity=f.foForeAlpha/255);void 0!=f.bcBackColor&&(k.background=o4(f.bcBackColor));void 0!=f.boBackAlpha&&(k.backgroundOpacity=f.boBackAlpha/255);(l=f.rbRuby)&&10!==l&&(k.Lb=10<l?l-1:l,k.ff=Tsa.get(k.Lb));f.hgHorizGroup&&(k.Px=f.hgHorizGroup);this.o.set(d++,k)}if(c.wsWinStyles)for(d=0,e=g.p(c.wsWinStyles),f=e.next();!f.done;f=e.next())f=f.value,k={},(l=f.wsParentId)?Object.assign(k,this.B.get(l)):Object.assign(k,this.C),void 0!=
  f.mhModeHint&&(k.Ij=f.mhModeHint),void 0!=f.juJustifCode&&(k.textAlign=f.juJustifCode),void 0!=f.pdPrintDir&&(k.Ed=f.pdPrintDir),void 0!=f.sdScrollDir&&(k.Du=f.sdScrollDir),void 0!=f.wfcWinFillColor&&(k.windowColor=o4(f.wfcWinFillColor)),void 0!=f.wfoWinFillAlpha&&(k.windowOpacity=f.wfoWinFillAlpha/255),this.B.set(d++,k);if(c.wpWinPositions)for(d=0,e=g.p(c.wpWinPositions),f=e.next();!f.done;f=e.next())f=f.value,k={},(l=f.wpParentId)&&Object.assign(k,this.A.get(l)),l=k,void 0!=f.ahHorPos&&(l.Ye=f.ahHorPos),
  void 0!=f.apPoint&&(l.Rf=f.apPoint),void 0!=f.avVerPos&&(l.Ig=f.avVerPos),void 0!=f.ccCols&&(l.Sg=f.ccCols),void 0!=f.rcRows&&(l.Hg=f.rcRows),this.A.set(d++,k);if(c.events)for(d=[],c=g.p(c.events),e=c.next();!e.done;e=c.next()){var m=e.value;e=(m.tStartMs||0)+b;f=m.dDurationMs||0;if(m.id)k=String(m.id),e=Esa(this,m,e,f,k),d.push(e),this.u.set(k,e);else{m.wWinId?k=m.wWinId.toString():(k="_"+S3++,l=Esa(this,m,e,f,k),d.push(l),this.u.set(k,l));0===f&&(f=5E3);l=this.u.get(k);var n=!!m.aAppend,q=n?6:5,
  t=m.segs,u=null;m.pPenId&&(u=this.o.get(m.pPenId));for(m=0;m<t.length;m++){var z=t[m],D=z.utf8;if(D){var E=z.tOffsetMs||0,F=null;z.pPenId&&(F=this.o.get(z.pPenId));if(2===(null!=l.params.Ij?l.params.Ij:1<l.o.length?1:0)&&n&&"\n"===D)continue;if(z=F&&1===F.Lb)if(z=m,z+3>=t.length||!t[z+1].pPenId||!t[z+2].pPenId||!t[z+3].pPenId)z=!1;else{var G=t[z+1].pPenId;(G=this.o.get(G))&&G.Lb&&2==G.Lb?(G=t[z+2].pPenId,G=this.o.get(G),!G||!G.Lb||3>G.Lb?z=!1:(G=t[z+3].pPenId,z=(G=this.o.get(G))&&G.Lb&&2==G.Lb?!0:
  !1)):z=!1}if(z){E=t[m+1].utf8;z=t[m+3].utf8;G=t[m+2].utf8;var J=this.o.get(t[m+2].pPenId);D=zsa(D,E,G,z,J);n=new Q3(e,f,q,k,D,n,F);m+=3}else n=new Q3(e+E,f-E,q,l.id,D,n,F||u);n&&(d.push(n),l.o.push(n))}n=!0}}}else d=[];return d};g.r(p4,T3);p4.prototype.Nq=function(a){var b=this.w.o;T3.prototype.Nq.call(this,a);for(a=a.length;a<b.length;a++){var c=b[a];if(f&&c.o==e)var d=f;else{d={};g.Ta(d,c.o);g.Ta(d,Usa);var e=c.o;var f=d}ksa(this,c,d)}};
  var Usa={aG:!0};g.r(q4,lsa);q4.prototype.B=function(a,b,c,d,e){if(c<d){var f="_"+S3++;c=c/1E3-this.F;d=d/1E3-this.F;a=new R3(c,d-c,5,f,{textAlign:0,Rf:0,Ye:2.5*b,Ig:5.33*a});e=new Q3(c,d-c,5,f,e);this.w.push(a);this.w.push(e)}};
  g.r(t4,g4);t4.prototype.w=function(a){a=new q4(a,a.byteLength,this.u);if(Fsa(a)){for(;a.o<a.u.byteLength;)for(0==a.version?a.A=s4(a)*(1E3/45):1==a.version&&(a.A=4294967296*s4(a)+s4(a)),a.C=r4(a);0<a.C;a.C--){var b=r4(a),c=r4(a),d=r4(a);b&4&&(b&3)==this.track&&(0==this.track||1==this.track)&&(b=this.o,b.o.push({time:a.A,type:this.track,lw:c,mw:d,order:b.o.length}))}qsa(this.o,a);return a.w}return[]};
  t4.prototype.reset=function(){this.o.clear()};g.r(v4,T3);g.h=v4.prototype;g.h.LB=function(){g.dn(this.fa)};
  g.h.QM=function(){g.on(this.element,"ytp-rollup-mode");this.Pi(this.Ba,!0)};
  g.h.ix=function(){return this.A?this.J:this.H};
  g.h.jx=function(){return this.A?this.H:this.J};
  g.h.Pi=function(a,b){this.Ba=a;if(this.w.params.Hg){for(var c=0,d=0;d<this.C.length&&c<a.length;d++)this.C[d]==a[c]&&c++;0<c&&c<a.length&&(a=this.C.concat(a.slice(c)));this.ya=this.J;this.H=this.J=0;T3.prototype.Pi.call(this,a);Ksa(this,b);T3.prototype.Pi.call(this,a)}else T3.prototype.Pi.call(this,a)};g.r(w4,g4);
  w4.prototype.w=function(a,b){for(var c=[],d=a.split(Vsa),e=1;e<d.length;e++){var f=d[e],k=b;if(""!=f&&!Wsa.test(f)){var l=K4.exec(f);if(l&&4<=l.length){var m=x4(l[1]),n=x4(l[2])-m;m+=k;var q,t=q=void 0,u=void 0,z=void 0,D=(l=l[3])?l.split(" "):[];l={textAlign:2};D=g.p(D);for(var E=D.next();!E.done;E=D.next())if(E=E.value.split(":"),2==E.length){var F=E[1];switch(E[0]){case "line":E=F.split(",");E[0].endsWith("%")&&(z=E[0],l.Ig=Number.parseInt(z,10),2==E.length&&(u=E[1].trim()));break;case "position":E=F.split(",");
  t=E[0];l.Ye=Number.parseInt(t,10);2==E.length&&(q=E[1].trim());break;case "align":switch(F){case "start":l.textAlign=0;break;case "middle":l.textAlign=2;break;case "end":l.textAlign=1}}}z||(l.Ig=100,u||(u="end"));if(!t)switch(l.textAlign){case 0:l.Ye=0;break;case 1:l.Ye=100;break;default:l.Ye=50}t=0;switch(u){case "center":t+=3;break;case "end":t+=6;break;default:t+=0}switch(q){case "line-left":t+=0;break;case "center":t+=1;break;case "line-right":t+=2;break;default:switch(l.textAlign){case 0:t+=
  0;break;case 2:t+=1;break;case 1:t+=2}}l.Rf=0>t||8<t?7:t;q=l;f=f.substring(K4.lastIndex).replace(/[\x01-\x09\x0b-\x1f]/g,"");t=q;q=f;f={};if(0>q.indexOf("<")&&0>q.indexOf("&"))k=Msa(m,n,5,t),n=new Q3(m,n,5,k.id,q,!1,g.A.isEmpty(f)?void 0:f),c.push(k),c.push(n),k.o.push(n);else for(u=q.split(Xsa),1==u.length?(q=5,t=Msa(m,n,q,t)):(z=q=6,t=Object.assign({Sg:32},t),t=new R3(m,n,z,"_"+S3++,t)),c.push(t),z=m,l=0;l<u.length;l++)D=u[l],0==l%2?(E=g.O1("<html>"+D+"</html>"),E.getElementsByTagName("parsererror").length?
  (F=E.createElement("span"),F.appendChild(E.createTextNode(D))):F=E.firstChild,Lsa(this,z,n-(z-m),q,t,0<l,F,f,c)):z=x4(D)+k}K4.lastIndex=0}}return c};
  var Wsa=/^NOTE/,Vsa=/(?:\r\n|\r|\n){2,}/,K4=RegExp("^((?:[\\d]{2}:)?[\\d]{2}:[\\d]{2}\\.[\\d]{3})[\\t ]+--\x3e[\\t ]+((?:[\\d]{2}:)?[\\d]{2}:[\\d]{2}\\.[\\d]{3})(?:[\\t ]*)(.*)(?:\\r\\n|\\r|\\n)","gm"),Xsa=/<((?:[\d]{2}:)?[\d]{2}:[\d]{2}\.[\d]{3})>/;g.r(y4,g.B);y4.prototype.clear=function(){this.o&&this.o.dispose();this.o=null};
  y4.prototype.reset=function(){this.o&&this.o.reset()};
  y4.prototype.X=function(){this.clear();g.B.prototype.X.call(this)};g.r(B4,g.NK);g.h=B4.prototype;g.h.X=function(){if(this.B||this.H){var a=this.U.app.B;a&&!a.ga()&&a.Gk()}else Ssa(this,!1);g.NK.prototype.X.call(this)};
  g.h.load=function(){g.NK.prototype.load.call(this);var a=!g.T(this.w.experiments,"web_player_captions_track_list_changed_killswitch");this.F=this.player.getAudioTrack();if(this.u)this.o&&(this.da.clear(),this.B?Psa(this,!0):3!=this.player.getPresentingPlayerType()&&this.u.Ks(this.o,"json3",(0,g.x)(this.zN,this)),!a||this.B||this.H||G4(this)||this.player.ma("captionschanged",G3(this.o))),a||(this.o&&!G4(this)?this.player.ma("captionschanged",G3(this.o)):this.player.ma("onCaptionsTrackListChanged"));
  else{var b;this.sa?b=new O3(this.T.la,this.player):this.Aa?b=new L3(this.w,this.T,this.player.getAudioTrack()):b=new P3(this.T.Fk,this.T.videoId,this.T.captionsLanguagePreference||this.w.captionsLanguagePreference||g.sB(this.T,"yt:cc_default_lang")||this.w.hc,this.T.Tq,this.w);this.u=b;g.C(this,this.u);b.Ls((0,g.x)(this.yN,this))}};
  g.h.unload=function(){this.B&&this.o?Psa(this,!1):(this.ra&&g.en(this.ra),g.LP(this.player.app,"captions",void 0),this.J=[],this.u&&this.u.Hh(),this.da.clear(),this.G&&g.wK(this.player,this.G),this.Ou());g.NK.prototype.unload.call(this);var a=g.R(this.player.app);a&&g.wH(a.B);this.player.ma("captionschanged",{})};
  g.h.create=function(){(this.ha?this.B||this.H:D4(this)||C4(this))&&this.load()};
  g.h.yN=function(){var a;this.P||C4(this)?a=F4(this,this.P):D4(this)&&(a=E4(this));if(this.B||this.H){for(var b=I3(this.u.u,!0),c=[],d=0;d<b.length;d++){var e=b[d],f={kind:"subtitles",label:g.rz(e),srclang:H3(e),id:e.toString()};this.H||(f.src=this.u.bl(e,"vtt"));e==a&&(f["default"]=1);c.push(g.Ud("TRACK",f))}a=this.U.app.B;a.Bk(c);c=a.bb();this.xa&&this.S.L(c.textTracks,"change",this.AN)}else!this.o&&a&&I4(this,a),this.player.ma("onCaptionsTrackListChanged"),this.player.ma("onApiChange")};
  g.h.AN=function(){for(var a=this.U.app.B.bb().textTracks,b=null,c=0;c<a.length;c++)if("showing"==a[c].mode)a:{b=a[c].id;var d=I3(this.u.u,!0);for(var e=0;e<d.length;e++)if(d[e].toString()==b){b=d[e];break a}b=null}(this.loaded?this.o:null)!=b&&I4(this,b,!0)};
  g.h.dP=function(){!this.o&&this.B||this.unload()};
  g.h.zN=function(a,b,c,d){if(a){this.u.lB()&&(this.J=[],g.LP(this.U.app,"captions",void 0),g.$m(this.fa),this.da.reset());var e=this.da;c=c||0;d=d||0;if(e.u.ea("html5_disable_rawcc_killswitch")){if("string"!==typeof a){var f=new DataView(a);8<=f.byteLength&&1718909296==f.getUint32(4)&&(f=g.Bu(f,0,1835295092),a=a.slice(f.dataOffset,f.dataOffset+f.size),u4(a)||(a=Yra(new Uint8Array(a))))}}else"string"===typeof a||u4(a)||(f=new DataView(a),a=8>=f.byteLength||1718909296!==f.getUint32(4)?"":(f=g.Bu(f,0,
  1835295092))&&f.size?Yra(new Uint8Array(a.slice(f.dataOffset,f.dataOffset+f.size))):"");if(a)try{if("string"!==typeof a){var k=a,l=c,m=d;if(!u4(k))throw Error("Invalid binary caption track data");e.o||(e.o=new t4(m,b));var n=e.o.w(k,l)}else{if("WEBVTT"==a.substring(0,6))b=a,m=c,e.o||(e.o=new w4),l=e.o.w(b,m),.01>Math.random()&&g.oo(Error("Deprecated subtitles format in web player: WebVTT")),k=l;else b:{l=a;if("{"===l[0])try{e.o||(e.o=new n4(Osa(b)));k=e.o.w(l,c);break b}catch(E){g.N(E);k=[];break b}m=
  g.O1(l);if(!m||!m.firstChild){var q=Error("Invalid caption track data");q.params=l;throw q;}if("timedtext"==m.firstChild.tagName){if(3==parseInt(m.firstChild.getAttribute("format"),10)){e.o||(e.o=new h4(Osa(b),e.u));k=e.o.w(m,c);break b}var t=Error("Unsupported subtitles format in web player (Format2)");t.params=l;throw t;}if("transcript"==m.firstChild.tagName){var u=Error("Unsupported subtitles format in web player (Format1)");u.params=l;throw u;}var z=Error("Invalid caption track data");z.params=
  l;throw z;}n=k}var D=n}catch(E){g.N(E),e.clear(),D=[]}else D=[];g.wK(this.player,D);!this.P||this.H||G4(this)||g.Oy(this.w)||g.Py(this.w)||(g.en(this.ra),D=esa({Rf:0,Ye:5,Ig:5,Hg:2,textAlign:0,Ed:0,lang:"es"}),this.Z=[D],e=["Haz clic en "," para ir a la configuraci\u00f3n"],this.na||(n=new g.$t(g.FL()),g.C(this,n),this.na=n.element),n=D.end-D.start,(b=g.rz(this.o))&&this.Z.push(new Q3(D.start,n,0,D.id,b)),this.Z.push(new Q3(D.start,n,0,D.id,e[0]),new Q3(D.start,n,0,D.id,this.na,!0),new Q3(D.start,
  n,0,D.id,e[1],!0)),g.wK(this.player,this.Z),g.cn(this.ra));!this.P||this.H||G4(this)||(H4(this,"module-enabled",!0),this.F&&(this.F.o=this.o),(D=g.R(this.player.app))&&g.wH(D.B));this.P=!1}};
  g.h.gH=function(a){this.J.push(a);g.$m(this.fa)};
  g.h.hH=function(a){g.fb(this.J,a);this.u instanceof O3&&this.u.C&&g.ES(this.player.app,[a],void 0);g.$m(this.fa)};
  g.h.hO=function(a){if(a instanceof R3){var b=this.O[a.id];b&&b.w!=a&&(b.dispose(),delete this.O[a.id],b=null);b||(b=Qsa(this,a))&&(this.O[a.id]=b)}else b=a.windowId,this.aa[b]||(this.aa[b]=[]),this.aa[b].push(a)};
  g.h.oO=function(){Rsa(this,this.Z);this.Z=null};
  g.h.BC=function(){this.fa.stop();g.A.clear(this.aa);this.J.sort(g.XC);var a=this.J;if(this.G){var b=(0,g.be)(a,function(c){return-1==this.G.indexOf(c)},this);
  b.length&&(a=b)}(0,g.y)(a,this.hO,this);g.A.forEach(this.O,function(c,d){this.aa[d]?(c.element.parentNode||g.AK(this.player,c.element,4),c.Pi(this.aa[d])):(c.dispose(),delete this.O[d])},this)};
  g.h.vO=function(){z4(this,{},!0);g.T(this.w.experiments,"web_player_disable_publish_captions_settings_changed_on_reset")||this.player.ma("captionssettingschanged")};
  g.h.oF=function(){var a=J4.Bb;a={background:a.background,backgroundOpacity:a.backgroundOpacity,charEdgeStyle:a.charEdgeStyle,color:a.color,fontFamily:a.fontFamily,fontSizeIncrement:a.fontSizeIncrement,fontStyle:a.bold&&a.Xe?3:a.bold?1:a.Xe?2:0,textOpacity:a.textOpacity,windowColor:J4.windowColor,windowOpacity:J4.windowOpacity};var b=A4(this,"display-settings")||{};null!=b.background&&(a.background=b.background);null!=b.backgroundOverride&&(a.backgroundOverride=b.backgroundOverride);null!=b.backgroundOpacity&&
  (a.backgroundOpacity=b.backgroundOpacity);null!=b.backgroundOpacityOverride&&(a.backgroundOpacityOverride=b.backgroundOpacityOverride);null!=b.charEdgeStyle&&(a.charEdgeStyle=b.charEdgeStyle);null!=b.charEdgeStyleOverride&&(a.charEdgeStyleOverride=b.charEdgeStyleOverride);null!=b.color&&(a.color=b.color);null!=b.colorOverride&&(a.colorOverride=b.colorOverride);null!=b.fontFamily&&(a.fontFamily=b.fontFamily);null!=b.fontFamilyOverride&&(a.fontFamilyOverride=b.fontFamilyOverride);null!=b.fontSizeIncrement&&
  (a.fontSizeIncrement=b.fontSizeIncrement);null!=b.fontSizeIncrementOverride&&(a.fontSizeIncrementOverride=b.fontSizeIncrementOverride);null!=b.fontStyle&&(a.fontStyle=b.fontStyle);null!=b.fontStyleOverride&&(a.fontStyleOverride=b.fontStyleOverride);null!=b.textOpacity&&(a.textOpacity=b.textOpacity);null!=b.textOpacityOverride&&(a.textOpacityOverride=b.textOpacityOverride);null!=b.windowColor&&(a.windowColor=b.windowColor);null!=b.windowColorOverride&&(a.windowColorOverride=b.windowColorOverride);
  null!=b.windowOpacity&&(a.windowOpacity=b.windowOpacity);null!=b.windowOpacityOverride&&(a.windowOpacityOverride=b.windowOpacityOverride);return a};
  g.h.HC=function(a,b){b=void 0===b?!1:b;var c={};g.Ta(c,A4(this,"display-settings"));g.Ta(c,a);z4(this,c,b);this.player.ma("captionssettingschanged")};
  g.h.Ou=function(){!this.B&&this.loaded&&(g.A.forEach(this.O,function(a,b){a.dispose();delete this.O[b]},this),this.BC())};
  g.h.Oc=function(a,b){switch(a){case "fontSize":if(isNaN(b))break;var c=g.td(b,-2,4);this.HC({fontSizeIncrement:c});return c;case "reload":b&&!this.B&&I4(this,this.o,!0);break;case "stickyLoading":void 0!=b&&this.w.Cb&&H4(this,"module-enabled",!!b);break;case "track":if(!this.u)return{};if(b){if(this.B)break;if(!g.Pa(b))break;if(g.A.isEmpty(b)){I4(this,null,!0);break}for(var d=I3(this.u.u,!0),e=0;e<d.length;e++){var f=d[e];f.u!=b.languageCode||c&&f.w!=b.languageName||(c=b.translationLanguage?Xra(f,
  b.translationLanguage):f)}!c||c==this.o&&this.loaded||I4(this,c,!0)}else return this.loaded&&this.o&&!G4(this)?G3(this.o):{};return"";case "tracklist":return this.u?(0,g.ic)(I3(this.u.u,!(!b||!b.includeAsr)),function(k){return G3(k)}):[];
  case "translationLanguages":return this.u?this.u.B.map(function(k){return Object.assign({},k)}):[];
  case "sampleSubtitles":this.B||void 0==b||Ssa(this,!!b)}};
  g.h.getOptions=function(){var a="reload fontSize track tracklist translationLanguages sampleSubtitle".split(" ");this.w.Cb&&a.push("stickyLoading");return a};
  g.h.IG=function(){var a=this.o;return a?{cc:a.C}:{}};
  g.h.WO=function(){this.loaded&&this.o&&!G4(this)?(H4(this,"module-enabled",!1),this.unload(),D4(this,!0)&&I4(this,E4(this),!1)):I4(this,G4(this)||!this.o?F4(this,!0):this.o,!0)};
  g.h.vK=function(){var a=G4(this);D4(this,a)?I4(this,this.player.getAudioTrack().Qn,!1):this.T.captionTracks.length&&(this.loaded&&this.unload(),(this.ha?this.B||this.H:D4(this)||C4(this))&&(a?I4(this,F4(this),!1):this.load()))};g.bL.captions=B4;})(_yt_player);
  