jdaviderb/youtube-audio

View on GitHub
fixtures/vcr_cassettes/youtube/player_base_js.yml

Summary

Maintainability
Test Coverage
---
http_interactions:
- request:
    method: get
    uri: https://www.youtube.com/yts/jsbin/player-plasma-ias-phone-en_US-vflZqC1Iu/base.js
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - "*/*"
      User-Agent:
      - Ruby
      Host:
      - www.youtube.com
  response:
    status:
      code: 200
      message: OK
    headers:
      Accept-Ranges:
      - bytes
      Vary:
      - Accept-Encoding, Origin
      Content-Type:
      - text/javascript
      Timing-Allow-Origin:
      - https://www.youtube.com
      Content-Length:
      - '976646'
      Date:
      - Wed, 18 Sep 2019 02:59:17 GMT
      Expires:
      - Thu, 26 Sep 2019 02:59:17 GMT
      Last-Modified:
      - Mon, 16 Sep 2019 17:42:26 GMT
      X-Content-Type-Options:
      - nosniff
      Server:
      - sffe
      X-Xss-Protection:
      - '0'
      Cache-Control:
      - public, max-age=691200
      Age:
      - '1048'
      Alt-Svc:
      - quic=":443"; ma=2592000; v="46,43,39"
    body:
      encoding: UTF-8
      string: |
        var _yt_player={};(function(g){var window=this;var ca,ea,ma,na,pa,ra,qa,sa,ta,ua,va,wa,Aa,xa,za,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ma,Na,Va,Wa,$a,bb,ab,cb,eb,nb,rb,vb,wb,yb,Cb,zb,Eb,Ab,Fb,Ib,Jb,Kb,Tb,Ub,Wb,Zb,bc,cc,hc,jc,kc,uc,vc,zc,yc,Bc,Cc,Dc,Ec,Hc,Ic,Lc,Mc,Rc,cd,dd,kd,id,jd,md,pd,rd,sd,od,yd,Bd,Cd,Dd,Id,Jd,Kd,Md,Nd,Od,Pd,Qd,Sd,Td,Zd,ce,de,ie,me,qe,re,te,Ae,Ce,fe,He,Ie,ve,ee,Me,Pe,Te,Ue,Qe,Ne,Ye,$e,bf,Ze,cf,df,ef,ff,gf,hf,jf,kf,lf,mf,nf,of,pf,qf,rf,tf,uf,vf,wf,xf,yf,zf,Ef,Cf,Ff,Gf,Hf,If,Jf,Kf,Df,Lf,Nf,Mf,Pf,Qf,Of,Rf,Sf,Tf,Vf,Wf,Xf,$f,bg,ag,fg,kg,lg,mg,
        ng,og,rg,sg,ug,xg,yg,zg,Bg,Dg,Fg,Hg,Jg,Kg,Lg,Ng,Og,Rg,Xg,ah,bh,eh,dh,fh,Zg,jh,ph,qh,rh,sh,th,uh,xh,yh,zh,Ah,Bh,Ch,Dh,Eh,Fh,Gh,Hh,Ih,Kh,Jh,Lh,Mh,Rh,Nh,Qh,Oh,Sh,Th,Vh,Uh,Wh,Yh,Xh,Zh,ai,$h,di,ei,gi,hi,ii,ji,fi,ki,li,mi,ni,ri,si,ti,ui,Ai,Bi,Ci,Ei,Gi,Ji,Mi,Oi,Li,Ki,Pi,Ri,Si,Ti,Ui,Wi,aj,bj,cj,dj,ej,fj,gj,hj,jj,kj,lj,mj,nj,pj,qj,sj,rj,tj,uj,vj,wj,xj,yj,zj,Aj,Cj,Dj,Ej,Fj,Gj,Bj,Hj,Ij,Jj,Kj,Lj,Mj,Nj,Oj,Pj,Rj,Qj,Tj,Uj,Vj,Wj,Xj,bk,ck,fk,hk,jk,kk,lk,mk,nk,gk,ik,ok,pk,qk,uk,vk,wk,xk,yk,zk,Ak,Bk,Ck,Ek,Gk,Hk,Ik,
        Jk,Kk,Lk,Mk,Ok,Nk,Pk,Qk,Rk,Sk,Tk,Uk,Wk,Xk,Yk,Zk,$k,al,bl,cl,el,dl,fl,hl,gl,ml,nl,kl,il,tl,sl,rl,ul,vl,wl,yl,xl,zl,Al,Bl,Cl,El,Fl,Gl,Hl,Il,Jl,Kl,Ll,Nl,Ml,Ol,Ql,Pl,Rl,Sl,Ul,Vl,Xl,Wl,Yl,$l,dm,em,fm,gm,im,mm,pm,jm,rm,zm,ym,tm,lm,Cm,Dm,Em,Fm,Im,Hm,Jm,Km,Mm,Qm,Sm,Um,Vm,Xm,Ym,Zm,an,fn,gn,jn,ln,mn,hn,kn,Tm,$m,sn,pn,nn,on,tn,rn,qn,xn,zn,An,Bn,En,Fn,Gn,Dn,Hn,In,Jn,Ln,Mn,On,Pn,Qn,Rn,Nn,Un,Vn,Sn,Wn,Xn,Yn,Zn,$n,ao,bo,co,eo,fo,ho,io,mo,jo,lo,no,po,oo,ro,ko,qo,to,uo,vo,yo,Ao,Bo,Co,wo,Do,Eo,Fo,so,Ho,Ko,Lo,Jo,Go,
        Mo,Po,Qo,Ro,So,To,Vo,$o,Wo,dp,ep,fp,gp,hp,ip,Vk,jp,kp,lp,mp,np,op,pp,qp,rp,vp,wp,xp,yp,zp,Ap,Cp,Bp,Gp,Fp,Lp,Mp,Pp,Sp,Np,Tp,Vp,Up,Op,Zp,cq,bq,aq,eq,iq,jq,kq,$p,oq,qq,rq,sq,pq,uq,vq,wq,Aq,Cq,xq,yq,zq,Eq,Dq,Hq,Gq,Mq,Oq,Pq,Xq,Wq,Yq,fr,gr,hr,ir,jr,kr,nr,pr,rr,tr,ur,vr,wr,zr,Ar,Br,Cr,Dr,Fr,Hr,Ir,Jr,Nr,Or,Qr,Rr,Tr,Sr,Vr,Xr,Yr,Zr,as,cs,es,hs,fs,gs,ks,is,js,ls,ns,os,ps,qs,ts,us,vs,xs,zs,As,Es,Cs,Hs,Ps,Ss,Rs,Vs,Zs,Xs,$s,at,bt,et,ct,ht,kt,lt,mt,nt,ot,qt,vt,tt,wt,xt,zt,Dt,Bt,Ct,Ht,Ft,Jt,Nt,Pt,Mt,Tt,Qt,Rt,Vt,
        Zt,Xt,Yt,Ut,au,bu,du,eu,gu,hu,iu,ju,ku,mu,ou,pu,cu,qu,vu,uu,ru,zu,yu,Bu,Cu,Du,Fu,Eu,Ku,Iu,Ju,Lu,Mu,Nu,Ou,Pu,Qu,Ru,Su,Tu,Uu,Vu,Wu,Xu,Yu,Zu,$u,av,cv,dv,ev,fv,gv,hv,iv,jv,kv,lv,mv,nv,ov,pv,xv,wv,yv,vv,Jv,Lv,Mv,Ov,Pv,Rv,Vv,dw,ew,hw,gw,fw,jw,tw,xw,zw,Cw,Ew,Hw,Iw,Bw,Dw,Aw,Lw,bv,Ow,Mw,Nw,Qw,Pw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,$w,ax,Zw,bx,cx,dx,fx,ex,gx,hx,ix,jx,mx,nx,ox,kx,tx,sx,ux,vx,wx,yx,zx,Ax,qx,Bx,Cx,Dx,Fx,Gx,Hx,Ix,Jx,Kx,Lx,Nx,Px,Qx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,Yx,Zx,$x,ay,cy,dy,by,ey,fy,gy,hy,iy,ky,ly,my,ny,oy,py,qy,
        ry,vy,wy,yy,zy,Ay,Cy,Dy,Ey,Fy,Gy,Jy,Ky,My,Ny,Oy,Py,Ry,Sy,Ty,Qy,Vy,Wy,fz,dz,gz,iz,kz,mz,oz,qz,uz,wz,xz,yz,zz,Cz,Dz,Hz,Iz,Kz,Lz,Nz,Pz,Qz,Rz,Sz,Oz,Mz,Tz,Uz,Vz,Wz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,kA,lA,jA,mA,nA,qA,rA,uA,oA,yA,zA,wA,tA,AA,BA,vA,xA,CA,DA,EA,pA,FA,GA,HA,IA,PA,KA,RA,TA,QA,NA,UA,MA,VA,WA,YA,ZA,aB,$A,bB,JA,LA,OA,SA,cB,dB,eB,gB,fB,hB,iB,jB,kB,lB,mB,nB,pB,oB,qB,rB,sB,tB,uB,vB,wB,xB,yB,zB,AB,BB,CB,DB,EB,FB,GB,IB,KB,LB,MB,NB,PB,QB,OB,SB,UB,VB,WB,XB,ZB,$B,aC,bC,cC,dC,fC,gC,eC,hC,iC,jC,kC,lC,
        mC,nC,oC,pC,qC,uC,vC,rC,sC,tC,wC,xC,yC,AC,BC,CC,EC,DC,GC,HC,IC,JC,KC,LC,OC,PC,QC,MC,TC,UC,NC,ZC,WC,XC,$C,aD,bD,cD,dD,eD,fD,gD,hD,iD,jD,kD,VC,lD,mD,nD,AD,BD,oD,DD,zD,FD,GD,HD,ID,KD,LD,ND,Yy,PD,QD,VD,WD,XD,YD,$D,ZD,aE,bE,cE,dE,eE,gE,fE,hE,iE,kE,lE,mE,nE,oE,pE,jE,qE,U,rE,sE,tE,vE,xE,yE,zE,AE,YE,V,ZE,$E,aF,bF,RE,UE,$y,dF,QE,aaa,KE,JE,TE,caa,daa,eaa,hF,iF,kF,lF,nF,oF,jF,pF,faa,tF,uF,vF,iaa,kaa,jaa,xF,haa,gaa,wF,yF,laa,zF,maa,oaa,naa,paa,AF,qaa,BF,CF,raa,saa,DF,uaa,EF,taa,GF,MF,QF,TF,WF,vaa,aG,waa,xaa,
        HF,bG,cG,yaa,zaa,dG,fG,gG,jG,iG,mG,nG,Baa,qG,rG,tG,Caa,yG,xG,sG,zG,Eaa,GG,HG,IG,MG,NG,Faa,OG,PG,QG,RG,TG,UG,VG,WG,SG,YG,XG,Gaa,cH,bH,eH,aH,dH,fH,gH,hH,iH,mH,pH,qH,kH,nH,sH,rH,vH,lH,Maa,jH,Naa,xH,Paa,EH,Raa,HH,LH,IH,Saa,ez,NH,OH,PH,MH,QH,Taa,RH,KH,UH,Vaa,Uaa,XH,YH,ZH,aI,bI,JH,Xaa,Yaa,Zaa,$aa,aba,bba,cba,dba,eba,fba,gba,hba,oba,pba,qba,sba,tba,jI,uba,kI,lI,mI,nI,bz,FH,oI,VH,GH,eI,DH,cI,dI,CH,BH,rI,pI,sI,qI,tI,vI,wI,xI,zI,CI,DI,FI,GI,HI,II,JI,KI,LI,vba,NI,MI,wba,PI,OI,RI,EI,SI,UI,yba,WI,XI,YI,ZI,$I,
        cJ,dJ,bJ,zba,aJ,eJ,fJ,hJ,jJ,pJ,Dba,qJ,Bba,Cba,nJ,rJ,Eba,uJ,wJ,xJ,yJ,zJ,AJ,BJ,CJ,DJ,EJ,GJ,HJ,IJ,JJ,FJ,LJ,KJ,Fba,NJ,MJ,Gba,Hba,Iba,Jba,OJ,Kba,PJ,UJ,SJ,TJ,VJ,XJ,QJ,WJ,RJ,YJ,Mba,Nba,Oba,ZJ,Pba,Qba,Rba,$J,aK,fK,eK,hK,bK,iK,jK,kK,cK,lK,dK,gK,mK,Sba,nK,oK,Tba,tK,uK,sK,wK,rK,vK,pK,Uba,xK,yK,qK,Vba,zK,AK,BK,CK,IK,Xba,JK,KK,LK,DK,EK,Wba,GK,MK,HK,FK,OK,QK,PK,RK,SK,UK,TK,VK,ZK,aL,bL,cL,eL,fL,$K,XK,WK,YK,gL,hL,iL,jL,dL,kL,lL,mL,nL,yca,qL,pL,zca,oL,rL,sL,Aca,Dca,Eca,Fca,yL,zL,AL,Gca,uL,tL,Bca,vL,wL,Cca,xL,Hca,
        Ica,BL,CL,Jca,DL,Kca,HL,EL,GL,FL,Lca,Mca,JL,Nca,IL,KL,LL,ML,NL,OL,PL,QL,Qca,Pca,Oca,RL,UL,VL,WL,XL,ZL,$L,bM,cM,eM,Sca,Tca,Uca,dM,gM,Wca,Vca,hM,Yca,Xca,nM,Zca,mM,pM,qM,jM,lM,oM,SL,kM,aM,Rca,$ca,TL,rM,sM,iM,YL,ada,tM,bda,uM,vM,wM,xM,cda,yM,zM,dda,AM,BM,CM,DM,eda,fda,EM,FM,IM,gda,ida,JM,jda,KM,LM,GM,lda,MM,NM,OM,mda,nda,oda,PM,HM,QM,RM,UM,XM,YM,qda,pda,VM,$M,WM,ZM,TM,aN,rda,sda,bN,dN,cN,fN,tda,uda,gN,hN,jN,kN,iN,lN,mN,nN,oN,vda,qN,pN,tN,sN,uN,vN,wN,xda,xN,rN,yN,yda,zda,BN,DN,FN,EN,GN,HN,CN,AN,Ada,LN,
        Cda,NN,PN,QN,ON,RN,JN,Eda,SN,TN,KN,IN,UN,MN,Dda,Fda,Bda,VN,XN,YN,WN,ZN,Gda,$N,aO,Ida,Hda,Jda,eO,oO,cO,gO,pO,qO,tO,rO,Lda,Mda,uO,xO,wO,bO,lO,BO,cz,AO,FO,yO,JO,IO,HO,Oda,CO,Zy,OO,NO,PO,SO,Kda,hO,KO,XO,Pda,ZO,WO,Qda,$O,aP,bP,Rda,YO,dP,cP,TO,VO,fP,mO,GO,hP,gP,jP,iP,eP,Sda,nO,lP,vO,fO,mP,UO,oP,pP,qP,kP,zO,rP,LO,RO,sP,uP,BP,CP,IP,JP,KP,LP,QP,Tda,Uda,Wda,Vda,RP,SP,Xda,TP,UP,VP,WP,XP,Yda,ms,ZP,bQ,cQ,eQ,hQ,iQ,jQ,mQ,nQ,sQ,rQ,uQ,tQ,$da,yQ,zQ,xQ,BQ,AQ,DQ,CQ,EQ,FQ,HQ,GQ,IQ,JQ,KQ,MQ,LQ,NQ,OQ,PQ,QQ,SQ,TQ,RQ,UQ,
        VQ,XQ,ZQ,cea,$Q,YQ,aR,bR,fR,gR,eea,iR,dea,az,AI,jR,fea,hR,kR,lR,mR,yI,oR,AP,qR,rR,sR,uR,wR,vR,iea,jea,kea,zR,lea,FR,DR,BR,CR,yR,AR,ER,GR,nea,mea,HR,LR,pea,MR,qea,QR,NR,SR,TR,UR,KR,WR,OR,YR,VR,RR,PP,$R,cS,aS,dS,bS,eS,gS,rea,hS,jS,kS,iS,mS,nS,oS,pS,bea,rS,qS,sS,tS,uS,vS,wS,tea,sea,yS,AS,BS,MP,FS,yea,DS,NP,CS,KS,LS,MS,NS,PS,wea,xea,TS,SS,xS,XS,YS,wP,ZS,aT,RS,QS,dT,HS,eT,JS,PR,WS,IR,ZR,gT,hT,cT,bT,jT,DP,mT,uI,nT,VS,oT,qT,IS,ES,fT,rT,sT,tT,$S,uT,vea,vT,fS,wT,xT,zea,Aea,yT,zT,AT,BT,CT,DT,Bea,ET,FT,W,GT,
        IT,JT,HT,KT,LT,MT,NT,OT,PT,QT,RT,ST,TT,Cea,UT,VT,WT,XT,$T,aU,Fea,bU,ZT,cU,dU,Hea,Dea,eU,Eea,fU,gU,hU,iU,jU,kU,Iea,lU,Jea,nU,oU,mU,pU,qU,Kea,rU,sU,Lea,Mea,tU,vU,Nea,wU,yU,xU,zU,Oea,Pea,AU,GU,KU,LU,Qea,CU,FU,HU,EU,JU,IU,OU,MU,NU,PU,DU,BU,X,QU,SU,Rea,TU,RU,UU,VU,WU,XU,YU,ZU,Sea,$U,aV,bV,cV,dV,eV,fV,Tea,gV,hV,iV,jV,kV,lV,mV,nV,xV,ZV,$V,aW,bW,cW,dW,eW,fW,gW,hW,iW,jW,kW,lW,Uea,mW,Vea,Zea,Xea,Yea,$ea,afa,bfa,nW,Wea,oW,pW,qW,rW,sW,tW,uW,vW,wW,xW,yW,zW,AW,BW,CW,DW,EW,FW,GW,HW,IW,JW,MW,KW,LW,cfa,NW,OW,QW,PW,
        RW,SW,TW,dfa,ffa,gfa,WW,hfa,VW,UW,efa,XW,YW,ZW,ifa,$W,aX,bX,cX,dX,eX,fX,hX,jfa,jX,iX,kfa,lfa,kX,mfa,lX,nfa,ofa,mX,qfa,pfa,nX,oX,pX,qX,rX,Y,sX,tX,rfa,uX,vX,wX,xX,zX,BX,sfa,AX,CX,DX,EX,FX,GX,HX,IX,JX,KX,LX,MX,NX,PX,QX,RX,OX,wfa,SX,TX,UX,VX,xfa,WX,yfa,XX,YX,zfa,ZX,Afa,$X,aY,bY,Bfa,cY,Cfa,dY,Dfa,fY,hY,jY,lY,mY,nY,Efa,Ffa,Gfa,oY,Hfa,qY,Jfa,Ifa,Lfa,pY,rY,vY,sY,uY,xY,tY,zY,AY,gX,Kfa,yY,BY,wY,Mfa,CY,DY,EY,FY,Nfa,GY,HY,IY,JY,KY,LY,MY,NY,Ofa,Qfa,Rfa,Tfa,Sfa,PY,QY,RY,Vfa,SY,TY,UY,VY,WY,XY,YY,Zfa,Wfa,Yfa,Xfa,
        ZY,$Y,$fa,aZ,bZ,aga,cga,dga,ega,cZ,fga,gga,dZ,jga,iga,kga,eZ,fZ,lga,mga,nga,iZ,oga,pga,qga,rga,jZ,hZ,lZ,mZ,nZ,oZ,pZ,qZ,rZ,sZ,tZ,uZ,vZ,wZ,sga,xZ,tga,yZ,zZ,AZ,BZ,CZ,DZ,EZ,FZ,GZ,HZ,uga,vga,IZ,wga,xga,JZ,yga,KZ,LZ,MZ,zga,NZ,OZ,PZ,QZ,Aga,Bga,Dga,Ega,TZ,UZ,RZ,Cga,SZ,Fga,VZ,WZ,Gga,XZ,ZZ,YZ,$Z,a_,b_,c_,d_,f_,Iga,g_,h_,i_,j_,k_,m_,Kga,n_,o_,p_,q_,r_,s_,Lga,v_,ba,ha,x_,Ad,zd,Sa,Ta;ca=function(a){return function(){return ba[a].apply(this,arguments)}};
        g.da=function(a,b){return ba[a]=b};
        ea=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
        g.r=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:ea(a)}};
        g.fa=function(a){if(!(a instanceof Array)){a=g.r(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
        g.t=function(a,b){a.prototype=ha(b.prototype);a.prototype.constructor=a;if(ia)ia(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Ta=b.prototype};
        ma=function(a,b){if(b){for(var c=ka,d=a.split("."),e=0;e<d.length-1;e++){var f=d[e];f in c||(c[f]={});c=c[f]}d=d[d.length-1];e=c[d];f=b(e);f!=e&&null!=f&&la(c,d,{configurable:!0,writable:!0,value:f})}};
        na=function(){na=function(){};
        ka.Symbol||(ka.Symbol=oa)};
        pa=function(a,b){this.g=a;la(this,"description",{configurable:!0,writable:!0,value:b})};
        ra=function(){na();var a=ka.Symbol.iterator;a||(a=ka.Symbol.iterator=ka.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&la(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return qa(ea(this))}});
        ra=function(){}};
        qa=function(a){ra();a={next:a};a[ka.Symbol.iterator]=function(){return this};
        return a};
        sa=function(){this.u=!1;this.i=null;this.l=void 0;this.g=1;this.D=this.A=0;this.o=null};
        ta=function(a){if(a.u)throw new TypeError("Generator is already running");a.u=!0};
        ua=function(a,b){a.o={uy:b,Hz:!0};a.g=a.A||a.D};
        va=function(a,b,c){a.g=c;return{value:b}};
        wa=function(a){this.g=new sa;this.i=a};
        Aa=function(a,b){ta(a.g);var c=a.g.i;if(c)return xa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.g["return"]);
        a.g["return"](b);return za(a)};
        xa=function(a,b,c,d){try{var e=b.call(a.g.i,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.g.u=!1,e;var f=e.value}catch(h){return a.g.i=null,ua(a.g,h),za(a)}a.g.i=null;d.call(a.g,f);return za(a)};
        za=function(a){for(;a.g.g;)try{var b=a.i(a.g);if(b)return a.g.u=!1,{value:b.value,done:!1}}catch(c){a.g.l=void 0,ua(a.g,c)}a.g.u=!1;if(a.g.o){b=a.g.o;a.g.o=null;if(b.Hz)throw b.uy;return{value:b["return"],done:!0}}return{value:void 0,done:!0}};
        Ba=function(a){this.next=function(b){ta(a.g);a.g.i?b=xa(a,a.g.i.next,b,a.g.B):(a.g.B(b),b=za(a));return b};
        this["throw"]=function(b){ta(a.g);a.g.i?b=xa(a,a.g.i["throw"],b,a.g.B):(ua(a.g,b),b=za(a));return b};
        this["return"]=function(b){return Aa(a,b)};
        ra();this[Symbol.iterator]=function(){return this}};
        Ca=function(a){function b(d){return a.next(d)}
        function c(d){return a["throw"](d)}
        return new Promise(function(d,e){function f(h){h.done?d(h.value):Promise.resolve(h.value).then(b,c).then(f,e)}
        f(a.next())})};
        Da=function(a){return Ca(new Ba(new wa(a)))};
        Ea=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{Vs:e,zw:f}}return{Vs:-1,zw:void 0}};
        Fa=function(a,b,c){if(null==a)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""};
        Ga=function(a,b){ra();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var e=c++;return{value:b(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};
        return d.next()}};
        d[Symbol.iterator]=function(){return d};
        return d};
        Ha=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
        g.u=function(a){return void 0!==a};
        g.w=function(a){return"string"==typeof a};
        Ia=function(a){return"boolean"==typeof a};
        g.Ja=function(a){return"number"==typeof a};
        g.Ka=function(a,b,c){a=a.split(".");c=c||g.y;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b};
        g.z=function(a,b){for(var c=a.split("."),d=b||g.y,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
        g.La=function(){};
        Ma=function(a){a.xc=void 0;a.getInstance=function(){return a.xc?a.xc:a.xc=new a}};
        Na=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";
        else if("function"==b&&"undefined"==typeof a.call)return"object";return b};
        g.Oa=function(a){return"array"==Na(a)};
        g.Pa=function(a){var b=Na(a);return"array"==b||"object"==b&&"number"==typeof a.length};
        g.Qa=function(a){return"function"==Na(a)};
        g.Ra=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
        g.Ua=function(a){return a[Sa]||(a[Sa]=++Ta)};
        Va=function(a,b,c){return a.call.apply(a.bind,arguments)};
        Wa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};
        g.A=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.A=Va:g.A=Wa;return g.A.apply(null,arguments)};
        g.Xa=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};
        g.Ya=function(a,b){for(var c in b)a[c]=b[c]};
        g.Za=function(a,b){function c(){}
        c.prototype=b.prototype;a.Ta=b.prototype;a.prototype=new c;a.prototype.constructor=a};
        $a=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,$a);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
        bb=function(a,b){$a.call(this,ab(a,b))};
        ab=function(a,b){for(var c=a.split("%s"),d="",e=c.length-1,f=0;f<e;f++)d+=c[f]+(f<b.length?b[f]:"%s");return d+c[e]};
        cb=function(){};
        g.db=function(a){return a[a.length-1]};
        eb=function(a,b){var c=a.length,d=g.w(a)?a.split(""):a;for(--c;0<=c;--c)c in d&&b.call(void 0,d[c],c,a)};
        g.gb=function(a,b,c){b=g.fb(a,b,c);return 0>b?null:g.w(a)?a.charAt(b):a[b]};
        g.fb=function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
        g.ib=function(a,b,c){var d=a.length,e=g.w(a)?a.split(""):a;for(--d;0<=d;d--)if(d in e&&b.call(c,e[d],d,a))return d;return-1};
        g.kb=function(a,b){return 0<=jb(a,b)};
        g.lb=function(a){return 0==a.length};
        nb=function(a){if(!g.Oa(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
        g.pb=function(a,b){var c=jb(a,b),d;(d=0<=c)&&g.ob(a,c);return d};
        g.ob=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};
        g.qb=function(a,b){var c=g.fb(a,b,void 0);0<=c&&g.ob(a,c)};
        rb=function(a,b){var c=0;eb(a,function(d,e){b.call(void 0,d,e,a)&&g.ob(a,e)&&c++})};
        g.tb=function(a){return Array.prototype.concat.apply([],arguments)};
        g.ub=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};
        vb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.Pa(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var h=0;h<f;h++)a[e+h]=d[h]}else a.push(d)}};
        g.xb=function(a,b,c,d){Array.prototype.splice.apply(a,wb(arguments,1))};
        wb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
        yb=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=g.Ra(f)?"o"+g.Ua(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};
        g.Bb=function(a,b,c){return zb(a,c||Ab,!1,b)};
        Cb=function(a,b){return zb(a,b,!0,void 0,void 0)};
        zb=function(a,b,c,d,e){for(var f=0,h=a.length,l;f<h;){var m=f+h>>1,n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(h=m,l=!n)}return l?f:~f};
        g.Db=function(a,b){a.sort(b||Ab)};
        Eb=function(a,b){var c=Ab;g.Db(a,function(d,e){return c(b(d),b(e))})};
        g.Gb=function(a,b){if(!g.Pa(a)||!g.Pa(b)||a.length!=b.length)return!1;for(var c=a.length,d=Fb,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
        Ab=function(a,b){return a>b?1:a<b?-1:0};
        Fb=function(a,b){return a===b};
        g.Hb=function(a,b,c){c=g.Bb(a,b,c);0>c&&g.xb(a,-(c+1),0,b)};
        Ib=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
        Jb=function(a,b){return 0==a.lastIndexOf(b,0)};
        Kb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
        g.Lb=function(a){return/^[\s\xa0]*$/.test(a)};
        Tb=function(a,b){if(b)a=a.replace(Mb,"&amp;").replace(Nb,"&lt;").replace(Ob,"&gt;").replace(Pb,"&quot;").replace(Qb,"&#39;").replace(Rb,"&#0;");else{if(!Sb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Mb,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Nb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ob,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Pb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Qb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Rb,"&#0;"))}return a};
        Ub=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
        g.Xb=function(a,b){for(var c=0,d=Vb(String(a)).split("."),e=Vb(String(b)).split("."),f=Math.max(d.length,e.length),h=0;0==c&&h<f;h++){var l=d[h]||"",m=e[h]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=Wb(0==l[1].length?0:parseInt(l[1],10),0==m[1].length?0:parseInt(m[1],10))||Wb(0==l[2].length,0==m[2].length)||Wb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
        Wb=function(a,b){return a<b?-1:a>b?1:0};
        Zb=function(a){return-1!=g.Yb.indexOf(a)};
        g.$b=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
        g.ac=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
        bc=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c};
        cc=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
        g.dc=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
        g.ec=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
        g.fc=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
        g.gc=function(a,b){var c=g.Pa(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
        hc=function(a,b){return null!==a&&b in a};
        g.ic=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
        jc=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
        kc=function(a,b){var c=jc(a,b,void 0);return c&&a[c]};
        g.lc=function(a){for(var b in a)return!1;return!0};
        g.mc=function(a){for(var b in a)delete a[b]};
        g.nc=function(a,b){b in a&&delete a[b]};
        g.oc=function(a,b,c){return null!==a&&b in a?a[b]:c};
        g.pc=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0};
        g.qc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
        g.rc=function(a){var b=Na(a);if("object"==b||"array"==b){if(g.Qa(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.rc(a[c]);return b}return a};
        g.tc=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<sc.length;f++)c=sc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
        uc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
        vc=function(){return Zb("Firefox")||Zb("FxiOS")};
        zc=function(){return Zb("Safari")&&!(yc()||Zb("Coast")||Zb("Opera")||Zb("Edge")||Zb("Edg/")||Zb("OPR")||vc()||Zb("Silk")||Zb("Android"))};
        yc=function(){return(Zb("Chrome")||Zb("CriOS"))&&!Zb("Edge")};
        g.Ac=function(){return Zb("Android")&&!(yc()||vc()||Zb("Opera")||Zb("Silk"))};
        Bc=function(a){return function(){return a}};
        Cc=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
        Dc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
        Ec=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};
        Hc=function(a,b){this.g=a===Fc&&b||"";this.i=Gc};
        Ic=function(a){return a instanceof Hc&&a.constructor===Hc&&a.i===Gc?a.g:"type_error:Const"};
        Lc=function(a,b,c){this.i=a===Jc&&b||"";this.l=a===Jc&&c||null;this.o=Kc};
        Mc=function(a){if(a instanceof Lc&&a.constructor===Lc&&a.o===Kc)return a.i;Na(a);return"type_error:TrustedResourceUrl"};
        Rc=function(a,b){var c=Ic(a);if(!Pc.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);var d=c.replace(Qc,function(e,f){if(!Object.prototype.hasOwnProperty.call(b,f))throw Error('Found marker, "'+f+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));var h=b[f];return h instanceof Hc?Ic(h):encodeURIComponent(String(h))});
        return new Lc(Jc,d,null)};
        g.Uc=function(a,b){this.i=a===Sc&&b||"";this.l=Tc};
        g.Wc=function(a){return g.Vc(a).toString()};
        g.Vc=function(a){if(a instanceof g.Uc&&a.constructor===g.Uc&&a.l===Tc)return a.i;Na(a);return"type_error:SafeUrl"};
        g.Yc=function(a){if(a instanceof g.Uc)return a;a="object"==typeof a&&a.Se?a.Id():String(a);Xc.test(a)||(a="about:invalid#zClosurez");return new g.Uc(Sc,a)};
        g.ad=function(a,b){if(a instanceof g.Uc)return a;a="object"==typeof a&&a.Se?a.Id():String(a);if(b&&/^data:/i.test(a)){var c=a.replace(/(%0A|%0D)/g,"");var d=c.match(Zc);d=d&&$c.test(d[1]);c=new g.Uc(Sc,d?c:"about:invalid#zClosurez");if(c.Id()==a)return c}Xc.test(a)||(a="about:invalid#zClosurez");return new g.Uc(Sc,a)};
        cd=function(){this.g="";this.i=bd};
        dd=function(a){var b=new cd;b.g=a;return b};
        kd=function(a){if(a instanceof g.Uc)return'url("'+g.Wc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof Hc)a=Ic(a);else{a=String(a);var b=a.replace(ed,"$1").replace(ed,"$1").replace(fd,"url");if(gd.test(b)){if(b=!hd.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&id(a)}a=b?jd(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new bb("Value does not allow [{;}], got: %s.",[a]);return a};
        id=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b};
        jd=function(a){return a.replace(fd,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(h,l,m){f=l;return m});
        b=g.Yc(d).Id();return c+f+b+f+e})};
        md=function(){this.i="";this.o=ld;this.l=null};
        g.nd=function(a){if(a instanceof md&&a.constructor===md&&a.o===ld)return a.i;Na(a);return"type_error:SafeHtml"};
        pd=function(a){if(a instanceof md)return a;var b="object"==typeof a,c=null;b&&a.Rn&&(c=a.g());return od(Tb(b&&a.Se?a.Id():String(a)),c)};
        rd=function(a){function b(f){g.Oa(f)?(0,g.D)(f,b):(f=pd(f),e.push(g.nd(f).toString()),f=f.g(),0==d?d=f:0!=f&&d!=f&&(d=null))}
        var c=pd(qd),d=c.g(),e=[];(0,g.D)(a,b);return od(e.join(g.nd(c).toString()),d)};
        sd=function(a){return rd(Array.prototype.slice.call(arguments))};
        od=function(a,b){return g.td(a,b)};
        g.td=function(a,b){var c=new md;c.i=a;c.l=b;return c};
        g.vd=function(a,b){if(ud())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=g.nd(b)};
        g.wd=function(a,b){var c=b instanceof g.Uc?b:g.ad(b);a.href=g.Vc(c)};
        yd=function(a){var b=new Lc(Jc,Ic(xd),null);a.src=b.l?b.l:Mc(b).toString()};
        Bd=function(a,b){a.src=Mc(b);if(null===zd)b:{var c=g.y.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Ad.test(c)){zd=c;break b}zd=""}c=zd;c&&a.setAttribute("nonce",c)};
        Cd=function(a){return encodeURIComponent(String(a))};
        Dd=function(a){return decodeURIComponent(a.replace(/\+/g," "))};
        g.Ed=function(a){return a=Tb(a,void 0)};
        g.Gd=function(a,b){var c=g.u(void 0)?a.toFixed(void 0):String(a),d=c.indexOf(".");-1==d&&(d=c.length);return Fd("0",Math.max(0,b-d))+c};
        g.Hd=function(a){return null==a?"":String(a)};
        Id=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
        Jd=function(a){var b=Number(a);return 0==b&&g.Lb(a)?NaN:b};
        Kd=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
        g.Ld=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
        Md=function(a){var b=g.w(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(c,d,e){return d+e.toUpperCase()})};
        Nd=function(){return Zb("iPhone")&&!Zb("iPod")&&!Zb("iPad")};
        Od=function(){return Nd()||Zb("iPad")||Zb("iPod")};
        Pd=function(a){Pd[" "](a);return a};
        Qd=function(a,b){try{return Pd(a[b]),!0}catch(c){}return!1};
        Sd=function(a,b){var c=Rd;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
        Td=function(){var a=g.y.document;return a?a.documentMode:void 0};
        g.Vd=function(a){return Sd(a,function(){return 0<=g.Xb(Ud,a)})};
        g.Xd=function(a){return Number(Wd)>=a};
        g.Yd=function(a,b,c){return Math.min(Math.max(a,b),c)};
        Zd=function(a,b,c){return a+c*(b-a)};
        g.$d=function(a,b){this.x=g.u(a)?a:0;this.y=g.u(b)?b:0};
        g.ae=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
        g.be=function(a,b){this.width=a;this.height=b};
        ce=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
        de=function(a){return a.width*a.height};
        g.he=function(a){return a?new ee(fe(a)):ge||(ge=new ee)};
        ie=function(a,b){return g.w(b)?a.getElementById(b):b};
        g.ke=function(a,b){var c=b||document;if(c.getElementsByClassName)c=c.getElementsByClassName(a)[0];else{c=document;var d=b||c;c=d.querySelectorAll&&d.querySelector&&a?d.querySelector(a?"."+a:""):g.je(c,"*",a,b)[0]||null}return c||null};
        g.je=function(a,b,c,d){a=d||a;b=b&&"*"!=b?String(b).toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){d={};for(var e=0,f=0,h;h=a[f];f++)b==h.nodeName&&(d[e++]=h);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;h=a[f];f++)b=h.className,"function"==typeof b.split&&g.kb(b.split(/\s+/),c)&&(d[e++]=h);d.length=e;return d}return a};
        me=function(a,b){g.$b(b,function(c,d){c&&"object"==typeof c&&c.Se&&(c=c.Id());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:le.hasOwnProperty(d)?a.setAttribute(le[d],c):Jb(d,"aria-")||Jb(d,"data-")?a.setAttribute(d,c):a[d]=c})};
        qe=function(a){var b=a.scrollingElement?a.scrollingElement:g.ne||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement;a=a.parentWindow||a.defaultView;return g.oe&&g.Vd("10")&&a.pageYOffset!=b.scrollTop?new g.$d(b.scrollLeft,b.scrollTop):new g.$d(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
        re=function(a){return a?a.parentWindow||a.defaultView:window};
        g.ue=function(a,b,c){var d=arguments,e=document,f=String(d[0]),h=d[1];if(!se&&h&&(h.name||h.type)){f=["<",f];h.name&&f.push(' name="',g.Ed(h.name),'"');if(h.type){f.push(' type="',g.Ed(h.type),'"');var l={};g.tc(l,h);delete l.type;h=l}f.push(">");f=f.join("")}f=e.createElement(f);h&&(g.w(h)?f.className=h:g.Oa(h)?f.className=h.join(" "):me(f,h));2<d.length&&te(e,f,d,2);return f};
        te=function(a,b,c,d){function e(h){h&&b.appendChild(g.w(h)?a.createTextNode(h):h)}
        for(;d<c.length;d++){var f=c[d];!g.Pa(f)||g.Ra(f)&&0<f.nodeType?e(f):(0,g.D)(ve(f)?g.ub(f):f,e)}};
        g.we=function(a){return document.createElement(String(a))};
        g.xe=function(a){return document.createTextNode(String(a))};
        g.ye=function(a,b){a.appendChild(b)};
        g.ze=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
        Ae=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
        g.Be=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
        Ce=function(a){for(;a&&1!=a.nodeType;)a=a.nextSibling;return a};
        g.Ee=function(a){var b;if(De&&!(g.oe&&g.Vd("9")&&!g.Vd("10")&&g.y.SVGElement&&a instanceof g.y.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Ra(b)&&1==b.nodeType?b:null};
        g.Fe=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
        fe=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
        g.Ge=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else g.ze(a),a.appendChild(fe(a).createTextNode(String(b)))};
        g.Je=function(a){var b;"A"==a.tagName&&a.hasAttribute("href")||"INPUT"==a.tagName||"TEXTAREA"==a.tagName||"SELECT"==a.tagName||"BUTTON"==a.tagName?b=!a.disabled&&(!He(a)||Ie(a)):b=He(a)&&Ie(a);if(b&&g.oe){var c;!g.Qa(a.getBoundingClientRect)||g.oe&&null==a.parentElement?c={height:a.offsetHeight,width:a.offsetWidth}:c=a.getBoundingClientRect();a=null!=c&&0<c.height&&0<c.width}else a=b;return a};
        He=function(a){return g.oe&&!g.Vd("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
        Ie=function(a){a=a.tabIndex;return g.Ja(a)&&0<=a&&32768>a};
        ve=function(a){if(a&&"number"==typeof a.length){if(g.Ra(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Qa(a))return"function"==typeof a.item}return!1};
        g.Ke=function(a,b,c,d){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==d||c<=d);){if(b(a))return a;a=a.parentNode;c++}return null};
        ee=function(a){this.g=a||g.y.document||document};
        Me=function(a){return(0,g.Le)(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};
        Pe=function(a,b){g.Pa(a);void 0===b&&(b=0);Ne();for(var c=Oe[b],d=[],e=0;e<a.length;e+=3){var f=a[e],h=e+1<a.length,l=h?a[e+1]:0,m=e+2<a.length,n=m?a[e+2]:0,p=f>>2;f=(f&3)<<4|l>>4;l=(l&15)<<2|n>>6;n&=63;m||(n=64,h||(l=64));d.push(c[p],c[f],c[l]||"",c[n]||"")}return d.join("")};
        Te=function(a){var b=[];Qe(a,function(c){b.push(c)});
        return b};
        Ue=function(a){!g.oe||g.Vd("10");var b=a.length,c=3*b/4;c%3?c=Math.floor(c):-1!="=.".indexOf(a[b-1])&&(c=-1!="=.".indexOf(a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Qe(a,function(f){d[e++]=f});
        return d.subarray(0,e)};
        Qe=function(a,b){function c(m){for(;d<a.length;){var n=a.charAt(d++),p=Ve[n];if(null!=p)return p;if(!g.Lb(n))throw Error("Unknown base64 encoding at char: "+n);}return m}
        Ne();for(var d=0;;){var e=c(-1),f=c(0),h=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}};
        Ne=function(){if(!Ve){Ve={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Oe[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Ve[f]&&(Ve[f]=e)}}}};
        Ye=function(a){var b=a>>>0;a=Math.floor((a-b)/4294967296)>>>0;We=b;Xe=a};
        $e=function(a,b,c){this.i=null;this.g=this.l=this.o=0;this.u=!1;a&&Ze(this,a,b,c)};
        bf=function(a,b,c){if(af.length){var d=af.pop();a&&Ze(d,a,b,c);return d}return new $e(a,b,c)};
        Ze=function(a,b,c,d){b=b.constructor===Uint8Array?b:b.constructor===ArrayBuffer?new Uint8Array(b):b.constructor===Array?new Uint8Array(b):b.constructor===String?Ue(b):new Uint8Array(0);a.i=b;a.o=g.u(c)?c:0;a.l=g.u(d)?a.o+d:a.i.length;a.g=a.o};
        cf=function(a){for(var b=128,c=0,d=0,e=0;4>e&&128<=b;e++)b=a.i[a.g++],c|=(b&127)<<7*e;128<=b&&(b=a.i[a.g++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(e=0;5>e&&128<=b;e++)b=a.i[a.g++],d|=(b&127)<<7*e+3;if(128>b){a=c>>>0;b=d>>>0;if(d=b&2147483648)a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0);a=4294967296*b+(a>>>0);return d?-a:a}a.u=!0};
        df=function(a){var b=a.i;var c=b[a.g+0];var d=c&127;if(128>c)return a.g+=1,d;c=b[a.g+1];d|=(c&127)<<7;if(128>c)return a.g+=2,d;c=b[a.g+2];d|=(c&127)<<14;if(128>c)return a.g+=3,d;c=b[a.g+3];d|=(c&127)<<21;if(128>c)return a.g+=4,d;c=b[a.g+4];d|=(c&15)<<28;if(128>c)return a.g+=5,d>>>0;a.g+=5;128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&128<=b[a.g++]&&a.g++;return d};
        ef=function(a){this.g=bf(a,void 0,void 0);this.i=this.l=-1;this.o=!1};
        ff=function(a){var b=a.g;(b=b.g==b.l)||(b=a.o)||(b=a.g,b=b.u||0>b.g||b.g>b.l);if(b)return!1;b=df(a.g);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.o=!0,!1;a.l=b>>>3;a.i=c;return!0};
        gf=function(a){switch(a.i){case 0:if(0!=a.i)gf(a);else{for(a=a.g;a.i[a.g]&128;)a.g++;a.g++}break;case 1:1!=a.i?gf(a):(a=a.g,a.g+=8);break;case 2:if(2!=a.i)gf(a);else{var b=df(a.g);a=a.g;a.g+=b}break;case 5:5!=a.i?gf(a):(a=a.g,a.g+=4);break;case 3:b=a.l;do{if(!ff(a)){a.o=!0;break}if(4==a.i){a.l!=b&&(a.o=!0);break}gf(a)}while(1)}};
        hf=function(a){var b=df(a.g);a=a.g;var c=a.i,d=a.g,e=d+b,f=[];for(b="";d<e;){var h=c[d++];if(128>h)f.push(h);else if(192>h)continue;else if(224>h){var l=c[d++];f.push((h&31)<<6|l&63)}else if(240>h){l=c[d++];var m=c[d++];f.push((h&15)<<12|(l&63)<<6|m&63)}else if(248>h){l=c[d++];m=c[d++];var n=c[d++];h=(h&7)<<18|(l&63)<<12|(m&63)<<6|n&63;h-=65536;f.push((h>>10&1023)+55296,(h&1023)+56320)}8192<=f.length&&(b+=String.fromCharCode.apply(null,f),f.length=0)}if(8192>=f.length)f=String.fromCharCode.apply(null,
        f);else{c="";for(e=0;e<f.length;e+=8192)c+=String.fromCharCode.apply(null,wb(f,e,e+8192));f=c}a.g=d;return b+f};
        jf=function(a){var b=df(a.g);a=a.g;if(0>b||a.g+b>a.i.length)a.u=!0,b=new Uint8Array(0);else{var c=a.i.subarray(a.g,a.g+b);a.g+=b;b=c}return b};
        kf=function(){this.g=[]};
        lf=function(a,b){for(;127<b;)a.g.push(b&127|128),b>>>=7;a.g.push(b)};
        mf=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)};
        nf=function(){this.l=[];this.i=0;this.g=new kf};
        of=function(a,b){lf(a.g,8*b+2);var c=a.g.end();a.l.push(c);a.i+=c.length;c.push(a.i);return c};
        pf=function(a,b){var c=b.pop();for(c=a.i+a.g.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.i++;b.push(c);a.i++};
        qf=function(a){for(var b=new Uint8Array(a.i+a.g.length()),c=a.l,d=c.length,e=0,f=0;f<d;f++){var h=c[f];b.set(h,e);e+=h.length}c=a.g.end();b.set(c,e);a.l=[b];return b};
        rf=function(a,b,c){if(null!=c)if(lf(a.g,8*b),a=a.g,0<=c)lf(a,c);else{for(b=0;9>b;b++)a.g.push(c&127|128),c>>=7;a.g.push(1)}};
        tf=function(a,b,c){if(null!=c){lf(a.g,8*b);a=a.g;var d=c;c=0>d;d=Math.abs(d);b=d>>>0;d=Math.floor((d-b)/4294967296);d>>>=0;c&&(d=~d>>>0,b=(~b>>>0)+1,4294967295<b&&(b=0,d++,4294967295<d&&(d=0)));We=b;Xe=d;c=We;for(b=Xe;0<b||127<c;)a.g.push(c&127|128),c=(c>>>7|b<<25)>>>0,b>>>=7;a.g.push(c)}};
        uf=function(a,b,c){if(null!=c){lf(a.g,8*b+1);a=a.g;var d=c;d=(c=0>d?1:0)?-d:d;if(0===d)Xe=0<1/d?0:2147483648,We=0;else if(isNaN(d))Xe=2147483647,We=4294967295;else if(1.7976931348623157E308<d)Xe=(c<<31|2146435072)>>>0,We=0;else if(2.2250738585072014E-308>d)d/=Math.pow(2,-1074),Xe=(c<<31|d/4294967296)>>>0,We=d>>>0;else{var e=d;b=0;if(2<=e)for(;2<=e&&1023>b;)b++,e/=2;else for(;1>e&&-1022<b;)e*=2,b--;d*=Math.pow(2,-b);Xe=(c<<31|b+1023<<20|1048576*d&1048575)>>>0;We=4503599627370496*d>>>0}mf(a,We);mf(a,
        Xe)}};
        vf=function(a,b,c){null!=c&&(lf(a.g,8*b),a.g.g.push(c?1:0))};
        wf=function(a,b,c){if(null!=c){b=of(a,b);for(var d=a.g,e=0;e<c.length;e++){var f=c.charCodeAt(e);if(128>f)d.g.push(f);else if(2048>f)d.g.push(f>>6|192),d.g.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1<c.length){var h=c.charCodeAt(e+1);56320<=h&&57343>=h&&(f=1024*(f-55296)+h-56320+65536,d.g.push(f>>18|240),d.g.push(f>>12&63|128),d.g.push(f>>6&63|128),d.g.push(f&63|128),e++)}else d.g.push(f>>12|224),d.g.push(f>>6&63|128),d.g.push(f&63|128)}pf(a,b)}};
        xf=function(a,b,c,d){null!=c&&(b=of(a,b),d(c,a),pf(a,b))};
        yf=function(a,b,c,d){if(null!=c)for(var e=0;e<c.length;e++){var f=of(a,b);d(c[e],a);pf(a,f)}};
        zf=function(){};
        Ef=function(a,b,c,d){a.g=null;b||(b=[]);a.B=void 0;a.o=-1;a.i=b;a:{if(b=a.i.length){--b;var e=a.i[b];if(!(null===e||"object"!=typeof e||g.Oa(e)||Af&&e instanceof Uint8Array)){a.u=b-a.o;a.l=e;break a}}a.u=Number.MAX_VALUE}a.A={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.u?(e+=a.o,a.i[e]=a.i[e]||Bf):(Cf(a),a.l[e]=a.l[e]||Bf);if(d&&d.length)for(b=0;b<d.length;b++)Df(a,d[b])};
        Cf=function(a){var b=a.u+a.o;a.i[b]||(a.l=a.i[b]={})};
        Ff=function(a,b){if(b<a.u){var c=b+a.o,d=a.i[c];return d===Bf?a.i[c]=[]:d}if(a.l)return d=a.l[b],d===Bf?a.l[b]=[]:d};
        Gf=function(a){if(null==a||a instanceof Uint8Array)return a;if(g.w(a))return Ue(a);Na(a);return null};
        Hf=function(a,b){var c=Ff(a,b);return null==c?0:c};
        If=function(a,b,c){b<a.u?a.i[b+a.o]=c:(Cf(a),a.l[b]=c);return a};
        Jf=function(a,b,c){0!==c?If(a,b,c):a.i[b+a.o]=null;return a};
        Kf=function(a,b,c,d){(c=Df(a,c))&&c!==b&&void 0!==d&&(a.g&&c in a.g&&(a.g[c]=void 0),If(a,c,void 0));If(a,b,d)};
        Df=function(a,b){for(var c,d,e=0;e<b.length;e++){var f=b[e],h=Ff(a,f);null!=h&&(c=f,d=h,If(a,f,void 0))}return c?(If(a,c,d),c):0};
        Lf=function(a,b,c){a.g||(a.g={});if(!a.g[c]){var d=Ff(a,c);d&&(a.g[c]=new b(d))}return a.g[c]};
        Nf=function(a,b,c){Mf(a,b,c);b=a.g[c];b==Bf&&(b=a.g[c]=[]);return b};
        Mf=function(a,b,c){a.g||(a.g={});if(!a.g[c]){for(var d=Ff(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.g[c]=e}};
        Pf=function(a,b,c){a.g||(a.g={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=Of(c[e]);a.g[b]=c;If(a,b,d)};
        Qf=function(a){if(a.g)for(var b in a.g){var c=a.g[b];if(g.Oa(c))for(var d=0;d<c.length;d++)c[d]&&Of(c[d]);else c&&Of(c)}};
        Of=function(a){Qf(a);return a.i};
        Rf=function(a){if(g.Oa(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Rf(d):d)}return b}if(Af&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Rf(d):d);return b};
        Sf=function(a){this.g=a||{cookie:""}};
        Tf=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Vb(a[f]),d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}};
        Vf=function(a){var b=g.z("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if(g.w(a))return{message:a,name:"Unknown error",lineNumber:"Not available",fileName:b,stack:"Not available"};var c=!1;try{var d=a.lineNumber||a.line||"Not available"}catch(f){d="Not available",c=!0}try{var e=a.fileName||a.filename||a.sourceURL||g.y.$googDebugFname||b}catch(f){e="Not available",c=!0}return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:(b=a.message,null==b&&(a.constructor&&
        a.constructor instanceof Function?(a.constructor.name?b=a.constructor.name:(b=a.constructor,Uf[b]?b=Uf[b]:(b=String(b),Uf[b]||(c=/function\s+([^\(]+)/m.exec(b),Uf[b]=c?c[1]:"[Anonymous]"),b=Uf[b])),b='Unknown Error of type "'+b+'"'):b="Unknown Error of unknown type"),{message:b,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:a.stack||"Not available"})};
        g.Yf=function(a){g.Ja(a)?(this.date=Wf(a,0,1),Xf(this,1)):g.Ra(a)?(this.date=Wf(a.getFullYear(),a.getMonth(),a.getDate()),Xf(this,a.getDate())):(this.date=new Date((0,g.H)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Xf(this,a))};
        Wf=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
        Xf=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
        $f=function(a){Zf();return new Lc(Jc,a,null)};
        bg=function(){return!ag()&&(Zb("iPod")||Zb("iPhone")||Zb("Android")||Zb("IEMobile"))};
        ag=function(){return Zb("iPad")||Zb("Android")&&!Zb("Mobile")||Zb("Silk")};
        fg=function(a,b,c,d,e,f,h){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);h&&(l+="#"+h);return l};
        g.gg=function(a){return a?decodeURI(a):a};
        g.ig=function(a,b){return b.match(hg)[a]||null};
        g.jg=function(a){return g.gg(g.ig(3,a))};
        kg=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f=null;if(0<=e){var h=c[d].substring(0,e);f=c[d].substring(e+1)}else h=c[d];b(h,f?Dd(f):"")}};
        lg=function(a){var b=a.indexOf("#");0>b&&(b=a.length);var c=a.indexOf("?");if(0>c||c>b){c=b;var d=""}else d=a.substring(c+1,b);return[a.substr(0,c),d,a.substr(b)]};
        mg=function(a,b){return b?a?a+"&"+b:b:a};
        ng=function(a,b){if(!b)return a;var c=lg(a);c[1]=mg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
        og=function(a,b,c){if(g.Oa(b))for(var d=0;d<b.length;d++)og(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+Cd(b)))};
        g.pg=function(a){var b=[],c;for(c in a)og(c,a[c],b);return b.join("&")};
        g.qg=function(a,b){var c=g.pg(b);return ng(a,c)};
        rg=function(a,b,c){c=null!=c?"="+Cd(c):"";return ng(a,b+c)};
        sg=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1};
        ug=function(a,b){var c=a.search(tg),d=sg(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return Dd(a.substr(d,e-d))};
        g.wg=function(a,b){for(var c=a.search(tg),d=0,e,f=[];0<=(e=sg(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.substr(d));return f.join("").replace(vg,"$1")};
        xg=function(a,b){var c=lg(a),d=c[1],e=[];d&&(0,g.D)(d.split("&"),function(f){var h=f.indexOf("=");b.hasOwnProperty(0<=h?f.substr(0,h):f)||e.push(f)});
        c[1]=mg(e.join("&"),g.pg(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
        yg=function(a){try{return!!a&&null!=a.location.href&&Qd(a,"foo")}catch(b){return!1}};
        zg=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
        Bg=function(){var a=[];zg(Ag,function(b){a.push(b)});
        return a};
        Dg=function(a){return(a=Cg.exec(a))&&a[0]||""};
        Fg=function(){var a=Eg;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};
        Hg=function(){var a=g.we("IFRAME").sandbox,b=a&&a.supports;if(!b)return{};var c={};(0,g.D)(Gg(),function(d){b.call(a,d)&&(c[d]=!0)});
        return c};
        Jg=function(a){return a?a.passive&&Ig()?a:a.capture||!1:!1};
        Kg=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,Jg(d)),!0):!1};
        Lg=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,Jg(void 0))};
        g.Mg=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
        Ng=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};
        Og=function(a,b,c){b instanceof g.$d?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,g.Ja(c)&&(a.top+=c,a.bottom+=c));return a};
        g.Pg=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
        g.Qg=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1};
        g.Sg=function(a,b,c){if(g.w(b))(b=Rg(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Rg(c,d);f&&(c.style[f]=e)}};
        Rg=function(a,b){var c=Tg[b];if(!c){var d=Kd(b);c=d;void 0===a.style[d]&&(d=(g.ne?"Webkit":g.Ug?"Moz":g.oe?"ms":g.Vg?"O":null)+Md(d),void 0!==a.style[d]&&(c=d));Tg[b]=c}return c};
        g.Wg=function(a,b){var c=a.style[Kd(b)];return"undefined"!==typeof c?c:a.style[Rg(a,b)]||""};
        Xg=function(a,b){var c=fe(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
        g.Yg=function(a,b){return Xg(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
        g.$g=function(a,b,c){if(b instanceof g.$d){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Zg(d,!1);a.style.top=Zg(b,!1)};
        ah=function(a){return new g.$d(a.offsetLeft,a.offsetTop)};
        bh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.oe&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
        g.ch=function(a){var b=fe(a),c=new g.$d(0,0);var d=b?fe(b):document;d=!g.oe||g.Xd(9)||"CSS1Compat"==g.he(d).g.compatMode?d.documentElement:d.body;if(a==d)return c;a=bh(a);b=qe(g.he(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c};
        eh=function(a,b){var c=new g.$d(0,0),d=re(fe(a));if(!Qd(d,"parent"))return c;var e=a;do{var f=d==b?g.ch(e):dh(e);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c};
        g.gh=function(a,b){var c=fh(a),d=fh(b);return new g.$d(c.x-d.x,c.y-d.y)};
        dh=function(a){a=bh(a);return new g.$d(a.left,a.top)};
        fh=function(a){if(1==a.nodeType)return dh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.$d(a.clientX,a.clientY)};
        g.ih=function(a,b,c){if(b instanceof g.be)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.hh(a,b);a.style.height=Zg(c,!0)};
        Zg=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
        g.hh=function(a,b){a.style.width=Zg(b,!0)};
        g.kh=function(a){var b=jh;if("none"!=g.Yg(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a};
        jh=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.ne&&!b&&!c;return g.u(b)&&!d||!a.getBoundingClientRect?new g.be(b,c):(a=bh(a),new g.be(a.right-a.left,a.bottom-a.top))};
        g.lh=function(a,b){a.style.display=b?"":"none"};
        ph=function(){if(mh&&!yg(nh)){var a="."+oh.domain;try{for(;2<a.split(".").length&&!yg(nh);)oh.domain=a=a.substr(a.indexOf(".")+1),nh=window.parent}catch(b){}yg(nh)||(nh=window)}return nh};
        qh=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{if(void 0===c?0:c)var d=(new g.be(b.innerWidth,b.innerHeight)).round();else{var e=(b||window).document,f="CSS1Compat"==e.compatMode?e.documentElement:e.body;d=(new g.be(f.clientWidth,f.clientHeight)).round()}return d}catch(h){return new g.be(-12245933,-12245933)}};
        rh=function(a,b,c){try{a&&(b=b.top);var d=qh(a,b,void 0===c?!1:c),e=qe(g.he(b.document).g);if(-12245933==d.width){var f=d.width;var h=new g.Mg(f,f,f,f)}else h=new g.Mg(e.y,e.x+d.width,e.y+d.height,e.x);return h}catch(l){return new g.Mg(-12245933,-12245933,-12245933,-12245933)}};
        sh=function(a){var b={};(0,g.D)(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null===e||c.g(e)||(b[d]=null):b[d]=c});
        rb(a,function(c){return null===b[c.event]})};
        th=function(){this.Ua=0;this.g=!1;this.i=-1;this.hg=!1;this.Ec=0};
        uh=function(){this.g=null;this.l=!1};
        xh=function(a){a.l=!0};
        yh=function(a){uh.call(this);this.o=a};
        zh=function(){uh.call(this)};
        Ah=function(){uh.call(this)};
        Bh=function(){this.g={};this.i=!0;this.l={}};
        Ch=function(a,b,c){a.g[b]||(a.g[b]=new yh(c));return a.g[b]};
        Dh=function(a,b,c){(a=a.g[b])&&a.i(c)};
        Eh=function(a,b){if(hc(a.l,b))return a.l[b];var c=a.g[b];if(c)return c.getValue()};
        Fh=function(a){var b={},c=g.ac(a.g,function(d){return d.l});
        g.$b(c,function(d,e){var f=void 0!==a.l[e]?String(a.l[e]):d.l&&null!==d.g?String(d.g):"";0<f.length&&(b[e]=f)},a);
        return b};
        Gh=function(a){a=Fh(a);var b=[];g.$b(a,function(c,d){d in Object.prototype||"undefined"!=typeof c&&b.push([d,":",c].join(""))});
        return b};
        Hh=function(){this.g=this.Gf=null};
        Ih=function(){};
        Kh=function(){if(!Jh())throw Error();};
        Jh=function(){return!(!I||!I.performance)};
        Lh=function(a){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0};
        Mh=function(){};
        Rh=function(a){a=a||Nh();for(var b=new Oh(g.y.location.href,g.y,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Ph.test(f.url)&&(c=f);if(f.url&&!f.jo){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Qh(b,e,c)};
        Nh=function(){var a=g.y,b=[],c=null;do{var d=a;if(yg(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Oh(e||"",d));try{a=d.parent}catch(f){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=g.y;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)e=b[a],e.url||(e.url=d.location.ancestorOrigins[a-1]||"",e.jo=!0);return b};
        Qh=function(a,b,c){this.g=a;this.i=b;this.l=c};
        Oh=function(a,b,c){this.url=a;this.Gc=b;this.jo=!!c;this.depth=null};
        Sh=function(){this.l="&";this.o=!1;this.i={};this.u=0;this.g=[]};
        Th=function(a,b){var c={};c[a]=b;return[c]};
        Vh=function(a,b,c,d,e){var f=[];zg(a,function(h,l){var m=Uh(h,b,c,d,e);m&&f.push(l+"="+m)});
        return f.join(b)};
        Uh=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],h=0;h<a.length;h++)f.push(Uh(a[h],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Vh(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};
        Wh=function(a,b,c,d){a.g.push(b);a.i[b]=Th(c,d)};
        Yh=function(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=Xh(a)-c.length;if(0>d)return"";a.g.sort(function(p,q){return p-q});
        c=null;for(var e="",f=0;f<a.g.length;f++)for(var h=a.g[f],l=a.i[h],m=0;m<l.length;m++){if(!d){c=null==c?h:c;break}var n=Vh(l[m],a.l,",$");if(n){n=e+n;if(d>=n.length){d-=n.length;b+=n;e=a.l;break}else a.o&&(e=d,n[e-1]==a.l&&--e,b+=n.substr(0,e),e=a.l,d=0);c=null==c?h:c}}a="";null!=c&&(a=e+"trn="+c);return b+a+""};
        Xh=function(a){var b=1,c;for(c in a.i)b=c.length>b?c.length:b;return 3997-b-a.l.length-1};
        Zh=function(a,b){this.g=a;this.depth=b};
        ai=function(a){function b(l,m){return null==l?m:l}
        a=a||Nh();var c=Math.max(a.length-1,0),d=Rh(a);a=d.g;var e=d.i,f=d.l,h=[];f&&h.push(new Zh([f.url,f.jo?2:0],b(f.depth,1)));e&&e!=f&&h.push(new Zh([e.url,2],0));a.url&&a!=f&&h.push(new Zh([a.url,0],b(a.depth,c)));d=(0,g.Le)(h,function(l,m){return h.slice(0,h.length-m)});
        !a.url||(f||e)&&a!=f||(e=Dg(a.url))&&d.push([new Zh([e,1],b(a.depth,c))]);d.push([]);return(0,g.Le)(d,function(l){return $h(c,l)})};
        $h=function(a,b){(0,g.bi)(b,function(e){return 0<=e.depth});
        var c=ci(b,function(e,f){return Math.max(e,f.depth)},-1),d=Ib(c+2);
        d[0]=a;(0,g.D)(b,function(e){return d[e.depth+1]=e.g});
        return d};
        di=function(){var a=ai();return(0,g.Le)(a,function(b){return Uh(b)})};
        ei=function(){this.i=new Mh;this.g=Jh()?new Kh:new Ih};
        gi=function(){fi();var a=I.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Qa(I.setInterval)&&g.Qa(I.clearInterval)&&g.Qa(I.setTimeout)&&g.Qa(I.clearTimeout))};
        hi=function(a){fi();var b=ph()||I;b.google_image_requests||(b.google_image_requests=[]);var c=b.document.createElement("img");c.src=a;b.google_image_requests.push(c)};
        ii=function(){fi();return di()};
        ji=function(){};
        fi=function(){return ji.getInstance().getContext()};
        ki=function(a){Ef(this,a,null,null)};
        li=function(a){this.o=a;this.g=-1;this.i=this.l=0};
        mi=function(a,b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];if(-1<a.g)return b.apply(null,g.fa(d));try{return a.g=a.o.g.now(),b.apply(null,g.fa(d))}finally{a.l+=a.o.g.now()-a.g,a.g=-1,a.i+=1}}};
        ni=function(a,b){this.i=a;this.l=b;this.g=new li(a)};
        ri=function(){this.i=void 0;this.l=this.u=0;this.Ka="ns";this.o=-1;this.ya=new Bh;xh(Ch(this.ya,"mv",oi));Ch(this.ya,"omid",pi);xh(Ch(this.ya,"epoh",pi));xh(Ch(this.ya,"epph",pi));xh(Ch(this.ya,"umt",pi));xh(Ch(this.ya,"gmpd",pi));xh(Ch(this.ya,"sel",pi));xh(Ch(this.ya,"buvpe",pi));xh(Ch(this.ya,"imams",pi));xh(Ch(this.ya,"imar",pi));xh(Ch(this.ya,"gms",pi));xh(Ch(this.ya,"phel",pi));xh(Ch(this.ya,"phell",pi));xh(Ch(this.ya,"oseid",qi));xh(Ch(this.ya,"xdi",pi));xh(Ch(this.ya,"amp",pi));xh(Ch(this.ya,
        "prf",pi));xh(Ch(this.ya,"uup",pi));xh(Ch(this.ya,"gtx",pi));xh(Ch(this.ya,"mvp_lv",pi));xh(Ch(this.ya,"lvio",pi));xh(Ch(this.ya,"omnigm",pi));var a=this.ya;a.g.oms||(a.g.oms=new zh);xh(a.g.oms);this.g=new ni(fi(),this.ya)};
        si=function(){var a="https:";I&&I.location&&"http:"===I.location.protocol&&(a="http:");this.i=a;this.g=.01};
        ti=function(a,b,c,d){if(Math.random()<(d||a.g))try{if(c instanceof Sh)var e=c;else e=new Sh,zg(c,function(h,l){var m=e,n=m.u++,p=Th(l,h);m.g.push(n);m.i[n]=p});
        var f=Yh(e,a.i,"/pagead/gen_204?id="+b+"&");f&&hi(f)}catch(h){}};
        ui=function(a,b,c){c=void 0===c?{}:c;this.error=a;this.context=b.context;this.msg=b.message||"";this.id=b.id||"jserror";this.meta=c};
        g.vi=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};
        Ai=function(){var a=g.y.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.H)()};
        Bi=function(){var a=void 0===a?g.y:a;return(a=a.performance)&&a.now?a.now():null};
        Ci=function(a,b,c){this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0};
        Ei=function(){var a=ph();this.events=[];this.i=a||g.y;var b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.events=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.g=Di()||(null!=b?b:1>Math.random())};
        Gi=function(a){a&&Fi&&Di()&&(Fi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Fi.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};
        Ji=function(){var a=Hi;this.u=Ii;this.o="jserror";this.l=!0;this.g=null;this.A=this.i;this.xa=void 0===a?null:a};
        Mi=function(a,b,c,d){return mi(ri.getInstance().g.g,function(){try{if(a.xa&&a.xa.g){var e=a.xa.start(b.toString(),3);var f=c();a.xa.end(e)}else f=c()}catch(m){var h=a.l;try{Gi(e);var l=new Ki(Li(m));h=a.A(b,l,void 0,d)}catch(n){a.i(217,n)}if(!h)throw m;}return f})()};
        Oi=function(a,b,c){var d=Ni;return mi(ri.getInstance().g.g,function(e){for(var f=[],h=0;h<arguments.length;++h)f[h-0]=arguments[h];return Mi(d,a,function(){return b.apply(void 0,f)},c)})};
        Li=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};
        Ki=function(a){ui.call(this,Error(a),{message:a})};
        Pi=function(){var a=ph();a&&"undefined"!=typeof a.google_measure_js_timing&&(a.google_measure_js_timing||Hi.disable())};
        Ri=function(a){Ni.g=function(b){(0,g.D)(a,function(c){c(b)})}};
        Si=function(a,b){return Mi(Ni,a,b,void 0)};
        Ti=function(a,b){return Oi(a,b,void 0)};
        Ui=function(a,b,c,d){Ni.i(a,b,c,d)};
        Wi=function(){return(0,g.H)()-Vi};
        aj=function(a){var b=0<=Xi?Wi()-Xi:-1,c=Yi?Wi()-Zi:-1,d=0<=$i?Wi()-$i:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];Ui(637,Error(),.001);var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var h=e[b];break}void 0===h&&(h=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:h};
        bj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,yg(a)&&(c=a,b=d);return{Gc:c,level:b}};
        cj=function(a){var b=a!==a.top,c=a.top===bj(a).Gc;if(b&&c&&null!=a.top.mraid)return{Dl:a.top.mraid,Zl:3};a=a.mraid;return null!=a?b?c?{Dl:a,Zl:2}:{Dl:a,Zl:1}:{Dl:a,Zl:0}:null};
        dj=function(a){return(a=a.document)&&g.Qa(a.elementFromPoint)};
        ej=function(a,b,c,d){var e=void 0===e?!1:e;c=Oi(d,c,void 0);Kg(a,b,c,{capture:e});return c};
        fj=function(a){return new g.Mg(a.top,a.right,a.bottom,a.left)};
        gj=function(a){var b=a.top||0,c=a.left||0;return new g.Mg(b,c+(a.width||0),b+(a.height||0),c)};
        hj=function(a){return null!=a&&0<=a&&1>=a};
        jj=function(){var a=g.Yb;return a?(0,g.ij)("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;OMI/".split(";"),function(b){return Ub(a,b)})?!0:Ub(a,"Presto")&&Ub(a,"Linux")&&!Ub(a,"X11")&&!Ub(a,"Android")&&!Ub(a,"Mobi"):!1};
        kj=function(){this.H=!1;this.l=!yg(I.top);this.B=ag()||bg();var a=Nh();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.jg(a[a.length-1].url)||"":"";this.g=new g.Mg(0,0,0,0);this.o=new g.be(0,0);this.u=new g.be(0,0);this.D=new g.Mg(0,0,0,0);this.A=0;this.F=!1;this.i=!(!I||!cj(I));this.update(I)};
        lj=function(a,b){b&&b.screen&&(a.o=new g.be(b.screen.width,b.screen.height))};
        mj=function(a,b){var c=a.g?new g.be(a.g.Qe(),a.g.getHeight()):new g.be(0,0);var d=b;d=void 0===d?I:d;null!==d&&d!=d.top&&(d=d.top);var e=0,f=0;try{var h=d.document,l=h.body,m=h.documentElement;if("CSS1Compat"==h.compatMode&&m.scrollHeight)e=m.scrollHeight!=c.height?m.scrollHeight:m.offsetHeight,f=m.scrollWidth!=c.width?m.scrollWidth:m.offsetWidth;else{var n=m.scrollHeight,p=m.scrollWidth,q=m.offsetHeight,v=m.offsetWidth;m.clientHeight!=q&&(n=l.scrollHeight,p=l.scrollWidth,q=l.offsetHeight,v=l.offsetWidth);
        n>c.height?n>q?(e=n,f=p):(e=q,f=v):n<q?(e=n,f=p):(e=q,f=v)}var x=new g.be(f,e)}catch(B){x=new g.be(-12245933,-12245933)}a.u=x};
        nj=function(){var a=kj.getInstance();if(0<a.A||a.F)return!0;a=fi().i.isVisible();var b=0===Lh(oh);return a||b};
        pj=function(a,b){try{try{var c=fj(a.getBoundingClientRect())}catch(m){c=new g.Mg(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=eh(a,b),h=f.x,l=f.y;return new g.Mg(Math.round(l),Math.round(h+d),Math.round(l+e),Math.round(h))}catch(m){return oj.clone()}};
        qj=function(a,b){return a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new g.Mg(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left)):new g.Mg(0,0,0,0)};
        sj=function(a,b){var c=rj(b);return 0===c?0:rj(a)/c};
        rj=function(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)};
        tj=function(a,b){if(!a||!b)return!1;for(var c=0;null!==a&&100>c++;){if(a===b)return!0;try{if(a=g.Ee(a)||a){var d=fe(a),e=d&&re(d),f=e&&e.frameElement;f&&(a=f)}}catch(h){break}}return!1};
        uj=function(a,b,c){if(!a||!b)return!1;b=Og(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=ph();yg(d.top)&&d.top&&d.top.document&&(d=d.top);if(!dj(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=fe(c))&&b.defaultView&&b.defaultView.frameElement)&&tj(b,a);d=a===c;a=!d&&a&&g.Ke(a,function(e){return e===c});
        return!(b||d||a)};
        vj=function(a,b,c,d){return kj.getInstance().l?!1:0>=a.Qe()||0>=a.getHeight()?!0:c&&d?Si(208,function(){return uj(a,b,c)}):!1};
        wj=function(a,b,c){var d=new g.Mg(0,0,0,0);this.time=a;this.volume=null;this.i=b;this.g=d;this.l=c};
        xj=function(a,b,c,d,e,f,h,l){this.A=a;this.D=b;this.o=c;this.g=d;this.i=e;this.B=f;this.u=h;this.l=l};
        yj=function(a,b){return b?Math.max(a.i,a.B):a.i};
        zj=function(a){this.l=a;this.i=0;this.g=null};
        Aj=function(a,b,c){this.Gc=a;this.Z=void 0===c?"na":c;this.o=[];this.I=!1;this.i=new wj(-1,!0,this);this.l=this;this.D=this.B=b;this.Y=this.V=this.A=!1;this.N="uk";this.Mb=!1};
        Cj=function(a,b){a.Y||(a.Y=!0,a.N=b,a.D=0,a.l==a&&(a.B=0,Bj(a)))};
        Dj=function(a,b){g.kb(a.o,b)||(a.o.push(b),b.si(a.l),b.Ug(a.i),b.we()&&(a.A=!0))};
        Ej=function(a){a=a.l;a.Ot();a.Nt();var b=kj.getInstance();b.D=rh(!1,a.Gc,b.B);a.NA();a.i.g=a.Hs()};
        Fj=function(a){a.A=a.o.length?(0,g.ij)(a.o,function(b){return b.we()}):!1};
        Gj=function(a){var b=g.ub(a.o);(0,g.D)(b,function(c){c.Ug(a.i)})};
        Bj=function(a){var b=g.ub(a.o);(0,g.D)(b,function(c){c.si(a.l)});
        a.l!=a||Gj(a)};
        Hj=function(a,b){var c;if(!(c=a.V)){c=a.i;var d=a.A;c=!(b&&(void 0===d||!d||c.volume==b.volume)&&c.i==b.i&&Ng(c.g,b.g))}a.i=b;c&&Gj(a)};
        Ij=function(a,b,c,d){this.element=a;this.i=new g.Mg(0,0,0,0);this.D=new g.Mg(0,0,0,0);this.u=this.g=b;this.ya=c;this.I=d;this.Mb=!1;this.timestamp=-1;this.o=new xj(b.i,this.element,this.i,new g.Mg(0,0,0,0),0,0,Wi(),0)};
        Jj=function(a){this.Mb=!1;this.g=a};
        Kj=function(a,b,c){this.l=void 0===c?0:c;this.i=a;this.g=null==b?"":b};
        Lj=function(a){switch(Math.trunc(a.l)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};
        Mj=function(a,b){return a.l<b.l?!0:a.l>b.l?!1:a.i<b.i?!0:a.i>b.i?!1:typeof a.g<typeof b.g?!0:typeof a.g>typeof b.g?!1:a.g<b.g};
        Nj=function(){this.l=0;this.g=[];this.i=!1};
        Oj=function(a,b){(0,g.D)(b.g,function(c){a.add(c.i,c.g,Lj(c))})};
        Pj=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;zg(b,function(e,f){d&&void 0===e||a.add(f,e,c)});
        return a};
        Rj=function(a){var b=Qj;a.i&&(g.Db(a.g,function(c,d){return Mj(d,c)?1:Mj(c,d)?-1:0}),a.i=!1);
        return ci(a.g,function(c,d){var e=b(d);return""+c+(""!=c&&""!=e?"&":"")+e},"")};
        Qj=function(a){var b=a.i;a=a.g;return""===a?b:Ia(a)?a?b:"":g.Oa(a)?0===a.length?b:b+"="+a.join():b+"="+(g.kb(["mtos","tos","p"],b)?a:encodeURIComponent(a))};
        Tj=function(a){var b=void 0===b?!0:b;this.g=new Nj;void 0!==a&&Oj(this.g,a);b&&this.g.add("v",Sj,-16)};
        Uj=function(a){var b=[],c=[];g.$b(a,function(d,e){if(!(e in Object.prototype)&&"undefined"!=typeof d){g.Oa(d)&&(d=d.join(","));var f=[e,"=",d].join("");switch(e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":case "aio":case "nio":case "iem":b.unshift(f);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(f);break;default:b.push(f)}}});
        return b.concat(c)};
        Vj=function(){if(Sj&&"unreleased"!==Sj)return Sj};
        Wj=function(a){var b=void 0===b?4E3:b;a=a.toString();if(!/&v=[^&]+/.test(a)){var c=Vj();a=c?a+"&v="+encodeURIComponent(c):a}a=a.substring(0,b);hi(a)};
        Xj=function(){this.g=0};
        g.J=function(){this.Mb=this.Mb;this.rg=this.rg};
        g.K=function(a,b){g.Yj(a,g.Xa(g.Zj,b))};
        g.Yj=function(a,b){a.Mb?g.u(void 0)?b.call(void 0):b():(a.rg||(a.rg=[]),a.rg.push(g.u(void 0)?(0,g.A)(b,void 0):b))};
        g.Zj=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
        g.ak=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.Pa(d)?g.ak.apply(null,d):g.Zj(d)}};
        bk=function(a,b,c){(0,g.D)(a.l,function(d){var e=a.g;if(!d.g&&(d.l(b,c),d.o())){d.g=!0;var f=d.i(),h=new Nj;h.add("id","av-js");h.add("type","verif");h.add("vtype",d.u);d=Xj.getInstance();h.add("i",d.g++);h.add("adk",e);Pj(h,f);e=new Tj(h);Wj(e)}})};
        ck=function(){this.i=this.l=this.o=this.g=0};
        fk=function(a){this.i=a=void 0===a?dk:a;this.g=(0,g.Le)(this.i,function(){return new ck})};
        hk=function(a,b){return gk(a,function(c){return c.g},void 0===b?!0:b)};
        jk=function(a,b){return ik(a,b,function(c){return c.g})};
        kk=function(a,b){return gk(a,function(c){return c.l},void 0===b?!0:b)};
        lk=function(a,b){return ik(a,b,function(c){return c.l})};
        mk=function(a,b){return ik(a,b,function(c){return c.i})};
        nk=function(a){(0,g.D)(a.g,function(b){b.i=0})};
        gk=function(a,b,c){a=(0,g.Le)(a.g,function(d){return b(d)});
        return c?a:ok(a)};
        ik=function(a,b,c){var d=g.ib(a.i,function(e){return b<=e});
        return-1==d?0:c(a.g[d])};
        ok=function(a){return(0,g.Le)(a,function(b,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
        pk=function(){this.i=new fk;this.V=new ck;this.I=this.B=-1;this.ma=1E3;this.ia=new fk([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.N=this.J=-1};
        qk=function(a,b){return kk(a.i,void 0===b?!0:b)};
        uk=function(a,b,c){g.J.call(this);this.position=rk.clone();this.al=this.Dk();this.qo=-2;this.iG=(0,g.H)();this.mw=-1;this.Fi=b;this.mo=null;this.mk=-1!=b;this.Ti=null;this.opacity=-1;this.LF=c;this.qw=this.bl=g.La;this.ac=new Hh;this.ac.Gf=a;this.ac.g=a;this.bh=!1;this.Xf={No:null,Mo:null};this.Xv=!0;this.pj=null;this.Wg=!1;ri.getInstance().u++;this.zc=this.xn();this.kw=-1;this.Ka=null;this.wm=new g.Mg(0,0,0,0);a=this.ya=new Bh;Ch(a,"od",sk);xh(Ch(a,"opac",pi));Ch(a,"ue",pi);Ch(a,"ud",pi);xh(Ch(a,
        "gcm",pi));xh(Ch(a,"cm",pi));xh(Ch(a,"sela",pi));xh(Ch(a,"sbeos",pi));xh(Ch(a,"prf",pi));xh(Ch(a,"mwt",pi));xh(Ch(a,"lcs",pi));Ch(a,"iogeo",pi);xh(Ch(a,"iza",pi));(a=this.ac.Gf)&&a.getAttribute&&!/-[a-z]/.test("googleAvInapp")&&(g.tk&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+g.Ld("googleAvInapp")):a.getAttribute("data-"+g.Ld("googleAvInapp")))&&(kj.getInstance().i=!0);1==this.LF?Dh(this.ya,"od",1):Dh(this.ya,"od",0)};
        vk=function(a,b){if(b!=a.Wg){a.Wg=b;var c=kj.getInstance();b?c.A++:0<c.A&&c.A--}};
        wk=function(a,b,c){var d=a.zc.Ec,e=c?a.zc.Ua:0,f=a.dd();a.wm&&!Ng(a.wm,new g.Mg(0,0,0,0))&&(e=Og(a.wm.clone(),f.left,f.top));a.yh(f,e,b,c,!1,{},void 0,d)};
        xk=function(a,b){var c=b.create(a.ac.g,a.ya,a.we());if(c=null!=c&&c.vo()?c:null)a.Ka=c};
        yk=function(a,b,c){if(a.Ka){a.Ka.Ie();var d=a.Ka.o,e=d.A,f=e.g;if(null!=d.g){var h=d.o;a.Ti=new g.$d(h.left-f.left,h.top-f.top);a.wm=d.g}f=yj(d,a.lj());h={};null!==e.volume&&(h.volume=e.volume);var l=ri.getInstance().ya;["imams","gms"].some(function(m){return 1===Eh(l,m)})?(e=0,a.mo&&(e=d.u-a.mo.u),a.mo=d,a.yh(a.dd(),f,b,c,!1,h,e,d.l)):a.yh(a.dd(),f,b,c,!1,h,void 0,d.l)}};
        zk=function(a){if(a.mk&&a.pj){var b=1==Eh(a.ya,"od"),c=kj.getInstance().g,d=a.pj,e=a.Ka?a.Ka.getName():ri.getInstance().Ka,f=new g.be(c.Qe(),c.getHeight());c=a.lj();a={eG:e,Ti:a.Ti,tG:f,lj:c,Ua:a.zc.Ua,qG:b};if(b=d.i){b.Ie();e=b.o;f=e.A.g;var h=null,l=null;null!=e.g&&f&&(h=e.o,h=new g.$d(h.left-f.left,h.top-f.top),l=new g.be(f.right-f.left,f.bottom-f.top));e=yj(e,c);c={eG:b.getName(),Ti:h,tG:l,lj:c,qG:!1,Ua:e}}else c=null;c&&bk(d,a,c)}};
        Ak=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
        Bk=function(a,b){ri.getInstance();if(b=void 0===b?g.La:b)a.qw=b};
        Ck=function(){};
        Ek=function(a){if(a instanceof Ck)return a;if("function"==typeof a.Ge)return a.Ge(!1);if(g.Pa(a)){var b=0,c=new Ck;c.next=function(){for(;;){if(b>=a.length)throw Dk;if(b in a)return a[b++];b++}};
        return c}throw Error("Not implemented");};
        g.Fk=function(a,b,c){if(g.Pa(a))try{(0,g.D)(a,b,c)}catch(d){if(d!==Dk)throw d;}else{a=Ek(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Dk)throw d;}}};
        Gk=function(a){if(g.Pa(a))return g.ub(a);a=Ek(a);var b=[];g.Fk(a,function(c){b.push(c)});
        return b};
        Hk=function(){this.o=this.g=this.l=this.i=this.u=0};
        Ik=function(a){var b={};var c=(0,g.H)()-a.u;b=(b.ptlt=c,b);(c=a.i)&&(b.pnk=c);(c=a.l)&&(b.pnc=c);(c=a.o)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};
        Jk=function(){th.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.l=-1};
        Kk=function(a){return hj(a.volume)&&.1<=a.volume};
        Lk=function(){var a={};this.i=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.avs=[64,0],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a);this.g={};for(var b in this.i)0<this.i[b][1]&&(this.g[b]=0);this.l=0};
        Mk=function(a,b){var c=a.i[b],d=c[1];a.l+=c[0];0<d&&0==a.g[b]&&(a.g[b]=1)};
        Ok=function(a){return Nk(a,g.fc(a.i))};
        Nk=function(a,b){var c=0,d;for(d in a.g)g.kb(b,d)&&1==a.g[d]&&(c+=a.i[d][1],a.g[d]=2);return c};
        Pk=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(1==d||2==d)b+=a.i[c][1]}return b};
        Qk=function(){this.g=this.i=0};
        Rk=function(){pk.call(this);this.l=new ck;this.Y=this.F=this.R=0;this.D=-1;this.ka=new ck;this.u=new ck;this.g=new fk;this.A=this.o=-1;this.H=new ck;this.ma=2E3;this.U=new Qk;this.ca=new Qk;this.Z=new Qk};
        Sk=function(a,b,c){var d=a.Y;Yi||c||-1==a.D||(d+=b-a.D);return d};
        Tk=function(){this.g=!1};
        Uk=function(a,b){this.g=!1;this.o=a;this.D=b;this.i=0};
        Wk=function(a,b){if(a.l(b)){var c=Vk(a.D,a.o,b);a.i|=c;return 0==c}return!1};
        Xk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;uk.call(this,b,c,d);this.Y=0;this.l={};this.Lb=new Lk;this.Bw={};this.Sb="";this.mh=null;this.Ga=!1;this.g=[];this.lg=e;this.B=f;this.o=null;this.u=-1;this.Z=this.F=void 0;this.H=this.I=0;this.N=-1;this.sa=this.ua=!1;this.Ah=this.Ja=0;this.ca=!1;this.Aa=this.Ba=-1;this.R=this.D=this.i=0;this.tb=this.gb=-1;this.rb=0;this.Wa=new fk;this.U=this.ma=this.Ya=0;this.ka=-1;this.ia=0;this.za=!1;this.Yb=0;this.V=g.La;this.J=[this.Dk()];this.Oa=
        2;a=kj.getInstance().l?a:a.top;this.position=rk.clone();try{this.ac.g&&(this.position=pj(this.ac.g,a))}catch(h){}this.Dg={};this.Dg.pause="p";this.Dg.resume="r";this.Dg.skip="s";this.Dg.mute="m";this.Dg.unmute="um";this.Dg.exitfullscreen="ef";this.A=null};
        Yk=function(a,b,c){a.Yb=1;a.l={};a.l.firstquartile=!1;a.l.midpoint=!1;a.l.thirdquartile=!1;a.l.complete=!1;a.l.pause=!1;a.l.skip=!1;a.l.viewable_impression=!1;a.Y=0;c||(a.Rc().D=b)};
        Zk=function(a){0!=a.Yb&&(a.Yb=3)};
        $k=function(a){return g.u(a)?Number(a)?Ak(a,3):0:a};
        al=function(a,b){var c;null!=b&&b<a.J.length?c=b:c=a.J.length-1;return a.J[c]};
        bl=function(a){var b=!!Eh(ri.getInstance().ya,"umt");return a.F||!b&&!a.Z?0:1};
        cl=function(a,b){(0,g.ij)(a.B,function(c){return c.o==b.o})||a.B.push(b)};
        el=function(a,b,c){return 15E3<=b?!0:a.ua?(void 0===c?0:c)?!0:dl(a.u)?b>=a.u/2:dl(a.N)?b>=a.N:!1:!1};
        dl=function(a){return 1==Eh(ri.getInstance().ya,"gmpd")?0<a:-1!=a};
        fl=function(a){var b=Ak(a.zc.Ua,2),c=a.Lb.l,d=a.zc,e=al(a),f=$k(e.o),h=$k(e.A),l=$k(d.volume),m=Ak(e.B,2),n=Ak(e.I,2),p=Ak(d.Ua,2),q=Ak(e.J,2),v=Ak(e.N,2);d=Ak(d.Ec,2);a=a.dd().clone();a.round();e=qk(e,!1);return{sG:b,vi:c,dl:f,Xk:h,Hh:l,fl:m,Yk:n,Ua:p,il:q,Zk:v,Ec:d,position:a,El:e}};
        hl=function(a,b){gl(a.g,b,function(){return{sG:0,vi:void 0,dl:-1,Xk:-1,Hh:-1,fl:-1,Yk:-1,Ua:-1,il:-1,Zk:-1,Ec:-1,position:void 0,El:[]}});
        a.g[b]=fl(a)};
        gl=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
        ml=function(a,b,c){var d=a.Bw[b];if(null!=d)return d;d=il(a,b);var e=jc(jl,function(f){return f==b});
        c=kl(a,d,d,c,ll[jl[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=Nk(a.Lb,["gdr"]));return c};
        nl=function(a,b,c){var d=[b];if(a!=b||c!=b)d.unshift(a),d.push(c);return d};
        kl=function(a,b,c,d,e){if(a.bh)return{"if":0};var f=a.dd().clone();f.round();var h=kj.getInstance(),l=ri.getInstance(),m=a.Rc(),n={};n["if"]=h.l?1:void 0;n.sdk=a.o?a.o:void 0;n.t=a.iG;n.p=[f.top,f.left,f.bottom,f.right];n.tos=hk(m.i,!1);n.mtos=qk(m);n.mcvt=m.V.l;n.ps=void 0;f=Sk(m,Wi(),2==a.Yb);n.vht=f;n.mut=m.ka.l;n.a=$k(a.zc.volume);n.mv=$k(m.A);n.fs=a.Wg?1:0;n.ft=m.H.g;n.at=m.u.g;n.as=.1<=m.o?1:0;n.atos=hk(m.g);n.ssb=hk(m.ia,!1);n.amtos=kk(m.g);n.uac=a.Ja;n.vpt=m.l.g;"nio"==l.Ka&&(n.nio=1,n.avms=
        "nio");n.gmm="4";n.gdr=el(a,m.l.g,!0)?1:0;n.efpf=a.Oa;0<a.ia&&(n.nnut=a.ia);n.tcm=bl(a);n.nmt=a.ma;n.bt=a.U;n.pst=a.ka;n.vpaid=a.F;n.dur=a.u;n.vmtime=a.I;n.is=a.Lb.l;1<=a.g.length&&(n.i0=a.g[0].vi,n.a0=[a.g[0].Hh],n.c0=[a.g[0].Ua],n.ss0=[a.g[0].Ec],f=a.g[0].position,n.p0=f?[f.top,f.left,f.bottom,f.right]:void 0);2<=a.g.length&&(n.i1=a.g[1].vi,n.a1=nl(a.g[1].dl,a.g[1].Hh,a.g[1].Xk),n.c1=nl(a.g[1].fl,a.g[1].Ua,a.g[1].Yk),n.ss1=nl(a.g[1].il,a.g[1].Ec,a.g[1].Zk),f=a.g[1].position,n.p1=f?[f.top,f.left,
        f.bottom,f.right]:void 0,n.mtos1=a.g[1].El);3<=a.g.length&&(n.i2=a.g[2].vi,n.a2=nl(a.g[2].dl,a.g[2].Hh,a.g[2].Xk),n.c2=nl(a.g[2].fl,a.g[2].Ua,a.g[2].Yk),n.ss2=nl(a.g[2].il,a.g[2].Ec,a.g[2].Zk),f=a.g[2].position,n.p2=f?[f.top,f.left,f.bottom,f.right]:void 0,n.mtos2=a.g[2].El);4<=a.g.length&&(n.i3=a.g[3].vi,n.a3=nl(a.g[3].dl,a.g[3].Hh,a.g[3].Xk),n.c3=nl(a.g[3].fl,a.g[3].Ua,a.g[3].Yk),n.ss3=nl(a.g[3].il,a.g[3].Ec,a.g[3].Zk),f=a.g[3].position,n.p3=f?[f.top,f.left,f.bottom,f.right]:void 0,n.mtos3=a.g[3].El);
        n.cs=Pk(a.Lb);b&&(n.ic=Ok(a.Lb),n.dvpt=m.l.i,n.dvs=mk(m.i,.5),n.dfvs=mk(m.i,1),n.davs=mk(m.g,.5),n.dafvs=mk(m.g,1),c&&(m.l.i=0,nk(m.i),nk(m.g)),a.kg()&&(n.dtos=m.R,n.dav=m.F,n.dtoss=a.Y+1,c&&(m.R=0,m.F=0,a.Y++)),n.dat=m.u.i,n.dft=m.H.i,c&&(m.u.i=0,m.H.i=0));n.ps=[h.u.width,h.u.height];n.bs=[h.g.Qe(),h.g.getHeight()];n.scs=[h.o.width,h.o.height];n.dom=h.domain;a.Ah&&(n.vds=a.Ah);if(0<a.B.length||a.lg)b=g.ub(a.B),a.lg&&b.push(a.lg),n.pings=(0,g.Le)(b,function(p){return p.toString()});
        b=(0,g.Le)((0,g.ol)(a.B,function(p){return p.u()}),function(p){return p.getId()});
        yb(b);n.ces=b;a.i&&(n.vmer=a.i);a.D&&(n.vmmk=a.D);a.R&&(n.vmiec=a.R);n.avms=a.Ka?a.Ka.getName():ri.getInstance().Ka;a.Ka&&g.tc(n,a.Ka.Me());"exc"==l.Ka&&(n.femt=a.gb,n.femvt=a.tb,n.emc=a.rb,n.emb=hk(a.Wa,!1),n.emuc=a.Ya,n.avms="exc");d?(n.c=Ak(a.zc.Ua,2),n.ss=Ak(a.zc.Ec,2)):n.tth=Wi()-pl;n.mc=Ak(m.I,2);n.nc=Ak(m.B,2);n.mv=$k(m.A);n.nv=$k(m.o);n.lte=Ak(a.qo,2);d=al(a,e);qk(m);n.qmtos=qk(d);n.qnc=Ak(d.B,2);n.qmv=$k(d.A);n.qnv=$k(d.o);n.qas=.1<=d.o?1:0;n.qi=a.Sb;n.avms||(n.avms="geo");n.psm=m.U.g;n.psv=
        m.U.getValue();n.psfv=m.ca.getValue();n.psa=m.Z.getValue();l=Gh(l.ya);l.length&&(n.veid=l);a.A&&g.tc(n,Ik(a.A));return n};
        il=function(a,b){if(g.kb(ql,b))return!0;var c=a.l[b];return g.u(c)?(a.l[b]=!0,!c):!1};
        tl=function(){this.g={};var a=re();rl(this,a,document);var b=sl();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)rl(this,c,c.document);rl(this,a.top,a.top.document)}}catch(d){}};
        sl=function(){var a=document.documentElement;try{if(!yg(re().top))return"2";var b=[],c=re(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&0!=b.length?"1":"0"}catch(d){return"2"}};
        rl=function(a,b,c){ej(c,"mousedown",function(){return ul(a)},301);
        ej(b,"scroll",function(){return vl(a)},302);
        ej(c,"touchmove",function(){return wl(a)},303);
        ej(c,"mousemove",function(){return xl(a)},304);
        ej(c,"keydown",function(){return yl(a)},305)};
        ul=function(a){g.$b(a.g,function(b){1E5<b.l||++b.l})};
        vl=function(a){g.$b(a.g,function(b){1E5<b.g||++b.g})};
        wl=function(a){g.$b(a.g,function(b){1E5<b.g||++b.g})};
        yl=function(a){g.$b(a.g,function(b){1E5<b.i||++b.i})};
        xl=function(a){g.$b(a.g,function(b){1E5<b.o||++b.o})};
        zl=function(){this.g=[];this.i=[]};
        Al=function(a,b){return g.gb(a.g,function(c){return c.Sb==b})};
        Bl=function(a,b){return b?g.gb(a.g,function(c){return c.ac.Gf==b}):null};
        Cl=function(a,b){return g.gb(a.i,function(c){return 2==c.ge()&&c.Sb==b})};
        El=function(){var a=Dl;return 0==a.g.length?a.i:0==a.i.length?a.g:g.tb(a.i,a.g)};
        Fl=function(a,b){var c=1==b.ge()?a.g:a.i,d=g.fb(c,function(e){return e==b});
        return-1!=d?(c.splice(d,1),b.Ka&&b.Ka.kl(),b.dispose(),!0):!1};
        Gl=function(a){var b=Dl;if(Fl(b,a)){switch(a.ge()){case 0:var c=function(){return null};
        case 2:c=function(){return Cl(b,a.Sb)};
        break;case 1:c=function(){return Al(b,a.Sb)}}for(var d=c();d;d=c())Fl(b,d)}};
        Hl=function(a,b){var c=Dl,d=(0,g.ol)(a,(void 0===b?0:b)?function(e){return!Al(c,e.Sb)}:function(e){return!Bl(c,e.ac.Gf)});
        c.g.push.apply(c.g,g.fa(d))};
        Il=function(a){var b=Dl,c=[];(0,g.D)(a,function(d){(0,g.ij)(b.g,function(e){return e.ac.Gf===d.ac.Gf&&e.Sb===d.Sb})||(b.g.push(d),c.push(d))})};
        Jl=function(){this.g=this.i=null};
        Kl=function(a,b){function c(d,e){a.g=null;b(d,e)}
        if(null==a.i)return!1;a.g=g.gb(a.i,function(d){return null!=d&&d.yg()&&d.init(c)});
        a.g&&Ej(a.g.g);return null!=a.g};
        Ll=function(a,b,c,d){Ij.call(this,a,b,c,d)};
        Nl=function(a){a=Ml(a);Jj.call(this,a.length?a[a.length-1]:new Aj(I,0));this.l=a;this.o=g.La;this.i=null};
        Ml=function(a){if(!a.length)return[];a=(0,g.ol)(a,function(c){return null!=c&&c.yg()});
        for(var b=1;b<a.length;b++)Dj(a[b-1],a[b]);return a};
        Ol=function(a,b,c,d){Ij.call(this,a,b,c,d);this.H=this.F=null};
        Ql=function(a,b){try{if(b.length){a.F||(a.F=Wi());var c=Pl(b),d=eh(a.element,a.g.Gc),e=d.x,f=d.y;a.i=new g.Mg(Math.round(f),Math.round(e)+c.boundingClientRect.width,Math.round(f)+c.boundingClientRect.height,Math.round(e));var h=fj(c.intersectionRect);a.D=Og(h,a.i.left-h.left,a.i.top-h.top)}}catch(l){a.kl(),Ui(299,l)}};
        Pl=function(a){return ci(a,function(b,c){return b.time>c.time?b:c},a[0])};
        Rl=function(a,b,c,d){Ol.call(this,a,b,c,d);this.A=this.B=this.l=null};
        Sl=function(a){return a.l&&a.l.takeRecords?a.l.takeRecords():[]};
        Ul=function(a){if(!a.element)return!1;var b=a.element,c=a.g.Gc,d=ri.getInstance().g.g;a.l=new c.IntersectionObserver(mi(d,function(e){return Ql(a,e)}),Tl);
        d=mi(d,function(){a.l.unobserve(b);a.l.observe(b);Ql(a,Sl(a))});
        c.ResizeObserver?(a.B=new c.ResizeObserver(d),a.B.observe(b)):c.MutationObserver&&(a.A=new g.y.MutationObserver(d),a.A.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.l.observe(b);Ql(a,Sl(a));return!0};
        Vl=function(a){a=void 0===a?I:a;Jj.call(this,new Aj(a,2))};
        Xl=function(){var a=Wl();Aj.call(this,I.top,a,"geo")};
        Wl=function(){ri.getInstance();var a=kj.getInstance();return a.l||a.i?0:2};
        Yl=function(){};
        g.Zl=function(a,b){this.type=a;this.currentTarget=this.target=b;this.g=!1;this.Ov=!0};
        $l=function(a,b){g.Zl.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.i=null;a&&this.init(a,b)};
        g.bm=function(a){return!(!a||!a[g.am])};
        dm=function(a,b,c,d,e){this.listener=a;this.g=null;this.src=b;this.type=c;this.capture=!!d;this.Lk=e;this.key=++cm;this.oh=this.ck=!1};
        em=function(a){a.oh=!0;a.listener=null;a.g=null;a.src=null;a.Lk=null};
        fm=function(a){this.src=a;this.listeners={};this.g=0};
        gm=function(a,b){var c=b.type;if(!(c in a.listeners))return!1;var d=g.pb(a.listeners[c],b);d&&(em(b),0==a.listeners[c].length&&(delete a.listeners[c],a.g--));return d};
        g.hm=function(a){var b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,em(d[e]);delete a.listeners[c];a.g--}};
        im=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.oh&&f.listener==b&&f.capture==!!c&&f.Lk==d)return e}return-1};
        g.km=function(a,b,c,d,e){if(d&&d.once)return jm(a,b,c,d,e);if(g.Oa(b)){for(var f=0;f<b.length;f++)g.km(a,b[f],c,d,e);return null}c=lm(c);return g.bm(a)?a.va(b,c,g.Ra(d)?!!d.capture:!!d,e):mm(a,b,c,!1,d,e)};
        mm=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=g.Ra(e)?!!e.capture:!!e,l=g.nm(a);l||(a[om]=l=new fm(a));c=l.add(b,c,d,h,f);if(c.g)return c;d=pm();c.g=d;d.src=a;d.listener=c;if(a.addEventListener)qm||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(rm(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");sm++;return c};
        pm=function(){var a=tm,b=um?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);
        if(!c)return c};
        return b};
        jm=function(a,b,c,d,e){if(g.Oa(b)){for(var f=0;f<b.length;f++)jm(a,b[f],c,d,e);return null}c=lm(c);return g.bm(a)?a.Vk(b,c,g.Ra(d)?!!d.capture:!!d,e):mm(a,b,c,!0,d,e)};
        g.vm=function(a,b,c,d,e){if(g.Oa(b))for(var f=0;f<b.length;f++)g.vm(a,b[f],c,d,e);else d=g.Ra(d)?!!d.capture:!!d,c=lm(c),g.bm(a)?a.bb(b,c,d,e):a&&(a=g.nm(a))&&(b=a.ci(b,c,d,e))&&g.wm(b)};
        g.wm=function(a){if(g.Ja(a)||!a||a.oh)return!1;var b=a.src;if(g.bm(b))return gm(b.Td,a);var c=a.type,d=a.g;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(rm(c),d):b.addListener&&b.removeListener&&b.removeListener(d);sm--;(c=g.nm(b))?(gm(c,a),0==c.g&&(c.src=null,b[om]=null)):em(a);return!0};
        rm=function(a){return a in xm?xm[a]:xm[a]="on"+a};
        zm=function(a,b,c,d){var e=!0;if(a=g.nm(a))if(b=a.listeners[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.oh&&(f=ym(f,d),e=e&&!1!==f)}return e};
        ym=function(a,b){var c=a.listener,d=a.Lk||a.src;a.ck&&g.wm(a);return c.call(d,b)};
        tm=function(a,b){if(a.oh)return!0;if(!um){var c=b||g.z("window.event"),d=new $l(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);f=a.type;for(var h=c.length-1;!d.g&&0<=h;h--){d.currentTarget=c[h];var l=zm(c[h],f,!0,d);e=e&&l}for(h=0;!d.g&&h<c.length;h++)d.currentTarget=c[h],l=zm(c[h],f,!1,d),e=e&&l}return e}return ym(a,new $l(b,
        this))};
        g.nm=function(a){a=a[om];return a instanceof fm?a:null};
        lm=function(a){if(g.Qa(a))return a;a[Am]||(a[Am]=function(b){return a.handleEvent(b)});
        return a[Am]};
        g.Bm=function(){g.J.call(this);this.Td=new fm(this);this.Z=this;this.H=null};
        Cm=function(a,b,c,d){b=a.Td.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var h=b[f];if(h&&!h.oh&&h.capture==c){var l=h.listener,m=h.Lk||h.src;h.ck&&gm(a.Td,h);e=!1!==l.call(m,d)&&e}}return e&&0!=d.Ov};
        Dm=function(a,b){this.l=a;this.o=b;this.i=0;this.g=null};
        Em=function(a,b){a.o(b);100>a.i&&(a.i++,b.next=a.g,a.g=b)};
        Fm=function(a){g.y.setTimeout(function(){throw a;},0)};
        Im=function(a,b){var c=a;b&&(c=(0,g.A)(a,b));!g.Qa(g.y.setImmediate)||g.y.Window&&g.y.Window.prototype&&!Zb("Edge")&&g.y.Window.prototype.setImmediate==g.y.setImmediate?(Gm||(Gm=Hm()),Gm(c)):g.y.setImmediate(c)};
        Hm=function(){var a=g.y.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Zb("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";yd(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(g.nd(qd));e.close();var h="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.A)(function(m){if(("*"==l||m.origin==
        l)&&m.data==h)this.port1.onmessage()},this);
        f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,l)}}});
        if("undefined"!==typeof a&&!Zb("Trident")&&!Zb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(g.u(c.next)){c=c.next;var e=c.sr;c.sr=null;e()}};
        return function(e){d.next={sr:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?function(e){var f=document.createElement("SCRIPT");
        f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};
        document.documentElement.appendChild(f)}:function(e){g.y.setTimeout(e,0)}};
        Jm=function(){this.i=this.g=null};
        Km=function(){this.next=this.scope=this.Ke=null};
        g.Pm=function(a,b){Lm||Mm();Nm||(Lm(),Nm=!0);Om.add(a,b)};
        Mm=function(){if(g.y.Promise&&g.y.Promise.resolve){var a=g.y.Promise.resolve(void 0);Lm=function(){a.then(Qm)}}else Lm=function(){Im(Qm)}};
        Qm=function(){for(var a;a=Om.remove();){try{a.Ke.call(a.scope)}catch(b){Fm(b)}Em(Rm,a)}Nm=!1};
        Sm=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
        Um=function(a){this.g=0;this.B=void 0;this.o=this.i=this.l=null;this.u=this.A=!1;if(a!=g.La)try{var b=this;a.call(void 0,function(c){Tm(b,2,c)},function(c){Tm(b,3,c)})}catch(c){Tm(this,3,c)}};
        Vm=function(){this.next=this.context=this.onRejected=this.l=this.g=null;this.i=!1};
        Xm=function(a,b,c){var d=Wm.get();d.l=a;d.onRejected=b;d.context=c;return d};
        Ym=function(a){if(a instanceof Um)return a;var b=new Um(g.La);Tm(b,2,a);return b};
        Zm=function(a){return new Um(function(b,c){c(a)})};
        an=function(a,b,c){$m(a,b,c,null)||g.Pm(g.Xa(b,a))};
        fn=function(a){return new Um(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],an(e,b,c)})};
        gn=function(a){return new Um(function(b,c){var d=a.length,e=[];if(d)for(var f=function(n,p){d--;e[n]=p;0==d&&b(e)},h=function(n){c(n)},l=0,m;l<a.length;l++)m=a[l],an(m,g.Xa(f,l),h);
        else b(e)})};
        jn=function(a,b){var c=Xm(b,b,void 0);c.i=!0;hn(a,c);return a};
        ln=function(a,b){return kn(a,null,b,void 0)};
        mn=function(a,b){if(0==a.g)if(a.l){var c=a.l;if(c.i){for(var d=0,e=null,f=null,h=c.i;h&&(h.i||(d++,h.g==a&&(e=h),!(e&&1<d)));h=h.next)e||(f=h);e&&(0==c.g&&1==d?mn(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):nn(c),on(c,e,3,b)))}a.l=null}else Tm(a,3,b)};
        hn=function(a,b){a.i||2!=a.g&&3!=a.g||pn(a);a.o?a.o.next=b:a.i=b;a.o=b};
        kn=function(a,b,c,d){var e=Xm(null,null,null);e.g=new Um(function(f,h){e.l=b?function(l){try{var m=b.call(d,l);f(m)}catch(n){h(n)}}:f;
        e.onRejected=c?function(l){try{var m=c.call(d,l);!g.u(m)&&l instanceof qn?h(l):f(m)}catch(n){h(n)}}:h});
        e.g.l=a;hn(a,e);return e.g};
        Tm=function(a,b,c){0==a.g&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,$m(c,a.F,a.H,a)||(a.B=c,a.g=b,a.l=null,pn(a),3!=b||c instanceof qn||rn(a,c)))};
        $m=function(a,b,c,d){if(a instanceof Um)return hn(a,Xm(b||g.La,c||null,d)),!0;if(Sm(a))return a.then(b,c,d),!0;if(g.Ra(a))try{var e=a.then;if(g.Qa(e))return sn(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
        sn=function(a,b,c,d,e){function f(m){l||(l=!0,d.call(e,m))}
        function h(m){l||(l=!0,c.call(e,m))}
        var l=!1;try{b.call(a,h,f)}catch(m){f(m)}};
        pn=function(a){a.A||(a.A=!0,g.Pm(a.D,a))};
        nn=function(a){var b=null;a.i&&(b=a.i,a.i=b.next,b.next=null);a.i||(a.o=null);return b};
        on=function(a,b,c,d){if(3==c&&b.onRejected&&!b.i)for(;a&&a.u;a=a.l)a.u=!1;if(b.g)b.g.l=null,tn(b,c,d);else try{b.i?b.l.call(b.context):tn(b,c,d)}catch(e){un.call(null,e)}Em(Wm,b)};
        tn=function(a,b,c){2==b?a.l.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
        rn=function(a,b){a.u=!0;g.Pm(function(){a.u&&un.call(null,b)})};
        qn=function(a){$a.call(this,a)};
        g.vn=function(a,b){g.Bm.call(this);this.yc=a||1;this.sj=b||g.y;this.jr=(0,g.A)(this.oc,this);this.vt=(0,g.H)()};
        g.wn=function(a,b,c){if(g.Qa(a))c&&(a=(0,g.A)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.A)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.y.setTimeout(a,b||0)};
        xn=function(a,b){var c=null;return ln(new Um(function(d,e){c=g.wn(function(){d(b)},a);
        -1==c&&e(Error("Failed to schedule timer."))}),function(d){g.y.clearTimeout(c);
        throw d;})};
        g.yn=function(a,b,c){g.J.call(this);this.l=null!=c?(0,g.A)(a,c):a;this.yc=b;this.i=(0,g.A)(this.Qy,this);this.g=[]};
        zn=function(a){a.xa=g.wn(a.i,a.yc);a.l.apply(null,a.g)};
        An=function(){this.done=!1;this.g={Ox:0,Uq:0,pp:0,Lr:0,Tn:-1,ey:0,by:0,fy:0};this.H=this.o=this.B=this.u=this.D=null;this.I=!1;this.i=null;this.J=0;this.l=new zj(this)};
        Bn=function(){var a=ri.getInstance().Ka;return"nio"===a||"aio"===a||"omid"===a};
        En=function(){var a=Cn;if(!a.I){a.I=!0;if(!a.D&&!Bn()){var b=Ti(137,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];return a.A.apply(a,g.fa(d))});
        a.u=new g.yn(b,100);a.D=ej(I,"scroll",function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];null!==a.u&&a.u.li.apply(a.u,g.fa(d))},138)}a.B||Bn()||(b=Ti(140,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];
        return a.A.apply(a,g.fa(d))}),a.o=new g.yn(b,100),a.B=ej(I,"resize",function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];
        null!==a.o&&a.o.li.apply(a.o,g.fa(d))},141));
        Dn(a,function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];return a.F.apply(a,g.fa(d))});
        a.F()}};
        Fn=function(){Yl.getInstance();var a=Jl.getInstance();null!=a.g&&a.g.g?Ej(a.g.g):kj.getInstance().update(I)};
        Gn=function(a,b,c){if(!a.done&&(a.l.cancel(),0!=b.length)){a.i=null;try{Fn();var d=Wi(),e=ri.getInstance();e.o=d;if(null!=Jl.getInstance().g)for(e=0;e<b.length;e++)yk(b[e],d,c);else switch(e.Ka){case "exc":for(e=0;e<b.length;e++)wk(b[e],d,c);break;case "nis":for(e=0;e<b.length;e++)g.u(void 0)?b[e].om(void 0):b[e].Ct(d);break;case "gsv":for(e=0;e<b.length;e++)g.u(void 0)?b[e].Os(void 0):b[e].Bt(d)}for(e=0;e<b.length;e++)zk(b[e]);a.g.pp+=Wi()-d;++a.g.Lr}finally{c?(0,g.D)(b,function(f){f.zc.Ua=0}):a.l.schedule()}}};
        Dn=function(a,b){if(!a.H){var c=Oi(142,b,void 0);fi();var d;oh.visibilityState?d="visibilitychange":oh.mozVisibilityState?d="mozvisibilitychange":oh.webkitVisibilityState&&(d="webkitvisibilitychange");d&&Kg(oh,d,c,{capture:!1})&&(a.H=c)}};
        Hn=function(){var a=Jl.getInstance();if(null!=a.g){var b=a.g;(0,g.D)(El(),function(c){return xk(c,b)})}};
        In=function(a,b){var c=a.J;Yi&&(c+=b-Zi);return c};
        Jn=function(a){var b=Cn;a=void 0===a?function(){return{}}:a;
        Ni.o="av-js";Ii.g=.01;Ri([function(c){var d=ri.getInstance(),e={};e=(e.bin=d.l,e.type="error",e);d=Fh(d.ya);if(!b.i){var f=I.document,h=0<=Xi?Wi()-Xi:-1,l=Wi();-1==b.g.Tn&&(h=l);var m=kj.getInstance(),n=ri.getInstance(),p=Fh(n.ya),q=El();try{if(0<q.length){var v=m.g;v&&(p.bs=[v.Qe(),v.getHeight()]);var x=m.u;x&&(p.ps=[x.width,x.height]);I.screen&&(p.ss=[I.screen.width,I.screen.height])}else p.url=encodeURIComponent(I.location.href.substring(0,512)),f.referrer&&(p.referrer=encodeURIComponent(f.referrer.substring(0,
        512)));p.tt=h;p.pt=Xi;p.bin=n.l;switch(ri.getInstance().Ka){case "iem":p.iem=1;break;case "aio":p.aio=1;break;case "nio":p.nio=1}void 0!==I.google_osd_load_pub_page_exp&&(p.olpp=I.google_osd_load_pub_page_exp);p.deb=[1,b.g.Ox,b.g.Uq,b.g.pp,b.g.Lr,b.g.Tn,0,b.l.i,b.g.ey,b.g.by,b.g.fy].join("-");p.tvt=In(b,l);m.i&&(p.inapp=1);if(null!==I&&I!=I.top){0<q.length&&(p.iframe_loc=encodeURIComponent(I.location.href.substring(0,512)));var B=m.D;p.is=[B.Qe(),B.getHeight()]}}catch(C){p.error=1}b.i=p}v=g.qc(b.i);
        x=ri.getInstance().g;1==Eh(x.l,"prf")?(B=new ki,f=x.g,h=0,-1<f.g&&(h=f.o.g.now()-f.g),B=Jf(B,1,f.l+h),f=x.g,B=Jf(B,5,-1<f.g?f.i+1:f.i),B=Jf(B,2,x.i.g.l()),B=Jf(B,3,x.i.g.i()),B=Jf(B,4,x.i.g.g()),x={},f=new nf,h=Ff(B,1),h=null==h?h:+h,h=null==h?0:h,0!==h&&uf(f,1,h),h=Hf(B,2),0!==h&&null!=h&&tf(f,2,h),h=Hf(B,3),0!==h&&null!=h&&tf(f,3,h),h=Hf(B,4),0!==h&&null!=h&&tf(f,4,h),h=Hf(B,5),0!==h&&null!=h&&rf(f,5,h),B=qf(f),x=(x.pf=Pe(B),x)):x={};g.tc(v,x);g.tc(c,e,d,v,a());if(e=Vj())d={},g.tc(c,(d.v=encodeURIComponent(e),
        d))}])};
        Ln=function(){var a=Kn||I;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};
        Mn=function(a){return function(b){return!g.u(b[a])&&g.u(0)?0:b[a]}};
        On=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.Oa(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return g.u(a)?Nn(c,a):c}}};
        Pn=function(a,b,c,d){c=void 0===c?!0:c;d=void 0===d?function(){return!0}:d;
        return function(e){var f=e[a];if(g.Oa(f)&&d(e))return Nn(f,b,c)}};
        Qn=function(a,b){return function(c){return b(c)?c[a]:void 0}};
        Rn=function(a){return function(b){for(var c=0;c<a.length;c++)if(a[c]===b.e||!g.u(a[c])&&!b.hasOwnProperty("e"))return!0;return!1}};
        Nn=function(a,b,c){return void 0===c||c?(0,g.ol)(a,function(d,e){return g.kb(b,e)}):(0,g.Le)(b,function(d,e,f){return a.slice(0<e?f[e-1]+1:0,d+1).reduce(function(h,l){return h+l},0)})};
        Un=function(a,b){var c={sv:"793",cb:"j"};c.nas=Dl.g.length;c.msg=a;if(g.u(b)){var d=Sn(b);d&&(c.e=Tn[d])}return c};
        Vn=function(a){return Jb(a,"custom_metric_viewable")};
        Sn=function(a){var b=Vn(a)?"custom_metric_viewable":a.toLowerCase();return jc(jl,function(c){return c==b})};
        Wn=function(a,b){Uk.call(this,a,b)};
        Xn=function(){this.i=this.o=this.A=this.u=this.l=this.g=""};
        Yn=function(){};
        Zn=function(a,b,c,d,e){var f={};if(g.u(a))if(null!=b)for(var h in b){var l=b[h];h in Object.prototype||null!=l&&(g.Qa(l)?f[h]=l(a):f[h]=a[l])}else g.tc(f,a);g.u(c)&&g.tc(f,c);a=Rj(Pj(new Nj,f));0<a.length&&g.u(d)&&g.u(e)&&(e=e(a),a+="&"+d+"="+e);return a};
        $n=function(){};
        ao=function(a,b,c){Ij.call(this,null,a,b,c)};
        bo=function(a,b,c){Ij.call(this,null,a,b,c)};
        co=function(a){a=void 0===a?I:a;Jj.call(this,new Aj(a,2))};
        eo=function(a,b,c){Ij.call(this,null,a,b,c)};
        fo=function(a){a=void 0===a?I:a;Jj.call(this,new Aj(a,2))};
        ho=function(){Aj.call(this,I,2,"mraid");var a=this;this.U=0;this.J=this.R=!1;this.F=null;this.u=0;this.H=-1;this.g=null;var b=cj(this.Gc);b&&(this.g=b.Dl,this.H=b.Zl);this.g&&!g.dc(go,function(c){return g.Qa(a.g[c])})&&(this.g=null,this.H=-1);
        this.i.g=new g.Mg(0,0,0,0)};
        io=function(a,b,c){a.qh("removeEventListener",b,c)};
        mo=function(a){"loading"===a.qh("getState")?(jo(a),a.qh("addEventListener","ready",ko)):lo(a)};
        jo=function(a){0==a.u&&(a.u=fi().setTimeout(Ti(293,function(){a.u=-1;io(a,"ready",ko);Ui(539,Error());a.F="rt";Cj(a,"w")}),500))};
        lo=function(a){a.u=-1;g.w(a.g.AFMA_LIDAR)?(a.R=!0,no(a)):(a.F="nc",Cj(a,"w"))};
        no=function(a){a.J=!1;fi().setTimeout(Ti(524,function(){a.J||(oo(a),Ui(540,Error()),a.F="mt",Cj(a,"w"))}),500);
        po(a);a.qh("addEventListener",a.g.AFMA_LIDAR,qo)};
        po=function(a){var b=1==Eh(ri.getInstance().ya,"sneio"),c=g.u(a.g.AFMA_LIDAR_EXP_1),d=g.u(a.g.AFMA_LIDAR_EXP_2);(b=b&&d)&&(a.g.AFMA_LIDAR_EXP_2=!0);c&&(a.g.AFMA_LIDAR_EXP_1=!b)};
        oo=function(a){io(a,a.g.AFMA_LIDAR,qo);a.R=!1};
        ro=function(a,b){if("loading"===a.qh("getState"))return new g.be(-1,-1);var c=a.qh(b);if(!c)return new g.be(-1,-1);var d=parseInt(c.width,10);c=parseInt(c.height,10);return isNaN(d)||isNaN(c)?new g.be(-1,-1):new g.be(d,c)};
        ko=function(){try{var a=ho.getInstance();0<a.u&&fi().clearTimeout(a.u);io(a,"ready",ko);lo(a)}catch(b){Ui(541,b)}};
        qo=function(a,b){try{var c=ho.getInstance();c.J=!0;var d=a?new g.Mg(a.y,a.x+a.width,a.y+a.height,a.x):new g.Mg(0,0,0,0);var e=Wi(),f=nj();var h=new wj(e,f,c);h.g=d;h.volume=b;Hj(c,h)}catch(l){Ui(542,l)}};
        to=function(){this.F=!1;this.g=null;this.l=new $n;this.i=null;var a={};this.B=(a.start=this.pz,a.firstquartile=this.kz,a.midpoint=this.mz,a.thirdquartile=this.qz,a.complete=this.iz,a.pause=this.Yo,a.resume=this.Nv,a.skip=this.oz,a.viewable_impression=this.zf,a.mute=this.xh,a.unmute=this.xh,a.fullscreen=this.lz,a.exitfullscreen=this.jz,a.fully_viewable_audible_half_duration_impression=this.zf,a.measurable_impression=this.zf,a.abandon=this.Yo,a.engagedview=this.zf,a.impression=this.zf,a.creativeview=
        this.zf,a.progress=this.xh,a.custom_metric_viewable=this.zf,a.bufferstart=this.Yo,a.bufferfinish=this.Nv,a);a={};this.H=(a.overlay_resize=this.nz,a.abandon=this.Mn,a.close=this.Mn,a.collapse=this.Mn,a.overlay_unmeasurable_impression=function(b){return ml(b,"overlay_unmeasurable_impression",nj())},a.overlay_viewable_immediate_impression=function(b){return ml(b,"overlay_viewable_immediate_impression",nj())},a.overlay_unviewable_impression=function(b){return ml(b,"overlay_unviewable_impression",nj())},
        a.overlay_viewable_end_of_session_impression=function(b){return ml(b,"overlay_viewable_end_of_session_impression",nj())},a);
        ri.getInstance().l=3;so(this);this.o=!1};
        uo=function(a,b,c,d){b=a.Rl(null,d,!0,b);b.o=c;b.bl=function(e){a.Kn(e)};
        Hl([b],a.o);return b};
        vo=function(){var a=[];kj.getInstance();var b=ri.getInstance();"exc"!=b.Ka&&a.push(Xl.getInstance());Eh(b.ya,"mvp_lv")&&a.push(ho.getInstance());var c=[new co,new fo];1==Eh(b.ya,"lvio")&&c.push(new Vl(I));c.push(new Nl(a));return c};
        yo=function(a){if(!a.F){a.F=!0;try{var b=Wi(),c=ri.getInstance(),d=kj.getInstance();Xi=b;c.i=79463069;"o"!==a.g&&(Kn=bj(I).Gc);var e=c.ya,f=1!==Eh(e,"imams")&&"nis"===c.Ka,h=1!==Eh(e,"gms")&&"gsv"===c.Ka;if(!f&&!h)if(gi()){Cn.g.Uq=0;Cn.g.Tn=Wi()-b;var l=vo(),m=Jl.getInstance();m.i=l;Kl(m,function(){wo()})?Cn.done||(Hn(),Dj(m.g.g,a),En()):d.l&&"exc"!==c.Ka?wo():En()}else xo=!0}catch(n){throw Dl.reset(),n;
        }}};
        Ao=function(a){Cn.l.cancel();zo=a;Cn.done=!0};
        Bo=function(a){var b=ri.getInstance();if(a.g)return a.g;var c=Jl.getInstance().g;if(c)switch(c.getName()){case "nis":a.g="n";break;case "gsv":a.g="m"}else switch(b.Ka){case "nis":a.g="n";break;case "gsv":a.g="m"}a.g||(a.g="h");return a.g};
        Co=function(a,b,c){if(null==a.i)return b.Ah|=4,!1;a=Vk(a.i,c,b);b.Ah|=a;return 0==a};
        wo=function(){var a=[new Vl(I)],b=Jl.getInstance();b.i=a;Kl(b,function(){Ao("i")})?Cn.done||(Hn(),En()):Ao("i")};
        Do=function(a,b,c){if(!b.Ga){var d=ml(b,"start",nj());a=a.l.g(d).g;var e={};e.r=c;e.v="793v";kg(a,function(f,h){return e[f]="mtos"==f||"tos"==f?h:encodeURIComponent(h)});
        c=Ln();kg(c,function(f,h){return e[f]=encodeURIComponent(h)});
        e.id="lidarvf";c="//pagead2.googlesyndication.com/pagead/gen_204?"+Rj(Pj(new Nj,e));Wj(c);b.Ga=!0}};
        Eo=function(a,b,c){Gn(Cn,[a],!nj());hl(a,c);4!=c&&gl(a.J,c,a.Dk);return ml(a,b,nj())};
        Fo=function(a,b,c){if(0==b.Yb){"i"!=zo&&(Cn.done=!1);var d=Jl.getInstance();null!=d.g&&xk(b,d.g);Bk(b,function(e){for(var f=[],h=0;h<arguments.length;++h)f[h-0]=arguments[h];return a.hz.apply(a,g.fa(f))});
        b.ac.Gf&&Yl.getInstance();c=g.u(c)?c.opt_nativeTime:void 0;$i=c=g.Ja(c)?c:Wi();b.mk=!0;d=nj();Yk(b,c,d);Gn(Cn,[b],!d)}};
        so=function(a){Jn(function(){var b=Go();null!=a.g&&(b.sdk=a.g);b.avms=ri.getInstance().Ka;return b})};
        Ho=function(a,b,c,d){if(a.o)var e=Al(Dl,b);else e=Bl(Dl,c),null!==e&&e.Sb!==b&&(a.Rh(e),e=null);e||(b=a.Rl(c,Wi(),!1,b),(c=Jl.getInstance().g)&&xk(b,c),b.bl=(0,g.A)(a.Kn,a),0==Dl.i.length&&(ri.getInstance().i=79463069),Il([b]),En(),e=b,e.o=Bo(a),d&&(e.mh=d));return e};
        Ko=function(a,b){b.D=0;for(var c in Io)null==a[c]&&(b.D|=Io[c]);Jo(a,"currentTime");Jo(a,"duration")};
        Lo=function(a){(0,g.D)(Dl.g,function(b){3==b.Yb&&a.Rh(b)})};
        Jo=function(a,b){var c=a[b];g.u(c)&&0<c&&(a[b]=Math.floor(1E3*c))};
        Go=function(){var a=kj.getInstance(),b={};return b.sv="793",b["if"]=a.l?"1":"0",b.nas=String(Dl.g.length),b};
        Mo=function(){this.g=void 0;this.i=!1;this.l=0;this.o=-1;this.u="tos"};
        Po=function(a){try{var b=a.split(",");return b.length>g.fc(No).length?null:ci(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||!g.u(Oo[e[0]])||!Oo[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}};
        Qo=function(a,b){if(void 0==a.g)return 0;switch(a.u){case "mtos":return a.i?lk(b.g,a.g):lk(b.i,a.g);case "tos":return a.i?jk(b.g,a.g):jk(b.i,a.g)}return 0};
        Ro=function(a,b,c,d){Uk.call(this,b,d);this.B=a;this.A=c};
        So=function(a){Uk.call(this,"fully_viewable_audible_half_duration_impression",a)};
        To=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
        Vo=function(a){return!!(1<<a&Uo)};
        $o=function(){try{Wo()}catch(d){}var a="a=1&b="+Uo+"&",b=[],c=99;(0,g.D)(Xo,function(d,e){var f=!1;try{f=d(I)}catch(h){}b[e/32>>>0]|=f<<e%32});
        (0,g.D)(b,function(d,e){a+=String.fromCharCode(c+e)+"="+(d>>>0).toString(16)+"&"});
        c=105;(0,g.D)(Yo,function(d){var e="false";try{e=d(I)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"});
        (0,g.D)(Zo,function(d){var e="";try{var f=d(I);d=[];for(var h=0,l=0;l<f.length;l++){var m=f.charCodeAt(l);255<m&&(d[h++]=m&255,m>>=8);d[h++]=m}e=Pe(d,3)}catch(n){}a+=String.fromCharCode(c++)+"="+e+"&"});
        return a.slice(0,-1)};
        Wo=function(){if(!ap){var a=function(){bp=!0;I.document.removeEventListener("webdriver-evaluate",a,!0)};
        I.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){cp=!0;I.document.removeEventListener("webdriver-evaluate-response",b,!0)};
        I.document.addEventListener("webdriver-evaluate-response",b,!0);ap=!0}};
        dp=function(){this.i=-1};
        ep=function(){this.i=64;this.g=Array(4);this.u=Array(this.i);this.o=this.l=0;this.reset()};
        fp=function(a,b,c){c||(c=0);var d=Array(16);if(g.w(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^
        b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+
        (c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<5&4294967295|
        h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(h<<20&4294967295|
        h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(h<<14&4294967295|
        h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^
        b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+3873151461&4294967295;
        f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
        (h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&4294967295;
        c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
        gp=function(){this.i=null};
        hp=function(a){return function(b){var c=new ep;c.update(b+a);return Me(c.digest()).slice(-8)}};
        ip=function(a,b){this.i=a;this.l=b};
        Vk=function(a,b,c){var d=a.g(c);if(g.Qa(d)){var e={};e=(e.sv="793",e.cb="j",e.e=jp(b),e);var f=ml(c,b,nj());g.tc(e,f);c.Bw[b]=f;a=2==c.ge()?Uj(e).join("&"):a.l.g(e).g;try{return d(c.Sb,a,b),0}catch(h){return 2}}else return 1};
        jp=function(a){var b=Vn(a)?"custom_metric_viewable":a;a=jc(jl,function(c){return c==b});
        return Tn[a]};
        kp=function(a,b,c){ip.call(this,a,b);this.o=c};
        lp=function(){to.call(this);this.A=null;this.u=!1;this.D={};this.l=new gp};
        mp=function(a,b,c){c=c.opt_configurable_tracking_events;if(null!=a.i&&g.Oa(c)){var d=a.i;sh(c);(0,g.D)(c,function(e){var f=(0,g.Le)(e.iK,function(h){var l=Po(h);if(null==l)h=null;else if(h=new Mo,null!=l.visible&&(h.g=l.visible/100),null!=l.audible&&(h.i=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=Kb(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);"ms"==n?(h.l=l,h.o=-1):(h.l=-1,h.o=l);h.u=void 0===m?"tos":m}return h});
        (0,g.ij)(f,function(h){return null==h})||cl(b,new Ro(e.id,e.event,f,d))})}};
        np=function(){var a=Jl.getInstance().g,b="";a&&(b=a.getName());a=ri.getInstance();return"exc"===a.Ka||"nis"===a.Ka||"nis"===b};
        op=function(a,b,c){var d=Al(Dl,b);d||(d=c.opt_nativeTime||-1,d=uo(a,b,Bo(a),d),c.opt_osdId&&(d.mh=c.opt_osdId));return d};
        pp=function(a,b,c){var d=Al(Dl,b);d||(d=uo(a,b,"n",c.opt_nativeTime||-1),d.za=kj.getInstance().H);return d};
        qp=function(a,b){var c=Al(Dl,b);c||(c=uo(a,b,"h",-1));return c};
        rp=function(a){var b=ri.getInstance();switch(Bo(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if("exc"==b.Ka)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
        vp=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.tc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.l.g(Un("ol",d));if(g.u(d))if(c=Sn(d),g.u(c))if(xo)b=Un("ue",d);else if(b=a.Hk(b,e))if(a.o&&3==b.Yb)b="stopped";else{b:{yo(a);"i"==zo&&(b.bh=!0,a.vp());c=e.opt_fullscreen;g.u(c)&&vk(b,!!c);var f;if(c=!kj.getInstance().i)(c=Ub(g.Yb,"CrKey")||Ub(g.Yb,"PlayStation")||Ub(g.Yb,"Roku")||jj()||Ub(g.Yb,"Xbox"))||(c=g.Yb,c=Ub(c,"AppleTV")||Ub(c,"Apple TV")||Ub(c,"CFNetwork")||Ub(c,
        "tvOS")),c||(c=g.Yb,c=Ub(c,"sdk_google_atv_x86")||Ub(c,"Android TV")),c=!c;c&&(fi(),c=0===Lh(oh));if(f=c){switch(b.ge()){case 1:Do(a,b,"pv");break;case 2:a.lp(b)}Ao("pv")}c=d.toLowerCase();!f&&g.kb(sp,c)&&Fo(a,b,e);0!=b.Yb&&g.kb(tp,c)&&!b.bh&&b.lg&&(f=b.lg,f.g||(f.g=Wk(f,b)));(f=b.Dg[c])&&Mk(b.Lb,f);switch(b.ge()){case 1:var h=Vn(c)?a.B.custom_metric_viewable:a.B[c];break;case 2:h=a.H[c]}if(h&&(d=h.call(a,b,e,d),g.u(d))){e=Un(void 0,c);g.tc(e,d);d=e;break b}d=void 0}3==b.Yb&&(a.o?b.Ka&&b.Ka.kl():
        a.Rh(b));b=d}else b=Un("nf",d);else b=void 0;else xo?b=Un("ue"):(b=a.Hk(b,e))?(d=Un(),g.tc(d,kl(b,!0,!1,!1)),b=d):b=Un("nf");return g.w(b)?a.o&&"stopped"===b?up:a.l.g(void 0):a.l.g(b)};
        wp=function(a){return"exc"==ri.getInstance().Ka||"h"!=Bo(a)&&Bo(a),!1};
        xp=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.l,b.moatInit=a.u,b.moatViewability=a.A,b.integralAdsViewability=a.o,b.doubleVerifyViewability=a.i,b};
        yp=function(a,b,c){c=void 0===c?{}:c;a=vp(lp.getInstance(),b,c,a);return xp(a)};
        zp=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"app"!==a)throw Error("Invalid URI scheme in origin: "+a);c="";var d=b.indexOf(":");if(-1!=d){var e=
        b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
        Ap=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}
        function b(q){for(var v=h,x=0;64>x;x+=4)v[x/4]=q[x]<<24|q[x+1]<<16|q[x+2]<<8|q[x+3];for(x=16;80>x;x++)q=v[x-3]^v[x-8]^v[x-14]^v[x-16],v[x]=(q<<1|q>>>31)&4294967295;q=e[0];var B=e[1],C=e[2],E=e[3],F=e[4];for(x=0;80>x;x++){if(40>x)if(20>x){var G=E^B&(C^E);var N=1518500249}else G=B^C^E,N=1859775393;else 60>x?(G=B&C|E&(B|C),N=2400959708):(G=B^C^E,N=3395469782);G=((q<<5|q>>>27)&4294967295)+G+F+N+v[x]&4294967295;F=E;E=C;C=(B<<30|B>>>2)&4294967295;B=q;q=G}e[0]=e[0]+q&4294967295;e[1]=e[1]+B&4294967295;e[2]=
        e[2]+C&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+F&4294967295}
        function c(q,v){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var x=[],B=0,C=q.length;B<C;++B)x.push(q.charCodeAt(B));q=x}v||(v=q.length);x=0;if(0==n)for(;x+64<v;)b(q.slice(x,x+64)),x+=64,p+=64;for(;x<v;)if(f[n++]=q[x++],p++,64==n)for(n=0,b(f);x+64<v;)b(q.slice(x,x+64)),x+=64,p+=64}
        function d(){var q=[],v=8*p;56>n?c(l,56-n):c(l,64-(n-56));for(var x=63;56<=x;x--)f[x]=v&255,v>>>=8;b(f);for(x=v=0;5>x;x++)for(var B=24;0<=B;B-=8)q[v++]=e[x]>>B&255;return q}
        for(var e=[],f=[],h=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,my:function(){for(var q=d(),v="",x=0;x<q.length;x++)v+="0123456789ABCDEF".charAt(Math.floor(q[x]/16))+"0123456789ABCDEF".charAt(q[x]%16);return v}}};
        Cp=function(a,b,c){var d=[],e=[];if(1==(g.Oa(c)?2:1))return e=[b,a],(0,g.D)(d,function(l){e.push(l)}),Bp(e.join(" "));
        var f=[],h=[];(0,g.D)(c,function(l){h.push(l.key);f.push(l.value)});
        c=Math.floor((new Date).getTime()/1E3);e=g.lb(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.D)(d,function(l){e.push(l)});
        a=Bp(e.join(" "));a=[c,a];g.lb(h)||a.push(h.join(""));return a.join("_")};
        Bp=function(a){var b=Ap();b.update(a);return b.my().toLowerCase()};
        g.Dp=function(){var a=[],b=zp(String(g.y.location.href)),c=g.y.__OVERRIDE_SID;null==c&&(c=(new Sf(document)).get("SID"));if(c&&(b=(c=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.y.__SAPISID:g.y.__APISID,null==b&&(b=(new Sf(document)).get(c?"SAPISID":"APISID")),b)){c=c?"SAPISIDHASH":"APISIDHASH";var d=String(g.y.location.href);return d&&b&&c?[c,Cp(zp(d),b,a||null)].join(" "):null}return null};
        g.Ep=function(a,b){this.i={};this.g=[];this.Pf=this.wa=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof g.Ep)for(c=a.fe(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
        Gp=function(a){if(a.wa!=a.g.length){for(var b=0,c=0;b<a.g.length;){var d=a.g[b];Fp(a.i,d)&&(a.g[c++]=d);b++}a.g.length=c}if(a.wa!=a.g.length){var e={};for(c=b=0;b<a.g.length;)d=a.g[b],Fp(e,d)||(a.g[c++]=d,e[d]=1),b++;a.g.length=c}};
        Fp=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
        g.Hp=function(a,b){this.g=this.D=this.o="";this.u=null;this.A=this.i="";this.B=!1;var c;a instanceof g.Hp?(this.B=g.u(b)?b:a.B,g.Ip(this,a.o),this.D=a.D,g.Jp(this,a.g),g.Kp(this,a.u),this.i=a.i,Lp(this,a.l.clone()),this.A=a.A):a&&(c=String(a).match(hg))?(this.B=!!b,g.Ip(this,c[1]||"",!0),this.D=Mp(c[2]||""),g.Jp(this,c[3]||"",!0),g.Kp(this,c[4]),this.i=Mp(c[5]||"",!0),Lp(this,c[6]||"",!0),this.A=Mp(c[7]||"")):(this.B=!!b,this.l=new Np(null,this.B))};
        g.Ip=function(a,b,c){a.o=c?Mp(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))};
        g.Jp=function(a,b,c){a.g=c?Mp(b,!0):b};
        g.Kp=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.u=b}else a.u=null};
        Lp=function(a,b,c){b instanceof Np?(a.l=b,Op(a.l,a.B)):(c||(b=Pp(b,Qp)),a.l=new Np(b,a.B))};
        g.Rp=function(a){return a instanceof g.Hp?a.clone():new g.Hp(a,void 0)};
        Mp=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
        Pp=function(a,b,c){return g.w(a)?(a=encodeURI(a).replace(b,Sp),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
        Sp=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
        Np=function(a,b){this.wa=this.g=null;this.i=a||null;this.l=!!b};
        Tp=function(a){a.g||(a.g=new g.Ep,a.wa=0,a.i&&kg(a.i,function(b,c){a.add(Dd(b),c)}))};
        Vp=function(a,b){Tp(a);b=Up(a,b);return Fp(a.g.i,b)};
        g.Wp=function(a,b,c){a.remove(b);0<c.length&&(a.i=null,a.g.set(Up(a,b),g.ub(c)),a.wa=a.wa+c.length)};
        Up=function(a,b){var c=String(b);a.l&&(c=c.toLowerCase());return c};
        Op=function(a,b){b&&!a.l&&(Tp(a),a.i=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),g.Wp(this,e,c))},a));
        a.l=b};
        Zp=function(a){if(g.Lb(g.Hd(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Hp(a)}catch(c){return null!=g.gb(Xp,function(d){return 0<a.search(d)})}return b.A.match(Yp)?!0:null!=g.gb(Xp,function(c){return null!=a.match(c)})};
        cq=function(a,b){if(a&&(a=$p(a),!g.Lb(a))){var c='javascript:"<body><img src=\\""+'+a+'+"\\"></body>"';b?aq(function(d){bq(d?c:'javascript:"<body><object data=\\""+'+a+'+"\\" type=\\"text/html\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):bq(c)}};
        bq=function(a){var b=g.ue("IFRAME",{src:a,style:"display:none"});a=fe(b).body;var c=g.wn(function(){g.wm(d);g.Be(b)},15E3);
        var d=jm(b,["load","error"],function(){g.wn(function(){g.y.clearTimeout(c);g.Be(b)},5E3)});
        a.appendChild(b)};
        aq=function(a){var b=dq.imageLoadingEnabled;if(null!=b)a(b);else{var c=!1;eq(function(d,e){delete dq[e];c||(c=!0,null!=dq.imageLoadingEnabled||(dq.imageLoadingEnabled=d),a(d))})}};
        eq=function(a){var b=new Image,c=""+hq++;dq[c]=b;b.onload=function(){clearTimeout(d);a(!0,c)};
        var d=setTimeout(function(){a(!1,c)},300);
        b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="};
        iq=function(a){if(a){var b=g.we("OBJECT");b.data=a;b.width="1";b.height="1";b.style.visibility="hidden";var c=""+hq++;dq[c]=b;b.onload=b.onerror=function(){delete dq[c]};
        document.body.appendChild(b)}};
        jq=function(a){if(a){var b=new Image,c=""+hq++;dq[c]=b;b.onload=b.onerror=function(){delete dq[c]};
        b.src=a}};
        kq=function(a,b,c){if(a){if(c)try{if(g.y.navigator&&g.y.navigator.sendBeacon&&g.y.navigator.sendBeacon(a,""))return}catch(d){}b?aq(function(d){d?jq(a):iq(a)}):jq(a)}};
        $p=function(a){a=g.Wc(g.Yc(a));if("about:invalid#zClosurez"===a)return"";a=g.nd(pd(a)).toString();return Cd((0,g.lq)(a))};
        g.nq=function(a,b){return a.replace(mq,function(c,d){try{var e=g.oc(b,d);if(null==e)return c;e=e.toString();if(""==e||!g.Lb(g.Hd(e)))return encodeURIComponent(e).replace(/%2C/g,",")}catch(f){}return c})};
        oq=function(a){this.g=a};
        qq=function(){var a=pq();a:{if(hc(a.g,"disableExperiments")&&(a=a.g.disableExperiments,Ia(a)))break a;a=!1}return a};
        rq=function(a){if(hc(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;g.Oa(a)&&(0,g.D)(a,function(d){g.Ja(d)&&(b[c++]=d)});
        return b}return null};
        sq=function(){this.g=!1;this.i=!0;this.l=null;try{ai(void 0)}catch(a){}};
        pq=function(){var a=tq;if(null==a.l){var b={};var c=(new g.Hp(re().location.href)).l;if(Vp(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.l=new oq(b)}return a.l};
        uq=function(a,b){this.i=a;this.g=g.Yd(b||0,0,1)};
        vq=function(a){this.l=a;this.i=new g.Ep;this.g=null};
        wq=function(a){var b=Math.random(),c=0,d=a.i.Lc();(0,g.D)(d,function(l){c+=l.g},a);
        var e=1<c?c:1;a.g=null;for(var f=0,h=0;h<d.length;++h)if(f+=d[h].g,f/e>=b){a.g=d[h];break}};
        Aq=function(){this.i=null!=g.y.G_testRunner;this.g=new g.Ep;tq.g||(xq(this,"GvnExternalLayer",31061774,.01),xq(this,"GvnExternalLayer",31061775,.01),xq(this,"GvnExternalLayer",41351088,.01),xq(this,"GvnExternalLayer",41351089,.01),xq(this,"GvnExternalLayer",420706008,.05),xq(this,"GvnExternalLayer",420706009,.05),xq(this,"GvnExternalLayer",41351073,.01),xq(this,"GvnExternalLayer",41351074,.01),xq(this,"GvnExternalLayer",41351075,.01),xq(this,"GvnExternalLayer",634360101,0),xq(this,"GvnExternalLayer",
        634360102,0),xq(this,"GvnExternalLayer",21592080,.1),xq(this,"GvnExternalLayer",21592081,.1),xq(this,"GvnExternalLayer",413051059,.05),xq(this,"GvnExternalLayer",413051060,.05),xq(this,"GvnExternalLayer",324123E3,.05),xq(this,"GvnExternalLayer",324123001,.05),xq(this,"GvnExternalLayer",420706068,.01),xq(this,"GvnExternalLayer",420706069,.01),xq(this,"GvnExternalLayer",324123020,.01),xq(this,"GvnExternalLayer",324123021,.01));xq(this,"ActiveViewExternalLayer",953563515,.01);xq(this,"ActiveViewExternalLayer",
        953563516,.01);xq(this,"ActiveViewExternalLayer",953563517,.01);yq(this);var a=pq();a=rq(a);null!=a&&(this.i=!1,zq(this,a.map(String)))};
        Cq=function(){Bq||(Bq=new Aq);return Bq};
        xq=function(a,b,c,d){g.Lb(g.Hd(b))||isNaN(c)||0>=c||(c=new uq(c,d),Dq(a,b).i.set(c.getId(),c))};
        yq=function(a){qq()||(0,g.D)(a.g.Lc(),function(b){wq(b)},a)};
        zq=function(a,b){(0,g.D)(b,function(c){var d=Number(c);c="FORCED_PUB_EXP_LAYER_"+c;isNaN(d)||0>=d||g.Lb(g.Hd(c))||(Dq(this,c).g=new uq(d,0))},a)};
        Eq=function(a,b){return a.i?!1:(0,g.ij)(a.g.Lc(),function(c){return!!c.g&&c.g.getId()==b})};
        Dq=function(a,b){var c=a.g.get(b);null==c&&(c=new vq(b),a.g.set(b,c));return c};
        Hq=function(a){try{var b=(new g.Hp(a)).g;b=b.replace(/^www./i,"");return(0,g.ij)(Fq,function(c){return Gq(c,b)})}catch(c){return!1}};
        Gq=function(a,b){if(g.Lb(g.Hd(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b};
        Mq=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};
        g.Nq=function(a,b,c){g.J.call(this);this.g=null;this.o=!1;this.A=a;this.u=c;this.i=b||window;this.l=(0,g.A)(this.Ny,this)};
        Oq=function(a){a=a.i;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
        Pq=function(a){a=a.i;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
        g.L=function(a,b,c){g.J.call(this);this.g=a;this.yc=b||0;this.i=c;this.l=(0,g.A)(this.Is,this)};
        g.Qq=function(a,b){a.isActive()||a.start(b)};
        g.Rq=function(a){a.stop();a.Is()};
        Xq=function(a){var b=Sq++,c={cA:{id:b,Ke:a.measure,context:void 0},XB:{id:b,Ke:a.uK,context:void 0},state:{},args:void 0,Rk:!1};return function(){0<arguments.length?(c.args||(c.args=[]),c.args.length=0,c.args.push.apply(c.args,arguments),c.args.push(c.state)):c.args&&0!=c.args.length?(c.args[0]=c.state,c.args.length=1):c.args=[c.state];c.Rk||(c.Rk=!0,Tq[Uq].push(c));Vq||(Vq=!0,window.requestAnimationFrame(Wq))}};
        Wq=function(){Vq=!1;var a=Tq[Uq],b=a.length;Uq=(Uq+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.cA;c.Rk=!1;e.Ke&&e.Ke.apply(e.context,c.args)}for(d=0;d<b;++d)c=a[d],e=c.XB,c.Rk=!1,e.Ke&&e.Ke.apply(e.context,c.args),c.state={};a.length=0};
        Yq=function(a){if(a.classList)return a.classList;a=a.className;return g.w(a)&&a.match(/\S+/g)||[]};
        g.Zq=function(a,b){return a.classList?a.classList.contains(b):g.kb(Yq(a),b)};
        g.$q=function(a,b){a.classList?a.classList.add(b):g.Zq(a,b)||(a.className+=0<a.className.length?" "+b:b)};
        g.ar=function(a,b){if(a.classList)(0,g.D)(b,function(e){g.$q(a,e)});
        else{var c={};(0,g.D)(Yq(a),function(e){c[e]=!0});
        (0,g.D)(b,function(e){c[e]=!0});
        a.className="";for(var d in c)a.className+=0<a.className.length?" "+d:d}};
        g.br=function(a,b){a.classList?a.classList.remove(b):g.Zq(a,b)&&(a.className=(0,g.ol)(Yq(a),function(c){return c!=b}).join(" "))};
        g.cr=function(a,b){a.classList?(0,g.D)(b,function(c){g.br(a,c)}):a.className=(0,g.ol)(Yq(a),function(c){return!g.kb(b,c)}).join(" ")};
        g.dr=function(a,b,c){c?g.$q(a,b):g.br(a,b)};
        g.er=function(){g.Bm.call(this);this.g=0;this.endTime=this.startTime=null};
        fr=function(a,b){g.Oa(b)||(b=[b]);var c=(0,g.Le)(b,function(d){return g.w(d)?d:d.property+" "+d.duration+"s "+d.timing+" "+d.delay+"s"});
        g.Sg(a,"transition",c.join(","))};
        gr=function(a,b,c,d,e){g.er.call(this);this.i=a;this.B=b;this.F=c;this.u=d;this.D=g.Oa(e)?e:[e]};
        hr=function(a,b,c,d){return new gr(a,b,{opacity:c},{opacity:d},{property:"opacity",duration:b,timing:"ease-in",delay:0})};
        ir=function(a,b,c,d,e,f,h,l){this.g=a;this.B=b;this.l=c;this.u=d;this.o=e;this.A=f;this.i=h;this.D=l};
        jr=function(a,b){if(0==b)return a.g;if(1==b)return a.i;var c=Zd(a.g,a.l,b),d=Zd(a.l,a.o,b),e=Zd(a.o,a.i,b);c=Zd(c,d,b);d=Zd(d,e,b);return Zd(c,d,b)};
        kr=function(a,b){var c=(b-a.g)/(a.i-a.g);if(0>=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,h=0;8>h;h++){f=jr(a,c);var l=(jr(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else f<b?d=c:e=c,c-=(f-b)/l}for(h=0;1E-6<Math.abs(f-b)&&8>h;h++)f<b?(d=c,c=(c+e)/2):(e=c,c=(c+d)/2),f=jr(a,c);return c};
        g.lr=function(a,b,c){this.o=a;this.u=b;this.g=this.l=a;this.A=c||0};
        g.mr=function(a){a.g=Math.min(a.u,2*a.g);a.l=Math.min(a.u,a.g+(a.A?Math.round(a.A*(Math.random()-.5)*2*a.g):0));a.i++};
        nr=function(a){return(a=a.exec(g.Yb))?a[1]:""};
        pr=function(a){return 0<=g.Xb(or,a)};
        g.qr=function(a){g.J.call(this);this.u=1;this.l=[];this.o=0;this.g=[];this.i={};this.A=!!a};
        rr=function(a,b,c){g.Pm(function(){a.apply(b,c)})};
        g.sr=function(a){this.g=a};
        tr=function(a){this.g=a};
        ur=function(a){this.data=a};
        vr=function(a){return!g.u(a)||a instanceof ur?a:new ur(a)};
        wr=function(a){this.g=a};
        g.xr=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.H)()||!!b&&b>(0,g.H)()};
        g.yr=function(a){this.g=a};
        zr=function(){};
        Ar=function(){};
        Br=function(a){this.g=a};
        Cr=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.g=a};
        Dr=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.g=a};
        Fr=function(a,b){this.i=a;this.g=null;if(g.oe&&!g.Xd(9)){Er||(Er=new g.Ep);this.g=Er.get(a);this.g||(b?this.g=document.getElementById(b):(this.g=document.createElement("userdata"),this.g.addBehavior("#default#userData"),document.body.appendChild(this.g)),Er.set(a,this.g));try{this.g.load(this.i)}catch(c){this.g=null}}};
        Hr=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return Gr[b]})};
        Ir=function(a){try{a.g.save(a.i)}catch(b){throw"Storage mechanism: Quota exceeded";}};
        Jr=function(a,b){this.i=a;this.g=b+"::"};
        g.Kr=function(a){var b=new Cr;return b.isAvailable()?a?new Jr(b,a):b:null};
        g.Lr=function(){};
        g.Mr=function(a){return":"+(a.g++).toString(36)};
        Nr=function(a){this.vr=a};
        Or=function(a,b,c){this.o=a;this.i=b;this.g=c||[];this.Ig=new Map};
        Qr=function(a){Ef(this,a,Pr,null)};
        Rr=function(a){Ef(this,a,null,null)};
        Tr=function(a,b){var c=Nf(a,Rr,1);0<c.length&&yf(b,1,c,Sr)};
        Sr=function(a,b){var c=Ff(a,1);null!=c&&uf(b,1,c);c=Ff(a,2);null!=c&&null!=c&&tf(b,2,c)};
        Vr=function(a){Ef(this,a,Ur,null)};
        Xr=function(a){Ef(this,a,null,Wr)};
        Yr=function(a){Ef(this,a,null,null)};
        Zr=function(a){Ef(this,a,null,null)};
        as=function(a){Ef(this,a,$r,null)};
        cs=function(a){Ef(this,a,null,bs)};
        es=function(a){Ef(this,a,null,ds)};
        hs=function(a,b){var c=Lf(a,Yr,1);null!=c&&xf(b,1,c,fs);c=Lf(a,Zr,2);null!=c&&xf(b,2,c,gs)};
        fs=function(a,b){var c=Ff(a,1);null!=c&&wf(b,1,c);c=Ff(a,2);null!=c&&wf(b,2,c);c=Ff(a,3);null!=c&&vf(b,3,c)};
        gs=function(a,b){var c=Ff(a,1);null!=c&&wf(b,1,c);c=Ff(a,2);null!=c&&wf(b,2,c);c=Ff(a,3);null!=c&&null!=c&&rf(b,3,c);c=Ff(a,4);null!=c&&vf(b,4,c)};
        ks=function(a,b){var c=Nf(a,cs,1);0<c.length&&yf(b,1,c,is);c=Lf(a,es,2);null!=c&&xf(b,2,c,js)};
        is=function(a,b){var c=Ff(a,1);null!=c&&wf(b,1,c);c=Ff(a,2);null!=c&&null!=c&&rf(b,2,c);c=Ff(a,3);null!=c&&vf(b,3,c)};
        js=function(a,b){var c=Ff(a,1);null!=c&&null!=c&&tf(b,1,c);c=Ff(a,2);null!=c&&uf(b,2,c);c=Lf(a,Qr,3);null!=c&&xf(b,3,c,Tr)};
        ls=function(a,b){Or.call(this,a,3,b)};
        ns=function(){this.H=new ms;this.i=new Map;this.B=new Set;this.l=0;this.o=100;this.flushInterval=3E4;this.g=new g.vn(this.flushInterval);this.g.va("tick",this.u,!1,this)};
        os=function(a){for(var b=0;b<a.length;b++)a[b].clear()};
        ps=function(){this.i=[];this.g=-1};
        qs=function(a){-1==a.g&&(a.g=ci(a.i,function(b,c,d){return c?b+Math.pow(2,d):b},0));
        return a.g};
        ts=function(a){Ef(this,a,rs,null)};
        us=function(a){Ef(this,a,null,null)};
        vs=function(a,b){for(;ff(b)&&4!=b.i;)switch(b.l){case 1:var c=jf(b);If(a,1,c);break;case 2:c=jf(b);If(a,2,c);break;case 3:c=jf(b);If(a,3,c);break;case 4:c=jf(b);If(a,4,c);break;case 5:c=df(b.g);If(a,5,c);break;default:gf(b)}return a};
        xs=function(a){var b=arguments;1<b.length?ws[b[0]]=b[1]:1===b.length&&Object.assign(ws,b[0])};
        g.ys=function(a,b){return a in ws?ws[a]:b};
        zs=function(a){return g.ys(a,void 0)};
        As=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.M(b)}}:a};
        g.M=function(a,b,c,d,e){var f=g.z("yt.logging.errors.log");f?f(a,b,c,d,e):(f=g.ys("ERRORS",[]),f.push([a,b,c,d,e]),xs("ERRORS",f))};
        g.Bs=function(a){g.M(a,"WARNING",void 0,void 0,void 0)};
        g.Ds=function(a,b,c){a&&(a.dataset?a.dataset[Cs(b)]=String(c):a.setAttribute("data-"+b,c))};
        Es=function(a){return a?a.dataset?a.dataset[Cs("loaded")]:a.getAttribute("data-loaded"):null};
        Cs=function(a){return Fs[a]||(Fs[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))};
        g.Gs=function(a,b){g.Qa(a)&&(a=As(a));return window.setTimeout(a,b)};
        Hs=function(a,b){g.Qa(a)&&(a=As(a));return window.setInterval(a,b)};
        g.Is=function(a){window.clearTimeout(a)};
        g.Ns=function(a,b,c){var d=g.Js();if(d){var e=d.subscribe(a,function(){var f=arguments;var h=function(){Ks[e]&&b.apply(c||window,f)};
        try{g.Ls[a]?h():g.Gs(h,0)}catch(l){g.M(l)}},c);
        Ks[e]=!0;Ms[a]||(Ms[a]=[]);Ms[a].push(e);return e}return 0};
        Ps=function(a,b){var c=g.Ns(a,function(d){b.apply(void 0,arguments);g.Os(c)},void 0);
        return c};
        g.Os=function(a){var b=g.Js();b&&(g.Ja(a)?a=[a]:g.w(a)&&(a=[parseInt(a,10)]),(0,g.D)(a,function(c){b.unsubscribeByKey(c);delete Ks[c]}))};
        g.Qs=function(a,b){var c=g.Js();return c?c.publish.apply(c,arguments):!1};
        Ss=function(a){var b=g.Js();if(b)if(b.clear(a),a)Rs(a);else for(var c in Ms)Rs(c)};
        g.Js=function(){return g.z("ytPubsubPubsubInstance")};
        Rs=function(a){Ms[a]&&(a=Ms[a],(0,g.D)(a,function(b){Ks[b]&&delete Ks[b]}),a.length=0)};
        g.Ws=function(a,b,c){c=void 0===c?null:c;if(window.spf){c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1<d&&-1<e&&e>f&&(c=a.substring(f,e),c=c.replace(Ts,""),c=c.replace(Us,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else Vs(a,b,c)};
        Vs=function(a,b,c){c=void 0===c?null:c;var d=Xs(a),e=document.getElementById(d),f=e&&Es(e),h=e&&!f;f?b&&b():(b&&(f=g.Ns(d,b),b=""+g.Ua(b),Ys[b]=f),h||(e=Zs(a,d,function(){Es(e)||(g.Ds(e,"loaded","true"),g.Qs(d),g.Gs(g.Xa(Ss,d),0))},c)))};
        Zs=function(a,b,c,d){d=void 0===d?null:d;var e=g.we("SCRIPT");e.id=b;e.onload=function(){c&&setTimeout(c,0)};
        e.onreadystatechange=function(){switch(e.readyState){case "loaded":case "complete":e.onload()}};
        d&&e.setAttribute("nonce",d);Bd(e,$f(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e};
        Xs=function(a){var b=document.createElement("a");g.wd(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+Id(a)};
        $s=function(){this.Sc=!1;this.g=null};
        at=function(a,b,c){try{a.g=new window.botguard.bg(b)}catch(d){g.Bs(d)}c&&c(b)};
        bt=function(){};
        g.dt=function(a,b){return ct(a,1,b)};
        et=function(){};
        g.ft=function(){return!!g.z("yt.scheduler.instance")};
        ct=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.z("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.Gs(a,c||0)};
        g.gt=function(a){if(!isNaN(a)){var b=g.z("yt.scheduler.instance.cancelJob");b?b(a):g.Is(a)}};
        ht=function(a){var b=g.z("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
        kt=function(){if("1"!=g.gc(g.ys("PLAYER_CONFIG",{}),"args","privembed")){var a=function(){it=!0;"google_ad_status"in window?xs("DCLKSTAT",1):xs("DCLKSTAT",2)};
        g.Ws("//static.doubleclick.net/instream/ad_status.js",a);jt.push(g.dt(function(){if(!(it||"google_ad_status"in window)){if(a){var b=""+g.Ua(a);(b=Ys[b])&&g.Os(b)}it=!0;xs("DCLKSTAT",3)}},5E3))}};
        lt=function(){return g.z("yt.ads.biscotti.lastId_")||""};
        mt=function(a){g.Ka("yt.ads.biscotti.lastId_",a,void 0)};
        nt=function(a){a=a.split("&");for(var b={},c=0,d=a.length;c<d;c++){var e=a[c].split("=");if(1==e.length&&e[0]||2==e.length)try{var f=Dd(e[0]||""),h=Dd(e[1]||"");f in b?g.Oa(b[f])?vb(b[f],h):b[f]=[b[f],h]:b[f]=h}catch(m){var l=Error("Error decoding URL component");l.params="key: "+e[0]+", value: "+e[1];"q"==e[0]?g.Bs(l):g.M(l)}}return b};
        ot=function(a){var b=[];g.$b(a,function(c,d){var e=Cd(d),f;g.Oa(c)?f=c:f=[c];(0,g.D)(f,function(h){""==h?b.push(e):b.push(e+"="+Cd(h))})});
        return b.join("&")};
        g.pt=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return nt(a)};
        qt=function(a){a=a.split(",");return a=a.map(function(b){return g.pt(b)})};
        g.rt=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),g.pt(1<a.length?a[1]:a[0])):{}};
        g.ut=function(a,b){return tt(a,b||{},!0)};
        vt=function(a,b){return tt(a,b||{},!1)};
        tt=function(a,b,c){var d=a.split("#",2);a=d[0];d=1<d.length?"#"+d[1]:"";var e=a.split("?",2);a=e[0];e=g.pt(e[1]||"");for(var f in b)if(c||!hc(e,f))e[f]=b[f];return g.qg(a,e)+d};
        wt=function(a){if(!b)var b=window.location.href;var c=g.ig(1,a),d=g.jg(a);c&&d?(a=a.match(hg),b=b.match(hg),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.jg(b)==d&&(Number(g.ig(4,b))||null)==(Number(g.ig(4,a))||null):!0;return a};
        xt=function(a){a||(a=document.location.href);a=g.ig(1,a);return null!==a&&"https"==a};
        zt=function(a){a=g.jg(a);a=null===a?null:a.split(".").reverse();return null===a?!1:"com"==a[0]&&a[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1};
        Dt=function(a){var b=At;a=void 0===a?lt():a;b=Object.assign(Bt(b),Ct(b));b.ca_type="image";a&&(b.bid=a);return b};
        Bt=function(a){var b={};b.dt=Et;b.flash="0";a:{try{var c=a.g.top.location.href}catch(f){a=2;break a}a=c?c===a.i.location.href?0:1:2}b=(b.frm=a,b);b.u_tz=-(new Date).getTimezoneOffset();var d=void 0===d?I:d;try{var e=d.history.length}catch(f){e=0}b.u_his=e;b.u_java=!!I.navigator&&"unknown"!==typeof I.navigator.javaEnabled&&!!I.navigator.javaEnabled&&I.navigator.javaEnabled();I.screen&&(b.u_h=I.screen.height,b.u_w=I.screen.width,b.u_ah=I.screen.availHeight,b.u_aw=I.screen.availWidth,b.u_cd=I.screen.colorDepth);
        I.navigator&&I.navigator.plugins&&(b.u_nplug=I.navigator.plugins.length);I.navigator&&I.navigator.mimeTypes&&(b.u_nmime=I.navigator.mimeTypes.length);return b};
        Ct=function(a){var b=a.g;try{var c=b.screenX;var d=b.screenY}catch(m){}try{var e=b.outerWidth;var f=b.outerHeight}catch(m){}try{var h=b.innerWidth;var l=b.innerHeight}catch(m){}b=[b.screenLeft,b.screenTop,c,d,b.screen?b.screen.availWidth:void 0,b.screen?b.screen.availTop:void 0,e,f,h,l];c=qh(!1,a.g.top);d={};e=new ps;g.y.SVGElement&&g.y.document.createElementNS&&e.set(0);f=Hg();f["allow-top-navigation-by-user-activation"]&&e.set(1);f["allow-popups-to-escape-sandbox"]&&e.set(2);g.y.crypto&&g.y.crypto.subtle&&
        e.set(3);g.y.TextDecoder&&g.y.TextEncoder&&e.set(4);e=qs(e);return d.bc=e,d.bih=c.height,d.biw=c.width,d.brdim=b.join(),d.vis=Lh(a.i),d.wgl=!!I.WebGLRenderingContext,d};
        g.Gt=function(a){a=Ft(a);return g.w(a)&&"false"===a?!1:!!a};
        Ht=function(a,b){var c=Ft(a);return void 0===c&&void 0!==b?b:Number(c||0)};
        Ft=function(a){var b=g.ys("EXPERIMENTS_FORCED_FLAGS",{});return void 0!==b[a]?b[a]:g.ys("EXPERIMENT_FLAGS",{})[a]};
        Jt=function(){if(!It)return null;var a=It();return"open"in a?a:null};
        g.Kt=function(a){switch(a&&"status"in a?a.status:-1){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
        Nt=function(a,b){b=void 0===b?{}:b;var c=wt(a),d=g.Gt("web_ajax_ignore_global_headers_if_set"),e;for(e in Lt){var f=g.ys(Lt[e]);!f||!c&&!Mt(a,e)||d&&void 0!==b[e]||(b[e]=f)}if(c||Mt(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=-(new Date).getTimezoneOffset();(g.Gt("pass_biscotti_id_in_header_ajax")||g.Gt("pass_biscotti_id_in_header_ajax_tv"))&&(c||Mt(a,"X-YouTube-Ad-Signals"))&&(b["X-YouTube-Ad-Signals"]=ot(Dt(void 0)));return b};
        Pt=function(a,b){var c=g.jg(a),d=g.gg(g.ig(5,a));d=(c=c&&(c.endsWith("youtube.com")||c.endsWith("youtube-nocookie.com")))&&d&&d.startsWith("/api/");if(!c||d)return a;var e=g.pt(b),f={};(0,g.D)(Ot,function(h){e[h]&&(f[h]=e[h])});
        return vt(a,f)};
        Mt=function(a,b){var c=g.ys("CORS_HEADER_WHITELIST")||{},d=g.jg(a);return d?(c=c[d])?g.kb(c,b):!1:!0};
        Tt=function(a,b){if(window.fetch&&"XML"!=b.format){var c={method:b.method||"GET",credentials:"same-origin"};b.headers&&(c.headers=b.headers);a=Qt(a,b);var d=Rt(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;fetch(a,c).then(function(h){if(!e){e=!0;f&&g.Is(f);var l=h.ok,m=function(n){n=n||{};var p=b.context||g.y;l?b.onSuccess&&b.onSuccess.call(p,n,h):b.onError&&b.onError.call(p,n,h);b.Vc&&b.Vc.call(p,n,h)};
        "JSON"==(b.format||"JSON")&&(l||400<=h.status&&500>h.status)?h.json().then(m,function(){m(null)}):m(null)}});
        b.Cu&&0<b.timeout&&(f=g.Gs(function(){e||(e=!0,g.Is(f),b.Cu.call(b.context||g.y))},b.timeout))}else g.St(a,b)};
        g.St=function(a,b){var c=b.format||"JSON";a=Qt(a,b);var d=Rt(a,b),e=!1,f,h=Ut(a,function(l){if(!e){e=!0;f&&g.Is(f);var m=g.Kt(l),n=null,p=400<=l.status&&500>l.status,q=500<=l.status&&600>l.status;if(m||p||q)n=Vt(c,l,b.hK);if(m)a:if(l&&204==l.status)m=!0;else{switch(c){case "XML":m=0==parseInt(n&&n.return_code,10);break a;case "RAW":m=!0;break a}m=!!n}n=n||{};p=b.context||g.y;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.Vc&&b.Vc.call(p,l,n)}},b.method,d,b.headers,b.responseType,
        b.withCredentials);
        b.Od&&0<b.timeout&&(f=g.Gs(function(){e||(e=!0,h.abort(),g.Is(f),b.Od.call(b.context||g.y,h))},b.timeout));
        return h};
        Qt=function(a,b){b.oK&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=g.ys("XSRF_FIELD_NAME",void 0),d=b.sd;d&&(d[c]&&delete d[c],a=g.ut(a,d));return a};
        Rt=function(a,b){var c=g.ys("XSRF_FIELD_NAME",void 0),d=g.ys("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.kb,h=zs("XSRF_FIELD_NAME"),l;b.headers&&(l=b.headers["Content-Type"]);b.Rr||g.jg(a)&&!b.withCredentials&&g.jg(a)!=document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.kb&&b.kb[h]||(f||(f={}),f[c]=d);f&&g.w(e)&&(e=g.pt(e),g.tc(e,f),e=b.hv&&"JSON"==b.hv?JSON.stringify(e):g.pg(e));f=e||f&&!g.lc(f);!Wt&&f&&"POST"!=b.method&&(Wt=!0,g.M(Error("AJAX request with postData should use POST")));
        return e};
        Vt=function(a,b,c){var d=null;switch(a){case "JSON":a=b.responseText;b=b.getResponseHeader("Content-Type")||"";a&&0<=b.indexOf("json")&&(d=JSON.parse(a));break;case "XML":if(b=(b=b.responseXML)?Xt(b):null)d={},(0,g.D)(b.getElementsByTagName("*"),function(e){d[e.tagName]=Yt(e)})}c&&Zt(d);
        return d};
        Zt=function(a){if(g.Ra(a))for(var b in a)"html_content"==b||Kb(b,"_html")?a[b]=g.td(a[b],null):Zt(a[b])};
        Xt=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
        Yt=function(a){var b="";(0,g.D)(a.childNodes,function(c){b+=c.nodeValue});
        return b};
        g.$t=function(a,b){b.method="POST";b.kb||(b.kb={});g.St(a,b)};
        Ut=function(a,b,c,d,e,f,h){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&As(b)(m)}
        c=void 0===c?"GET":c;d=void 0===d?"":d;var m=Jt();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;g.Gt("debug_forward_web_query_parameters")&&(a=Pt(a,window.location.search));m.open(c,a,!0);f&&(m.responseType=f);h&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof FormData));if(e=Nt(a,e))for(var n in e)m.setRequestHeader(n,String(e[n])),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
        m.send(d);return m};
        au=function(){var a=/Chrome\/(\d+)/.exec(g.Yb);return a?parseFloat(a[1]):NaN};
        bu=function(){var a=/_(TV|STB|GAME|OTT|ATV|BDP)_/.exec(g.Yb);return a?a[1]:""};
        du=function(){return cu("android")&&cu("chrome")&&!(cu("trident/")||cu("edge/"))};
        eu=function(){return cu("armv7")||cu("aarch64")||cu("android")};
        g.fu=function(){return cu("cobalt")};
        gu=function(){return cu("cobalt")&&cu("appletv")};
        hu=function(){return cu("(ps3; leanback shell)")||cu("ps3")&&g.fu()};
        iu=function(){return cu("(ps4; leanback shell)")||cu("ps4")&&g.fu()};
        ju=function(){var a=/WebKit\/([0-9]+)/.exec(g.Yb);return!!(a&&600<=parseInt(a[1],10))};
        ku=function(){return cu("iemobile")||cu("windows phone")&&cu("edge")};
        mu=function(){return lu&&cu("applewebkit")&&!cu("version")&&(!cu("safari")||cu("gsa/"))};
        ou=function(){return nu&&cu("version/")};
        pu=function(){return cu("smart-tv")&&cu("samsung")};
        cu=function(a){var b=g.Yb;return b?0<=b.toLowerCase().indexOf(a):!1};
        g.tu=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.fu()?a&&(a=g.Wc(g.Yc(a)),"about:invalid#zClosurez"===a?a="":(a=g.nd(pd(a)).toString(),a=Cd((0,g.lq)(a))),g.Lb(a)||(a=g.ue("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),fe(a).body.appendChild(a))):e?Ut(a,b,"POST",e,d):g.ys("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?Ut(a,b,"GET","",d):qu(a,b)||ru(a,b))};
        qu=function(a,b){var c=ws.EXPERIMENT_FLAGS;if(!c||!c.web_use_beacon_api_for_ad_click_server_pings)return!1;c=g.gg(g.ig(5,a));return c&&-1!=c.indexOf("/aclk")&&"1"===ug(a,"ae")&&"1"===ug(a,"act")?uu(a)?(b&&b(),!0):!1:!1};
        vu=function(a,b,c){c=void 0===c?"":c;uu(a,c)?b&&b():g.tu(a,b,void 0,void 0,c)};
        uu=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1};
        ru=function(a,b){var c=new Image,d=""+wu++;xu[d]=c;c.onload=c.onerror=function(){b&&xu[d]&&b();delete xu[d]};
        c.src=a};
        zu=function(a,b){var c=g.qc(b),d;return ln(new Um(function(e,f){c.onSuccess=function(h){g.Kt(h)?e(h):f(new yu("Request failed, status="+h.status,"net.badstatus",h))};
        c.onError=function(h){f(new yu("Unknown request error","net.unknown",h))};
        c.Od=function(h){f(new yu("Request timed out","net.timeout",h))};
        d=g.St(a,c)}),function(e){e instanceof qn&&d.abort();
        return Zm(e)})};
        g.Au=function(a,b,c,d){function e(h,l,m){return ln(h,function(n){return 0>=l||403===n.mg.status?Zm(new yu("Request retried too many times","net.retryexhausted",n.mg)):f(m).then(function(){return e(zu(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
        function f(h){return new Um(function(l){setTimeout(l,h)})}
        return e(zu(a,b),c-1,d)};
        yu=function(a,b,c){$a.call(this,a+", errorCode="+b);this.errorCode=b;this.mg=c;this.name="PromiseAjaxError"};
        Bu=function(){this.i=0;this.g=null};
        Cu=function(a){var b=new Bu;a=void 0===a?null:a;b.i=2;b.g=void 0===a?null:a;return b};
        Du=function(a){var b=new Bu;a=void 0===a?null:a;b.i=1;b.g=void 0===a?null:a;return b};
        Fu=function(a){$a.call(this,a.message||a.description||a.name);this.isMissing=a instanceof Eu;this.isTimeout=a instanceof yu&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof qn};
        Eu=function(){$a.call(this,"Biscotti ID is missing from server")};
        Ku=function(){if("1"===g.gc(g.ys("PLAYER_CONFIG",{}),"args","privembed"))return Zm(Error("Biscotti ID is not available in private embed mode"));Gu||(Gu=ln(zu("//googleads.g.doubleclick.net/pagead/id",Hu).then(Iu),function(a){return Ju(2,a)}));
        return Gu};
        Iu=function(a){a=a.responseText;if(!Jb(a,")]}'"))throw new Eu;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new Eu;a=a.id;mt(a);Gu=Du(a);Lu(18E5,2);return a};
        Ju=function(a,b){var c=new Fu(b);mt("");Gu=Cu(c);0<a&&Lu(12E4,a-1);throw c;};
        Lu=function(a,b){g.Gs(function(){ln(zu("//googleads.g.doubleclick.net/pagead/id",Hu).then(Iu,function(c){return Ju(b,c)}),g.La)},a)};
        Mu=function(){try{var a=g.z("yt.ads.biscotti.getId_");return a?a():Ku()}catch(b){return Zm(b)}};
        Nu=function(a){$a.call(this,"Slot error: "+a)};
        Ou=function(a,b){this.g=a;this.i=b};
        Pu=function(a,b,c,d,e){this.oj=a;this.lc=b;this.nj=c;this.Dp=d;this.Cp=e};
        Qu=function(a,b,c,d,e){Pu.call(this,a,"slot_type_in_player",b,c,d);this.g=e};
        Ru=function(a,b){Ou.call(this,a,"trigger_type_layout_id_exited");this.o=b};
        Su=function(a,b){this.i=a;this.g=b};
        Tu=function(a){this.g=a};
        Uu=function(a){$a.call(this,"Layout error: "+a)};
        Vu=function(a,b){this.g=a;this.i=b};
        Wu=function(){};
        Xu=function(a,b,c,d){this.category=a;this.trigger=b;this.slot=c;this.layout=d};
        Yu=function(a,b){Ou.call(this,a,"trigger_type_active_media_layout_id");this.o=b};
        g.O=function(a){a=void 0===a?!1:a;g.J.call(this);this.wb=new g.qr(a);g.K(this,this.wb)};
        Zu=function(a,b,c){for(var d in b)a.subscribe(d,b[d],c)};
        $u=function(a,b,c){for(var d in b)a.unsubscribe(d,b[d],c)};
        av=function(a){g.O.call(this);this.l=a;this.i={};this.g=null;this.subscribe("onAdStart",this.u,this);this.subscribe("onAdEnd",this.o,this)};
        cv=function(a,b,c,d,e){if(a.i.hasOwnProperty(c.g))throw new Nu("Tried to register duplicate trigger for slot.");if(!(c instanceof Yu))throw new Nu("Incorrect TriggerType: Tried to register trigger of type "+c.i+" in ActiveMediaLayoutIdTriggerAdapter");a.i[c.g]=new Xu(b,c,d,e);c.o===a.g&&bv(a.l,[a.i[c.g]])};
        dv=function(a,b){delete a.i[b.g]};
        ev=function(a,b){var c={};c.slot_type_in_player=new Tu(a);Object.freeze(c);this.i=c;c={};c.trigger_type_active_media_layout_id=new av(b);Object.freeze(c);this.g=c;c={};c.slot_type_in_player=new Wu;Object.freeze(c);this.o=c;c={};Object.freeze(c);this.l=c};
        fv=function(a){this.slot=a;this.g="not_scheduled";this.o="not_filled";this.F={};this.B={};this.u={};this.D={};this.l=this.layout=this.i=this.A=null};
        gv=function(a){return"enter_requested"===a.g||a.isActive()};
        hv=function(a,b,c){g.J.call(this);this.g=a;this.o=b;this.l=c;this.i={}};
        iv=function(a,b){hc(a.i,b)||(a.i[b]={});return a.i[b]};
        jv=function(a,b){return iv(a,b.lc)[b.oj]};
        kv=function(a,b){var c=jv(a,b),d;if(d=null!==c.layout)a:switch(c.g){case "rendering":case "rendering_stop_requested":d=!0;break a;default:d=!1}return d};
        lv=function(a,b,c){if(g.lb(c))throw new Nu("No "+b+" triggers found for slot.");c=g.r(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!a.g.g[d.i])throw new Nu("No trigger adapter registered for "+b+" trigger of type: "+d.i);};
        mv=function(a,b,c){c=g.r(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!a.g.g[d.i])throw new Uu("No trigger adapter registered for "+b+" trigger of type: "+d.i);};
        nv=function(a,b,c,d){d=g.r(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=a.g.g[e.i];cv(f,c,e,b.slot,b.layout);b.D[e.g]=f}};
        ov=function(a,b){for(var c=g.r(b),d=c.next();!d.done;d=c.next())d=d.value,dv(a.D[d.g],d),delete a.D[d.g]};
        pv=function(a,b){g.M(new Nu("Slot stage was "+a+" when calling method "+b))};
        xv=function(){g.Is(qv);g.Is(rv);rv=0;if(!g.lc(tv)){for(var a in tv){var b=uv[a];b&&(vv(a,b),delete tv[a])}g.lc(tv)||wv()}};
        wv=function(){g.Gt("web_gel_timeout_cap")&&!rv&&(rv=g.Gs(xv,6E4));g.Is(qv);qv=g.Gs(xv,g.ys("LOGGING_BATCH_TIMEOUT",Ht("web_gel_debounce_ms",1E4)))};
        yv=function(a,b){b=void 0===b?"":b;tv[a]=tv[a]||{};tv[a][b]=tv[a][b]||[];return tv[a][b]};
        vv=function(a,b){var c=zv[a],d=Av[a]||{};Av[a]=d;var e=Math.round((0,g.Bv)());for(n in tv[a]){var f=g.rc({context:g.Cv(b.g)});f[c]=yv(a,n);d.dispatchedEventCount=d.dispatchedEventCount||0;d.dispatchedEventCount+=f[c].length;var h=Dv[n];if(h)a:{var l=n;if(h.videoId)var m="VIDEO";else if(h.playlistId)m="PLAYLIST";else break a;f.credentialTransferTokenTargetId=h;f.context=f.context||{};f.context.user=f.context.user||{};f.context.user.credentialTransferTokens=[{token:l,scope:m}]}delete Dv[n];f.requestTimeMs=
        e;if(h=zs("EVENT_ID"))m=(g.ys("BATCH_CLIENT_COUNTER",void 0)||0)+1,m>Ev&&(m=1),xs("BATCH_CLIENT_COUNTER",m),h={serializedEventId:h,clientCounter:m},f.serializedClientEventId=h,Fv&&Gv&&g.Gt("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:Fv,roundtripMs:Gv}),Fv=h,Gv=0;g.Hv(b,a,f,{retry:Iv.has(a),onSuccess:(0,g.A)(Jv,this,(0,g.Bv)())})}if(d.previousDispatchMs){c=e-d.previousDispatchMs;var n=d.diffCount||0;d.averageTimeBetweenDispatchesMs=n?(d.averageTimeBetweenDispatchesMs*n+c)/(n+
        1):c;d.diffCount=n+1}d.previousDispatchMs=e};
        Jv=function(a){Gv=Math.round((0,g.Bv)()-a)};
        Lv=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=Kv+"VisibilityState";if(b in a)return a[b]};
        Mv=function(a,b){var c;(0,g.ij)(a,function(d){c=b[d];return!!c});
        return c};
        Ov=function(a){this.type="";this.state=this.source=this.data=this.currentTarget=this.relatedTarget=this.target=null;this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.ctrlKey=this.altKey=!1;this.rotation=this.clientY=this.clientX=0;this.changedTouches=this.touches=null;try{a=a||window.event;if(!a)return;this.event=a}catch(c){return}for(var b in a)b in Nv||(this[b]=a[b]);this.rotation=a.rotation;(b=a.target||a.srcElement)&&3==b.nodeType&&(b=b.parentNode);this.target=b;if(b=a.relatedTarget)try{b=
        b.nodeName?b:null}catch(c){b=null}else"mouseover"==this.type?b=a.fromElement:"mouseout"==this.type&&(b=a.toElement);this.relatedTarget=b;this.clientX=void 0!=a.clientX?a.clientX:a.pageX;this.clientY=void 0!=a.clientY?a.clientY:a.pageY;this.keyCode=a.keyCode?a.keyCode:a.which;this.charCode=a.charCode||("keypress"==this.type?this.keyCode:0);this.altKey=a.altKey;this.ctrlKey=a.ctrlKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.g=a.pageX;this.i=a.pageY};
        Pv=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.g=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.i=a.clientY+b}};
        Rv=function(a,b,c,d){d=void 0===d?{}:d;a.addEventListener&&("mouseenter"!=b||"onmouseenter"in document?"mouseleave"!=b||"onmouseenter"in document?"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"):b="mouseout":b="mouseover");return jc(Qv,function(e){var f=Ia(e[4])&&e[4]==!!d,h=g.Ra(e[4])&&g.Ra(d)&&g.pc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||h)})};
        g.Uv=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Rv(a,b,c,d);if(e)return e;e=++Sv.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var h=f?function(l){l=new Ov(l);if(!g.Ke(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new Ov(l);
        l.currentTarget=a;return c.call(a,l)};
        h=As(h);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Tv()||Ia(d)?a.addEventListener(b,h,d):a.addEventListener(b,h,!!d.capture)):a.attachEvent("on"+b,h);Qv[e]=[a,b,c,h,d];return e};
        Vv=function(a,b,c,d){var e=a||document;return g.Uv(e,b,function(f){var h=g.Ke(f.target,function(l){return l===e||d(l)},!0);
        h&&h!==e&&!h.disabled&&(f.currentTarget=h,c.call(h,f))})};
        g.Wv=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.D)(a,function(b){if(b in Qv){var c=Qv[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Tv()||Ia(c)?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Qv[b]}}))};
        g.Xv=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
        g.Yv=function(a){a=a||window.event;if(a.composedPath&&g.Qa(a.composedPath))var b=a.composedPath();else a.path&&(b=a.path);return b&&b.length?b[0]:g.Xv(a)};
        g.Zv=function(a){a=a||window.event;var b=a.relatedTarget;b||("mouseover"==a.type?b=a.fromElement:"mouseout"==a.type&&(b=a.toElement));return b};
        g.$v=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&(g.Ja(b)||(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),g.Ja(c)||(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.$d(b,c)};
        g.aw=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
        g.bw=function(a,b,c,d){return Vv(a,b,c,function(e){return g.Zq(e,d)})};
        g.cw=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.Uv(a,b,function(){g.Wv(e);c.apply(a,arguments)},d)};
        dw=function(a){for(var b in Qv)Qv[b][0]==a&&g.Wv(b)};
        ew=function(a){this.D=a;this.g=null;this.l=0;this.u=null;this.o=0;this.i=[];for(a=0;4>a;a++)this.i.push(0);this.Va=0;this.B=g.Uv(window,"mousemove",(0,g.A)(this.H,this));this.F=Hs((0,g.A)(this.A,this),25)};
        hw=function(){var a={},b=void 0===a.Bz?!0:a.Bz;a=void 0===a.BF?!1:a.BF;if(null==g.z("_lact",window)){var c=parseInt(g.ys("LACT"),10);c=isFinite(c)?(0,g.H)()-Math.max(c,0):-1;g.Ka("_lact",c,window);g.Ka("_fact",c,window);-1==c&&fw();g.Uv(document,"keydown",fw);g.Uv(document,"keyup",fw);g.Uv(document,"mousedown",fw);g.Uv(document,"mouseup",fw);b&&(a?g.Uv(window,"touchmove",function(){gw("touchmove",200)},{passive:!0}):(g.Uv(window,"resize",function(){gw("resize",200)}),g.Uv(window,"scroll",function(){gw("scroll",
        200)})));
        new ew(function(){gw("mouse",100)});
        g.Uv(document,"touchstart",fw,{passive:!0});g.Uv(document,"touchend",fw,{passive:!0})}};
        gw=function(a,b){iw[a]||(iw[a]=!0,g.dt(function(){fw();iw[a]=!1},b))};
        fw=function(){null==g.z("_lact",window)&&(hw(),g.z("_lact",window));var a=(0,g.H)();g.Ka("_lact",a,window);-1==g.z("_fact",window)&&g.Ka("_fact",a,window);(a=g.z("ytglobal.ytUtilActivityCallback_"))&&a()};
        jw=function(){var a=g.z("_lact",window);return null==a?-1:Math.max((0,g.H)()-a,0)};
        g.rw=function(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||(0,g.Bv)());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:jw())};g.Gt("log_sequence_info_on_gel_web")&&d.wg&&(a=e.context,b=d.wg,kw[b]=b in kw?kw[b]+1:0,a.sequence={index:kw[b],groupKey:b},d.ry&&delete kw[d.wg]);(d=d.Ph)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),Dv[d.token]=a,d=yv("log_event",d.token)):d=yv("log_event");d.push(e);c&&(uv.log_event=new c);d.length>=(Ht("web_logging_max_batch")||
        100)?xv():wv()};
        g.Cv=function(a){a={client:{hl:a.Zn,gl:a.Yn,clientName:a.Wn,clientVersion:a.Xn,configInfo:a.Dz}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));g.ys("DELEGATED_SESSION_ID")&&!g.Gt("pageid_as_header_web")&&(a.user={onBehalfOfUser:g.ys("DELEGATED_SESSION_ID")});return a};
        tw=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.ys("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.gK||g.ys("AUTHORIZATION"))||(a?b="Bearer "+g.z("gapi.auth.getToken")().fK:b=g.Dp());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.ys("SESSION_INDEX",0),g.Gt("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.ys("DELEGATED_SESSION_ID")));return d};
        g.vw=function(a,b,c,d){uw.set(""+a,b,c,"/",void 0===d?"youtube.com":d,!1)};
        g.ww=function(a,b,c){uw.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
        xw=function(){var a;(a=g.Kr("yt.innertube"))||(a=new Fr("yt.innertube"),a=a.isAvailable()?a:null);this.g=a?new wr(a):null;this.i=document.domain||window.location.hostname};
        g.yw=function(a){this.g=a||{Un:zs("INNERTUBE_API_KEY"),Vn:zs("INNERTUBE_API_VERSION"),Dz:g.ys("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Wn:g.ys("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),Xn:zs("INNERTUBE_CONTEXT_CLIENT_VERSION"),Zn:zs("INNERTUBE_CONTEXT_HL"),Yn:zs("INNERTUBE_CONTEXT_GL"),Ok:zs("INNERTUBE_HOST_OVERRIDE")||"",Ez:!!g.ys("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
        g.Hv=function(a,b,c,d){!g.ys("VISITOR_DATA")&&.01>Math.random()&&g.M(Error("Missing VISITOR_DATA when sending innertube request."),"WARNING");c={headers:{"Content-Type":"application/json"},method:"POST",kb:c,hv:"JSON",Od:function(){d.Od()},
        Cu:d.Od,onSuccess:function(h,l){if(d.onSuccess)d.onSuccess(l)},
        wK:function(h){if(d.onSuccess)d.onSuccess(h)},
        onError:function(h,l){if(d.onError)d.onError(l)},
        vK:function(h){if(d.onError)d.onError(h)},
        timeout:d.timeout,withCredentials:!0};var e="",f=a.g.Ok;f&&(e=f);f=tw(a.g.Ez||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.ut(""+e+("/youtubei/"+a.g.Vn+"/"+b),{alt:"json",key:a.g.Un});try{g.Gt("use_fetch_for_op_xhr")?Tt(a,c):g.$t(a,c)}catch(h){if("InvalidAccessError"==h)g.M(Error("An extension is blocking network request."),"WARNING");else throw h;}};
        zw=function(a,b,c){c=void 0===c?{}:c;var d=g.yw;g.ys("ytLoggingEventsDefaultDisabled",!1)&&g.yw==g.yw&&(d=null);g.rw(a,b,d,c)};
        Cw=function(a){Aw(function(){return Bw(a)})};
        Ew=function(a,b){Aw(function(){var c=Bw(a);c.adsClientEvent.adClientData={slotData:Dw(b)};return c})};
        Hw=function(a,b,c){Aw(function(){var d=Bw(a);d.adsClientEvent.adClientData={slotData:Dw(b)};if(c){var e={type:Fw.layout_type_media_layout_player_overlay||"LAYOUT_TYPE_UNSPECIFIED"};Gw&&(e.debugData={layoutId:c.i});d.adsClientEvent.adClientData.layoutData=e}return d})};
        Iw=function(a,b,c){Aw(function(){var d=Bw(a),e=d.adsClientEvent,f={opportunityType:b};Gw&&c&&(f.debugData={slots:(0,g.Le)(c,Dw)});e.adClientData={opportunityData:f};return d})};
        Bw=function(a){return{adsClientEvent:{eventType:a}}};
        Dw=function(a){var b={type:Jw[a.lc]||"SLOT_TYPE_UNSPECIFIED"};Gw&&(b.debugData={slotId:a.oj});return b};
        Aw=function(a){Kw||(a=a(),"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==a.adsClientEvent.eventType&&zw("adsClientStateChange",a))};
        Lw=function(a,b){g.O.call(this);this.g=a(this,this,this,this);g.K(this,this.g);this.i=b;for(var c=g.r(this.i),d=c.next();!d.done;d=c.next())g.K(this,d.value)};
        bv=function(a,b){for(var c={},d=g.r(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=c[e.category];f||(f=[]);f.push(e);c[e.category]=f}d=g.r([["trigger_category_layout_exit_normal","normal"],["trigger_category_layout_exit_skip","skipped"],["trigger_category_layout_exit_mute","muted"]]);for(e=d.next();!e.done;e=d.next()){e=g.r(e.value);var h=e.next().value;e=e.next().value;if(c.hasOwnProperty(h)){f=a;h=g.r(c[h]);for(var l=h.next();!l.done;l=h.next())l=l.value,l.layout&&kv(f.g,l.slot)&&Mw(f,l.slot,
        l.layout,e)}}if(c.hasOwnProperty("trigger_category_slot_expiration"))for(d=g.r(c.trigger_category_slot_expiration),e=d.next();!e.done;e=d.next())Nw(a,e.value.slot,!1);if(c.hasOwnProperty("trigger_category_slot_fulfillment"))for(d=g.r(c.trigger_category_slot_fulfillment),e=d.next();!e.done;e=d.next()){e=e.value;a:switch(jv(a.g,e.slot).o){case "not_filled":f=!0;break a;default:f=!1}if(f)if(Ew("ADS_CLIENT_EVENT_TYPE_FULFILL_SLOT_REQUESTED",e.slot),e=e.slot,f=jv(a.g,e),f.o="fill_requested",f=f.A,"slot_type_in_player"!=
        e.lc)f=f.g,h=e,e=new Nu("Received slot with type: "+e.lc+" in InPlayerSlotFulfillmentAdapter."),g.M(e),Nw(f,h,!0);else a:if(h=f.g,f=e,l=new Su(g.Mr(g.Lr.getInstance()),[new Ru(g.Mr(g.Lr.getInstance()),e.g)]),e=h,h=l,null==h)Hw("ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_EMPTY",f,h),Nw(e,f,!1);else{try{var m=e.g;if(!jv(m,f))throw new Uu("Unknown slotState for onLayout");if(!m.g.l[f.lc])throw new Uu("No LayoutRenderingAdapterFactory registered for slot of type: "+f.lc);if(g.lb(h.g)&&g.lb([])&&g.lb([]))throw new Uu("Layout has no exit triggers.");
        mv(m,"trigger_category_layout_exit_normal",h.g);mv(m,"trigger_category_layout_exit_skip",[]);mv(m,"trigger_category_layout_exit_mute",[])}catch(N){g.M(N);Nw(e,f,!0);break a}Hw("ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_NON_EMPTY",f,h);Hw("ADS_CLIENT_EVENT_TYPE_SCHEDULE_LAYOUT_REQUESTED",f,h);try{var n=e.g,p=jv(n,f);p.o="filled";var q=n.g.l[f.lc].g(n.l,f,h);q.init();p.layout=h;p.l=q;nv(n,p,"trigger_category_layout_exit_normal",h.g);nv(n,p,"trigger_category_layout_exit_skip",[]);nv(n,p,"trigger_category_layout_exit_mute",
        [])}catch(N){g.M(N);Nw(e,f,!0);break a}Hw("ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",f,h);l=g.r(e.i);for(var v=l.next();!v.done;v=l.next())v.value.o(f,h);Ow(e,f)}}if(c.hasOwnProperty("trigger_category_slot_entry"))for(c=g.r(c.trigger_category_slot_entry),m=c.next();!m.done;m=c.next()){m=m.value;Ew("ADS_CLIENT_EVENT_TYPE_ENTER_SLOT_REQUESTED",m.slot);try{var x=a.g,B=m.slot,C=jv(x,B);if(!C)throw new Nu("Got enter request for unknown slot");if(null==C.i)throw new Nu("Tried to enter slot with no assigned slotAdapter");
        if("scheduled"!=C.g)throw new Nu("Tried to enter a slot from stage: "+C.g);if(gv(C))throw new Nu("Got enter request for already active slot");for(var E=g.r(Object.values(iv(x,B.lc))),F=E.next();!F.done;F=E.next()){var G=F.value;if(C!=G&&gv(G))throw new Nu("Trying to enter a slot when a slot of same type is already active. Its status: "+G.g);}}catch(N){g.M(N);Nw(a,m.slot,!0);continue}m=jv(a.g,m.slot);"scheduled"!=m.g&&pv(m.g,"enterSlot");m.g="enter_requested";n=m.i;m=n.g;n=n.i;Ew("ADS_CLIENT_EVENT_TYPE_SLOT_ENTERED",
        n);p=jv(m.g,n);"enter_requested"!=!p.g&&pv(p.g,"onSlotEntered");p.g="entered";p=g.r(m.i);for(q=p.next();!q.done;q=p.next())q.value.g(n);Ow(m,n)}};
        Ow=function(a,b){if(jv(a.g,b).layout){Hw("ADS_CLIENT_EVENT_TYPE_START_LAYOUT_REQUESTED",b,jv(a.g,b).layout);var c=jv(a.g,b);null!=c.layout&&"entered"===c.g&&(c.g="rendering",c.l.g(c.layout))}};
        Mw=function(a,b,c,d){Hw("ADS_CLIENT_EVENT_TYPE_EXIT_LAYOUT_REQUESTED",b,c);a=jv(a.g,b);"rendering"!==a.g&&pv(a.g,"exitLayout");a.g="rendering_stop_requested";a.l.i(c,d)};
        Nw=function(a,b,c){if(gv(jv(a.g,b))){gv(jv(a.g,b));var d=jv(a.g,b).layout;if(d&&kv(a.g,b))Mw(a,b,d,c?"error":"abandoned");else{Ew("ADS_CLIENT_EVENT_TYPE_EXIT_SLOT_REQUESTED",b);try{var e=jv(a.g,b);if(!e)throw new Nu("Cannot exit slot it is unregistered");"enter_requested"!==e.g&&"entered"!==e.g&&"rendering"!==e.g&&pv(e.g,"exitSlot");e.g="exit_requested";if(null==e.i)throw e.g="scheduled",new Nu("Cannot exit slot because adapter is null");var f=e.i,h=f.g,l=f.i;Ew("ADS_CLIENT_EVENT_TYPE_SLOT_EXITED",
        l);var m=jv(h.g,l);"exit_requested"!==m.g&&pv(m.g,"onSlotExited");m.g="scheduled";for(var n=g.r(h.i),p=n.next();!p.done;p=n.next())p.value.i(l)}catch(q){g.M(q)}}}else{c=jv(a.g,b).layout;Ew("ADS_CLIENT_EVENT_TYPE_UNSCHEDULE_SLOT_REQUESTED",b);d=jv(a.g,b);e=g.r(b.nj);for(f=e.next();!f.done;f=e.next())f=f.value,dv(d.F[f.g],f),delete d.F[f.g];e=g.r(b.Dp);for(f=e.next();!f.done;f=e.next())f=f.value,dv(d.B[f.g],f),delete d.B[f.g];e=g.r(b.Cp);for(f=e.next();!f.done;f=e.next())f=f.value,dv(d.u[f.g],f),delete d.u[f.g];
        null!=d.layout&&(ov(d,d.layout.g),ov(d,[]),ov(d,[]));d.A=null;d.i=null;d.l=null;d=a.g;jv(d,b)&&delete iv(d,b.lc)[b.oj];Ew("ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED",b);a=g.r(a.i);for(d=a.next();!d.done;d=a.next())d=d.value,d.A(b),c&&d.u(b,c)}};
        Qw=function(){g.J.call(this);this.g=Pw(this)};
        Pw=function(a){var b=new Lw(function(c,d,e,f){e=new ev(e,f);return new hv(e,c,d)},[]);
        g.K(a,b);return b};
        Rw=function(a,b,c){this.i=b;this.g=c};
        Sw=function(a,b){Ou.call(this,a,"trigger_type_on_new_playback_after_content_video_id");this.o=b};
        Tw=function(a,b){Ou.call(this,a,"trigger_type_slot_id_entered");this.o=b};
        Uw=function(a,b){Ou.call(this,a,"trigger_type_slot_id_exited");this.o=b};
        Vw=function(){};
        Ww=function(a,b,c){var d=g.Mr(g.Lr.getInstance());return new Qu(d,[new Yu(g.Mr(g.Lr.getInstance()),b)],[new Tw(g.Mr(g.Lr.getInstance()),d)],[new Sw(g.Mr(g.Lr.getInstance()),a),new Uw(g.Mr(g.Lr.getInstance()),d)],b,c)};
        Xw=function(a){a.requestFullscreen?a.requestFullscreen(void 0):a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen&&a.msRequestFullscreen()};
        $w=function(a){var b;g.Yw()?Zw()==a&&(b=document):b=a;b&&(a=Mv(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
        ax=function(a){return g.gb(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
        g.Yw=function(){return!!Mv(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)};
        Zw=function(){var a=Mv(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);return a?a:null};
        bx=function(a,b,c){this.errorCode=a;this.g=b;this.details=c||{}};
        cx=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
        dx=function(a){var b=void 0===b?!1:b;if(a instanceof bx)return a;a=a&&a instanceof Error?a:Error(""+a);g.M(a,b?"WARNING":"ERROR");return new bx(b?"player.exception":"player.fatalexception",!b,{name:""+a.name,message:""+a.message})};
        fx=function(a,b,c){g.w(a)&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return ex(a)};
        ex=function(a,b,c){if(g.Ra(a)){b=["endSeconds","startSeconds","mediaContentUrl","suggestedQuality","videoId"];c={};for(var d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}return{videoId:a,startSeconds:b,suggestedQuality:c}};
        gx=function(a,b,c,d){if(g.Ra(a)&&!g.Oa(a)){b="playlist list listType index startSeconds suggestedQuality".split(" ");c={};for(d=0;d<b.length;d++){var e=b[d];a[e]&&(c[e]=a[e])}return c}b={index:b,startSeconds:c,suggestedQuality:d};g.w(a)&&16==a.length?b.list="PL"+a:b.playlist=a;return b};
        hx=function(a,b,c){this.sampleRate=a||0;this.g=b||0;this.spatialAudioType=c||0};
        ix=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
        jx=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
        mx=function(a,b,c,d,e,f,h,l,m,n){this.width=a;this.height=b;this.quality=f||kx(a,b);this.Rb=lx[this.quality];this.fps=c||0;this.stereoLayout=!e||null!=d&&0!=d&&1!=d?0:e;this.projectionType=d?2==d&&2==e?3:d:0;(a=h)||(a=lx[this.quality],0==a?a="Auto":(b=this.fps,c=this.projectionType,a=a+(2==c||3==c||4==c?"s":"p")+(55<b?"60":49<b?"50":39<b?"48":"")));this.qualityLabel=a;this.g=l||"";this.primaries=m||"";this.streamType=n||0;this.isAccelerated=!1};
        nx=function(a){return 1280<=a.width||720<=a.height};
        ox=function(a){return"smpte2084"==a.g||"arib-std-b67"==a.g};
        kx=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=px[0],f=0;f<px.length;f++){var h=px[f],l=lx[h];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=h}return"tiny"};
        tx=function(a,b,c,d,e,f,h,l,m){this.id=a;this.containerType=qx(b);this.mimeType=b;this.g=h||0;this.u=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.Xa=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.l=void 0===f?null:f;this.i=rx[sx(this)]||"";this.o=!0};
        sx=function(a){return a.id.split(";",1)[0]};
        ux=function(a){return"9"==a.i||"("==a.i||"9h"==a.i||"(h"==a.i};
        vx=function(a){return"9h"==a.i||"(h"==a.i};
        wx=function(a){return"9h"==a.i||"(h"==a.i};
        g.xx=function(a){return 1==a.containerType};
        yx=function(a){return"application/x-mpegURL"==a.mimeType};
        zx=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)};
        Ax=function(a){return a.includes("vtt")||a.includes("text/mp4")};
        qx=function(a){return 0<=a.indexOf("/mp4")?1:0<=a.indexOf("/webm")?2:0<=a.indexOf("/x-flv")?3:0<=a.indexOf("/vtt")?4:0};
        Bx=function(a,b,c,d,e){var f=new hx;b in lx||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=lx[b],d=Math.round(16*e/9));b=new mx(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/&quot;/g,'"'));return new tx(c,a,f,b)};
        Cx=function(){var a=g.z("yt.player.utils.videoElement_");a||(a=g.we("VIDEO"),g.Ka("yt.player.utils.videoElement_",a,void 0));return a};
        Dx=function(a){var b=Cx();return!!(b&&b.canPlayType&&b.canPlayType(a))};
        Fx=function(a){if(/opus/.test(a)&&(g.Ex&&!pr("38")||g.Ex&&cu("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!iu())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!Dx(a)};
        Gx=function(){var a=Cx();return!!a.webkitSupportsPresentationMode&&g.Qa(a.webkitSetPresentationMode)};
        Hx=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled};
        Ix=function(){var a=Cx();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
        Jx=function(a,b){this.g=a;this.i=b;this.l=0;Object.defineProperty(this,"timestampOffset",{get:this.wG,set:this.AG});Object.defineProperty(this,"buffered",{get:this.uG})};
        Kx=function(){this.length=0};
        Lx=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.g=a;this.i=NaN;this.l=0;Object.defineProperty(this,"duration",{get:this.vG,set:this.zG});Object.defineProperty(this,"readyState",{get:this.xG});this.g.addEventListener("webkitsourceclose",(0,g.A)(this.yG,this),!0)};
        g.Mx=function(a){g.J.call(this);this.o=[];this.N=a||this};
        Nx=function(a,b,c,d){for(var e=0;e<c.length;e++)a.P(b,c[e],d)};
        g.Ox=function(a){for(;a.o.length;){var b=a.o.pop();b.target.removeEventListener(b.name,b.Tm)}};
        Px=function(){this.length=1};
        Qx=function(){this.buffered=new Px};
        Rx=function(a,b){return{start:function(c){return a[c]},
        end:function(c){return b[c]},
        length:a.length}};
        Sx=function(a,b,c){b=void 0===b?",":b;c=void 0===c?0:c;var d=[];if(a)for(c=c&&c<a.length?a.length-c:0;c<a.length;c++)d.push(a.start(c).toFixed(3)+"-"+a.end(c).toFixed(3));return d.join(b)};
        Tx=function(a,b){if(!a)return-1;try{for(var c=0;c<a.length;c++)if(a.start(c)<=b&&a.end(c)>=b)return c}catch(d){}return-1};
        Ux=function(a,b){if(!a)return NaN;var c=Tx(a,b);return 0<=c?a.end(c):NaN};
        Vx=function(a){return a&&a.length?a.end(a.length-1):NaN};
        Wx=function(a,b){var c=Ux(a,b);return 0<=c?c-b:0};
        Xx=function(a,b,c){for(var d=[],e=[],f=0;f<a.length;f++)a.end(f)<b||a.start(f)>c||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return Rx(d,e)};
        Yx=function(a,b){g.O.call(this);var c=this;this.g=a;this.u=b;this.A=this.i=this.o=null;this.l=function(d){return c.L(d.type,c)};
        this.supports(3)&&(this.g.addEventListener("updateend",this.l),this.g.addEventListener("error",this.l))};
        Zx=function(a,b,c,d){g.O.call(this);var e=this;this.g=a;this.D={error:function(){!e.da()&&e.isActive()&&e.L("error",e)},
        updateend:function(){!e.da()&&e.isActive()&&e.L("updateend",e)}};
        Zu(this.g,this.D);this.i=b;this.F=c;this.u=0;this.o=Infinity;this.A=0;this.B=this.l=d};
        $x=function(a,b){this.g=a;this.i=!!b;this.l=!1};
        ay=function(a,b){b=void 0===b?!1:b;g.J.call(this);this.u=new g.Mx(this);g.K(this,this.u);this.i=this.g=null;this.l=a;var c=this.l;c=c.jB?c.g.webkitMediaSourceURL:window.URL.createObjectURL(c);this.Ji=new $x(c,!0);this.A=b;this.o=null;Nx(this.u,this.l,["sourceopen","webkitsourceopen"],this.OE);Nx(this.u,this.l,["sourceclose","webkitsourceclose"],this.NE)};
        cy=function(a,b){by(a)?g.Pm(function(){return b(a)}):a.o=b};
        dy=function(a,b){try{a.l.duration=b}catch(c){}};
        by=function(a){try{return"open"==a.l.readyState}catch(b){return!1}};
        ey=function(a){try{return"closed"==a.l.readyState}catch(b){return!0}};
        fy=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
        gy=function(a){return a.g?!!a.g.supports(0):fy()};
        hy=function(a,b,c,d){if(!a.g||!a.i)return null;var e=a.g.isView()?a.g.g:a.g,f=a.i.isView()?a.i.g:a.i,h=new ay(a.l,!0);h.Ji=a.Ji;e=new Zx(e,b,c,d);b=new Zx(f,b,c,d);h.g=e;h.i=b;g.K(h,e);g.K(h,b);by(a)||a.g.Xl(a.g.qb());return h};
        iy=function(){};
        g.jy=function(a){a=void 0===a?!1:a;g.J.call(this);this.u=this.l=this.o=null;this.I=a;this.F=this.D=!1;this.B=new g.Bm;g.K(this,this.B)};
        ky=function(a){a=a.Fk();return 1>a.length?NaN:a.end(a.length-1)};
        ly=function(a,b){a.o&&null!=b&&b.g==a.o.g||(a.o&&a.o.dispose(),a.o=b)};
        my=function(a){return Wx(a.bd(),a.getCurrentTime())};
        ny=function(a){var b=a.bd();return 0<Vx(b)&&a.getDuration()?Ux(b,a.getCurrentTime()):0};
        oy=function(a){var b=a.bd();return 0<Vx(b)&&a.getDuration()?b.end(b.length-1):0};
        py=function(a){var b=a.getDuration();return Infinity==b?1:b?ny(a)/b:0};
        qy=function(a){switch(a.oe()){case 2:return"progressive.net.retryexhausted";case 3:return"fmt.decode";case 4:return"fmt.unplayable";case 5:return"drm.unavailable";case 1E3:return"capability.changed";default:return null}};
        ry=function(a,b,c){g.Zl.call(this,b,a);this.i=c||null};
        g.sy=function(a){g.jy.call(this);this.g=a;this.i={}};
        g.uy=function(a){return(a=ty[a.toString()])?a:"LICENSE"};
        vy=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=nt(b||"");var c={};(0,g.D)(this.experimentIds,function(d){c[d]=!0});
        this.experiments=c};
        g.P=function(a,b){return"true"==a.flags[b]};
        g.Q=function(a,b){return parseFloat(a.flags[b])||0};
        wy=function(a,b){var c=a.flags[b];return c?c.toString():""};
        yy=function(a){this.o=this.g=NaN;this.l=this.i=!1;this.u=void 0===a?!1:a};
        zy=function(a,b){return b>a.g+(a.u?.001:0)&&b<a.g+5};
        Ay=function(a,b,c,d){if(d=1<d)a.l=!0;if(a.i)b!=a.g&&(a.i=!1);else if(0<b&&a.g==b)return c-a.o>(d||!a.l?1500:400);a.g=b;a.o=c;return!1};
        g.By=function(a,b){this.g=a||64;this.i=void 0===b?null:b};
        Cy=function(a,b){return Ay(a,b.getCurrentTime(),(0,g.Bv)(),my(b))};
        Dy=function(a,b,c){return b==a.g&&c==a.i||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.By(b,c)};
        Ey=function(a,b){return Dy(a,a.g|b)};
        Fy=function(a,b){return Dy(a,a.g&~b)};
        Gy=function(a,b,c){return Dy(a,(a.g|b)&~c)};
        g.R=function(a,b){return!!(a.g&b)};
        g.Hy=function(a,b){return b.g==a.g&&b.i==a.i};
        g.Iy=function(a){return g.R(a,8)&&!g.R(a,512)&&!g.R(a,64)&&!g.R(a,2)};
        Jy=function(a){return g.R(a,8)&&!g.R(a,2)&&!g.R(a,1024)};
        Ky=function(a){return g.Iy(a)&&!g.R(a,16)&&!g.R(a,32)};
        g.Ly=function(a){return g.R(a,1)&&!g.R(a,2)};
        My=function(a){return g.R(a,128)?-1:g.R(a,2)?0:g.R(a,64)?-1:g.R(a,1)&&!g.R(a,32)?3:g.R(a,8)?1:g.R(a,4)?2:-1};
        Ny=function(a){this.i=window.Float32Array?new Float32Array(a):Array(a);this.l=this.g=a-1};
        Oy=function(a){return a.i[a.g]||0};
        Py=function(){g.J.call(this);this.l={};this.g={};this.i=new g.L(this.o,250,this);g.K(this,this.i)};
        Ry=function(a,b,c,d){a.l[b]=c;a.g[b]=new Qy(!!d)};
        Sy=function(a,b){if(a.g[b]){var c=a.g[b].g;for(var d=[];c.l!=c.g;)c.l=(c.l+1)%c.i.length,d.push(c.i[c.l]);c=d}else c=[];return c};
        Ty=function(a,b){return a.g[b]?Oy(a.g[b].g):0};
        Qy=function(a){this.l=a;this.g=new Ny(100);this.i=NaN};
        Vy=function(){if(window.crypto&&window.crypto.getRandomValues)try{var a=Array(16),b=new Uint8Array(16);window.crypto.getRandomValues(b);for(var c=0;c<a.length;c++)a[c]=b[c];return a}catch(e){}a=Array(16);for(b=0;16>b;b++){c=(0,g.H)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(Uy)for(b=1,c=0;c<Uy.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^Uy.charCodeAt(c),b++;return a};
        Wy=function(){for(var a=Vy(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
        g.Xy=function(){return(0,g.Le)(Vy(),function(a){return(a&15).toString(16)}).join("")};
        fz=function(a){var b=g.S(a),c=a.getVideoData(),d=a.g,e=d.app.u,f=e.ga(),h=a.O().experiments,l=b.An(),m=b.Z,n=8*Ty(m,"bandwidth")/1024,p=Ty(m,"networkactivity")/1024,q=Ty(m,"bufferhealth");if(b.B){var v=b.K.useInnertubeDrmService()?"IT/":"";v+=b.B.g.cd()+"/"+Yy(Zy(b));v+="/"+b.B.cd()}else v="";var x=b.getPlayerState().g.toString(16);var B=e.getCurrentTime().toFixed(2),C=Sx(e.bd(),",",3);x="s:"+x+" t:"+B+" b:"+C+" ";e.Bi()&&(x+="S");e.Hf()&&(x+="P");e.ke()&&(x+="E");e=$y();d=az(d.app.o);d=(d?d.g():
        {}).pK;B=c.la&&!c.la.g?"display:none":"";if((C=c.clientPlaybackNonce)&&16==C.length){for(var E=0,F="",G=0;10>G;G++)if(E=(E<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(C.charAt(G)),4==G%5){for(var N="",Z=0;6>Z;Z++)N="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(E&31)+N,E>>=5;F+=N}C=F.substr(0,4)+" "+F.substr(4,4)+" "+F.substr(8,4)}else C="";n={video_id_and_cpn:c.videoId+" / "+C,codecs:"",dims_and_frames:"",bandwidth_kbps:n.toFixed(0)+" Kbps",buffer_health_seconds:q.toFixed(2)+
        " s",drm_style:v?"":"display:none",drm:v,debug_info:x,bandwidth_style:B,network_activity_style:B,network_activity_bytes:p.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};p=f.clientWidth+"x"+f.clientHeight+(1<e?"*"+e.toFixed(2):"");q="-";l.totalVideoFrames&&(q=(l.droppedVideoFrames||0)+" dropped of "+l.totalVideoFrames);n.dims_and_frames=p+" / "+q;l=a.g.getVolume();p=bz(c);l=Math.round(l)+"% / "+Math.round(l*p)+"%";p=c.dj.toFixed(1);isFinite(p)&&(l+=" (content loudness "+
        p+"dB)");n.volume=l;n.resolution=f.videoWidth+"x"+f.videoHeight;if(l=c.Fa)if(f=l.video)p=f.fps,1<p&&(n.resolution+="@"+p),(p=cz(b))&&p.video&&(n.resolution+=" / "+p.video.width+"x"+p.video.height,1<p.video.fps&&(n.resolution+="@"+p.video.fps)),n.codecs=dz(l),!c.sc||l.audio&&l.video||(n.codecs+=" / "+dz(c.sc)),f.g||f.primaries?(l=f.g||"unknown","smpte2084"==l?l+=" (PQ)":"arib-std-b67"==l&&(l+=" (HLG)"),n.color=l+" / "+(f.primaries||"unknown"),n.color_style=""):n.color_style="display:none";f=c.oa;l=
        c.Ai;n.live_mode_style=f||l?"":"display:none";n.live_latency_style=f?"":"display:none";if(l)n.live_mode="Post-Live"+(ez(c)?" Manifestless":"");else if(f){l=Ty(m,"livelatency");n.live_latency_secs=l.toFixed(2)+"s";f=ez(c)?"Manifestless, ":"";p="Uncertain";if(0<=l&&120>l)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":p="Optimized for Normal Latency";break;case "LOW":p="Optimized for Low Latency";break;case "ULTRALOW":p="Optimized for Ultra Low Latency";break;default:p=
        "Unknown Latency Setting"}else p=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";f+=p;(c=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(f+=", seq "+c.sequence);n.live_mode=f}b.isGapless()&&(n.playback_categories+="Gapless ");n.playback_categories_style=n.playback_categories?"":"display:none";n.bandwidth_samples=Sy(m,"bandwidth");n.network_activity_samples=Sy(m,"networkactivity");n.live_latency_samples=Sy(m,"livelatency");n.buffer_health_samples=Sy(m,"bufferhealth");
        b="display:none";g.P(h,"web_player_release_debug")&&(a=a.Ba?a.Ba.releaseName:a.U.assets&&a.U.assets.release_name?a.U.assets.release_name:"",h=g.P(h,"player_web_canary"),a&&(n.release_name=a,n.canary=h?"yes":"no",b=""));n.release_style=b;n.canary_style=b;return n};
        dz=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+sx(a)+")":sx(a)};
        gz=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.Bs(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
        iz=function(a){return(a=hz.exec(a))?a[0]:""};
        kz=function(a){var b=void 0===b?!1:b;return gz(jz.test(a),a,b,"Nielsen OCR URL")};
        mz=function(a){var b=void 0===b?!1:b;return gz(lz.test(a),a,b,"Active View 3rd Party Integration URL")};
        oz=function(a){var b=void 0===b?!1:b;return gz(nz.test(a),a,b,"Google/YouTube Brand Lift URL")};
        qz=function(a){var b=void 0===b?!1:b;return gz(pz.test(a),a,b,"Trusted Stream URL")};
        g.sz=function(a){var b=void 0===b?!1:b;return gz(rz.test(a),a,b,"Trusted Image URL")};
        uz=function(a){var b=void 0===b?!1:b;return gz(tz.test(a),a,b,"Trusted Promoted Video Domain URL")};
        wz=function(a,b){b=void 0===b?!1:b;return gz(vz.test(a),a,b,"Captions URL")};
        xz=function(a){a=new g.Hp(a);g.Ip(a,document.location.protocol);g.Jp(a,document.location.hostname);document.location.port&&g.Kp(a,document.location.port);return a.toString()};
        yz=function(a){a=new g.Hp(a);g.Ip(a,document.location.protocol);return a.toString()};
        g.Az=function(a){g.J.call(this);this.g={};this.ua={};this.element=zz(this,a)};
        zz=function(a,b,c){c=c||"svg"==b.C;if(c){var d=document.createElementNS("http://www.w3.org/2000/svg",b.C);g.Bz&&(b.T||(b.T={}),b.T.focusable="false")}else d=g.we(b.C);var e;if(e=b.G){if(e=Cz(a,d,"class",e))Dz(a,d,"class",e),a.g[e]=d}else if(e=b.ba){for(var f=0;f<e.length;f++)a.g[e[f]]=d;Dz(a,d,"class",e.join(" "))}if(e=b.X)c=Cz(a,d,"child",e),null!=c&&d.appendChild(g.xe(c));else if(e=b.M)for(var h=f=0;h<e.length;h++){var l=e[h];if(l)if(g.w(l))l=Cz(a,d,"child",l),null!=l&&d.appendChild(g.xe(l));else if(l.element)d.appendChild(l.element);
        else{var m=l;l=zz(a,m,c);d.appendChild(l);m.Bg&&(m="ytp-id-"+Ez++,l.id=m,l=document.createElementNS("http://www.w3.org/2000/svg","use"),l.setAttribute("class","ytp-svg-shadow"),l.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+m),Ae(d,l,f++))}}if(b=b.T){c=d;for(var n in b)e=b[n],null!=e&&Dz(a,c,n,g.w(e)?Cz(a,c,n,e):e)}return d};
        Cz=function(a,b,c,d){return"{{"==d.substr(0,2)?(a.ua[d]=[b,c],null):d};
        Dz=function(a,b,c,d){if("child"==c){g.ze(b);if(!g.Oa(d)||g.Ra(d)&&g.w(d.C))d=[d];c=[];for(var e=0;e<d.length;e++){var f=d[e];if(null!=f){var h=f.nodeType;if(1==h||3==h)c.push(f);else if(g.Ra(f)&&g.w(f.C))c.push(zz(a,f));else if(f.element)c.push(f.element);else if(g.w(f)&&-1!=f.indexOf("\n"))for(f=f.split("\n"),h=0;h<f.length;h++)0<h&&c.push(g.we("BR")),c.push(g.xe(f[h]));else c.push(g.xe(f))}}for(a=0;a<c.length;a++)b.appendChild(c[a])}else"style"==c?b.style.cssText=d?d:"":null===d?b.removeAttribute(c):
        (a=d.toString(),"href"==c&&(a=g.Wc(g.Yc(a))),b.setAttribute(c,a))};
        g.T=function(a){g.Az.call(this,a);this.gb="";this.R=!0;this.H=[]};
        g.Fz=function(a,b){b?a.show():a.hide()};
        g.Gz=function(a){g.T.call(this,a);this.F=new g.O;g.K(this,this.F)};
        Hz=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
        Iz=function(a){if(a.ai())return!1;a=a.Bc("content-type");return"audio/mp4"===a||"video/mp4"===a||"video/webm"===a};
        Kz=function(a){a=a.split("");Jz.TI(a,4);Jz.TP(a,2);Jz.e5(a,15);Jz.TI(a,4);Jz.TI(a,70);Jz.e5(a,55);Jz.TP(a,2);Jz.e5(a,51);Jz.TP(a,3);return a.join("")};
        Lz=function(a){this.o=a;this.A=this.i=this.u="";this.g={};this.l=""};
        Nz=function(a){a.l||(a.l=Mz(a));return a.l};
        Pz=function(a){Oz(a);return a.A};
        Qz=function(a){Oz(a);return"local"==a.u};
        Rz=function(a){Oz(a);return cc(a.g,function(b){return null!==b})};
        Sz=function(a){Oz(a);if("/videoplayback"!=a.i){var b=a.clone();b.set("playerfallback","1");return b}var c=Nz(a);b=new g.Hp(c);var d=a.get("fvip");a=decodeURIComponent(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.g.replace(/^[^.]*/,""),g.Jp(b,"r"+d+"---"+a[1]+c),b=new Lz(b.toString()),b.set("fallback_count","1"),b;d=b.g.match("\\.a1\\.googlevideo\\.com$");b.g.match("\\.googlevideo\\.com$")?(g.Jp(b,"redirector.googlevideo.com"),c=b.toString()):b.g.match("r[1-9].*\\.c\\.youtube\\.com$")?
        (g.Jp(b,"www.youtube.com"),c=b.toString()):c=xz(c);b=new Lz(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
        Oz=function(a){if(a.o){if(!qz(a.o)&&!a.o.startsWith("local"))throw Error("Untrusted URL: "+a.o);var b=g.Rp(a.o);a.u=b.o;a.A=b.g+(null!=b.u?":"+b.u:"");var c=b.i;if(0==c.indexOf("/videoplayback"))a.i="/videoplayback",c=c.substr(14);else if(0==c.indexOf("/api/manifest")){var d=c.indexOf("/",12),e=c.indexOf("/",d+1);0<d&&0<e?(a.i=c.substr(0,e),c=c.substr(e+1)):(a.i=c,c="")}else a.i=c,c="";d=a.g;a.g=Tz(c);g.Ya(a.g,Uz(b.l.toString()));g.Ya(a.g,d);"index.m3u8"==a.g.file&&(delete a.g.file,a.i+="/file/index.m3u8");
        a.o="";a.l=""}};
        Mz=function(a){Oz(a);var b=a.u+(a.u?"://":"//")+a.A+a.i;if(Rz(a)){var c=[];g.$b(a.g,function(d,e){null!==d&&c.push(e+"="+d)});
        b+="?"+c.join("&")}return b};
        Tz=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&Vz(c,a[b],a[b+1]);return c};
        Uz=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?Vz(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
        Vz=function(a,b,c){if("cmo"==b){var d;0<=(d=c.indexOf("="))?(b="cmo="+c.substr(0,d),c=c.substr(d+1)):0<=(d=c.indexOf("%3D"))&&(b="cmo="+c.substr(0,d),c=c.substr(d+3))}a[b]=c};
        Wz=function(a,b,c,d,e,f,h,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.fb=a;this.l=e;this.startTime=b;this.i=h||0;this.range=f||null;this.g=l||!1};
        g.Xz=function(){this.segments=[]};
        Yz=function(a,b){if(b>a.ab())a.segments=[];else{var c=g.fb(a.segments,function(d){return d.fb>=b},a);
        0<c&&a.segments.splice(0,c)}};
        Zz=function(a,b,c,d,e){e=void 0===e?!1:e;this.data=a;this.offset=b;this.size=c;this.type=d;this.g=e?0:8;this.dataOffset=this.offset+this.g;this.i=e};
        $z=function(a){var b=a.data.getUint8(a.offset+a.g);a.g+=1;return b};
        aA=function(a){var b=a.data.getUint16(a.offset+a.g);a.g+=2;return b};
        bA=function(a){var b=a.data.getInt32(a.offset+a.g);a.g+=4;return b};
        cA=function(a){var b=a.data.getUint32(a.offset+a.g);a.g+=4;return b};
        dA=function(a){var b=a.data;var c=a.offset+a.g;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.g+=8;return b};
        eA=function(a,b){b=void 0===b?NaN:b;if(isNaN(b))var c=a.size;else for(c=a.g;c<a.size&&a.data.getUint8(a.offset+c)!=b;)++c;var d=new Uint8Array(a.data.buffer,a.offset+a.g+a.data.byteOffset,c-a.g);a.g=Math.min(c+1,a.size);return String.fromCharCode.apply(String,d)};
        fA=function(a){this.data=new DataView(new ArrayBuffer(a));this.g=0};
        gA=function(a,b){a.data.setInt32(a.g,b);a.g+=4};
        hA=function(a,b){for(var c=0;c+4<=b.size;)gA(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.g++,b.data.getUint8(b.offset+c++))};
        iA=function(a,b,c,d,e,f){this.g=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.i=f};
        kA=function(a,b,c){this.g=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.o=void 0===c?null:c;this.i=jA(this,"Sequence-Number");this.D=jA(this,"Segment-Count");this.F=this.g["Segment-Durations-Ms"]||"";this.ingestionTime=jA(this,"Ingestion-Walltime-Us")/1E6;this.l=(jA(this,"First-Frame-Time-Us")+jA(this,"First-Frame-Uncertainty-Us"))/1E6;this.B=jA(this,"Target-Duration-Us")/1E6;this.A="T"==this.g["Stream-Finished"];this.u="T"==this.g.Streamable};
        lA=function(a){return parseInt(a.g["Start-Media-Time-Us"],10)/1E6||0};
        jA=function(a,b){return parseInt(a.g[b],10)||0};
        mA=function(a,b){this.g=a;this.duration=b};
        nA=function(a){var b={};a=a.split("\r\n");for(var c=0;c<a.length;c++){if(0==a[c].length)return b;var d=a[c].match(/([^:]+):\s+([\S\s]+)/);null!=d&&(b[d[1]]=d[2])}return null};
        qA=function(a,b){var c=oA(a,0,1836019558);if(!c)return null;var d=oA(a,c.dataOffset,1835427940),e=oA(a,c.dataOffset,1953653094),f=pA(a,c.dataOffset);if(!d||!e)return null;var h=oA(a,e.dataOffset,1952868452),l=oA(a,e.dataOffset,1953658222),m=oA(a,e.dataOffset,1952867444);if(!h||!l||!m)return null;var n=oA(a,e.dataOffset,1935763823),p=oA(a,e.dataOffset,1935763834),q=0;if(n){q=bA(n);var v=bA(n);if(0!=q||1!=v)return null;q=bA(n)}v=oA(a,e.dataOffset,1935828848);e=oA(a,e.dataOffset,1936158820);var x=bA(h),
        B=bA(h),C=x&2,E=x&1?dA(h):0,F=C?bA(h):0,G=x&8?bA(h):0,N=x&16?bA(h):0,Z=x&32?bA(h):0;x=bA(l);var aa=x&1,ya=x&4,Nc=x&256;h=x&512;var wc=x&1024,cg=x&2048;x=bA(l);var Oc=aa?bA(l):0,dg=ya?bA(l):0;aa=[];for(var ek=[],eg=[],wi=[],fq=0,xc=0,xi=0;xi<x;xi++){var JD=Nc?bA(l):G;h&&aa.push(bA(l));var yi=Z;ya&&0==xi?yi=dg:wc&&(yi=bA(l));ek.push(yi);yi=cg?bA(l):0;0==xi&&(fq=yi);eg.push(xc+yi);wi.push(xi);xc+=JD}g.Db(wi,function(gq,zi){return eg[gq]-eg[zi]});
        l=[];for(xc=0;xc<x;xc++)l[wi[xc]]=xc;xc=C?4:0;ya=16*x;Nc=ci(f,function(gq,zi){return gq+zi.size},0);
        wc=68+xc+m.size+ya+(n?n.size:0)+(p?p.size:0)+(v?v.size:0)+(e?e.size:0)+Nc;Z=wc-c.size;G=new fA(wc+c.offset);c.offset&&G.qf(a,0,c.offset);gA(G,wc);gA(G,1836019558);hA(G,d);gA(G,wc-24-Nc);gA(G,1953653094);gA(G,16+xc);gA(G,1952868452);gA(G,131072|(C?2:0));gA(G,B);C&&gA(G,F);hA(G,m);gA(G,20+ya);gA(G,1953658222);gA(G,16781057);gA(G,x);gA(G,E+Oc+Z);for(c=xc=0;c<x;c++)m=l[c],d=Math.round(b*m/x),m=Math.round(b*(m+1)/x)-d,d=d-xc+fq,gA(G,m),gA(G,h?aa[c]:N),gA(G,ek[c]),gA(G,d),xc+=m;n&&(gA(G,n.size),gA(G,1935763823),
        gA(G,0),gA(G,1),gA(G,q+Z));p&&hA(G,p);v&&hA(G,v);e&&hA(G,e);f=g.r(f);for(n=f.next();!n.done;n=f.next())hA(G,n.value);return G.data.buffer};
        rA=function(a,b){var c=oA(a.data,a.dataOffset,1952868452),d=oA(a.data,a.dataOffset,1953658222),e=bA(c);bA(c);e&2&&bA(c);c=e&8?bA(c):0;var f=bA(d),h=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var p=cA(d);h&&bA(d);e&&bA(d);for(var q=h=0;q<p;q++){var v=l?bA(d):c;m&&bA(d);e&&0==q||!n||bA(d);f&&bA(d);h+=v}return h/b};
        uA=function(a){a=new DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.sA(a,0,1836476516))?tA(a):NaN};
        oA=function(a,b,c){for(;vA(a,b);){var d=wA(a,b);if(d.type==c)return d;b+=d.size}return null};
        g.sA=function(a,b,c){for(;vA(a,b);){var d=wA(a,b);if(d.type==c)return d;b=xA(d.type)?b+8:b+d.size}return null};
        yA=function(a,b){if(a.data.getUint8(a.dataOffset)){var c=a.data,d=a.dataOffset+4;c.setUint32(d,Math.floor(b/4294967296));c.setUint32(d+4,b&4294967295)}else a.data.setUint32(a.dataOffset+4,b)};
        zA=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;b=4294967296*b.getUint32(a)+b.getUint32(a+4)}else b=a.data.getUint32(a.dataOffset+4);return b};
        wA=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new Zz(a,b,c,d)};
        tA=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
        AA=function(a){a=new Zz(a.data,a.offset,a.size,a.type,a.i);var b=$z(a);a.skip(7);var c=cA(a);if(0==b){b=cA(a);var d=cA(a)}else b=dA(a),d=dA(a);a.skip(2);for(var e=aA(a),f=[],h=[],l=0;l<e;l++){var m=cA(a);f.push(m);h.push(cA(a));a.skip(4)}return{gm:c,qy:b,Yr:d,jp:f,qj:h}};
        BA=function(a){return a.data.getUint32(a.dataOffset+8)};
        vA=function(a,b){if(8>a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-b<c)return!1;c=a.getUint32(b+4);if(1635148593==c||1635148611==c||1937126244==c||1936995172==c)return!0;for(c=4;8>c;c++){var d=a.getInt8(b+c);if(97>d||122<d)return!1}return!0};
        xA=function(a){return 1701082227==a||1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a||1836475768==a};
        CA=function(a){a.skip(4);var b=eA(a,0),c=eA(a,0),d=cA(a),e=cA(a),f=cA(a),h=cA(a),l=eA(a);return{QF:b,value:c,gm:d,yK:e,lK:f,id:h,Dt:l,offset:a.offset}};
        DA=function(a){return(a=oA(a,0,1836019558))?a.offset+a.size:null};
        EA=function(a,b){for(var c=oA(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=oA(a,c.offset+c.size,b)}};
        pA=function(a,b){for(var c=[];vA(a,b);){var d=wA(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c};
        FA=function(a,b){for(var c=0,d=[];vA(a,c);){var e=wA(a,c);e.type==b&&d.push(e);c=xA(e.type)?c+8:c+e.size}return d};
        GA=function(a,b){var c=g.sA(a,0,1937011556),d=g.sA(a,0,1953654136);if(!c||!d||2<=a.getUint32(c.offset+12))return null;var e=new DataView(b.buffer,b.byteOffset,b.length),f=g.sA(e,0,1937011556);if(!f)return null;d=e.getUint32(f.dataOffset+8);var h=e.getUint32(f.dataOffset+12);if(1701733217!=h&&1701733238!=h)return null;h=new fA(a.byteLength+d);h.qf(a,0,c.offset+12);gA(h,2);h.qf(a,c.offset+16,c.size-16);h.qf(e,e.byteOffset+f.dataOffset+8,d);h.qf(a,c.offset+c.size,a.byteLength-(c.offset+c.size));c=g.r([1836019574,
        1953653099,1835297121,1835626086,1937007212,1937011556]);for(e=c.next();!e.done;e=c.next())e=g.sA(a,0,e.value),h.data.setUint32(e.offset,e.size+d);d=g.sA(h.data,0,1953654136);h.data.setUint32(d.offset+16,2);return h.data};
        HA=function(a){return String.fromCharCode.apply(null,a)};
        IA=function(a,b){this.i=a;this.g=0;this.l=b||0};
        PA=function(a,b,c){var d=new IA(c);if(!JA(d,a))return!1;d=KA(d);if(!LA(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=MA(d);var e=NA(d,!0);d=a+(MA(d)-b)+e;d=9<d?OA(d-9,8):OA(d-2,1);a=b-a;c.setUint8(a++,236);for(b=0;b<d.length;b++)c.setUint8(a++,d[b]);return!0};
        KA=function(a){var b=NA(a,!0),c=a.i.byteOffset+a.g;c=new DataView(a.i.buffer,c,Math.min(b,a.i.buffer.byteLength-c));c=new IA(c,a.l+a.g);a.g+=b;return c};
        RA=function(a){for(var b=NA(a,!0),c=QA(a),d=1;d<b;d++)c=256*c+QA(a);return c};
        TA=function(a){var b=NA(a,!0);return HA(SA(a,b))};
        QA=function(a){return a.i.getUint8(a.g++)};
        NA=function(a,b){var c=QA(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+QA(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+QA(a),d*=128;return b?c-d:c};
        UA=function(a){var b=NA(a,!0);a.g+=b};
        MA=function(a){return a.l+a.g};
        VA=function(a){var b=a.g;a.g=0;var c=!1;try{LA(a,440786851)&&(a.g=0,LA(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.g=0,c=!1,g.Bs(d);else throw d;}a.g=b;return c};
        WA=function(a){var b=a.g,c={Ip:1E6,Jp:1E9,duration:0,qp:0,fj:0};if(!LA(a,408125543))return a.g=b,null;c.qp=NA(a,!0);c.fj=MA(a);if(LA(a,357149030))for(var d=KA(a);!(d.g>=d.i.byteLength);){var e=NA(d,!1);if(2807729==e)c.Ip=RA(d);else if(2807730==e)c.Jp=RA(d);else if(17545==e){e=NA(d,!0);var f=0;4==e?f=d.i.getFloat32(d.g):8==e&&(f=d.i.getFloat64(d.g));d.g+=e;c.duration=f}else UA(d)}else return a.g=b,null;a.g=b;return c};
        YA=function(a,b,c){var d=a.g,e=[];if(!LA(a,475249515))return a.g=d,null;for(var f=KA(a);LA(f,187);){var h=KA(f);if(LA(h,179)){var l=RA(h);if(LA(h,183)){h=KA(h);for(var m=b;LA(h,241);)m=RA(h)+b;e.push({Wf:m,lk:l})}}}if(0<e.length&&c==e[0].Wf)for(XA&&g.Bs(Error("opus_oboe")),b=0;b<e.length;b++)e[b].Wf+=1;a.g=d;return e};
        ZA=function(a){var b=a.g;a.g=0;var c=1E6;JA(a,[408125543,357149030,2807729])&&(c=RA(a));a.g=b;return c};
        aB=function(a,b){var c=a.g;a.g=0;if(!$A(a)||!LA(a,160))return a.g=c,NaN;NA(a,!0);var d=a.g;if(!LA(a,161))return a.g=c,NaN;NA(a,!0);QA(a);var e=QA(a)<<8|QA(a);a.g=d;if(!LA(a,155))return a.g=c,NaN;d=RA(a);a.g=c;return(e+d)*b/1E9};
        $A=function(a){if(!bB(a)||!LA(a,524531317))return!1;NA(a,!0);return!0};
        bB=function(a){if(VA(a)){if(!LA(a,408125543))return!1;NA(a,!0)}return!0};
        JA=function(a,b){for(var c=0;c<b.length;c++){if(!LA(a,b[c]))return!1;c!=b.length-1&&NA(a,!0)}return!0};
        LA=function(a,b,c){c=void 0===c?!1:c;if(a.g>=a.i.byteLength)return!1;for(var d=a.g;NA(a,!1)!=b;)if(UA(a),d=a.g,a.g>=a.i.byteLength)return!1;c&&(a.g=d);return!0};
        OA=function(a,b){b||(b=Math.ceil(Math.log(a+2)/Math.log(2)/7));for(var c=1<<8-b,d=[];d.length<b-1;)d.unshift(a%256),a=Math.floor(a/256);d.unshift(a|c);return d};
        SA=function(a,b){var c=new Uint8Array(a.i.buffer,a.i.byteOffset+a.g,b);a.g+=b;return c};
        cB=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
        dB=function(a){a=a.split("-");return 2==a.length&&(a=new cB(parseInt(a[0],10),parseInt(a[1],10)),!isNaN(a.start)&&!isNaN(a.end)&&!isNaN(a.length)&&0<a.length)?a:null};
        eB=function(a,b){return new cB(a,a+b-1)};
        gB=function(a,b,c,d,e,f,h,l,m,n,p){this.g=b;this.range=c;this.type=a;this.D="";this.i=-1;this.D=d;this.i=0<=e?e:-1;this.startTime=f||0;this.duration=h||0;this.l=l||0;this.Ea=0<=m?m:this.range?this.range.length:NaN;this.A=!!n;this.o=this.range?this.l+this.Ea==this.range.length:void 0===p?!!this.Ea:p;this.range?(this.B=this.startTime+this.duration*this.l/this.range.length,this.F=this.duration*this.Ea/this.range.length,this.u=this.B+this.F):fB(this);this.H=[]};
        fB=function(a){a.B=a.startTime;a.F=a.duration;a.u=a.B+a.F};
        hB=function(a,b,c){var d=!(!b||b.g!=a.g||b.type!=a.type||b.i!=a.i);return c?d&&!!b&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.l+b.Ea==a.l+a.Ea:d};
        iB=function(a){return 1==a.type||2==a.type};
        jB=function(a){return 3==a.type||6==a.type};
        kB=function(a,b,c){return c||a.g==b.g?a.range&&b.range?a.range.start+a.l+a.Ea==b.range.start+b.l:a.i==b.i?a.l+a.Ea==b.l:a.i+1==b.i&&0==b.l&&a.o:!1};
        lB=function(a,b){return kB(a,b)||1E-6>=Math.abs(a.u-b.B)||a.i+1==b.i&&0==b.l&&a.o?!0:!1};
        mB=function(a){return a.i+(a.o?1:0)};
        nB=function(a){1==a.length||(0,g.bi)(a,function(c){return!!c.range});
        for(var b=1;b<a.length;b++);b=a[a.length-1];return new cB(a[0].range.start+a[0].l,b.range.start+b.l+b.Ea-1)};
        pB=function(a){a=oB(a);var b="";g.$b(a,function(c,d){b+=d+"="+c+","});
        return b.slice(0,-1)};
        oB=function(a){var b={};b.itag=sx(a.g.info);b.type=a.type;b.seg=String(a.i);a.range&&(b.range=""+(a.range.start+a.l)+"-"+(a.range.start+a.l+a.Ea-1));b.time=""+a.B.toFixed(1)+"-"+(a.B+a.F).toFixed(1);b.off=String(a.l);b.len=String(a.Ea);a.o&&(b.end="1");a.A&&(b.eos="1");return b};
        qB=function(a,b,c,d){return new gB(a.type,a.g,a.range,"reslice_"+a.D,a.i,a.startTime,a.duration,b,c,d&&a.A,d)};
        rB=function(a,b){var c=b.i;a.D="updateWithEmsg";a.i=c;b.A&&(a.A=b.A)};
        sB=function(a,b){var c=b.fb;a.D="updateWithSegmentInfo";a.i=c;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,fB(a)};
        tB=function(a){var b=this;a=void 0===a?[]:a;this.g=[];this.o=this.l=this.i=0;a.map(function(c){return b.append(c)})};
        uB=function(a,b){if(!(b>=a.l&&b<a.l+a.g[a.i].length))for(b<a.l&&(a.i=0,a.l=0);a.l+a.g[a.i].length<=b&&a.i<a.g.length;)a.l+=a.g[a.i].length,a.i+=1};
        vB=function(a,b,c){b=void 0===b?0:b;c=void 0===c?-1:c;if(!a.o)return new DataView(new ArrayBuffer(0));0>c&&(c=a.o-b);uB(a,b);if(!(b-a.l+c<=a.g[a.i].length)){var d=a.i,e=a.l;uB(a,b+c-1);e=new Uint8Array(a.l+a.g[a.i].length-e);for(var f=0,h=d;h<=a.i;h++)e.set(a.g[h],f),f+=a.g[h].length;a.g.splice(d,a.i-d+1,e);a.i=0;a.l=0;uB(a,b)}d=a.g[a.i];return new DataView(d.buffer,d.byteOffset+b-a.l,c)};
        wB=function(a,b,c){a=vB(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)};
        xB=function(a,b){var c=wB(a,void 0===b?0:b,-1),d=new Uint8Array(c.length);d.set(c);return d};
        yB=function(a,b,c){this.info=a;this.g=new tB([b]);this.g.getLength();this.l=c;this.i=null;this.o=-1};
        zB=function(a){return vB(a.g)};
        AB=function(a){if(-1!=a.o)return a.o;if(a.i&&lA(a.i))return a.o=lA(a.i),a.o;if(g.xx(a.info.g.info)){var b=zB(a);for(var c=a.info.g.g,d=NaN,e=NaN,f=0;vA(b,f);){var h=wA(b,f);1936286840==h.type?e=BA(h):1836476516==h.type?e=tA(h):1952867444==h.type&&isNaN(d)&&(d=zA(h));f=xA(h.type)?f+8:f+h.size}!e&&c&&(e=uA(c));b=d/e}else b=new IA(zB(a)),c=a.l?b:new IA(new DataView(a.info.g.g.buffer)),d=ZA(c),c=b.g,b.g=0,$A(b)?LA(b,231)?(d=RA(b)*d/1E9,b.g=c,b=d):(b.g=c,b=NaN):(b.g=c,b=NaN);a.o=b||a.info.B;return a.o};
        BB=function(a){if(a.i&&6==a.info.type)return a.i.B;if(g.xx(a.info.g.info)){var b=zB(a);var c=0;b=FA(b,1936286840);b=g.r(b);for(var d=b.next();!d.done;d=b.next())d=AA(d.value),c+=d.qj[0]/d.gm;c=c||NaN;if(!(0<=c))a:{c=zB(a);b=a.info.g.g;d=0;for(var e,f=0;vA(c,d);){var h=wA(c,d);if(1836476516==h.type)e=tA(h);else if(1836019558==h.type){!e&&b&&(e=uA(b));if(!e){c=NaN;break a}var l=oA(h.data,h.dataOffset,1953653094);f+=rA(l,e)}d=xA(h.type)?d+8:d+h.size}c=f||NaN}}else e=new IA(zB(a)),c=a.l?e:new IA(new DataView(a.info.g.g.buffer)),
        c=aB(e,ZA(c));return c||a.info.F};
        CB=function(a){if(!a.i){if(g.xx(a.info.g.info)){var b=zB(a),c=oA(b,0,1701671783);if(c){var d=CA(c);var e=d.QF,f=nA(d.Dt);if(b=oA(b,c.offset+c.size,1701671783)){b=CA(b);for(var h in b)if(c=nA(b.Dt),f&&c)for(var l in c)f[l]=c[l]}d=f?new kA(f,e,d.offset):null}else d=null}else{d=new IA(zB(a));e=d.g;d.g=0;h=f=null;if(JA(d,[408125543,307544935,29555,26568]))for(l=KA(d);!(l.g>=l.i.byteLength);)b=NA(l,!1),17543==b?h=nA(TA(l)):17827==b?f=TA(l):UA(l);d.g=e;d=h?new kA(h,f):null}a.i=d}};
        DB=function(a){var b=a.info.g.info;a=zB(a);g.xx(b)?EA(a,1701671783):2==b.containerType&&PA([408125543],307544935,a)};
        EB=function(a){this.g=a;this.i={};this.l=""};
        FB=function(a,b){var c=b.indexOf("?");if(0<c){var d=Uz(b.substr(c+1));g.$b(d,function(e,f){this.set(f,e)},a);
        b=b.substr(0,c)}c=Tz(b);g.$b(c,function(e,f){this.set(f,e)},a)};
        g.HB=function(a){a.l||(a.l=GB(a));return a.l};
        GB=function(a){var b=Nz(a.g),c=[];g.$b(a.i,function(e,f){c.push(f+"="+e)});
        if(!c.length)return b;var d=c.join("&");a=Rz(a.g)?"&":"?";return b+a+d};
        IB=function(a,b){var c=new Lz(b),d=c.get("req_id");d&&a.set("req_id",d);g.$b(a.i,function(e,f){c.set(f,null)});
        return c};
        g.JB=function(){this.cq=this.bq=!1;this.gw=2;this.u=20971520;this.B=8388608;this.o=120;this.sa=3145728;this.Y=62914560;this.za=10485760;this.pw=this.Ba=0;this.Nq=!1;this.F=NaN;this.Dh=0;this.Jj=this.Pq=2;this.rb=3;this.Kj=!1;this.lq=2;this.gb=25;this.Z=2097152;this.kq=1048576;this.ma=!1;this.H=1800;this.ud=5;this.yd=10;this.U=15;this.Tc=1;this.i=1.15;this.l=1.05;this.Aw=8;this.rq=this.Gw=!0;this.D=!1;this.mq=.8;this.R=this.Sq=this.Ya=!1;this.Gv=25;this.yy=this.jq=!1;this.Aa=6;this.ot=this.ka=!1;this.Qf=
        .5;this.Hj=this.Fb=!1;this.xd=0;this.Nj=this.V=!1;this.Ae=0;this.rd=!1;this.Lq=2;this.Wa=5E3;this.Be=0;this.ia=this.ca=!1;this.J=.5;this.Pb=2;this.Ib=this.Gq=0;this.Jq=1.5;this.Kq=this.Ze=.5;this.Gb=this.ru=!1;this.pd=15;this.Dv=1;this.qq=this.Pw=this.Ga=this.Rj=!1;this.Qv=0;this.uq=this.Oj=this.iq=this.Ws=this.Fe=this.wq=this.fq=this.eq=this.Zp=!1;this.ir=1;this.Mr=0;this.Qq=this.N=this.g=!1;this.Ce=0;this.Ee=this.Uc=this.be=this.Qj=this.tq=this.tb=this.tg=this.Pj=this.af=this.Sj=this.Ja=this.ou=
        this.Gj=this.Rq=this.De=this.Oa=this.xq=this.zd=this.I=this.Lj=!1;this.A="";this.ly=1048576;this.gs=this.Dw=this.Ac=!1;this.wd=46800;this.hq=this.nq=this.Ij=this.Ew=this.od=this.nt=this.ua=this.bf=!1;this.Oq=!0;this.Sr=this.Mj=this.Tq=!1};
        KB=function(a,b){1080<b.ra().Rb&&!a.bq&&(a.u=36700160,a.B=5242880,a.sa=10485760,a.Z=4194304,a.bq=!0);2160<b.ra().Rb&&!a.cq&&(a.u=104857600,a.F=13107200,a.cq=!0);a.kq=Math.max(65536,Math.min(a.Z,5*b.g))};
        LB=function(){this.l=this.g=this.i=this.started=this.o=0};
        MB=function(a,b){a[b]||(a[b]=new LB);return a[b]};
        NB=function(a){this.o=a.clone();this.i=a;this.l=null;this.u=this.g=0};
        PB=function(a,b,c){var d=MB(c,Pz(a.i));if(d.i>=b.Lq||1<=d.g)if(a=OB(a),c=MB(c,Pz(a)),c.i+c.g<=d.i+d.g)return!0;return!1};
        QB=function(a,b){var c=b?OB(a):a.i;return new EB(c)};
        OB=function(a){a.l||(a.l=Sz(a.o));return a.l};
        SB=function(a){return 1<a.g?a.u+1E3*Math.pow(1.6,a.g-1)<RB():!0};
        g.TB=function(a,b,c){b.g===a.i&&(a.i=IB(b,c));b.g===a.l&&(a.l=IB(b,c))};
        UB=function(a,b){this.i=a[0].g.l;this.o=b||"";this.g=a;this.range=this.g[0].range&&0<this.g[0].Ea?nB(this.g):null;this.u=this.l=NaN;this.A=this.requestId=null};
        VB=function(a){return!iB(a.g[a.g.length-1])};
        WB=function(a){return iB(a.g[0])};
        XB=function(a){return 4==a.g[a.g.length-1].type};
        g.YB=function(a,b,c,d){if(/http[s]?:\/\//.test(a.o))var e=new EB(new Lz(a.o));else b=null===a.A?PB(a.i,b,c):a.A,e=QB(a.i,b),a.o&&FB(e,a.o);(d=d||a.range)&&e.set("range",d.toString());a.requestId&&e.set("req_id",a.requestId);isNaN(a.l)||e.set("headm",a.l.toString());isNaN(a.u)||e.set("mffa",a.u+"ms");a.B&&g.$b(a.B,function(f,h){e.set(h,f)});
        return e};
        ZB=function(a){if(a.range)return a.range.length;a=a.g[0];return Math.round(a.F*a.g.info.g)};
        $B=function(a,b,c){return a.range?new cB(a.range.start+b,a.range.end):eB(b,c)};
        aC=function(a,b,c){this.info=b;this.initRange=c||null;this.D=this.g=null;this.u=!1;this.o=null;this.H=0;this.l=new NB(a);this.I=NaN;this.A=null};
        bC=function(a,b,c,d,e,f){f=void 0===f?0:f;aC.call(this,a,b,d);this.index=e||new g.Xz;this.B=f;this.J=c;this.F=!0;if(this.i=!c)this.u=!0};
        cC=function(a){return a.g||a.g?a.R&&a.D&&Hz()?3:2:a.N?-1:1};
        dC=function(a,b,c,d,e){e=void 0===e?Infinity:e;this.segments=[];this.g=a;this.A=void 0===b?0:b;this.i=void 0===c?!1:c;this.l=-1;this.u=void 0===d?0:d;this.B=e;this.o=null};
        fC=function(a,b,c){b=eC(a,b);return 0<=b&&(c||!a.segments[b].g)};
        gC=function(a){return a.segments.length?a.segments[a.segments.length-1]:null};
        eC=function(a,b){return g.Bb(a.segments,{fb:b},function(c,d){return c.fb-d.fb})};
        hC=function(a,b,c){return new Wz(b,Math.max(0,c.startTime-(c.fb-b)*a.g),a.g,0,"sq/"+b,void 0,void 0,!0)};
        iC=function(a,b,c,d,e,f,h){d=void 0===d?!1:d;e=void 0===e?14400:e;f=void 0===f?0:f;h=void 0===h?Infinity:h;bC.call(this,a,b,"",void 0,void 0,c);this.index=new dC(c||0,e,d,f,h)};
        jC=function(a,b,c,d,e){this.fb=a;this.g=b;this.durationSecs=c;this.i=d||NaN;this.l=e||NaN};
        kC=function(a,b,c){for(;a;a=a.parentNode)if(a.attributes&&(!c||a.nodeName==c)){var d=a.getAttribute(b);if(d)return d}return""};
        lC=function(a,b){for(var c=a;c;c=c.parentNode){var d=c.getElementsByTagName(b);if(0<d.length)return d[0]}return null};
        mC=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*parseFloat(b[2]||0)+60*parseFloat(b[4]||0)+parseFloat(b[6]||0):parseFloat(a)};
        nC=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
        oC=function(){this.g=[];this.i=null;this.u=0;this.o=[];this.l=!1;this.A=""};
        pC=function(a){var b=a.o;a.o=[];return b};
        qC=function(){this.o=[];this.g=null;this.i={};this.l={}};
        uC=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.r(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,h=null;"Period"==f.nodeName?h=rC(a):"AdaptationSet"==f.nodeName?h=sC(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(h=tC(a,f.attributes.id.value));if(null==h)return;h.update(e,c);vb(d,pC(h))}vb(a.o,d);Eb(a.o,function(l){return 1E3*l.g+l.i})};
        vC=function(a){a.g&&(a.g.g=[]);g.$b(a.i,function(b){b.g=[]});
        g.$b(a.l,function(b){b.g=[]})};
        rC=function(a){a.g||(a.g=new oC);return a.g};
        sC=function(a,b){a.i[b]||(a.i[b]=new oC);return a.i[b]};
        tC=function(a,b){a.l[b]||(a.l[b]=new oC);return a.l[b]};
        wC=function(a,b,c,d,e){aC.call(this,a,b,d||void 0);this.index=new g.Xz;this.indexRange=e;this.i=c};
        xC=function(a,b,c){var d=a.index.zn(b),e=a.index.kc(b),f=a.index.getDuration(b),h;c?f=h=0:0<a.info.g&&(h=a.info.g*f);return new UB([new gB(3,a,null,"otfCreateRequestInfoForSegment",b,e,f,0,h,b==a.index.ab()&&0<h)],d)};
        yC=function(a,b){if(!a.index.Hb()){for(var c=[],d=b.D,e=b.F.split(",").filter(function(q){return 0<q.length}),f=0,h=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,p=0;p<d;p++){if(0>=l)if(l=e.shift(),h=(h=m.exec(l))?+h[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1;
        else return;c.push(new Wz(p,f,h,NaN,"sq/"+(p+1)));f+=h;l--}a.index.append(c)}};
        g.zC=function(){this.wa=0;this.g=new Float64Array(128);this.i=new Float64Array(128);this.o=1;this.l=!1};
        AC=function(a){if(a.g.length<a.wa+1){var b=2*a.g.length;b+=2;var c=a.g;a.g=new Float64Array(b+1);var d=a.i;a.i=new Float64Array(b+1);for(b=0;b<a.wa+1;b++)a.g[b]=c[b],a.i[b]=d[b]}};
        BC=function(a,b,c,d,e,f,h){h=void 0===h?{}:h;aC.call(this,a,b,c||void 0);this.indexRange=d;this.B=null;this.index=new g.zC;this.i=e;this.lastModified=f;this.F=h};
        CC=function(a,b,c,d){for(var e=[];b<=a.index.ab();b++){var f=a.index;f=eB(f.wl(b),b+1<f.wa||f.l?f.g[b+1]-f.g[b]:-1);var h=a.index.kc(b),l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m);e.push(new gB(3,a,f,"getRequestInfoForRange_",b,h,l,m,n,b==a.index.ab()&&m+n==f.length));if(f.start+m+n>=c+d)break}return new UB(e)};
        EC=function(a,b){return DC(function(c,d){return g.Au(c,d,4,1E3)},a,b)};
        g.FC=function(a){var b;a.responseType&&"text"!=a.responseType?"arraybuffer"==a.responseType&&(b=HA(new Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0==b.indexOf("https://")?b:""};
        DC=function(a,b,c){return a(b,c).then(function(d){var e=g.FC(d);return e?DC(a,e,c):d})};
        GC=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.O.call(this);this.Y=this.duration=0;this.V=this.isLive=this.l=!1;this.D=this.A=0;this.zi=this.le=!1;this.J=RB();this.F=Infinity;this.g={};this.sourceUrl=a||"";this.B=this.N=0;this.u=null;this.ia=!!b&&g.P(b,"html5_live_nonzero_first_segment_start_time");this.i=!1;this.R=[];this.ka=!!b&&g.P(b,"html5_live_self_init_segments");this.o=null;this.ua=c;this.ma=!b||!g.P(b,"html5_manifest_without_credentials");this.H=0;this.U=!!b&&
        g.P(b,"disable_html5_manifest_namespace_redux");this.Z="";this.I=NaN;this.ca=b&&g.P(b,"disable_html5_duration_caching")?Infinity:10};
        HC=function(a){return cc(a.g,function(b){return!!b.info.l})};
        IC=function(a){return cc(a.g,function(b){return Ax(b.info.mimeType)})};
        JC=function(a){return g.dc(a.g,function(b){return b.info.video?b.Ll():!0})};
        KC=function(a){return cc(a.g,function(b){return Qz(b.l.i)})};
        LC=function(a,b){a.g[b.info.id]=b};
        OC=function(a,b,c,d){c=void 0===c?0:c;var e=new GC("",d,!1);e.duration=c||0;(0,g.D)(a,function(f){var h=MC(f,b,e.duration),l=dB(f.init),m=dB(f.index),n=parseInt(f.clen,10),p=NC(f.url,f.sp,f.s),q=parseInt(f.lmt,10);p&&LC(e,new BC(p,h,l,m,n,q,f))});
        return e};
        PC=function(a,b,c,d){c=void 0===c?0:c;var e=new GC("",d,!1);e.duration=c||0;(0,g.D)(a,function(f){var h=MC(f,b,e.duration),l=NC(f.url,f.sp,f.s);if(!g.xx(h)){var m=d&&g.P(d,"html5_otf_webm_audio_killswitch");if(!d||!g.P(d,"html5_manifestless_vp9_otf")||!h.Ud()&&m)return}l&&(h.video&&3==h.video.streamType?LC(e,new wC(l,h,"sq/0",null,null)):(m=dB(f.init),f=dB(f.index),LC(e,new wC(l,h,"",m,f))))});
        e.zi=!0;return e};
        QC=function(a,b,c,d){var e=new GC("",d,!0);(0,g.D)(a,function(f){var h=MC(f,c),l=NC(f.url,f.sp,f.s),m=parseInt(f.target_duration_sec,10);f=parseInt(f.max_dvr_duration_sec,10)||14400;var n=parseInt(l.get("mindsq"),10)||parseInt(l.get("min_sq"),10)||0,p=parseInt(l.get("maxdsq"),10)||parseInt(l.get("max_sq"),10)||Infinity;e.A=e.A||n;e.D=e.D||p;var q=!Ax(h.mimeType);l&&LC(e,new iC(l,h,m,d&&g.P(d,"html5_manifestless_interpolate")&&q,f,n,p))});
        e.l=!b;e.le=!0;e.i=!0;e.isLive=!b;e.V=!!e.A&&!!e.D&&isFinite(e.D);return e};
        MC=function(a,b,c){c=void 0===c?0:c;var d=a.type;var e=a.itag;var f=a.xtags;f&&(e=a.itag+";"+f);var h=null;f=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){h=(a.size||"640x360").split("x");h=new mx(+h[0],+h[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,a.quality_label,a.eotf,a.primaries,+a.stream_type);var l=h;null===RC&&(RC=window.MediaSource&&MediaSource.isTypeSupported&&MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.16.09"')&&!MediaSource.isTypeSupported('video/webm; codecs="vp09.02.51.10.01.09.99.99"'));
        if((RC||SC)&&('video/webm; codecs="vp9"'==d||'video/webm; codecs="vp9.2"'==d)){var m="00",n="08",p="01",q="01",v="01";'video/webm; codecs="vp9.2"'==d&&(m="02",n="10","bt2020"==l.primaries&&(v=p="09"),"smpte2084"==l.g&&(q="16"),"arib-std-b67"==l.g&&(q="18"));d='video/webm; codecs="'+["vp09",m,"51",n,"01",p,q,v].join(".")+'"'}}m=l=null;zx(d)&&(l=new hx(+a.audio_sample_rate||void 0,+a.audio_channels||0,+a.spatial_audio_type),a.name&&(m=new jx(a.name,a.audio_track_id,"1"==a.isDefault)));a.caption_display_name&&
        a.caption_vss_id&&a.caption_language_code&&(f=new ix(a.caption_display_name,a.caption_vss_id,a.caption_language_code,a.caption_kind));n=parseInt(a.bitrate,10)/8;p=parseInt(a.clen,10);c=c&&p?p/c:0;p=null;if(b&&a.drm_families)for(p={},a=g.r(a.drm_families.split(",")),q=a.next();!q.done;q=a.next())q=q.value,p[q]=b[q];return new tx(e,d,l,h,m,p,n,c,f)};
        TC=function(a){return(0,g.ij)(a,function(b){return 3==+b.stream_type})?3:0};
        UC=function(a,b){return a.u?wb(a.u.o,b):a.R.length?wb(a.R,b):[]};
        NC=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;a=new Lz(a);a.set("alr","yes");c&&a.set(b,encodeURIComponent(Kz(decodeURIComponent(c))));return a};
        ZC=function(a,b){var c=kC(b,"id");c=c.replace(":",";");var d=kC(b,"mimeType"),e=kC(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=parseInt(kC(b,"bandwidth"),10)/8;var f=parseInt(lC(b,"BaseURL").getAttribute(VC(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var h=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){h=parseInt(kC(b,"width"),10);var l=parseInt(kC(b,"height"),10),m=parseInt(kC(b,"frameRate"),10),n=WC(kC(b,VC(a,"projectionType")));a:switch(kC(b,VC(a,"stereoLayout"))){case "layout_left_right":var p=
        1;break a;case "layout_top_bottom":p=2;break a;default:p=0}kC(b,"video_level");h=new mx(h,l,m,n,p,void 0,void 0,void 0,void 0)}m=l=null;if(zx(d))if(l=parseInt(kC(b,"audioSamplingRate"),10),m=parseInt(kC(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=XC(kC(b,VC(a,"spatialAudioType"))),l=new hx(l,m,n),m=kC(b,"lang")||"und",n=lC(b,"Role")){var q=kC(n,"value")||"";hc(YC,q)?(n=m+"."+YC[q],p="main"==q,m=kC(b,VC(a,"langName"))||m+" - "+q,m=new jx(m,n,p)):m=null}else m=null;p=null;
        if(n=lC(b,"ContentProtection"))if(g.fu())if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.value)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"yt:SystemURL"==n.nodeName&&(p[n.attributes.type.value]=n.textContent.trim());else p=null;else if((p=n.attributes.schemeIdUri)&&"http://youtube.com/drm/2012/10/10"==p.textContent)for(p={},n=n.firstChild;null!=n;n=n.nextSibling)"SystemURL"==n.localName&&"http://youtube.com/yt/2012/10/10"==n.namespaceURI&&(p[n.attributes.type.textContent]=
        n.textContent.trim());else p=null;return new tx(c,d,l,h,m,p,e,f)};
        WC=function(a){switch(a){case "equirectangular":return 2;case "equirectangular_threed_top_bottom":return 3;case "mesh":return 4;case "rectangular":return 1;default:return 0}};
        XC=function(a){switch(a){case "spatial_audio_type_ambisonics_5_1":return 1;case "spatial_audio_type_ambisonics_quad":return 2;case "spatial_audio_type_foa_with_non_diegetic":return 3;default:return 0}};
        $C=function(a,b){b=void 0===b?"":b;a.B=1;a.J=RB();return ln(EC(b||a.sourceUrl,{format:"RAW",method:"GET",withCredentials:a.ma}).then((0,g.A)(a.Vy,a)),(0,g.A)(a.Xy,a))};
        aD=function(a,b,c){return $C(new GC(a,b,c),a)};
        bD=function(a,b,c){var d=a.getAttribute("media"),e=null;c||(a=a.getAttribute("mediaRange"),null!=a&&(c=a.split("-"),0<=parseInt(c[1],10)?e=dB(a):d=d+"?range="+a));return new Wz(b.fb,b.g,b.durationSecs,b.i,d,e,b.l)};
        cD=function(a){return a.isLive&&RB()-a.J>=a.F};
        dD=function(a){var b=a.F;isFinite(b)&&(cD(a)?a.Rt():(b=Math.max(0,a.J+b-RB()),a.o||(a.o=new g.L(a.Rt,b,a),g.K(a,a.o)),a.o.start(b)))};
        eD=function(a){a=a.g;for(var b in a){var c=a[b].index;if(c.Hb())return c.ab()+1}return 0};
        fD=function(a){if(!isNaN(a.I))return a.I;var b=a.g,c;for(c in b){var d=b[c].index;if(d.Hb()){b=0;for(c=d.ee();c<=d.ab();c++)b+=d.getDuration(c);b/=d.di();b=.5*Math.round(b/.5);d.di()>a.ca&&(a.I=b);return b}if(a.isLive&&(d=b[c],d.B))return d.B}return NaN};
        gD=function(a,b){for(var c in a.g){var d=a.g[c].index;if(d.Hb()){var e=d.Oe(b),f=d.Eo(e);if(f)return f+b-d.kc(e)}}return NaN};
        hD=function(a,b){var c=kc(a.g,function(e){return e.index.Hb()});
        if(!c)return NaN;c=c.index;var d=c.Oe(b);return c.kc(d)==b?b:d<c.ab()?c.kc(d+1):NaN};
        iD=function(a,b){g.$b(a.g,function(c){g.$b(b,function(d,e){var f=c.l;f.i.set(e,d);f.o.set(e,d);f.l&&f.l.set(e,d)})})};
        jD=function(a,b,c){var d=!1,e;for(e in a.g){var f=Ax(a.g[e].info.mimeType)||a.g[e].info.Ud();c==f&&(f=a.g[e].index,fC(f,b.fb)||(f.Qt(b),d=!0))}return d};
        kD=function(a,b,c){for(var d in a.g){var e=Ax(a.g[d].info.mimeType)||a.g[d].info.Ud();if(c==e){e=a.g[d].index;var f=eC(e,b);0<=f&&e.segments.splice(f,1)}}};
        VC=function(a,b){return a.U?"yt:"+b:a.Z+":"+b};
        lD=function(a){return g.gb(Object.values(a.g),function(b){return b.info.l&&b.info.video?480<b.info.video.Rb&&"H"==b.info.i:!1})};
        mD=function(){this.g=2048;this.i=0};
        nD=function(a,b,c){this.g=a;this.D=b;this.F=void 0===c?!1:c;this.o=!!g.z("cast.receiver.platform.canDisplayType");b=g.z("cast.receiver.platform.getValue");this.i=!this.o&&b&&b("max-video-resolution-vpx")||null;this.l={};this.B=!1;this.A=!0;this.u=!g.P(a,"html5_disable_protected_hdr")};
        AD=function(a,b){var c=sx(b);if("0"===c)return!0;var d=b.mimeType,e;!(e="1"==b.i&&a.B||b.video&&(ox(b.video)||"bt2020"==b.video.primaries)&&!(24<window.screen.pixelDepth||oD(a,pD)))&&(e="338"===c)&&(e=!(g.Ex?pr(53):qD&&pr(64)&&g.P(a.g,"html5_firefox_ambisonic_opus")));if(e)return!1;e={};b.video&&(b.video.width&&(e[rD.name]=b.video.width),b.video.height&&(e[sD.name]=b.video.height),b.video.fps&&(e[tD.name]=b.video.fps),b.video.g&&(e[pD.name]=b.video.g),b.g&&(e[uD.name]=8*b.g),"("==b.i&&(e[vD.name]=
        "subsample"),2==b.video.projectionType||3==b.video.projectionType||4==b.video.projectionType)&&(e[wD.name]="true");b.audio&&b.audio.g&&(e[xD.name]=b.audio.g);for(var f in yD){var h=yD[f];if(e[h.name]&&!(h==pD&&0<b.mimeType.indexOf("vp09.02")||g.P(a.g,"html5_ignore_h264_framerate_cap")&&h==tD&&("H"==b.i||"h"==b.i)||h==wD&&!g.P(a.g,"html5_decode_to_texture_cap")))if(oD(a,h))if(a.i){if(a.i[h.name]<e[h.name])return!1}else d=d+"; "+h.name+"="+e[h.name];else if(wx(b)&&h==pD)return!1}!g.P(a.g,"disable_html5_cast_hdcp_filter2")&&
        a.o&&b.video&&1080<b.video.Rb&&b.l&&(d+="; hdcp=2.2");return"227"===c&&!g.P(a.g,"html5_enable_1080p_hq_cenc")||("561"===c||"562"===c)&&!g.P(a.g,"html5_enable_4k_hq_enc")?!1:zD(a,d)};
        BD=function(){var a=du()&&!pr(29),b=cu("google tv")&&cu("chrome")&&!pr(30),c=gu();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)};
        g.CD=function(a){return!(!a.canPlayType(Cx(),"application/x-mpegURL")&&!BD())};
        oD=function(a,b){b.name in a.l||(a.l[b.name]=DD(a,b));return a.l[b.name]};
        DD=function(a,b){if(a.i)return!!a.i[b.name];if(b==uD&&g.P(a.g,"html5_ignore_bad_bitrates")&&zD(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!zD(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000'))return!1;if(b==ED)return zD(a,"video/mp4; codecs="+b.valid)&&!zD(a,"video/mp4; codecs="+b.je);if(b.video){var c='video/webm; codecs="vp9"';zD(a,c)||(c='video/mp4; codecs="avc1.4d401e"')}else c='audio/webm; codecs="opus"',zD(a,c)||(c='audio/mp4; codecs="mp4a.40.2"');
        return zD(a,c+"; "+b.name+"="+b.valid)&&!zD(a,c+"; "+b.name+"="+b.je)};
        zD=function(a,b){return a.o?window.cast.receiver.platform.canDisplayType(b):Fx(b)};
        FD=function(a){this.Le=a};
        GD=function(a,b,c){if(c)return Cu();var d={};c=Cx();b=g.r(b);for(var e=b.next();!e.done;e=b.next())if(e=e.value,a.canPlayType(c,e.cd().mimeType)){var f=e.Le.ra().quality;d[f]&&2!=d[f].cd().containerType||(d[f]=e)}var h=[];d.auto&&h.push(d.auto);(0,g.D)(px,function(l){(l=d[l])&&h.push(l)});
        return h.length?Du(h):Cu()};
        HD=function(a,b,c,d){this.i=a||0;this.g=b||0;this.l=c;this.reason=d};
        ID=function(a,b){return a.i==b.i&&a.g==b.g&&a.l==b.l&&a.reason==b.reason};
        KD=function(a,b,c,d){return new HD(lx[a]||0,lx[b]||0,c,d)};
        LD=function(a){var b=lx.auto;return a.i==b&&a.g==b};
        ND=function(a,b){if(b.l&&LD(b))return MD;if(b.l||LD(a))return b;if(a.l||LD(b))return a;var c=a.i&&b.i?Math.max(a.i,b.i):a.i||b.i,d=a.g&&b.g?Math.min(a.g,b.g):a.g||b.g;c=Math.min(c,d);return c==a.i&&d==a.g?a:new HD(c,d,!1,d==a.g?a.reason:b.reason)};
        Yy=function(a){var b=a.g||a.i;return kc(OD,function(c){return lx[c]==b})||"auto"};
        PD=function(a,b){var c=lx[b];return a.i<=c&&(!a.g||a.g>=c)};
        QD=function(){g.O.call(this);this.Sa={}};
        g.TD=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.H)()+1E3*d:0;if((d=d?(0,g.RD)():(0,g.SD)())&&window.JSON){g.w(b)||(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
        g.UD=function(a){var b=(0,g.SD)(),c=(0,g.RD)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if(!g.w(d))try{d=c.get(a)}catch(e){}if(!g.w(d))return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
        VD=function(){var a=g.UD("yt-player-volume")||{},b=a.volume;return{volume:isNaN(b)?100:g.Yd(Math.floor(b),0,100),muted:!!a.muted}};
        WD=function(a){g.TD("yt-player-bandwidth",a,2592E3)};
        XD=function(){return g.UD("yt-player-quality")||"auto"};
        YD=function(a,b){var c="";49<b?c="p60":32<b&&(c="p48");return a+c};
        $D=function(a,b,c){var d=ZD();a=YD(a,b);0<+d[a]&&(c=Math.min(+d[a],c));d[a]!=c&&(d[a]=c,g.TD("yt-player-performance-cap",d,604800))};
        ZD=function(){return g.UD("yt-player-performance-cap")||{}};
        aE=function(){return g.UD("yt-player-headers-readable")||!1};
        bE=function(a){g.TD("yt-player-playback-on-reload",a)};
        cE=function(){this.i=0;this.A=this.bandwidthEstimate=this.u=this.l=this.o=NaN;this.g=""};
        dE=function(){this.g=17;this.l=13E4;this.o=.5;this.i=!1};
        eE=function(a){this.u=Math.exp(Math.log(.5)/a);this.l=this.o=0};
        gE=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.I=b;this.l=Math.round(a*this.I);this.u=Array(this.l);for(a=0;a<this.l;a++)this.u[a]=Infinity;this.H=fE(this);this.o=0;this.A=!1;this.D=!0;this.B=c;this.F=d};
        fE=function(a){for(var b=Array(a.l),c=0;c<a.l;c++)b[c]=c;return b};
        hE=function(a,b){if(!a.A&&0==a.o)return 0;a.D&&(g.Db(a.H,function(c,d){return a.u[c]-a.u[d]}),a.D=!1);
        return a.u[a.H[Math.round(b*((a.A?a.l:a.o)-1))]]||0};
        iE=function(a){var b=new mD;this.policy=a;this.l=b;this.H=this.I=0;this.A=-1;this.F=this.o=RB();this.D=new gE(4,1,.6,.4);this.u=new gE(10,1,.5,.4);this.g=a.i?new eE(a.g):new gE(a.g,20,.5,.4);this.B=new gE(5,1,.25);this.i=new gE(30,1,.5);a=g.UD("yt-player-bandwidth")||{};this.g.i(this.policy.o,0<a.byterate?a.byterate:this.policy.l);0<a.delay&&this.D.i(1,Math.min(+a.delay,2));0<a.stall&&this.u.i(1,+a.stall);0<a.init&&(this.F=Math.min(a.init,this.F));this.A=RB()};
        kE=function(a,b,c){b=Math.max(b,a.l.g);a.u.i(1,c/b);jE(a)};
        lE=function(a){a=a.D.g();a=isNaN(a)?.5:a;return a=Math.min(a,5)};
        mE=function(a,b,c){isNaN(c)||(a.H+=c);isNaN(b)||(a.I+=b)};
        nE=function(a){a=a.g.g();return 0<a?a:1};
        oE=function(a){var b=nE(a);b=1/((a.u.g()||0)+1/b);a=a.B.g();return Math.max(b,0<a?a:1)};
        pE=function(a){var b={};b.delay=lE(a);b.stall=a.u.g()||0;b.byterate=nE(a);b.init=a.F;return b};
        jE=function(a){-1<a.A&&3E4<RB()-a.A&&(WD(pE(a)),a.A=RB())};
        qE=function(a){return 4E3<=RB()-a.o};
        U=function(a,b){return void 0==b?a:"1"==b||"True"==b?!0:!1};
        rE=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
        sE=function(a,b){return void 0==b?a:Number(b)};
        tE=function(a,b){return void 0==b?a:b.toString()};
        vE=function(a,b){if(b){if("fullwidth"==a)return Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(uE);if(c){var d=parseFloat(c[2]);if(0<d)return parseFloat(c[1])/d}}return NaN};
        xE=function(){this.g=g.ys("ALT_PREF_COOKIE_NAME","PREF");var a=uw.get(""+this.g,void 0);if(a){a=decodeURIComponent(a).split("&");for(var b=0;b<a.length;b++){var c=a[b].split("="),d=c[0];(c=c[1])&&(wE[d]=c.toString())}}};
        yE=function(){xE.getInstance();var a="f"+(Math.floor(140/31)+1);a=void 0!==wE[a]?wE[a].toString():null;return!!(((null!=a&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null)||0)&65536)};
        zE=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
        AE=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
        YE=function(a,b){g.J.call(this);a=a?g.qc(a):{};this.Ga=this.Y="";this.Wa=tE("",a.csp_nonce);this.experiments=new vy(a.fexp,a.fflags);this.Z=a.forced_experiments||null;try{var c=document.location.toString()}catch(f){c=""}this.gb=c;this.tb=(c=window.location.ancestorOrigins)?Array.from(c):[];this.loaderUrl=(this.g=!1,this.gb);this.xb=BE.test(this.loaderUrl);c=this.loaderUrl;var d=void 0===d?!1:d;this.Jj=gz(CE.test(c),c,d,"Trusted Ad Domain URL");this.ma=U(!1,a.privembed);this.protocol=0==this.gb.indexOf("http:")?
        "http":"https";this.u=iz(a.BASE_YT_URL||"")||iz(this.gb)||this.protocol+"://www.youtube.com/";d=a.el;c="detailpage";"adunit"==d?c=this.g?"embedded":"detailpage":"embedded"==d||this.xb?c=rE(c,d,DE):d&&(c="embedded");this.B=c;hw();d=null;c=a.ps;var e=g.kb(EE,c);!c||e&&!this.xb||(d=c);this.playerStyle=d;this.I=this.Nb=!1;this.Ij=!this.I;d={};this.deviceParams=(d.c=a.c||"web",d.cver=a.cver||"html5",d.cplayer="UNIPLAYER",d);this.Ya=U(!1,a.disableplaybackui);Cx().defaultPlaybackRate?FE||nu||GE?(d=qD&&pr("20")||
        g.Ex&&pr("4")||g.Vg&&pr("11"))||(d=/WebKit\/([0-9]+)/.exec(g.Yb),d=!!(d&&602<=parseInt(d[1],10))):d=!(g.Vg&&!cu("chrome")||FE||cu("android")||cu("silk")):d=!1;this.Qf=d;this.i=!0;this.i?d=!0:(d=parseInt((0,g.H)()/1E3,10),c=xE.getInstance(),d=V(this,"block_desktop_background_playback_with_mobile_cookie")&&c&&d>parseInt(c.get("dhmu",d.toString()),10));this.Hj=d;this.ua="3"==this.o||this.i||U(!1,a.use_media_volume);this.V=Ix();this.Lj=HE;this.xd=U(!1,a.opt_out_deprecation);this.Pj=g.IE(this)&&!this.xd||
        U(!JE(this)&&!KE(this)&&!this.Nb,a.showinfo);this.yd=U(!1,a.playsinline);d=this.i&&LE&&0<ME&&2.3>=ME;this.o=V(this,"mweb_enable_custom_control")&&"0"==a.controls?"0":"3";this.De=this.i;this.color=rE("red",a.color,NE);this.Qj=g.OE(this)&&!1;this.Sj=this.Kj=d;d=PE&&!g.Vd(537);this.Ce=QE()&&!d;this.Dh=this.g||!1;this.ia=KE(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=tE("",a.widget_referrer);this.Rj=Hx()||Gx();this.Be=!this.i&&!cu("nintendo wiiu")&&!cu("nintendo 3ds")||
        U(!1,a.autoplayoverride);this.Ib=U(!1,a.mutedautoplay)&&this.V&&!RE(this);d=(KE(this)||JE(this))&&"blazer"==this.playerStyle;this.pd=!U(!0,a.fs);this.Ba=!this.pd&&(d||g.Yw());this.af=V(this,"uniplayer_block_pip")&&du()&&pr(58)&&!ou();this.be=g.IE(this)&&!this.xd||U(!this.Nb,a.rel);this.Oj=U(!1,a.co_rel);this.Pb=g.P(this.experiments,"embeds_use_parent_target_for_anchor_tags")&&ou&&0<ME&&4.4>=ME?"_top":"_blank";this.Ae="profilepage"==this.B;this.Fb="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":d=
        "bl";break;case "gmail":d="gm";break;case "books":d="gb";break;case "docs":d="gd";break;case "google-live":d="gl";break;case "play":d="gp";break;case "chat":d="hc";break;case "hangouts-meet":d="hm";break;case "photos-edu":case "picasaweb":d="pw";break;default:d="yt"}this.H=d;this.ce=tE("",a.authuser);this.Uc=tE("",a.ecver);this.R=(d=g.z("yt.mobile.supportsMwebAutonav"))&&d();this.loop=U(!1,a.loop);this.pageId=tE("",a.pageid);this.Mj=U(!0,a.canplaylive);(d=a.video_container_override)?(c=d.split("x"),
        2!=c.length?d=null:(d=parseInt(c[0],10),c=parseInt(c[1],10),d=isNaN(d)||isNaN(c)||0>=d*c?null:new g.be(d,c))):d=null;this.Ee=d;this.mute=U(!1,a.mute);this.Gb=!this.mute&&U("0"!=this.o,a.store_user_volume);this.gf="3"==this.o?3:rE(void 0,a.iv_load_policy,SE);this.kf=tE("",a.cc_lang_pref);d=rE(2,a.cc_load_policy,SE);"3"==this.o&&2==d&&(d=3);this.lf=d;this.ka=tE("en_US",a.hl);this.region=tE("US",a.cr);this.rd=tE("en",a.host_language);this.Ze=!this.ma&&Math.random()<g.Q(this.experiments,"web_player_api_logging_fraction");
        this.D=!this.ma;this.od=new Set;this.deviceHasDisplay=U(!0,a.deviceHasDisplay);this.Te=sE(this.Te,a.ismb);wy(this.experiments,"html5_qoe_intercept")?d=wy(this.experiments,"html5_qoe_intercept"):this.Ij?(d=a.vss_host||"s.youtube.com",V(this,"www_for_videostats")&&"s.youtube.com"==d&&(d=TE(this.u)||"www.youtube.com")):d="video.google.com";this.Fe=d;this.ye(a);this.A=new QD;g.K(this,this.A);this.za=this.i&&!V(this,"enable_svg_mode_on_embed_mobile");this.rb={Un:tE("",a.innertube_api_key),Vn:tE("",a.innertube_api_version),
        Wn:this.deviceParams.c,Xn:tE("",a.innertube_context_client_version),Zn:this.rd,Yn:this.region,Ok:""};this.Nj=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.l=new nD(this.experiments,V(this,"html5_force_hfr_support")?!0:"web"==this.deviceParams.c.toLowerCase().substr(0,3)||hu()||iu()||UE(this),g.Ex&&56<=au()||UE(this));d=new dE;g.VE(this)&&(d.i=!0,d.o=.1);g.P(this.experiments,"html5_ewma_bandwidth_estimator")&&(d.i=!0);g.P(this.experiments,"html5_pctile_bandwidth_estimator")&&(d.i=!1);this.Te&&
        (d.l=this.Te/8);d.g=g.Q(this.experiments,"html5_bandwidth_window_size")||d.g;this.schedule=new iE(d);this.enableSafetyMode=U(!1,a.enable_safety_mode);this.Ac=U(this.Ya?!1:this.R&&!0||KE(this)&&"blazer"!=this.playerStyle,a.allow_autonav);this.sa=U(!1,a.send_visitor_id_header);this.jf=!1;this.zd=MD;this.N=(0,g.Bv)();this.J=0;this.Hd=!1;this.embedConfig=tE("",a.embed_config);this.ud=!1;this.Gj=U(!1,a.full_window);this.bf=U(!1,a.embedding_app);this.U=!g.WE(this)&&"WEB_KIDS"!=this.deviceParams.c&&!g.XE(this)&&
        !(V(this,"embeds_enable_embed_module")&&g.IE(this));this.livingRoomAppMode=a.living_room_app_mode;this.transparentBackground=b?!!b.transparentBackground:U(!1,a.transparent_background);this.useFastSizingOnWatchDefault=b?!!b.useFastSizingOnWatchDefault:U(!0,a.use_fast_sizing_on_watch_default);this.showMiniplayerButton=b?!!b.showMiniplayerButton:U(!1,a.show_miniplayer_button);this.externalFullscreen=b?!!b.externalFullscreen:U(!1,a.external_fullscreen);this.showMiniplayerUiWhenMinimized=b?!!b.showMiniplayerUiWhenMinimized:
        U(!1,a.use_miniplayer_ui);this.showBackButton=U(!1,a.showbackbutton);this.ca=!1};
        V=function(a,b){return g.P(a.experiments,b)};
        ZE=function(a,b){return!a.Nb&&du()&&pr(55)&&"3"==a.o&&!b};
        $E=function(a){return g.XE(a)?"music.youtube.com":"www.youtube.com"};
        aF=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
        bF=function(a){return KE(a)&&!g.WE(a)};
        RE=function(a){return PE&&!a.yd||cu("nintendo wiiu")||cu("nintendo 3ds")?!0:!1};
        g.XE=function(a){return"music-embed"==a.playerStyle};
        g.VE=function(a){return/^TVHTML5/.test(a.deviceParams.c)?!0:"TV"==a.deviceParams.cplatform};
        UE=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel};
        $y=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
        g.WE=function(a){return"WEB_UNPLUGGED"==a.deviceParams.c};
        g.cF=function(a){return g.WE(a)||"TV_UNPLUGGED_CAST"==a.deviceParams.c||"TVHTML5_UNPLUGGED"==a.deviceParams.c};
        dF=function(a){return"WEB_REMIX"==a.deviceParams.c};
        QE=function(){var a=g.z("yt.mobile.isMobilePersistentUniplayer");return a&&a()};
        aaa=function(a){if(g.OE(a)&&LE)return!1;if(qD){if(!g.Vd(47)||!g.Vd(52)&&g.Vd(51))return!1}else if(g.eF)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};
        KE=function(a){return"detailpage"==a.B};
        g.OE=function(a){return"embedded"==a.B};
        g.fF=function(a){return"leanback"==a.B};
        JE=function(a){return"adunit"==a.B||"gvn"==a.playerStyle};
        g.IE=function(a){return a.g&&g.OE(a)&&!JE(a)&&!a.Nb};
        g.gF=function(a){var b=$E(a);!V(a,"yt_embeds_disable_new_error_lozenge_url")&&baa.includes(b)&&(b="www.youtube.com");return a.protocol+"://"+b};
        TE=function(a){var b=g.jg(a);return(a=Number(g.ig(4,a))||null)?b+":"+a:b};
        caa=function(){this.H=this.N=this.g=this.I=this.u=this.l=this.o=this.D=this.B=!1;this.F=!0;this.i=0;this.R=!1;this.J=Infinity;this.A=!1};
        daa=function(a){if(a.D)return["f"];var b="19 9h 9 h 8 (h ( H *".split(" ");a.R&&b.unshift("1");a.g&&b.unshift("h");return b};
        eaa=function(a){var b=["o","a","v","A","V"];a.l&&(b=["m","M"].concat(b));a.u&&(b=["mac3","MAC3"].concat(b));a.I&&(b=["meac3","MEAC3"].concat(b));a.B&&(b=["so","sa"].concat(b));a.N&&b.unshift("a");a.o&&b.unshift("ah");return b};
        hF=function(a){if(oD(a.l,ED)&&oD(a.l,sD)&&oD(a.l,uD))return 8192;try{try{var b=+(window.localStorage&&window.localStorage["yt-player-av1-pref"])||0}catch(d){b=0}if(b)return b}catch(d){}b=g.Q(a.experiments,"html5_av1_thresh");var c=g.Q(a.experiments,"html5_av1_thresh_lcc");c&&2>=navigator.hardwareConcurrency&&(b=c);(c=g.Q(a.experiments,"html5_av1_thresh_hcc"))&&4<navigator.hardwareConcurrency&&(b=c);(a=g.Q(a.experiments,"html5_av1_thresh_arm"))&&eu()&&(b=a);(a=+ZD()[YD("1",30)]||0)&&(b=Math.min(b,
        a));return b};
        iF=function(a,b,c,d){this.flavor=a;this.g=b;this.o=c;this.u=d;this.l={};this.vf=this.i=null;this.rk=this.tk=-1;this.yj=null;this.A=!!d&&g.P(d,"edge_nonprefixed_eme")};
        kF=function(a){return a.A?!1:!a.i&&!!jF()&&"com.microsoft.playready"==a.g};
        lF=function(a){return"com.microsoft.playready"==a.g};
        nF=function(a){return mF&&"com.microsoft.playready"==a.g&&!!navigator.requestMediaKeySystemAccess};
        oF=function(a){return!a.i&&!!jF()&&"com.apple.fps.1_0"==a.g};
        jF=function(){var a=window.MSMediaKeys;ju()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
        pF=function(a){return navigator.requestMediaKeySystemAccess?g.Ex?pr("45"):mF||g.oe?g.P(a,"edge_nonprefixed_eme"):qD?pr("47"):!g.P(a,"html5_disable_nonprefixed_eme_for_other"):!1};
        faa=function(a,b){var c=gu(),d=c?["com.youtube.fairplay"]:["com.widevine.alpha"];b&&d.unshift("com.youtube.widevine.l3");return c?d:a?[].concat(g.fa(d),g.fa(qF.playready)):[].concat(g.fa(qF.playready),g.fa(d))};
        g.rF=function(a){a=void 0===a?{}:a;this.i=a.languageCode||"";this.l=a.languageName||null;this.o=a.kind||"";this.u=a.name||null;this.H=a.id||null;this.B=a.is_servable||!1;this.D=a.is_translateable||!1;this.F=a.url||null;this.A=a.vss_id||"";this.isDefault=a.is_default||!1;this.g=a.translationLanguage||null};
        g.sF=function(a){var b=a.l||"",c=[b];"asr"==a.o&&-1==b.indexOf("(")&&c.push(" (Automatic Captions)");a.u&&c.push(" - "+a.u);a.g&&c.push(" >> "+a.g.languageName);return c.join("")};
        tF=function(a,b){this.id=a;this.Xa=b;this.captionTracks=[];this.vk=this.kn=this.g=null;this.Ym="UNKNOWN"};
        uF=function(a,b,c){this.videoInfos=a;this.g=b||null;this.audioTracks=[];this.i=c||null;if(this.g)for(a=new Set,b=g.r(this.g),c=b.next();!c.done;c=b.next())if(c=c.value,c.Xa&&!a.has(c.Xa.id)){var d=new tF(c.id,c.Xa);a.add(c.Xa.id);this.audioTracks.push(d)}};
        vF=function(a,b,c){var d={},e;for(e in c.g){var f=c.g[e],h=sx(f.info);""==f.info.i||("304"==h||"266"==h)&&a.F||a.H&&"h"==f.info.i&&f.info.video&&1080<f.info.video.Rb||!AD(b,f.info)||"(h"==f.info.i&&!b.u||(d[f.info.i]=d[f.info.i]||[],d[f.info.i].push(f.info))}c=g.r(Object.keys(d));for(e=c.next();!e.done;e=c.next())e=e.value,d[e]&&d[e][0].Ud()&&(d[e]=gaa(a,d[e]),d[e]=haa(b,d[e]));return g.ac(d,function(l){return!!l.length})};
        iaa=function(a,b,c){var d={};g.$b(b,function(e,f){var h=e.filter(function(l){if(l.l){var m;if(m=c&&l.l[c.flavor]&&c.l[l.mimeType])(l="("!=l.i&&"(h"!=l.i)||(l=oD(a,vD)||a.F),m=l;l=m?!0:!1}else l=!0;return l});
        h.length&&(d[f]=h)});
        return d};
        kaa=function(a,b,c,d){function e(m){return!!f[m]}
        var f=vF(a,b,c);if(0<a.i&&f["9"]&&f["1"]){var h=Math.min(a.i,wF(f["1"])),l=f["1"].filter(function(m){return m.ra().Rb<=h});
        l=f["9"].filter(function(m){return m.ra().Rb>h}).concat(l);
        l.length&&(f["19"]=l)}HC(c)&&(f=iaa(b,f,d));b=daa(a);d=eaa(a);b=g.gb(b,e);d=g.gb(d,e);if(!b||!d)return Cu();"9"==b&&f.h&&(l=wF(f["9"]),wF(f.h)>1.5*l&&(b="h"),c.le&&(mF||pu()&&!a.A)&&(b="h"));a=f[b];c=f[d];if(!a.length)return Cu();xF(a,c);return Du(new uF(a,c,jaa(f,b,d)))};
        jaa=function(a,b,c){var d=a.h;"f"==b&&(d=a[b]);var e=a.a;b=a[b]!=d;a=a[c]!=e;return d&&e&&(b||a)?(xF(d,e),new uF(d,e)):null};
        xF=function(a,b){g.Db(a,function(c,d){return d.ra().height*d.ra().width-c.ra().height*c.ra().width||d.g-c.g});
        g.Db(b,function(c,d){return d.g-c.g})};
        haa=function(a,b){var c=ci(b,function(d,e){return 32<e.ra().fps?Math.min(d,e.ra().width):d},Infinity);
        Infinity>c&&(b=a.A&&(a.D||oD(a,tD))?(0,g.ol)(b,function(d){return 32<d.ra().fps||d.ra().width<c}):(0,g.ol)(b,function(d){return!(32<d.ra().fps)}));
        hu()&&(b=(0,g.ol)(b,function(d){return"299"!=sx(d)}));
        return b};
        gaa=function(a,b){return b=(0,g.ol)(b,function(c){return c.ra().Rb<=a.J})};
        wF=function(a){return ci(a,function(b,c){return Math.max(b,c.ra().Rb)},0)};
        yF=function(a,b,c,d){g.J.call(this);this.g=[];this.i={};this.o={};this.A=null;this.u=b;this.B=!1;this.l=[];this.vj=d;laa(this,a,!c)};
        laa=function(a,b,c){for(var d in b)for(var e=g.r(b[d]),f=e.next();!f.done;f=e.next()){f=f.value;if(!f.l)return;for(var h in f.l){if(!qF[h])return;for(var l=g.r(qF[h]),m=l.next();!m.done;m=l.next())m=m.value,a.i[m]=a.i[m]||new iF(h,m,f.l[h],a.u),a.o[h]=a.o[h]||{},a.o[h][f.mimeType]=!0}}gu()&&(a.i["com.youtube.fairplay"]=new iF("fairplay","com.youtube.fairplay","",a.u),a.o.fairplay={"audio/mp4":!0,"video/mp4":!0});a.g=faa(c,a.vj).filter(function(n){return!!a.i[n]})};
        zF=function(a){if(!a.da())if(0==a.g.length)a.A(a.l);else{var b=a.g[0],c=a.i[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};lF(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.o[c.flavor]){var f=0==e.indexOf("audio/"),h=f?d.audioCapabilities:d.videoCapabilities;"widevine"!=c.flavor||a.B?h.push({contentType:e}):f?h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(h.push({contentType:e,robustness:"HW_SECURE_ALL"}),h.push({contentType:e,robustness:"SW_SECURE_DECODE"}))}navigator.requestMediaKeySystemAccess(b,
        [d]).then(As((0,g.A)(a.F,a,c)),As((0,g.A)(a.D,a)))}};
        maa=function(a,b){function c(f){b.l[f.contentType]=!0}
        if(lF(b)){var d=Cx(),e;for(e in a.o[b.flavor])b.l[e]=!!d.canPlayType(e)}else d=b.i.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
        oaa=function(a){if(jF()&&g.eF)a.l.push(new iF("fairplay","com.apple.fps.1_0","",a.u));else{var b=naa(),c=g.gb(a.g,function(d){var e=a.i[d],f=!1,h=!1,l;for(l in a.o[e.flavor])b(l,d)&&(e.l[l]=!0,f=f||0==l.indexOf("audio/"),h=h||0==l.indexOf("video/"));return f&&h});
        c&&a.l.push(a.i[c]);a.g=[]}a.A(a.l)};
        naa=function(){var a=jF();if(a){var b=a.isTypeSupported;return function(c,d){return b(d,c)}}return(a=Cx())&&(a.addKey||a.webkitAddKey)?(0,g.A)(a.canPlayType,a):function(){return!1}};
        paa=function(a,b,c,d,e,f,h,l,m,n){this.itag=a;this.url=b;this.codecs=c;this.width=d;this.height=e;this.bitrate=h;this.fps=f;this.audioItag=l||null;this.g=m||"";this.Xa=void 0===n?null:n};
        AF=function(a){for(var b={},c=0,d=a.length;c<d;++c){var e=a[c],f=e.type.match(/codecs="([^"]*)"/);f=f?f[1]:"";var h=null;e.audio_track_id&&(h=new jx(e.name,e.audio_track_id,!!e.is_default));e=new paa(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,h);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
        qaa=function(a,b,c){this.l=a;this.g=b;this.u=0;this.i="";this.o=c};
        BF=function(a,b,c){a.o&&(b=g.qg(b,{cpn:a.o}));c&&(b=g.qg(b,{paired:c}));return b};
        CF=function(a,b){var c=a.itag.toString();b&&(c+=b.itag.toString());return c};
        raa=function(a,b,c){var d="#EXT-X-MEDIA:TYPE=AUDIO,",e="YES",f="audio";if(b.Xa){f=b.Xa;var h=f.getId().split(".")[0];h&&(d+='LANGUAGE="'+h+'",');a.i||f.getIsDefault()||(e="NO");f=f.getName()}h="";c&&(h=c.itag.toString());a=BF(a,b.url,h);return d=d+('NAME="'+f+'",DEFAULT='+(e+',AUTOSELECT=YES,GROUP-ID="'))+(CF(b,c)+'",URI="'+(a+'"'))};
        saa=function(a){for(var b=[],c=[],d=0,e=a.g.length;d<e;++d){var f=a.g[d];f.bitrate<=a.u?b.push(f):c.push(f)}b.sort(function(h,l){return l.bitrate-h.bitrate});
        c.sort(function(h,l){return h.bitrate-l.bitrate});
        a.g=b.concat(c)};
        DF=function(a,b,c){this.Le=a;this.i=b;this.g=null;this.l=c};
        uaa=function(a,b,c,d,e){if(!(lu||ju()||gu()))return Cu();var f=taa(c);c=AF(c);if(!c)return Cu();var h={},l=(h.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",h),m;h=[];var n=[],p=[],q=g.Q(a.experiments,"html5_hls_min_video_height"),v;for(v in c)if(!g.P(a.experiments,"html5_disable_drm_hfr_1080")||"383"!=v&&"373"!=v){var x=g.r(c[v]);for(m=x.next();!m.done;m=x.next()){var B=m.value;if(B.width){if(!(B.height<q)){var C=c[B.audioItag];if(C&&(h.push(B),m="fairplay"==B.g?l:null,p.push(EF(C,[B],
        e,B.itag,B.width,B.height,B.fps,f,void 0,void 0,m)),!E||B.width*B.height*B.fps>E.width*E.height*E.fps))var E=B}}else n.push(B)}}m=p.reduce(function(F,G){return G.Le.Pk()&&F},!0)?l:null;
        E=E||{};p.push(EF(n,h,e,"93",void 0===E.width?0:E.width,void 0===E.height?0:E.height,void 0===E.fps?0:E.fps,f,"auto",Math.max(d,g.Q(a.experiments,"html5_hls_initial_bitrate")),m));return GD(a.l,p,ZE(a,b))};
        EF=function(a,b,c,d,e,f,h,l,m,n,p){d=new tx(d,"application/x-mpegURL",new hx,new mx(e,f,h,null,void 0,m),void 0,p);a=new qaa(a,b,c);a.u=n?n:1369843;return new DF(d,a,l)};
        taa=function(a){a=g.r(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.url&&(b=b.url.split("expire/"),!(1>=b.length)))return+b[1].split("/")[0];return NaN};
        GF=function(){return Da(function(a){FF||(FF=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",2);d.onerror=c;d.onsuccess=function(e){return b(e.target.result)};
        d.onupgradeneeded=function(e){e=e.target.result;e.createObjectStore("index");e.createObjectStore("media")}}));
        return a["return"](FF)})};
        MF=function(a,b,c){var d;return Da(function(e){if(1==e.g)return va(e,GF(),2);d=e.l;return e["return"](HF(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})};
        QF=function(a,b){var c;return Da(function(d){if(1==d.g)return va(d,GF(),2);c=d.l;return d["return"](HF(c.transaction(a).objectStore(a).get(b)))})};
        TF=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]};
        WF=function(a,b,c,d){var e;Da(function(f){e=a+"-"+b.id+"-"+c;return f["return"](MF("media",e,d))})};
        vaa=function(a,b,c){var d,e;Da(function(f){d=a+(b?":v":":a");e=MF("index",d,c);b&&(e=e.then(function(){var h=TF();h.includes(a)||(h.push(a),window.localStorage["yt-player-lv"]=h.join(","))}));
        return f["return"](e)})};
        aG=function(a){return!!a&&TF().includes(a)};
        waa=function(a){return Da(function(b){return b["return"](Promise.all([QF("index",a+":a"),QF("index",a+":v")]).then(function(c){return c.join(",")}))})};
        xaa=function(a,b,c){return Da(function(d){return d["return"](QF("media",a+"-"+b+"-"+c))})};
        HF=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)};
        a.onerror=function(){return c()}})};
        bG=function(a,b){this.Le=a;this.g=b};
        cG=function(a,b){this.Le=a;this.g=b};
        yaa=function(a){var b=[];(0,g.D)(a,function(c){if(c.url){var d=Bx(c.type,"medium","0");b.push(new cG(d,c.url))}});
        return b};
        zaa=function(a){return navigator.mediaCapabilities?dG(a.videoInfos).then(function(){return a},function(){return a}):Du(a)};
        dG=function(a){var b=navigator.mediaCapabilities;if(!b)return Du(a);var c=(0,g.Le)(a,function(d){return b&&b.decodingInfo({type:"media-source",video:d.video?{contentType:d.mimeType,width:d.video.width||640,height:d.video.height||360,bitrate:8*d.g||1E6,framerate:d.video.fps||30}:null})});
        return gn(c).then(function(d){for(var e=0;e<d.length;e++)a[e].o=d[e].smooth;return a},function(){return a})};
        fG=function(a){var b={},c;for(c in eG){var d=a[eG[c]];d&&(b[c]=d)}return b};
        gG=function(a,b){var c={},d;for(d in eG){var e=b?b+d:d;e=a[e+"_webp"]||a[e];g.sz(e)&&(c[eG[d]]=e)}return c};
        jG=function(a){var b={};if(!a||!a.thumbnails)return b;a=a.thumbnails.filter(function(l){return!!l.url});
        a.sort(function(l,m){return l.width-m.width||l.height-m.height});
        for(var c in hG)for(var d=parseInt(c,10),e=hG[d],f=g.r(a),h=f.next();!h.done;h=f.next())if(h=h.value,h.width>=d){d=iG(h.url);g.sz(d)&&(b[e]=d);break}(c=a.pop())&&1280<=c.width&&(c=iG(c.url),g.sz(c)&&(b["maxresdefault.jpg"]=c));return b};
        iG=function(a){return a.startsWith("//")?"https:"+a:a};
        mG=function(a,b){var c=c||{};c.name=g.ys("INNERTUBE_CONTEXT_CLIENT_NAME",1);c.version=g.ys("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);var d=a,e=void 0===b?"ERROR":b;e=void 0===e?"ERROR":e;var f=window&&window.yterr||!1;if(d&&f&&!(5<=kG)){if(g.Gt("console_log_js_exceptions")){f=d;var h=[];h.push("Name: "+f.name);h.push("Message: "+f.message);f.hasOwnProperty("params")&&h.push("Error Params: "+JSON.stringify(f.params));h.push("File name: "+f.fileName);h.push("Stacktrace: "+f.stack);window.console.log(h.join("\n"),
        f)}f=d.stacktrace;h=d.columnNumber;if(d.hasOwnProperty("params")){var l=String(JSON.stringify(d.params));c.params=l.substr(0,500)}d=Vf(d);f=f||d.stack;l=d.lineNumber.toString();isNaN(l)||isNaN(h)||(l=l+":"+h);window.yterr&&g.Qa(window.yterr)&&window.yterr(d);if(!(lG[d.message]||0<=f.indexOf("/YouTubeCenter.js")||0<=f.indexOf("/mytube.js"))){e={sd:{a:"logerror",t:"jserror",type:d.name,msg:d.message.substr(0,250),line:l,level:e,"client.name":c.name},kb:{url:g.ys("PAGE_NAME",window.location.href),file:d.fileName},
        method:"POST"};c.version&&(e["client.version"]=c.version);f&&(e.kb.stack=f);for(var m in c)e.kb["client."+m]=c[m];if(c=g.ys("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(var n in c)e.kb[n]=c[n];g.St(g.ys("ECATCHER_REPORT_HOST","")+"/error_204",e);lG[d.message]=!0;kG++}}};
        nG=function(a){this.Nc=a};
        g.oG=function(a){return new nG({trackingParams:a})};
        Baa=function(){var a=Aaa++;return new nG({veType:51663,veCounter:a,elementIndex:void 0,dataElement:void 0,youtubeData:void 0})};
        g.pG=function(a){var b={};void 0!==a.Nc.trackingParams?b.trackingParams=a.Nc.trackingParams:(b.veType=a.Nc.veType,null!=a.Nc.veCounter&&(b.veCounter=a.Nc.veCounter),null!=a.Nc.elementIndex&&(b.elementIndex=a.Nc.elementIndex));void 0!==a.Nc.dataElement&&(b.dataElement=g.pG(a.Nc.dataElement));void 0!==a.Nc.youtubeData&&(b.youtubeData=a.Nc.youtubeData);return b};
        qG=function(a,b){this.version=a;this.args=b};
        rG=function(a,b){this.topic=a;this.g=b};
        tG=function(a,b){var c=sG();c&&c.publish.call(c,a.toString(),a,b)};
        Caa=function(a,b,c){var d=sG();if(!d)return 0;var e=d.subscribe(a.toString(),function(f,h){var l=g.z("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if(uG[e])try{if(h&&a instanceof rG&&a!=f)try{var m=a.g,n=h;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.Pf){var p=new m;m.Pf=p.version}var q=m.Pf}catch(v){}if(!q||n.version!=q)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{h=Reflect.construct(m,
        g.ub(n.args))}catch(v){throw v.message="yt.pubsub2.Data.deserialize(): "+v.message,v;}}catch(v){throw v.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+v.message,v;}b.call(c||window,h)}catch(v){g.M(v)}},vG[a.toString()]?g.ft()?g.dt(l):g.Gs(l,0):l())});
        uG[e]=!0;wG[a.toString()]||(wG[a.toString()]=[]);wG[a.toString()].push(e);return e};
        yG=function(a,b,c){var d=Caa(a,function(e){b.apply(c,arguments);xG(d)},c);
        return d};
        xG=function(a){var b=sG();b&&(g.Ja(a)&&(a=[a]),(0,g.D)(a,function(c){b.unsubscribeByKey(c);delete uG[c]}))};
        sG=function(){return g.z("ytPubsub2Pubsub2Instance")};
        zG=function(a){qG.call(this,1,arguments);this.csn=a};
        g.BG=function(a,b,c,d){b={csn:a,parentVe:g.pG(b),childVes:(0,g.Le)(c,function(f){return g.pG(f)})};
        c=g.r(c);for(var e=c.next();!e.done;e=c.next())e=g.pG(e.value),(g.lc(e)||!e.trackingParams&&!e.veType)&&mG(Error("Child VE logged with no data"),"WARNING");d={Ph:d,wg:a};"UNDEFINED_CSN"==a?g.AG("visualElementAttached",b,d):g.rw("visualElementAttached",b,g.yw,d)};
        g.CG=function(a,b){var c={csn:a,ve:g.pG(b),eventType:1},d={Ph:void 0,wg:a};"UNDEFINED_CSN"==a?g.AG("visualElementShown",c,d):g.rw("visualElementShown",c,g.yw,d)};
        g.DG=function(a,b){var c={csn:a,ve:g.pG(b),gestureType:"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"},d={Ph:void 0,wg:a};"UNDEFINED_CSN"==a?g.AG("visualElementGestured",c,d):g.rw("visualElementGestured",c,g.yw,d)};
        g.AG=function(a,b,c){EG.push({wF:a,payload:b,options:c});FG||(FG=yG(Daa,Eaa))};
        Eaa=function(a){if(EG){for(var b=g.r(EG),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,g.rw(c.wF,c.payload,null,c.options));EG.length=0}FG=0};
        GG=function(a){a=void 0===a?0:a;return 0==a?"client-screen-nonce":"client-screen-nonce."+a};
        HG=function(a){a=void 0===a?0:a;return 0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};
        IG=function(a){return g.ys(HG(void 0===a?0:a),void 0)};
        g.JG=function(){var a=IG(0),b;a?b=new nG({veType:a,youtubeData:void 0}):b=null;return b};
        g.KG=function(a){a=void 0===a?0:a;var b=g.ys(GG(a));b||0!=a||(g.Gt("kevlar_client_side_screens")?b="UNDEFINED_CSN":b=g.ys("EVENT_ID"));return b?b:null};
        MG=function(a,b,c){c=void 0===c?0:c;if(a!==g.ys(GG(c))||b!==g.ys(HG(c)))xs(GG(c),a),xs(HG(c),b),0==c&&(b=function(){setTimeout(function(){a&&g.rw("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:LG,clientScreenNonce:a},g.yw)},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())};
        NG=function(){var a=g.ys("TIMING_TICK_EXPIRATION");a||(a={},xs("TIMING_TICK_EXPIRATION",a));return a};
        Faa=function(){var a=NG(),b;for(b in a)g.gt(a[b]);xs("TIMING_TICK_EXPIRATION",{})};
        OG=function(a,b){qG.call(this,1,arguments)};
        PG=function(a,b){qG.call(this,1,arguments);this.g=a};
        QG=function(a){return!!g.z("yt.timing."+(a||"")+"pingSent_")};
        RG=function(a,b){g.Ka("yt.timing."+(b||"")+"pingSent_",a,void 0)};
        TG=function(a){return g.z("ytcsi."+(a||"")+"data_")||SG(a)};
        UG=function(a){a=TG(a);a.info||(a.info={});return a.info};
        VG=function(a){a=TG(a);a.tick||(a.tick={});return a.tick};
        WG=function(a){var b=TG(a).nonce;b||(b=Wy(),TG(a).nonce=b);return b};
        SG=function(a){var b={tick:{},info:{}};g.Ka("ytcsi."+(a||"")+"data_",b,void 0);return b};
        YG=function(a,b){var c=Object.keys(a).join("");XG("info_"+c+"_"+b)||(a.clientActionNonce=b,zw("latencyActionInfo",a))};
        XG=function(a){ZG[a]=ZG[a]||{count:0};var b=ZG[a];b.count++;b.time=(0,g.Bv)();$G||($G=ct(Gaa,0,5E3));if(5<b.count){if(6==b.count&&1>1E5*Math.random()){b=0==a.indexOf("info")?"WARNING":"ERROR";var c=Error("CSI data exceeded logging limit with key");c.params=a;mG(c,b)}return!0}return!1};
        Gaa=function(){var a=(0,g.Bv)(),b;for(b in ZG)6E4<a-ZG[b].time&&delete ZG[b];$G=0};
        cH=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];if(!aH(a)||c.some(function(e){return!aH(e)}))throw Error("Only objects may be merged.");
        c=g.r(c);for(d=c.next();!d.done;d=c.next())bH(a,d.value);return a};
        bH=function(a,b){for(var c in b)if(aH(b[c])){if(c in a&&!aH(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});bH(a[c],b[c])}else if(dH(b[c])){if(c in a&&!dH(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);eH(a[c],b[c])}else a[c]=b[c];return a};
        eH=function(a,b){for(var c=g.r(b),d=c.next();!d.done;d=c.next())d=d.value,aH(d)?a.push(bH({},d)):dH(d)?a.push(eH([],d)):a.push(d);return a};
        aH=function(a){return"object"===typeof a&&!Array.isArray(a)};
        dH=function(a){return"object"===typeof a&&Array.isArray(a)};
        fH=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack)};
        gH=function(a){return g.Gt("csi_on_gel")||!!TG(a).useGel};
        hH=function(a){a=TG(a);if(!("gel"in a))a.gel={gelTicks:{},gelInfos:{}};else if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}return a.gel};
        iH=function(a){SG(a);Haa();RG(!1,a);a||(g.ys("TIMING_ACTION")&&xs("PREVIOUS_ACTION",g.ys("TIMING_ACTION")),xs("TIMING_ACTION",""))};
        mH=function(a,b,c,d){c=c?c:a;jH("c",c);iH(c);if(d||g.Gt("custom_csi_timeline_use_gel"))TG(c).useGel=!0;xs(c+"TIMING_AFT_KEYS",b);xs(c+"TIMING_ACTION",a);kH("c",c);gH(c)&&(a={actionType:Iaa[zs((c||"")+"TIMING_ACTION")]||"LATENCY_ACTION_UNKNOWN"},b=WG(c),YG(a,b));g.Ka("ytglobal.timing"+(c||"")+"ready_",!0,void 0);lH(c)};
        pH=function(a,b,c){var d=VG(c);if(g.Gt("use_first_tick")&&nH(a,c))return d[a];if(!b&&"_"!=a[0]){var e=a;oH.mark&&(Jb(e,"mark_")||(e="mark_"+e),c&&(e+=" ("+c+")"),oH.mark(e))}e=b||RB();d[a]&&(d["_"+a]=d["_"+a]||[d[a]],d["_"+a].push(e));d[a]=e;e=NG();var f=e[a];f&&(g.gt(f),e[a]=0);e=hH(c);e.gelTicks&&(e.gelTicks["tick_"+a]=!0);c||b||RB();gH(c)?(e=WG(c),"_start"===a?XG("baseline_"+e)||zw("latencyActionBaselined",{clientActionNonce:e},{timestamp:b}):XG("tick_"+a+"_"+e)||zw("latencyActionTicked",{tickName:a,
        clientActionNonce:e},{timestamp:b}),b=!0):b=!1;b||lH(c);return d[a]};
        qH=function(a){var b="above_the_fold";oH&&oH.measure&&(Jb(b,"measure_")||(b="measure_"+b),a?oH.measure(b,a):oH.measure(b))};
        kH=function(a,b){rH("yt_sts",a,b);pH("_start",void 0,b)};
        nH=function(a,b){var c=VG(b);return a in c};
        sH=function(a){nH("_start","video_to_ad")&&!nH(a,"video_to_ad")&&pH(a,void 0,"video_to_ad")};
        rH=function(a,b,c){UG(c)[a]=b;if(gH(c)){var d=hH(c);if(d.gelInfos)d.gelInfos["info_"+a]=!0;else{var e={};d.gelInfos=(e["info_"+a]=!0,e)}if(a in tH){d=tH[a];g.kb(Jaa,d)&&(b=!!b);a in uH&&"string"===typeof b&&(b=uH[a]+b.toUpperCase());a=b;b=d.split(".");e=d={};for(var f=0;f<b.length-1;f++){var h=b[f];e[h]={};e=e[h]}e[b[b.length-1]]=a;a=cH({},d)}else g.kb(Kaa,a)||(b=new fH("Unknown label logged with GEL CSI"),b.params=a,g.Bs(b)),a=void 0;a&&gH(c)&&(b=hH(c),"gelInfos"in b||(b.gelInfos={}),cH(b.gelInfos,
        a),c=WG(c),YG(a,c))}};
        vH=function(a){var b=VG(a);if(b.aft)return b.aft;a=g.ys((a||"")+"TIMING_AFT_KEYS",["ol"]);for(var c=a.length,d=0;d<c;d++){var e=b[a[d]];if(e)return e}return NaN};
        lH=function(a){if(!QG(a)){var b=g.ys((a||"")+"TIMING_ACTION",void 0),c=VG(a);if(g.z("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&(b=vH(a)))if(wH||(tG(Laa,new OG(Math.round(b-c._start),a)),wH=!0),a)xH(a);else{b=!0;var d=g.ys("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&xH(a)}}};
        Maa=function(){switch(Lv()){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
        jH=function(a,b){if(!gH(b)&&!QG(b)){var c=g.ys("CSI_SERVICE_NAME","youtube");g.ys((b||"")+"TIMING_ACTION",void 0)&&c&&(pH("aa",void 0,b),rH("ap",1,b),rH("yt_fss",a,b),xH(b))}};
        Naa=function(a){var b=VG(a),c=b.pbr,d=b.vc;b=b.pbs;return c&&d&&b&&c<d&&d<b&&1==UG(a).yt_pvis};
        xH=function(a){Faa();if(!gH(a)){var b=VG(a),c=UG(a),d=b._start;for(h in b)if(Jb(h,"_")&&g.Oa(b[h])){var e=h.slice(1);if(e in Oaa){var f=(0,g.Le)(b[h],function(p){return Math.round(p-d)});
        c["all_"+e]=f.join()}delete b[h]}f=g.ys("CSI_SERVICE_NAME","youtube");var h={v:2,s:f,action:g.ys((a||"")+"TIMING_ACTION",void 0)};e=rH.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var l=window.location.protocol+g.z("ytplayer.config.assets.js");(l=oH.getEntriesByName?oH.getEntriesByName(l)[0]:null)?c.h5jse=Math.round(c.h5jse-l.responseEnd):delete c.h5jse}b.aft=vH(a);Naa(a)&&"youtube"==f&&(rH("yt_lt","hot_bg",a),f=b.vc,l=b.pbs,delete b.aft,c.aft=Math.round(l-f));for(var m in c)"_"!=m.charAt(0)&&(h[m]=
        c[m]);b.ps=RB();m={};f=[];for(var n in b)"_"!=n.charAt(0)&&(l=Math.round(b[n]-d),m[n]=l,f.push(n+"."+l));h.rt=f.join(",");(b=g.z("ytdebug.logTiming"))&&b(h,m);Paa(h,!!c.ap,a);tG(yH,new PG(m.aft+(e||0),a))}};
        Paa=function(a,b,c){if(g.Gt("debug_csi_data")){var d=g.z("yt.timing.csiData");d||(d=[],g.Ka("yt.timing.csiData",d,void 0));d.push({page:location.href,time:new Date,args:a})}d="";for(var e in a)d+="&"+e+"="+a[e];a="/csi_204?"+d.substring(1);window.navigator&&window.navigator.sendBeacon&&b?vu(a):g.tu(a);RG(!0,c)};
        g.zH=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.r(a.runs);for(var c=a.next();!c.done;c=a.next())c=c.value,c.text&&b.push(c.text);return b.join("")}return""};
        g.AH=function(a,b){g.O.call(this);this.Ma=a;this.adModule=!1;this.Wj=this.adaptiveFormats="";this.fn=null;this.drmParams="";this.allowEmbed=!0;this.allowLiveDvr=this.backgroundable=!1;this.Ad="";this.Uj=this.Tj=!1;this.mt=null;this.Tf=this.Aj=this.Eg=this.Bj=this.xk=!1;this.dj=NaN;this.author="";this.rf=0;this.Sm=this.Ir=this.Wm=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.videoCountText=this.channelBanner=this.bn=this.Lh="";this.contentCheckOk=!1;this.Sd=0;this.nk=this.Th=!1;this.endSeconds=
        0;this.vf=null;this.un="";this.Sc=!1;this.Te=this.Xg=0;this.Zq=this.pipable=this.Yg=!1;this.Zu=0;this.oa=this.ah=this.isListed=this.eo=this.Jf=!1;this.oo="";this.isLowLatencyLiveStream=this.isLivingRoomDeeplink=this.isLiveDefaultBroadcast=this.Qk=this.it=this.Ai=!1;this.latencyClass="UNKNOWN";this.isMdxPlayback=this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=!1;this.se=0;this.reloadReason="";this.ko=this.kt=this.Df=!1;this.keywords={};this.Sk="";this.Tk=0;this.pm=!1;this.liveChunkReadahead=
        NaN;this.po=0;this.Gi=null;this.Ii=this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.paygated=!1;this.Cc=[];this.Xe=void 0;this.racyCheckOk=!1;this.Ul=0;this.la=null;this.autonavState=1;this.Hd=!1;this.dm=this.Cf=this.startSeconds=0;this.rm=this.kr=this.yw=MD;this.uh=this.suggestions=null;this.Hp=!1;this.hlsFormats=this.zh=this.expandedSubtitle=this.subtitle=this.title="";this.Ye=this.nd=this.gj=this.Nk=null;this.Bh="vvt";this.Hw=null;this.Iw="";this.Wp=NaN;this.Fm=this.Up=this.Am=
        this.zm=this.Tp=this.Em=this.ym=this.Dm=this.Cm=this.Bm="";this.Cj=null;this.np=!1;this.Vb={};this.clipStart=0;this.clipEnd=Infinity;this.heartbeatToken="";this.Rs=this.Qs=NaN;this.ug=this.dh=this.Sf=this.Ys=this.Ss=!1;this.jj=!0;this.xe={};this.captionTracks=[];this.Vm=[];this.qr=0;this.rr=[];this.chapterMarkers=[];this.Qh=new tF("und",new jx("Default","und",!0));this.lo=0;this.Xb=null;this.nh=[];this.Mm=[];this.Pp=this.hp="";this.slotPosition=-1;this.breakType=0;this.Fc=this.xm=this.Ia=this.nn=
        this.Sh=null;this.defraggedFromSubfragments=this.On=this.hasSubfragmentedFmp4=this.co=this.vj=this.Yv=this.Ue=!1;this.liveExperimentalContentId=NaN;this.tg=this.Qp=this.xj=!1;this.interstitials=[];this.jd=this.fo=!1;this.aj=this.sf="";this.isVisualizerEligible=!1;this.Jb="";this.Kd=!1;this.gv=this.Wo=this.ao=this.readAheadGrowthRateMs=this.minReadAheadMediaTimeMs=this.maxReadAheadMediaTimeMs=NaN;this.Sz=U(!1,b?b.limited_state:void 0);this.showShareButton=!0;this.errorDetail="";this.Zf=this.errorReason=
        this.errorCode=null;this.av=this.na("web_player_watch_next_response_parsing");this.na("web_player_ux_module_wait")&&this.Ma.U&&this.Cc.push("ux");this.mn=!1;this.Fv={};this.Uv(b)};
        EH=function(a,b){b=b||{};a.Tr=tE(a.Tr,b.fflags);if(a.av){var c=b.raw_watch_next_response;if(!c){var d=b.watch_next_response;d&&(c=JSON.parse(d))}c&&(a.xm=c);if(a.xm){c=a.xm.contents;var e;if(c){if((e=c.singleColumnWatchNextResults)&&e.autoplay&&e.autoplay.autoplay&&!e.playlist){var f=e.autoplay.autoplay.sets;e={};d={};var h=null;if(f){for(var l=g.r(f),m=l.next();!m.done;m=l.next())if((m=m.value.autoplayVideoRenderer)&&m.compactVideoRenderer){h=m.compactVideoRenderer;break}(f=f[0].autoplayVideo)&&
        (f=f.clickTrackingParams)&&(e.itct=f)}else e.feature="related-auto";if(h){d.autonav="1";d.video_id=h.videoId;if(f=h.shortBylineText)d.author=g.zH(f);if(h=h.title)d.title=g.zH(h)}d.endscreen_autoplay_session_data=g.pg(e);a.suggestions=[d]}e=c.twoColumnWatchNextResults}c=a.xm.playerOverlays;if(c&&(c=c.playerOverlayRenderer)){if(d=c.endScreen)if(d=d.watchNextEndScreenRenderer)var n=d.results;if(d=c.videoDetails)var p=d.embeddedPlayerOverlayVideoDetailsRenderer;if(d=c.actions)for(d=g.r(d),h=d.next();!h.done;h=
        d.next())h=h.value,h.likeButtonRenderer&&(a.likeButtonRenderer=h.likeButtonRenderer);a.showShareButton=!!c.shareButton}!n&&e&&(c=e.endScreen&&e.endScreen.endScreen)&&(n=c.results);if(p){c=b;if(d=p.channelThumbnail)if(d=d.thumbnails)if(d=d[0])c.profile_picture=d.url;if(d=p.channelThumbnailEndpoint&&p.channelThumbnailEndpoint.channelThumbnailEndpoint)if(d=d.urlEndpoint&&d.urlEndpoint.urlEndpoint)c.channel_path=d.url;if(d=p.collapsedRenderer)if(d=d.embeddedPlayerOverlayVideoDetailsCollapsedRenderer){if(h=
        d.title)c.title=g.zH(h);if(d=d.subtitle)c.subtitle=g.zH(d)}if(p=p.expandedRenderer)if(p=p.embeddedPlayerOverlayVideoDetailsExpandedRenderer){if(d=p.title)c.expanded_title=g.zH(d);if(d=p.subtitle)c.expanded_subtitle=g.zH(d);if(p=p.subscribeButton)if(p=p.subscribeButtonRenderer)c.ucid=p.channelId,c.subscribed=p.subscribed}}if(n){e=e||null;p=sE(0,b.autoplay_count);c=[];h=!0;n=g.r(n);for(d=n.next();!d.done;d=n.next()){l=d.value;f=void 0;d=null;if(l.endScreenVideoRenderer){l=l.endScreenVideoRenderer;m=
        l.title;d={id:l.videoId,length_seconds:l.lengthInSeconds};var q=l.shortBylineText;q&&(d.author=g.zH(q));if(q=l.shortViewCountText)d.short_view_count_text=g.zH(q);m&&(d.title=g.zH(m),(m=m.accessibility)&&(m=m.accessibilityData)&&m.label&&(d.aria_label=m.label));if(m=l.navigationEndpoint)f=m.clickTrackingParams;if(m=l.thumbnailOverlays)for(m=g.r(m),q=m.next();!q.done;q=m.next())if((q=q.value.thumbnailOverlayTimeStatusRenderer)&&"LIVE"==q.style){d.live_playback="1";break}l=jG(l.thumbnail);Object.assign(d,
        fG(l))}else if(l.endScreenPlaylistRenderer){l=l.endScreenPlaylistRenderer;f=l.navigationEndpoint;if(!f)continue;d=f.watchEndpoint;if(!d)continue;d=d.videoId;d={list:l.playlistId,video_id:d,playlist_length:l.videoCount,thumbnail_ids:d};if(m=l.title)d.playlist_title=g.zH(m);if(m=l.shortBylineText)d.playlist_author=g.zH(m);f=f.clickTrackingParams;l=jG(l.thumbnail);Object.assign(d,fG(l))}d&&(d.session_data=g.pg({itct:f}),h?(h={autonav:1,playnext:p},d.list&&(h.autoplay="1"),e&&(f=e.autoplay)&&(f=f.autoplay)&&
        (f=f.sets)&&(f=f[0])&&(f=f.autoplayVideo)&&(f=f.clickTrackingParams)&&(h.itct=f),h.itct||(h.feature="related-auto"),d.endscreen_autoplay_session_data=g.pg(h),c.splice(0,0,d),h=!1):c.push(d))}a.suggestions=c}}}if(n=b.iv_invideo_url)a.Ad=yz(n);a.Tj=U(a.Tj,b.iv_ads_only);a.Uj=U(a.Uj,b.iv_allow_in_place_switch);a.isPharma=U(a.isPharma,b.is_pharma);a.author=tE(a.author,b.author);a.Lh=BH(b.ttsurl)||a.Lh;a.Wm=U(a.Wm,b.cc_asr);a.bn=tE(a.bn,b.channel_path);a.channelBanner=tE(a.channelBanner,b.channel_banner);
        a.videoCountText=tE(a.videoCountText,b.video_count_text);a.autonavState=rE(a.autonavState,b.autonav_state,Qaa);a.clientPlaybackNonce=tE(a.clientPlaybackNonce,b.cpn);a.subscribed=U(a.subscribed,b.subscribed);a.shortViewCount=tE(a.shortViewCount,b.short_view_count_text);a.title=tE(a.title,b.title);a.subtitle=tE(a.subtitle,b.subtitle);a.expandedSubtitle=tE(a.expandedSubtitle,b.expanded_subtitle);a.Wj=tE(a.Wj,b.aria_label);a.ypcPreview=tE(a.ypcPreview,b.ypc_preview);a.Vp=tE(a.Vp,b.ypc_origin);a.paygated=
        U(a.paygated,b.paygated);a.np=U(a.np,b.requires_purchase);a.showShareButton=!U(!a.showShareButton,b.ss);if(n=b.keywords)a.keywords=CH(n.split(","));if(n=b.rvs)!a.av||b.raw_watch_next_response||b.watch_next_response||g.Bs(Error('"rvs" unexpected')),a.suggestions=qt(n);a.contentCheckOk=U(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=U(a.racyCheckOk,"1"==b.rco);a.isLivingRoomDeeplink=U(a.isLivingRoomDeeplink,b.is_living_room_deeplink);a.oauthToken=tE(a.oauthToken,b.oauth_token);a.Sk=tE(a.Sk,b.kpt);a.visitorData=
        tE(a.visitorData,b.visitor_data);if(n=b.session_data)a.Bb=nt(n);if(n=b.endscreen_autoplay_session_data)a.Pr=nt(n);a.Or=tE(a.Or,b.endscreen_ad_tracking_data);a.Cw=U(a.Cw,b.wait_for_vast_info_cards_xml);a.Fp=U(a.Fp,b.suppress_creator_endscreen);a.ow=tE(a.ow,b.tracking_list);DH(a,b)};
        Raa=function(a){if(!a||!a.adPlacements)return!1;a=g.r(a.adPlacements);for(var b=a.next();!b.done;b=a.next())if(b=b.value.adPlacementRenderer,null!=b&&"AD_PLACEMENT_KIND_START"==(b.config&&b.config.adPlacementConfig&&b.config.adPlacementConfig.kind))return!0;return!1};
        HH=function(a){var b=a.Kd,c=!!a.fa&&(a.fa.Ci()||a.fa.Di()||a.fa.ti()),d=a.Ma,e=!!a.fa&&a.fa.le,f=FH(a),h=a.Qp;a.isAd();var l=a.zi();a=GH(a,"html5_samsung_vp9_live");var m=new caa;m.D=f;m.o=h&&d.xb;cu("windows nt 5.1")&&!qD&&(m.g=!0);c&&LE&&6>=ME&&(m.g=!0);if(f=c)f=V(d,"disable_html5_ambisonic_audio")||!V(d,"html5_enable_spherical")&&!V(d,"html5_enable_spherical3d")?!1:aaa(d);f&&(m.B=!0);b&&(m.g=!0,m.N=!0);l&&!g.P(d.experiments,"html5_otf_prefer_vp9")&&(m.g=!0);oD(d.l,xD)&&(g.P(d.experiments,"html5_enable_aac51")&&
        (m.l=!0),g.P(d.experiments,"html5_enable_ac3")&&(m.u=!0),g.P(d.experiments,"html5_enable_eac3")&&(m.I=!0));!g.P(d.experiments,"html5_kaios_hd_killswitch")&&GE&&(m.J=480);if(e||c)m.F=!1;m.H=!1;b=hF(d);0<b&&2160>b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(m.i=b);2160<=b&&(m.R=!0);m.A=a;return m};
        LH=function(a,b){var c;(c=!b)||(c=!((!gu()||IH(a))&&a.adaptiveFormats));if(c)return!1;c=JH(b);var d=a.fn;var e=a.lengthSeconds,f=a.oa,h=a.Ai,l=a.Ma.experiments,m=TC(c);d=f||h?QC(c,h,d,l):3==m?PC(c,d,e,l):OC(c,d,e,l);0<c.length&&(c=c[0],c.url&&c.sp&&c.s&&(c=NC(c.url,c.sp,c.s),c=parseInt(c.get("max_sq"),10)||Infinity,isFinite(c)&&(a.it=!0)));if(d.i&&!a.na("html5_manifestless_vp9")&&(!a.na("html5_manifestless_vp9_normal_latency")||a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass)&&Saa(d))return d.dispose(),
        !1;KH(a,d);d.l&&d.subscribe("cuepointsadded",a.Ar,a);HC(d)&&(a.dh=!0);return!0};
        IH=function(a){return(a.na("html5_enable_tvos_dash")||GH(a,"html5_enable_tvos_dash_dogfood"))&&MediaSource.isTypeSupported('audio/webm; codecs="opus"')};
        Saa=function(a){return a.i&&Fx('video/webm; codecs="vp9"')&&cc(a.g,function(b){return ux(b.info)})};
        ez=function(a){return!(!a.fa||!a.fa.i)};
        NH=function(a){var b=a.la&&a.la.videoInfos.length&&2==a.la.videoInfos[0].containerType;if(!(a.la&&a.la.videoInfos.length&&g.xx(a.la.videoInfos[0])||a.na("html5_streaming_xhr_try_webm")&&b)||!ez(a)||g.fu()&&!a.na("html5_streaming_xhr_try_cobalt")||mF&&!a.na("html5_streaming_xhr_try_edge"))return!1;b=a.na("html5_streaming_response_mediastream_rewrite_v2");var c="ULTRALOW"==a.latencyClass;a=21530001==MH(a);return b||c||a};
        OH=function(a){if(!NH(a))return!1;var b="ULTRALOW"==a.latencyClass||21530001==MH(a);return a.na("html5_live_benchmark_incremental_parsing")&&!b||!Hz()||!window.AbortController&&!b?!1:!0};
        PH=function(a){var b=ez(a),c=OH(a);return(a.hasSubfragmentedFmp4||a.On)&&b?c&&Hz()?3:2:a.defraggedFromSubfragments&&b?-1:1};
        MH=function(a){return a.isLowLatencyLiveStream&&void 0!=a.fa&&5<=fD(a.fa)?21530001:a.liveExperimentalContentId};
        QH=function(a){return gu()&&IH(a)?!1:!BD()||a.Ir?!0:!1};
        Taa=function(a){a.Sc=!0;a.Sf=!1;if(a.na("mweb_hoffline")&&a.adaptiveFormats&&!a.Fd&&aG(a.videoId))waa(a.videoId).then(function(c){return LH(a,c)},function(){return LH(a,a.adaptiveFormats)}).then(function(){return RH(a)});
        else{qz(a.Fd)||g.M(Error("DASH MPD Origin invalid: "+a.Fd),"WARNING");var b=a.Fd;b=g.qg(b,{mpd_version:g.Q(a.Ma.experiments,"dash_manifest_version")||4});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.qg(b,{pacing:0}));aD(b,a.Ma.experiments,a.oa).then(a.WC,a.VC,a);SH("mrs")}};
        g.TH=function(a){if(!a.Fc)return null;var b=null!=a.Fc.latitudeE7&&null!=a.Fc.longitudeE7?a.Fc.latitudeE7+","+a.Fc.longitudeE7:",";return b+=","+(a.Fc.clientPermissionState||0)+","+(a.Fc.locationRadiusMeters||"")+","+(a.Fc.locationOverrideToken||"")};
        RH=function(a){a.da()||(a.Sc=!1,a.L("dataloaded"))};
        KH=function(a,b){a.fa=b;g.K(a,b);a.fa.isLive||(a.oa=!1);var c=b.sourceUrl.split("/");-1!=c.indexOf("manifest_duration")&&(a.Gi=parseInt(c[c.indexOf("manifest_duration")+1],10))};
        UH=function(a){return a.fn?!0:a.na("web_player_content_protection_manifest_killswitch")?!1:!!a.fa&&HC(a.fa)};
        Vaa=function(a,b){if(a.da())return Cu();a.la=null;a.nd=null;a.Ye=null;var c=a.Ma.deviceParams.c;a.na("disable_rqs")||(a.Ue=/^rq/.test(a.clientPlaybackNonce)||/^r/.test(a.clientPlaybackNonce)&&/UNPLUGGED/.test(c)||VH(a));return Uaa(a,b).then(void 0,(0,g.A)(a.Zz,a,b)).then(void 0,(0,g.A)(a.bA,a)).then(void 0,(0,g.A)(a.aA,a)).then(function(){if(a.na("html5_probe_media_capabilities")&&a.la)return zaa(a.la).then(a.Bp,void 0,a)})};
        Uaa=function(a,b){var c=b||QH(a);if(a.fa&&!c){if(FH(a)){c=a.fa;var d=a.oa;if(!c.g["0"]){var e=new tx("0","fakesb",void 0,new mx(0,0,0,void 0,void 0,"auto"),null,null,1);c.g["0"]=d?new bC(new Lz("http://www.youtube.com/videoplayback"),e,"fake"):new BC(new Lz("http://www.youtube.com/videoplayback"),e,new cB(0,0),new cB(0,0),0,NaN)}}return kaa(HH(a),a.Ma.l,a.fa,a.Xb).then(a.Bp,void 0,a)}return Cu()};
        g.WH=function(a){return gu()&&!IH(a)&&a.vf?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Fa&&a.Fa.l||null};
        XH=function(a){var b=a.Ia&&a.Ia.paidContentOverlay&&a.Ia.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.zH(b.text):a.tF};
        YH=function(a){var b=a.Ia&&a.Ia.paidContentOverlay&&a.Ia.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Jd(b.durationMs):a.Zu};
        ZH=function(a){var b="";if(a.oo)return a.oo;a.oa&&(b=a.allowLiveDvr?"dvr":"live");return b};
        g.$H=function(a,b){return g.w(a.keywords[b])?a.keywords[b]:null};
        aI=function(a){return!!(a.Fd||a.adaptiveFormats||a.zh||a.uh||a.hlsvp)};
        bI=function(a){var b=g.kb(a.Cc,"ypc");a.ypcPreview&&(b=!1);return a.isValid()&&!a.Sc&&(aI(a)||g.kb(a.Cc,"fresca")||g.kb(a.Cc,"heartbeat")||b)};
        JH=function(a,b){var c=qt(a),d={};if(b)for(var e=g.r(b.split(",")),f=e.next();!f.done;f=e.next())(f=f.value.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(d[f[1]]={width:f[2],height:f[3]});e=g.r(c);for(f=e.next();!f.done;f=e.next()){f=f.value;var h=d[f.itag];h&&(f.width=h.width,f.height=h.height)}return c};
        Xaa=function(a,b){var c=b[0];if(c&&(c=c.playerAnnotationsUrlsRenderer)){c.adsOnly&&(a.Tj=!0);c.allowInPlaceSwitch&&(a.Uj=!0);var d=c.loadPolicy;d&&(a.gf=Waa[d]);if(c=c.invideoUrl)a.Ad=yz(c)}};
        Yaa=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;var c=b.playerAttestationRenderer.challenge;null!=c&&(a.Gg=c)};
        Zaa=function(a,b){a.captionTracks=[];b.captionTracks&&(0,g.D)(b.captionTracks,function(c){var d=BH(c.baseUrl);d&&(c=new g.rF({is_translateable:!!c.isTranslatable,languageCode:c.languageCode,languageName:c.name&&g.zH(c.name),url:d,vss_id:c.vssId,kind:c.kind}),this.captionTracks.push(c))},a);
        a.Vm=b.audioTracks||[];a.qr=b.defaultAudioTrackIndex||0;a.rr=b.translationLanguages?(0,g.Le)(b.translationLanguages,function(c){return{languageCode:c.languageCode,languageName:g.zH(c.languageName)}}):[]};
        $aa=function(a,b,c){var d=b.errorScreen;if(!(d&&(d.playerLegacyDesktopYpcOfferRenderer||d.playerLegacyDesktopYpcTrailerRenderer||d.ypcTrailerRenderer)||c&&c.isUpcoming||["OK","LIVE_STREAM_OFFLINE","FULLSCREEN_ONLY"].includes(b.status))){a.errorCode="150";if(c=d&&d.playerErrorMessageRenderer){if(d=c.reason)a.errorReason=g.zH(d);if(c=c.subreason)a.Zf=g.zH(c)}else a.errorReason=b.reason||null;c=b.status;"LOGIN_REQUIRED"==c?a.errorDetail="1":"CONTENT_CHECK_REQUIRED"==c?a.errorDetail="2":"AGE_CHECK_REQUIRED"==
        c?(b=(b=b.errorScreen)&&b.playerKavRenderer,a.errorDetail=b&&b.kavUrl?"4":"3"):a.errorDetail=b.isBlockedInRestrictedMode?"5":"0"}};
        aba=function(a,b){var c=b.heartbeatToken;c&&(a.drmSessionId=b.drmSessionId||"",a.heartbeatToken=c,a.Qs=parseInt(b.intervalMilliseconds,10),a.Rs=parseInt(b.maxRetries,10),a.Ss=!!b.softFailOnError,a.Ys=!!b.useInnertubeHeartbeatsForDrm,a.Bj=!0)};
        bba=function(a,b){var c=b.find(function(d){return!(!d||!d.tooltipRenderer)});
        c&&(a.tooltipRenderer=c.tooltipRenderer)};
        cba=function(a,b){var c=b.playerLegacyMulticameraRenderer;c&&(c=c.metadataList)&&(a.Mm=qt(c))};
        dba=function(a,b){var c=b.playerControlsOverlayRenderer;c&&(c=c.controlBgHtml,null!=c?(a.sf=c,a.jd=!0):(a.sf="",a.jd=!1))};
        eba=function(a,b){var c=b.backgroundability;c&&c.backgroundabilityRenderer.backgroundable&&(a.backgroundable=!0);(c=b.pictureInPicture)&&c.pictureInPictureRenderer.playableInPip&&(a.pipable=!0);b.playableInEmbed&&(a.allowEmbed=!0);if(c=b.ypcClickwrap){var d=c.ypcRentalActivationRenderer;c.playerLegacyDesktopYpcClickwrapRenderer?a.Aj=!0:d&&((c=d.durationMessage)&&g.zH(c),a.Aj=!0)}};
        fba=function(a,b,c){var d=cI(b.googleRemarketingUrl);d&&(a.googleRemarketingUrl=d);if(d=cI(b.youtubeRemarketingUrl))a.youtubeRemarketingUrl=d;if(d=cI(b.ptrackingUrl)){d=dI(d);var e=d.oid;e&&(a.cv=e);if(e=d.pltype)a.dv=e;if(e=d.ptchn)a.bv=e;if(d=d.ptk)a.Kl=encodeURIComponent(d)}if(d=cI(b.ppvRemarketingUrl))a.ppvRemarketingUrl=d;if(d=cI(b.qoeUrl)){d=g.rt(d);for(var f in d)e=d[f],d[f]=g.Oa(e)?e.join(","):e;if(f=d.cat)a.aj=f;if(f=d.live)a.oo=f}if(f=cI(b.remarketingUrl)){a.remarketingUrl=f;d=dI(f);d.foc_id&&
        (a.Vb.focEnabled=!0);if(d=d.data)a.Vb.rmktEnabled=!0,d.engaged&&(a.Vb.engaged="1");d=a.Vb;e=f.match(hg);d.baseUrl=fg(e[1],null,e[3],e[4])+g.gg(g.ig(5,f))}if(f=cI(b.videostatsPlaybackUrl)){f=dI(f);if(d=f.adformat)c.adformat=d;if(c=f.autoplay)a.Jf="1"==c;if(c=f.autonav)a.Yg="1"==c;if(c=f.delay)a.Sd=Jd(c);if(c=f.ei)a.eventId=c;"adunit"==f.el&&(a.Jf=!0);if(c=f.feature)a.cj=c;if(c=f.list)a.playlistId=c;if(c=f.of)a.Xo=c;if(c=f.osid)a.osid=c;if(c=f.referrer)a.referrer=c;if(c=f.sdetail)a.Ql=c;if(c=f.ssrt)a.ij=
        "1"==c;if(c=f.subscribed)a.subscribed="1"==c,a.Vb.subscribed=c;if(c=f.upt)a.km=c;if(c=f.vm)a.videoMetadata=c}b.promotedPlaybackTracking&&(b=b.promotedPlaybackTracking,b.startUrls&&(a.Nl=b.startUrls[0]),b.firstQuartileUrls&&(a.ep=b.firstQuartileUrls[0]),b.secondQuartileUrls&&(a.fp=b.secondQuartileUrls[0]),b.thirdQuartileUrls&&(a.gp=b.thirdQuartileUrls[0]),b.completeUrls&&(a.cp=b.completeUrls[0]))};
        gba=function(a,b,c){b=g.r(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value)if(d=d.playerLegacyDesktopWatchAdsRenderer)if(d=d.playerAdParams){"1"==d.autoplay&&(a.Jf=!0);a.adSafetyReason=d.encodedAdSafetyReason||null;void 0!=d.showContentThumbnail&&(a.jj=!!d.showContentThumbnail);c.enabled_engage_types=d.enabledEngageTypes;break}};
        hba=function(a,b){var c=b.audioConfig;if(c){var d=c.loudnessDb;null!=d&&(a.dj=d);c.audioMuted&&(a.Tf=!0);c.muteOnStart&&(a.Tf=!0)}if(c=b.fairPlayConfig){if(d=c.certificate)a.vf=eI(d);d=parseInt(c.keyRotationPeriodMs,10);0<d&&(a.tk=d);c=parseInt(c.keyPrefetchMarginMs,10);0<c&&(a.rk=c)}if(c=b.playbackStartConfig){a.gv=parseInt(c.startSeconds,10);if(d=c.liveUtcStartSeconds)a.liveUtcStartSeconds=parseInt(d,10);if(c=c.startPosition){if(d=c.utcTimeMillis)a.liveUtcStartSeconds=.001*parseInt(d,10);if(c=c.streamTimeMillis)a.dm=
        .001*parseInt(c,10)}}else if(c=b.skippableSegmentsConfig){if(d=c.introSkipDurationMs)a.ao=parseInt(d,10)/1E3;if(c=c.outroSkipDurationMs)a.Wo=parseInt(c,10)/1E3}if(c=b.streamSelectionConfig)a.Te=parseInt(c.maxBitrate,10);(c=b.visualizerConfig)&&c.isVisualizerEligible&&(a.isVisualizerEligible=!0);if(c=b.webDrmConfig){c.skipWidevine&&(a.Yv=!0);if(d=c.widevineServiceCert)a.yj=eI(d);c.useCobaltWidevine&&(a.vj=!0)}if(c=b.mediaCommonConfig)if(c=c.dynamicReadaheadConfig)a.maxReadAheadMediaTimeMs=c.maxReadAheadMediaTimeMs||
        NaN,a.minReadAheadMediaTimeMs=c.minReadAheadMediaTimeMs||NaN,a.readAheadGrowthRateMs=c.readAheadGrowthRateMs||NaN};
        oba=function(a,b,c){var d=b.adaptiveFormats;if(d){var e=[];d=g.r(d);for(var f=d.next();!f.done;f=d.next()){var h=f.value;f=h.indexRange;var l=h.initRange;f={itag:h.itag,url:h.url,index:f?f.start+"-"+f.end:"0-0",bitrate:h.bitrate,init:l?l.start+"-"+l.end:"0-0",type:h.mimeType,clen:h.contentLength,lmt:h.lastModified,xtags:h.xtags};if(l=h.audioTrack){var m=l.displayName;m&&(f.name=m,f.audio_track_id=l.id,l.audioIsDefault&&(f.isDefault="1"))}if(l=h.captionTrack)f.caption_display_name=l.displayName,f.caption_vss_id=
        l.vssId,f.caption_language_code=l.languageCode,f.caption_kind=l.kind;(l=h.cipher)?(l=g.pt(l),f.sp=l.sp,f.s=l.s,f.url=l.url):f.url=h.url;l=h.width;m=h.height;null!=l&&null!=m&&(f.size=l+"x"+m);(l=h.fps)&&(f.fps=l);(l=h.type)&&(f.stream_type=iba[l]);(l=h.projectionType)&&(f.projection_type=jba[l]);(l=h.stereoLayout)&&(f.stereo_layout=kba[l]);(l=h.spatialAudioType)&&(f.spatial_audio_type=lba[l]);if(m=h.drmFamilies){l=[];m=g.r(m);for(var n=m.next();!n.done;n=m.next())l.push(fI[n.value]);f.drm_families=
        l.join(",")}(l=h.qualityLabel)&&(f.quality_label=l);(l=h.targetDurationSec)&&(f.target_duration_sec=l);(l=h.maxDvrDurationSec)&&(f.max_dvr_duration_sec=l);(l=h.audioSampleRate)&&(f.audio_sample_rate=l);(l=h.audioChannels)&&(f.audio_channels=l);if(h=h.colorInfo)(l=h.primaries)&&(l=mba[l])&&(f.primaries=l),(h=h.transferCharacteristics)&&(h=nba[h])&&(f.eotf=h);e.push(g.pg(f))}a.adaptiveFormats=e.join(",")}if(d=b.formats){e=[];h=g.r(d);for(f=h.next();!f.done;f=h.next())f=f.value,e.push(f.itag+"/"+f.width+
        "x"+f.height);a.un=e.join(",");e=[];d=g.r(d);for(f=d.next();!f.done;f=d.next()){f=f.value;h={itag:f.itag,type:f.mimeType,quality:f.quality};(l=f.url)&&(h.url=l);if(l=f.cipher)l=g.pt(l),h.sp=l.sp,h.s=l.s,h.url=l.url;f.stereo3d&&(h.stereo3d=1);e.push(g.pg(h))}a.zh=e.join(",")}if(f=b.hlsFormats){e={};if(c&&(c=c.audioPairingConfig)&&c.pairs)for(c=g.r(c.pairs),d=c.next();!d.done;d=c.next())d=d.value,e[d.videoItag]=d.audioItag;c={};d=g.r(f);for(h=d.next();!h.done;h=d.next())h=h.value,c[h.itag]=h.bitrate;
        d=[];f=g.r(f);for(h=f.next();!h.done;h=f.next()){l=h.value;h={itag:l.itag,type:l.mimeType,url:l.url,bitrate:l.bitrate,width:l.width,height:l.height,fps:l.fps};if(m=l.audioTrack)if(n=m.displayName)h.name=n,h.audio_track_id=m.id,m.audioIsDefault&&(h.is_default="1");if(l.drmFamilies){m=[];n=g.r(l.drmFamilies);for(var p=n.next();!p.done;p=n.next())m.push(fI[p.value]);h.drm_families=m.join(",")}l=e[l.itag];m=c[l];l&&m&&(h.audio_itag=l,h.bitrate+=m);d.push(g.pg(h))}a.hlsFormats=d.join(",")}if((e=b.licenseInfos)&&
        0<e.length){c={};e=g.r(e);for(d=e.next();!d.done;d=e.next())f=d.value,d=f.drmFamily,f=f.url,d&&f&&(c[fI[d]]=f);a.fn=c}if(c=b.drmParams)a.drmParams=c;if(c=b.dashManifestUrl)a.Fd=g.qg(c,{cpn:a.clientPlaybackNonce});if(c=b.hlsManifestUrl)a.hlsvp=c;if(b=b.probeUrl)a.probeUrl=yz(g.qg(b,{cpn:a.clientPlaybackNonce}))};
        pba=function(a,b,c){var d=b.videoId;d&&(a.videoId=d,c.video_id||(c.video_id=d));a.na("web_player_uid_killswitch")||(d=b.channelId)&&(a.Vb.uid=d.substr(2));if(d=b.title)a.title=d,c.title||(c.title=d);if(d=b.lengthSeconds)a.lengthSeconds=parseInt(d,10),c.length_seconds||(c.length_seconds=d);if(d=b.keywords)a.keywords=CH(d);if(d=b.channelId)a.uj=d,c.ucid||(c.ucid=d);if(d=b.author)a.author=d,c.author||(c.author=d);if(c=b.isCrawlable)a.isListed=c;if(c=b.musicVideoType)a.musicVideoType=c;c=b.isLive;null!=
        c&&(a.oa=c,a.isPremiere=!!c&&!b.isLiveContent);if(b=b.thumbnail)a.xe=jG(b)};
        qba=function(a,b){if(b.playerLegacyDesktopYpcTrailerRenderer){var c=b.playerLegacyDesktopYpcTrailerRenderer;a.Fm=c.trailerVideoId||"";var d=(d=b.playerLegacyDesktopYpcTrailerRenderer.ypcTrailer)&&d.ypcTrailerRenderer}else if(b.playerLegacyDesktopYpcOfferRenderer)c=b.playerLegacyDesktopYpcOfferRenderer;else if(b.ypcTrailerRenderer){d=b.ypcTrailerRenderer;var e=d.fullVideoMessage;a.ym=e?g.zH(e):""}c&&(a.Am=c.itemTitle||"",c.itemUrl&&(a.Up=c.itemUrl),c.itemBuyUrl&&(a.Tp=c.itemBuyUrl),a.zm=c.itemThumbnail||
        "",a.Dm=c.offerHeadline||"",a.Cm=c.offerDescription||"",a.Em=c.offerId||"",a.Bm=c.offerButtonText||"",a.Hw=c.offerButtonFormattedText||null,a.Wp=c.overlayDurationMsec||NaN,a.ym=c.fullVideoMessage||"",a.Eg=!0);d&&(c=d.playerVars,a.Cj=c?g.pt(c):null,a.Eg=!0)};
        sba=function(a,b,c,d){b.isLiveDefaultBroadcast&&(a.isLiveDefaultBroadcast=!0);if(b.isPostLiveDvr)a.Ai=!0;else{var e=!1;if(b.isLive){d.livestream="1";a.allowLiveDvr=b.isLiveDvrEnabled?BD()?!0:gI&&5>hI?!1:!0:!1;a.re=27;b.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);if(e=b.latencyClass)a.latencyClass=rba[e]||"UNKNOWN";a.Th=!0;if(b=b.liveChunkReadahead)a.liveChunkReadahead=b;if(c=c&&c.livePlayerConfig)if(c.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0),c.hasSubfragmentedWebm&&(a.On=!0),c.defraggedFromSubfragments&&
        (a.defraggedFromSubfragments=!0),c=c.liveExperimentalContentId)a.liveExperimentalContentId=parseInt(c,10);e=!0}else b.isUpcoming&&(e=!0);e&&(a.oa=!0,d.adformat&&"8"!=d.adformat.split("_")[1]||(a.na("live_fresca_v2")?a.Cc.push("heartbeat"):(a.xk=!0,a.Cc.push("fresca"))),a.Bj=!0,a.nk=!0)}};
        tba=function(a,b){var c=b.thumbnailPreviewRenderer,d=c.controlBgHtml;null!=d?(a.sf=d,a.jd=!0):(a.sf="",a.jd=!1);if(d=c.defaultThumbnail)a.xe=jG(d);a.showShareButton=!!c.shareButton};
        g.iI=function(a){return a.oa&&!a.allowLiveDvr};
        jI=function(a){return a.oa&&a.allowLiveDvr};
        uba=function(a){a.la=a.la.i};
        kI=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.Ma.B};
        lI=function(a){return a.Jf||"detailpage"==kI(a)};
        mI=function(a){if(lI(a)){if("detailpage"==kI(a))return a.Yg||0<a.se;if(!a.na("html5_log_promoted_video_ads_as_non_autoplay")||"adunit"!=kI(a)||!a.Zi)return!0}return!1};
        nI=function(a){return a.oauthToken||a.Ma.Ga};
        bz=function(a){var b=1,c=g.Q(a.Ma.experiments,"html5_default_ad_gain");c&&a.isAd()&&(b=c);return Math.min(1,Math.pow(10,-a.dj/20))||b};
        FH=function(a){var b=["MUSIC_VIDEO_TYPE_ATV","MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"];!a.xj&&dF(a.Ma)&&b.includes(a.musicVideoType)&&(a.xj=!0);return!a.Ma.deviceHasDisplay||a.xj&&a.Ma.xb};
        oI=function(a){return a.na("embeds_enable_hide_thumbnail_for_limited_state_videos")?(a=a.nn)&&a.showError?a.showError:!1:!1};
        VH=function(a){return a.na("disable_rqs")?!1:GH(a,"html5_high_res_logging")};
        GH=function(a,b){return a.na(b)?!0:(a.Tr||"").includes(b+"=true")};
        eI=function(a){try{return Ue(a)}catch(b){return null}};
        DH=function(a,b){var c=b.video_masthead_ad_quartile_urls;c&&(a.Nl=c.quartile_0_url,a.ep=c.quartile_25_url,a.fp=c.quartile_50_url,a.gp=c.quartile_75_url,a.cp=c.quartile_100_url)};
        cI=function(a){return a&&a.baseUrl||""};
        dI=function(a){a=g.rt(a);for(var b in a){var c=a[b];a[b]=g.Oa(c)?c[0]:c}return a};
        CH=function(a){var b={};(0,g.D)(a,function(c){var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0});
        return b};
        BH=function(a){if(a){if(wz(a))return a;a=xz(a);if(wz(a,!0))return a}return""};
        rI=function(a,b){g.J.call(this);var c=this;this.app=a;this.g=!0;this.o=null;this.A={};this.D={};this.l={};this.F=[];this.B={};this.u={};this.i=null;this.H=new Set;this.playerType=b;pI(this,"cueVideoById",this.cueVideoById);pI(this,"loadVideoById",this.loadVideoById);pI(this,"cueVideoByUrl",this.cueVideoByUrl);pI(this,"loadVideoByUrl",this.loadVideoByUrl);pI(this,"playVideo",this.playVideo);pI(this,"pauseVideo",this.pauseVideo);pI(this,"stopVideo",this.stopVideo);pI(this,"clearVideo",this.clearVideo);
        pI(this,"getVideoBytesLoaded",this.getVideoBytesLoaded);pI(this,"getVideoBytesTotal",this.getVideoBytesTotal);pI(this,"getVideoLoadedFraction",this.getVideoLoadedFraction);pI(this,"getVideoStartBytes",this.getVideoStartBytes);pI(this,"cuePlaylist",this.cuePlaylist);pI(this,"loadPlaylist",this.loadPlaylist);pI(this,"nextVideo",this.nextVideo);pI(this,"previousVideo",this.previousVideo);pI(this,"playVideoAt",this.playVideoAt);pI(this,"setShuffle",this.setShuffle);pI(this,"setLoop",this.setLoop);pI(this,
        "getPlaylist",this.getPlaylist);pI(this,"getPlaylistIndex",this.getPlaylistIndex);pI(this,"getPlaylistId",this.getPlaylistId);pI(this,"loadModule",this.loadModule);pI(this,"unloadModule",this.unloadModule);pI(this,"setOption",this.setOption);pI(this,"getOption",this.getOption);pI(this,"getOptions",this.getOptions);pI(this,"mute",this.mute);pI(this,"unMute",this.unMute);pI(this,"isMuted",this.isMuted);pI(this,"setVolume",this.setVolume);pI(this,"getVolume",this.getVolume);pI(this,"seekTo",this.seekTo);
        pI(this,"getPlayerState",this.getPlayerState);pI(this,"getPlaybackRate",this.getPlaybackRate);pI(this,"setPlaybackRate",this.setPlaybackRate);pI(this,"getAvailablePlaybackRates",this.getAvailablePlaybackRates);pI(this,"getPlaybackQuality",function(){return c.getPlaybackQuality(1)});
        pI(this,"setPlaybackQuality",this.setPlaybackQuality);pI(this,"getAvailableQualityLevels",this.getAvailableQualityLevels);pI(this,"getCurrentTime",this.getCurrentTime);pI(this,"getDuration",this.getDuration);pI(this,"addEventListener",this.addEventListener);pI(this,"removeEventListener",this.removeEventListener);pI(this,"getDebugText",this.getDebugText);pI(this,"getVideoData",this.getVideoData);pI(this,"addCueRange",this.addCueRange);pI(this,"removeCueRange",this.removeCueRange);pI(this,"setSize",
        this.setSize);pI(this,"getApiInterface",this.getApiInterface);pI(this,"destroy",this.destroy);pI(this,"showVideoInfo",this.showVideoInfo);pI(this,"hideVideoInfo",this.hideVideoInfo);pI(this,"isVideoInfoVisible",this.isVideoInfoVisible);pI(this,"getSphericalProperties",this.getSphericalProperties);pI(this,"setSphericalProperties",this.setSphericalProperties);this.app.O().Nb||(pI(this,"getVideoEmbedCode",this.getVideoEmbedCode),pI(this,"getVideoUrl",this.getVideoUrl));qI(this,"getInternalApiInterface",
        this.getInternalApiInterface);qI(this,"getAdState",this.getAdState);qI(this,"sendAbandonmentPing",this.sendAbandonmentPing);qI(this,"setLoopRange",this.setLoopRange);qI(this,"getLoopRange",this.getLoopRange);qI(this,"setAutonavState",this.setAutonavState);qI(this,"seekToLiveHead",this.seekToLiveHead)};
        pI=function(a,b,c){a.A[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
        qI(a,b,c);a.F.push(b)};
        sI=function(a,b,c){a.D[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
        qI(a,b,c);a.F.push(b)};
        qI=function(a,b,c){a.l[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)}};
        tI=function(a){a.i||(a.i={},g.Ya(a.i,a.A),g.Ya(a.i,a.D),a.i.addEventListener=(0,g.A)(a.vy,a),a.i.removeEventListener=(0,g.A)(a.wy,a));return a.i};
        vI=function(a,b,c){b=g.Yd(Math.floor(b),0,100);isFinite(b)&&uI(a.app,{volume:b,muted:a.isMuted()},c)};
        wI=function(a,b){uI(a.app,{muted:!0,volume:a.getVolume()},b)};
        xI=function(a,b){uI(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
        zI=function(a){yI(a.app.o);return null};
        g.BI=function(a){var b=a.app.O();return g.P(b.experiments,"embeds_enable_embed_module")&&g.IE(b)?(a=a.app.o,(a=AI(a)?a.i.get("embed"):null)?a.g():null):(a=yI(a.app.o))?a.g:null};
        CI=function(a,b,c){(a=a.app.U)&&a.args&&a.args.error_report_func&&(0,a.args.error_report_func)(b,c)};
        DI=function(){this.endTime=this.startTime=-1;this.Xm="-";this.playbackRate=1;this.visibilityState=0;this.Pm="";this.volume=this.connectionType=this.jf=0;this.muted=!1};
        FI=function(a){this.i=a;this.F=!1;this.g=0;this.u=-1;this.I=this.i.Kc().volume;this.H=this.i.Kc().muted;this.A=NaN;this.l=0;this.La=[];this.o=EI(this.i);this.B=this.D=0};
        GI=function(a){a.o.startTime=a.l;a.o.endTime=a.g;a.La.length&&g.db(a.La).isEmpty()?a.La[a.La.length-1]=a.o:a.La.length&&a.o.isEmpty()||a.La.push(a.o);a.D+=a.g-a.l;a.o=EI(a.i);a.l=a.g};
        HI=function(a){return a.D+a.i.g()-a.l};
        II=function(a){a.La.length&&a.g==a.l||GI(a);var b=a.La;a.La=[];return b};
        JI=function(a,b,c){c-=a.A;return b==a.g&&.5<c};
        KI=function(a,b,c,d){this.Ra=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.Df=this.U=this.isFinal=this.Ga=this.J=this.autoplay=this.autonav=!1;this.ia="yt";this.i=this.o=null;this.Y=!1;this.l="watchtime"==c;this.A="playback"==c;this.N="delayplay"==c;this.R="atr"==c;this.Oa="engage"==c;this.B=!1;this.sa=this.R?"/api/stats/"+c:"//"+b.Fe+"/api/stats/"+c;d&&(this.U=d.fs,d.rtn&&(this.i=d.rtn),this.l?(this.playerState=d.state,0<d.rti&&(this.o=d.rti)):(this.Wa=d.mos,this.gb=d.volume,
        d.at&&(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.ua=d.inview),d.size&&(this.ka=d.size));this.deviceParams=g.qc(b.deviceParams);this.Ba=b.ia;this.experimentIds=b.experiments.experimentIds;this.ca=b.ka;this.ia=b.H;this.region=b.region;this.userAge=b.userAge;this.ma=b.wd;this.tb=jw();this.B=b.sa;this.D=nI(a);this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=mI(a);this.autonav=a.Yg||this.autonav;this.contentVideoId=a.Ng();this.clientPlaybackNonce=a.clientPlaybackNonce;
        this.J=a.jd;a.wj&&(this.I=a.wj,this.Aa=a.Bh);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.rf=a.rf;this.Sd=a.Sd;a.Fa&&(this.za=sx(a.Fa),a.sc&&sx(a.sc)!=this.za&&(this.H=sx(a.sc)));a.fa&&KC(a.fa)&&(this.offlineDownloadUserChoice="1");this.Ja=kI(a);this.Df=a.Df;this.Xg=a.Xg;if(b=ZH(a))this.Ya=b;this.Ii=a.Ii;this.re=a.re;this.eventId=a.eventId;this.playlistId=a.ow||a.playlistId;this.Ql=a.Ql;this.te=a.te;this.ue=a.ue;this.ij=a.ij;this.subscribed=a.subscribed;this.videoId=a.videoId;this.videoMetadata=
        a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Xo=a.Xo;this.referrer=a.referrer;this.cj=a.Hv||a.cj;this.wh=a.wh;this.km=a.km};
        LI=function(a,b){var c=a.D&&xt(),d=a.B&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.D);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,Vc:b}};
        vba=function(a,b,c,d){b.cmt=b.len;b.lact="0";d=d();d=d.toFixed(3);b.rt=(1*d).toString();a=g.qg(a,b);c?g.St(a,c):g.tu(a)};
        NI=function(a){var b={ns:a.ia,el:a.Ja,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.g(a.rf),ei:a.eventId,fmt:a.za,fs:a.U?"1":"0",rt:a.g(a.rb),of:a.Xo,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.Ba,lact:a.tb,live:a.Ya,cl:"269360546",mos:a.Wa,osid:a.osid,state:a.playerState,vm:a.videoMetadata,volume:a.gb};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Ya(b,a.deviceParams);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.J&&(b.dni="1");
        a.isFinal&&(b["final"]="1");a.Df&&(b.splay="1");a.Sd&&(b.delay=a.Sd);a.ca&&(b.hl=a.ca);a.region&&(b.cr=a.region);g.u(a.userAge)&&a.ma&&(b.uga=a.ma+a.userAge);g.u(a.Z)&&(b.len=a.g(a.Z));!a.l&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.i&&(b.rtn=a.g(a.i));a.cj&&(b.feature=a.cj);a.playlistId&&(b.list=a.playlistId);a.te&&(b.ctrl=a.te);a.ue&&(b.ytr=a.ue);a.ij&&(b.ssrt="1");a.H&&(b.afmt=a.H);a.offlineDownloadUserChoice&&(b.ODUC=a.offlineDownloadUserChoice);a.V&&(b.lio=a.g(a.V));
        a.l?(b.idpj=a.Xg,b.ldpj=a.Ii,null!=a.o&&(b.rti=a.g(a.o))):g.u(a.adType)&&(b.at=a.adType);a.ka&&(a.A||a.N)&&(b.size=a.ka);null!=a.ua&&(a.A||a.N)&&(b.inview=a.g(a.ua));a.l&&(b.volume=MI(a,(0,g.Le)(a.segments,function(d){return d.volume})),b.muted=MI(a,(0,g.Le)(a.segments,function(d){return d.muted?1:0})),b.st=MI(a,(0,g.Le)(a.segments,function(d){return d.startTime})),b.et=MI(a,(0,g.Le)(a.segments,function(d){return d.endTime})),(0,g.ij)(a.segments,function(d){return 1!=d.playbackRate})&&(b.rate=MI(a,
        (0,g.Le)(a.segments,function(d){return d.playbackRate}))));
        (0,g.ij)(a.segments,function(d){return 0!=d.visibilityState})&&(b.vis=MI(a,(0,g.Le)(a.segments,function(d){return d.visibilityState})));
        (0,g.ij)(a.segments,function(d){return 0!=d.connectionType})&&(b.conn=MI(a,(0,g.Le)(a.segments,function(d){return d.connectionType})));
        (0,g.ij)(a.segments,function(d){return 0!=d.jf})&&(b.blo=MI(a,(0,g.Le)(a.segments,function(d){return d.jf})));
        (0,g.ij)(a.segments,function(d){return"-"!=d.Xm})&&(b.cc=(0,g.Le)(a.segments,function(d){return d.Xm}).join(","));
        if((0,g.ij)(a.segments,function(d){return!!d.Pm})){var c="au";
        a.A&&(c="au_d");b[c]=(0,g.Le)(a.segments,function(d){return d.Pm}).join(",")}xt()&&a.I&&(b.ctt=a.I,b.cttype=a.Aa,b.mdx_environment=a.mdxEnvironment);
        a.Oa&&(b.etype=g.u(a.u)?a.u:0);a.wh&&(b.uoo=a.wh);a.km&&(b.upt=a.km);return b};
        MI=function(a,b){return(0,g.Le)(b,a.g).join(",")};
        wba=function(a,b,c,d,e,f,h,l,m,n,p,q,v){this.videoData=a;this.Ra=b;this.Kc=c;this.o=d;this.g=e;this.l=f;this.B=h;this.getAudioTrack=l;this.getPlaybackRate=m;this.u=n;this.getVisibilityState=p;this.A=q||function(){};
        this.i=null;this.D=v||function(){}};
        PI=function(a){return OI(a)()};
        OI=function(a){if(!a.i){var b=g.Xa(function(c){var d=(0,g.Bv)();c&&631152E6>=d&&(g.M(Error("invalid coreTime.now value: "+d)),d=(new Date).getTime()+2);return d},g.P(a.Ra.experiments,"html5_validate_yt_now"));
        a.i=g.Xa(function(c){return Math.round(b()-c)/1E3},b());
        a.D()}return a.i};
        RI=function(a){if(navigator.connection&&navigator.connection.type)return QI[navigator.connection.type]||QI.other;if(g.VE(a.Ra)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0};
        EI=function(a){var b=new DI;b.Xm=a.Kc().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.Ra.jf&&(b.jf=1);c=a.getAudioTrack();c.Xa&&c.Xa.id&&"und"!=c.Xa.id&&(b.Pm=c.Xa.id);b.connectionType=RI(a);b.volume=a.Kc().volume;b.muted=a.Kc().muted;return b};
        SI=function(a,b){return g.P(a.Ra.experiments,b)};
        g.TI=function(a,b){this.state=a;this.g=b};
        UI=function(a,b){return g.R(a.state,b)&&!g.R(a.g,b)?1:!g.R(a.state,b)&&g.R(a.g,b)?-1:0};
        g.VI=function(a,b){return 0<UI(a,b)};
        yba=function(a,b,c,d){var e=window.location.search;if(38==b.re&&"books"==a.playerStyle)return e=b.videoId.indexOf(":"),g.qg("//play.google.com/books/volumes/"+b.videoId.slice(0,e)+"/content/media",{aid:b.videoId.slice(e+1),sig:b.bC});if(30==b.re&&"docs"==a.playerStyle)return g.qg("https://docs.google.com/get_video_info",{docid:b.videoId,authuser:b.ce,authkey:b.authKey,eurl:a.ia});if(33==b.re&&"google-live"==a.playerStyle)return g.qg("//google-liveplayer.appspot.com/get_video_info",{key:b.videoId});
        g.P(a.experiments,"log_invalid_namespame_killswitch")||"yt"==a.H||g.M(Error("getVideoInfoUrl for invalid namespace: "+a.H));var f={html5:"1",video_id:b.videoId,cpn:b.clientPlaybackNonce,eurl:a.ia,ps:a.playerStyle,el:kI(b),hl:a.ka,list:b.playlistId,agcid:b.Tx,aqi:b.adQueryId,sts:18155,lact:jw()};g.Ya(f,a.deviceParams);a.Uc&&(f.ecver=a.Uc);a.Z&&(f.forced_experiments=a.Z);b.ze?(f.vvt=b.ze,b.mdxEnvironment&&(f.mdx_environment=b.mdxEnvironment)):nI(b)&&(f.access_token=nI(b));b.adFormat&&(f.adformat=b.adFormat);
        0<=b.slotPosition&&(f.slot_pos=b.slotPosition);b.breakType&&(f.break_type=b.breakType);null!=b.Vq&&(f.ad_id=b.Vq);null!=b.Xq&&(f.ad_sys=b.Xq);null!=b.Nr&&(f.encoded_ad_playback_context=b.Nr);b.Hp&&(f.tpra="1");a.kf&&(f.cc_lang_pref=a.kf);a.lf&&2!=a.lf&&(f.cc_load_policy=a.lf);a.mute&&(f.mute=a.mute);b.gf&&2!=a.gf&&(f.iv_load_policy=b.gf);b.ie&&(f.itct=b.ie);mI(b)&&(f.autoplay="1");b.Yg&&(f.autonav="1");b.eo&&(f.noiba="1");b.isMdxPlayback&&(f.mdx="1",f.ytr=b.ue);b.mdxControlMode&&(f.mdx_control_mode=
        b.mdxControlMode);b.kk&&(f.ytrcc=b.kk);b.ko&&(f.utpsa="1");b.gt&&(f.is_fling="1");b.co&&(f.mute="1");b.vnd&&(f.vnd=b.vnd);if(b.Zh){var h=3===b.Zh.split("|").length;f.force_ad_params=h?b.Zh:"||"+b.Zh}b.ug&&(f.preload=b.ug);c.width&&(f.width=c.width);c.height&&(f.height=c.height);b.Df&&(f.splay="1");b.ypcPreview&&(f.ypc_preview="1");b.Ng()&&(f.content_v=b.Ng());b.ah&&(f.livemonitor=1);a.ce&&(f.authuser=a.ce);a.pageId&&(f.pageid=a.pageId);a.Ja&&(f.ei=a.Ja);a.g&&(f.iframe="1");b.contentCheckOk&&(f.cco=
        "1");b.racyCheckOk&&(f.rco="1");a.xb&&b.po&&(f.live_start_walltime=b.po);a.xb&&b.Gi&&(f.live_manifest_duration=b.Gi);a.xb&&b.playerParams&&(f.player_params=b.playerParams);a.xb&&b.cycToken&&(f.cyc=b.cycToken);a.xb&&b.nw&&(f.tkn=b.nw);0!=d&&(f.vis=d);a.enableSafetyMode&&(f.enable_safety_mode="1");b.Sk&&(f.kpt=b.Sk);b.Tk&&(f.kids_age_up_mode=b.Tk);b.kidsAppInfo&&(f.kids_app_info=b.kidsAppInfo);b.pm&&(f.upg_content_filter_mode="1");a.widgetReferrer&&(f.widget_referrer=a.widgetReferrer.substring(0,128));
        (c=a.bf)&&(f.embedding_app=c);(c=g.TH(b))&&(f.uloc=c);b.wi&&(f.internalipoverride=b.wi);a.embedConfig&&(f.embed_config=a.embedConfig);a.Oj&&(f.co_rel="1");0<a.tb.length&&(f.ancestor_origins=Array.from(a.tb).join(","));void 0!=a.homeGroupInfo?f.home_group_info=a.homeGroupInfo:void 0!=b.homeGroupInfo&&(f.home_group_info=b.homeGroupInfo);void 0!=a.livingRoomAppMode&&(f.living_room_app_mode=a.livingRoomAppMode);a.enablePrivacyFilter&&(f.enable_privacy_filter="1");b.isLivingRoomDeeplink&&(f.is_living_room_deeplink=
        "1");for(var l in f)!xba.has(l)&&f[l]&&512<f[l].length&&(g.M(Error("GVI param too long: "+l)),f[l]="");b=a.u;g.WE(a)&&(b=iz(b.replace(/\b(?:www|web)([.-])/,"tv$1"))||a.u);a=g.qg(b+"get_video_info",f);e&&(a=Pt(a,e));return a};
        WI=function(a){g.J.call(this);this.g=a;this.i=new FI(a);this.u="paused";this.A=NaN;this.F=[10,10,10,40];this.H=this.D=0;this.N=this.R=this.Y=this.U=this.J=this.I=this.l=!1;this.o=NaN};
        XI=function(a,b,c){var d=PI(a.g);c=isNaN(c)?d:c;c=Math.ceil(c);var e=a.F[a.D];a.D+1<a.F.length&&a.D++;c+=e;d=1E3*(c-d);a.A=g.Gs((0,g.A)(a.V,a,c,b),d);return c};
        YI=function(a,b){var c=a.g,d=c.Kc();g.Ya(d,c.videoData.Kc());g.Ya(d,{state:a.u});c=new KI(a.g.videoData,a.g.Ra,b,d);c.rf=a.g.g();a.g.videoData.oa||(c.Z=a.g.o());a.g.videoData.fa&&(d=gD(a.g.videoData.fa,c.rf))&&(c.V=d-c.rf);c.rb=PI(a.g);c.segments=[EI(a.g)];return c};
        ZI=function(a,b){var c=YI(a,"watchtime");c.segments=b;c.rf=a.i.g;return c};
        $I=function(a){a.i.update();return ZI(a,II(a.i))};
        cJ=function(a){a.g.videoData.remarketingUrl&&!a.U&&(aJ(a,a.g.videoData.remarketingUrl),a.U=!0);a.g.videoData.youtubeRemarketingUrl&&!a.Y&&(aJ(a,a.g.videoData.youtubeRemarketingUrl),a.Y=!0);a.g.videoData.googleRemarketingUrl&&!a.R&&(aJ(a,a.g.videoData.googleRemarketingUrl),a.R=!0);a.g.videoData.ppvRemarketingUrl&&!a.N&&(aJ(a,a.g.videoData.ppvRemarketingUrl),a.N=!0);bJ(a)};
        dJ=function(a){a.o=Hs((0,g.A)(a.B,a,"heartbeat"),3E4)};
        bJ=function(a){a.g.videoData.Vb.eventLabel=kI(a.g.videoData);a.g.videoData.Vb.playerStyle=a.g.Ra.playerStyle;a.g.videoData.Zi&&(a.g.videoData.Vb.feature="pyv");a.g.videoData.Vb.vid=a.g.videoData.videoId;var b=a.g.videoData.Vb;a=a.g.videoData;a=a.isAd()||!!a.Zi;b.isAd=a};
        zba=function(a){var b=YI(a,"engage");b.u=1;a=OI(a.g);return g.Xa(vba,b.sa,NI(b),LI(b),a)};
        aJ=function(a,b){a.g.Ra.sa&&a.g.videoData.visitorData&&wt(b)?g.St(b,{Vc:void 0,headers:{"X-Goog-Visitor-Id":a.g.videoData.visitorData}}):g.tu(b,void 0)};
        eJ=function(a,b){rI.call(this,a,b);var c=this;this.g=!1;sI(this,"getPresentingPlayerType",this.getPresentingPlayerType);sI(this,"addInfoCardXml",this.addInfoCardXml);sI(this,"cueVideoByPlayerVars",this.cueVideoByPlayerVars);sI(this,"loadVideoByPlayerVars",this.loadVideoByPlayerVars);sI(this,"preloadVideoByPlayerVars",function(d,e,f,h){return c.preloadVideoByPlayerVars(d,e,f,h)});
        sI(this,"seekBy",this.seekBy);sI(this,"updatePlaylist",this.updatePlaylist);sI(this,"updateLastActiveTime",this.updateLastActiveTime);sI(this,"updateVideoData",this.updateVideoData);sI(this,"canPlayType",this.canPlayType);sI(this,"sendVideoStatsEngageEvent",this.sendVideoStatsEngageEvent);sI(this,"setCardsVisible",this.setCardsVisible);sI(this,"showControls",this.showControls);sI(this,"hideControls",this.hideControls);sI(this,"setSafetyMode",this.setSafetyMode);sI(this,"cancelPlayback",this.cancelPlayback);
        sI(this,"isInline",this.isInline);sI(this,"isAtLiveHead",this.isAtLiveHead);sI(this,"setInline",this.setInline);sI(this,"getVideoAspectRatio",this.getVideoAspectRatio);sI(this,"getPreferredQuality",this.getPreferredQuality);sI(this,"setPlaybackQualityRange",this.setPlaybackQualityRange);sI(this,"onAdUxClicked",this.onAdUxClicked);sI(this,"getProgressState",this.getProgressState);sI(this,"getVisibilityState",this.getVisibilityState);sI(this,"setFauxFullscreen",this.setFauxFullscreen);sI(this,"toggleFullscreen",
        this.toggleFullscreen);sI(this,"getVideoStats",this.getVideoStats);sI(this,"getPlayerSize",this.getPlayerSize);sI(this,"isMutedByMutedAutoplay",this.isMutedByMutedAutoplay);sI(this,"setUseFastSizingOnWatch",this.setUseFastSizingOnWatch);sI(this,"setInternalSize",this.setInternalSize);sI(this,"toggleSubtitles",this.toggleSubtitles)};
        fJ=function(a,b){this.l=a;this.g=b||null;this.i=!1};
        hJ=function(a,b,c){if(b.Ma.Fb&&!a.i){a.i=!0;g.ys("TIMING_ACTION")||xs("TIMING_ACTION",a.l.Tc);a.l.Oa&&xs("CSI_SERVICE_NAME",a.l.Oa);if(a.g){b=a.g.o;for(var d in b)SH(d,b[d],"");d=a.g.l;for(var e in d)gJ(e,d[e],"");e=a.g;e.o={};e.l={}}gJ("yt_pvis",Maa(),"");gJ("yt_pt","html5","");c&&!nH("pbs","")&&a.tick("pbs",c);a=a.l;!g.fF(a)&&!KE(a)&&nH("_start","")&&xH("")}};
        g.iJ=function(a,b,c){g.J.call(this);this.start=a;this.end=b;this.u=Aba++;a=c||{};this.A=a.id||"";this.B=a.priority||7;this.active=!0;this.visible=a.visible||!1;this.style=a.style||"ytp-ad-progress";this.namespace=a.namespace||"";this.color="";if(b=a.color)b=b.toString(16),this.color="#"+Array(7-b.length).join("0")+b;this.i=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(d){return(0,g.bi)(d.thumbnails,function(e){return g.sz(e.url)})}):null;
        this.visible=this.visible;this.style=this.style;this.start=this.start};
        jJ=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
        g.kJ=function(a,b){return a.start-b.start||a.B-b.B||a.u-b.u};
        g.lJ=function(a){return"crn_"+a};
        g.mJ=function(a,b){this.type=a||"";this.id=b||""};
        g.oJ=function(a,b){g.O.call(this);this.Ma=a;this.startSeconds=0;this.bw=!1;this.Va=0;this.title="";this.Ff=0;this.Sa=[];this.Hi=this.ld=!1;this.Bb=this.Pr=this.bj=null;var c=b.session_data;c&&(this.Bb=nt(c));this.views=0;this.Vx=0!=b.fetch;this.Wc=[];this.Va=Math.max(0,b.index||0);this.loop=!!b.loop;this.startSeconds=parseInt(b.startSeconds,10)||0;this.WB="1"==b.mob;this.title=b.playlist_title||"";this.description=b.playlist_description||"";this.author=b.author||b.playlist_author||"";this.xe={};b.video_id&&
        (this.Sa[this.Va]=b);if(c=b.api)"string"==typeof c&&16==c.length?b.list="PL"+c:b.playlist=c;if(c=b.list)switch(b.listType){case "user_uploads":this.Hi||(this.listId=new g.mJ("UU","PLAYER_"+c),nJ(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:c}));break;case "user_favorites":this.Hi||(this.listId=new g.mJ("FL","PLAYER_"+c),nJ(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:c}));break;case "search":Bba(this,c);break;default:var d=b.playlist_length;d&&
        (this.Ff=parseInt(d,0));this.listId=new g.mJ(c.substr(0,2),c.substr(2));(c=b.video)?(this.Sa=c.slice(0),this.ld=!0):Cba(this)}else b.playlist&&(c=b.playlist.toString().split(","),0<this.Va&&(this.Sa=[]),c.forEach(function(e){e&&this.Sa.push({video_id:e})},this),this.Ff=this.Sa.length,c=this.Sa.map(function(e){return e.video_id}),nJ(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:c.join(",")}),this.ld=!0);
        this.setShuffle(!!b.shuffle);if(c=b.suggestedQuality)this.quality=c;this.xe=gG(b,"playlist_");this.jw=(c=b.thumbnail_ids)?c.split(","):[]};
        pJ=function(a){return!!(a.playlist||a.list||a.api)};
        Dba=function(a){var b=a.Va+1;return b>=a.Ff?0:b};
        qJ=function(a,b){a.Va=g.Yd(b,0,a.Ff-1);a.startSeconds=0};
        Bba=function(a,b){if(!a.Hi){a.listId=new g.mJ("SR",b);var c={search_query:b};a.WB&&(c.mob="1");nJ(a,"/search_ajax?style=json&embeddable=1",c)}};
        Cba=function(a){if(!a.Hi){var b=b||a.listId;b={list:b};var c=a.ra();c&&c.videoId&&(b.v=c.videoId);nJ(a,"/list_ajax?style=json&action_get_list=1",b)}};
        nJ=function(a,b,c){a.Vx&&g.St(g.qg(b,c),{format:"JSON",onSuccess:(0,g.A)(function(d,e){rJ(this,e)},a),
        onError:(0,g.A)(function(){this.L("error")},a)})};
        rJ=function(a,b){if(b.video&&b.video.length){a.title=b.title;a.description=b.description;a.views=b.views;a.author=b.author;var c=b.loop;c&&(a.loop=c);c=a.ra();a.Sa=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Sa.push(e))},a);
        a.Ff=a.Sa.length;var d=b.index;d?a.Va=d:a.Xh(c);a.setShuffle(!1);a.Hi=!1;a.ld=!0;a.bj&&a.bj()}};
        Eba=function(){sJ=(0,g.Bv)()};
        uJ=function(a){var b=g.ys("BG_I",null),c=g.ys("BG_IU",null),d=g.ys("BG_P",null);d&&(g.tJ.Sc?0:!sJ||72E5<(0,g.Bv)()-sJ)&&(b||c)&&g.tJ.initialize(b,c,d,Eba,a)};
        g.vJ=function(a){a=void 0===a?{}:a;a=void 0===a?{}:a;return g.tJ.g?g.tJ.g.invoke(void 0,void 0,a):null};
        wJ=function(a,b){var c={};this.i=(c.c1a=(0,g.A)(this.u,this),c.c3a=(0,g.A)(this.A,this),c.c6a=(0,g.A)(this.o,this),c);this.K=a;this.l=!!b;this.K&&this.K.Gg?this.g=g.pt(this.K.Gg):this.g=[]};
        xJ=function(a){return a.l?!!g.tJ.g:(a=g.z("yt.abuse.player.botguardInitialized"))&&a()};
        yJ=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
        zJ=function(a,b){this.policy=a;this.U=b;this.l=NaN;this.u=[];this.B=[];this.i=this.F=NaN;this.R=this.o=this.H=0;this.A=NaN;this.Y=0;this.J=!1;this.D=null;this.N=0};
        AJ=function(a){return{startTime:a.A/a.o,duration:a.R/a.o}};
        BJ=function(a){return!isNaN(a.i)&&a.o?a.i/a.o:a.Y};
        CJ=function(a){a.o&&!isNaN(a.F)&&(a.i=Math.floor(a.F*a.o),a.F=NaN)};
        DJ=function(a,b){var c=a.u.length,d=new Uint8Array(c+b.byteLength);d.set(a.u,0);d.set(new Uint8Array(b.buffer,b.byteOffset,b.byteLength),c);a.u=[];return new DataView(d.buffer)};
        EJ=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.u.push(b.getUint8(d));0<c&&a.B.push(new DataView(b.buffer,b.byteOffset,c))};
        GJ=function(a,b){zJ.call(this,a,b);this.g=new FJ(0,0,null);this.l=8};
        HJ=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.g=new FJ(b,d,a.g);return 8};
        IJ=function(a){return 0==a.g.type||1836019574==a.g.type||1952867444==a.g.type||1936286840==a.g.type||1953653094==a.g.type||1836019558==a.g.type||1836476516==a.g.type};
        JJ=function(a,b,c){return new Zz(b,c,a.g.size,a.g.type,!0)};
        FJ=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0};
        LJ=function(a,b){zJ.call(this,a,b);this.g=new KJ(0,0,null);this.I=NaN;this.o=1E3;this.l=32};
        KJ=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=0};
        Fba=function(a,b){this.B=a;this.u=b;this.A=a.ly;this.o=new Uint8Array(this.A);this.l=this.i=0;this.g=null;this.D=[];this.F=this.H=null};
        NJ=function(a,b){if(1==b.info.type)a.H=eB(0,b.g.getLength());else if(2==b.info.type){if(!a.g||1!=a.g.type)return;a.F=eB(a.l*a.A+a.i,b.g.getLength())}else if(3==b.info.type){if(3==a.g.type&&!kB(a.g,b.info)&&(a.D=[],b.info.i!=mB(a.g)||0!=b.info.l))return;if(b.info.o)a.D.map(function(c){return MJ(a,c)}),a.D=[];
        else{a.D.push(b);a.g=b.info;return}}MJ(a,b);a.g=b.info;Gba(a)};
        MJ=function(a,b){for(var c=0,d=wB(b.g);c<d.length;){var e=Math.min(d.length-c,a.o.byteLength-a.i),f=new Uint8Array(d.buffer,d.byteOffset+c,e);a.o.set(f,a.i);a.i+=e;c+=e;a.i==a.o.length&&(WF(a.B.A,a.u.info,a.l,a.o),a.o=new Uint8Array(a.A),a.i=0,a.l+=1)}};
        Gba=function(a){if(a.g&&a.g.A){if(a.i){var b=new Uint8Array(a.o.buffer,0,a.i);WF(a.B.A,a.g.g.info,a.l,b)}b=g.qc(a.u.F);b.url="local://localhost/videoplayback?"+ot({lmt:a.u.lastModified,docid:a.B.A,fmtid:a.u.info.id,csz:a.A,clen:a.l*a.A+a.i});b.lmt=""+a.u.lastModified;b.init=a.H.toString();b.index=a.F.toString();b=ot(b);vaa(a.B.A,!!a.u.info.video,b)}};
        Hba=function(a){for(var b=new Uint8Array(0),c=new DataView(a.buffer,a.byteOffset,a.length),d=0;d<a.length-8;){var e=c.getUint32(d);if(1>=e)break;var f=c.getUint32(d+4);if(1836019574==f)d+=8;else{if(1886614376==f){f=a.subarray(d,d+e);var h=new Uint8Array(b.length+f.length);h.set(b);h.set(f,b.length);b=h}d+=e}}return b};
        Iba=function(a){a=FA(a,1886614376);(0,g.D)(a,function(b){return!b.i});
        return(0,g.Le)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})};
        Jba=function(a){var b=ci(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0;
        (0,g.D)(a,function(e){c.set(e,d);d+=e.length});
        return c};
        OJ=function(a,b,c,d){var e=this;this.i=a;a=dB(this.i.get("range")||"");if(!a)throw Error("bad range");this.o=a;this.u=c;this.status=0;this.response=null;this.g=[];this.ld=0;this.l="";Kba(this).then(d,function(f){e.l=""+f||"unknown_err";d()});
        b()};
        Kba=function(a){var b,c,d,e,f,h,l,m,n,p,q,v,x;return Da(function(B){if(1==B.g){a.status=200;b=a.i.get("docid");c=a.i.get("fmtid");d=+a.i.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.o;f=Math.floor(e.start/d);h=Math.floor(e.end/d);l=f}if(5!=B.g)return l<=h?B=va(B,xaa(b,c,l),5):(B.g=0,B=void 0),B;m=B.l;n=l*d;p=(l+1)*d;q=Math.max(0,e.start-n);v=Math.min(e.end+1,p)-(q+n);x=new Uint8Array(m.buffer,q,v);a.g.push(x);a.ld+=v;a.ld<e.length&&a.u((0,g.H)(),a.ld);l++;B.g=2})};
        PJ=function(a,b,c,d,e,f){this.status=0;this.F=this.response=null;this.U=d;this.N=c;this.Y=e;this.u=f;this.o=[];this.l=null;this.i=this.g=0;Lba++;this.A=null;this.B=this.u.bf&&window.AbortController?new AbortController:null;c={method:"GET",credentials:"include"};this.B&&(c.signal=this.B.signal);a=new Request(a,c);fetch(a).then(As((0,g.A)(this.FF,this)),As((0,g.A)(this.Pt,this)));(0,g.H)();this.R=this.D=this.H=this.I=!1;this.J="";b()};
        UJ=function(a,b){a.i+=b.length;var c=b.length;var d=QJ(a)?1:Math.max(RJ(a)/2,16384);c=c>=d;d=b.length+a.g>RJ(a);a.R?((c||d)&&0!==a.g&&SJ(a),c?a.o.push(b):TJ(a,b)):(TJ(a,b),a.i>=(QJ(a)?1:16384)&&SJ(a))};
        SJ=function(a){a.R=!0;a.o.push(a.l.subarray(0,a.g));a.g=0;a.l=a.I?null:new Uint8Array(RJ(a))};
        TJ=function(a,b){if(b.length+a.g>RJ(a)){var c=new Uint8Array(a.g+b.length);c.set(a.l,0);a.l=c}a.l.set(b,a.g);a.g+=b.length};
        VJ=function(a){a.A.read().then(As((0,g.A)(a.NC,a)),As((0,g.A)(a.Pt,a)));(0,g.H)()};
        XJ=function(a){if(!a.D){a.I=!0;if(WJ(a)&&!a.o.length&&!a.g&&!a.H&&a.i){Iz(a);if(!a.l||8>a.l.length)a.l=new Uint8Array(8);var b=new DataView(a.l.buffer,0,8);b.setUint32(0,8);b.setUint32(4,1936419184);a.g=8;a.i+=8}a.U()}};
        QJ=function(a){return a.u.Gb&&a.u.g&&Iz(a)};
        WJ=function(a){var b=a.Bc("content-type");b="audio/mp4"===b||"video/mp4"===b;return a.u.Fe&&a.u.g&&Iz(a)&&b};
        RJ=function(a){a=a.ai()||0;return Math.max(16384,.125*a)};
        YJ=function(a,b,c,d,e){this.status=0;this.response=null;this.i=this.o=!1;this.l=NaN;this.g=new XMLHttpRequest;this.g.open("GET",a);this.g.responseType="arraybuffer";this.g.withCredentials=!0;this.g.onreadystatechange=(0,g.A)(this.QA,this);this.u=d;this.B=c;this.A=e;a=As((0,g.A)(this.OA,this));this.g.addEventListener("load",a,!1);this.g.addEventListener("error",a,!1);this.g.send();b();this.g.addEventListener("progress",As((0,g.A)(this.PA,this)),!1)};
        Mba=function(a,b){this.i=a;this.A=this.u=!1;this.length=b?b:0;this.l=0;this.g=[];this.o=null;this.length?1!=this.i.length||this.i[0].Ea||(this.i[0].Ea=this.length):1==this.i.length||(0,g.bi)(this.i,function(c){return!!c.range})};
        Nba=function(a){return a.length-a.l+a.g.reduce(function(b,c){return b+c.g.getLength()},0)};
        Oba=function(a,b){this.i=a;this.g=b};
        ZJ=function(a,b){if(0>b)return!0;var c=a.g.ab();return b<c||b==c&&!a.i.N||b==c&&(c=gC(a.g))&&b==c.fb?!0:!1};
        Pba=function(a,b,c){if(!ZJ(a,b))return 0;if(!a.i.g||!isNaN(c)&&0<c)return 2;if(0>b)return 1;c=a.g.ab();return b<c||b==c&&(a=gC(a.g))&&b==a.fb&&!a.g?2:1};
        Qba=function(a){this.A=a;this.o=NaN;this.u=[];this.l=this.g=this.i=0};
        Rba=function(a,b,c,d,e){this.za=null;this.i=a;this.Aa=b;this.Ba=c;this.J=d;this.B=e;this.ca=this.g=NaN;this.sa=0;this.U=this.ma=this.l=this.A=NaN;this.ka=this.ia=this.o=!1;this.u=0;this.Z=pE(this.i);this.V=NaN;this.I=this.F=Infinity;this.R=NaN;this.ua=!1;this.H=this.N=NaN;this.D=this.Y=null};
        $J=function(a){return{rt:((0,g.H)()-a.g).toFixed(),lb:a.l.toFixed(),pt:(1E3*a.V).toFixed(),pb:a.Aa.toFixed(),stall:(1E3*a.u).toFixed(),elbowTime:(a.ca-a.g).toFixed(),elbowBytes:a.sa.toFixed()}};
        aK=function(a){a.H||(a.H=a.za(),3==a.H&&(a.Y=new Qba(a.i)));return a.H};
        fK=function(a,b,c,d){var e=(b-a.A)/1E3,f=c-a.l,h=aK(a);if(3==h&&f){var l=a.Y;l.u.push({Wk:f,Gp:isNaN(l.o)?NaN:d-l.o,xK:d});l.o=d}a.o?1==h&&0<f&&(.2<e||1024>f?(a.u+=e,.2<e&&eK(a,.05,f)):eK(a,e,f),a.ka=!0):bK(a,c)&&(1==h&&(d=(b-a.g)/1E3,cK(a)||dK(a)||(h=a.i,h.D.i(1,d),jE(h))),a.ca=b,a.sa=c,a.o=!0);dK(a)||mE(a.i,e,f);a.A=b;a.l=c};
        eK=function(a,b,c){dK(a)||(b=Math.max(b,.05),a=a.i,a.g.i(b,c/b),a.o=RB())};
        hK=function(a,b,c){c=Math.round(c/1024);a.D&&a.D.push(gK(b-a.ma,c-a.U));a.ma=b;a.U=c};
        bK=function(a,b){return b?a.B&&1!=aK(a)?!0:b>=a.i.l.g:!1};
        iK=function(a){return bK(a,a.l)};
        jK=function(a){a.R=a.g+1E3*a.Z.delay;a.ua=!1};
        kK=function(a,b){var c=a.J.g[0].i;var d=a.B;if(ZJ(d,c))d=b;else{var e=0;d.i.g&&(e=.2);d=a.g+1E3*(d.g.g+e)}a.F=Math.min(a.F,d);d=a.B;c=Pba(d,c,a.J.l);2==c?c=b:(c=c?b:a.g+1E3*d.g.g,d.i.g&&(c+=1E3*d.g.g));a.I=Math.min(a.I,c);a.F<=a.g?jK(a):(a.R=a.F,a.ua=!0)};
        cK=function(a){a.B&&kK(a,(0,g.H)());return a.ua};
        lK=function(a,b){b=void 0===b?(0,g.H)():b;if(a.B){kK(a,b);if(a.H?a.B&&1!=aK(a):a.F!=a.I){var c=a.I;if(b<c){a.N=a.I;return}}else c=a.F;c=Math.max(c,a.R)}else c=a.R;var d=a.Aa-a.l;0>d&&(d=0);d=1E3*(d*a.Z.stall+d/a.Z.byterate);d=iK(a)?d+b:d+Math.max(b,c);a.N=d};
        dK=function(a){return Qz(a.J.i.i)};
        gK=function(a,b){for(var c="";4095<a;)c+=gK(4095,0),a-=4095;for(;4095<b;)c+=gK(a,4095),b-=4095,a=0;return c+("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(a&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b>>6&63)+"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_".charAt(b&63))};
        mK=function(a,b,c,d){this.o=a;this.info=b;this.timing=c;this.U=d;this.state=1;this.g=this.Y=null;this.B=this.R=0;this.N=new g.L(this.KF,a.H,this);this.u=this.i=this.D=null;this.A=0;this.I=this.l=null;this.J=0;this.V=this.H=!1;this.F=this.o.Ga&&(XB(this.info)||WB(this.info));this.Z=!1};
        Sba=function(a,b){a.D=b};
        nK=function(a){var b=$J(a.timing);b.shost=a.i?Pz(a.i.g):"";b.rn=a.R.toString();a.A&&(b.rc=a.A.toString());b.itag=""+sx(a.info.g[0].g.info);b.ml=""+ +a.info.g[0].g.Ob();b.sq=""+a.info.g[0].i;if(a.i){var c=a.i.g;Oz(c);var d=decodeURIComponent(c.get("mn")||"").split(",");b.ifi=""+ +("/videoplayback"==c.i&&1<d.length&&!!d[1])}410!=a.A&&500!=a.A&&503!=a.A||(b.fmt_unav="true");a.g&&a.g.vl()&&(b.msg=a.g.vl());return b};
        oK=function(a){a.i&&Pz(a.i.g);return MB(a.U,a.i?Pz(a.i.g):"")};
        Tba=function(a,b){if(400<=b.status)return a.u="net.badstatus",7;if(!b.Nn())return a.u=204==b.status?"net.nocontent":"net.connect",7;var c="";pK(a)&&(c=b.Co(),2048<c.length?c="":(c=HA(c),c=qz(c)?c:""));if(c){var d=oK(a);RB();d.started=0;d.i=0;d.g=0;d=a.info;var e=a.i;g.TB(d.i,e,c);d.requestId=e.get("req_id");return 5}c=b.ul();if((d=!!a.I&&a.I.length)&&d!=c||b.ip())return a.u="net.closed",7;qK(a,!0);if(a.o.Oq&&!d&&a.l){d=a.l.g;if(e=d.length){a:if(d=d[0],1==d.info.g.info.containerType&&0==d.info.l&&
        d.info.o){d=zB(d);for(e=0;e+4<d.byteLength;){var f=d.getUint32(e);if(!f){d=!1;break a}e+=f}d=e==d.byteLength}else d=!0;e=!d}if(e)return a.u="net.closed",7}f=rK(a)?b.Bc("X-Bandwidth-Est"):0;if(d=rK(a)?b.Bc("X-Bandwidth-Est3"):0)a.V=!0,a.o.eq&&(f=d);d=a.timing;e=(0,g.H)();f=f?parseInt(f,10):0;if(!d.ia){d.ia=!0;if(!dK(d)){e=e>d.g&&4E12>e?e:(0,g.H)();hK(d,e,c);fK(d,e,c);var h=aK(d);if(2==h&&f)eK(d,d.l/f,d.l);else if(2==h||1==h)f=(e-d.g)/1E3,(f<=d.i.l.i||!d.i.l.i)&&!d.ka&&iK(d)&&eK(d,f,c),iK(d)&&kE(d.i,
        c,d.u);c=d.i;e=(e-d.g)/1E3;f=d.V;h=WB(d.J);c.B.i(e,d.l/e);c.o=RB();h||c.i.i(1,e-f)}d.o&&(d.o=!1)}c=oK(a);RB();c.started=0;c.i=0;c.g=0;a.info.i.g=0;return 6};
        tK=function(a){if("net.timeout"==a.u){var b=a.timing,c=(0,g.H)();if(!dK(b)){c=c>b.g&&4E12>c?c:(0,g.H)();hK(b,c,1024*b.U);var d=(c-b.g)/1E3;if(2!=aK(b))if(iK(b))b.u+=(c-b.A)/1E3,kE(b.i,b.l,b.u);else{if(!cK(b)&&!dK(b)){var e=b.i;e.D.i(1,d);jE(e)}b.ca=c}e=b.i;var f=b.V,h=WB(b.J);e.B.i(d,b.l/d);e.o=RB();h||e.i.i(1,d-f);mE(b.i,(c-b.A)/1E3,0)}}else(0,g.H)();"net.nocontent"!=a.u&&("net.timeout"==a.u||"net.connect"==a.u?(b=oK(a),b.i+=1):(b=oK(a),b.g+=1),a.info.i.g++);sK(a,7)};
        uK=function(a){if(1==a.state)return!0;a=oK(a);return 100>a.i&&6>a.g};
        sK=function(a,b){a.state=b;if(5<=a.state)if(a.o.od)vK(a);else{var c=a.timing;c.o&&(c.o=!1)}a.D&&a.D(a)};
        wK=function(a,b){if(b){var c=oK(a);c.l+=1}vK(a);a.u="net.timeout";tK(a)};
        rK=function(a){return(0,g.bi)(a.info.g,function(b){return 3==b.type})};
        vK=function(a){if(a.g){var b=a.g;a.g=null;b.abort()}a=a.timing;a.o&&(a.o=!1)};
        pK=function(a){var b=a.g.Bc("content-type"),c=a.g.ai();(b=(!xK(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&xK(a)&&QJ(a.g);return b};
        Uba=function(a,b){var c=(0,g.A)(a.mF,a),d=(0,g.A)(a.pF,a),e=(0,g.A)(a.oF,a),f=(0,g.A)(a.nF,a);return Qz(a.i.g)?new OJ(a.i,d,e,c):a.o.D&&(a.o.qq&&!isNaN(a.info.l)&&a.info.l>a.o.Qv?0:Hz()&&rK(a))?new PJ(b,d,e,c,f,a.o):new YJ(b,d,e,c,f)};
        xK=function(a){return a.g?a.g.Ep():!1};
        yK=function(a){return 2<=a.state&&!!a.l&&!!a.l.g.length};
        qK=function(a,b){if(b||xK(a)&&!pK(a)){if(!a.l){if(xK(a))a.info.range&&(c=a.info.range.length);else var c=a.g.ul();a.l=new Mba(a.info.g,c)}for(;a.g.Ef();){c=a.l;for(var d=a.g.Do(),e=b&&!a.g.Ef(),f=0,h=0,l=g.r(c.i),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Ea<=c.l)f+=m.Ea;else{var n=c;var p=m;1==p.type?(n.u=!0,p=!1):3==p.type||4==p.type?(p=n.u&&!n.A,n.A=!0):p=!1;n=c;var q=c.l-f;p=p||m.g.Jt();var v=d.length-h;m.range&&(v=Math.min(m.Ea-q,v));q=qB(m,m.l+q,v,m.range?m.l+q+v==m.range.length:
        !!e);var x=new Uint8Array(d.buffer,d.byteOffset+h,v);n.g.push(new yB(q,x,p));n=v;c.l+=n;h+=n;f+=m.Ea;if(h==d.length)break}}}};
        Vba=function(a){if(!a.o.g||!isNaN(a.info.l)&&0<a.info.l)return!1;if(!a.g||!a.g.Vg())return!0;if(!Iz(a.g))return!1;if(isNaN(a.info.l)){var b=a.g.Bc("x-head-seqnum");if(b&&parseInt(b,10)>a.info.g[0].i)return!1}return!0};
        zK=function(a,b,c){g.O.call(this);this.B=0;this.l=a;this.o=[];this.i=null;this.A=b;this.U=c;this.u=this.D=NaN;this.Y=this.J=this.R=this.g=this.F=null;this.N=!1;this.I=this.H=null;this.l.A&&(this.I=new Fba(this.l,this.A));this.l.R&&(2==this.A.info.containerType?this.g=new LJ(this.l,this.U):this.g=new GJ(this.l,this.U));this.V=!1};
        AK=function(a){return a.o.length?a.o[0]:null};
        BK=function(a){return a.o.length?a.o[a.o.length-1]:null};
        CK=function(a,b,c){b=Wba(a,b,c);(0,g.D)(b,function(d){a.o.push(d);a.I&&NJ(a.I,d)})};
        IK=function(a,b){try{if(1==b.info.type){var c=zB(b);if(!a.l.iq&&wx(b.info.g.info)&&"bt2020"==b.info.g.info.ra().primaries){var d=new IA(c);if(JA(d,[408125543,374648427,174,224,21936,21937])){var e=MA(d);129==c.getUint8(e)&&1==c.getUint8(e+1)&&c.setUint8(e+1,9)}}DK(b);EK(b);FK(a,b)&&(CB(b),DB(b));if(a.A.info.audio&&g.xx(b.info.g.info)){var f=zB(b),h=g.sA(f,0,1701606260),l=g.sA(f,0,1836476516);if(h&&l){h.skip(2);var m=aA(h),n=cA(h);c=[];d=[];e=[];f=[];if(m)for(m=0;m<n;++m)c.push(dA(h)),d.push(dA(h)),
        e.push(aA(h)),f.push(aA(h));else for(m=0;m<n;++m)c.push(bA(h)),d.push(bA(h)),e.push(aA(h)),f.push(aA(h));var p=c;var q=d;var v=tA(l);var x=new mA(q[0]/v,p[0]/v)}else x=null;if(p=x){if(g.xx(b.info.g.info))for(var B=zB(b),C=g.sA(B,0,1701082227);C;)q=C,q.type=1936419184,q.data.setUint32(q.offset+4,1936419184),C=g.sA(B,C.offset+C.size,1701082227);a.V=!0;a.l.Uc&&a.L("gaplessinfo",p)}}}b.info.g.Kk(b);GK(a,b)}catch(E){g.M(E),B=oB(b.info),B.hms="1",HK(a,B)}a.I&&NJ(a.I,b)};
        Xba=function(a){var b=a.o.reduce(function(c,d){return c+d.g.getLength()},0);
        a.i&&(b+=a.i.g.getLength());return b};
        JK=function(a){return(0,g.Le)(a.o,function(b){return b.info})};
        KK=function(a,b){a.N=!1;a.H&&!a.l.zd&&a.L("placeholderrollback",a.H);a.H=null;if(a.g){var c=isNaN(a.u)?b.info.g[0].range?b.info.g[0].B:isNaN(a.g.A)?BJ(a.g):AJ(a.g).startTime:a.u;a.g.reset();a.J=a.Y;a.u=c}a.R=null};
        LK=function(a){return a.g?BJ(a.g):a.D||0};
        DK=function(a){var b=a.info.g.info;ux(b)&&!wx(b)&&(a=zB(a),VA(new IA(a)),PA([408125543,374648427,174,224],21936,a))};
        EK=function(a){2==a.info.g.info.containerType&&a.info.Ud()&&(a=zB(a),VA(new IA(a)),PA([408125543,374648427,174,224],30320,a)&&PA([408125543,374648427,174,224],21432,a))};
        Wba=function(a,b,c){var d={};if(!c.verify(d)||c.info.g.ho()){var e=Object.assign(d,oB(c.info));e.verification="1";HK(a,e)}a.A.Ed()&&c.l&&c.info.Ud()&&zB(c);c.info.o&&(a.Y=c.info);if(!a.A.Ed()){var f=a.R;f&&rB(c.info,f);!a.g&&FK(a,c)&&CB(c);var h=c;!a.J||(a.l.Nj?kB(a.J,h.info,!0):lB(a.J,h.info))||(a.g&&a.g.reset(),a.D=NaN,a.B=0);a.J=h.info;if(a.g)b:{var l;if(!(l=!isNaN(a.u))){var m=a.g;l=!(!isNaN(m.i)||!isNaN(m.F))}l&&(a.g.zp(isNaN(a.u)?isNaN(a.D)?h.info.startTime:a.D:a.u),a.u=NaN);var n=zB(h),p=a.g.process(n);
        if(h.info.o&&!a.g.Zs()&&!a.l.Oj){var q=oB(h.info);q.partialbox="1";HK(a,q)}if(g.xx(h.info.g.info)){var v=b.timing,x=!!h.info.l&&1936286840!=p&&!(a.l.Fe&&1936419184==p),B=h.info.o;if(3==aK(v)){var C=v.Y;if(C.u.length){var E=C.u.shift(),F=E.Gp;x||(E.Wk-=Math.min(E.Wk,1500),E.Gp=0);C.i+=E.Wk;C.g+=E.Gp;C.l+=isNaN(F)?0:F;if(B){if(!(0>=C.g)){var G=C.A,N=C.g/1E3,Z=C.l/1E3;G.g.i(void 0===Z?N:Z,C.i/N);G.o=RB()}C.g=0;C.i=0;C.l=0}}}}if(a.l.wq&&a.l.g){if(!a.g.J&&!h.info.o){var aa=null;break b}}else if(isNaN(a.g.A)){aa=
        null;break b}var ya=a.g,Nc=h.info.g.info;if(ya.B.length){ya.J=!1;for(var wc=0,cg=g.r(ya.B),Oc=cg.next();!Oc.done;Oc=cg.next())wc+=Oc.value.byteLength;if(!ya.D||ya.D.length-ya.N<wc)ya.D=new Uint8Array(Math.max(wc,ya.policy.Mr+Math.round(Nc.g*ya.policy.ir))),ya.N=0;var dg=ya.N,ek=dg,eg=g.r(ya.B);for(Oc=eg.next();!Oc.done;Oc=eg.next()){var wi=Oc.value;ya.D.set(new Uint8Array(wi.buffer,wi.byteOffset,wi.byteLength),dg);dg+=wi.byteLength}ya.B.length=0;ya.N=dg;var fq=new DataView(ya.D.buffer,ek,wc)}else fq=
        null;var xc=fq;if(xc){var xi=h.info.l+h.info.Ea-a.g.u.length-xc.byteLength,JD=qB(h.info,xi,xc.byteLength,h.info.o),yi=h.l&&!xi,gq=new Uint8Array(xc.buffer,xc.byteOffset,xc.byteLength);aa=new yB(JD,gq,yi)}else aa=null}else{var zi;a.l.I?zi=a.U(AB(h),1):zi=isNaN(a.u)?isNaN(a.D)?h.info.startTime:a.D:a.u;a.u=NaN;var IF=zi;h.o=IF;if(g.xx(h.info.g.info)){for(var oV=zB(h),pV=h.info.g.g,bn=NaN,JF=NaN,Iq=0;vA(oV,Iq);){var vh=wA(oV,Iq);isNaN(bn)&&(1936286840==vh.type?bn=BA(vh):1836476516==vh.type&&(bn=tA(vh)));
        if(1952867444==vh.type){!bn&&pV&&(bn=uA(pV));var qV=zA(vh);isNaN(JF)&&(JF=Math.round(IF*bn)-qV);yA(vh,qV+JF)}Iq=xA(vh.type)?Iq+8:Iq+vh.size}var lw=!0}else{var wh=new IA(zB(h));var Yba=h.l?wh:new IA(new DataView(h.info.g.g.buffer));var Jq=IF,Zba=ZA(Yba),$ba=wh.g;wh.g=0;if($A(wh)&&LA(wh,231)){var rV=NA(wh,!0);Jq=Math.floor(1E9*Jq/Zba);if(Math.ceil(Math.log(Jq)/Math.log(2)/8)>rV)lw=!1;else{for(var KF=rV-1;0<=KF;KF--)wh.i.setUint8(wh.g+KF,Jq&255),Jq>>>=8;wh.g=$ba;lw=!0}}else lw=!1}if(lw)a.D=zi+BB(h);
        else{var sV=oB(h.info);sV.smst="1";HK(a,sV)}aa=h}var tV=aa;if(!tV)return[];c.l&&c.info.Ud()&&zB(c);c=tV;FK(a,c)&&(a.g&&CB(c),DB(c),c.i&&(a.R=c?c.i:null,a.N=!!a.g,rB(c.info,c.i),rB(a.J,c.i),!c.info.g.g&&c.l&&c.i.o&&(c.info.g.g=xB(c.g,c.i.o))));c.l&&(DK(c),EK(c));var pe=a.R;if(pe){if(c.info.o){var uV=c;a.N=!1;a.H=null;if(a.g){var vV=AJ(a.g);a.g.hk();var LF=vV.startTime;var wV=vV.duration}else LF=AB(uV),wV=BB(uV);var yV=MK(pe,LF,wV,!1);a.L("segmentinfo",yV);var mw=pe.g["Cuepoint-Type"]?new iA(NK?parseFloat(pe.g["Cuepoint-Playhead-Time-Sec"])||
        0:-(parseFloat(pe.g["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(pe.g["Cuepoint-Total-Duration-Sec"])||0,pe.g["Cuepoint-Context"],pe.g["Cuepoint-Identifier"]||"",aca[pe.g["Cuepoint-Event"]||""]||"unknown",1E3*(parseFloat(pe.g["Cuepoint-Playhead-Time-Sec"])||0)):null;mw&&(mw.g+=LF,a.L("cuepoint",mw,pe.i));var zV=yV}else{if(a.N&&a.g&&!isNaN(a.g.A)){var NF=MK(pe,AJ(a.g).startTime,pe.B,!0);a.H=NF;a.L("placeholderinfo",NF);a.N=!1;var AV=NF}else AV=null;zV=AV}var BV=zV}else BV=null;var OF=BV;var CV=c;
        if(a.l.ru)if(OF){sB(CV.info,OF);for(var DV=g.r(b.info.g),PF=DV.next();!PF.done;PF=DV.next())sB(PF.value,OF)}else a.H&&sB(CV.info,a.H);c.info.o&&(a.R=null);GK(a,c)}if(a.l.rq&&!a.A.Ed()&&OK(a,c)&&jB(c.info)&&c.info.duration&&!a.l.R){var EV=c;a.B+=1E3*(BB(EV)-EV.info.duration);if(a.F&&Math.abs(a.B-a.F.B)>=a.l.Gv){var sb=c,RF=(a.F.B-a.B)/1E3,FV=BB(sb)+RF,GV=zB(sb),HV=g.sA(GV,0,1936286840);var SF=HV?BA(HV):NaN;if(isNaN(SF)){var IV=sb.info.g.g,JV=g.sA(GV,0,1836476516);SF=JV?tA(JV):IV?uA(IV):NaN}var bca=
        FV*SF;var UF=PK(a,sb);if(UF){var KV=qA(UF,bca);if(KV){var LV=DA(UF);a.i&&(LV-=a.i.g.getLength(),a.i=null);var Qi=LV;sb.g.getLength();Qi=Math.min(Qi,sb.info.Ea);var cca=new gB(sb.info.type,sb.info.g,sb.info.range,"splitSlice1_"+sb.info.D,sb.info.i,sb.info.startTime,sb.info.duration,sb.info.l,Qi,!1,!1),Kq=wB(sb.g),dca=new Uint8Array(Kq.buffer,Kq.byteOffset,Qi),eca=new yB(cca,dca,sb.l),fca=new gB(sb.info.type,sb.info.g,sb.info.range,"splitSlice2_"+sb.info.D,sb.info.i,sb.info.startTime,sb.info.duration,
        sb.info.l+Qi,sb.info.Ea-Qi,sb.info.A,sb.info.o),gca=new Uint8Array(Kq.buffer,Kq.byteOffset+Qi,Kq.length-Qi),hca=new yB(fca,gca,!1);var nw=[eca,hca];nw[0].g=new tB([new Uint8Array(KV)]);nw[0].l=!!oA(zB(nw[0]),0,1836019574);var MV=nw}else MV=null;var NV=MV}else NV=null;var ow=NV;if(ow&&ow.length){var VF=oB(sb.info);VF.fds=FV.toFixed(3);VF.com=a.B.toFixed(3);a.L("timestamprewrite",VF);a.D+=RF;a.B+=1E3*RF}return ow?ow:QK(a,sb)}}if(a.V&&a.A.Ed()&&c.info.i==c.info.g.index.ab()&&OK(a,c)){var pw=c;var OV=
        PK(a,pw);if(OV){var Re=g.sA(OV,0,1953658222);if(Re){Re.skip(1);var cn=$z(Re)<<16|aA(Re),ica=cn&1,jca=cn&4;if(cn&256){var kca=cn&512,lca=cn&1024,mca=cn&2048,PV=cA(Re);if(!(2>PV)){ica&&Re.skip(4);jca&&Re.skip(4);var nca=cA(Re);Re.skip((PV-1)*(4+(kca?4:0)+(lca?4:0)+(mca?4:0))-4);Re.data.setUint32(Re.offset+Re.g,nca)}}}var XF=[];a.i&&a.i!=pw&&(XF.push(a.i),a.i=null);XF.push(pw);var QV=XF}else QV=null;var RV=QV;var SV=RV?RV:QK(a,pw)}else{var qw=c;if(a.F&&a.F.A.A&&qw.info.Ud()&&!(a.getDuration()>=a.F.getDuration())&&
        a.A.Ed()&&qw.info.i==qw.info.g.index.ab()&&OK(a,qw)){var Lq=c,oca=a.F.getDuration()-a.getDuration();var YF=PK(a,Lq);if(YF){var dn=1+oca/Lq.info.duration,sf=g.sA(YF,0,1952868452),Se=g.sA(YF,0,1953658222);if(sf&&Se){sf.skip(1);var ZF=$z(sf)<<16|aA(sf);sf.skip(4);ZF&1&&sf.skip(8);ZF&2&&sf.skip(4);if(ZF&8){var pca=sf.g,TV=cA(sf);sf.data.setUint32(sf.offset+pca,1<dn?Math.ceil(TV*dn):Math.floor(TV*dn))}Se.skip(1);var en=$z(Se)<<16|aA(Se);if(en&256){var qca=en&1,rca=en&4,sca=en&512,tca=en&1024,uca=en&2048,
        vca=cA(Se);qca&&Se.skip(4);rca&&Se.skip(4);for(var wca=(sca?4:0)+(tca?4:0)+(uca?4:0),UV=0;UV<vca;UV++){var xca=Se.g,VV=cA(Se);Se.data.setUint32(Se.offset+xca,1<dn?Math.ceil(VV*dn):Math.floor(VV*dn));Se.skip(wca)}}}var $F=[];a.i&&a.i!=Lq&&($F.push(a.i),a.i=null);$F.push(Lq);var WV=$F}else WV=null;var XV=WV;var YV=XV?XV:QK(a,Lq)}else YV=[c];SV=YV}return SV};
        GK=function(a,b){if(a.A.info.l)if(2==b.info.g.info.containerType){var c=new IA(zB(b));if(JA(c,[408125543,374648427,174,28032,25152,20533,18402])){var d=NA(c,!0);c=16!=d?null:SA(c,d)}else c=null;c&&(b.info.g.D={type:"webm",key:c})}else b.info.H=Iba(zB(b)),c=Jba(b.info.H),0<c.length&&(b.info.g.D={type:"cenc",key:c})};
        MK=function(a,b,c,d){if(a.g["Stitched-Video-Id"]||a.g["Stitched-Video-Duration-Us"]||a.g["Stitched-Video-Start-Frame-Index"]){a.g["Stitched-Video-Id"]&&a.g["Stitched-Video-Id"].split(",");var e=[];if(a.g["Stitched-Video-Duration-Us"])for(var f=g.r(a.g["Stitched-Video-Duration-Us"].split(",").slice(0,-1)),h=f.next();!h.done;h=f.next())e.push((parseInt(h.value,10)||0)/1E6);e=[];if(a.g["Stitched-Video-Start-Frame-Index"])for(f=g.r(a.g["Stitched-Video-Start-Frame-Index"].split(",").slice(0,-1)),h=f.next();!h.done;h=
        f.next())e.push(parseInt(h.value,10)||0)}return new Wz(a.i,b,c,a.ingestionTime,"sq/"+a.i,void 0,void 0,d)};
        HK=function(a,b){a.L("error",b||{})};
        FK=function(a,b){return!a.A.Ed()&&0==b.info.l&&(g.xx(b.info.g.info)||2==b.info.g.info.containerType)};
        OK=function(a,b){return!(0!=b.info.l&&!a.i)&&g.xx(b.info.g.info)};
        QK=function(a,b){if(a.i&&a.i!=b){var c=[a.i,b];a.i=null;return c}return[]};
        PK=function(a,b){if(a.i){var c=a.i,d=c.g.getLength()+b.g.getLength();d=new Uint8Array(d);d.set(wB(c.g));d.set(wB(b.g),c.g.getLength());c=new DataView(d.buffer);DA(c);return c}c=zB(b);if((d=DA(c))&&d<c.byteLength)return c;a.i=b;return null};
        RK=function(a,b,c){this.J=a;this.g=b;this.o=[];this.l=new zK(a,b,c);this.i=this.A=null;this.I=0;this.F=b.info.g;this.H=0;this.B=b.yi();this.u=-1;this.D=this.B?0:NaN};
        SK=function(a){return a.A&&a.A.wn()};
        UK=function(a){for(;a.o.length&&6==a.o[0].state;){var b=a.o.shift();TK(a,b);b=b.timing;a.I=(b.A-b.g)/1E3}a.o.length&&yK(a.o[0])&&!WB(a.o[0].info)&&TK(a,a.o[0])};
        TK=function(a,b){if(yK(b)){b.H=!0;var c=b.l,d=c.g;c.g=[];c.o=g.db(d).info;c=g.r(d);for(d=c.next();!d.done;d=c.next())VK(a,b,d.value)}};
        VK=function(a,b,c){switch(c.info.type){case 1:case 2:IK(a.l,c);break;case 4:var d=c.info.g.Kt(c);c=c.info;var e=a.i;e&&e.g==c.g&&e.type==c.type&&(c.range&&e.range?e.range.start==c.range.start&&e.range.end==c.range.end:e.range==c.range)&&e.i==c.i&&e.l==c.l&&e.Ea==c.Ea&&(a.i=g.db(d).info);d=g.r(d);for(c=d.next();!c.done;c=d.next())VK(a,b,c.value);break;case 3:CK(a.l,b,c);break;case 6:CK(a.l,b,c),a.i=c.info}};
        ZK=function(a,b,c,d){d=void 0===d?!1:d;if(c){var e=Ux(c.Wb(),b),f=NaN,h=SK(a);h&&(f=Ux(c.Wb(),h.g.index.kc(h.i)));if(e==f&&a.i&&a.i.Ea&&WK(XK(a),0))return b}a=YK(a,b,d);return 0<=a?a:NaN};
        aL=function(a,b){a.g.Ob();var c=YK(a,b);if(0<=c)return c;c=a.l;c.I?(c=c.I,c=c.g&&3==c.g.type?c.g.startTime:0):c=Infinity;b=Math.min(b,c);a.i=a.g.Ne(b).g[0];$K(a)&&a.A&&a.A.abort();a.H=0;return a.i.startTime};
        bL=function(a){var b=0;(0,g.D)(a.o,function(c){var d=b;c=c.l&&c.l.length?Nba(c.l):ZB(c.info);b=d+c},a);
        return b+=Xba(a.l)};
        cL=function(a,b){if(!a.A)return 0;var c=SK(a);return c&&c.A?c.u:Wx(a.A.Wb(),b)};
        eL=function(a){dL(a);a.l.o=[]};
        fL=function(a,b){var c;for(c=0;c<a.o.length&&b!==a.o[c];c++);if(c==a.o.length)b.H&&KK(a.l,b),b.dispose();else{for(;c<a.o.length;){var d=a.o.pop();d.H&&KK(a.l,d);d.dispose()}jB(b.info.g[0])?(b.l&&b.l.o?(c=b.l.o,c=new gB(c.type,c.g,c.range,"getEmptyStubAfter_"+c.D,c.i,c.startTime+c.duration,0,c.l+c.Ea,0,!1)):(c=b.info.g[0],c=new gB(c.type,c.g,c.range,"getEmptyStubBefore_"+c.D,c.i,c.startTime,0,c.l,0,!1)),a.i=c):a.i=null}};
        $K=function(a){if(!a.J.Ij&&"f"==a.g.info.i)return!0;a=SK(a);return!!a&&a.A};
        XK=function(a){var b=[],c=SK(a);c&&b.push(c);b=g.tb(b,JK(a.l));(0,g.D)(a.o,function(d){(0,g.D)(d.info.g,function(e){d.H&&(b=(0,g.ol)(b,function(f){return!(f.g!=e.g?0:f.range&&e.range?f.range.start+f.l>=e.range.start+e.l&&f.range.start+f.l+f.Ea<=e.range.start+e.l+e.Ea:f.i==e.i&&f.l>=e.l&&(f.l+f.Ea<=e.l+e.Ea||e.o))}));
        (jB(e)||4==e.type)&&b.push(e)})});
        a.i&&!hB(a.i,g.db(b),a.i.g.Ed())&&b.push(a.i);return b};
        WK=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!lB(a[c-1],a[c]))return!1;return!0};
        YK=function(a,b,c){c=void 0===c?!1:c;if(!a.i||!a.i.Ea)return NaN;a=XK(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var h=a[f];if(h.B<=b)if(d)e=f;else if(h.startTime+h.duration>=b){b=f;break a}}b=e}return 0>b?NaN:WK(a,c?b:0)?a[b].startTime:NaN};
        gL=function(a){return(0,g.ij)(a.o,function(b){return 4<=b.state})};
        hL=function(a){return!(!a.i||a.i.g==a.g)};
        iL=function(a){return hL(a)&&a.g.Ob()&&a.i.g.info.g<a.g.info.g};
        jL=function(a,b,c){var d=BK(a.l);return(a=d?d.info:SK(a))&&!a.A?a.u>b&&a.u<b+c:!1};
        dL=function(a){(0,g.D)(a.o,function(b){b.H&&KK(this.l,b);b.dispose()},a);
        a.o=[];a.i=null};
        kL=function(a){return!!a.i&&-1!=a.i.i&&a.i.i<a.g.index.ee()};
        lL=function(a){var b=a.i;b&&-1==b.i&&(a=BK(a.l))&&jB(a.info)&&(a=a.info.i,b.D="updateLastSliceRequested",b.i=a)};
        mL=function(a){return(0,g.ij)(a.o,function(b){return b.F})};
        nL=function(a,b){this.i=a;this.g=b;this.l=1};
        yca=function(a,b){var c=Math.min(2.5,lE(a.i)),d=oL(a);return b-c*d};
        qL=function(a,b,c,d,e){e=void 0===e?!1:e;a.g.Ac&&(d=Math.abs(d));d/=a.l;var f=1/oE(a.i);var h=.9*(d-a.g.rb);h=Math.max(h,lE(a.i)+a.i.l.g*f);c=h/f*a.g.mq/(b+c);a.g.Kj&&(d-=a.g.rb);c=Math.min(c,d);a.g.pd&&e&&(c=Math.max(c,a.g.pd));return pL(a,c,b)};
        pL=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.g.lq*c),Math.min(Math.min(a.g.Z,a.g.gb*c),Math.ceil(b*c))))};
        zca=function(a,b){var c=pL(a,b.video?a.g.Pq:a.g.Jj,b.g);return a.g.Dh&&b.video?Math.max(c,a.g.Dh):c};
        oL=function(a){var b=oE(a.i);if(a.g.Sq)return b;var c=a.g.kq,d=1E-9+lE(a.i);b*=Math.min(1,c/(b*d));a.g.Qf&&(c=((hE(a.i.i,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.g.Qf*c);return b};
        rL=function(a){return oL(a)/a.l};
        sL=function(){this.i=this.l=0;this.u={}};
        Aca=function(a,b,c,d){this.N=a;this.B=b;this.A=c;this.D=d;this.o=MD;this.u=this.H=null;this.J=-1;this.i=this.l=null;this.g=[];this.R={};this.F=0;this.I=this.Y=!1;this.U=0};
        Dca=function(a,b,c){tL(a,b);Bca(a,c);a.H=a.l;Cca(a);a.u=a.i;return uL(a)};
        Eca=function(a,b){if(ID(a.o,b))return null;if("m"==b.reason&&b.isLocked())return tL(a,b),a.F=a.g.length-1,vL(a),wL(a),a.I=a.I||a.u!=a.i,a.u=a.i,new yJ(a.l,a.u,b.reason);"r"==b.reason&&(a.J=-1);tL(a,b);wL(a);if("r"==b.reason&&a.i==a.u)return new yJ(a.l,a.i,b.reason);if(a.u&&a.i&&xL(a,a.u.info)<xL(a,a.i.info)){var c=a.o.reason;a.Y=a.Y||"r"==c||"u"==c||"v"==c}return null};
        Fca=function(a,b){if(b.info.video){if(a.u!=b)return a.u=b,uL(a)}else a.H=b;return null};
        yL=function(a,b){b.I=RB();a.J=-1;tL(a,a.o)};
        zL=function(a){for(var b=RB()-6E4,c=g.r(a.D.videoInfos),d=c.next();!d.done;d=c.next())if(a.A.g[d.value.id].I>b)return!0;return!1};
        AL=function(a){return a.o.isLocked()};
        Gca=function(a){return 0<a.g.length&&0==a.F};
        uL=function(a){a.J=RB();a.Y=!1;return new yJ(a.H,a.u,a.o.reason)};
        tL=function(a,b){a.o=b;var c=a.D.videoInfos;if(!AL(a)){var d=RB()-6E4;c=(0,g.ol)(c,function(l){if(l.g>this.B.F)return!1;l=this.A.g[l.id];return l.I>d?!1:4<l.l.g||4<l.H||l.o?!1:!0},a);
        if(zL(a)){var e=(0,g.ol)(c,function(l){l=sx(l);return"140"==l||"134"==l||"243"==l});
        e.length&&(c=e)}}c.length||(c=a.D.videoInfos);e=(0,g.ol)(c,b.o,b);e.length||(e=[c[0]]);e.sort((0,g.A)(function(l,m){return xL(this,l)-xL(this,m)},a));
        for(c=1;c<e.length;c++){var f=e[c-1],h=e[c];f.video.width>h.video.width?(g.ob(e,c),c--):xL(a,f)*a.B.i>xL(a,h)&&(g.ob(e,c-1),c--)}c=e[e.length-1];a.g=e;KB(a.B,c)};
        Bca=function(a,b){if(b)a.l=a.A.g[b];else{var c=g.gb(a.D.g,function(d){return!!d.Xa&&d.Xa.isDefault});
        c=c||a.D.g[0];a.l=a.A.g[c.id]}vL(a)};
        vL=function(a){if(!a.l||!a.B.A)if(!a.l||!a.l.info.Xa)if(a.l=a.A.g[a.D.g[0].id],1<a.D.g.length){if(a.B.tg)var b=!0;else if(a.o.isLocked())b=240>a.o.g;else{for(b=0;b+1<a.g.length&&"tiny"==a.g[b].ra().quality;)b++;var c=rL(a.N)/a.B.i;b=xL(a,a.l.info)+xL(a,a.g[b])>c}b&&(a.l=a.A.g[a.D.g[1].id])}};
        wL=function(a){if(!a.i||!a.B.A)if(AL(a))a.i=a.A.g[a.g[a.g.length-1].id];else{for(var b=Math.min(a.F,a.g.length-1),c=rL(a.N),d=xL(a,a.l.info),e=c/a.B.l-d;0<b&&!(xL(a,a.g[b])<=e);b--);for(c=c/a.B.i-d;b<a.g.length-1&&!(xL(a,a.g[b+1])>=c);b++);a.i=a.A.g[a.g[b].id];a.F=b}};
        Cca=function(a){var b=a.B.l,c=rL(a.N)/b-xL(a,a.l.info);b=g.ib(a.g,function(d){return xL(this,d)<c},a);
        0>b&&(b=0);a.F=b;a.i=a.A.g[a.g[b].id]};
        xL=function(a,b){if(!a.R[b.id]){var c=a.A.g[b.id].index.Cs(a.U,15);c=b.u&&a.u&&a.u.index.Hb()?c||b.u:c||b.g;a.R[b.id]=c}return a.R[b.id]};
        Hca=function(a,b){var c=kc(a.A.g,function(d){return sx(d.info)==b});
        if(!c)throw Error("Itag "+b+" from server not known.");return c};
        Ica=function(a){var b=[];if("s"==a.o.reason||"m"==a.o.reason)return b;var c=!1;if(JC(a.A)){for(var d=Math.max(0,a.F-2);d<a.F;d++){var e=sx(a.g[d]);nx(a.g[d].ra())||(c=!0);b.push(e)}b.reverse();if(!c&&a.B.Pw)for(d=Math.max(0,a.F-3);0<=d&&!c;d--)nx(a.g[d].ra())||(c=!0,b.push(sx(a.g[d])))}return b};
        BL=function(a,b,c,d){this.i=a;this.A=b;this.u=d;this.o=c;this.g=0};
        CL=function(a,b,c,d){g.O.call(this);this.g=a;this.N=b;this.R=c;this.I=d;this.J=NaN;this.l=this.F=this.u=null;this.i=this.B=this.D=this.A=NaN;this.o=!1;this.H=NaN};
        Jca=function(a,b,c,d){return a.ia&&a.Oa&&3==cC(a)?new CL(a,b,c,d):null};
        DL=function(a,b){if(a.g.xq){var c=b.info.g;if(0>=c)a.H=NaN;else{var d=oE(a.N),e=b.index.g;c=Math.max(1,d/c);a.H=Math.round(1E3*Math.max(((c-1)*e+a.g.J)/c,e-a.g.Pb))}}};
        Kca=function(a,b){var c=(0,g.H)()/1E3,d=c-a.A,e=c-a.D,f=e>=a.g.Ze,h=!1;if(f){var l=0;!isNaN(b)&&b>a.B&&(l=b-a.B,a.B=b);l/e<a.g.Jq&&(h=!0);a.D=c}c=d>=a.g.Pb&&!a.o;if(!f&&!c&&EL(a,b))return NaN;c&&(a.o=!0);a:{d=h;c=(0,g.H)()/1E3-(a.R.g()||0)-a.F.l-a.g.J;f=a.l.startTime;c=f+c;if(d){if(isNaN(b)){FL(a,NaN,"n",b);f=NaN;break a}d=b-a.g.Ib;d<c&&(c=d)}else a.o&&(d=c+a.g.J-a.J+a.g.Kq,isNaN(b)||(d=Math.max(d,Math.min(c,b-a.g.Ib))),c=d);f=c=Math.max(c,f)}a.i=f;if(isNaN(a.i))return GL(a),NaN;if(!h&&EL(a,b))return HL(a,
        b),NaN;if(a.i<=a.l.startTime)return FL(a,NaN,"y",b),GL(a),NaN;if(!a.I(a.i,!1))return!HL(a,b)&&h&&(FL(a,NaN,"t",b),GL(a)),NaN;h=a.i;FL(a,h,"s",b);GL(a);return h};
        HL=function(a,b){return a.I(a.i,!0)?!1:(FL(a,NaN,"ns",b),GL(a),!0)};
        EL=function(a,b){return isNaN(b)?!0:isNaN(a.i)?!1:b<a.i+(a.o?a.g.Ib:a.g.Gq)};
        GL=function(a){a.u=null;a.F=null;a.l=null;a.A=NaN;a.D=NaN;a.B=NaN;a.i=NaN;a.o=!1};
        FL=function(a,b,c,d){var e=nK(a.u);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.i).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.A).toFixed(0);e.ssr_n=(0,g.H)().toFixed(0);e.ssr_f=(1E3*a.F.l).toFixed(0);e.ssr_fa=a.o?"1":"0";e.ssr_o=(1E3*a.R.g()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.l.g.index;fC(b,a.l.i,!0)&&(e.ssr_ist=(1E3*b.kc(a.l.i)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.l.i)).toFixed(0));e=cx(e);a.L("ctmp","ssr",e,!1)};
        Lca=function(){this.g=[];this.i=g.kJ};
        Mca=function(a,b,c){var d=[];for(b=IL(a,b);b<a.g.length;++b){var e=a.g[b];(e.end<=c||e.contains(c))&&d.push(e);if(e.start>c)break}return d};
        JL=function(a,b){for(var c=[],d=g.r(a.g),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
        Nca=function(a){return a.g.slice(IL(a,0x7ffffffffffff),a.g.length)};
        IL=function(a,b){var c=Cb(a.g,function(d){return b-d.start||1});
        return 0>c?-(c+1):c};
        KL=function(a,b){for(var c=NaN,d=g.r(a.g),e=d.next();!e.done;e=d.next())if(e=e.value,e.contains(b)&&(isNaN(c)||e.end<c)&&(c=e.end),e.start>b&&(isNaN(c)||e.start<c)){c=e.start;break}return c};
        LL=function(a,b){if(1<b.length&&b.length>a.g.length)a.g=a.g.concat(b),a.g.sort(a.i);else for(var c=g.r(b),d=c.next();!d.done;d=c.next())d=d.value,!a.g.length||0<a.i(d,a.g[a.g.length-1])?a.g.push(d):g.Hb(a.g,d,a.i)};
        ML=function(a,b,c,d){g.J.call(this);this.o=NaN;this.A=this.B=this.started=!1;this.J=a;this.I=b;this.D=c;this.F=d;this.H=new g.L(this.i,250,this);g.K(this,this.H);this.u=new g.L(this.i,0,this);g.K(this,this.u);this.l=[];this.g=new Lca};
        NL=function(a){return a.da()?[]:a.g.g};
        OL=function(a,b){var c=(0,g.ol)(NL(a),function(d){return d.namespace==b});
        a.removeCueRange.apply(a,c);return c};
        PL=function(a,b){var c=[];if(!b.length)return c;for(var d=0;d<b.length;d++){var e=b[d];e.active&&-1==a.l.indexOf(e)&&(a.l.push(e),c.push([1,e]))}return c};
        QL=function(a,b){var c=[];if(!b.length)return c;b.sort(g.kJ);for(var d=0;d<b.length;d++){var e=b[d];a.l.splice(a.l.indexOf(e),1);c.push([2,e])}return c};
        Qca=function(a){if(a.started&&!a.da()){a.u.stop();var b=a.D();g.R(b,32)&&a.H.start();for(var c=Oca(a),d=g.R(b,2),e=[],f=[],h=0;h<a.l.length;h++){var l=a.l[h];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(QL(a,f));if(d){b=JL(a.g,0x7ffffffffffff);var m=b.filter(function(p){return 0x8000000000000>p.end});
        var n=Nca(a.g)}else b=a.o<=c&&Ky(b)?Mca(a.g,a.o,c):JL(a.g,c);e=e.concat(PL(a,b));m&&(e=e.concat(QL(a,m)));n&&(e=e.concat(PL(a,n)));a.o=c;Pca(a,e)}};
        Pca=function(a,b){for(var c=g.r(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1==d[0]?(e.i&&e.i.L("onEnter",e),a.F(g.lJ(e.namespace),e)):(e.i&&e.i.L("onExit",e),a.F("crx_"+e.namespace,e))}};
        Oca=function(a){return g.R(a.D(),2)?0x8000000000000:1E3*a.J()};
        RL=function(){var a=this;this.g=this.i=cb;this.l=new Um(function(b,c){a.i=b;a.g=c})};
        UL=function(a,b,c,d,e,f,h){g.O.call(this);var l=this;this.R=a;this.g=b;this.u=c;this.ma=new sL;this.tb=h||null;this.F=new nL(a,b);this.B=new Aca(this.F,b,this.u,d);a=Dca(this.B,e,f&&f.id);this.o=new RK(this.g,a.audio,(0,g.A)(this.ar,this));this.i=new RK(this.g,a.video,(0,g.A)(this.ar,this));SL(this,this.o);SL(this,this.i);this.i.l.F=this.o.l;this.J=this.i.B;this.l=null;this.Aa={updateend:this.RA,error:this.uC};this.ca=new g.L(this.pe,0,this);g.K(this,this.ca);this.sa=new g.L(this.pe,1E3,this);g.K(this,
        this.sa);this.Ib=new g.L(this.pe,void 0,this);g.K(this,this.Ib);this.Ya=new g.L(this.pe,1E4,this);g.K(this,this.Ya);this.A=NaN;this.I=!1;this.H=NaN;this.Oa=0;this.Y=this.Ba=this.V=!1;this.ua="";this.za=new eE(5);this.ia={};this.Ga=NaN;this.Ja=this.J=!1;(this.D=Jca(this.g,this.R,this.za,function(m,n){return TL(l,m,n)}))&&this.D.subscribe("ctmp",this.Zb,this);
        this.Fb=NaN;this.ka=this.rb=null;this.N=NaN;this.Z=0;this.Pb=this.Gb=!1;this.gb=0;this.U=!1;this.Wa=0};
        VL=function(a,b){b=b||a.i&&a.i.i&&a.i.i.startTime||a.A;var c=a.i;var d=a.B;var e=d.i&&d.i.index.Oe(b)||0;d.U!=e&&(d.R={},d.U=e,tL(d,d.o));e=!AL(d)&&-1<d.J&&RB()-d.J<1E3*d.B.Aw;var f=d.i&&3*xL(d,d.i.info)<rL(d.N);if(!e||f)vL(d),wL(d),d.I=d.I||d.i!=d.u;d.i&&!d.i.index.Hb()&&(d.U=-1);d=d.i;c.g!=d&&(c.g=d);c=a.o;d=a.B.l;c.g!=d&&(c.g=d)};
        WL=function(a,b){a.Ba=b;a.U||(a.V=!0)};
        XL=function(a){a.l&&a.l.g&&a.l.i&&($u(a.l.g,a.Aa,a),$u(a.l.i,a.Aa,a));a.o.A=null;a.i.A=null;a.l=null};
        ZL=function(a,b){b=void 0===b?!1:b;XL(a);b?a.U=!0:a.g.be?WL(a,a.Gb):WL(a,!1);YL(a)};
        $L=function(a){a.l&&ey(a.l)&&ZL(a)};
        bM=function(a,b,c){if(a.V&&(!qE(a.R)||a.Ba))return!1;if(a.u.i){if(0<b.o.length&&b.i&&-1==b.i.i||b.o.length>=a.g.Dv&&!a.g.Fb||!a.g.Zp&&0<b.o.length&&!a.g.g)return!1;if(b.B)return!a.u.isLive||!isNaN(a.Ga)}if(mL(b))return!1;if(!(b.i||a.u.i&&a.g.Fb&&b.B)){if(!b.g.Ob())return!1;aL(b,a.A)}var d=b.o.length+c.o.length;(gL(b)||gL(c)||a.u.isLive&&(!a.g.Fb||!b.o.length))&&--d;if(d+1>=a.g.gw)return!1;d=b.i;if(!d)return!0;if(!SB(d.g.l))return!1;4==d.type&&d.g.Ob()&&(b.i=g.db(d.g.Sl(d)),d=b.i);if(!d.A&&!d.g.Ve(d)||
        d.g.info.audio&&4==d.type)return!1;if(iL(b)&&!a.g.ma)return!0;if(!(c=d.A||bL(b)&&bL(b)+bL(c)>a.g.sa||!!(c.i&&!c.i.A&&c.i.u<d.u)&&(!a.u.i||c.i&&c.i.u&&d.u)&&!a.J)&&(c=jB(d))){d=d.u;if(a.U&&a.Wa)c=a.Wa;else{c=aM(a,b,!0);if(!AL(a.B)&&0<a.g.U){var e=(RB()-a.Oa)/1E3;c=Math.min(c,a.g.U+a.g.Tc*e)}c=a.A+c;a.g.Ae&&(e=Rca(a)+a.g.Ae,e<c&&(a.Zb("mrl","ori."+c+";mod."+e,!0),a.g.gs&&(a.Oa=RB()),c=e))}c=d>c}return c||a.g.Ew&&(a=b.A)&&a.isLocked()?!1:!0};
        cM=function(a,b,c){if((!a.l||by(a.l)||gy(a.l))&&!a.I&&a.B.Y){var d=a.A;a=a.F;c=qL(a,b.g.info.g,c.g.info.g,0);var e=lE(a.i)+c/oE(a.i);d+=Math.max(e,e+a.g.yd-c/b.g.info.g);a:{if(b.o.length){if(b.o[0].info.g[0].startTime<=d)break a;dL(b)}a=b.l;for(c=a.o.length-1;0<=c;c--)a.o[c].info.startTime>d&&a.o.pop();b.o.length?b.i=g.db(g.db(b.o).info.g):b.l.o.length?b.i=BK(b.l).info:b.i=SK(b);b.i&&d<b.i.startTime&&(b.H=0,b.i=b.g.Ne(d,!0).g[0])}}};
        eM=function(a,b,c){if(bM(a,b,c)){c=Sca(a,b,c);if(a.Ac){var d=a.Ac.getUrlParameters(c.g[0].B);d&&(c.B=d)}a=dM(a,c);b.o.push(a);b.i=g.db(a.info.g)}};
        Sca=function(a,b,c){if(b.B){if(a.u.isLive){var d=a.u.A&&a.u.V?b.g.jh(a.u.A,!1):b.g.Ne(Infinity);d.l=a.Ga}else d=b.g.jh(0,!1);a.D?0==d.l&&(d.u=a.D.H):d.u=a.Fb;return d}d=b.i;if(!d.g.Ob())return d.g.Ed()?(a=qL(a.F,b.g.info.g,c.g.info.g,0),a=d.g.ng(d,a)):a=d.g.hh(d),a;!iL(b)||a.g.ma||a.u.i||(cM(a,b,c),b.i||aL(b,a.A));d=b.i;var e=d.u-a.A,f=!d.range||0==d.Ea&&0==d.l?0:d.range.length-(d.l+d.Ea),h=d.g;Tca(a,b,e)&&0==f&&(a.u.i?h=b.g:(h=d.startTime+fM,d.Ea&&(h+=d.duration),aL(b,h),d=b.i,h=d.g));h.Ed()?(c=
        qL(a.F,h.info.g,c.g.info.g,e,Gca(a.B)&&a.Y),b=a.g.Gj?hL(b):hL(b)&&b.g.Ob(),d=Uca(a,d,c,b)):(0>d.i&&(c=oB(d),c.pr=""+b.o.length,a.I&&(c.sk="1"),a.Zb("nosq",d.D+";"+cx(c))),d=h.hh(d));a.U&&d.g.forEach(function(l){l.type=6});
        return d};
        Tca=function(a,b,c){if(!hL(b)||!b.g.Ob())return!1;a=Math.min(15,.5*aM(a,b,!0));return iL(b)||c<=a};
        Uca=function(a,b,c,d){c=b.g.ng(b,c);c.range&&1<c.g.length&&(d||c.i.g||a.g.nt&&c.g[0].g!=b.g?c=b.g.ng(b,c.g[0].Ea):(a=c.g[c.g.length-1],d=a.Ea/c.range.length,!a.o&&.4>d&&(c=b.g.ng(b,c.range.length-a.Ea))));return c};
        dM=function(a,b){jB(b.g[b.g.length-1])&&gM(a,Fca(a.B,b.g[0].g));var c=ZB(b);c=new Rba(a.R,c,yca(a.F,c),b,a.rb);a.g.ot&&(c.D=[]);var d=new mK(a.g,b,c,a.ia);c.za=function(){return Vba(d)?d.o.Qq&&window.performance&&window.performance.now&&d.g&&d.g.Vg()&&xK(d)&&QJ(d.g)?d.info.g[0].g.info.video?3:4:2:1};
        Sba(d,(0,g.A)(a.tE,a));3==b.g.length&&1==b.g[0].type&&2==b.g[1].type&&4==b.g[2].type&&b.g[0].g.info.video&&(d.Y=Ica(a.B));a.U&&(d.Z=!0);d.start(Math.max(0,b.g[0].B-a.A));return d};
        gM=function(a,b){b&&a.L("videoformatchange",b)};
        Wca=function(a,b){var c=b.info.g[0].g,d=c.info.video?a.i:a.o;Vca(a,d,b);WB(b.info)&&!VB(b.info)&&((0,g.D)(b.l.g,function(e){IK(d.l,e)}),a.g.Rj||a.L("metadata",c))};
        Vca=function(a,b,c){if(a.u.i&&b&&(b.B&&(b.B=!1),c.J&&a.za.i(1,c.J),b=c.g?parseInt(c.g.Bc("X-Head-Seqnum"),10):null)){a=a.u;for(var d in a.g)c=a.g[d].index,c.i&&(c.l=Math.max(c.l,b))}};
        hM=function(a,b,c){a:{b=b.info;var d=null,e=b.g[0];if(b.range)d=eB(b.range.start,Math.min(4096,b.range.length));else if(a.g.fq){if(b.o&&0<=b.o.indexOf("/range/")||"1"==b.i.o.get("defrag")||"1"==b.i.o.get("otf")){c=null;break a}d=eB(0,4096)}else if(e.g.info.video){c=null;break a}b=new UB([new gB(5,e.g,d,"createProbeRequestInfo_"+e.D,e.i)]);b.A=c;c=b}c&&dM(a,c)};
        Yca=function(a){var b=-1!=a.i.u,c=-1!=a.o.u;if(!b||!c)if(b=!b&&AK(a.i.l),c=!c&&AK(a.o.l),b||c){c=b?a.i:a.o;b=b?a.o:a.i;var d=AK(c.l).info.i;if(-1!=b.u&&b.u!=d&&(iM(a,!1,"qoe.avsync",{start:"1",target:String(b.u),actual:String(d)}),!a.g.Qj)){kD(a.u,d,c==a.i);Xca(c,b.u);return}c.u=d;c.D=NaN;if(-1!=b.u){var e=Math.max(b.g.index.kc(b.u),c.g.index.kc(c.u));a.ka&&(a.ka.resolve(e+.1),a.ka=null);g.Pm(function(){return jM(a,e)})}}};
        Xca=function(a,b){eL(a);aL(a,Infinity);var c=a.D;a.l.u=c;a.D=c;c=a.i;c.D="correctTrack_";c.i=b-1};
        nM=function(a){var b=a.l.g,c=a.l.i;a.o.g.A&&kM(b,a.o.g.A);if(Zca(a)){if(a.g.Hj){if(!b.ag()){var d=AK(a.o.l);d&&lM(a,b,d)}c.ag()||(b=AK(a.i.l))&&lM(a,c,b)}}else{if(a.D){d=a.D;var e=a.o,f=Vx(a.l.i.Wb());if(d.u)d=Kca(d,f);else{if(f=AK(e.l)){var h=f.i;h&&h.u&&h.l&&(e=e.o.length?e.o[0]:null)&&3<=e.state&&7!=e.state&&0==e.info.l&&xK(e)&&(d.u=e,d.F=h,d.l=f.info,d.A=(0,g.H)()/1E3,d.D=d.A,d.B=d.l.startTime)}d=NaN}d&&a.L("seekplayerrequired",d,!0)}if(d=mM(a,a.i,c,null))e=a.ma,e.l||(e.l=(0,g.H)(),e.oc("vda"),
        sH("vda"),e.i&&ht(4));e=AK(a.i.l);a.g.ua&&!d&&e&&(a.Pb||a.Zb("sbp",a.l.i.Pa({ns:pB(e.info)})),a.Pb=!0);if(a.l&&!ey(a.l)){c=Ux(c.Wb(),a.A+fM);if(!isNaN(c)||$K(a.i)||!b.Wb().length||a.g.V){if($K(a.i)||a.g.V)c=NaN;if(b=mM(a,a.o,b,c))c=a.ma,c.i||(c.i=(0,g.H)(),c.oc("ada"),sH("ada"),c.l&&ht(4));d=d||b}!a.da()&&a.l&&(!a.g.tb&&$K(a.i)&&$K(a.o)&&by(a.l)&&!a.l.kd()&&(b=SK(a.o).g,b==a.u.g[b.info.id]&&(b=a.l,by(b)&&b.l.endOfStream(),b=a.R,WD(pE(b)),b.A=RB())),d&&!gy(a.l)&&g.Qq(a.ca))}}};
        Zca=function(a){if(a.g.Ja)return!1;var b;if(!(b=mL(a.i))&&(b=a.I)){b=a.F;var c=a.i,d=a.o;if(0==c.o.length&&0==d.o.length)b=!0;else{var e=0,f=JK(c.l).concat(JK(d.l));f=g.r(f);for(var h=f.next();!h.done;h=f.next())e+=h.value.Ea;c=c.g.info.g+d.g.info.g;e/=c;b=10<e?!0:10>c*(10-e)/rL(b)}(b=!b)||(b=a.i,b=0<b.o.length&&1==b.l.o.length&&AK(b.l).info.F<b.I)}if(b)return!0;if(!a.Y||!a.g.Aa||10>a.A||360<a.i.g.info.ra().Rb)return!1;b=jL(a.i,a.A,a.g.Aa)||jL(a.o,a.A,a.g.Aa);return(0<a.i.o.length||0<a.o.o.length||
        bM(a,a.i,a.o)||bM(a,a.o,a.i))&&b};
        mM=function(a,b,c,d){if(c.kd())return!0;if(!c.Um())return!1;var e=AK(b.l);if(!e||6==e.info.type)return!1;var f=e.info,h=SK(b);!h||h.o||kB(h,f)||c.abort();c.Lp(f.g.info.containerType,f.g.info.mimeType);if(f=a.g.Ya&&a.u.l&&0==e.info.l&&(g.xx(e.info.g.info)||a.g.Rq)){if(null==c.ag()){f=SK(b);if(!(h=!f||f.g!=e.info.g)){b:if(f=f.H,h=e.info.H,f.length!=h.length)f=!1;else{for(var l=0;l<f.length;l++)if(!g.Gb(f[l],h[l])){f=!1;break b}f=!0}h=!f}f=h}else f=c.ag(),h=e.info.g.g,f=a.g.Sr?f!==h&&!g.Gb(f,h):f!==
        h;f=!f}f&&(g.xx(e.info.g.info)?(EA(zB(e),1836019574),EA(zB(e),1718909296)):(f=new IA(zB(e)),bB(f),LA(f,524531317,!0),e.g=e.g.split(MA(f)).fG),e.l=!1);a.g.Ee&&e.l&&(e.l=!1);f=a.D&&!!a.D.u&&b.g.info.audio;if(!(a.u.l&&0!=e.info.l||(a.u.i||e.l)&&!f)&&lM(a,c,e))return!0;if(f)return!1;f=aM(a,b,!1);f=a.A+f;null!==d&&0<=d&&(f=Math.min(f,d));if(!(d=e.info.B>f)){a:if(a.g.ua&&a.Zb("sba",c.Pa({as:pB(e.info)})),d=e.l?e.info.g.g:null,f=wB(e.g),e.l&&(f=new Uint8Array(f.buffer,0,f.byteOffset+f.length)),d=oM(a,c,
        f,e.info,d),"s"==d)c=!0;else{a.g.nq||(c.abort(),eL(b));if("i"==d||"x"==d)pM(a,"checked",d,e.info);else{if("q"==d&&(e.info.Ud()?(d=a.g,d.u=Math.floor(.8*d.u),d.Y=Math.floor(.8*d.Y),d.o=Math.floor(.8*d.o)):(d=a.g,d.B=Math.floor(.8*d.B),d.za=Math.floor(.8*d.za),d.o=Math.floor(.8*d.o)),c.supports(2)&&!c.kd()&&!a.l.isView())){d=!1;f=c.Wb();for(h=0;!d&&h<f.length;h++)f.start(h)>e.info.u&&(c.remove(f.start(h),f.end(f.length-1)),d=!0);f=Math.max(0,Math.min(a.A,e.info.startTime)-5);!d&&f&&c.remove(0,f);c=
        !1;break a}a.L("reattachrequired")}c=!1}d=!c}if(d)return!1;b.l.o.shift();c=e.info;c.g.info.g>=b.F&&(b.F=c.g.info.g);e.l&&(b=e.info.g.D)&&a.L("newDrmInfo",b.type,b.key);return!0};
        pM=function(a,b,c,d){var e="fmt.unplayable",f=!0;"x"==c||"m"==c?(e="fmt.unparseable",d.g.o=e,d.g.info.video&&!zL(a.B)&&yL(a.B,d.g)):"i"==c&&(15>a.gb?(a.gb++,e="html5.invalidstate",f=!1):e="fmt.unplayable");d=oB(d);d.mrs=a.l.l.readyState;d.origin=b;d.reason=c;iM(a,f,e,d)};
        qM=function(a,b,c){jD(a.u,b,c)&&c&&g.Pm(function(){if(a.Ja)a.Ja=!1,jM(a,b.startTime);else{var d=b.startTime;if(!a.da()&&a.g.ca&&a.J&&-1!=a.i.u&&-1!=a.o.u){var e=a.g.tq?0:.1;a.A<d||a.A>d+b.duration+e?3>a.Z?(a.Z++,a.seek(a.A)):(a.Zb("iterativeSeeking","incomplete;count."+a.Z,!1),a.Z=0,a.J=!1,a.L("seekplayerrequired",d+.1,!0)):(a.Zb("iterativeSeeking","done;count."+a.Z,!1),a.Z=0,a.J=!1)}}})};
        jM=function(a,b){!a.da()&&a.g.ca&&a.J&&-1!=a.i.u&&-1!=a.o.u&&(a.J=!1,a.U||a.L("seekplayerrequired",b+.1,!0))};
        lM=function(a,b,c){c.info.g.Ob();var d=c.info.g.g;if(null==d||b.ag()==d)return!1;var e=d,f=b.zk();if(a.g.Ee&&f&&b.isView()&&g.xx(c.info.g.info)){var h=new DataView(d.buffer,d.byteOffset,d.byteLength);(f=GA(h,f))?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.Zb("fenc","1")}d=oM(a,b,e,null,d);if("s"!=d)return pM(a,"sepInit",d,c.info),!0;(c=c.info.g.D)&&a.L("newDrmInfo",c.type,c.key);return b.kd()};
        oM=function(a,b,c,d,e){if(a.g.Mj){var f=new Uint8Array(c.length);f.set(c);c=f}try{b.appendBuffer(c,d,e)}catch(h){if(11==h.code)return"i";if(12==h.code)return"x";if(22!=h.code&&0!=h.message.indexOf("Not enough storage"))return g.M(h),"u";a.g.rd&&(b=Sx(b.Wb()).replace(/,/g,"_"),a.Zb("quex","br."+b+";e."+h));return"q"}return ey(a.l)?"m":"s"};
        SL=function(a,b){b.l.subscribe("error",a.DD,a);b.l.subscribe("timestamprewrite",a.ID,a);var c=(0,g.A)(a.FD,a,b);b.l.subscribe("placeholderinfo",c,void 0);c=(0,g.A)(a.GD,a,b);b.l.subscribe("placeholderrollback",c,void 0);c=(0,g.A)(a.HD,a,b);b.l.subscribe("segmentinfo",c,void 0);c=a.ED.bind(a);b.l.subscribe("gaplessinfo",c,void 0);b==a.i&&b.l.subscribe("cuepoint",a.CD,a)};
        kM=function(a,b){var c=0+b.duration,d=-b.g;0==a.yk()&&c==a.vn()||a.wp(0,c);d!=a.qb()&&a.Xl(d)};
        aM=function(a,b,c){if(a.V)return 1;var d=b.g.info.audio?a.g.B:a.g.u;!a.g.ma&&AL(a.B)&&(d=Math.max(d,b.g.info.audio?a.g.za:a.g.Y));c&&(d+=a.g.sa);var e=AL(a.B)?b.i?b.i.g.info.g:b.g.info.g:b.F;d/=e;if(0<a.g.Ba&&a.l&&by(a.l)&&(b=b.g.info.video?a.l.i:a.l.g)&&!b.kd()){e=0;b=b.Wb();if(a.g.Nq)if(e=a.A,b){for(var f=0,h=0;h<b.length&&b.start(h)<e;h++)f+=Math.min(b.end(h),e)-b.start(h);e=f}else e=0;else f=Tx(b,a.A),0<=f&&(e=a.A-b.start(f));d+=Math.max(0,Math.min(e-a.g.Ba,a.g.pw))}0<a.g.o&&(d=Math.min(d,a.g.o));
        a.g.xd&&c&&!AL(a.B)&&(c=a.B,c=xL(c,g.db(c.g))+xL(c,c.D.g[0]),c=a.g.xd*(c/oL(a.F)),c<d&&15>c&&a.Zb("bwcapped","1",!0),c=Math.max(c,15),d=Math.min(d,c));return d};
        Rca=function(a){if(!a.tb)return Infinity;var b=(0,g.ol)(NL(a.tb),function(d){return"ad"==d.namespace});
        b=g.r(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.A)return c.start/1E3;return Infinity};
        $ca=function(a,b){var c=XK(a.i).find(function(d){return d.startTime>=b&&TL(a,d.startTime,!1)});
        return c&&c.startTime<b+1.5*c.duration?c.startTime:0};
        TL=function(a,b,c){if(!(a.i.g.Ob()&&a.o.g.Ob()&&a.l&&a.l.i&&a.l.g))return!1;if(c&&a.u.i&&(-1==a.i.u||-1==a.o.u))return!0;var d=ZK(a.i,b,a.l.i,c);if(isNaN(d))return!1;a=ZK(a.o,a.g.Oa?b:d,a.l.g,c);return isNaN(a)?!1:!0};
        rM=function(a,b,c){if(!a.g.Ob())return 0!=b&&dL(a),b;var d=ZK(a,b,c);if(!isNaN(d))return d;eL(a);return c&&(c=Ux(c.Wb(),b),!isNaN(c))?(aL(a,c+fM),b):aL(a,b)};
        sM=function(a,b,c,d){c.Ob()||c.u||!SB(c.l)||(d=c.Pg(d?zca(a.F,c.info):0),(0,g.D)(d,function(e){if("f"!=e.g[0].g.info.i){var f=dM(this,e);VB(e)&&(b.o.push(f),b.i=g.db(f.info.g))}},a),c.u=!0)};
        iM=function(a,b,c,d){a.da()||(d=new bx(c,b,d),g.Ua(a),cx(d.details),a.L("error",d),"html5.invalidstate"!=c&&"fmt.unplayable"!=d.errorCode&&"fmt.unparseable"!=c&&b&&a.dispose())};
        YL=function(a){eL(a.o);eL(a.i)};
        ada=function(a,b){var c=b.info.video?a.i:a.o;null!=c&&sM(a,c,b,!1)};
        tM=function(a){a=a?a.o.length?a.o[0]:null:null;return!!a&&2<=a.state&&!(5<=a.state)};
        bda=function(a,b,c){this.url=a;this.interval=b;this.g=c};
        uM=function(){g.O.apply(this,arguments)};
        vM=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.g=this.cryptoPeriodIndex=NaN;this.i=[]};
        wM=function(a){a:{var b=a.initData;try{for(var c=0,d=new DataView(b.buffer);c<d.byteLength-8;){var e=d.getUint32(c);if(1>=e)break;if(1886614376==d.getUint32(c+4)){var f=32;if(0<d.getUint8(c+8)){var h=d.getUint32(c+28);f+=16*h+4}var l=d.getUint32(c+f-4);try{var m=new ef(b.subarray(c+f,c+f+l)),n=new ts;for(f=m;ff(f)&&4!=f.i;)switch(f.l){case 2:var p=jf(f),q=p;Ff(n,2).push(q);break;case 4:p=jf(f);If(n,4,p);break;case 7:p=df(f.g);If(n,7,p);break;case 9:p=df(f.g);If(n,9,p);break;case 10:p=df(f.g);If(n,
        10,p);break;case 11:p=cf(f.g);If(n,11,p);break;case 12:p=df(f.g);If(n,12,p);break;case 13:q=p=jf(f);Ff(n,13).push(q);break;case 14:p=new us;q=f;var v=p,x=vs,B=q.g.l,C=df(q.g),E=q.g.g+C;q.g.l=E;x(v,q);q.g.g=E;q.g.l=B;q=n;v=p;x=us;Mf(q,x,14);var F=q.g[14];F||(F=q.g[14]=[]);var G=v?v:new x,N=Ff(q,14);F.push(G);N.push(Of(G));break;case 15:p=hf(f);If(n,15,p);break;case 1:p=cf(f.g);If(n,1,p);break;case 3:p=hf(f);If(n,3,p);break;case 5:p=hf(f);If(n,5,p);break;case 6:p=hf(f);If(n,6,p);break;case 8:p=jf(f);
        If(n,8,p);break;default:gf(f)}f=n;if(null!=f){var Z=f;break a}}catch(aa){}}c+=e}Z=null}catch(aa){Z=null}}if(null!=Z)for(b=Ff(Z,7),null!=b&&(a.cryptoPeriodIndex=b),b=Ff(Z,10),null!=b&&0<b&&(a.g=b),Z=Ff(Z,2),Z=!Z.length||Z[0]instanceof Uint8Array?Z:(0,g.Le)(Z,Gf),Z=g.r(Z),b=Z.next();!b.done;b=Z.next())a.i.push(Pe(b.value,4))};
        xM=function(a,b,c,d){uM.call(this);var e=this;this.l=-1;this.g={};this.o=new g.L(this.u,0,this);g.K(this,this.o);this.i=new g.L(function(){e.da()||(e.o.start(Math.random()*c),e.i.start(b))},a,this);
        g.K(this,this.i);d.subscribe("fairplay_next_need_key_info",this.A,this)};
        cda=function(a,b,c){a=a.match(hg);for(var d=[],e=g.r(a[6].split("&")),f=e.next();!f.done;f=e.next())f=f.value,0==f.indexOf("cpi=")?d.push("cpi="+b):0==f.indexOf("ek=")?d.push("ek="+Cd(c)):d.push(f);a[6]="?"+d.join("&");b="skd://"+a.slice(2).join("");a=2*b.length;c=new Uint8Array(a+4);c[0]=a%256;c[1]=(a-c[0])/256;for(a=0;a<b.length;++a)c[2*a+4]=b.charCodeAt(a);return c};
        yM=function(a,b){this.statusCode=a;this.errorMessage=null;this.message=b;this.l=this.i=this.g=this.heartbeatParams=null};
        zM=function(a){var b=HA(a.subarray(0,16384)),c=b.indexOf("\r\n\r\n");if(-1==c)return null;var d=b.indexOf("\r\n"),e=b.slice(0,d).match(/^GLS\/1.\d ([0-9]{1,3}) (\w+)$/);if(null==e)return null;e=e[1];isFinite(e)&&(e=String(e));e=g.w(e)?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN;b=nA(b.slice(d+2));if(null==b)return null;a=new yM(e,a.subarray(c+4));0!=a.statusCode&&(a.errorMessage=g.uy(a.statusCode));if(c=b["Heartbeat-Url"])a.heartbeatParams=new bda(c,parseInt(b["Heartbeat-Interval-Secs"],
        10)||60,parseInt(b["Heartbeat-Num-Retries"],10)||4);if(c=b["Authorized-Format-Types"])a.g=c.split(",");if(c=b["Key-Ids"])a.i=dda(c);a.l=b["Next-Key-Id"];return a};
        dda=function(a){if(!a)return{};a=a.split(";");var b={};(0,g.D)(a,function(c){c=c.split(",");2==c.length&&(b[c[1]]=c[0])});
        return b};
        AM=function(a,b,c,d){g.J.call(this);this.message=a;this.number=b;this.l=c;this.g=d;this.i=new g.lr(5E3,2E4,.2)};
        BM=function(a,b,c,d,e){g.J.call(this);this.A=a;this.H=b;this.F=c;this.g=d;this.i=e;this.sessionId="";this.D=this.B=this.o=this.u=null;this.aa=new g.Mx(this);g.K(this,this.aa);this.g?(this.aa.P(this.g,"message",this.WA),this.aa.P(this.g,"keystatuseschange",this.XA),this.g.closed&&this.g.closed.then(As((0,g.A)(this.SC,this)),null)):this.i&&(Nx(this.aa,this.i,["mskeymessage","webkitkeymessage"],this.Ku),Nx(this.aa,this.i,["mskeyerror","webkitkeyerror"],this.Ju),Nx(this.aa,this.i,["mskeyadded","webkitkeyadded"],
        this.Iu))};
        CM=function(a,b){g.J.call(this);this.i=a;this.g=b;this.A={};this.o=null;this.aa=new g.Mx(this);g.K(this,this.aa);this.l=this.u=null};
        DM=function(a){if(a.g.i)return a.g.i.createMediaKeys().then(As(function(b){a.da()||(a.u=b,a.i.setMediaKeys(b))}));
        kF(a.g)?a.l=new (jF())(a.g.g):oF(a.g)?(a.l=new (jF())(a.g.g),a.i.webkitSetMediaKeys(a.l)):eda(a);return null};
        eda=function(a){Nx(a.aa,a.i,["keymessage","webkitkeymessage"],a.aB);Nx(a.aa,a.i,["keyerror","webkitkeyerror"],a.ZA);Nx(a.aa,a.i,["keyadded","webkitkeyadded"],a.YA)};
        fda=function(a){return"widevine"==a.g.flavor&&a.g.yj&&a.u.setServerCertificate?a.u.setServerCertificate(a.g.yj):null};
        EM=function(a,b){var c=b.subarray(4);c=String.fromCharCode.apply(null,new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2)).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e<c.length;e+=2)d+=String.fromCharCode(parseInt(c.substr(e,2),16));c=a.g.vf;e=new ArrayBuffer(2*d.length);for(var f=new Uint16Array(e),h=0;h<d.length;h++)f[h]=d.charCodeAt(h);d=new Uint8Array(e);e=0;h=new ArrayBuffer(b.byteLength+4+d.byteLength+4+c.byteLength);f=new Uint8Array(h);h=new DataView(h);f.set(b);e+=b.byteLength;h.setUint32(e,
        d.length,!0);e+=4;f.set(d,e);e+=d.length;h.setUint32(e,c.byteLength,!0);f.set(c,e+4);return f};
        FM=function(a,b){var c=a.A[b.sessionId];!c&&a.o&&(c=a.o,a.o=null,c.sessionId=b.sessionId,a.A[b.sessionId]=c);return c};
        IM=function(a,b,c,d,e,f){g.J.call(this);this.K=a;this.i=a.Xb;this.wb=e;this.l=b;this.cryptoPeriodIndex=d.cryptoPeriodIndex||NaN;this.Y=f;this.u=gda(this);this.u.session_id=f;this.D=!0;"widevine"==this.i.flavor&&g.P(b.experiments,"html5_hdr_separate_keys_support")&&(this.u.hdr="1");"playready"==this.i.flavor&&(a=parseInt(wy(b.experiments,"playready_first_play_expiration"),10),!isNaN(a)&&0<=a&&(this.u.mfpe=""+a),g.P(b.experiments,"html5_playready_keystatuses_killswitch")||(this.D=!1),g.P(b.experiments,
        "html5_playready_enable_non_persist_license")&&(this.u.pst="0"));"fairplay"==this.i.flavor?(a=d.initData.subarray(4),a=String.fromCharCode.apply(null,new Uint16Array(a.buffer,a.byteOffset,a.byteLength/2)).replace("skd://","https://")):a=this.i.o;g.P(this.l.experiments,"enable_shadow_yttv_channels")&&(a=new g.Hp(a),document.location.origin&&document.location.origin.includes("green")?g.Jp(a,"web-green-qa.youtube.com"):g.Jp(a,"www.youtube.com"),a=a.toString());e=a=this.F=a;var h=void 0===h?!1:h;gz(hda.test(e),
        e,h,"Drm Licensor URL")||GM(this,"drm.net",!0,"t.x");for(var l in this.u)h=l,e=this.u[l],a=rg(g.wg(a,h),h,e);this.N=a;this.R=g.P(b.experiments,"html5_use_drm_retry");this.J=0;this.B=this.H=!1;SH("drm_gk_s");try{var m=c.createSession(d)}catch(n){b="t.g",n instanceof DOMException&&(b+=";c."+n.code),this.wb.L("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),m=null}if(this.o=m)b=this.o,c=this.TA,l=this.SA,m=this.VA,b.u=this.UA,b.o=c,b.B=l,b.D=m,b.l=this,g.K(this,this.o);this.U=
        d.i;this.A=[];this.g={};this.I=NaN;HM(this,"lcsct"+d.cryptoPeriodIndex)};
        gda=function(a){var b={};g.tc(b,a.l.deviceParams);b.cpn=a.K.clientPlaybackNonce;var c=["23775802"].filter(function(d){return a.l.experiments.experiments[d]});
        0<c.length&&(b.fexp=c.join());a.K.ze&&(b.vvt=a.K.ze,a.K.mdxEnvironment&&(b.mdx_environment=a.K.mdxEnvironment));a.l.ce&&(b.authuser=a.l.ce);a.l.pageId&&(b.pageid=a.l.pageId);isNaN(a.cryptoPeriodIndex)||(b.cpi=a.cryptoPeriodIndex);g.P(a.l.experiments,"html5_send_device_type_in_drm_license_request")&&(c=bu())&&(b.cdt=c);return b};
        ida=function(a){var b={};g.tc(b,a.u);return b};
        JM=function(a){for(var b="",c=0;c<a.length;c+=2)b+=String.fromCharCode(a[c]);a=(new DOMParser).parseFromString(b,"text/xml");return a?(a=a.querySelector("Challenge"))&&a.childNodes&&0!==a.childNodes.length?new Uint8Array(Te(a.childNodes[0].data)):null:null};
        jda=function(a,b){HM(a,"sdpvrq");if("widevine"!=a.i.flavor)GM(a,"drm.provision",!0,"e.flavor;f."+a.i.flavor+";l."+b.byteLength);else{var c={cpn:a.K.clientPlaybackNonce};g.tc(c,a.l.deviceParams);c=g.qg("https://www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18DfdwK5611JIjbUhE",c);var d={format:"RAW",headers:{"content-type":"application/json"},method:"POST",postBody:JSON.stringify({signedRequest:HA(b)}),responseType:"arraybuffer"};g.Au(c,d,3,500).then(As(function(e){if(!a.da()){e=
        new Uint8Array(e.response);var f=HA(e);try{var h=JSON.parse(f)}catch(l){}h&&h.signedResponse?(a.wb.L("ctmp","provisioning",""),a.o&&a.o.update(e)):(h=h&&h.error&&h.error.message,e="e.parse",h&&(e+=";m."+h),GM(a,"drm.provision",!0,e))}}),As(function(e){a.da()||GM(a,"drm.provision",!0,"e."+e.errorCode+";c."+(e.mg&&e.mg.status))}))}};
        KM=function(a){var b;if(b=a.D&&null!=a.o)a=a.o,b=!(!a.g||!a.g.keyStatuses);return b};
        LM=function(a,b){SH("drm_net_s");if(a.K.useInnertubeDrmService()){var c=new g.yw(a.l.rb),d={context:g.Cv(c.g)};d.drmSystem=kda[a.i.flavor];d.videoId=a.K.videoId;d.cpn=a.K.clientPlaybackNonce;d.sessionId=a.Y;d.licenseRequest=Pe(b.message);d.drmParams=a.K.drmParams;isNaN(a.cryptoPeriodIndex)||(d.isKeyRotated=!0,d.cryptoPeriodIndex=a.cryptoPeriodIndex);var e={onSuccess:(0,g.A)(b.B,b),onError:(0,g.A)(b.A,b)};g.Hv(c,"player/get_drm_license",d,e)}else c=a.N,d=a.K.oauthToken,e={format:"RAW",method:"POST",
        postBody:b.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.A)(b.u,b),onError:(0,g.A)(b.o,b)},d&&(c=rg(g.wg(c,"access_token"),"access_token",d)),g.St(c,e)};
        GM=function(a,b,c,d,e){a.da()||a.wb.L("licenseerror",b,c,d,e);c&&a.dispose()};
        lda=function(a,b){var c=b.i.getValue();c=new g.L(function(){return LM(a,b)},c);
        g.K(a,c);c.start();g.mr(b.i);HM(a,"rtyrq")};
        MM=function(a){return g.kb(a,"UHD2")?"highres":g.kb(a,"UHD1")?"hd2160":g.kb(a,"HD")?"hd1080":g.kb(a,"HD720")?"hd720":"large"};
        NM=function(a,b){if(!KM(a)&&nF(a.i)&&!b)return"large";var c=[],d=!0;if(KM(a))for(var e in a.g)"usable"==a.g[e].status&&c.push(a.g[e].type),"unknown"!=a.g[e].status&&(d=!1);if(!KM(a)||d)c=a.A;return MM(c)};
        OM=function(a){var b=a[0];a[0]=a[3];a[3]=b;b=a[1];a[1]=a[2];a[2]=b;b=a[4];a[4]=a[5];a[5]=b;b=a[6];a[6]=a[7];a[7]=b};
        mda=function(a){if(KM(a)){var b=[],c;for(c in a.g)b.push.apply(b,[c,a.g[c].type,a.g[c].status]);a=b.join(";")}else a=a.A.join(";");return a};
        nda=function(a,b,c,d){a=new Uint8Array(a);if(a=JM(a))a={format:"RAW",method:"POST",postBody:a,responseType:"arraybuffer",withCredentials:!0,timeout:3E4},c=xg(c,d),g.Au(c,a,3,500).then(function(e){e=new Uint8Array(e.response);(e=zM(e))&&e.message&&b.update(e.message)})};
        oda=function(a){switch(a){case "highres":case "hd2880":return"UHD2";case "hd2160":case "hd1440":return"UHD1";case "hd1080":case "hd720":return"HD";case "large":case "medium":case "small":case "light":case "tiny":return"SD";default:return""}};
        PM=function(a,b){for(var c in a.g)if("usable"==a.g[c].status&&a.g[c].type==b)return!0;return!1};
        HM=function(a,b){VH(a.K)&&a.wb.L("ctmp","drmlog",b)};
        QM=function(){this.keys=[];this.values=[]};
        RM=function(a,b,c){uM.call(this);var d=this;this.o=a;this.l=b;this.g=[];this.i=new g.L(function(){var e=d.g.shift().info;a:{var f=e.cryptoPeriodIndex;if(isNaN(f)&&0<d.l.values.length)f=!0;else{for(var h=g.r(d.l.values),l=h.next();!l.done;l=h.next())if(l.value.cryptoPeriodIndex==f){f=!0;break a}f=!1}}f||d.L("rotated_need_key_info_ready",e);0<d.g.length&&(e=d.g[0].time-(0,g.H)(),d.i.start(Math.max(0,e)))},0);
        g.K(this,this.i);c.subscribe("widevine_set_need_key_info",this.u,this)};
        UM=function(a,b,c){g.O.call(this);a&&(a.addKey||a.webkitAddKey)||jF()||pF(c.experiments);this.H=a;this.K=b;this.g=b.Xb;this.l=c;this.subscribe("newlicense",this.SD,this);this.subscribe("newsession",this.TD,this);this.subscribe("sessionready",this.JE,this);this.subscribe("keystatuseschange",this.bB,this);this.subscribe("hdentitled",this.jD,this);this.ka=b.drmSessionId||g.Xy();this.i=new QM;this.V=null;this.A=new QM;this.F=new QM;this.o=[];this.D="fairplay"==this.g.flavor?MD:g.P(this.l.experiments,
        "html5_drm_start_from_null_constraint")?MD:SM;this.R=null;this.I=new CM(a,this.g);g.K(this,this.I);this.u=null;kF(this.g)&&(this.u=new CM(a,this.g),g.K(this,this.u));this.ma=2;this.aa=new g.Mx(this);g.K(this,this.aa);this.ia=this.Z=!1;this.ca=null;this.N=!1;a=this.H;this.g.i?this.aa.P(a,"encrypted",this.dD):Nx(this.aa,a,kF(this.g)?["msneedkey"]:["needkey","webkitneedkey"],this.QD);(a=DM(this.I))?a.then(As((0,g.A)(this.BD,this)),As((0,g.A)(this.xC,this))):(TM(this,"mdkrdy"),this.N=!0);this.u&&DM(this.u);
        this.ua=!!this.K.Xb&&"widevine"==this.K.Xb.flavor&&!this.K.oa;this.J=this.Y=this.U=!1;a:{a=this.g;b=this.l.experiments;c=this.i;switch(a.flavor){case "fairplay":if(c=/\sCobalt\/(\S+)\s/.exec(g.Yb)){b=[];c=g.r(c[1].split("."));for(var d=c.next();!d.done;d=c.next())d=parseInt(d.value,10),0<=d&&b.push(d);b=parseFloat(b.join("."))}else b=NaN;19.2999<b?(b=a.tk,a=a.rk,a>=b&&(a=.75*b),c=.5*(b-a),a=new xM(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new RM(g.P(b,"disable_license_delay"),c,this);break a}a=
        null}if(this.B=a)g.K(this,this.B),this.B.subscribe("rotated_need_key_info_ready",this.Yq,this);TM(this,"cks"+this.g.cd())};
        XM=function(a,b,c){a.ia=!0;c=new vM(b,c);g.P(a.l.experiments,"html5_eme_loader_sync")?(a.A.get(b)||a.A.set(b,c),VM(a,c)):0!=a.o.length&&a.K.la&&a.K.la.g?WM(a):VM(a,c)};
        YM=function(a,b,c){TM(a,"onndrminf");b=new vM(c,b);g.P(a.l.experiments,"html5_eme_loader_sync")&&(a.F.get(c)||a.F.set(c,b));VM(a,b)};
        qda=function(a,b){if(kF(a.g)&&!a.U){var c=Hba(b);if(0!=c.length){var d=new vM(c);a.U=!0;navigator.requestMediaKeySystemAccess("com.microsoft.playready",[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}]).then(function(e){e.createMediaKeys().then(function(f){pda(a,f,d)})},null)}}};
        pda=function(a,b,c){var d=b.createSession(),e=a.i.values[0],f=ida(e);d.addEventListener("message",function(h){nda(h.message,d,a.g.o,f)});
        d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(h,l){"usable"==l&&(a.Y=!0,ZM(a,NM(e,a.Y)))})});
        d.generateRequest("cenc",c.initData)};
        VM=function(a,b){if(!a.da()){if(g.P(a.l.experiments,"html5_eme_loader_sync")&&a.K.la&&a.K.la.g){var c=a.F.get(b.initData),d=a.A.get(b.initData);if(!c||!d)return;b=c;c=b.initData;a.A.remove(c);a.F.remove(c)}TM(a,"initd"+b.initData.length+"ct"+b.contentType);a.Z&&a.ua||(a.Z=!0,"widevine"==a.g.flavor?(wM(b),a.L("widevine_set_need_key_info",b)):a.Yq(b))}};
        $M=function(a){a.da()||(a.N=!0,TM(a,"onmdkrdy"),WM(a))};
        WM=function(a){if(a.ia&&a.N&&!a.J){for(;a.o.length;){var b=a.o[0];if(a.i.get(b.initData))if("fairplay"==a.g.flavor)a.i.remove(b.initData);else{a.o.shift();continue}wM(b);break}if(a.o.length){b=a.o[0];a.i.get(b.initData);a.J=!0;var c=new IM(a.K,a.l,a.I,b,a,a.ka);a.i.set(b.initData,c)}}};
        ZM=function(a,b){var c=KD("auto",b,!1,"l");if(g.P(a.l.experiments,"html5_drm_start_from_null_constraint")){if(ID(a.D,c))return}else if(PD(a.D,b))return;a.D=c;a.L("qualitychange");TM(a,"updtlq"+b)};
        TM=function(a,b){VH(a.K)&&a.wb.L("ctmp","drmlog",b)};
        aN=function(a,b,c,d){this.videoData=a;this.g=b;this.reason=c;this.i=d};
        rda=function(a,b){this.videoData=a;this.la=b};
        sda=function(a,b,c){return Vaa(b,c).then(function(){return(V(a,"disable_index_range_auth")||!b.Mk||!b.la.g||b.le()||b.zi()?0:/(&|,|^)init=0-0(&|,|$)/.test(b.adaptiveFormats))?Cu(new bx("auth",!0,{init:"1"})):Du(new rda(b,b.la))},function(d){d instanceof Error&&g.Bs(d);
        d=b.oa&&!g.CD(a.l)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.Fd,f18:""+ +(0<=b.zh.indexOf("itag=18")),c18:""+ +Dx('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.zh.indexOf("itag=43")),c43:""+ +Dx('video/webm; codecs="vp8.0, vorbis"')};b.fa&&(e.f133=""+ +!!b.fa.g["133"],e.f140=""+ +!!b.fa.g["140"],e.c140=""+ +Fx('audio/mp4; codecs="mp4a.40.2"'),e.f242=""+ +!!b.fa.g["242"],e.c242=""+ +Fx('video/webm; codecs="vp9"'));return new bx(d,
        !0,e)})};
        bN=function(a,b){g.O.call(this);this.g=a;this.I=b;this.H=this.A=this.B=this.l=this.i=this.u=this.F=this.o=0;this.D=1};
        dN=function(a,b,c){g.VE(a.g)&&(c=ND(c,cN(a,b)));return c};
        cN=function(a,b){if(g.VE(a.g)&&oD(a.g.l,sD))var c=b.la.videoInfos[0].ra().Rb;else{var d=!!b.la.g;RE(a.g)&&(c=window.screen&&window.screen.width?new g.be(window.screen.width,window.screen.height):null);c||(c=a.g.Ee?a.g.Ee.clone():a.I.getPlayerSize());if(PE||eN||d){d=c;var e=$y(),f=g.Ja(void 0)?void 0:e;d.width*=e;d.height*=f}FH(b.videoData);f=b.la.videoInfos;if(f.length){f[0].ra();d=f[0];e=d.ra();f=g.r(f);for(var h=f.next();!h.done&&!(d=e=h.value,e=e.ra(),null===c||.78*e.width<c.width&&.78*e.height<
        c.height);h=f.next());c="93"==sx(d)?kx(e.width,e.height):e.quality;c=KD("auto",c,!1,"r")}else c=MD;c=c.g}c&&(c=Math.max(c,360));return new HD(0,c,!1,"r")};
        fN=function(a,b){var c;a:if((c=b.la)&&c.videoInfos.length){for(var d=g.r(c.videoInfos),e=d.next();!e.done;e=d.next())if(e=e.value,e.o){c=e.ra().Rb;break a}c=c.videoInfos[0].ra().Rb}else c=0;eu()&&!g.VE(a.g)&&ux(b.la.videoInfos[0])&&(c=Math.min(c,lx.large));return new HD(0,c,!1,"o")};
        tda=function(a){var b,c,d,e;return Da(function(f){if(1==f.g){if(!a.la.g)return f["return"]();b=a.la.videoInfos;return va(f,dG(b),2)}c=g.r(b);for(d=c.next();!d.done;d=c.next())e=d.value,e.o||$D(e.i,e.ra().fps,e.ra().Rb-1);f.g=0})};
        uda=function(a,b,c){if(!b||!c||!b.videoData.Fa)return!1;var d=g.Q(a.g.experiments,"html5_df_downgrade_thresh"),e=a.na("html5_log_media_perf_info"),f=g.Q(a.g.experiments,"hfr_dropped_framerate_fallback_threshold");if(!(5E3>(0,g.Bv)()-a.u?0:e||0<d||0<f))return!1;a.u=(0,g.Bv)();c=c.rl();if(!c)return!1;var h=c.droppedVideoFrames-a.A,l=c.totalVideoFrames-a.H;a.A=c.droppedVideoFrames;a.H=c.totalVideoFrames;e&&b.videoData.Ue&&a.L("ctmp","ddf","dr."+c.droppedVideoFrames+";de."+c.totalVideoFrames);e=60<l?
        h/l:0;0<e&&(a.B=e);a.l=0<f&&60*e>f?a.l+1:0;if(!d||g.VE(a.g)||!gN(a,b))return!1;a.i=e>d?a.i+1:0;if(3!=a.i)return!1;hN(a,b.videoData.Fa);a.L("ctmp","dfd",iN());return!0};
        gN=function(a,b){if(a.na("html5_restore_perf_cap"))return!0;if(!b.videoData.Fa)return!1;if("1"==b.videoData.Fa.i)return!0;var c=a.g.i?240:360;return b.videoData.Fa.ra().Rb>c};
        hN=function(a,b){var c=b.ra().Rb-1;$D(b.i,b.ra().fps,c);a.g.zd=new HD(0,c,!1,"b")};
        jN=function(a,b){if(a.na("html5_restore_perf_cap")){for(var c=0,d=a.g.i?240:360,e=g.r(b.la.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.i,l=f.ra().fps;h=+ZD()[YD(h,l)]||0;f=f.ra().Rb;if(!h||Math.max(h,d)>=f){c=f;break}}return new HD(0,c,!1,"b")}return a.g.zd};
        kN=function(a,b){a.na("html5_log_media_perf_info")&&(a.L("ctmp","perfdb",iN()),a.L("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.L("ctmp","mcdb",b.la.videoInfos.filter(function(c){return!1===c.o}).map(function(c){return sx(c)}).join("-")))};
        iN=function(){var a=bc(ZD(),function(b){return""+b});
        return cx(a)};
        lN=function(a,b){g.J.call(this);this.i=a;this.J=b;this.l=-1;this.I=!1;this.o=-1;this.g=new g.By;this.D=this.B=this.H=0;this.A=new g.L(this.u,6E4,this);g.K(this,this.A);this.F=!1};
        mN=function(a){0<=a.l||(3==a.i.getVisibilityState()?a.I=!0:(a.l=PI(a.i),a.A.start()))};
        nN=function(a){if(!(0>a.o)){var b=PI(a.i),c=b-a.H;a.H=b;8==a.g.g?a.B+=c:g.Ly(a.g)&&!g.R(a.g,16)&&(a.D+=c)}};
        oN=function(a){a=a.Ra.experiments.experimentIds;return a.includes("21561000")?"HTML5_PLAYER_CANARY_TYPE_LIVE":a.includes("21561001")?"HTML5_PLAYER_CANARY_TYPE_RELEASE":"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"};
        vda=function(a){return(!SI(a,"html5_health_to_gel")||a.Ra.N+36E5<(0,g.Bv)())&&(SI(a,"html5_health_to_gel_canary_killswitch")||a.Ra.N+36E5<(0,g.Bv)()||"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"==oN(a))?SI(a,"html5_health_to_qoe"):!0};
        qN=function(a){g.J.call(this);var b=this;this.g=a;this.i={};this.R=1;this.ma=NaN;this.l="N";this.U=this.za=this.ka=this.Z=this.A=0;this.N=this.Aa="";this.ia=0;this.Ba=-1;this.sa=1;this.I=this.J=0;this.V=this.H=!1;this.Ja=[];this.D=null;this.F=this.Y=this.o=!1;this.u=-1;this.ca=!1;(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.D=c});
        pN(this,0,"vps",["N"])};
        pN=function(a,b,c,d){var e=a.i[c];e||(e=[],a.i[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
        tN=function(a,b){b=0<=b?b:PI(a.g);var c=a.g.l();if(!isNaN(a.ua)&&!isNaN(c.l)){var d=c.l-a.ua;0<d&&pN(a,b,"bwm",[d,(c.u-a.Oa).toFixed(3)])}a.ua=c.l;a.Oa=c.u;isNaN(c.bandwidthEstimate)||pN(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.g.videoData.Ue&&c.g&&rN(a,"bwinfo",c.g);a.D&&pN(a,b,"bat",[a.D.level,a.D.charging?"1":"0"]);d=a.g.getVisibilityState();a.Ba!=d&&(pN(a,b,"vis",[d]),a.Ba=d);pN(a,b,"cmt",[a.g.g().toFixed(3)]);(d=RI(a.g))&&d!=a.ia&&(pN(a,b,"conn",[d]),a.ia=d);sN(a,b,c)};
        sN=function(a,b,c){if(!isNaN(c.i)){var d=c.i;c.o<d&&(d=c.o);pN(a,b,"bh",[d.toFixed(3)])}};
        uN=function(a){var b=0,c;for(c in a.i)b+=c.length+ci(a.i[c],function(d,e){return d+e.length},0);
        1E3<b&&(new g.L(a.B,0,a)).start()};
        vN=function(a,b,c,d){var e=a.g.g();c=[c,e.toFixed(3)];d&&c.push(d);pN(a,b,"error",c);a.F=!0};
        wN=function(a){!SI(a.g,"html5_qoe_user_intent_match_health")||0<=a.u||(a.g.Ra.ca||3!=a.g.getVisibilityState()?a.u=PI(a.g):a.ca=!0)};
        xda=function(a,b){if(g.R(b,128))return"ER";if(g.R(b,512))return"SU";if(g.R(b,16)||g.R(b,32))return"S";var c=wda[My(b)];g.VE(a.g.Ra)&&"B"==c&&3==a.g.getVisibilityState()&&(c="SU");"B"==c&&g.R(b,4)&&(c="PB");return c};
        xN=function(a,b){var c=a.i.cat||[];c.push(b);a.i.cat=c};
        rN=function(a,b,c,d){var e=a.i.ctmp||[],f=-1!=a.Ja.indexOf(b);f||a.Ja.push(b);d&&f||(!SI(a.g,"html5_censor_ctmp_killswitch")&&/[^a-zA-Z0-9;.!_-]/.test(c)&&(c=c.replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_")),d||(c="t."+(1E3*PI(a.g)).toFixed()+";"+c),e.push(b+":"+c),a.i.ctmp=e,uN(a))};
        yN=function(a){g.J.call(this);var b=this;this.o=a;this.l=this.g=this.i=null;this.o.videoData.isValid()&&!this.o.videoData.uh&&(this.i=new WI(a),g.K(this,this.i),this.g=new qN(a),g.K(this,this.g));vda(a)&&(this.l=new lN(a,function(c){b.g&&rN(b.g,"h5h",c,void 0)}),g.K(this,this.l))};
        g.zN=function(a){a.i&&GI(a.i.i)};
        yda=function(a){return a.i?zba(a.i):function(){}};
        zda=function(a){this.o=new Ny(50);this.g=null;this.l=this.i=0;this.u=a};
        BN=function(a,b,c){g.O.call(this);var d=new Ada;"ULTRALOW"==a.latencyClass&&(d.o=!1);a.ah?d.i=3:g.iI(a)&&(d.i=2);g.P(b,"html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.A=!0);var e=PH(a);d.u=2==e||-1==e;d.u&&(d.H++,21530001==MH(a)&&(d.B=g.Q(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(cu("trident/")||cu("edge/"))d.l=Math.max(d.l,g.Q(b,"html5_platform_minimum_readahead_seconds")||3);g.Q(b,"html5_minimum_readahead_seconds")&&(d.l=g.Q(b,"html5_minimum_readahead_seconds"));
        g.Q(b,"html5_maximum_readahead_seconds")&&(d.D=g.Q(b,"html5_maximum_readahead_seconds"));g.P(b,"html5_force_adaptive_readahead")&&(d.o=!0);g.Q(b,"html5_allowable_liveness_drift_chunks")&&(d.g=g.Q(b,"html5_allowable_liveness_drift_chunks"));g.Q(b,"html5_readahead_ratelimit")&&(d.F=g.Q(b,"html5_readahead_ratelimit"));switch(MH(a)){case 21530001:d.g=(d.g+1)/5,"LOW"==a.latencyClass&&(d.g*=2),d.I=g.P(b,"html5_live_smoothly_extend_max_seekable_time")}this.g=d;this.K=a;this.F=c;this.l=[];this.u=0;this.o=
        !0;this.A=1!=this.g.i;this.B=!1;this.D=0;b=isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.ah&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(MH(a)){case 21530001:b=1;break;case 2153E4:b=2}this.g.u&&b++;this.i=AN(this,b)};
        DN=function(a,b){var c=a.i;(void 0===b?0:b)&&a.g.I&&3==PH(a.K)&&--c;return CN(a)*c};
        FN=function(a,b){var c=EN(a);var d=a.g.g;a.B||(d=Math.max(d-1,0));d*=CN(a);return b>=c-d};
        EN=function(a){return Math.max(a.F()-DN(a,!0),a.K.ob())};
        GN=function(a,b,c){b=FN(a,b);c||b?b&&(a.o=!0):a.o=!1;a.A=2==a.g.i||3==a.g.i&&a.o};
        HN=function(a,b){var c=FN(a,b);a.B!=c&&a.L("livestatusshift",c);a.B=c};
        CN=function(a){return a.K.fa?fD(a.K.fa)||5:5};
        AN=function(a,b){b=Math.max(Math.max(a.g.H,Math.ceil(a.g.l/CN(a))),b);return Math.min(Math.min(8,Math.floor(a.g.D/CN(a))),b)};
        Ada=function(){this.H=1;this.l=0;this.D=Infinity;this.F=0;this.o=!0;this.g=2;this.i=1;this.u=!1;this.B=NaN;this.I=this.A=!1};
        LN=function(a,b){g.O.call(this);var c=this;this.ca=b;var d={};this.V=(d.seekplayerrequired=this.RF,d.videoformatchange=this.kB,d);this.na("html5_unrewrite_timestamps")&&(this.V.timestamp=this.ZF);this.K=a;this.ma=null;this.ua=new Bda(b);this.Z=new g.Mx;g.K(this,this.Z);this.F=this.l=this.u=this.g=null;this.i=NaN;this.B=0;this.A=null;this.J=NaN;this.D=this.H=null;this.Y=this.I=!1;this.ia=new g.L(function(){var e={tgt:c.i};c.u&&g.Ya(e,c.u.Pa());c.g&&g.Ya(e,c.g.Pa());if(isFinite(c.i)&&0<c.i&&c.g&&IN(c)){var f=
        c.g.getCurrentTime(),h=c.i-c.o,l=!c.na("html5_reseek_element_killswitch")&&(f<c.i-10||f>c.i+10);if(!f||l)c.g.seekTo(h),e.elem="1"}if(f=c.u)f=c.u,f=tM(f.i)||tM(f.o);f||c.L("ctmp","seektimeout",cx(e))},1E4);
        g.K(this,this.ia);this.N=new g.L(function(){c.I=!0;JN(c)});
        g.K(this,this.N);this.sa=new g.L(function(){return KN(c)});
        g.K(this,this.sa);this.o=0;this.R=!0;this.U=!1;this.ka=0};
        Cda=function(a,b){a.ma=b;a.K.oa&&(a.F=new zda(function(){a:{if(a.ma&&a.ma.la.g){if(ez(a.K)&&a.u){var c=a.u.za.g()||0;break a}if(a.K.fa){c=a.K.fa.H;break a}}c=0}return c}),a.l=new BN(a.K,a.ca.experiments,function(){return a.Db(!0)}));
        a.K.startSeconds&&isFinite(a.K.startSeconds)&&1E9<a.K.startSeconds||(a.B=a.B||a.K.startSeconds||0)};
        NN=function(a,b){g.Ox(a.Z);(a.g=b)?(Dda(a),KN(a)):MN(a)};
        PN=function(a,b){a.u&&$u(a.u,a.V,a);(a.u=b)?(Zu(b,a.V,a),ON(a,!0)):MN(a)};
        QN=function(a){return!!a.l&&a.l.A};
        ON=function(a,b){if(a.l&&a.u){var c=!1;if(b)c=!0;else if(a.K.isLowLatencyLiveStream||"LOW"==a.K.latencyClass||"ULTRALOW"==a.K.latencyClass)if(c=a.l,c.l.length){var d=c.i;b:{if(c.l.length){if(1<Math.min.apply(null,c.l)){var e=AN(c,c.i-1);break b}if(c.g.o){e=AN(c,c.i+1);break b}}e=c.i}c.i=e;if(d=d!=c.i)c.l=[],c.u=0;c=d}else c=!1;c&&a.L("livereadaheadchanged",DN(a.l));c=a.u;d=a.l.i;e=a.l;e=(e.i-1+e.g.g)*CN(e);var f=a.l.g.B;c.Ga=Math.max(d-1,0);c.D&&(c.D.J=e);c.Fb=f}};
        RN=function(a){return a.K.oa&&!!a.K.la&&!a.K.la.g};
        JN=function(a){Eda(a).then(void 0,function(){MN(a)});
        SN(a).then(function(b){a.D&&(a.D.resolve(b),a.L("seekend"));MN(a)},function(){MN(a)});
        a.ia.start();a.L("seekstart")};
        Eda=function(a){if(!a.H)if(a.u)if(isFinite(a.i))a.H=a.u.seek(a.i-a.o);else{var b=a.u;YL(b);b.D&&DL(b.D,b.i.g);var c=Math.max(LK(b.i.l),LK(b.o.l)),d=b.i;d.B=!0;d.u=-1;aL(d,Infinity);d.l.u=c;d.D=c;d=b.o;d.B=!0;d.u=-1;aL(d,Infinity);d.l.u=c;d.D=c;d=b.u;for(var e in d.g)Yz(d.g[e].index,Infinity);b.g.ca&&(b.J=!0,b.Ja=!0);b.A=c;b.I=!0;g.Qq(b.ca);b.ka=new RL;a.H=b.ka;a.i=a.u.getCurrentTime()+a.o}else a.H=Ym(a.i-a.o);return a.H};
        SN=function(a){var b=a.A;b||(a.A=new RL,b=a.A,KN(a));return b};
        TN=function(a,b,c){return isNaN(b)?NaN:g.Yd(b,a.ob(),a.Db(c))};
        KN=function(a){if(a.A)if(!a.na("html5_nondash_live_seek_killswitch")&&RN(a)&&a.g&&0<a.g.Ld()&&0<ky(a.g)&&(a.i=TN(a,a.i,!1)),!a.g||!IN(a))a.sa.start(750);else if(!isNaN(a.i)&&isFinite(a.i)&&a.J!=a.i-a.o){var b=a.g.getCurrentTime()-a.i;if(Math.abs(b)<=a.ka)UN(a);else if(a.U&&a.g.getCurrentTime()>=a.i)UN(a);else if(!a.K.oa&&a.i>=a.Db()-.1)a.i=a.Db(),a.A.resolve(a.Db()),a.L("ended");else try{a.g.seekTo(a.i-a.o),a.J=a.i-a.o,a.B=a.i}catch(c){}}};
        IN=function(a){if(!a.g||0==a.g.Ld()||0<a.g.oe())return!1;var b=0<a.g.getCurrentTime();if(0<=a.i){var c=a.g.Fk();if(c.length||!b)return 0<=Tx(c,a.i-a.o)}return b};
        UN=function(a){a.A&&a.A.resolve(a.g.getCurrentTime())};
        MN=function(a){a.i=NaN;a.J=NaN;a.A=null;a.H=null;a.D=null;a.I=!1;a.Y=!1;a.U=!1;a.ka=0;a.ia.stop();a.N.stop()};
        Dda=function(a){if(a.g)for(var b=g.r(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.Z.P(a.g,c.value,function(d){switch(d.type){case "seeking":d=a.g.getCurrentTime()+a.o;if(!a.A||a.Y&&d!=a.i)a.A=new RL,a.J=d,a.seekTo(d,!0),a.Y=!0;break;case "seeked":UN(a);break;case "loadedmetadata":if(a.R){d="ss.";var e=0;if((jI(a.K)||a.K.liveUtcStartSeconds)&&(a.K.liveUtcStartSeconds||a.K.startSeconds&&isFinite(a.K.startSeconds)&&1E9<a.K.startSeconds)&&a.K.fa){e=a.K.liveUtcStartSeconds||
        a.K.Cf;d="utc.";var f=a.Db();var h=a.Db();h=gD(a.K.fa,h-a.o);e=f-h+e}else a.K.fa&&a.K.fa.i&&a.K.Cf?e=a.K.Cf+a.qb():a.na("html5_unrewrite_timestamps")&&a.K.dm&&(e=a.K.dm);e?(a.seekTo(e),a.L("ctmp","startSeconds",d+e),a.R=!1):a.K.Cf&&a.L("ctmp","startSeconds","ss."+(a.K.Cf+a.qb()));d=!!e}else d=!1;a.na("html5_nondash_live_seek_killswitch")&&!d&&RN(a)&&(a.i=isFinite(a.i)?g.Yd(a.i,a.ob(),a.Db()):a.Db());case "progress":KN(a)}})};
        Fda=function(a){if(!a.g)return 0;if(jI(a.K)){var b=oy(a.g)+a.o-a.ob();a=a.Db()-a.ob();return Math.max(0,Math.min(1,b/a))}return py(a.g)};
        Bda=function(a){this.g=g.P(a.experiments,"html5_live_smoothly_extend_max_seekable_time");this.i=V(a,"html5_seek_over_discontinuities")};
        VN=function(){var a=Lv();return!(!a||"visible"==a)};
        XN=function(a){var b=WN();b&&document.addEventListener(b,a,!1)};
        YN=function(a){var b=WN();b&&document.removeEventListener(b,a,!1)};
        WN=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[Kv+"VisibilityState"])return"";a=Kv+"visibilitychange"}return a};
        ZN=function(){g.O.call(this);this.l=0;this.o=this.i=this.g=this.u=!1;this.A=(0,g.A)(this.lh,this);XN(this.A);this.B=this.getVisibilityState(this.i,this.isFullscreen(),this.g,this.isInline(),this.o)};
        Gda=function(a,b){a.i!=b&&(a.i=b,a.lh())};
        $N=function(a,b){a.o!=b&&(a.o=b,a.lh())};
        aO=function(){this.i=this.g=!1};
        Ida=function(a,b,c){var d,e,f,h,l,m;return Da(function(n){switch(n.g){case 1:a.Sc=!0,d=a.isAd()?1:3,e=function(p){p=dx(p);if(p.g)return Promise.reject(p);c(p);return!1},f=0;
        case 2:if(!(f<d)){n.g=4;break}h=b;if(!(0<f)){n.g=5;break}return va(n,xn(5E3),6);case 6:h=vt(b,{playerretry:f});case 5:return va(n,Hda(a,h).then(function(){return!0},e),7);
        case 7:if(l=n.l)return n["return"]();f++;n.g=2;break;case 4:return m=a.isAd()?"auth":"manifest.net.retryexhausted",n["return"](Promise.reject(new bx(m,!0,{backend:"gvi"})))}})};
        Hda=function(a,b){var c,d,e,f,h,l,m,n,p,q,v;return Da(function(x){if(1==x.g)return c=a.O(),d={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},e={},c.sa&&a.visitorData&&(e["X-Goog-Visitor-Id"]=a.visitorData),(f=wy(c.experiments,"debug_dapper_trace_id"))&&(e["X-Google-DapperTraceInfo"]=f),(h=wy(c.experiments,"debug_sherlog_username"))&&(e["X-Youtube-Sherlog-Username"]=h),0<Object.keys(e).length&&(d.headers=e),l=(0,g.Bv)(),m=function(B){if(!a.da()){B=B?B.status:-1;var C=400==B||429==B,E=((0,g.Bv)()-
        l).toFixed();E={backend:"gvi",rc:""+B,rt:E};var F="manifest.net.connect";429==B?F="auth":200<B&&(F="manifest.net.badstatus");return Promise.reject(new bx(F,C,E))}},n=function(B){return m(B.mg)},va(x,DC(zu,b,d).then(void 0,n),2);
        p=x.l;if(!p||!p.responseText)return x["return"](m(p));a.Sc=!1;q=g.pt(p.responseText);a.ye(q,!0);if(a.errorCode)return v={ec:a.errorCode,ed:a.errorDetail,es:a.Zf},x["return"](Promise.reject(new bx("auth",!0,v)));if(!a.Sc&&!bI(a))return x["return"](Promise.reject(new bx("manifest.net.retryexhausted",!0,{successButUnplayable:"1"})));x.g=0})};
        Jda=function(a,b,c){function d(){SH("virc");sH("virc")}
        SH("vir");sH("vir");a=Ida(a,b,c);a.then(d,d);return a};
        eO=function(a,b,c,d,e,f,h){g.O.call(this);var l=this;this.o=a;this.Aa=new yy(this.na("html5_min_has_advanced"));this.J=c;this.tb=d;this.De=f;this.I=h;c=(0,g.A)(function(m,n){m!=g.lJ("endcr")||g.R(this.i,32)||bO(this);e(m,n)},this);
        this.H=new ML((0,g.A)(this.getCurrentTime,this),(0,g.A)(this.getPlaybackRate,this),(0,g.A)(this.getPlayerState,this),c,a);g.K(this,this.H);this.B=null;this.Fb=[];this.U=null;this.R=new bN(a,this.tb);g.K(this,this.R);this.R.subscribe("ctmp",this.Na,this);this.Uc=!0;this.D=this.l=null;this.N=[];this.Y=new aO;this.F=this.ua=null;this.V=new aO;this.Ja=null;this.Ee=this.ia=!1;this.Gb=NaN;this.be=new g.L(this.TE,500,this);g.K(this,this.be);this.i=new g.By;this.Ib=[];this.rb=b;this.sa=new g.Mx;g.K(this,
        this.sa);this.K=new g.AH(a);cO(this,function(){return{}});
        this.g=null;this.ka=new g.L((0,g.A)(this.uD,this),15E3);g.K(this,this.ka);this.yd=this.Ba=!1;this.ma=NaN;this.Oa=!1;this.za=0;this.Ac=new g.L(this.tp,4500,this);g.K(this,this.Ac);this.Fe=this.Ga=!1;this.Wa=NaN;this.Z=new Py;g.K(this,this.Z);Ry(this.Z,"bufferhealth",function(){var m=l.u;return m.g?my(m.g):0});
        Ry(this.Z,"bandwidth",(0,g.A)(this.Ey,this));Ry(this.Z,"networkactivity",(0,g.A)(this.Hy,this),!0);Ry(this.Z,"livelatency",(0,g.A)(this.Bs,this));Ry(this.Z,"rawlivelatency",(0,g.A)(this.Es,this));this.Z.start();this.zd=!1;this.Tc=!0;this.rd=NaN;this.ud=this.Qf=!1;this.gb=1;this.Ya=(0,g.A)(this.nA,this);XN(this.Ya);this.I.subscribe("visibilitystatechange",this.Ya);this.Ze=this.Ce=this.Be=0;Kda(this);this.ca=null;this.Ae=!1;this.wd=[];this.pd=this.af=0;this.xd=this.bf=!1;this.Pb=new g.L(function(){g.dO(l,
        "ad.rebuftimeout","RETRYABLE_ERROR","vps."+l.i.g.toString(16))});
        g.K(this,this.Pb);this.od=!1};
        oO=function(a,b,c,d){d=void 0===d?!0:d;a.N.length=0;a.ua=null;a.Y.reset();a.V.reset();a.Ba=!1;a.rd=NaN;a.Uc=!0;a.Ja=null;a.g&&a.g.stopVideo();fO(a);gO(a);hO(a);g.gt(a.ma);a.Z.clear();g.Zj(a.K);if(2==a.rb||a.o.Jj)b.kt=!0;var e=a.o.g;var f=a.o.xb,h;(h=b.hp)||(h=(h=b.Pp)&&hc(iO,h)&&hc(jO,h)?jO[h]+"_"+iO[h]:void 0);if(h){var l=h.match(kO);if(l&&5==l.length){if(l=h.match(kO)){var m=parseInt(l[3],10),n=[7,8,10,5,6];l=!(1==parseInt(l[1],10)&&8==m)&&0<=n.indexOf(m)}else l=!1;e=e||f||l?h:null}else e=null}else e=
        null;e&&(b.adFormat=e);2==a.rb&&(b.Jf=!0);if(a.I.isFullscreen()||a.o.g)e=g.UD("yt-player-autonavstate"),b.autonavState=e||(a.o.g?2:a.K.autonavState);a.Tc=d;a.K=b;a.K.subscribe("dataupdated",a.eF,a);a.K.subscribe("dataloaded",a.dn,a);a.K.subscribe("dataloaderror",a.gh,a);lO(a,b);cO(a,c);a.Oa=!1;a.za=0;mO(a,"newdata");nO(a,new g.By);c=a.u;d=a.K;MN(c);c.K=d;c.l=null;c.F=null;c.o=0;c.B=0;c.R=!0;oI(b)&&(b=a.K.errorDetail,c=a.K.nn,g.dO(a,"auth",unescape(c.reason),b,b,c.subreason||void 0))};
        cO=function(a,b){var c=new wba(a.K,a.o,b,(0,g.A)(a.getDuration,a),(0,g.A)(a.getCurrentTime,a),(0,g.A)(a.Ky,a),(0,g.A)(a.tb.getPlayerSize,a.tb),(0,g.A)(a.getAudioTrack,a),(0,g.A)(a.getPlaybackRate,a),(0,g.A)(a.An,a),a.De,(0,g.A)(a.Wy,a),function(){return a.J.tick("qoes")});
        a.A=new yN(c)};
        gO=function(a){var b=a.A;b.l&&b.l.u();if(b.i){var c=b.i;if(!c.da()&&c.l){c.u="paused";var d=$I(c);d.isFinal=!0;d.send();g.Is(c.o);c.dispose()}}b.g&&(c=b.g,SI(c.g,"html5_stopVideo_ping_block_killswitch")||c.F)&&("PL"==c.l&&(c.l="N"),d=PI(c.g),pN(c,d,"vps",[c.l]),SI(c.g,"html5_qoe_user_intent_match_health")&&!c.o&&(0<=c.u&&(c.i.user_intent=[c.u.toString()]),c.o=!0),c.B(d));b.dispose();g.Zj(a.A)};
        pO=function(a){return a.g&&a.g.og()?a.g.ga():null};
        qO=function(a){if(a.K.isValid())return!0;g.dO(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
        tO=function(a,b){a.ia=void 0===b?!1:b;if(!qO(a)||a.Y.g)rO(a)&&a.Y.g&&!a.Y.isFinished()&&!a.ia&&a.dn();else{a.Y.start();var c=a.A;PI(c.o);if(c.g){c=c.g;c.g.videoData.aj&&xN(c,c.g.videoData.aj);c.g.videoData.ug?xN(c,"prefetch"):SI(c.g,"html5_qoe_user_intent_match_health")||(c.i.user_intent=["0"],c.o=!0);c.g.videoData.se&&(rN(c,"reload",c.g.videoData.reloadReason),rN(c,"reloadcount",c.g.videoData.se.toString()));c.g.videoData.ah&&xN(c,"monitor");c.g.videoData.oa&&xN(c,"live");c.g.videoData.te&&rN(c,
        "ctrl",c.g.videoData.te,!0);c.g.videoData.ue&&rN(c,"ytp",c.g.videoData.ue,!0);if(c.g.videoData.Jv){var d=c.g.videoData.Jv.replace(/,/g,".");rN(c,"ytrexp",d,!0)}c.g.videoData.chapterMarkers.length&&xN(c,"chaptermarkers");if(!g.P(c.g.Ra.experiments,"html5_disable_gpu_reporting")){var e=c.g.Ra.experiments;d=c.g.videoData;e=g.P(e,"enable_white_noise")||g.P(e,"enable_webgl_noop")||g.P(e,"enable_gpu_logging");var f=d.bo()||d.Ci()||d.Di()||d.ti(),h=d.la&&"1"==g.db(d.la.videoInfos).i&&/^g/.test(d.clientPlaybackNonce);
        d=/^gp/.test(d.clientPlaybackNonce);(e||f||d||h)&&(d=sO())&&(c.i.gpu=[d])}c.ma=Hs((0,g.A)(c.B,c),1E4)}a.dn()}};
        rO=function(a){return g.P(a.o.experiments,"tvhtml5_disable_live_prefetch")&&g.VE(a.o)&&a.K.oa};
        Lda=function(a){var b=a.K,c=yba(a.o,a.K,a.tb.getPlayerSize(),a.De(),a.I.isFullscreen());Jda(a.K,c,function(d){return a.gh(d)}).then(void 0,function(d){a.K!=b||b.da()||(d=dx(d),"auth"==d.errorCode&&a.K.errorDetail?g.dO(a,"auth",unescape(a.K.errorReason),cx(d.details),a.K.errorDetail,a.K.Zf||void 0):a.gh(d))})};
        Mda=function(a){g.R(a.i,128)||(a.K.Hb(),a.Tc=!0,4!=a.rb&&(a.N=g.ub(a.K.Cc)),aI(a.K)?(uO(a).then(function(){a.da()||(a.ia&&vO(a),lO(a,a.K),a.Y.i=!0,mO(a,"dataloaded"),a.V.g?wO(a):a.ia&&nO(a,Ey(Ey(a.i,512),1)),kN(a.R,a.F))}),a.Na("loudness",""+a.K.dj.toFixed(3),!0)):mO(a,"dataloaded"))};
        uO=function(a){hO(a);a.F=null;var b=sda(a.o,a.K,a.I.i);a.ua=b;a.ua.then((0,g.A)(a.YD,a),(0,g.A)(a.ZD,a));return b};
        xO=function(a){a.g&&a.g.ih();tO(a);qO(a)&&!g.R(a.i,128)&&(a.V.g||(a.V.start(),nO(a,Ey(Ey(a.i,8),1))),wO(a))};
        wO=function(a){if(!a.V.isFinished()&&a.Y.isFinished()&&!g.R(a.i,128)&&!a.N.length){if(!a.H.started){var b=a.H;b.started=!0;b.i()}if(!yO(a)){a.l&&(b=a.l.ma,a.Ee=!!b.g&&!!b.o);a.V.isFinished()||(a.V.i=!0);!a.K.oa||0<a.K.Cf&&!ez(a.K)||(a.seekTo(Infinity,!0),zO(a,"readying"),a.I.isBackground()&&(a.yd=!0));b=a.A;if(b.i){var c=b.i;c.g.videoData.Th&&c.g.videoData.nk&&(c.B("connected"),dJ(c))}b.g&&(b=b.g,b.g.videoData.oa&&(c=b.g.videoData.fa,ez(b.g.videoData)&&xN(b,"manifestless"),c&&fD(c)&&xN(b,"live-segment-"+
        fD(c).toFixed(1))));a.L("playbackready",a);nH("pbr","")||(a.J.tick("pbr"),sH("pbr"))}}};
        bO=function(a,b,c){b=void 0===b?!0:b;(void 0===c||c)&&a.g&&a.g.pause();nO(a,b?new g.By(14):new g.By)};
        lO=function(a,b){if(b.endSeconds&&b.endSeconds>b.startSeconds){var c=b.endSeconds;a.U&&(a.removeCueRange(a.U),a.U=null);a.U=new g.iJ(1E3*c,0x7ffffffffffff);a.U.namespace="endcr";a.addCueRange(a.U)}};
        BO=function(a,b,c,d){a.K.Fa=c;d&&AO(a,b,d);var e=(d=cz(a))?sx(d):"";d=a.A;e=new aN(a.K,c,b,e);if(d.g){c=d.g;d=PI(c.g);pN(c,d,"vfs",[e.g.id,e.i,c.Aa,e.reason]);c.Aa=e.g.id;e=c.g.B();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=$y();1<f&&e.push(f);pN(c,d,"view",e)}c.Y||(c.g.videoData.Ue&&xN(c,"rqs"),c.g.videoData.fa&&KC(c.g.videoData.fa)&&(c.i.preload=["1"]));c.Y=!0;c.F=!0;pN(c,d,"vps",[c.l]);c.B(d)}c=a.R;c.o=0;c.i=0;a.L("internalvideoformatchange",a.K,"m"==b)};
        cz=function(a){var b=CO(a);return LD(b)||!a.F?null:g.gb(a.F.la.videoInfos,(0,g.A)(b.o,b))};
        AO=function(a,b,c){if(c!=a.K.sc){var d=!a.K.sc;a.K.sc=c;"m"!=b&&(b=d?"i":"a");var e=a.A;c=new aN(a.K,c,b,"");if(e.g){e=e.g;var f=PI(e.g);c.g.id!=e.N&&(pN(e,f,"afs",[c.g.id,e.N,c.reason]),e.N=c.g.id)}d||a.L("internalaudioformatchange",a.K,"m"==b)}};
        g.dO=function(a,b,c,d,e,f){var h,l;g.ic(Nda,c)?h=c:c?l=c:h="GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:e,errorMessage:l||g.DO[h]||"",sn:h,Zf:f||"",Ev:d};mO(a,"dataloaderror");nO(a,Dy(a.i,128,b));g.gt(a.ma);hO(a);g.EO(a)};
        FO=function(a,b){a.N=a.N.filter(function(c){return b!=c});
        a.V.g&&wO(a)};
        yO=function(a){var b;(b=!!a.N.length)||(a=a.H.g.g[0],b=!!a&&-0x8000000000000>=a.start);return b};
        JO=function(a,b){if(a.g&&b.ga()==a.g.ga()&&(b.isView()||a.g.isView())){if(b.isView()||!a.g.isView())g.Ox(a.sa),a.g=b,GO(a),NN(a.u,a.g)}else{a.g&&HO(a);if(!a.i.isError()){var c=Fy(a.i,512);g.R(c,8)&&!g.R(c,2)&&(c=Ey(c,1));nO(a,c)}a.g=b;a.g.setLoop(a.ud);a.g.setPlaybackRate(a.gb);GO(a);IO(a);NN(a.u,a.g)}};
        IO=function(a){if(g.P(a.o.experiments,"html5_prewarm_mse")&&BD()&&fy()&&a.g)try{a.g.Ml()}catch(b){}};
        HO=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a.g){var d=a.getCurrentTime();0<d&&(a.u.B=d);NN(a.u,null);KO(a);a.l&&(g.Qq(a.l.ca),LO(a,c));a.ka.stop();if(a.g){!a.V.g||a.i.isError()||g.R(a.i,2)||nO(a,Ey(a.i,512));g.Ox(a.sa);if(b||!a.g.isView())a.g.stopVideo(),fO(a);a.g=null}}};
        Oda=function(a){if(!a.F)return[];var b=dN(a.R,a.F,Zy(a,!0));b=b||MD;a=(0,g.ol)(a.F.la.videoInfos,(0,g.A)(b.o,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].ra();c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
        CO=function(a){if(a.F){var b=a.R;var c=a.F,d=Zy(a);a=a.I.isBackground();var e=KD("auto",XD(),!1,"s"),f=g.P(b.g.experiments,"html5_break_sticky")&&/^i/.test(c.videoData.clientPlaybackNonce);if(LD(e)||f){e=ND(cN(b,c),fN(b,c));f=0;!b.g.i||g.OE(b.g)||ku()||g.P(b.g.experiments,"mweb_uniplayer_auto_quality")||g.P(b.g.experiments,"hls_for_vod")||(f=lx.medium);var h=g.Q(b.g.experiments,"html5_default_quality_cap");if(h){var l=!!c.la.g&&!c.videoData.te,m=g.Q(b.g.experiments,"html5_quality_cap_min_age_secs");
        l&&m&&(l=b.g.schedule.F,l=(0,g.Bv)()-l>1E3*m);l&&(f=f?Math.min(f,h):h)}if(m=h=g.Q(b.g.experiments,"html5_hfr_quality_cap"))a:{m=c.la;if(m.g)for(m=g.r(m.videoInfos),l=m.next();!l.done;l=m.next())if(32<l.value.ra().fps){m=!0;break a}m=!1}m&&(f=f?Math.min(f,h):h);(h=g.Q(b.g.experiments,"html5_live_quality_cap"))&&c.videoData.oa&&(f=f?Math.min(f,h):h);e=ND(e,new HD(0,f,!1,"d"));f=g.Q(b.g.experiments,"html5_background_quality_cap");h=g.Q(b.g.experiments,"html5_background_cap_idle_secs");a=!f||"auto"!=
        XD()||jw()/1E3<h?MD:a?new HD(0,f,!1,"v"):MD;f=g.Q(b.g.experiments,"html5_autonav_quality_cap");a=ND(ND(ND(ND(e,a),f&&c.videoData.Yg?new HD(0,f,!1,"e"):MD),jN(b,c)),c.videoData.yw);e=new HD(0,0,!1,"o");1<b.D&&(e=new HD(0,480,!0,"o"));e=ND(a,e)}g.P(b.g.experiments,"html5_ignore_sticky_for_medcap")&&(e=ND(e,fN(b,c)));b=ND(ND(ND(c.videoData.rm,e),c.videoData.kr),d)}else b=MD;return b};
        Zy=function(a,b){if(a.B){var c=a.B;var d=void 0===b?!1:b;c=!g.P(c.l.experiments,"html5_drm_entitled_qualitycap_on_edge_killswitch")&&(void 0===d?0:d)&&c.R?c.R:c.D}else c=a.K.Mk()&&a.K.fa&&HC(a.K.fa)?g.P(a.o.experiments,"html5_drm_start_from_null_constraint")?MD:SM:MD;a.xd&&(c=ND(c,MO));return c};
        OO=function(a){if(!a.da()&&!g.R(a.i,128)&&a.K.la){if(a.K.la.g)NO(a);else{var b=CO(a),c=a.K;a:{var d=a.K.Ye;if(b.g){for(var e=g.r(d),f=e.next();!f.done;f=e.next()){f=f.value;var h=f.cd(),l=lx[h.ra().quality];if((!b.l||"auto"!=h.ra().quality)&&l<=b.g){d=f;break a}}d=d[d.length-1]}else d=d[0]}c.nd=d;BO(a,b.reason,a.K.nd.cd())}g.Iy(a.i)&&(a.u.R=!1,a.playVideo())}};
        NO=function(a){if(a.K.la&&a.K.la.g){var b=CO(a),c=a.K.Fa;if(c&&"1"==c.i){var d=hF(a.o);if(d&&d<c.ra().Rb){uO(a);return}}if(a.l&&(a=a.l,!a.da()&&!ID(a.B.o,b)&&a.i)){var e=a.B.o;gM(a,Eca(a.B,b));VL(a);c=AL(a.B)&&"m"==b.reason&&a.B.I;d=a.g.Lj&&"l"==b.reason&&hL(a.i);b=("b"==b.reason||"o"==b.reason)&&e.g>b.g;c||d||b?a.L("reattachrequired"):(iL(a.i)&&cM(a,a.i,a.o),g.Qq(a.ca))}}};
        PO=function(a){a.na("html5_nonblocking_media_capabilities")?NO(a):OO(a)};
        SO=function(a){iD(a.K.fa,{cpn:a.K.clientPlaybackNonce,c:a.o.deviceParams.c,cver:a.o.deviceParams.cver});var b=a.o,c=a.K,d=new g.JB;d.tq=V(b,"html5_seek_accuracy_allowance_killswitch");d.af=V(b,"html5_unrewrite_timestamps");V(b,"html5_streaming_xhr")&&(d.D=!0);V(b,"html5_streaming_debug")&&(d.D=!0,d.R=!0);g.Q(b.experiments,"html5_max_av_sync_drift")&&(d.Gv=g.Q(b.experiments,"html5_max_av_sync_drift"));g.Q(b.experiments,"html5_min_secs_between_format_selections")&&(d.Aw=g.Q(b.experiments,"html5_min_secs_between_format_selections"));
        d.Fb=V(b,"html5_stop_overlapping_requests");d.Ba=g.Q(b.experiments,"html5_min_readbehind_secs");d.pw=g.Q(b.experiments,"html5_min_readbehind_cap_secs");g.VE(b)&&(d.Ba=g.Q(b.experiments,"tvhtml5_min_readbehind_secs"));d.Nq=V(b,"html5_uncensored_readbehind");d.Hj=V(b,"html5_append_init_while_paused");d.xd=g.Q(b.experiments,"html5_max_readahead_bandwidth_cap");d.V=V(b,"html5_disable_audio_append_cap");d.Nj=V(b,"html5_disable_non_contiguous");d.Ae=g.Q(b.experiments,"html5_post_interrupt_readahead");d.rd=
        V(b,"html5_log_quota_exceeded");d.J=g.Q(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.Pb=g.Q(b.experiments,"html5_subsegment_readahead_timeout_secs");d.Gq=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.Ib=g.Q(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Jq=g.Q(b.experiments,"html5_subsegment_readahead_min_load_speed");d.Ze=g.Q(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.Kq=g.Q(b.experiments,
        "html5_subsegment_readahead_seek_latency_fudge");d.Gb=V(b,"html5_streaming_xhr_optimize_lengthless_mp4");d.Ga=V(b,"html5_peak_shave");d.Pw=V(b,"html5_peak_shave_always_include_sd");d.qq=V(b,"html5_restrict_streaming_xhr_on_sqless_requests");d.Qv=g.Q(b.experiments,"html5_max_headm_for_streaming_xhr");d.Zp=V(b,"html5_pipeline_manifestless_allow_nonstreaming");d.eq=V(b,"html5_prefer_server_bwe3");d.Dh=1024*g.Q(b.experiments,"html5_video_tbd_min_kb");d.fq=V(b,"html5_probe_live_using_range");d.wq=V(b,
        "html5_streaming_xhr_buffer_mdat");d.Fe=V(b,"html5_streaming_xhr_no_mp4_holdback_chunk");d.Ws=V(b,"html5_last_slice_transition");d.Oj=V(b,"html5_disable_incomplete_incremental_parse_error");d.uq=V(b,"html5_store_xhr_headers_readable");d.ir=g.Q(b.experiments,"html5_incremental_parser_buffer_duration_secs");d.Mr=g.Q(b.experiments,"html5_incremental_parser_buffer_extra_bytes");d.Qq=V(b,"html5_enable_packet_train_response_rate");var e=g.Q(b.experiments,"html5_probe_secondary_during_timeout_miss_count");
        e&&(d.Ce=e,d.Lq=1);d.Wa=g.Q(b.experiments,"html5_probe_primary_delay_base_ms")||d.Wa;V(b,"html5_drm_start_from_null_constraint")&&(d.Lj=!0);d.zd=V(b,"html5_no_placeholder_rollbacks");d.xq=V(b,"html5_subsegment_readahead_enable_mffa");d.Oa=V(b,"html5_platform_whitelisted_for_frame_accurate_seeks");d.De=V(b,"html5_reattach_on_stuck");d.Rq=V(b,"html5_webm_init_skipping");d.Gj=V(b,"html5_adaptation_fix");d.rb=g.Q(b.experiments,"html5_request_size_padding_secs")||d.rb;d.Kj=V(b,"html5_clamp_with_padding");
        d.ou=V(b,"html5_log_timestamp_offset");d.Sj=V(b,"html5_disable_new_live_flags");d.Pj=V(b,"html5_disable_incremental_traf_timescale");d.Qj=V(b,"html5_disable_manifestless_sqless_sync");d.Uc=V(b,"html5_gapless_audio");d.V=V(b,"html5_no_audio_append_cap");d.Ac=V(b,"html5_abs_buffer_health");d.gs=V(b,"html5_interruption_resets_seeked_time");d.wd=g.Q(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.wd;d.bf=V(b,"html5_use_streaming_xhr_abort_support");d.nt=V(b,"html5_limit_adaptation_requests");
        d.od=V(b,"html5_explicitly_dispose_xhr");d.Ew=V(b,"html5_gapless_no_requests_after_lock");d.hq=V(b,"drm_manifestless_unplugged")&&g.cF(b);d.Be=g.Q(b.experiments,"html5_probe_primary_failure_factor");d.Mj=V(b,"html5_copy_all_appends");d.Sr=V(b,"html5_initdata_deep_comparison");V(b,"html5_media_common_config_killswitch")||(d.o=c.maxReadAheadMediaTimeMs/1E3||d.o,e=b.schedule,e.g.g()==e.policy.l?d.U=10:d.U=c.minReadAheadMediaTimeMs/1E3||d.U,d.Tc=c.readAheadGrowthRateMs/1E3||d.Tc);g.Ug&&(d.Y=41943040);
        d.ma=!fy();g.VE(b)||!fy()?(e=b.experiments,d.u=8388608,d.B=524288,d.Jj=5,d.sa=2097152,d.Z=1048576,d.lq=1.5,d.gb=15,d.Gw=!1,d.F=4587520,hu()&&(d.F=786432),d.i*=1.1,d.l*=1.1,d.Ya=!0,d.Y=d.u,d.za=d.B,d.be=g.P(e,"persist_disable_player_preload_on_tv")||g.P(e,"persist_disable_player_preload_on_tv_for_living_room")||!1):b.i&&(d.i*=1.3,d.l*=1.3);g.Ex&&cu("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.u=20971520,d.B=1572864,e&&(d.F=812500,d.H=1E3,d.Pq=5,d.Z=2097152));!V(b,"html5_disable_firefox_init_skipping")&&
        qD&&(d.Ya=!0);g.Ex&&!lu&&74<=au()||qD&&g.Vd(68)||(d.Uc=!1);if(GE||QO)d.tg=!0;if(ez(c)){d.Sq=!0;d.rq=!1;d.I=V(b,"html5_shrink_live_timestamps");d.ca=d.I||V(b,"html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&!V(b,"html5_disable_low_pipeline"))d.Dv=2,d.gw=4;d.g=c.hasSubfragmentedFmp4||c.On;d.N=c.defraggedFromSubfragments}c.isAd()&&(d.Aa=0,d.pd=0);NH(c)&&(d.R=!0);OH(c)&&(d.R=!0,d.D=!0);d.ia=V(b,"html5_enable_subsegment_readahead_v3")||V(b,"html5_ultra_low_latency_subsegment_readahead")&&
        "ULTRALOW"==c.latencyClass;d.ru=ez(c);d.ka=c.Ue;d.ot=d.ka&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||VH(c));/^pp/.test(c.clientPlaybackNonce)&&(d.yy=!0,d.jq=!0);pu()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!V(b,"html5_disable_move_pssh_to_moov")&&HC(c.fa)&&(d.Ya=!1);HC(c.fa)&&(d.De=!1);if(c.oa){e=fD(c.fa);var f=g.Q(b.experiments,"html5_live_abr_head_miss_fraction"),h=g.Q(b.experiments,"html5_live_abr_repredict_fraction");f&&e&&(d.ud=Math.min(e*f,d.ud));h&&e&&(d.H=Math.min(1E3*e*h,
        d.H))}f=0;V(b,"html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.g,c.oa&&(f=g.Q(b.experiments,"ULTRALOW"==c.latencyClass?"html5_live_ultra_low_latency_bandwidth_window":c.isLowLatencyLiveStream?"html5_live_low_latency_bandwidth_window":"html5_live_normal_latency_bandwidth_window")||f));e=b.schedule;e.l.i=ez(c)?.5:0;if(!e.policy.i&&f&&(e=e.g,f=Math.round(f*e.I),f!=e.l)){h=Array(f);var l=Math.min(f,e.A?e.l:e.o),m=e.o-l;0>m&&(m+=e.l);for(var n=0;n<l;++n)h[n]=e.u[(m+n)%e.l];for(;n<
        f;++n)h[n]=Infinity;e.l=f;e.u=h;e.o=l%f;e.A=l==f;e.D=!0;e.H=fE(e)}d.Ja=V(b,"html5_disable_new_live_flags")?c.fa.l:c.oa;switch(MH(c)){case 21530001:d.Dw=V(b,"html5_live_smoothly_extend_max_seekable_time");d.Gb=!0;d.ia=!0;"LOW"==c.latencyClass?d.J=g.Q(b.experiments,"html5_jumbo_mobile_subsegment_readahead_target"):"ULTRALOW"==c.latencyClass&&(d.J=g.Q(b.experiments,"html5_jumbo_ull_subsegment_readahead_target"));d.zd=!0;break;case 2153E4:d.Gb=!0,d.ia=!1}d.tg=c.tg;d.tb=c.Kd;VH(c)&&(d.ua=!0,d.rd=!0);c.Kd&&
        !HC(c.fa)&&V(b,"html5_hack_gapless_init")&&(d.Ee=!0);(e=g.Q(b.experiments,"html5_gapless_ad_byterate_multiplier"))&&c.Kd&&c.isAd()&&(d.i*=e,d.l*=e);c.na("mweb_hoffline")&&c.adaptiveFormats&&c.mn&&c.Ma.xb&&(d.A=c.videoId,d.V=!0,d.Ac=!0);c=g.Q(b.experiments,"html5_deadzone_multiplier")||1;(e=g.Q(b.experiments,"html5_sticky_reduces_discount_by"))&&"auto"!=XD()&&(c-=e);d.i*=c;d.l*=c;if(c=g.Q(b.experiments,"html5_request_sizing_multiplier"))d.mq=c;d.yd=g.Q(b.experiments,"html5_min_upgrade_health")||d.yd;
        oD(b.l,uD)&&(d.F=NaN);d.gb=g.Q(b.experiments,"html5_request_size_max_secs")||d.gb;d.Rj=V(b,"killswitch_metadata_events");"auto"!=XD()&&(d.Qf=0);d.iq=V(b,"html5_rec_2020_matrix_correction_killswitch");d.Ja=d.Ja&&!V(b,"html5_pause_appends_killswitch")||V(b,"html5_never_pause_appends");b=b.experiments;g.P(b,"html5_validate_lengthless_slices_killswitch")&&(d.Oq=!1);g.P(b,"html5_reset_on_append_error_killswitch")&&(d.nq=!0);g.P(b,"html5_audio_only_eos_fix_killswitch")&&(d.Ij=!0);g.P(b,"html5_.xhr_null_header_killswitch")&&
        (d.Tq=!0);b=a.getAudioTrack();b=b.Xa.isDefault?void 0:b;a.l=new UL(a.o.schedule,d,a.K.fa,a.K.la,CO(a),b,a.H);a.l.subscribe("newDrmInfo",a.RD,a);a.l.subscribe("videoformatchange",a.lA,a);a.l.subscribe("audioformatchange",a.wD,a);a.l.subscribe("error",a.gh,a);a.l.subscribe("ctmp",a.Na,a);a.l.subscribe("reattachrequired",a.NF,a);a.l.subscribe("metadata",a.Eu,a);a.l.subscribe("constraint",a.dF,a);a.l.subscribe("timestamp",a.Yz,a);d=RO(a)?!0:a.ia&&rO(a);a.l.initialize(a.getCurrentTime(),CO(a),d);a.K.probeUrl&&
        (a.l.ua=a.K.probeUrl);(a.N.length||a.ia)&&LO(a,!1);PN(a.u,a.l);a.Fb=[]};
        Kda=function(a){a.u=new LN(a.K,a.o);a.u.subscribe("seekto",function(b,c){a.u.B=b;var d=a.Aa;d.g=b;d.i=!0;c||TO(a);a.U&&b>a.K.endSeconds&&isFinite(b)&&(a.removeCueRange(a.U),a.U=null);b<UO(a)-.01&&(d=Fy(a.i,2),g.R(d,8)&&(d=Fy(d,4)),nO(a,d));a.L("SEEK_TO",a,b)});
        a.u.subscribe("seekstart",function(){return VO(a)});
        a.u.subscribe("seekend",function(){return a.L("SEEK_COMPLETE")});
        a.u.subscribe("ended",function(){return bO(a)});
        a.u.subscribe("ctmp",a.Na,a);a.u.subscribe("livereadaheadchanged",function(b){var c=a.A;c.g&&(c=c.g,pN(c,PI(c.g),"lra",[b]),rN(c,"live-readahead-seconds",b.toString()))})};
        hO=function(a){a.l&&(a.l.dispose(),a.l=null,PN(a.u,null));KO(a)};
        KO=function(a){if(a.D){if(a.l){var b=a.na("drm_manifestless_unplugged")&&ez(a.K)&&a.od&&!a.K.isAd();ZL(a.l,b)}a.D.dispose();a.D=null}};
        XO=function(a){if(a.D)return a.D.Ji;a.na("html5_disable_loader_reorder")&&WO(a);Pda(a);return a.D?a.D.Ji:null};
        Pda=function(a){if(a.na("html5_application_media_source"))a.L("requestmediasource",a);else{try{var b=a.g.ol()}catch(c){if(YO(a,"html5.missingapi",{updateMs:"1"}))return;g.M(c,"WARNING");c.message="window.URL object overwritten by external code";window.setTimeout(function(){throw c;},0);
        g.dO(a,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}ZO(a,b)}};
        ZO=function(a,b){a.na("html5_disable_loader_reorder")||WO(a);a.D=b;cy(a.D,function(c){try{if(a.D&&(!c||a.D==c)){var d=a.getDuration();!d&&ez(a.K)&&(d=3600);a.D.isView()?(c=d,c>a.D.getDuration()&&dy(a.D,c)):dy(a.D,d);var e=a.l,f=a.D;e.U&&(YL(e),e.U=!1);XL(e);if(!f.g&&!f.i){var h=e.i.g.info.mimeType,l=e.o.g.info.mimeType,m=new Yx("fakesb"==l?new Qx:f.l.addSourceBuffer(l),qx(l)),n=new Yx("fakesb"==h?new Qx:f.l.addSourceBuffer(h),qx(h));f.g=m;f.i=n;g.K(f,m);g.K(f,n)}e.i.A=f.i;e.o.A=f.g;e.l=f;e.resume();
        Zu(f.g,e.Aa,e);Zu(f.i,e.Aa,e);e.g.ou&&e.Zb("toff",""+f.g.supports(1),!0);e.pe();a.L("mediasourceattached")}}catch(p){g.M(p,"WARNING"),a.gh(new bx("fmt.unplayable",!0,{msi:"1",ename:p.name}))}})};
        WO=function(a){a.l?a.l.seek(a.getCurrentTime()-a.qb()):SO(a)};
        Qda=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
        $O=function(a){return a.Ga||"yt"!=a.o.H?!1:a.K.Hd?10>a.K.se:!a.K.se};
        aP=function(a){a.Ga||(a.Ga=!0,a.L("signatureexpired"))};
        bP=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
        Rda=function(a,b){if(a.g&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.g.oe();b.details.merr=c?c.toString():"0";b.details.msg=a.g.Ki()}};
        YO=function(a,b,c){if(a.rd+(g.Q(a.o.experiments,"html5_error_cooldown_in_ms")||3E4)>(0,g.H)())return!a.K.Hd&&(a.o.J+=1,10<a.o.J)?(c.exiled=""+a.o.J,a.A.onError("qoe.start15s",cx(c)),a.L("playbackstalledatstart"),!0):!1;a.rd=(0,g.H)();var d=a.K;d=d.nd?d.nd.xs()<Date.now()/1E3+1800:!1;c.e=b;a.D&&(c.msopened=""+ +!!a.D.g);d&&(c.staleprog="1");a.A.onError("qoe.restart",cx(c));if(d&&$O(a))return aP(a),!0;cu("philips")&&cP(a);b=!1;(c=a.K.Fa)&&"1"==c.i?b=a.o.l.B=!0:a.l?(c=a.l,d=(d=SK(c.i)||c.i.i)?d.g:c.i.g,
        d.H+=1,yL(c.B,d)):a.K.nd&&a.K.nd.rp();dP(a,b);return!0};
        dP=function(a,b){b=void 0===b?!1:b;Da(function(c){if(1==c.g)return a.l&&a.l.da()&&hO(a),a.L("newelementrequired"),b?c=va(c,uO(a),2):(c.g=2,c=void 0),c;g.R(a.i,8)&&a.playVideo();c.g=0})};
        cP=function(a){if("GAME_CONSOLE"!=a.o.deviceParams.cplatform)try{window.close()}catch(b){}};
        g.EO=function(a,b){b=void 0===b?!1:b;a.g&&(a.g.stopVideo(),fO(a),hO(a),IO(a),g.R(a.i,128)||(b?nO(a,Gy(a.i,4,8)):nO(a,Dy(a.i))),a.o.A.remove(a.K.videoId))};
        TO=function(a){g.R(a.i,32)||(nO(a,Ey(a.i,32)),g.R(a.i,8)&&a.pauseVideo(!0),a.L("beginseeking",a));eP(a)};
        VO=function(a){g.R(a.i,32)?(nO(a,Gy(a.i,16,32)),a.L("endseeking",a)):a.na("html5_sync_seeking_state")&&!g.R(a.i,2)&&nO(a,Ey(a.i,16))};
        fP=function(a){if(a.K.fa)return gD(a.K.fa,a.getCurrentTime()-a.qb());if((!a.na("html5_disable_limit_ingestion_tvos")||gu())&&a.g){var b=a.g.ql();if(b&&(b=b.getTime(),!isNaN(b)))return b/1E3+a.getCurrentTime()}return NaN};
        mO=function(a,b){a.L("internalvideodatachange",void 0===b?"dataupdated":b,a,a.K)};
        GO=function(a){(0,g.D)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(b){this.sa.P(this.g,b,this.mA,this)},a);
        a.o.Nj&&a.g.og()&&(a.sa.P(a.g,"webkitplaybacktargetavailabilitychanged",a.nC,a),a.sa.P(a.g,"webkitcurrentplaybacktargetiswirelesschanged",a.oC,a))};
        hP=function(a){a.na("html5_enable_timeupdate_timeout")&&!a.K.oa&&gP(a)&&a.be.start()};
        gP=function(a){if(!a.g)return!1;var b=a.g.getCurrentTime();a=a.g.getDuration();return!!(1<b&&b>a-.3)};
        jP=function(a){window.clearInterval(a.Gb);a.ka.stop();a.K.Hd=!0;a.o.Hd=!0;a.o.J=0;iP(a);g.R(a.i,8)&&nO(a,Fy(a.i,65));var b=a.A;if(b.i){var c=b.i;if(!c.l){g.P(c.g.Ra.experiments,"disable_embedpage_playback_logging")||16623!=c.g.videoData.Ul||g.Bs(Error("Playback for EmbedPage"));var d=YI(c,"playback");c.F=[10+c.g.videoData.Xg,10,10,40+c.g.videoData.Ii-c.g.videoData.Xg,40];var e=c.i;window.clearInterval(e.B);e.B=NaN;e.B=Hs((0,g.A)(e.update,e),100);e.A=PI(e.i);e.o=EI(e.i);d.i=XI(c,!0);d.send();c.g.videoData.Kl&&
        (d=c.g.Ra,e=c.g.videoData,e={html5:"1",video_id:e.videoId,cpn:e.clientPlaybackNonce,ei:e.eventId,ptk:e.Kl,oid:e.cv,ptchn:e.bv,pltype:e.dv,content_v:e.Ng()},d=g.qg(d.u+"ptracking",e),aJ(c,d));c.g.videoData.Th&&(c.B("playback"),c.o||dJ(c));c.g.videoData.Sd||cJ(c);c.l=!0;c=c.i;c.g=c.i.g();c.A=PI(c.i);!(0==c.l&&5>c.g)&&2<c.g-c.l&&(c.l=c.g);c.F=!0}}b.l&&(b=b.l,c=PI(b.i),b.o=c,b.H=c);g.Qq(a.Ac);a.L("playbackstarted");g.ft()&&((a=g.z("yt.scheduler.instance.clearPriorityThreshold"))?a():ht(0))};
        iP=function(a){var b=a.getCurrentTime(),c=a.K;!nH("pbs","")&&oH.measure&&oH.getEntriesByName&&(oH.getEntriesByName("mark_nr")[0]?qH("mark_nr"):qH());c.videoId&&a.J.info("docid",c.videoId);c.eventId&&a.J.info("ei",c.eventId);c.clientPlaybackNonce&&a.J.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.J.info("start",c.startSeconds.toString());a.g&&a.g.Hf()&&a.J.info("paused",1);c.Fa?a.J.info("fmt",sx(c.Fa)):a.J.info("fmt","-1");c.ug&&a.J.info("yt_pre",a.Ee?"2":"1");a.I.isFullscreen()&&a.J.info("yt_fs",
        "1");a.J.info("cmt",b.toFixed(3));if(a.l){b=a.l.ma;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.o),c.length&&(c=c[0],b.oc("vri",c.fetchStart),b.oc("vdns",c.domainLookupEnd),b.oc("vreq",c.requestStart),b.oc("fvb",c.responseStart),b.oc("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.g),c.length&&(c=c[0],b.oc("ari",c.fetchStart),b.oc("adns",c.domainLookupEnd),b.oc("areq",c.requestStart),b.oc("avb",c.responseStart),b.oc("arc",
        c.responseEnd)));b=b.u;for(var d in b)a.J.tick(d,b[d])}};
        eP=function(a,b){b=void 0===b?!1:b;if(a.g&&a.K){a:{var c=a.u,d=g.Iy(a.i),e=c.getCurrentTime(),f=c.isAtLiveHead(e);if(c.F&&f){var h=c.F;if(h.g&&!(e>=h.i&&e<h.l)){var l=h.g.Oe(e);-1!=l&&(h.i=h.g.kc(l),h.l=h.i+h.g.getDuration(l),l=(0,g.H)()/1E3-h.g.Eo(l),l-=h.u(),h.o.add(l))}}if(c.l&&(f&&(f=c.l,h=c.g?my(c.g):0,f.u++,3>f.u||(0,g.H)()-f.D<f.g.F||(f.D=(0,g.H)(),f.l.push(h),50<f.l.length&&f.l.shift())),f=c.l,GN(f,e,void 0===d?!0:d),HN(f,e),d&&(d=c.l,!FN(d,e)&&d.A?(d.g.A&&(d.g.g=Math.max(d.g.g+1,10)),e=Infinity):
        e=e<d.K.ob()?Math.min(d.K.ob()+10,EN(d)):NaN,!isNaN(e)))){if(c.na("html5_in_buffer_ptl")&&c.u&&(d=c.l?EN(c.l):c.Db(),d=$ca(c.u,d-c.qb()))){c.L("ctmp","inBufferPtl","cmt."+c.getCurrentTime()+";seekTo"+(d+c.qb()));c.seekTo(d+c.qb());break a}c.seekTo(e,!0)}}c=a.getCurrentTime();!a.l||g.R(a.i,4)&&g.iI(a.K)||(e=a.l,d=c,e.l&&e.l.i&&(d-=!isNaN(e.N)&&e.g.af?e.N:0,e.A!=d&&e.resume(),e.I&&!ey(e.l)&&(f=e.A<=d&&d<e.A+10,h=e.l.i.Wb(),h=0<=Tx(h,e.A+fM),f&&h&&(e.I=!1)),e.I||(e.A=d),g.Qq(e.sa)));5<c&&(a.u.B=c);(e=
        g.ft())?g.gt(a.ma):g.Is(a.ma);!g.Ly(a.i)&&a.g.Hf()||g.R(a.i,128)||(d=(0,g.A)(a.fz,a),0==a.g.Qg().length?a.ma=e?g.dt(d,100):g.Gs(d,100):a.ma=e?g.dt(d,500):g.Gs(d,500));a.K.rf=c;if(!b&&g.Iy(a.i)&&(c=a.A,c.i&&(c=c.i,c.i.update(),c.g.videoData.Hb()&&c.g.videoData.Sd&&c.l&&!c.J&&HI(c.i)>=c.g.videoData.Sd&&(c.l&&c.g.videoData.Sd&&(e=YI(c,"delayplay"),e.Ga=!0,e.send(),c.J=!0),cJ(c))),a.K.oa&&(0,g.H)()>a.Ze+6283&&(!a.isAtLiveHead()||a.K.fa&&cD(a.K.fa)||(c=a.A,c.g&&(c=c.g,d=c.g.l(),e=PI(c.g),sN(c,e,d),d=d.A,
        isNaN(d)||pN(c,e,"e2el",[d.toFixed(3)]))),g.cF(a.o)&&a.Na("rawlat","l."+Ty(a.Z,"rawlivelatency").toFixed(3)),a.Ze=(0,g.H)()),a.K.Fa&&yx(a.K.Fa)&&(c=pO(a))&&c.videoHeight!=a.pd&&(a.pd=c.videoHeight,a.na("html5_log_hls_video_height_change_as_format_change")&&a.K.nd&&"auto"==a.K.nd.Le.ra().quality&&a.K.Ye)))for(c=g.r(a.K.Ye),e=c.next();!e.done;e=c.next())if(e=e.value,e.getHeight()==a.pd&&"auto"!=e.Le.ra().quality){BO(a,"a",e.cd());break}uda(a.R,a.F,a.g)&&PO(a);c=a.R;e=a.K.Fa;0>=g.Q(c.g.experiments,"hfr_dropped_framerate_fallback_threshold")||
        !(e&&e.ra()&&32<e.ra().fps)?c=!1:3<=c.l?(c.l=0,c=!0):c=!1;c&&Sda(a);a.L("progresssync",a,b)}};
        Sda=function(a){a.A.onError("qoe.restart","droprate."+a.R.B);a.o.l.A=!1;uO(a).then(function(){return vO(a)})};
        nO=function(a,b){if(!g.Hy(a.i,b)){var c=new g.TI(b,a.i);a.i=b;var d=!a.Ib.length;a.Ib.push(c);var e=a.g&&a.g.Bi();if(g.VI(c,1)&&!g.R(c.g,16)&&!e&&g.R(a.i,8)&&!g.R(a.i,64)&&a.l&&(a.l.Y=!0,kP(a),a.g&&5<=my(a.g))){e=a.R;var f=a.F;gN(e,f)&&f.videoData.Fa?(6E4<(0,g.H)()-e.F&&(e.o=0),e.o++,e.F=(0,g.H)(),4!=e.o?e=!1:(hN(e,f.videoData.Fa),e=!0)):e=!1;e&&PO(a)}(e=g.Q(a.o.experiments,"html5_ad_timeout_ms"))&&a.K.isAd()&&g.R(b,1)&&(g.R(b,8)||g.R(b,16))?a.Pb.start(e):a.Pb.stop();(0>UI(c,8)||g.VI(c,1024))&&a.ka.stop();
        !g.VI(c,8)||a.K.Hd||g.R(c.state,1024)||a.ka.start();g.R(c.state,8)&&0>UI(c,16)&&!g.R(c.state,32)&&!g.R(c.state,2)&&a.playVideo();g.R(c.state,2)&&jI(a.K)&&(e=a.getCurrentTime(),a.K.lengthSeconds!=e&&(a.K.lengthSeconds=e,mO(a)),eP(a,!0));g.VI(c,2)&&(a.tp(),kP(a));a.K.fa&&a.K.oa&&!a.bf&&(0>UI(c,8)?(e=a.K.fa,e.o&&e.o.stop()):g.VI(c,8)&&a.K.fa.resume());e=a.u;if(e.g&&e.ua.i&&8==c.g.g&&Ky(c.state)&&g.Ly(c.state)){f=e.g.getCurrentTime();var h=e.g.bd(),l=Tx(h,f-3.5);0<=l&&f>h.end(l)-1.1&&l+1<h.length&&11>
        h.start(l+1)-h.end(l)&&(e.L("ctmp","seekover","b."+Sx(h,"_")+";cmt."+f),e.seekTo(h.start(l+1)+.2,!0,!0))}e=a.A;if(g.VI(c,1024)||g.VI(c,2048)||g.VI(c,512)||g.VI(c,4))e.l&&(f=e.l,0<=f.o||(f.l=-1,f.A.stop())),e.g&&(f=e.g,SI(f.g,"html5_qoe_user_intent_match_health")&&!f.o&&(f.u=-1));e.i&&(f=e.i,f.da()||(g.R(c.state,2)?(f.u="paused",g.VI(c,2)&&f.l&&$I(f).send()):g.R(c.state,8)?(f.u="playing",f.l&&isNaN(f.A)&&XI(f,!1)):f.u="paused",f.o&&g.R(c.state,128)&&(f.B("error-100"),g.Is(f.o))));if(e.g){f=e.g;h=c.state;
        l=PI(f.g);var m=xda(f,c.state);m!=f.l&&(l<f.A||("PL"==f.l?f.I+=l-f.A:"B"==f.l&&f.H&&(f.H=!1,f.J+=l-(g.Q(f.g.Ra.experiments,"html5_disable_last_state_change")?f.A:f.Z),!f.V&&10<=f.J&&180>=f.I&&(f.g.A(),f.i.qoealert=["1"],f.V=!0)),"B"!=m||"PL"!=f.l&&"PB"!=f.l||(f.H=!0),f.A=l),"B"==m&&"PL"==f.l||f.g.videoData.Ue?tN(f,l):pN(f,l,"cmt",[f.g.g().toFixed(3)]),pN(f,l,"vps",[m]),f.l=m,f.Z=l,f.A=l,f.F=!0);m=h.i;g.R(h,128)&&m&&vN(f,l,m.errorCode,m.Ev);(g.R(h,2)||g.R(h,128))&&f.B(l);SI(f.g,"html5_qoe_user_intent_match_health")?
        g.R(h,8)&&!f.o&&(0<=f.u&&(f.i.user_intent=[f.u.toString()]),f.o=!0):g.R(h,8)&&f.g.videoData.ug&&!f.o&&(f.i.user_intent=[l.toString()],f.o=!0);uN(f)}e.l&&(e=e.l,nN(e),e.g=c.state,c.state.isError()&&e.u());if(d&&!a.da())try{for(var n=g.r(a.Ib),p=n.next();!p.done;p=n.next()){var q=p.value,v=a.H;c=q;if(v.started&&(v.i(),g.R(c.g,16))){c=v;var x=KL(c.g,Math.max(c.o-2E3,0));!isNaN(x)&&0x7ffffffffffff>x&&c.u.start()}a.L("statechange",q)}}finally{a.Ib.length=0}}};
        lP=function(a,b){g.R(a.i,128)||(nO(a,Gy(a.i,1028,9)),a.Na("dompaused",b),a.L("onDompaused"))};
        vO=function(a){if(!a.g||!a.K.la)return!1;var b=null;a.K.la.g?(b=XO(a),a.l.resume()):(hO(a),a.K.nd&&(b=a.K.nd.Mi()));var c=b;var d=a.g.pl();b=!1;d&&null!=c&&c.g==d.g||(a.J.tick("vta"),sH("vta"),0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.u.B=b),a.g.ih(c),a.D&&ht(4),!a.K.Hd&&Jy(a.i)&&a.ka.start(),b=!0);g.R(a.i,2)||(c=a.u,c.D||!(0<c.B)||c.g&&0<c.g.getCurrentTime()||c.seekTo(c.B));a:if(c=b,g.WH(a.K)&&a.g)if((d=a.K.Xb)&&a.g.og()){var e=a.g.ga();if(a.B)if(e!=a.B.ga())fO(a);else if(c&&"fairplay"==d.flavor&&
        !gu())fO(a);else break a;a.B=new UM(e,a.K,a.o);a.B.subscribe("licenseerror",a.nD,a);a.B.subscribe("qualitychange",a.pD,a);a.B.subscribe("heartbeatparams",a.jA,a);a.B.subscribe("keystatuseschange",a.kA,a);a.B.subscribe("hdproberequired",a.oD,a);a.B.subscribe("ctmp",a.Na,a);c=g.r(a.Fb);for(d=c.next();!d.done;d=c.next())d=d.value,YM(a.B,d.type,d.info);a.Fb=[]}else g.dO(a,"fmt.unplayable","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");return b};
        fO=function(a){a.B&&(a.B.dispose(),a.B=null)};
        mP=function(a,b){b=void 0===b?!1:b;return a.K.oa&&(a.isAtLiveHead()&&(a.na("html5_videoplayer_getmaxseekabletimeforux_check_pause_killswitch")||!g.R(a.i,4))||QN(a.u)||g.iI(a.K))?a.getCurrentTime():UO(a,b)};
        UO=function(a,b){return a.u.Db(void 0===b?!1:b)};
        g.nP=function(a,b){(a.Uc=b)||a.ka.stop();if(a.K.fa)if(b)a.K.fa.resume();else{var c=a.K.fa;c.o&&c.o.stop()}g.P(a.o.experiments,"html5_suspend_loader")&&a.l&&(b?a.l.resume():LO(a,!0));g.P(a.o.experiments,"html5_fludd_suspend")&&(g.R(a.i,2)||b?g.R(a.i,512)&&b&&nO(a,Fy(a.i,512)):nO(a,Ey(a.i,512)));c=a.A;c.g&&(c=c.g,pN(c,PI(c.g),"stream",[b?"A":"I"]))};
        oP=function(a){a.g&&(a.D?(fO(a),KO(a),XO(a)):(a.K.nd&&a.K.nd.rp(),a.g.stopVideo()),a.playVideo())};
        pP=function(a,b){g.P(a.o.experiments,"html5_log_rebuffer_reason")&&a.Na("bufreason","r."+b+";lact."+jw())};
        qP=function(a,b){if(a.K.Ue){var c=g.Q(a.o.experiments,"html5_log_rebuffer_events");if(c&&a.g){var d=a.g.Pa();d.rt=PI(a.A.o).toFixed(3);d.e=b.substr(0,3);a.wd[a.af++%c]=cx(d)}}};
        kP=function(a){if(a.K.Ue){for(var b=g.r(a.wd),c=b.next();!c.done;c=b.next())a.Na("vpe",c.value);a.wd=[];a.af=0}};
        zO=function(a,b){a.Na("seekreason",b)};
        rP=function(a){if(cu("cobalt")&&cu("nintendo switch")){var b=!window.matchMedia("screen and (max-height: 720px) and (min-resolution: 200dpi)").matches;a.Na("nxdock",""+ +b)}};
        LO=function(a,b){WL(a.l,b||RO(a))};
        RO=function(a){var b=a.na("disable_prefetch_when_ad_pending_for_web");return(a.na("disable_prefetch_when_ad_pending_for_living_room")&&g.VE(a.o)||b)&&g.kb(a.N,"ad")};
        sP=function(a){eJ.call(this,a)};
        g.tP=function(a){a=a.app.o.i.get("endscreen");return!!a&&a.Lt()};
        uP=function(a){a=a.app.o;var b=a.i.get("endscreen");return b&&b.Mt()?!0:a.hj()||g.XE(a.g.O())};
        g.vP=function(a,b){3==a.getPresentingPlayerType()?a.L("mdxautoplaycancel"):a.L("autonavcancel",b)};
        g.xP=function(a,b){return wP(a.app,b)};
        g.yP=function(a){return a.app.D};
        g.zP=function(a){return a.app.R&&!a.isFullscreen()||3==a.getPresentingPlayerType()&&null||!!a.getPlaylist()};
        BP=function(a){a=AP(a.app.o);return!!a&&a.wA()};
        CP=function(a){a=a.app.o.i.get("heartbeat");return!!a&&a.yA()};
        g.EP=function(a,b,c){DP(a.app,b,c)};
        g.FP=function(a,b,c){(a=g.S(a.app,c))&&FO(a,b)};
        g.GP=function(a,b,c){a=g.yP(a).element;var d=Cb(a.children,function(e){e=parseInt(e.getAttribute("data-layer"),10);return c-e||1});
        0>d&&(d=-(d+1));Ae(a,b,d);b.setAttribute("data-layer",c)};
        g.HP=function(a){var b=a.O();if(!b.Ac)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");d=c.oa&&(!g.P(b.experiments,"allow_live_autoplay")||!d);var e=!!a.getPlaylist();g.P(b.experiments,"player_allow_autonav_after_playlist")&&(e=(a=a.getPlaylist())&&a.hasNext());return!c.ypcPreview&&!d&&!g.kb(c.Cc,"ypc")&&!e};
        IP=function(a,b,c){a.O().D&&(a.app.ma.g.has(b),c&&(b.visualElement=g.oG(c)))};
        JP=function(a,b){a.O().D&&a.app.ma.click(b)};
        KP=function(a,b,c){if(a.O().D&&(a=a.app.ma,a.g.has(b),c?a.i.add(b):a.i["delete"](b),c&&!a.l.has(b))){c=g.KG();var d=b.visualElement;c&&d&&g.CG(c,d);a.l.add(b)}};
        LP=function(a,b){return a.O().D?a.app.ma.g.has(b):!1};
        g.OP=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.S(c,b);d&&(d!=c.l?MP(c,c.l):NP(c))}};
        QP=function(a,b,c){c=void 0===c?Infinity:c;b=void 0===b?-1:b;c=void 0===c?Infinity:c;PP(a.app.ka,void 0===b?-1:b,c)};
        Tda=function(a,b){document.requestStorageAccess().then(a,b)};
        Uda=function(a){this.l=a;this.i={};this.g=bg()?500:g.VE(a.O())?1E3:2500};
        Wda=function(a,b){if(!b.length)return null;var c=b.filter(function(d){if(!d.mimeType)return!1;d.mimeType in a.i||(a.i[d.mimeType]=a.l.canPlayType(d.mimeType));return a.i[d.mimeType]?!!d.mimeType&&"application/x-mpegurl"==d.mimeType.toLowerCase()||!!d.mimeType&&"application/dash+xml"==d.mimeType.toLowerCase()||"PROGRESSIVE"==d.delivery:!1});
        return Vda(a,c)};
        Vda=function(a,b){for(var c=null,d=g.r(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.minBitrate,h=e.maxBitrate;f>a.g||h<a.g||c&&!(f<c.minBitrate)||(c=e)}if(!c)for(c=null,d=g.r(b),e=d.next();!e.done;e=d.next())e=e.value,f=e.maxBitrate,h=e.minBitrate,f>a.g||(!c||f>c.maxBitrate?c=e:c&&f==c.maxBitrate&&h<c.minBitrate&&(c=e));if(!c)for(c=null,d=g.r(b),e=d.next();!e.done;e=d.next())e=e.value,f=e.minBitrate,h=e.maxBitrate,f<a.g||(!c||f<c.minBitrate?c=e:c&&f==c.minBitrate&&h>c.maxBitrate&&(c=e));return c};
        RP=function(a,b){this.Da=a;this.U=b||{};this.B=String(Math.floor(1E9*Math.random()));this.A={};this.H=0};
        SP=function(a,b){this.g=a;this.i=b.length;this.adBreakLengthSeconds=b.reduce(function(e,f){return e+f},0);
        for(var c=0,d=a+1;d<b.length;d++)c+=b[d];this.adBreakRemainingLengthSeconds=c};
        Xda=function(a){a=a.pings;if(!a)return{};var b={};b.impression=a.impressionPings||[];b.error=a.errorPings||[];b.mute=a.mutePings||[];b.unmute=a.unmutePings||[];b.pause=a.pausePings||[];b.rewind=a.rewindPings||[];b.resume=a.resumePings||[];b.skip=a.skipPings||[];b.close=a.closePings||[];b.progress=a.progressPings||[];b.clickthrough=a.clickthroughPings||[];b.fullscreen=a.fullscreenPings||[];b.active_view_viewable=a.activeViewViewablePings||[];b.active_view_measurable=a.activeViewMeasurablePings||[];
        b.active_view_fully_viewable_audible_half_duration=a.activeViewFullyViewableAudibleHalfDurationPings||[];b.end_fullscreen=a.endFullscreenPings||[];b.channel_clickthrough=a.channelClickthroughPings||[];b.abandon=a.abandonPings||[];b.start=a.startPings||[];b.first_quartile=a.firstQuartilePings||[];b.midpoint=a.secondQuartilePings||[];b.third_quartile=a.thirdQuartilePings||[];b.complete=a.completePings||[];return b};
        TP=function(a,b,c){RP.call(this,a,Xda(a));this.isPostroll="AD_PLACEMENT_KIND_END"===c;this.l=new SP(0,[]);this.u=this.R=null;this.Y=b;this.J=[];this.i={};this.N=null;this.g=0;this.D=this.F=this.o=null;a=this.Da.skipOffsetMilliseconds||0;0<a&&(this.N=a);this.i=g.pt(this.Da.playerVars||"");if(a=this.Da.external)this.J=a.mediaFiles||[],a=a.durationMilliseconds,g.Ja(a)&&(this.g=a/1E3,this.i.length_seconds=this.g.toString()),(a=Wda(this.Y,this.J))?(this.F=a.uri,a=a.mimeType,this.i.url_encoded_third_party_media=
        "url="+encodeURIComponent(this.F)+"&type="+encodeURIComponent(a)):this.D=Error("Nonplayable third party ad media file.");else if(this.o=this.i.video_id,this.R=this.i.ucid||null,this.g=sE(this.g,this.i.length_seconds),this.i.cta_conversion_urls)try{this.i.cta_conversion_urls=JSON.parse(this.i.cta_conversion_urls)}catch(d){g.M(d)}this.u=this.Da.clickthroughEndpoint||null;this.l=new SP(0,[this.g])};
        UP=function(a){var b=a.i||{};1<a.l.i&&(b.slot_pos=a.l.g);b.autoplay="1";return b};
        VP=function(a){return 0<a.g&&7.05>=a.g};
        WP=function(a){this.i=a;this.g="OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_STARTED"};
        XP=function(a){a=a||{};var b={},c={};this.url=a.url||"";this.args=a.args||g.qc(b);this.assets=a.assets||{};this.attrs=a.attrs||g.qc(c);this.fallback=a.fallback||null;this.fallbackMessage=a.fallbackMessage||null;this.html5=!!a.html5;this.disable=a.disable||{};this.loaded=!!a.loaded;this.messages=a.messages||{}};
        Yda=function(a){a instanceof XP||(a=new XP(a));return a};
        ms=function(){};
        g.YP=function(){return g.UD("yt-remote-session-screen-id")};
        ZP=function(a){if(a){var b=[],c;for(c in a)Zda.has(c)||b.push(c);b.length&&(b.sort(),g.M(Error("Unknown house brand player vars: "+b.join(",")),"WARNING"))}};
        g.$P=function(a){var b=Math.abs(Math.floor(a)),c=Math.floor(b/86400),d=Math.floor(b%86400/3600),e=Math.floor(b%3600/60);b=Math.floor(b%60);var f="";0<c&&(f+=c+":",10>d&&(f+="0"));if(0<c||0<d)f+=d+":",10>e&&(f+="0");f+=e+":";10>b&&(f+="0");f+=b;return 0<=a?f:"-"+f};
        g.aQ=function(a){return(!g.Ja(a.button)||0==a.button)&&!a.shiftKey&&!a.altKey&&!a.metaKey&&!a.ctrlKey};
        bQ=function(a,b,c,d){g.O.call(this);this.i=a;this.J=(0,g.A)(b,null);this.g=0;this.A=!1;this.o=new g.$d(NaN,NaN);this.aa=new g.Mx(this);g.K(this,this.aa);b=d?4E3:3E3;this.D=new g.L(g.Xa(this.Ub,1,!1),b,this);g.K(this,this.D);this.F=new g.L(g.Xa(this.Ub,2,!1),b,this);g.K(this,this.F);this.I=new g.L(g.Xa(this.Ub,512,!1),0,this);g.K(this,this.I);this.N=c&&0<c.Mm.length?5E3:3E3;d||(this.l=this.aa.P(a,"mouseover",this.Jo),this.aa.P(a,"mousemove",this.tB),this.aa.P(a,"mouseleave",this.VB));g.Ug?this.aa.P(a,
        "keypress",this.Nz):this.aa.P(a,"focusin",this.zy);this.u=this.aa.P(a,"mousedown",this.cu);this.B=this.aa.P(a,"touchstart",this.eu,void 0,!0);this.R=null;this.Ub(640,!0)};
        cQ=function(a){a.Ub(4,!1);a.H&&(a.aa.bb(a.H),a.H=null,a.l=a.aa.P(a.i,"mouseover",a.Jo));a.l&&(a.aa.bb(a.l),a.l=a.aa.P(a.i,"mouseover",a.Jo))};
        g.dQ=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?null:f;g.J.call(this);this.l=a;c||a.hide();this.A=b;this.B=null==d?b:d;this.o=f;this.u=e;this.g=null;this.i=new g.L(this.nm,0,this);g.K(this,this.i)};
        eQ=function(a,b){var c=a.l.element;b?c.setAttribute("aria-hidden",!0):c.removeAttribute("aria-hidden")};
        g.gQ=function(){return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-close"]}:{C:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},M:[{C:"path",T:{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"#fff"}}]}};
        hQ=function(){return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-error-exclamation"]}:{C:"svg",T:{fill:"#fff",viewBox:"0 0 48 48"},M:[{C:"path",T:{d:"M0 0h48v48H0V0z",fill:"none"}},{C:"path",T:{d:"M22 30h4v4h-4zm0-16h4v12h-4zm1.99-10C12.94 4 4 12.95 4 24s8.94 20 19.99 20S44 35.05 44 24 35.04 4 23.99 4zM24 40c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z","fill-opacity":"0.3"}}]}};
        iQ=function(){return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-youtube-logo-redirect"]}:{C:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},M:[{C:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{C:"path",T:{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"}}]}};
        jQ=function(a){var b=a.O(),c=a.getVideoData(),d=["ytp-large-play-button","ytp-button"];if(c.jd&&c.sf)var e=b.za?[{C:"div",G:"ytp-large-play-button-circle",T:{style:"background-color: "+c.sf}},g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-dni-large-play-button"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},M:[{C:"path",T:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:{C:"svg",
        T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},M:[{C:"path",G:"ytp-dni-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{C:"path",T:{d:"M 45,24 27,14 27,34",
        fill:"#fff"}}]}];else b.za&&!b.Nb?e=[g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-large-play-button-hover"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},M:[{C:"path",G:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",
        fill:"#f00"}},{C:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(b.i&&d.push("ytp-touch-device"),e=[b.Nb?g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},M:[{C:"path",G:"ytp-large-play-button-bg",T:{d:"M30,0A30,30,0,1,0,60,30,30,30,0,0,0,30,0Z",fill:"#1f1f1f"}},{C:"path",T:{d:"M21,41.65V18L43.7,29.85Z",fill:"#fff"}}]}:g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-large-play-button"]}:{C:"svg",T:{height:"100%",
        version:"1.1",viewBox:"0 0 68 48",width:"100%"},M:[{C:"path",G:"ytp-large-play-button-bg",T:{d:"M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z",fill:"#212121","fill-opacity":"0.8"}},{C:"path",T:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);var f=
        ["ytp-cued-thumbnail-overlay"];(g.P(b.experiments,"web_player_contain_thumbnail")||b.Nb)&&f.push("ytp-exp-contain-thumbnail");g.T.call(this,{C:"div",ba:f,M:[{C:"div",G:"ytp-cued-thumbnail-overlay-image"},{C:"button",ba:d,T:{"aria-label":"Play"},M:e}]});c.jd&&c.sf&&!b.za&&this.g["ytp-dni-large-play-button-bg"].setAttribute("fill",c.sf);this.A=new g.Mx(this);g.K(this,this.A);this.l=a;this.D=this.g["ytp-cued-thumbnail-overlay-image"];this.B=this.g["ytp-large-play-button"];this.u=new g.dQ(this,250);g.K(this,
        this.u);this.o=new g.L(this.gu,0,this);g.K(this,this.o);this.gu();this.P(a,"appresize",this.Nd);this.P(a,"presentingplayerstatechange",this.zB);this.P(a,"ypcStateChanged",this.rF);KE(a.O())&&this.P(a,"videoplayerreset",this.uE)};
        g.kQ=function(a,b){var c={},d;for(d in b)c.Gm=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(e){return function(){return e.Gm}}(c)),c={Gm:c.Gm};
        return a};
        g.lQ=function(a,b){return pJ(b)?(b.fetch=0,new g.oJ(a,b)):new g.AH(a,b)};
        mQ=function(a){g.J.call(this);this.u=a;this.o=new ir(0,0,.4,0,.2,1,1,1);this.i=new g.Nq(this.l,window,this);g.K(this,this.i)};
        nQ=function(a,b){var c=void 0===c?!0:c;var d=g.ys("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=g.jg(window.location.href);e&&d.push(e);e=g.jg(a);if(g.kb(d,e)||!e&&Jb(a,"/"))if(g.Gt("autoescape_tempdata_url")&&(d=document.createElement("a"),g.wd(d,a),a=d.href),a&&(d=a.match(hg),d=fg(null,null,null,null,d[5],d[6],d[7]),e=d.indexOf("#"),d=0>e?d:d.substr(0,e)))if(c&&(b.itct||b.ved)&&(b.csn=b.csn||g.KG()),f){var f=parseInt(f,10);isFinite(f)&&0<f&&(c="ST-"+Id(d).toString(36),d=b?g.pg(b):"",g.vw(c,d,f||5))}else f=
        "ST-"+Id(d).toString(36),c=b?g.pg(b):"",g.vw(f,c,5)};
        g.oQ=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.ys("EVENT_ID");d&&(b.ei||(b.ei=d));b&&nQ(a,b);if(!c)if((window.ytspf||{}).enabled)spf.navigate(a);else{var e=void 0===e?{}:e;var f=void 0===f?"":f;var h=void 0===h?window:h;b=h.location;a=g.qg(a,e)+f;a=a instanceof g.Uc?a:g.ad(a);b.href=g.Vc(a)}};
        g.pQ=function(a,b,c){c&&nQ(a,c);c=g.Yc(a);c=g.Wc(c);a!=c&&g.Bs(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||Id(a).toString(36))};
        g.qQ=function(a,b,c,d){if((void 0===c||!c)&&g.aQ(a))return g.aw(a),!0;b.pauseVideo();a=a.currentTarget.getAttribute("href");g.oQ(a,d,!0);return!1};
        sQ=function(a){g.T.call(this,{C:"div",G:"ytp-related-on-error-overlay"});this.U=this.u=0;this.o=a;this.V=new g.Mx(this);g.K(this,this.V);a=a.O();this.B=[];this.l=[];this.D=0;this.ca=a.g;this.J=new g.T({C:"h2",G:"ytp-related-title",X:"{{title}}"});g.K(this,this.J);this.J.i(this.element);this.F=new g.T({C:"div",G:"ytp-suggestions"});g.K(this,this.F);this.F.i(this.element);this.N=new g.T({C:"button",ba:["ytp-button","ytp-previous"],T:{"aria-label":"Show previous suggested videos"},M:[g.fQ?{C:"div",ba:["ytp-icon",
        "ytp-icon-chevron-back"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},M:[{C:"path",T:{d:"M 19.41,20.09 14.83,15.5 19.41,10.91 18,9.5 l -6,6 6,6 z",fill:"#fff"}}]}]});g.K(this,this.N);this.N.i(this.element);this.N.va("click",this.CB,this);this.ma=new mQ((0,g.A)(this.uw,this));g.K(this,this.ma);this.Z=this.A=0;this.Y=!0;for(var b=0;16>b;b++){var c=new g.T({C:"a",G:"ytp-suggestion-link",T:{href:"{{link}}",target:a.Pb,"aria-label":"{{aria_label}}"},M:[{C:"div",G:"ytp-suggestion-image",
        M:[{C:"div",T:{"data-is-live":"{{is_live}}"},G:"ytp-suggestion-duration",X:"{{duration}}"}]},{C:"div",G:"ytp-suggestion-title",T:{title:"{{hover_title}}"},X:"{{title}}"},{C:"div",G:"ytp-suggestion-author",X:"{{views_or_author}}"}]});g.K(this,c);c.i(this.F.element);var d=c.g["ytp-suggestion-link"];g.Sg(d,"transitionDelay",b/20+"s");this.V.P(d,"click",g.Xa(this.QC,b));this.B.push(c)}this.I=new g.T({C:"button",ba:["ytp-button","ytp-next"],T:{"aria-label":"Show more suggested videos"},M:[g.fQ?{C:"div",
        ba:["ytp-icon","ytp-icon-chevron-forward"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},M:[{C:"path",T:{d:"m 12.59,20.34 4.58,-4.59 -4.58,-4.59 1.41,-1.41 6,6 -6,6 z",fill:"#fff"}}]}]});g.K(this,this.I);this.I.i(this.element);this.I.va("click",this.BB,this);this.V.P(this.o,"videodatachange",this.hu);rQ(this,g.yP(this.o).getPlayerSize());this.hu();this.show()};
        rQ=function(a,b,c){var d=a.o.O(),e=16/9,f=650<=b.width,h=480>b.width||290>b.height,l=Math.min(a.l.length,a.B.length);if(150>=Math.min(b.width,b.height)||0==l||!d.be)a.hide();else{var m;if(f){var n=m=28;a.u=16}else n=m=8,a.u=8;if(h){var p=6;f=14;var q=12;h=24;d=12}else p=8,f=18,q=16,h=36,d=16;b=b.width-(48+m+n);m=Math.ceil(b/150);m=Math.min(3,m);m=b/m-a.u;n=Math.floor(m/e);n+100>c&&50<m&&(n=Math.max(c,50/e),m=Math.ceil(b/(e*(n-100)+a.u)),m=b/m-a.u,n=Math.floor(m/e));50>m?a.hide():a.show();for(c=0;c<
        l;c++){e=a.B[c];var v=e.g["ytp-suggestion-image"];v.style.width=m+"px";v.style.height=n+"px";e.g["ytp-suggestion-title"].style.width=m+"px";e.g["ytp-suggestion-author"].style.width=m+"px";e=e.g["ytp-suggestion-duration"];e.style.display=e&&100>m?"none":""}l=f+p+q+4;a.U=l+d+(n-h)/2;a.F.element.style.height=n+l+"px";a.Z=m;a.D=b;a.A=0;a.uw(0);tQ(a)}};
        uQ=function(a,b){var c=g.Yd(b,a.D-a.l.length*(a.Z+a.u),0);a.ma.start(a.A,c,1E3);a.A=c;tQ(a)};
        tQ=function(a){a.I.element.style.bottom=a.U+"px";a.N.element.style.bottom=a.U+"px";var b=a.A,c=a.D-a.l.length*(a.Z+a.u);g.dr(a.element,"ytp-scroll-min",0<=b);g.dr(a.element,"ytp-scroll-max",b<=c)};
        $da=function(a){for(var b=0;b<a.l.length;b++){var c=b,d=a.l[b].ra();c=a.B[c];var e=d.shortViewCount?d.shortViewCount:d.author,f=g.qg(d.Ik(),{feature:"player_embedded_uturn"});c.element.style.display="";var h=c.g["ytp-suggestion-title"];g.vQ.test(d.title)?h.dir="rtl":wQ.test(d.title)&&(h.dir="ltr");h=c.g["ytp-suggestion-author"];g.vQ.test(e)?h.dir="rtl":wQ.test(e)&&(h.dir="ltr");h=void 0;d.oa?h="Live":h=d.lengthSeconds?g.$P(d.lengthSeconds):"";c.update({views_or_author:e,duration:h,link:f,hover_title:d.title,
        title:d.title,aria_label:d.Wj||null,is_live:d.oa});c=c.g["ytp-suggestion-image"];d=d.hd();c.style.backgroundImage=d?"url("+d+")":""}for(;b<a.B.length;b++)a.B[b].element.style.display="none";tQ(a)};
        yQ=function(a,b){g.T.call(this,{C:"canvas",G:"ytp-tv-static"});this.o=this.element.getContext("2d");this.height=this.width=NaN;this.I=null;this.J=this.N=this.A=this.u=0;this.B=-75;this.l=new g.Nq(this.F,void 0,this);g.K(this,this.l);this.D=new g.L(this.l.ji,75,this.l);g.K(this,this.D);xQ(this,a,b)};
        zQ=function(a){for(var b=Math.floor(.6*a),c=b;c<a;++c){for(var d=!1,e=2;e<Math.sqrt(c);e++){if(!(c%e)){d=!1;break}d=!0}if(d)return c}return b};
        xQ=function(a,b,c){if(b&&c){a.width=a.element.width=b;a.height=a.element.height=c;var d=g.we("CANVAS");d.width=b;d.height=c;for(var e=d.getContext("2d"),f=e.getImageData(0,0,b,c),h=b*c,l=0;l<h;l++){var m=4*l;f.data[m]=f.data[m+1]=f.data[m+2]=Math.floor(35*Math.random());f.data[m+3]=255}e.putImageData(f,0,0);a.I=d;a.N=zQ(b);a.J=zQ(c/10);a.o.scale(1.5,1.5);a.o.fillStyle="rgba(255, 255, 255, 0.02)"}};
        BQ=function(a){var b=a.O(),c=b.g;if(c){var d=new sQ(a);b={C:"div",ba:["ytp-error","ytp-related-on-error"],T:{role:"alert"},M:[{C:"div",G:"ytp-error-content",M:[{C:"div",G:"ytp-error-icon-container",M:[hQ()]},{C:"div",G:"ytp-error-content-wrap",M:[{C:"div",G:"ytp-error-content-wrap-reason",X:"{{content}}"},{C:"div",G:"ytp-error-content-wrap-subreason",X:"{{subreason}}"}]}]},{C:"div",G:"ytp-small-redirect",M:[{C:"a",G:"ytp-small-redirect-link",T:{href:g.gF(b),target:b.Pb,"aria-label":"Visit YouTube to search for more videos"},
        M:[iQ()]}]},d]}}else b={C:"div",ba:["ytp-error"],T:{role:"alert"},M:[{C:"div",G:"ytp-error-content",M:[{C:"div",G:"ytp-error-content-wrap",X:"{{content}}"}]}]};g.T.call(this,b);this.A=c;this.l=a;(this.u=d)&&g.K(this,this.u);this.B=[];if(!this.A)try{this.o=new yQ(1,1),g.K(this,this.o),this.o.i(this.element,0)}catch(e){}g.dr(this.element,"ytp-controls-on-error",g.zP(this.l));this.D=1;AQ(this,g.yP(this.l).getPlayerSize())};
        AQ=function(a,b){CQ(a,function(c){xQ(c,b.width,b.height)});
        a.A&&(DQ(a,b),g.dr(a.element,"related-on-error-overlay-visible",!a.u.isHidden()))};
        DQ=function(a,b){a.g["ytp-error-content"].style.paddingTop="0px";var c=a.g["ytp-error-content"],d=c.clientHeight;rQ(a.u,b,b.height-d);if(a.l.O().za){var e=hQ(),f=g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-youtube-logo-redirect-large"]}:{C:"svg",T:{fill:"#fff",viewBox:"0 0 24 24"},M:[{C:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{C:"path",T:{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"}}]},
        h=1;480>b.width||290>b.height?(e={C:"div",ba:["ytp-icon","ytp-icon-error-exclamation-small"]},f=iQ(),h=0):650<=b.width&&(e={C:"div",ba:["ytp-icon","ytp-icon-error-exclamation-large"]},f=g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-youtube-logo-redirect-extra-large"]}:{C:"svg",T:{fill:"#fff",height:"100%",viewBox:"0 0 24 24",width:"100%"},M:[{C:"path",T:{d:"M0 0h24v24H0V0z",fill:"none"}},{C:"path",T:{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"}}]},
        h=2);if(h!==a.D){e={"ytp-error-icon-container":e,"ytp-small-redirect":f};f=g.r(Object.keys(e));for(var l=f.next();!l.done;l=f.next()){l=l.value;var m=a.g[l];g.ze(m);(new g.T(e[l])).i(m)}a.D=h}}c.style.paddingTop=(b.height-a.u.element.clientHeight)/2-d/2+"px"};
        CQ=function(a,b){if(a.o)try{b.call(a,a.o)}catch(c){a.o.dispose(),a.o=null}};
        EQ=function(a){a=a.split(aea);for(var b=[],c=0;c<a.length;c+=3){var d=a[c++].split("\n");b.push(d[0]);for(var e=1;e<d.length;e++)b.push({C:"br"}),b.push(d[e]);c<a.length&&b.push({C:"a",T:{href:a[c],target:a[c+1]},X:a[c+2]})}return{C:"span",M:b}};
        FQ=function(a,b,c,d,e,f,h){h=void 0===h?!0:h;e||(e=a.l.O().g);a=a.l.getVideoData();b=g.kQ(g.DO[b]||"",d?{CPN:a.clientPlaybackNonce}:{}).split(/\$(BEGIN|END)_LINK/);d=[];f&&d.push({C:"h2",X:f});d.push(b[0]);h&&d.push({C:"br"});d.push({C:"a",T:{href:c,target:e?"_blank":null},X:b[2]});d.push(b[4]);return{C:"span",M:d}};
        HQ=function(a){g.Mx.call(this);this.g=a;this.l=new Set;this.i=navigator.mediaSession;GQ(this,"play",function(){a.playVideo()});
        GQ(this,"pause",function(){a.pauseVideo()});
        GQ(this,"seekbackward",function(){a.seekBy(-5*a.getPlaybackRate())});
        GQ(this,"seekforward",function(){a.seekBy(5*a.getPlaybackRate())});
        this.P(a,"videodatachange",this.A);this.P(a,"presentingplayerstatechange",this.u);this.A()};
        GQ=function(a,b,c){a.i.setActionHandler(b,c?(0,g.A)(c,a):null);a.l.add(b)};
        IQ=function(a){g.T.call(this,{C:"div",G:"ytp-paid-content-overlay",T:{"aria-live":"assertive","aria-atomic":"true"}});this.I=new g.T({C:"div",ba:["ytp-button","ytp-paid-content-overlay-text"]});g.K(this,this.I);this.I.i(this.element);this.J=a;this.o=null;this.D=!1;this.A=new g.dQ(this.I,250,!1,100);g.K(this,this.A);this.B=this.l=null;this.u={};this.F=0;this.P(a,"videodatachange",this.Y);this.P(a,"presentingplayerstatechange",this.U)};
        JQ=function(a,b){var c=XH(b),d=YH(b);a.l?b.videoId&&b.videoId!=a.o&&(c=a.l,c.isActive()&&g.Rq(c),a.o=b.videoId,c=a.u[b.videoId]||0,a.D=!!d&&3E3>c):c&&d&&(a.l=new g.L(a.N,d,a),g.K(a,a.l),g.Ge(g.ke("ytp-paid-content-overlay-text",a.element),c))};
        KQ=function(a,b){a.l&&g.R(b,8)&&a.D&&(a.D=!1,a.A.show(),a.F=(0,g.H)(),a.l.start())};
        MQ=function(a){g.T.call(this,{C:"div",G:"ytp-spinner",M:[{C:"div",G:"ytp-spinner-container",M:[{C:"div",G:"ytp-spinner-rotator",M:[{C:"div",G:"ytp-spinner-left",M:[{C:"div",G:"ytp-spinner-circle"}]},{C:"div",G:"ytp-spinner-right",M:[{C:"div",G:"ytp-spinner-circle"}]}]}]},{C:"div",G:"ytp-spinner-message",X:"If playback doesn't begin shortly, try restarting your device."}]});this.o=this.g["ytp-spinner-message"];this.u=a;this.l=new g.L(this.show,500,this);g.K(this,this.l);this.P(a,"presentingplayerstatechange",
        this.A);this.P(a,"onFrescaStateChange",this.B);this.P(a,"playbackstalledatstart",this.D);LQ(this,g.xP(a))};
        LQ=function(a,b){if(g.R(b,128))var c=0;else!(c=g.R(b,16))&&(c=g.R(b,1))&&(c=AP(a.u.app.o),c=!(c&&c.loaded));c?a.l.start():a.hide()};
        NQ=function(a,b,c,d){d=void 0===d?!1:d;g.Gz.call(this,b);this.N=a;this.J=d;this.B=null;this.u=new g.Mx(this);g.K(this,this.u);this.A=new g.dQ(this,c,!0,void 0,null,(0,g.A)(this.Ay,this));g.K(this,this.A);this.l=null};
        OQ=function(a){a.l&&(document.activeElement&&g.Fe(a.element,document.activeElement)&&(g.Je(a.l),a.l.focus()),a.l.removeAttribute("aria-expanded"),a.l=null);g.Ox(a.u);a.B=null};
        PQ=function(a){return a.ib()&&4!=a.A.g};
        QQ=function(a,b){this.g=a;this.i=b};
        SQ=function(a){var b=wy(a.O().experiments,"mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({C:"div",ba:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));NQ.call(this,a,{C:"button",ba:["ytp-unmute","ytp-popup","ytp-button"].concat(c),M:[{C:"div",G:"ytp-unmute-inner",M:[{C:"div",ba:["ytp-unmute-icon"],M:[g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-volume-muted-dark"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
        width:"100%"},M:[{C:"path",Bg:!0,G:"ytp-svg-fill",T:{d:"m 21.48,17.98 c 0,-1.77 -1.02,-3.29 -2.5,-4.03 v 2.21 l 2.45,2.45 c .03,-0.2 .05,-0.41 .05,-0.63 z m 2.5,0 c 0,.94 -0.2,1.82 -0.54,2.64 l 1.51,1.51 c .66,-1.24 1.03,-2.65 1.03,-4.15 0,-4.28 -2.99,-7.86 -7,-8.76 v 2.05 c 2.89,.86 5,3.54 5,6.71 z M 9.25,8.98 l -1.27,1.26 4.72,4.73 H 7.98 v 6 H 11.98 l 5,5 v -6.73 l 4.25,4.25 c -0.67,.52 -1.42,.93 -2.25,1.18 v 2.06 c 1.38,-0.31 2.63,-0.95 3.69,-1.81 l 2.04,2.05 1.27,-1.27 -9,-9 -7.72,-7.72 z m 7.72,.99 -2.09,2.08 2.09,2.09 V 9.98 z"}}]}]},
        {C:"div",ba:["ytp-unmute-text"],X:"Tap to unmute"}].concat(d)}]},100);this.o=a;this.D=this.I=!1;b=this.o;b.O().D&&bea(b.app.ma,this.element,this);this.P(a,"onMutedAutoplayChange",this.U,this);this.P(a,"presentingplayerstatechange",this.Y);this.va("click",this.onClick,this);a=a.isMutedByMutedAutoplay();g.Fz(this,a);a&&RQ(this)};
        TQ=function(a){a.I||(a.I=!0,JP(a.o,a.element))};
        RQ=function(a){a.D||(a.D=!0,KP(a.o,a.element,!0))};
        UQ=function(a){g.Mx.call(this);var b=a.O(),c=g.yP(a);this.api=a;this.R=null;this.I=new g.L(this.BC,0,this);g.K(this,this.I);g.XE(b)||(this.l=new jQ(a),g.K(this,this.l),g.GP(a,this.l.element,4));var d=du()&&67<=au(),e=g.P(this.api.O().experiments,"mweb_enable_custom_control");if(!(cu("tizen")||GE||d||e)){var f=new MQ(a);g.K(this,f);f=f.element;g.GP(a,f,4)}d=a.getVideoData();this.i=new bQ(c,(0,g.A)(this.wB,this),d,b.De);g.K(this,this.i);this.i.subscribe("autohideupdate",this.AC,this);e=new IQ(a);g.K(this,
        e);g.GP(a,e.element,4);this.B=new SQ(a);g.K(this,this.B);g.GP(this.api,this.B.element,2);this.J=this.api.isMutedByMutedAutoplay();this.P(a,"onMutedAutoplayChange",this.xB);this.A=new g.L(this.hm,200,this);g.K(this,this.A);this.F=d.videoId;this.H=this.g=null;this.D=[];d=a.getRootNode();d.setAttribute("aria-label","YouTube Video Player");switch(b.color){case "white":g.$q(d,"ytp-color-white")}g.XE(b)&&g.$q(d,"ytp-music-player");!g.P(a.O().experiments,"disable_mediasession2")&&navigator.mediaSession&&
        !navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(d=new HQ(a),g.K(this,d));this.P(a,"appresize",this.Qu);this.P(a,"presentingplayerstatechange",this.eE);this.P(a,"videodatachange",this.fu);this.P(a,"videoplayerreset",this.bE);this.P(a,"autonavvisibility",this.tj,this);this.P(a,"sizestylechange",this.tj,this);g.P(a.O().experiments,"player_minimized_controls_killswitch")&&this.P(a,"minimized",this.Mp,this);this.P(a,"onFrescaStateChange",this.Mp,this);this.P(c,"click",this.yE,
        this);this.P(c,"dblclick",this.zE,this);b.Ba&&(this.P(c,"gesturechange",this.AE,this),this.P(c,"gestureend",this.BE,this));this.u=[c.F];this.l&&this.u.push(this.l.element);f&&this.u.push(f)};
        VQ=function(a,b){if(!b)return!1;var c=a.api.app.u;if(c.og()&&(c=c.ga())&&g.Fe(c,b))return c.controls;for(c=0;c<a.u.length;c++)if(g.Fe(a.u[c],b))return!1;return g.Zq(b,"ytp-player-content")||g.Zq(b,"html5-endscreen")||b==a.api.getRootNode()?!1:!0};
        XQ=function(a){return 2==a.api.getPresentingPlayerType()&&(g.yP(a.api).A||g.P(a.api.O().experiments,"mweb_enable_custom_control"))&&WQ&&11<=hI};
        ZQ=function(a,b){if(!VQ(a,g.Yv(b))&&(a.i.Ub(2,!0),g.aQ(b)&&!a.api.O().Ya)){if(g.tP(a.api)){g.vP(a.api,!0);var c=!0}else c=!1;if(c)g.aw(b);else if(c=g.xP(a.api),g.R(c,2)&&uP(a.api),!a.api.O().Ba||c.isCued()||g.R(c,1024)){var d=a.api.app.Ya;zw("embedsShouldRequestStorageAccessResult",{result:!!d,returnsUndefined:void 0===d});var e=g.R(c,2048);d&&(c.isCued()||e)?(c={isCued:c.isCued(),isAutoplayBlocked:e},zw("embedsRequestStorageAccessState",c),cea(a)):(!d||c.isCued()&&e||zw("embedsRequestStorageAccessFailedState",
        {state:c.g}),YQ(a),a.hm())}else a.A.isActive()?a.A.stop():a.A.start()}};
        cea=function(a){Tda(function(){zw("embedsRequestStorageAccessResult",{resolved:!0});bE(!0);xv();window.location.reload()},function(){zw("embedsRequestStorageAccessResult",{resolved:!1});
        YQ(a);a.hm()})};
        $Q=function(a,b){if(g.aQ(b)&&a.api.isMutedByMutedAutoplay()){a.api.unMute();YQ(a);2==a.api.getPresentingPlayerType()&&a.api.playVideo();var c=g.xP(a.api);!g.R(c,4)||g.R(c,8)||g.R(c,2)||a.hm();return!0}return!1};
        YQ=function(a){a=a.api.app.H;!nH("rfg","")||nH("grc","")||"blz_watch_tap"!=g.ys("TIMING_ACTION")&&!g.ys("TIMING_PLAYBACK_REQUIRES_TAP")&&"watch"!=g.ys("TIMING_ACTION")||a.tick("grc")};
        aR=function(a,b,c){a.api.isFullscreen()?c<1-b&&a.api.toggleFullscreen():c>1+b&&a.api.toggleFullscreen()};
        bR=function(a,b){var c;(c=b.isCued())||(c=((c=g.S(a.api.app,void 0))?yO(c):!0)&&3!=a.api.getPresentingPlayerType());c!=a.isCued&&(a.isCued=c,a.H&&a.bb(a.H),a.H=a.P(g.yP(a.api),"touchstart",a.CE,void 0,c));var d=g.Iy(b)&&!g.R(b,32)||CP(a.api);a.i.Ub(128,!d);d=3==a.api.getPresentingPlayerType();a.i.Ub(256,d);d=a.api.getRootNode();if(g.R(b,2))var e=["ended-mode"];else e=[],g.R(b,8)?e.push("playing-mode"):g.R(b,4)&&e.push("paused-mode"),g.R(b,1)&&!g.R(b,32)&&e.push("buffering-mode"),g.R(b,32)&&e.push("seeking-mode"),
        g.R(b,64)&&e.push("unstarted-mode");g.Gb(a.D,e)||(g.cr(d,a.D),a.D=e,g.ar(d,e));e=a.api.O();var f=g.R(b,2);g.dr(d,"ytp-hide-controls",("3"==e.o?!f:"1"!=e.o)||c);g.dr(d,"ytp-native-controls","3"==e.o&&!c&&!f);if(g.R(b,128)){a.g||(a.g=new BQ(a.api),g.K(a,a.g),g.GP(a.api,a.g.element,4));c=a.g;e=b.i;for(d=0;d<c.B.length;d++)c.bb(c.B[d]);c.B=[];f=e.sn;d=c.l.O();"play"!=d.playerStyle||"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=f&&"UNSUPPORTED_DEVICE"!=f||(f="HTML5_FLASH_DEPRECATED");if("GENERIC_WITHOUT_LINK"!=
        f||d.Nb)"TOO_MANY_REQUESTS"==f?(d=c.l.getVideoData(),c.qd(FQ(c,"TOO_MANY_REQUESTS_WITH_LINK",d.Ik(),void 0,void 0,void 0,!1))):"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=f||d.Nb?"HTML5_FLASH_DEPRECATED"==f?c.qd(FQ(c,"HTML5_FLASH_DEPRECATED","//support.google.com/googleplay/answer/2844198#movies",!1,!0,"Video unavailable")):(c.qd(EQ(e.errorMessage)),c.A&&e.Zf&&c.qd(EQ(e.Zf),"subreason")):c.qd(FQ(c,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/supported_browsers"));else if(e=c.l.O().rd,
        f="//support.google.com/youtube/?p=player_error1",e&&(f=g.qg(f,{hl:e})),c.qd(FQ(c,"GENERIC_WITH_LINK_AND_CPN",f,!0)),!d.g)for(d=(0,g.A)(c.F,c),e=c.element.getElementsByTagName("a"),f=0;f<e.length;f++){var h=c.P(e[f],"click",d);c.B.push(h)}a.g.show()}else a.g&&(a.g.dispose(),a.g=null)};
        g.cR=function(a){g.O.call(this);this.player=a;this.loaded=!1};
        g.dR=function(a,b){return Ax(a.info.mimeType)?b?sx(a.info)==b:!0:!1};
        g.eR=function(a,b){if(null!=a.fa&&g.cF(b.O())&&!a.fa.i&&null!=a.fa.g.rawcc)return!0;if(!a.le())return!1;var c=!!a.fa&&a.fa.i&&Object.values(a.fa.g).some(function(e){return g.dR(e,"386")}),d=!!a.fa&&!a.fa.i&&IC(a.fa);
        return c||d};
        fR=function(a,b){g.J.call(this);this.B=b;this.i=new Map;this.l={};this.o={};this.A=null;this.g=a;this.u=g.P(a.O().experiments,"web_player_defer_modules")};
        gR=function(a){return a.i.get("captions")};
        eea=function(a,b){switch(b){case "ad":return hR(a);case "annotations_module":return!1;case "attribution":var c=a.g.O();return g.P(c.experiments,"web_player_show_music_in_this_video")&&"desktop-polymer"==c.playerStyle;case "creatorendscreen":return!1;case "embed":return AI(a);case "endscreen":return dea(a);case "fresca":return a.g.getVideoData().xk;case "heartbeat":return a.g.getVideoData().Bj;case "kids":return!1;case "remote":return!1;case "miniplayer":return a.g.O().showMiniplayerUiWhenMinimized;
        case "music":return g.XE(a.g.O());case "captions":return"lb3"==a.g.O().playerStyle?c=!1:(c=a.g.getVideoData(),c=!!c.Lh||!!c.captionTracks.length||g.eR(c,a.g)),c;case "unplugged":return g.WE(a.g.O());case "ux":return a.g.O().U;case "visualizer":return!1;case "webgl":return!1;case "ypc":return a.hj();case "ypc_clickwrap":return c=a.g.getVideoData(),c.Aj&&!c.fo;case "yto":return!!a.g.getVideoData().Cc.includes("yto");default:return g.M(Error("Module descriptor "+b+" does not match")),!1}};
        iR=function(a){a.u&&(a.nb("endscreen"),a.hn(),a.nb("creatorendscreen",void 0,!0))};
        dea=function(a){var b=a.g.O();if(g.fF(b)||!b.R||b.Nb||!b.be&&!b.Ae)return!1;var c=a.g.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.P(b.experiments,"desktop_enable_autoplay");a=a.g.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.P(b.experiments,"allow_poltergust_autoplay");return!(a.oa&&(!g.P(b.experiments,"allow_live_autoplay")||!c))};
        az=function(a){return a.i.get("webgl")};
        AI=function(a){return g.P(a.g.O().experiments,"embeds_enable_embed_module")?g.IE(a.g.O()):!1};
        jR=function(a){g.P(a.g.O().experiments,"web_player_ux_module_wait")&&a.i.get("ux")&&g.FP(a.g,"ux")};
        fea=function(a){jR(a);a.nb("ux",void 0,!0)};
        hR=function(a){if(a=a.g.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;b<a.length;b++)if(a[b].adPlacementRenderer)return!0;return!1};
        kR=function(a,b,c){for(var d=g.r(a.i),e=d.next();!e.done;e=d.next()){var f=g.r(e.value);e=f.next().value;f=f.next().value;"music"!=e&&"embed"!=e&&"miniplayer"!=e&&f&&(c||f.sh(b))&&(g.Zj(f),a.i["delete"](e))}};
        lR=function(a){return a.i.get("ad")};
        mR=function(a){return g.WE(a.g.O())?a.i.get("unplugged"):null};
        yI=function(a){return a.g.O().U?a.i.get("ux"):null};
        g.nR=function(a){return a.i.get("annotations_module")};
        oR=function(a){return a.i.get("creatorendscreen")};
        AP=function(a){return a.i.get("fresca")};
        qR=function(a,b,c){if(a.B){for(var d=a.B+b+".js",e=document.getElementsByTagName("SCRIPT"),f=!1,h,l=0;l<e.length;l++){var m=e[l];if(m.src==d||m.getAttribute("data-original-src")==d)h=m}h||(h=g.we("SCRIPT"),h.setAttribute("data-original-src",d),f=!0);var n=function(){a.da()||c.call(a)},p=function(){a.da()||g.FP(a.g,b)};
        h.onload=g.Xa(function(q){Im(n);q&&q()},h.onload);
        h.onerror=g.Xa(function(q){if(.01>Math.random()){var v=Error("Unable to load player module");v.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.M(v)}Im(p);q&&q()},h.onerror);
        h.onreadystatechange=g.Xa(function(q){switch(h.readyState){case "loaded":case "complete":Im(n,this)}q&&q()},h.onreadystatechange);
        f&&((e=a.g.O().Wa)&&h.setAttribute("nonce",e),Bd(h,$f(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(h,e.firstChild),g.Yj(a,function(){h.parentNode&&h.parentNode.removeChild(h);g.pR[b]=null;"annotations_module"==b&&(g.pR.creatorendscreen=null)}))}};
        rR=function(a,b){g.Gz.call(this,{C:"div",G:"ytp-ad-persistent-progress-bar-container",M:[{C:"div",G:"ytp-ad-persistent-progress-bar"}]});this.u=a;this.o=b;g.K(this,this.o);this.D=this.g["ytp-ad-persistent-progress-bar"];this.l=-1;this.P(a,"presentingplayerstatechange",this.B);this.hide();this.B()};
        sR=function(a,b){b=void 0===b?2:b;g.O.call(this);this.g=a;this.i=new g.Mx(this);g.K(this,this.i);this.u=gea;this.l=null;this.i.P(this.g,"presentingplayerstatechange",this.EB);this.l=this.i.P(this.g,"progresssync",this.ju);this.o=b;1===this.o&&this.ju()};
        g.tR=function(a){g.cR.call(this,a);this.load()};
        uR=function(){this.g=[];this.i=[];this.l=[]};
        wR=function(a,b,c){c=g.we(c?"AUDIO":"VIDEO");g.Ya(c,hea);g.Uv(c,"loadeddata",(0,g.A)(c.i,c));PE&&6<=hI&&g.Uv(c,"webkitbeginfullscreen",(0,g.A)(c.play,c));a.i.push(c);b?a.l.push(c):vR(a,c);return c};
        vR=function(a,b){g.kb(a.i,b)&&!g.kb(a.g,b)&&(b.src||b.load(),g.pb(a.l,b)||a.g.push(b))};
        iea=function(){this.g=this.R=this.D=this.A=!1;this.H=0;this.J=!1;this.u=0;this.F=this.B=this.l=!0;this.o=this.N=!1;this.I=!0;this.i=0};
        jea=function(a){var b=new iea;b.A=g.P(a.experiments,"html5_pseudo_gapless");b.D=g.P(a.experiments,"html5_gapless_disable_preload_at_finish");b.R=g.P(a.experiments,"html5_gaplesstransition_error_new_elem");b.g=g.P(a.experiments,"html5_gapless_allow_late_transitions");b.H=g.Q(a.experiments,"html5_gapless_ended_transition_buffer_ms");b.J=g.P(a.experiments,"html5_full_gapless_content_resume");b.u=g.Q(a.experiments,"html5_gapless_max_played_ranges");g.P(a.experiments,"html5_gapless_error_check_killswitch2")&&
        (b.l=!1);g.P(a.experiments,"html5_gapless_channel_count_check_killswitch")&&(b.B=!1);g.P(a.experiments,"html5_gapless_encryption_upgrade_check_killswitch")&&(b.F=!1);b.N=g.P(a.experiments,"html5_gapless_trim_readbehind");b.o=g.P(a.experiments,"html5_gapless_manage_live_readahead");b.i=g.Q(a.experiments,"html5_gapless_seek_tolerance_secs");b.i&&(b.I=!1);return b};
        g.xR=function(a,b,c,d){d=void 0===d?!1:d;g.jy.call(this);this.g=a;this.i=b;this.A=c;this.H=d};
        kea=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(a.l&&c.getPlayerState().isError())return"player-error";if(!a.g){if(b.getCurrentTime()>(d-3E3)/1E3)return"too-close"}else if(b.getCurrentTime()>d/1E3+1)return"in-the-past";if(f.oa&&!isFinite(d))return"live-infinite";if(a.u&&((b=b.g)&&b.isView()&&(b=b.g),b&&b.Qg().length>a.u))return"played-ranges";if(a.g&&!e.la)return null;if(!e.la.g||!f.la.g)return"non-dash";if(e.la.videoInfos[0].containerType!=f.la.videoInfos[0].containerType)return"container";
        if(g.WH(f)&&g.WH(e))return"content-protection";f=f.la.g[0].audio;e=e.la.g[0].audio;return f.sampleRate==e.sampleRate||g.Ex?a.B&&(f.g||2)!=(e.g||2)?"channel-count":null:"sample-rate"};
        zR=function(a,b,c,d){g.J.call(this);var e=this;this.l=a;this.i=b;this.g=c;this.A=this.u=null;this.J=d-1E3*b.qb();this.F=-1;this.H=!1;this.B=new RL;this.B.then(void 0,function(){});
        this.I=new g.L(function(){return yR(e,"timeout")},1E4);
        g.K(this,this.I);this.D=this.l.A&&!!(!a.J&&c.getCurrentTime()||isFinite(d));this.o={status:0,error:null}};
        lea=function(a){var b,c,d,e,f,h;return Da(function(l){if(1==l.g){if(!a.l.g)return 5!=a.o.status?l=l["return"](Promise.resolve("nonsense")):(l.g=2,l=void 0),l;a.I.start();return va(l,a.B,2)}b=a.i.g;if(b.ke())return yR(a,"ended_in_finishTransition"),l["return"](Promise.reject());if(a.g.D!=a.A)return yR(a,"next_reloaded"),l["return"](Promise.reject());c=AR(a);d=c.qu;e=c.pu;HO(a.i,!1,a.l.D);f=BR(b,d,e,a.g.getVideoData().oa);JO(a.g,f);a.D&&(a.g.seekTo(a.g.getCurrentTime()+.001,!0,void 0,!0,!1,a.l.i),f.play());
        h=b.Pa();h.cpn=a.i.getVideoData().clientPlaybackNonce;h.st=""+d;h.et=""+e;a.g.Na("gapless",cx(h));a.i.Na("gaplessTo",a.g.getVideoData().clientPlaybackNonce);g.Pm(function(){!a.g.getVideoData().Hd&&Jy(a.g.getPlayerState())&&jP(a.g)});
        CR(a,6);a.dispose();return l["return"](Promise.resolve())})};
        FR=function(a){if(a.g.getVideoData().la){ZO(a.g,a.A);CR(a,3);DR(a);var b=ER(a),c=b.Wv;b=b.aG;c.subscribe("updateend",a.kh,a);b.subscribe("updateend",a.kh,a);a.kh(c);a.kh(b)}};
        DR=function(a){a.i.unsubscribe("internalvideodatachange",a.Rf,a);a.g.unsubscribe("internalvideodatachange",a.Rf,a);a.i.unsubscribe("mediasourceattached",a.Rf,a);a.g.unsubscribe("statechange",a.Xt,a)};
        BR=function(a,b,c,d){return new g.xR(a.isView()?a.g:a,b,c,d)};
        CR=function(a,b){b<=a.o.status||(a.o={status:b,error:null},5==b&&a.B.resolve(void 0))};
        yR=function(a,b){if(!a.da()&&!a.isFinished()){var c=4<=a.o.status;a.o={status:Infinity,error:b};if(a.i&&a.g){var d=a.g.getVideoData().clientPlaybackNonce;a.i.Na("gaplessError","cpn."+d+";msg."+b);a.l.R&&(d=a.i,d.K.Kd=!1,c&&dP(d),d.l&&(c=d.l,c.g.tb=!1,c.l&&nM(c)))}a.B.reject(void 0);a.dispose()}};
        AR=function(a){var b=a.i.g;b=b.isView()?b.i:0;var c=a.i.getVideoData().oa?Infinity:mP(a.i,!0);c=Math.min(a.J/1E3,c)+b;var d=a.D?100:0;a=c-a.g.getCurrentTime()+a.g.qb()+d;return{ky:b,qu:a,jy:c,pu:Infinity}};
        ER=function(a){return{Wv:a.u.g.g,aG:a.u.i.g}};
        GR=function(a){g.J.call(this);var b=this;this.l=a;this.B=this.i=this.g=null;this.F=!1;this.A=null;this.o=jea(this.l.O());this.u=null;this.D=function(){return g.Pm(function(){return mea(b)})}};
        nea=function(a,b,c,d){d=void 0===d?0:d;!a.g||HR(a);a.A=new RL;b.od=!0;a.g=b;var e=c,f=a.l.sb(),h=f.getVideoData().oa?Infinity:1E3*mP(f,!0);e>h&&(e=h-a.o.H,a.F=!0);f.getCurrentTime()>=e/1E3?a.D():(a.i=f,a.l.addEventListener(g.lJ("vqueued"),a.D),e=isFinite(e)||e/1E3>a.i.getDuration()?e:0x8000000000000,a.B=new g.iJ(e,0x8000000000000,{namespace:"vqueued"}),a.i.addCueRange(a.B));f=d/=1E3;e=b.getVideoData().fa;if(d&&e&&a.i){h=d;var l=0;a.o.o&&b.getVideoData().oa&&(f=Math.min(c/1E3,mP(a.i,!0)),l=Math.max(0,
        f-a.i.getCurrentTime()),h=Math.min(d,mP(b)+l));f=hD(e,h)||d;f!=d&&a.g.Na("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+h))}b=f;a.g.getVideoData().ug=!0;a.g.getVideoData().Kd=!0;tO(a.g,!0);d="";a.i&&(d=PI(a.i.A.o),e=a.i.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.g.Na("queued",d);0!=b&&(d=a.o.o,a.o.i&&(b+=.01),a.g.seekTo(b,!0,void 0,d,a.o.I,a.o.i));a.u=new zR(a.o,a.l.sb(),a.g,c);c=a.u;Infinity!=c.o.status&&(CR(c,1),c.i.subscribe("internalvideodatachange",c.Rf,c),c.g.subscribe("internalvideodatachange",
        c.Rf,c),c.i.subscribe("mediasourceattached",c.Rf,c),c.g.subscribe("statechange",c.Xt,c),c.Rf());return a.A};
        mea=function(a){var b,c;return Da(function(d){switch(d.g){case 1:if(a.da()||!a.A)return d["return"]();a.F&&bO(a.l.sb(),!0,!1);if(!a.u){d.g=2;break}b=lea(a.u);if(!a.o.g){d.g=2;break}d.A=4;return va(d,b,6);case 6:d.g=2;d.A=0;break;case 4:d.A=0,d.o=null;case 2:IR(a.l.app,a.g);var e=a.g.getPlayerType();g.JR(a.l.app,e);a.l.playVideo();c=a.A;HR(a);return d["return"](c.resolve(void 0))}})};
        HR=function(a){a.i&&(a.l.removeEventListener(g.lJ("vqueued"),a.D),a.i.removeCueRange(a.B),a.B.dispose(),a.i=null,a.B=null);if(a.u){if(!a.u.isFinished()){var b=a.u;Infinity!=b.o.status&&yR(b,"Canceled")}a.u=null}a.A=null;a.g=null;a.F=!1};
        LR=function(a,b,c){g.J.call(this);var d=this;this.g=a;this.N=b;c.getPlayerType();this.l=c;this.B=new Map;this.i=[];this.o=this.F=null;this.J=NaN;this.D=this.u=null;this.I=new g.L(function(){KR(d,d.J)});
        g.K(this,this.I);this.H=[];this.R=new g.L(function(){var e=d.H.pop();e&&(d.g.preloadVideoByPlayerVars(e.playerVars,e.playerType,NaN,"",e.Jb,!0),d.H.length&&g.Qq(d.R,4500))});
        g.K(this,this.R);this.A=new g.Mx(this);g.K(this,this.A);this.A.P(this.g,g.lJ("childplayback"),this.rB);this.A.P(this.g,"onQueuedVideoLoaded",this.jE);this.A.P(this.g,"presentingplayerstatechange",this.sB)};
        pea=function(a,b,c,d,e){var f=a.l;e=void 0==e?d+c:e;if(d>e)return"";var h=1E3*f.ob();if(d<h)return"";h=1E3*f.getDuration();if(e>h)return"";var l;h=g.r(a.i);for(var m=h.next();!m.done;m=h.next()){m=m.value;if(d>=m.Ic&&d<m.Mc||e<=m.Mc&&e>m.Ic||e==m.Ic)return"";d==m.Mc&&(l=m)}h="childplayback_"+oea++;m={tc:MR(c,!0),vh:Infinity,target:null};var n={Jb:h,playerVars:b,playerType:2,durationMs:c,Ic:d,Mc:e,uf:m};a.i=a.i.concat(n).sort(function(v,x){return v.Ic-x.Ic});
        l?NR(a,l,{tc:MR(l.durationMs,!0),vh:Infinity,target:n}):(b={tc:MR(d,!1),vh:d,target:n},a.B.set(b.tc,b),f.addCueRange(b.tc));b=g.P(a.N.experiments,"html5_gapless_preloading");if(a.l==a.g.sb()&&(f=1E3*f.getCurrentTime(),f>=n.Ic&&f<n.Mc)){var p=a.g.sb().getPlayerState(),q=f-n.Ic;Im(function(){OR(a,n,q/1E3,p)});
        b=!1}b&&(a.H.unshift(n),g.Qq(a.R,0));return h};
        MR=function(a,b){return new g.iJ(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"childplayback",priority:7})};
        qea=function(a,b,c,d){a.o=d;PR(a.g.app,a.l,c,void 0===b?0:b)};
        QR=function(a,b,c,d){a.o=d;d=b.Jb;var e=b.playerVars,f=b.playerType;a.F=b;a.g.enqueueVideoByPlayerVars(e,f,c,d)};
        NR=function(a,b,c){var d=b.uf;b.uf=c;RR(a,b)&&(c=a.g.sb(),d.tc==a.o&&SR(a),c.removeCueRange(d.tc),c.addCueRange(b.uf.tc));d.tc.dispose()};
        SR=function(a){a.F=null;a.o=null;!a.g.app.za.g||a.g.clearQueue()};
        TR=function(a,b){RR(a,b);return b.Mc==b.Ic+b.durationMs?b.Ic+1E3*a.g.sb().getCurrentTime():b.Mc};
        UR=function(a,b){for(var c=0,d=g.r(a.i),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Ic/1E3+c,h=f+e.durationMs/1E3;if(f>b)break;if(h>b)return{en:e,Po:b-f};c=h-e.Mc/1E3}return{en:null,Po:b-c}};
        KR=function(a,b){var c=a.D||a.g.sb().getPlayerState();VR(a,!0);var d=UR(a,b),e=d.en;d=d.Po;var f=e&&!RR(a,e)||!e&&a.l!=a.g.sb(),h=1E3*d;h=a.o&&a.o.start<=h&&h<=a.o.end;!f&&h||SR(a);e?OR(a,e,d,c):WR(a,d,c)};
        WR=function(a,b,c){var d=a.l;if(d!=a.g.sb()){var e=d.getPlayerType();g.JR(a.g.app,e)}d.seekTo(b,!0);YR(a,c)};
        OR=function(a,b,c,d){var e=RR(a,b);if(!e){g.JR(a.g.app,b.playerType);var f=new g.AH(a.N,b.playerVars);f.Jb=b.Jb;f.Kd=!0;ZR(a.g.app,f,b.playerType,void 0)}f=a.g.sb();e||f.addCueRange(b.uf.tc);f.seekTo(c,!0);YR(a,d)};
        YR=function(a,b){var c=a.g.sb(),d=c.getPlayerState();Jy(b)&&!Jy(d)?c.playVideo():g.R(b,4)&&!g.R(d,4)&&c.pauseVideo()};
        VR=function(a,b){a.J=NaN;a.I.stop();a.u&&b&&VO(a.u);a.D=null;a.u=null};
        RR=function(a,b){var c=a.g.sb();return!!c&&c.getVideoData().Jb==b.Jb};
        PP=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.r(a.B),h=f.next();!h.done;h=f.next()){var l=g.r(h.value);h=l.next().value;l=l.next().value;l.vh>=d&&l.target&&l.target.Mc<=e&&(a.l.removeCueRange(h),l.tc.dispose(),a.B["delete"](h))}d=b;e=c;f=[];h=g.r(a.i);for(l=h.next();!l.done;l=h.next())if(l=l.value,l.Ic>=d&&l.Mc<=e){var m=a;m.F==l&&SR(m);RR(m,l)&&g.OP(m.g,l.playerType);l.uf.tc.dispose()}else f.push(l);a.i=f;d=UR(a,b/1E3);b=d.en;d=d.Po;b&&(d*=1E3,$R(a,b,d,b.Mc==b.Ic+
        b.durationMs?b.Ic+d:b.Mc));UR(a,c/1E3)};
        $R=function(a,b,c,d){b.durationMs=c;b.Mc=d;d={tc:MR(c,!0),vh:c,target:null};NR(a,b,d);RR(a,b)&&1E3*a.g.sb().getCurrentTime()>c&&(b=TR(a,b)/1E3,c=a.g.sb().getPlayerState(),WR(a,b,c))};
        cS=function(a,b){g.J.call(this);var c=this;this.o=a||NaN;this.l=b||null;this.i=new g.L(function(){aS(c);bS(c)});
        g.K(this,this.i);this.g=[]};
        aS=function(a){var b=(0,g.Bv)();a.g.forEach(function(c){c.expire<b&&dS(a,c,!0)});
        a.g=(0,g.ol)(a.g,function(c){return!(c.expire<b)})};
        dS=function(a,b,c){c&&a.l&&a.l(b.value)};
        bS=function(a){a.i.stop();var b=Infinity;for(var c=g.r(a.g),d=c.next();!d.done;d=c.next())d=d.value,d.expire<b&&(b=d.expire);b&&isFinite(b)&&(b=Math.max(b-(0,g.H)(),0),a.i.start(b))};
        eS=function(a){g.J.call(this);this.i=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.g=window.IntersectionObserver?new IntersectionObserver((0,g.A)(this.l,this),b):null)&&this.g.observe(a)};
        gS=function(a){var b=a.O();g.T.call(this,{C:"div",ba:["html5-video-player"],T:{tabindex:"-1",id:a.Ba?a.Ba.rootElementId:a.U.attrs.id},M:[{C:"div",G:"html5-video-container",T:{"data-layer":"0"}}]});b.transparentBackground&&this.zl("ytp-transparent");g.Ds(this.element,"version",fS(a));this.app=a;this.F=this.g["html5-video-container"];this.o=new g.Pg(0,0,0,0);this.l=null;this.D=new g.Pg(0,0,0,0);this.J=this.Y=this.U=NaN;this.A=!1;this.I=NaN;this.N=!1;this.B=null;this.addEventListener=(0,g.A)(this.element.addEventListener,
        this.element);this.removeEventListener=(0,g.A)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
        this.V=(0,g.A)(function(){this.element.focus()},this);
        bF(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ca="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.be(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.be(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.be(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.be(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.be(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
        size:new g.be(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.be(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.be(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.be(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.be(640,360)}]);this.Z=b.useFastSizingOnWatchDefault;this.u=new g.be(NaN,NaN);rea(this);this.P(a.g,"onMutedAutoplayChange",this.yB)};
        rea=function(a){var b=a.app.g,c=(0,g.A)(a.sz,a),d=(0,g.A)(a.uz,a),e=(0,g.A)(a.rz,a),f=(0,g.A)(a.ez,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.Yj(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
        hS=function(a){a.l&&(a.l.removeEventListener("focus",a.V),g.Be(a.l),a.l=null)};
        jS=function(a){var b=g.P(a.app.O().experiments,"html5_aspect_from_adaptive_format"),c=g.S(a.app);if(c=c?c.getVideoData():null){if(c.Ci()||c.Di()||c.ti())return 16/9;if(b&&c.Mk()&&c.la.g)return b=c.la.videoInfos[0].video,iS(b.width,b.height)}return(a=a.l)?iS(a.videoWidth,a.videoHeight):b?16/9:NaN};
        kS=function(a,b,c,d){var e=c;isNaN(a.J)?isNaN(a.Y)||(e=a.Y):e=a.J;a=iS(b.width,b.height);isFinite(e)||(e=Math.max(c,a));var f;e>a?f={width:b.width,height:b.width/e,aspectRatio:e}:e<a?f={width:b.height*e,height:b.height,aspectRatio:e}:f={width:b.width,height:b.height,aspectRatio:a};d||isNaN(c)||(c>e?f.width=f.height*c:c<e&&(f.height=f.width/c),f.aspectRatio=c);return f};
        iS=function(a,b){return 1>Math.abs(lS*b-a)||1>Math.abs(lS/a-b)?lS:a/b};
        mS=function(a){if(1==a.app.N)return!1;if(6==a.app.N)return!0;var b=g.S(a.app);if(!b||yO(b))return!1;var c=g.xP(a.app.g);a=!g.R(c,2)||!g.P(a.app.O().experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().Kd;b=g.R(c,1024);return c&&a&&!b&&!c.isCued()};
        nS=function(a){var b="3"==a.app.O().o&&!a.A&&mS(a)&&!a.app.Ja;a.l.controls=b;a.l.tabIndex=b?0:-1;b?a.l.removeEventListener("focus",a.V):g.P(a.app.O().experiments,"disable_focus_redirect")||a.l.addEventListener("focus",a.V)};
        oS=function(a){var b=a.getPlayerSize(),c=1,d=kS(a,b,a.getVideoAspectRatio()),e=ku();if(mS(a)){var f=jS(a);var h=isNaN(f)||mF||eN&&g.eF;lu&&!g.Vd(601)?f=d.aspectRatio:h=h||"3"==a.app.O().o;h?h=new g.Pg(0,0,b.width,b.height):(c=d.aspectRatio/f,h=new g.Pg((b.width-d.width/c)/2,(b.height-d.height)/2,d.width/c,d.height),1==c&&g.eF&&(f=h.width-b.height*f,0<f&&(h.width+=f,h.height+=f)));e&&(a.l.style.display="");a.N=!0}else h=-b.height,lu?h*=window.devicePixelRatio:g.Bz&&(h-=window.screen.height),h=new g.Pg(0,
        h,b.width,b.height),e&&(a.l.style.display="none"),a.N=!1;g.Qg(a.D,h)||(a.D=h,g.WE(a.app.O())?(a.l.style.setProperty("width",h.width+"px","important"),a.l.style.setProperty("height",h.height+"px","important")):g.ih(a.l,new g.be(h.width,h.height)),g.$g(a.l,new g.$d(h.left,h.top)));b=new g.Pg((b.width-d.width)/2,(b.height-d.height)/2,d.width,d.height);g.Qg(a.o,b)||(a.o=b);g.Sg(a.l,"transform",1==c?"":"scaleX("+c+")")};
        pS=function(){this.o=g.KG();this.g=new Set;this.l=new Set;this.i=new Set};
        bea=function(a,b,c){a.g.has(b);a.g.add(b);var d=Baa();b.visualElement=d;var e=g.KG(),f=g.JG();e&&f&&g.BG(e,f,[d],void 0);g.Yj(c,function(){qS(a,b)})};
        rS=function(a,b,c){a.g.has(b);a.g.add(b);g.Yj(c,function(){qS(a,b)})};
        qS=function(a,b){a.g.has(b);a.g["delete"](b);a.l["delete"](b);a.i["delete"](b)};
        sS=function(a){if(a.o!=g.KG()){var b=g.KG(),c=g.JG();if(b&&c){a.o=b;for(var d=g.r(a.g),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&!e.Nc.trackingParams&&e.Nc.veType&&g.BG(b,c,[e],void 0)}if(b)for(a=g.r(a.i),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&!c.Nc.trackingParams&&c.Nc.veType&&g.CG(b,c)}};
        tS=function(a,b,c,d,e){g.T.call(this,{C:"div",G:"ytp-horizonchart"});this.o=Math.round(a/c);this.I=b;this.B=c;this.D=d;this.F=e;this.Va=0;this.element.style.width=this.o*this.B+"px";this.element.style.height=this.I+"em";this.l=-1;this.A=this.u=null};
        uS=function(a,b){if(-1==a.l){try{var c=g.we("CANVAS");a.u=c.getContext("2d")}catch(m){}if(a.u){var d=a.o*a.B;a.A=c;a.A.width=d;a.A.style.width=d+"px";a.element.appendChild(a.A)}else for(a.B=Math.floor(a.B/4),a.o*=4,c=0;c<a.B;c++)d=g.we("SPAN"),d.style.width=a.o+"px",d.style.left=a.o*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.l&&(a.l=c,a.u&&(c=1<(window.devicePixelRatio||1)?2:1,a.A.height=a.l*c,a.A.style.height=a.l+"px",a.u.scale(1,c)));c=g.r(b);for(var e=c.next();!e.done;e=
        c.next()){d=a;var f=a.Va,h=e.value;for(e=0;e+2<d.D.length&&d.D[e+1]<h;)e++;h=Math.min(1,(h-d.D[e])/(d.D[e+1]-d.D[e]));if(d.u)d.u.fillStyle=d.F[e],d.u.fillRect(f*d.o,0,d.o,d.l),d.u.fillStyle=d.F[e+1],d.u.fillRect(f*d.o,d.l*(1-h),d.o,d.l);else{f=d.element.children[f];var l=window.devicePixelRatio||1;h=Math.min(d.l,Math.round(d.l*h*l)/l)||0;f.style.height=h+"px";f.style.backgroundColor=d.F[e+1];f.style.borderTop="solid "+(d.l-h)+"px "+d.F[e]}a.Va=(a.Va+1)%a.B}c=a.Va;a.u?a.u.clearRect(c*a.o,0,a.o,a.l):
        (c=a.element.children[c],c.style.height="0px",c.style.borderTop="")};
        vS=function(a){var b=null;b={C:"button",ba:["html5-video-info-panel-close","ytp-button"],T:{title:"close"},X:"[x]"};g.T.call(this,{C:"div",G:"html5-video-info-panel",M:[b,{C:"div",G:"html5-video-info-panel-content",M:[{C:"div",M:[{C:"div",X:"Video ID / sCPN"},{C:"span",X:"{{video_id_and_cpn}}"}]},{C:"div",M:[{C:"div",X:"Viewport / Frames"},{C:"span",X:"{{dims_and_frames}}"}]},{C:"div",M:[{C:"div",X:"Current / Optimal Res"},{C:"span",X:"{{resolution}}"}]},{C:"div",M:[{C:"div",X:"Volume / Normalized"},
        {C:"span",X:"{{volume}}"}]},{C:"div",M:[{C:"div",X:"Codecs"},{C:"span",X:"{{codecs}}"}]},{C:"div",T:{style:"{{shader_info_style}}"},M:[{C:"div",X:"Shader Info"},{C:"span",X:"{{shader_info}}"}]},{C:"div",T:{style:"{{color_style}}"},M:[{C:"div",X:"Color"},{C:"span",X:"{{color}}"}]},{C:"div",T:{style:"{{drm_style}}"},M:[{C:"div",X:"Protected"},{C:"span",X:"{{drm}}"}]},{C:"div",T:{style:"{{bandwidth_style}}"},M:[{C:"div",X:"Connection Speed"},{C:"span",M:[{C:"span",X:"{{bandwidth_chart}}"},{C:"span",
        X:"{{bandwidth_kbps}}"}]}]},{C:"div",T:{style:"{{network_activity_style}}"},M:[{C:"div",X:"Network Activity"},{C:"span",M:[{C:"span",X:"{{network_activity_chart}}"},{C:"span",X:"{{network_activity_bytes}}"}]}]},{C:"div",M:[{C:"div",X:"Buffer Health"},{C:"span",M:[{C:"span",X:"{{buffer_health_chart}}"},{C:"span",X:"{{buffer_health_seconds}}"}]}]},{C:"div",T:{style:"{{live_latency_style}}"},M:[{C:"div",X:"Live Latency"},{C:"span",M:[{C:"span",X:"{{live_latency_chart}}"},{C:"span",X:"{{live_latency_secs}}"}]}]},
        {C:"div",T:{style:"{{live_mode_style}}"},M:[{C:"div",X:"Live Mode"},{C:"span",X:"{{live_mode}}"}]},{C:"div",T:{style:"{{playback_categories_style}}"},M:[{C:"div",X:"Playback Categories"},{C:"span",X:"{{playback_categories}}"}]},{C:"div",M:[{C:"div",X:"Mystery Text"},{C:"span",X:"{{debug_info}}"}]},{C:"div",T:{style:"{{release_style}}"},M:[{C:"div",X:"Player Release"},{C:"span",X:"{{release_name}}"}]},{C:"div",T:{style:"{{canary_style}}"},M:[{C:"div",X:"Canary Player"},{C:"span",X:"{{canary}}"}]}]}]});
        b&&this.P(this.g["html5-video-info-panel-close"],"click",this.hide);b=[0,18750,37500,81250,128E3,256E3,512E3,2048E3,8192E3,32768E3,131072E3];var c="#000 #d53e4f #f46d43 #fdae61 #fee08b #e6f598 #abdda4 #66c2a5 #3288bd #124588 #fff".split(" "),d=b.map(function(e){return e/4});
        this.o=new tS(300,1,150,b,c);g.K(this,this.o);this.updateValue("bandwidth_chart",this.o);this.A=new tS(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.K(this,this.A);this.updateValue("live_latency_chart",this.A);this.u=new tS(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.K(this,this.u);this.updateValue("buffer_health_chart",this.u);this.B=new tS(300,1,150,d,c);g.K(this,this.B);this.updateValue("network_activity_chart",
        this.B);this.l=new g.L(this.Ko,500,this);g.K(this,this.l);this.D=a};
        wS=function(a,b,c){g.J.call(this);var d=this;this.U=Yda(b||{});this.Ba=c;b=this.U.args||{};this.i=new YE(b,c);g.K(this,this.i);g.P(this.i.experiments,"html5_vp9_new_mime")&&void 0!=navigator.mediaCapabilities&&(SC=!0);g.P(this.i.experiments,"html5_disable_subtract_cuepoint_offset")&&(NK=!0);g.P(this.i.experiments,"html5_log_opus_oboe_killswitch")&&(XA=!1);this.rd=U(!1,b.player_wide);this.F=new ZN;g.K(this,this.F);this.R=!1;this.R=U(!1,b.external_list);this.J=new g.Mx(this);g.K(this,this.J);this.Y=
        null;this.Z=new g.qr;g.K(this,this.Z);this.ca=new g.qr;g.K(this,this.ca);this.ma=new pS;this.g=new sP(this);g.K(this,this.g);this.D=new gS(this);g.K(this,this.D);this.N=1;this.tb={};this.I=this.i.Gb?VD():{volume:100,muted:this.i.mute};this.xd=this.i.xb?new eJ(this,1):new rI(this,1);g.K(this,this.xd);this.u=null;this.Tc={};c={};this.Fb=(c.internalvideodatachange=this.tC,c.playbackready=this.vC,c.playbackstarted=this.wC,c.statechange=this.eA,c.signatureexpired=this.ME,c);this.o=sea(this);this.Ac=new g.Mx(this);
        g.K(this,this.Ac);this.H=new fJ(this.i,this.o);this.l=tea(this);c={};this.yd=(c.airplayactivechange=this.lC,c.airplayavailabilitychange=this.mC,c.beginseeking=this.EC,c.endseeking=this.eD,c.internalAbandon=this.lD,c.internalaudioformatchange=this.yC,c.internalvideodatachange=this.yo,c.internalvideoformatchange=this.fF,c.liveviewshift=this.sD,c.playbackstalledatstart=this.PE,c.progresssync=this.hE,c.onLoadProgress=this.tD,c.SEEK_COMPLETE=this.hA,c.SEEK_TO=this.GE,c.onVideoProgress=this.hF,c.onLoadedMetadata=
        this.vD,c.onDompaused=this.YC,c.playbackready=this.aE,c.statechange=this.Yu,c.connectionissue=this.UC,c.newelementrequired=this.Gu,c.heartbeatparams=this.fA,c.videoelementevent=this.iA,c.drmoutputrestricted=this.cD,c.requestmediasource=this.sE,c);this.ia=new g.Mx(this);g.K(this,this.ia);this.A=null;this.Oa=new cS(g.VE(this.i)?3:10,function(e){e!=g.S(d,e.getPlayerType())&&(uea("c","prefetch_"+e.getVideoData().videoId),e.dispose())});
        g.K(this,this.Oa);this.Gb=this.Ib=-1;this.rb=new g.L(this.D.Vd,16,this.D);g.K(this,this.rb);this.gb=!1;this.sa=!0;this.Aa=this.Wa=this.B=null;this.od=!1;this.Pb=this.ud=null;this.ua=0;this.pd=this.Ja=this.Ga=!1;this.wd=!0;this.Ya=void 0;vea(this);this.ka=new LR(this.g,this.i,this.l);this.zd=null;this.za=new GR(this.g);g.K(this,this.za);this.J.P(this.g,g.lJ("appapi"),this.rC);this.J.P(this.g,"crx_appapi",this.sC);this.J.P(this.g,g.lJ("appad"),this.uu);this.J.P(this.g,"crx_appad",this.uu);this.J.P(this.g,
        "crx_applooprange",this.yD);this.J.P(this.g,"presentingplayerstatechange",this.gA);this.J.P(this.g,"resize",this.vE);this.D.i(ie(document,a));this.J.P(this.g,"offlineslatestatechange",this.VD);this.Uc=g.P(this.i.experiments,"html5_enable_embedded_player_visibility_signals")&&this.i.g?new eS(this.D.element):null;g.K(this,this.Uc);this.V=null;g.fQ=!0;this.i.U&&(g.pR.ux=g.tR);wea(this);this.H.tick("fs");xea(this);this.i.U&&fea(this.o);g.XE(this.o.g.O())&&this.o.nb("music");AI(this.o)&&this.o.nb("embed");
        .001>Math.random()&&(this.na("web_player_sentinel_is_uniplayer")||g.Bs(Error("Player flag missing: web_player_sentinel_is_uniplayer")))};
        tea=function(a){var b=new eO(a.i,1,a.H,a.D,(0,g.A)(a.Z.L,a.Z),(0,g.A)(a.g.getVisibilityState,a.g),a.F);b.setPlaybackRate(a.i.g?1:xS(a,parseFloat(g.UD("yt-player-playback-rate"))||1));Zu(b,a.Fb,a);return b};
        sea=function(a){var b="",c=fS(a);0==c.indexOf("//")&&(c=a.i.protocol+":"+c);"/base.js"==c.substr(-8)&&(b=c.substr(0,c.length-8)+"/");if(c=Error().stack)if(c=c.match(/\((.*?\/(debug-)?player-.*?):\d+:\d+\)/))c=c[1],c.includes(b)||g.M(Error("Player module URL mismatch: "+(c+" vs "+b+".")),"WARNING");b=new fR(a.g,b,a);c={};a=(c.destroyed=(0,g.A)(a.qC,a),c);b.A=a;return b};
        yS=function(a,b){a.isVideoInfoVisible();a.Y||(a.Y=new vS(a),g.K(a,a.Y),g.GP(a.g,a.Y.element,4));g.Fz(a.Y,b);var c=a.A;b&&c&&c.Na("sfn","1",!0)};
        AS=function(a){var b=zS.getTag(!0,!a.i.deviceHasDisplay);a.u=new g.sy(b);g.K(a,a.u);a.A&&JO(a.A,a.u);try{a.i.ua?(a.Aa&&a.J.bb(a.Aa),a.Aa=a.J.P(a.u,"volumechange",a.JD)):a.na("web_player_mute_then_volume_killswitch")?(a.u.setVolume(a.I.volume/100),a.u.Mf(a.I.muted)):(a.u.Mf(a.I.muted),a.u.setVolume(a.I.volume/100))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.dO(a.l,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0);return}g.Ox(a.ia);yea(a);c=a.D;c.l=b;c.A=!1;c.l.parentNode||
        Ae(c.F,c.l,0);c.D=new g.Pg(0,0,0,0);oS(c);nS(c);g.$q(c.l,"video-stream");g.$q(c.l,"html5-main-video");b=c.app.O();b.pd&&c.l.setAttribute("data-no-fullscreen",!0);b.yd&&(c.l.setAttribute("webkit-playsinline",""),c.l.setAttribute("playsinline",""));b.Kj&&c.l&&c.P(c.l,"click",c.l.play,c.l);try{a.u.ih()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.dO(a.l,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0)}};
        BS=function(a){a.u&&(a.Aa&&(a.J.bb(a.Aa),a.Aa=null),g.Ox(a.ia),a.A&&HO(a.A,!0),hS(a.D),a.u.og()&&zS.releaseTag(a.u.ga()),a.u=null)};
        g.JR=function(a,b){var c=g.S(a,b);c||(c=CS(a,b),DS(a,c));MP(a,c)};
        MP=function(a,b){if(a.A!=b){var c=null;a.A&&(c=a.A.getPlayerState(),kR(a.o,3),ES(a,"cuerangesremoved",NL(a.A.H)||[]),a.za&&!b.isGapless()&&a.A.isGapless()&&a.u&&a.u.stopVideo(),NP(a));DS(a,b);a.A=b;a.u&&JO(b,a.u);Zu(b,a.yd,a);a.yo("newdata",b,b.getVideoData());c&&!g.Hy(c,b.getPlayerState())&&a.Yu(new g.TI(b.getPlayerState(),c));b.Y.isFinished()&&a.yo("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().Fa)&&c.video)&&a.g.ha("onPlaybackQualityChange",c.quality);ES(a,"cuerangesadded",NL(a.A.H)||
        []);c=b.getPlayerState();g.R(c,2)?FS(a):g.R(c,8)&&b.playVideo()}};
        FS=function(a){if(a.B&&g.OE(a.i)&&g.GS(a)){a.nextVideo(!1,g.P(a.i.experiments,"html5_player_autonav_logging"));var b=!0}else b=!1;b||((b=a.l.g)&&b.Vh(),HS(a,My(wP(a))))};
        yea=function(a){var b=a.u;Gx()?a.ia.P(b,"webkitpresentationmodechanged",a.DE):Hx()&&(a.ia.P(b,"enterpictureinpicture",function(){$N(a.F,!0)}),a.ia.P(b,"leavepictureinpicture",function(){$N(a.F,!1)}));
        if(PE){var c=g.P(a.i.experiments,"ensure_vis_persists_in_full_screen_for_mweb");a.ia.P(b,"webkitbeginfullscreen",function(){IS(a,c?3:1)});
        a.ia.P(b,"webkitendfullscreen",function(){IS(a,0)})}};
        DS=function(a,b){if(b!=a.l){var c=b.getPlayerType();a.Tc[c]=b}};
        NP=function(a){a.A&&(HO(a.A),$u(a.A,a.yd,a));a.A=null};
        g.S=function(a,b){return b?1==b?a.l:a.Tc[b]||null:a.A};
        CS=function(a,b){var c=a.H;2==b&&(c=new fJ(a.i));return new eO(a.i,b,c,a.D,(0,g.A)(a.Z.L,a.Z),(0,g.A)(a.g.getVisibilityState,a.g),a.F)};
        KS=function(a,b){return JS(a,b)?a.l:b};
        LS=function(a,b){var c=a.A;return c&&b==a.l&&JS(a,b)&&JS(a,c)?c:b};
        MS=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.o;d.Er();d.nb("music");d.nb("attribution",void 0,!1,!0);d.nb("captions",void 0,!0);d.u&&c?g.FP(d.g,"endscreen"):d.nb("endscreen");d.nb("ypc",void 0,!1,!0);d.nb("ypc_clickwrap",void 0,!1,!0);d.u&&c?(g.FP(d.g,"annotations_module"),g.FP(d.g,"creatorendscreen")):(d.hn(),d.nb("creatorendscreen",void 0,!0));d.Fr();d.nb("fresca",void 0,!1,!0);d.nb("kids");d.nb("remote");d.nb("unplugged");d.nb("miniplayer");d.nb("yto",void 0,!1,!0);d.nb("visualizer",
        void 0,!1,!0);d.nb("embed");jR(d);c&&lI(b)?a.Ac.P(a.g,"presentingplayerstatechange",a.fE):iR(a.o);a.g.L("videoready",b)};
        NS=function(a){return a.l.getVideoData()};
        g.OS=function(a,b){var c=g.S(a,1);c&&bO(c,b)};
        PS=function(a){a=NS(a);a.isValid();return lI(a)};
        wea=function(a){var b=new g.AH(a.i,a.U.args);g.YP()&&b.Cc.push("remote");b.isValid()&&(oO(a.l,b,(0,g.A)(a.Kc,a)),!g.P(a.i.experiments,"html5_delay_initial_loading")&&PS(a)&&(a.i.Be||a.i.Ib)&&tO(a.l))};
        xea=function(a){var b=a.D,c=b.app.O();c.Ce||b.zl("tag-pool-enabled");c.Nb&&b.zl("house-brand");"gvn"==c.playerStyle&&(b.zl("ytp-gvn"),b.element.style.backgroundColor="transparent");b.I=g.Ns("yt-dom-content-change",b.Vd,b);b.P(window,"resize",b.Vd,b);b=a.xd;b.o=a.D.element;for(var d in b.l)b.o[d]=b.l[d];(d=ax(a.D.element))&&a.J.P(a.D,d,a.hD);a.J.P(window,"resize",a.wE);b=a.U.args;AS(a);d=NS(a);a.g.ha("onVolumeChange",a.I);if(b&&pJ(b))if((c=bF(a.i))&&!a.R&&(b.fetch=0),QS(a,b),c&&!a.R)RS(a);else if(!d.isValid())a.B.onReady((0,g.A)(a.Fl,
        a));MP(a,a.l);if(!g.R(a.l.getPlayerState(),128)){b=a.i.deviceHasDisplay;try{var e=Fx('video/mp4; codecs="avc1.42001E"')||Fx('video/webm; codecs="vp9"');var f=(Fx('audio/mp4; codecs="mp4a.40.2"')||Fx('audio/webm; codecs="opus"'))&&(e||!b)||Dx('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(h){f="html5.missingapi"}"fmt.noneavailable"==f?g.dO(a.l,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1",void 0):"html5.missingapi"==f?g.dO(a.l,f,"UNSUPPORTED_DEVICE",
        "nocanplaymedia.1",void 0):d&&d.isValid()&&PS(a)&&(a.i.Be||a.i.Ib)?SS(a):g.UD("yt-player-playback-on-reload")?(zw("embedsItpPlayedOnReload",{playedOnReload:!0,isLoggedIn:!!a.i.ce}),bE(!1),SS(a)):g.fF(a.i)||TS(a);a.na("web_player_inline_botguard")&&(uJ(a.i.Wa),kt())}};
        TS=function(a){a.g.L("initializingmode");g.US(a,2);a.o.nb("remote");g.P(a.i.experiments,"player_cued_miniplayer_module_killswitch")||a.o.nb("miniplayer")};
        SS=function(a){if(g.R(a.l.getPlayerState(),128))return!1;PS(a)&&a.i.Ib&&(zS.hasTags(void 0)&&a.Ja?(uI(a,{muted:!1,volume:a.I.volume},!1),VS(a,!1)):zS.hasTags(void 0)||a.I.muted||(uI(a,{muted:!0,volume:a.I.volume},!1),VS(a,!0)));WS(a,1,a.l.getVideoData(),!1);a.g.L("initializingmode");MP(a,a.l);g.US(a,3);if(!a.i.Ce||QE()&&!a.od)BS(a),AS(a),JO(a.l,a.u);xO(a.l);if(g.R(a.l.getPlayerState(),128))return!1;HS(a,3);return a.od=!0};
        xS=function(a,b){var c=a.g.getAvailablePlaybackRates();b=parseFloat(b.toFixed(2));var d=c[0];c=c[c.length-1];b<=d||(b>=c?d=c:(d=Math.floor(100*b+.001)%5,d=0==d?b:Math.floor(100*(b-.01*d)+.001)/100));return d};
        XS=function(a,b){var c=g.S(a,b);return c?JS(a,c)?(c=KS(a,c),fP(c)-c.getCurrentTime()+a.getCurrentTime(b)):fP(c):0};
        YS=function(a,b,c){if(JS(a,c)){c=c.getVideoData();a=a.ka;for(var d=g.r(a.i),e=d.next();!e.done;e=d.next())if(e=e.value,c.Jb==e.Jb){b+=e.Ic/1E3;break}d=b;a=g.r(a.i);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Jb==e.Jb)break;var f=e.Ic/1E3;if(f<b)d+=e.durationMs/1E3+f-e.Mc/1E3;else break}return d}return b};
        wP=function(a,b){return 3==a.getPresentingPlayerType()?null.Oi:g.S(a,b).getPlayerState()};
        ZS=function(a,b){return 3==a.getPresentingPlayerType()?My(null.Oi):2!=b||JS(a)?a.Ib:a.Gb};
        aT=function(a){$S(a);var b;if(b=a.A==a.l)b=a.A,b=0!=(b.g?b.g.nl():b.ud);b&&(a.A.setLoop(!1),a.g.L("loopchange",!1));a.setLoopRange(null);a.tb={};b=a.H;if(b.g){var c=b.g;c.o={};c.l={}}b.i=!1;b=a.ka;a=a.l;a.getPlayerType();VR(b,!1);PP(b);b.l=a};
        RS=function(a){var b=bT();if(b)if(!b.list)a.gk();else if(a.B&&a.B.getPlaylistId()==b.list)if(0<=b.index){var c=b.video;a.g.isFullscreen()&&((c=c[a.B.Va])&&c.encrypted_id!=a.B.ra().videoId||(b.index=a.B.Va));rJ(a.B,b);a.Wa&&cT(a,a.Wa)}else a.Wa=null};
        QS=function(a,b){a.B&&(a.B.unsubscribe("error",a.gk,a),g.Zj(a.B),a.B=null);b&&(a.R&&(b.fetch=0),a.B=new g.oJ(a.i,b),a.B.subscribe("error",a.gk,a))};
        dT=function(a,b,c,d){b in a.tb||(c=new g.iJ(c,d,{id:b,priority:1,namespace:"appad"}),a.l.addCueRange(c),a.tb[b]=c)};
        g.US=function(a,b){b!=a.N&&(2==b&&1==a.getPresentingPlayerType()&&(HS(a,-1),HS(a,5)),a.N=b,a.g.L("appstatechange",b))};
        HS=function(a,b){if(a.A){var c=a.A.getPlayerType();if(2==c&&!JS(a)){a.Gb!=b&&(a.Gb=b,a.g.ha("onAdStateChange",b));return}if(2==c&&JS(a)||5==c||6==c||7==c)if(-1==b||0==b||5==b)return}a.Ib!=b&&(a.Ib=b,a.g.ha("onStateChange",b))};
        eT=function(a){var b=g.S(a,void 0);if(b){a=KS(a,b);b=UO(a);var c=a.getCurrentTime(),d;(d=!a.K.oa)||(d=a.u,d=!(d.l&&d.l.o));a=d||QN(a.u)||isNaN(b)||isNaN(c)?0:Math.max(0,b-c)}else a=0;return a};
        JS=function(a,b){var c=b||a.A,d;if(d=c)a:if(d=a.ka,c=c.getVideoData(),c==d.l.getVideoData()&&d.i.length)d=!0;else{d=g.r(d.i);for(var e=d.next();!e.done;e=d.next())if(c.Jb==e.value.Jb){d=!0;break a}d=!1}return d?!0:!1};
        PR=function(a,b,c,d){d=void 0===d?0:d;var e=g.S(a);e&&(KS(a,e).bf=!0,KS(a,e).od=!0);nea(a.za,b,c,d).then(function(){a.g.ha("onQueuedVideoLoaded")},function(){})};
        WS=function(a,b,c,d){if(!f){var e=b+"_"+c.videoId+"_"+c.Jb;var f=a.Oa.get(e);if(!f)return null;a.Oa.remove(e);if(g.R(f.getPlayerState(),128))return f.dispose(),null}if(f==g.S(a,b))return f;if((f.getVideoData().oauthToken||c.oauthToken)&&f.getVideoData().oauthToken!=c.oauthToken)return null;d||IR(a,f);return f};
        IR=function(a,b){var c=b.getPlayerType();b!=g.S(a,c)&&(1==b.getPlayerType()?(b.getVideoData().autonavState=a.l.getVideoData().autonavState,$u(a.l,a.Fb,a),c=a.l.getPlaybackRate(),a.l.dispose(),a.l=b,a.l.setPlaybackRate(c),Zu(b,a.Fb,a),aT(a)):(c=g.S(a,c))&&c.dispose(),a.A.getPlayerType()==b.getPlayerType()?MP(a,b):DS(a,b))};
        ZR=function(a,b,c,d){nH("_start","")||(kH("p",""),a.H.info("srt",0));var e=WS(a,c||a.A.getPlayerType(),b,!1);e&&SH("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.S(a,c);if(!e)return!1;a.rb.stop();fT(a,4,c);oO(e,b,(0,g.A)(a.Kc,a),d)}e==a.l&&(a.i.Ga=b.oauthToken);if(!qO(e))return!1;a.gb&&(e.Ga=!1,a.gb=!1);if(e==a.l)return g.US(a,1),SS(a);xO(e);return!0};
        gT=function(a,b,c){c=g.S(a,c);b&&c==a.l&&(c.getVideoData().Df=!0)};
        hT=function(a,b,c){var d=g.S(a,c);d&&(fT(a,4,c),oO(d,b,(0,g.A)(a.Kc,a)),d==a.l&&(g.US(a,1),TS(a)))};
        g.iT=function(a,b,c,d,e,f){if(!b&&!d)throw Error("Playback source is invalid");KE(a.i)||g.cF(a.i)?(c=c||{},c.lact=jw(),c.vis=a.g.getVisibilityState(),a.g.ha("onPlayVideo",{videoId:b,watchEndpoint:f,sessionData:c,listId:d})):(c=a.H,c.g&&(f=c.g,f.o={},f.l={}),c.i=!1,a.H.reset(),b={video_id:b},e&&(b.autoplay="1"),e&&(b.autonav="1"),d?(b.list=d,a.loadPlaylist(b)):a.loadVideoByPlayerVars(b,1))};
        g.GS=function(a){if(a.g.isMutedByMutedAutoplay())return!1;if(3==a.getPresentingPlayerType())return!0;bF(a.i)&&!a.R&&RS(a);return!(!a.B||!a.B.hasNext())};
        cT=function(a,b){var c=g.z(b);if(c){var d=bT();d&&d.list&&c();a.Wa=null}else a.Wa=b};
        bT=function(){var a=g.z("yt.www.watch.lists.getState");return a?a():null};
        jT=function(a,b,c,d,e,f){b={id:b,namespace:"appapi"};"chapter"==f?(b.style="ytp-chapter-marker",b.visible=!0):isNaN(e)||("ad"==f?b.style="ytp-ad-progress":(b.style="ytp-time-marker",b.color=e),b.visible=!0);DP(a,[new g.iJ(1E3*c,1E3*d,b)],1);return!0};
        DP=function(a,b,c){var d=g.S(a,c);d&&(d=d.H,d.i(),LL(d.g,b),d.o=NaN,d.i(),c&&a.getPresentingPlayerType()!=c||ES(a,"cuerangesadded",b))};
        g.kT=function(a,b,c){var d=g.S(a,c);d&&(d.H.removeCueRange.apply(d.H,b),c&&a.getPresentingPlayerType()!=c||ES(a,"cuerangesremoved",b))};
        g.lT=function(a,b,c){var d=g.S(a,c);d&&(b=OL(d.H,b),c&&a.getPresentingPlayerType()!=c||ES(a,"cuerangesremoved",b))};
        mT=function(a){var b=(0,g.Bv)(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
        uI=function(a,b,c){a.i.V&&(a.I=b,b.muted||VS(a,!1),c&&a.i.Gb&&!a.i.ua&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.TD("yt-player-volume",c),g.TD("yt-player-volume",c,2592E3))),nT(a),c=g.Ex&&a.u&&!a.u.gd(),!a.i.ua||c)&&(b=g.qc(b),a.i.Gb||(b.unstorable=!0),a.g.ha("onVolumeChange",b))};
        nT=function(a){var b=a.getVideoData();if(!b.Tf){b=a.i.ua?1:bz(b);var c=a.u;a.na("web_player_mute_then_volume_killswitch")?(c.setVolume(a.I.volume*b/100),c.Mf(a.I.muted)):(c.Mf(a.I.muted),c.setVolume(a.I.volume*b/100))}};
        VS=function(a,b){b!=a.Ja&&(a.Ja=b,a.g.ha("onMutedAutoplayChange",b))};
        oT=function(a){var b=Zw();return b&&(b==a.D.element||a.u&&b==a.u.ga())?b:null};
        qT=function(a,b){var c=window.screen&&window.screen.orientation;if(g.P(a.i.experiments,"lock_fullscreen2")&&c&&c.lock&&(!g.Ex||!pT))if(b){var d=0==c.type.indexOf("portrait"),e=a.D.getVideoAspectRatio(),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Ga||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.La);a.Ga=!0}}else a.Ga&&(a.Ga=!1,c.unlock())};
        IS=function(a,b){var c=!!b,d=!!a.F.l!=c,e=a.F;e.l!=b&&(e.l=b,e.lh());a.na("html5_media_fullscreen")&&!c&&a.u&&Zw()==a.u.ga()&&a.u.Vh();a.D.Vd();d&&a.H.tick("fsc");d&&(a.g.L("fullscreentoggled",c),d=NS(a),c={fullscreen:c,videoId:d.Vp||d.videoId,time:a.getCurrentTime()},a.g.getPlaylistId()&&(c.listId=a.g.getPlaylistId()),a.g.ha("onFullscreenChange",c))};
        ES=function(a,b,c){a.g.L(b,c);var d=g.VE(a.i)||g.WE(a.i)||dF(a.i);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.g.ha(e,c)}};
        fT=function(a,b,c){xG(a.ua);a.ua=0;var d=g.S(a,c);d&&1!=a.N&&2!=a.N&&(d==a.A&&kR(a.o,b),1==c&&(g.P(a.i.experiments,"html5_stop_video_in_cancel_playback")&&d.stopVideo(),$S(a)),g.EO(d),ES(a,"cuerangesremoved",NL(d.H)||[]),d.H.reset(),a.za&&d.isGapless()&&(HO(d,!0),JO(d,a.u)))};
        rT=function(a,b,c,d,e,f){c=void 0===c?!0:c;f=void 0===f?!1:f;var h=g.S(a,e);if(!h||(2!=h.getPlayerType()||JS(a,h)||f)&&!g.iI(h.getVideoData()))3==a.getPresentingPlayerType()?null.Ni("control_seek",b,c):a.seekTo(b,c,d,e)};
        sT=function(a,b,c,d){if(!(a.gb||a.na("html5_only_reload_for_yt_killswitch")&&"yt"!=a.i.H)){c&&(BS(a),AS(a));a.gb=!0;c=g.S(a);c.Ga=!0;c.Na("reloading","reason."+b);var e=a.getVideoData(),f={};f.video_id=e.videoId;f.adformat=e.adFormat;e.oa||(f.start=c.getCurrentTime(),f.resume="1");e.ze&&(f.vvt=e.ze);e.wj&&(f.vss_credentials_token=e.wj,f.vss_credentials_token_type=e.Bh);e.oauthToken&&(f.oauth_token=e.oauthToken);f.autoplay=1;f.reload_count=e.se+1;f.reload_reason=b;e.wh&&(f.unplugged_partner_opt_out=
        e.wh);a.loadVideoByPlayerVars(f,void 0,d)}};
        tT=function(a){var b=a.getVideoData().Tf,c=a.i.jf,d=a.u;b||c?d.ln():(d.pn(),uI(a,a.I))};
        $S=function(a){(a=lR(a.o))&&a.created&&a.destroy()};
        uT=function(a,b){b.bounds=a.getBoundingClientRect();for(var c=g.r(["display","opacity","visibility","zIndex"]),d=c.next();!d.done;d=c.next())d=d.value,b[d]=Xg(a,d);b.hidden=!!a.hidden};
        vea=function(a){var b=a.i,c=document.requestStorageAccess&&document.hasStorageAccess;g.P(b.experiments,"embeds_enable_request_storage_access_safari_itp")&&c&&b.g?mu()||b.ma?(zw("embedsStorageAccessNotChecked",{isIosWebview:mu(),isPemPlayer:b.ma}),a.Ya=!1):document.hasStorageAccess().then(function(d){zw("embedsHasStorageAccessResult",{hasCookieAccess:d,resultedInError:!1});a.Ya=!d},function(d){zw("embedsHasStorageAccessResult",{hasCookieAccess:!1,
        resultedInError:!0});g.Bs(Error("Embeds ITP Error: "+d));a.Ya=!1}):a.Ya=!1};
        vT=function(a,b){var c=void 0;if(g.VE(a.i)&&zt(b)&&xt(b)){var d=nI(a.getVideoData());d&&(c={Authorization:"Bearer "+d})}g.tu(b,void 0,void 0,c)};
        fS=function(a){return a.Ba?a.Ba.jsUrl:a.U.assets&&a.U.assets.js?a.U.assets.js:""};
        wT=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
        xT=function(a){return a.isTimeout?"NO_BID":"ERR_BID"};
        zea=function(){var a=null;Mu().then(function(b){return a=b},function(b){return a=xT(b)});
        return a};
        Aea=function(){var a=xn(1E3,"NO_BID");return jn(ln(fn([Mu(),a]),xT),function(){return a.cancel()})};
        yT=function(a){this.g=a;this.l=g.Q(a.O().experiments,"bulleit_get_midroll_info_timeout_ms")||8E3;this.o=this.i=1};
        zT=function(a,b,c,d){c=void 0===c?{}:c;var e=c.gy,f=c.tc,h=void 0===c.lw?0:c.lw;d=void 0===d?"":d;c=a.g.getVideoData(1);var l={AD_BLOCK:a.i++,AD_BREAK_LENGTH:e?e.durationSecs:0,AUTONAV_STATE:a.g.O().Ac?yE()?3:2:1,CA_TYPE:"image",CPN:c.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:1E3*eT(a.g.app),LACT:jw(),LIVE_INDEX:e?a.o++:1,LIVE_TARGETING_CONTEXT:e&&e.context?e.context:"",MIDROLL_POS:f?Math.round(f.start/1E3):0,MIDROLL_POS_MS:f?Math.round(f.start):0,VIS:a.g.getVisibilityState(),TSLA:h,P_H:g.yP(a.g).getPlayerSize().height,
        P_W:g.yP(a.g).getPlayerSize().width},m=Bt(At);Object.keys(m).forEach(function(n){null!=m[n]&&(l[n.toUpperCase()]=m[n].toString())});
        ""!==d&&(l.BISCOTTI_ID=d);d={};(e=a.g.O().Z)&&zt(b)&&(d.forced_experiments=e);b=vt(g.nq(b,l),d);d=b.split("?");if(2!=d.length)return Zm(Error("Invalid AdBreakInfo URL"));e=g.r(d);d=e.next().value;f=e.next().value;e={};c.oauthToken&&xt()&&(e.Authorization="Bearer "+c.oauthToken);if(f=(c=g.pt(f))&&c.post_data)h=g.pt(c.post_data),Object.assign(c,h),delete c.post_data;return f?zu(d,{Rr:!0,format:"RAW",headers:e,method:"POST",kb:c,timeout:a.l,withCredentials:!0}):zu(b,{Rr:!0,format:"RAW",headers:e,method:"GET",
        timeout:a.l,withCredentials:!0})};
        AT=function(a,b,c,d){this.o=a;this.g=null;this.l=b;this.i=0;this.A=void 0===c?!1:c;this.visible=!0;this.u=void 0===d?!1:d};
        BT=function(a,b,c,d,e){g.iJ.call(this,b.start,b.end,{id:d,namespace:"ad",priority:e,visible:c});this.l=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.g=!1;this.o=null};
        CT=function(a){return"AD_PLACEMENT_KIND_START"==a.l};
        DT=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.l};
        Bea=function(a){return a.end-a.start};
        ET=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new g.vi(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new g.vi(Math.max(0,b.o-b.i),0x7ffffffffffff):new g.vi(0x7ffffffffffff,0x8000000000000);case "AD_PLACEMENT_KIND_MILLISECONDS":var d=a.adTimeOffset;a=parseInt(d.offsetStartMilliseconds,10);d=parseInt(d.offsetEndMilliseconds,10);-1===d&&(d=b.o);if(c&&(d=a,a=Math.max(0,a-b.i),a==d))break;return new g.vi(a,d);case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return a=
        b.g,d=1E3*a.g,c?d<b.l?new g.vi(d-4E3,d):new g.vi(Math.floor(b.l+Math.random()*Math.max(0,d-b.l-1E4)),d):new g.vi(d,d+(0<a.durationSecs?1E3*a.durationSecs:5E3))}return null};
        FT=function(a,b,c){b=void 0===b?null:b;c=void 0===c?{}:c;this.id=W(a);this.componentType=a;this.macros=c;this.renderer=b};
        W=function(a){return a+g.Mr(g.Lr.getInstance())};
        GT=function(a,b,c){this.id=c;this.content=a;this.actionType=b};
        IT=function(){g.J.call(this);var a=this;this.g={};HT(this,"commandExecutorCommand",function(b,c,d){b.commands&&a.qk(b.commands,c,d)});
        HT(this,"clickTrackingParams",function(){})};
        JT=function(a,b){return HT(a,b.g(),function(c,d,e){b.i(c,d,e)})};
        HT=function(a,b,c){if(a.g[b])return g.M(Error("Extension name "+b+" already registered")),function(){};
        a.g[b]=c;return function(){delete a.g[b]}};
        KT=function(a,b,c,d,e){e=void 0===e?{}:e;if(a=a.g[b])try{a(c[b],d,e)}catch(f){g.M(f)}else g.M(Error("Unhandled field "+b))};
        LT=function(a){this.l=a};
        MT=function(a){this.l=a};
        NT=function(a){this.W=a};
        OT=function(){this.g=[];this.l=null;this.o=!0;this.i=0};
        PT=function(a,b){b&&a.g.push(b)};
        QT=function(a){if(!a)return[];var b=[];a=g.r(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.r(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b};
        RT=function(a){if(!a)return[];var b=[];a.forEach(function(c){c.command.loggingUrls.forEach(function(d){b.push({baseUrl:d.baseUrl,offsetMilliseconds:c.adVideoOffset.milliseconds})})});
        return b};
        ST=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0};
        TT=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind};
        Cea=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=QT(a.impressionCommands)||[];b.error=QT(a.errorCommands)||[];b.mute=QT(a.muteCommands)||[];b.unmute=QT(a.unmuteCommands)||[];b.pause=QT(a.pauseCommands)||[];b.rewind=QT(a.rewindCommands)||[];b.resume=QT(a.resumeCommands)||[];b.skip=QT(a.skipCommands)||[];b.close=QT(a.closeCommands)||[];b.clickthrough=QT(a.clickthroughCommands)||[];b.fullscreen=QT(a.fullscreenCommands)||[];b.active_view_viewable=QT(a.activeViewViewableCommands)||
        [];b.active_view_measurable=QT(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=QT(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=QT(a.endFullscreenCommands)||[];b.channel_clickthrough=QT(a.channelClickthroughCommands)||[];b.abandon=QT(a.abandonCommands)||[];b.progress=RT(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind}));
        b.start=RT(a.progressCommands.filter(function(c){return TT(c)&&1E-6>=Math.abs(ST(c)-0)}));
        b.first_quartile=RT(a.progressCommands.filter(function(c){return TT(c)&&1E-6>=Math.abs(ST(c)-.25)}));
        b.midpoint=RT(a.progressCommands.filter(function(c){return TT(c)&&1E-6>=Math.abs(ST(c)-.5)}));
        b.third_quartile=RT(a.progressCommands.filter(function(c){return TT(c)&&1E-6>=Math.abs(ST(c)-.75)}));
        b.complete=RT(a.progressCommands.filter(function(c){return TT(c)&&1E-6>=Math.abs(ST(c)-1)}));
        return b};
        UT=function(a,b){b=void 0===b?!0:b;RP.call(this,a,Cea(a));this.i=b;this.g=a.questions?a.questions.reduce(function(c,d){var e=d.instreamSurveyAdSingleSelectQuestionRenderer||d.instreamSurveyAdMultiSelectQuestionRenderer;return e?c+(e.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:c},0):0};
        VT=function(a,b,c,d){this.id=b;this.H=a.placementStartPings||[];this.F=a.placementEndPings||[];this.i=d.g;b=a.config&&a.config.adPlacementConfig;if(!b)throw Error("Malformed AdPlacementRenderer: missing AdPlacementConfig");var e=a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer||{};this.l=(this.o=e.getAdBreakUrl||"")?0:2;d.i=parseInt(e.prefetchMilliseconds,10)||0;d.visible=!b.hideCueRangeMarker;var f=ET(b,d);if(null==f)d=new BT(b,new g.vi(-1,-1),!1,"adcuerange:invalid",
        2),d.g=!0,d=[null,d];else{e=g.Mr(g.Lr.getInstance());var h=d.A||d.g;f=new BT(b,f,d.visible&&!h,"adcuerange:"+e,2);h=null;if(d.g||0<d.i){var l=ET(b,d,!0);l&&(h=new BT(b,l,!1,"prefetch:"+e,d.u?3:2),f.o=h,h.o=f)}d=[h,f]}this.J=d[0];this.I=d[1];this.g=c;this.B=!1;this.A={};this.D={};this.u=void 0===a.driftRecoveryMs?null:parseInt(a.driftRecoveryMs,10)};
        WT=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.Za().l||"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"==a.Za().l};
        XT=function(a){return"AD_PLACEMENT_KIND_START"==a.Za().l};
        $T=function(a){var b={};Dea(a,b);Eea(b);b.LACT=ZT(function(){return jw().toString()});
        b.VIS=ZT(function(){return a.getVisibilityState().toString()});
        b.SDKV="h.3.0";b.VOL=ZT(function(){return a.isMuted()?"0":Math.round(a.getVolume()).toString()});
        b.VED="";return b};
        aU=function(a){var b=Object.assign({},{});b.MIDROLL_POS=WT(a)?ZT(Bc(Math.round(a.Za().start/1E3).toString())):ZT(Bc("0"));return b};
        Fea=function(a){var b={};b.SLOT_POS=ZT(Bc(a.l.g.toString()));return b};
        bU=function(a,b){var c=b&&-1!=b.indexOf("load_timeout")?"402":"400",d={};return d.YT_ERROR_CODE=a.toString(),d.ERRORCODE=c,d.ERROR_MSG=b,d};
        ZT=function(a){return{toString:function(){return a()}}};
        cU=function(a){for(var b={},c=g.r(Gea),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d];e&&(b[d]=e.toString())}return b};
        dU=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c={};Object.assign.apply(Object,[c].concat(g.fa(b)));return c};
        Hea=function(a,b,c){function d(l,m){var n=b[m];n&&(f[l]=n)}
        function e(l,m){var n=b[m];n&&(f[l]=h(n))}
        if(!b||g.lc(b))return a;var f=Object.assign({},a),h=c?encodeURIComponent:function(l){return l};
        e("DV_VIEWABILITY","doubleVerifyViewability");e("IAS_VIEWABILITY","integralAdsViewability");e("MOAT_INIT","moatInit");e("MOAT_VIEWABILITY","moatViewability");d("GOOGLE_VIEWABILITY","googleViewability");d("VIEWABILITY","viewability");return f};
        Dea=function(a,b){b.CPN=ZT(function(){var c;(c=a.getVideoData(1))?c=c.clientPlaybackNonce:(g.M(Error("Video data is null."),"WARNING"),c=null);return c});
        b.AD_MT=ZT(function(){return eU(a,2)});
        b.MT=ZT(function(){return eU(a,1)});
        b.P_H=ZT(function(){return g.yP(a).getPlayerSize().height.toString()});
        b.P_W=ZT(function(){return g.yP(a).getPlayerSize().width.toString()});
        b.PV_H=ZT(function(){return g.yP(a).getVideoContentRect().height.toString()});
        b.PV_W=ZT(function(){return g.yP(a).getVideoContentRect().width.toString()})};
        eU=function(a,b){var c=1E3*a.getCurrentTime(b);return Math.round(Math.max(0,c)).toString()};
        Eea=function(a){a.CONN=ZT(Bc("0"));a.WT=ZT(function(){return Date.now().toString()})};
        fU=function(a,b){this.g=a;this.l=xt();if(this.i=g.P(b,"use_legacy_ping_service_for_bulleit_living_room"))tq.g=!0,tq.i=!g.fu()};
        gU=function(a){this.l=a};
        hU=function(a){this.l=a};
        iU=function(){};
        jU=function(){};
        kU=function(a){g.J.call(this);this.g=a;this.i=Iea(this)};
        Iea=function(a){var b=new IT;g.K(a,b);[new LT(a.g.Rx),new MT(a.g.Sx),new NT(a.g.W),new gU(a.g.Yi),new iU,new jU].forEach(function(c){return JT(b,c)});
        g.P(a.g.experiments,"enable_mute_ad_endpoint_resolution_on_bulleit")?JT(b,new hU(a.g.YB)):HT(b,"muteAdEndpoint",function(){});
        ["adInfoDialogEndpoint","adFeedbackEndpoint"].forEach(function(c){return HT(b,c,function(){})});
        return b};
        lU=function(a){this.i=a;this.g=null};
        Jea=function(a){!mU()&&a.g?a.g.cancel():nU(a).then(function(){return oU(null,300,60)})};
        nU=function(a){if(null==a.g){var b=a.i/200,c=function(d){if(!mU()){if(0>=d)throw Error("Timed out while waiting for GPT services");return xn(200).then(function(){return c(d-1)})}};
        a.g=Ym().then(function(){return c(b)})}return a.g};
        oU=function(a,b,c){var d=xn(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new Um(function(f,h){var l=pU();
        if(l){var m=qU(l);if(m&&0!=m.length){var n={};n.slotId=m[0].slotId;n.adContent="<div></div>";n.adWidth=b;n.adHeight=c;n.friendlyIframeRendering=!1;n.onAdContentSet=function(p){var q=g.u(p.firstElementChild)?p.firstElementChild:Ce(p.firstChild);q||(q=g.we("div"),p.appendChild(q));a&&q.appendChild(a);f()};
        (l=l.googleSetCompanionAdContents)?l([n]):h(Error("Missing googleSetCompanionAdContents API"))}else h(Error("No slots registered with GPT services"))}else h(Error("Failed to find GPT services"))});
        return fn([e,d])};
        mU=function(){var a=pU();if(!a)return!1;a=qU(a);return g.Oa(a)&&0!=a.length?null!=ie(document,"google_companion_ad_div"):!1};
        pU=function(){var a=re();return g.z("googletag.cmd",a)?a:null};
        qU=function(a){a=void 0!==a.googleGetCompanionAdSlots?As(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0<a.length?a:null};
        Kea=function(){this.url=null;this.height=this.width=0;this.adInfoRenderer=this.impressionTrackingUrls=this.clickTrackingUrls=null};
        rU=function(){this.contentVideoId=null;this.macros={};this.imageCompanionAdRenderer=this.iframeCompanionRenderer=null};
        sU=function(a,b){this.i=a;this.g=b};
        Lea=function(a){var b=new sU(a.W,a.Jz?null:new lU(a.Ry));return{Gy:function(){return b}}};
        Mea=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"h";case "measurable_impression":return"c";case "overlay_unmeasurable_impression":return"i";case "overlay_unviewable_impression":return"j";case "overlay_viewable_end_of_session_impression":return"k";case "overlay_viewable_immediate_impression":return"l";case "viewable_impression":return"q";default:return null}};
        tU=function(){g.O.call(this);var a=this;this.g={};g.Yj(this,function(){return Object.keys(a.g).forEach(function(b){return delete a.g[b]})})};
        vU=function(){if(null===uU){uU=new tU;lp.getInstance().g="b";var a=lp.getInstance(),b="h"==Bo(a)||"b"==Bo(a),c="exc"!=ri.getInstance().Ka;b&&c&&(a.u=!0,a.A=new tl)}return uU};
        Nea=function(a,b){Object.keys(a.g).forEach(function(c){a.g[c]===b&&delete a.g[c]})};
        wU=function(a){g.J.call(this);var b=this;this.i=a;this.g=null;g.Yj(this,function(){return b.g=null})};
        yU=function(a){return xU(a)&&1==a.getPlayerState(2)};
        xU=function(a){a=a.sb();return void 0!==a&&2==a.getPlayerType()};
        zU=function(a,b){var c=a.O();RE(c)||"3"!=c.o||(c=g.yP(a),c.A=!b,nS(c))};
        Oea=function(a){switch(a){case "abandon":return"abandon";case "active_view_fully_viewable_audible_half_duration":return"fully_viewable_audible_half_duration_impression";case "active_view_measurable":return"measurable_impression";case "active_view_viewable":return"viewable_impression";case "complete":return"complete";case "end_fullscreen":return"exitfullscreen";case "first_quartile":return"firstquartile";case "fullscreen":return"fullscreen";case "impression":return"impression";case "midpoint":return"midpoint";
        case "mute":return"mute";case "pause":return"pause";case "progress":return"progress";case "resume":return"resume";case "skip":return"skip";case "start":return"start";case "third_quartile":return"thirdquartile";case "unmute":return"unmute"}return null};
        Pea=function(a){this.g=a;g.P(a.O().experiments,"active_view_block_viewable_ping_on_measurable")&&Dh(ri.getInstance().ya,"buvpe",1);g.P(a.O().experiments,"active_view_use_nio")&&Dh(ri.getInstance().ya,"lvio",1);var b=lp.getInstance();a=JS(a.app);b.o!==a&&((b.o=a)||Lo(b))};
        AU=function(a,b,c,d,e,f,h){f=void 0===f?new fU(d.getVideoData(1),d.O().experiments):f;h=void 0===h?!1:h;g.J.call(this);this.i=a;this.H=b;this.l=c;this.g=d;this.D=e;this.A=f;this.B=Array.from(this.i.U.progress||[]);this.B.sort(function(l,m){return l.offsetMilliseconds-m.offsetMilliseconds});
        this.o={gq:.25,yq:.5,Hq:.75};this.u=null;this.F=h};
        GU=function(a,b,c){!BU(a)&&0<c&&(CU(a,b),DU(a)?EU(a,b,c):FU(a,b,c))};
        KU=function(a){if(DU(a)){var b=a.g.getCurrentTime(2,!1);HU(a,"impression",b,0)}else IU(a,"impression");IU(a,"start");BU(a)||a.g.isFullscreen()&&JU(a,"fullscreen")};
        LU=function(a,b){BU(a)||(DU(a)?(CU(a,0,!0),EU(a,b,b)):(CU(a,0,!0),FU(a,0,0,!0)),IU(a,"complete"))};
        Qea=function(a,b){b&&b.forEach(function(c){c.baseUrl&&a.A.send(c.baseUrl,MU(a),{})})};
        CU=function(a,b,c){for(c=void 0===c?!1:c;a.i.H<a.B.length;){var d=NU(a,"progress"),e=a.B[a.i.H];if(e.offsetMilliseconds<=1E3*b||c)(e=e.baseUrl)&&a.A.send(e,MU(a),d),a.i.H++;else break}};
        FU=function(a,b,c,d){d=void 0===d?!1:d;(b>=c*a.o.gq||d)&&IU(a,"first_quartile");(b>=c*a.o.yq||d)&&IU(a,"midpoint");(b>=c*a.o.Hq||d)&&IU(a,"third_quartile")};
        HU=function(a,b,c,d){if(null==a.u){if(c<d||1<c-d)return}else if(a.u>d||d>c)return;IU(a,b)};
        EU=function(a,b,c){if(0<c&&0<b){var d=g.xP(a.g,a.g.getPresentingPlayerType());g.R(d,16)||g.R(d,32)||(HU(a,"first_quartile",b,c*a.o.gq),HU(a,"midpoint",b,c*a.o.yq),HU(a,"third_quartile",b,c*a.o.Hq))}a.u=b};
        JU=function(a,b){for(var c=NU(a,b),d=g.r(a.i.U[b]||[]),e=d.next();!e.done;e=d.next())(e=e.value.baseUrl)&&a.A.send(e,MU(a),c);a.i.A[b]=!0};
        IU=function(a,b){a.i.A.hasOwnProperty(b)||JU(a,b)};
        OU=function(a,b){return a.i.A.hasOwnProperty(b)};
        MU=function(a){for(var b={},c=$T(a.g),d=g.r(Object.keys(c)),e=d.next();!e.done;e=d.next())e=e.value,b[e]=c[e].toString();return Object.assign(b,a.l)};
        NU=function(a,b){var c=a.H;var d=a.i;if(d.xi()){var e=Oea(b);if(null==e)d={};else{var f;(f=d.I()())||(f=(f=c.g)&&f.sb?(f=f.sb())&&2==f.getPlayerType()?pO(f):null:null);f?(c={opt_adElement:f,opt_fullscreen:c.g.isFullscreen()},d=yp(e,d.B,c)):d={}}}else d={};return d?Object.assign({},d):{}};
        PU=function(a,b){switch(b){case "action-companion":case "shopping-companion":case "image-companion":case "videowall-companion":case "ads-engagement-panel":if(2==a.g.getPresentingPlayerType())a.g.sendVideoStatsEngageEvent(1,void 0,2);else if(a.D){var c=a.D.g;c&&c()}else g.M(Error("trackCompanionEngagement is called butcompanionEngagementHandler is null"),"ERROR")}};
        DU=function(a){return!g.P(a.g.O().experiments,"html5_bulleit_dai_logging_policy_upg_livestream_killswitch")&&a.F};
        BU=function(a){return DU(a)&&!OU(a,"impression")};
        X=function(a,b,c,d,e,f){f=void 0===f?0:f;g.O.call(this);this.W=a;this.g=d;this.l=e;this.l.g[b.B]=this;this.l.subscribe("c",this.wv,this);this.l.subscribe("h",this.xv,this);this.l.subscribe("i",this.yv,this);this.l.subscribe("j",this.zv,this);this.l.subscribe("k",this.Av,this);this.l.subscribe("l",this.Bv,this);this.l.subscribe("q",this.Cv,this);this.A=b;this.F=[];this.macros=c;this.B=!1;0==f||1==f?a=!0:(a=g.ke("video-ads"),a=null!=a&&"none"!=Xg(a,"display"));this.J=!a};
        QU=function(a){a.J?a.Ab("ui_unstable"):a.yb()};
        SU=function(a,b){vb(a.F,b);RU(a,b,1)};
        Rea=function(a,b){var c=[];(0,g.D)(b,function(d){0<=g.fb(this.F,function(e){return e.componentType==d.componentType})?c.push(d):g.M(Error("Cannot find UX Component "+d.componentType+" to modify"),"WARNING")},a);
        RU(a,c,2)};
        TU=function(a){a=a.g;a.l=dU(a.l,bU(0,"No playable media files can be selected"));IU(a,"error")};
        RU=function(a,b,c){0!=b.length&&(b=(0,g.Le)(b,function(d){return new GT(d,c,d.id)}),a.L("onAdUxUpdate",b))};
        UU=function(a){return(a=a.W.getVideoData(2))&&a.clientPlaybackNonce||""};
        VU=function(){RP.apply(this,arguments)};
        WU=function(a,b){FT.call(this,"action-companion",a,b)};
        XU=function(a,b,c,d,e){X.call(this,a,b,c,d,e);this.i=null};
        YU=function(a,b){var c=b.renderer;return c&&c.adVideoId==a.videoId};
        ZU=function(a,b,c){if(c.renderer.actionButton||b.isListed){var d=c.renderer,e=d.iconImage&&d.iconImage.thumbnail&&d.iconImage.thumbnail.thumbnails||null;e&&e.length&&g.Lb(g.Hd(e[0].url))&&(e[0].url=b.Xe);(e=d.bannerImage&&d.bannerImage.thumbnail&&d.bannerImage.thumbnail.thumbnails||null)&&e.length&&g.Lb(g.Hd(e[0].url))&&(e[0].url=b.channelBanner);e=d.headline;null!=e&&g.Lb(g.Hd(e.text))&&(e.text=b.author);c.renderer.actionButton||(d.description&&(d.description.text=b.videoCountText),d.navigationEndpoint&&
        d.navigationEndpoint.urlEndpoint&&(d.navigationEndpoint.urlEndpoint.url=b.bn));SU(a,[c])}};
        Sea=function(a){var b={};b.abandon=a.abandonCommands&&QT(a.abandonCommands.commands)||[];return b};
        $U=function(a){RP.call(this,a,Sea(a))};
        aV=function(a,b){FT.call(this,"ad-action-interstitial",a,b)};
        bV=function(a,b,c,d,e,f){X.call(this,a,b,c,d,e,1);this.o=b;this.i=b.Da.durationMilliseconds||0;this.xa=null;this.u=f};
        cV=function(a){RP.call(this,a);this.g=g.pt(this.Da.playerVars||"")};
        dV=function(){RP.apply(this,arguments)};
        eV=function(){RP.apply(this,arguments)};
        fV=function(){RP.apply(this,arguments)};
        Tea=function(a){a=a.impressionUrls;var b={};a&&(b.impression=a);return b};
        gV=function(a){RP.call(this,a,Tea(a))};
        hV=function(){RP.apply(this,arguments)};
        iV=function(){RP.apply(this,arguments)};
        jV=function(){RP.apply(this,arguments)};
        kV=function(){RP.apply(this,arguments)};
        lV=function(){RP.apply(this,arguments)};
        mV=function(){RP.apply(this,arguments)};
        nV=function(a,b,c,d,e,f,h,l,m,n,p,q,v,x,B){this.U=a;this.D=b;this.B=c;this.I=d;this.J=e;this.H=f;this.A=h;this.i=l;this.F=m;this.g=n;this.N=p;this.R=q;this.o=v;this.l=x;this.u=B};
        xV=function(a,b,c,d,e,f){X.call(this,a,b,c,d,e);var h=this;this.u=b;this.i=new g.L(function(){h.Ab("load_timeout")},1E4);
        g.K(this,this.i);this.D=f;this.o=new g.Mx(this);g.K(this,this.o)};
        ZV=function(a){FT.call(this,"ad-message",a)};
        $V=function(a,b,c,d,e){X.call(this,a,b,c,d,e);var f=this;this.u=b;this.D=b.Da.durationMs||0;this.i=this.o=0;this.H=function(){var h=f.W.getProgressState().current;h<f.o?f.gc():h>f.i&&f.hc()}};
        aW=function(a,b){FT.call(this,"ads-engagement-panel",a,b)};
        bW=function(a,b,c,d,e){X.call(this,a,b,c,d,e)};
        cW=function(a,b){b.SLOT_POS="1";FT.call(this,"backfill-mpu-companion",a,b)};
        dW=function(a,b,c,d,e){X.call(this,a,b,c,d,e)};
        eW=function(a,b,c,d,e){X.call(this,a,b,c,d,e)};
        fW=function(a,b){FT.call(this,"invideo-overlay",a,b)};
        gW=function(a,b){FT.call(this,"invideo-overlay-as-cta",a,b)};
        hW=function(a,b,c,d,e){X.call(this,a,b,c,d,e);this.i=b};
        iW=function(a,b){FT.call(this,"persisting-overlay",a,b)};
        jW=function(a,b,c,d,e){X.call(this,a,b,c,d,e);this.i=b};
        kW=function(a){return a?g.zH(a):null};
        lW=function(a){if(!a||!a.loggingUrls)return[];a=a.loggingUrls.map(function(b){return b.baseUrl});
        return 0===a.length?[]:a};
        Uea=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null};
        mW=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}};
        Vea=function(a,b,c,d,e){this.l=a;this.i=b;this.g=c;this.o=d;this.u=e};
        Zea=function(a,b,c){var d=Wea();d.instreamAdPlayerOverlayRenderer=b;c&&(d.adNextParams=c);if(b.skipOrPreviewRenderer)switch(Object.keys(b.skipOrPreviewRenderer)[0]){case "skipAdRenderer":Xea(a,d,b.skipOrPreviewRenderer.skipAdRenderer)}if(b.adInfoRenderer)switch(Object.keys(b.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":Yea(a,d,b.adInfoRenderer.adHoverTextButtonRenderer)}d.isBumper=VP(a.g)&&!d.isSkippable;d.isPostroll=a.g.isPostroll;a.g.isSkippable();b=a.g.o;c=a.g.getVideoUrl();b?d.videoId=
        b:c&&(d.videoUrl=c);if(b=(b=a.g.u)&&b.urlEndpoint)d.clickThroughUrl=b.url||"";d.sendAdsPing=function(e){a.u.send(e,a.i,{})};
        return d};
        Xea=function(a,b,c){b.isSkippable=!0;b.skipTime=c.skipOffsetMilliseconds?Math.floor(c.skipOffsetMilliseconds/1E3):0;if(c.skippableRenderer)switch(Object.keys(c.skippableRenderer)[0]){case "skipButtonRenderer":var d=c.skippableRenderer.skipButtonRenderer;b.skip=function(){var e=d.adRendererCommands&&d.adRendererCommands.clickCommand;e?nW(a,e):a.o.eg()};
        b.skipShown=function(){nW(a,d.adRendererCommands&&d.adRendererCommands.impressionCommand)}}};
        Yea=function(a,b,c){if(c.button&&c.button.buttonRenderer&&c.button.buttonRenderer.serviceEndpoint&&c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint){var d=c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint.dialog;d&&d.adInfoDialogRenderer&&($ea(a,b,d.adInfoDialogRenderer),b.whyThisAdInfo.menuTitle=kW(c.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(c=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&&afa(a,b,c))}};
        $ea=function(a,b,c){var d=kW(c.confirmLabel)||"",e=kW(c.title)||"",f=c.adReasons?c.adReasons.map(function(h){return kW(h)||""}):[];
        b.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};b.whyThisAdClicked=function(){nW(a,c.impressionEndpoints)};
        b.whyThisAdClosed=function(){nW(a,c.confirmServiceEndpoint)}};
        afa=function(a,b,c){if(c.navigationEndpoint&&c.navigationEndpoint.adFeedbackEndpoint&&c.navigationEndpoint.adFeedbackEndpoint.content){var d=c.navigationEndpoint.adFeedbackEndpoint.content.adFeedbackRenderer;if(d){var e={goneText:"",questionText:"",undoText:"",hoverText:kW(c.text)||"",surveyOptions:[]};b.muteAdInfo=e;c=lW(c.navigationEndpoint);var f=mW(c[1]),h=[mW(c[0])];(c=Uea(d))&&h.push(c);var l=!1;b.muteAdClicked=function(){l=!0;nW(a,f)};
        b.muteAd=function(){l||nW(a,f);l=!1;nW(a,h)};
        bfa(b,d)}}};
        bfa=function(a,b){a.muteAdInfo.goneText=kW(b.title)||"";a.muteAdInfo.questionText=kW(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=kW(b.undoRenderer.buttonRenderer.text)||"");for(var c=a.muteAdInfo.surveyOptions,d=g.r(b.reasons||[]),e=d.next();!e.done;e=d.next()){var f=e.value;e=kW(f.reason)||"";f=lW(f.endpoint);c.push({label:e,url:f[0]})}};
        nW=function(a,b){b&&(g.Oa(b)?b.forEach(function(c){return a.l.Ca(c,a.i)}):a.l.Ca(b,a.i))};
        Wea=function(){return{adNextParams:"",adSystem:0,attributionInfo:null,clickThroughUrl:"",instreamAdPlayerOverlayRenderer:null,isBumper:!1,isPostroll:!1,isSkippable:!1,muteAdInfo:null,skipTime:0,videoId:"",videoUrl:"",whyThisAdInfo:null,muteAd:function(){},
        muteAdClicked:function(){},
        sendAdsPing:function(){},
        skip:function(){},
        skipShown:function(){},
        whyThisAdClicked:function(){},
        whyThisAdClosed:function(){}}};
        oW=function(a,b){FT.call(this,"pla-shelf",a,b)};
        pW=function(a,b,c,d,e){X.call(this,a,b,dU(c,{TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"}),d,e);this.i=b};
        qW=function(a,b){FT.call(this,"shopping-companion",a,b)};
        rW=function(a,b,c,d,e){X.call(this,a,b,c,d,e)};
        sW=function(a){FT.call(this,"survey",a);this.g=!1};
        tW=function(a,b,c,d,e,f){X.call(this,a,b,c,d,e,2);var h=this;this.o=b;this.i=null;this.aa=new g.Mx;g.K(this,this.aa);this.aa.P(this.W,"resize",function(){return h.Nd()});
        this.u=f};
        uW=function(a,b){FT.call(this,"survey-interstitial",a,b)};
        vW=function(a,b,c,d,e){X.call(this,a,b,c,d,e,2);this.i=b};
        wW=function(a){FT.call(this,"ad-text-interstitial",a)};
        xW=function(a,b,c,d,e,f){X.call(this,a,b,c,d,e);this.o=b;this.i=b.Da.durationMilliseconds||0;this.xa=null;this.u=f};
        yW=function(a,b){g.J.call(this);this.o=Math.max(0,a);this.l=this.i=0;this.u=b;this.g=null};
        zW=function(a){a.g&&(a.g.stop(),a.g.dispose(),a.g=null)};
        AW=function(){FT.call(this,"ad-attribution-bar");this.adPodPositionInfoString=null;this.adPodPosition=0;this.adPodLength=1;this.adBreakLengthSeconds=0;this.adBadgeText=null;this.adBreakRemainingLengthSeconds=0;this.adVideoId=null};
        BW=function(a){a=void 0===a?null:a;FT.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a};
        CW=function(a){a=void 0===a?null:a;FT.call(this,"ad-title");this.videoTitle=a};
        DW=function(a){a=void 0===a?null:a;FT.call(this,"advertiser-name");this.channelName=a};
        EW=function(a){FT.call(this,"player-overlay",a)};
        FW=function(a){FT.call(this,"skip-button",a)};
        GW=function(a){FT.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.qc(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:"Visit advertiser's site"},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b};
        HW=function(a,b,c,d,e,f,h,l,m,n){X.call(this,a,b,c,d,e,1);var p=this;this.i=b;this.u=h;this.R=new g.Mx(this);g.K(this,this.R);this.D=new g.L(function(){p.Ab("load_timeout")},g.P(a.O().experiments,"use_variable_load_timeout")?g.Q(a.O().experiments,"variable_load_timeout_ms"):1E4);
        g.K(this,this.D);this.o=null;g.P(a.O().experiments,"enable_bulleit_buffer_timer")&&(this.o=new yW(g.P(a.O().experiments,"use_variable_buffer_timeout")?g.Q(a.O().experiments,"variable_buffer_timeout_ms"):15E3,function(){p.Ab("buffer_timeout")}),g.K(this,this.o));
        this.Z=!g.P(a.O().experiments,"bulleit_unstarted_event_killswitch");this.H=!1;this.V=n(this);this.Y=f;this.I=l;this.U=m;this.N=!1};
        IW=function(a){return(a=a.W.getVideoData(2))?a.clientPlaybackNonce:""};
        JW=function(a){var b=new AW;b.adBadgeText="Ad";var c=a.i.l;1<c.i&&(b.adPodPositionInfoString=g.kQ("$AD_INDEX of $ADS_COUNT",{AD_INDEX:String(c.g+1),ADS_COUNT:String(c.i)}));b.adBreakLengthSeconds=c.adBreakLengthSeconds;b.adBreakRemainingLengthSeconds=c.adBreakRemainingLengthSeconds;b.adPodPosition=c.g+1;b.adPodLength=c.i;if(a=a.i.o)b.adVideoId=a;return b};
        MW=function(a){var b=a.i.Da,c=b.playerOverlay&&b.playerOverlay.instreamAdPlayerOverlayRenderer;c||(c={});var d=a.W.O();if(g.cF(d)&&!c.skipOrPreviewRenderer){var e=a.W.getDuration(2);isFinite(e)&&33<e&&!a.i.isSkippable()&&!g.cF(d)&&g.M(Error("Instream ad is skippable by length, but was was marked nonskippable. adLengthSecs:"+(e+", IVAR: "+JSON.stringify(b))),"ERROR");d={};a.i.isSkippable()&&!VP(a.i)?d.skipAdRenderer=KW(a):d.adPreviewRenderer=LW(a,!1,VP(a.i));c.skipOrPreviewRenderer=d}c.skipOrPreviewRenderer&&
        g.lc(c.skipOrPreviewRenderer)&&g.M(Error("IAPOR.skipOrPreview was filled, but empty. IVAR: "+JSON.stringify(b)),"ERROR");return c};
        KW=function(a){var b={preskipRenderer:{}};b.preskipRenderer.adPreviewRenderer=LW(a,!0,!1);b.skippableRenderer={};a=b.skippableRenderer;var c={message:{}};c.message.text="Skip Ad";a.skipButtonRenderer=c;return b};
        LW=function(a,b,c){var d=a.W.getVideoData(1),e={};if(b||c){var f={},h={};c=c?g.kQ("Your video will begin in $TIME_REMAINING",{NEW_LINE:"\n",TIME_REMAINING:"{TIME_REMAINING}"}):g.kQ("You can skip to video in $TIME_REMAINING",{NEW_LINE:"\n",TIME_REMAINING:"{TIME_REMAINING}"});h.text=c;h.isTemplated=!0;f.templatedAdText=h;e.templatedCountdown=f}else f={},h=g.kQ("Video will play after ad",{NEW_LINE:"\n"}),f.text=h,f.isTemplated=!1,e.staticPreview=f;b&&(e.durationMilliseconds=5E3);e.thumbnail={};b={};
        b.url=aF(a.W.O(),d.videoId,"mqdefault.jpg");b.width=320;b.height=180;e.thumbnail.thumbnail={thumbnails:[b]};return e};
        cfa=function(a){function b(F,G){var N=a.zF,Z=Object.assign({},{});Z.FINAL=ZT(Bc("1"));Z.SLOT_POS=ZT(Bc("0"));return dU(N,cU(Z),G)}
        function c(F){return{create:function(G,N){var Z=b(G,N),aa=a.im(G,Z);Z=F(G,Z,aa);g.K(Z,aa);return Z}}}
        var d=c(function(F,G,N){return new hW(a.W,F,G,N,a.dc)}),e=c(function(F,G,N){return new eW(a.W,F,G,N,a.dc)}),f=c(function(F,G,N){return new rW(a.W,F,G,N,a.dc)}),h=c(function(F,G,N){return new tW(a.W,F,G,N,a.dc,a.ea)}),l=c(function(F,G,N){return new pW(a.W,F,G,N,a.dc)}),m=c(function(F,G,N){return new dW(a.W,F,G,N,a.dc)}),n=c(function(F,G,N){return new bV(a.W,F,G,N,a.dc,a.ea)}),p=c(function(F,G,N){return new jW(a.W,F,G,N,a.dc)}),q=c(function(F,G,N){return new XU(a.W,F,G,N,a.dc)}),v=c(function(F,G,N){return new xW(a.W,
        F,G,N,a.dc,a.ea)}),x=c(function(F,G,N){return new vW(a.W,F,G,N,a.dc)}),B=c(function(F,G,N){return new $V(a.W,F,G,N,a.dc,a.ea)}),C=c(function(F,G,N){return new xV(a.W,F,G,N,a.dc,a.ea)}),E=c(function(F,G,N){return new bW(a.W,F,G,N,a.dc)});
        this.g=new nV({create:function(F,G){var N=dU(b(F,G),cU(Fea(F))),Z=a.im(F,N),aa=new HW(a.W,F,N,Z,a.dc,a.Zx,a.ea,a.Cb,a.yF,function(ya){return new Vea(a.ea,N,F,ya,a.Yi)});
        g.K(aa,Z);return aa}},d,e,f,h,l,m,n,p,q,v,x,B,C,E)};
        NW=function(a){this.i=a;this.g={}};
        OW=function(a){a=void 0===a?null:a;g.O.call(this,!0);this.i=a;this.o=-Infinity;this.l={};this.g=null};
        QW=function(a){null!==a.g&&(PW(a,a.g),a.g=null);a.i=null};
        PW=function(a,b){b>=a.i.end||(a.i.end=b,a.L("Shortened the latest cuerange",b))};
        RW=function(a){g.J.call(this);this.g=[];var b=a.subscribe("Shortened the latest cuerange",this.i,this);g.Yj(this,function(){a.We(b)})};
        SW=function(a){g.J.call(this);this.g=new RW(a.sF);g.K(this,this.g);this.i=new NW(a.iy)};
        TW=function(){RP.apply(this,arguments)};
        dfa=function(a,b,c){this.l=a;this.g=b;this.i=c;this.o=a.getCurrentTime()};
        ffa=function(a,b){var c=void 0===c?Date.now():c;if(a.i)for(var d=a.g.clientPlaybackNonce,e=g.r(b),f=e.next();!f.done;f=e.next())f=f.value,UW({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:efa(f.event),cuepointId:f.identifier,totalCueDurationMs:1E3*f.durationSecs,playheadTimeMs:f.i,cueStartTimeMs:1E3*f.g,cuepointReceivedTimeMs:c,contentCpn:d}}),"unknown"===f.event&&VW("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",d),f=f.g+f.i/1E3,f>a.o&&a.l.getCurrentTime()>f&&VW("DAI_ERROR_TYPE_LATE_CUEPOINT",d)};
        gfa=function(a,b,c){a.i&&UW({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.g.clientPlaybackNonce}})};
        WW=function(a,b){a.i&&UW({driftRecoveryInfo:{contentCpn:a.g.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.xt-b.ev).toString(),driftFromHeadMs:Math.round(1E3*eT(a.l.app)).toString()}})};
        hfa=function(a,b){a.i&&UW({adTrimmingInfo:{contentCpn:a.g.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.Ux}})};
        VW=function(a,b){UW({daiStateTrigger:{errorType:a,contentCpn:b}})};
        UW=function(a){zw("adsClientStateChange",a)};
        efa=function(a){switch(a){case "unknown":return"CUEPOINT_EVENT_UNKNOWN";case "start":return"CUEPOINT_EVENT_START";case "continue":return"CUEPOINT_EVENT_CONTINUE";case "stop":return"CUEPOINT_EVENT_STOP";case "predictStart":return"CUEPOINT_EVENT_PREDICT_START"}};
        XW=function(a){this.i=a;this.Y=(a=!g.P(this.i.O().experiments,"html5_ad_csi_tracker_initialization_killswitch"))?this.i.O().deviceParams.c:g.ys("INNERTUBE_CLIENT_NAME",void 0);this.V=a?this.i.O().deviceParams.cver:g.ys("INNERTUBE_CLIENT_VERSION",void 0);this.N=a?this.i.O().deviceParams.cbrand:"";this.U=a?this.i.O().deviceParams.cmodel:"";this.H="AD_PLACEMENT_KIND_UNKNOWN";this.u=this.F=this.B=this.A=null;this.g="unknown_type";this.I=!0;this.J=this.l=this.D=!1;this.R="vod";this.o=null};
        YW=function(a){a.A=null;a.B=null;a.F=null;a.u=null;a.o=null;a.H="AD_PLACEMENT_KIND_UNKNOWN";a.g="unknown_type";a.D=!1;a.l=!1};
        ZW=function(a){a.l=!1;mH("ad_to_video",["pbresume"],void 0,g.P(a.i.O().experiments,"ad_to_video_use_gel"))};
        ifa=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return"1";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"2";case "AD_PLACEMENT_KIND_END":return"3";default:return"unknown"}};
        $W=function(a){this.g=a};
        aX=function(a){a=[a,a.o].filter(function(d){return!!d});
        for(var b=g.r(a),c=b.next();!c.done;c=b.next())c.value.g=!0;return a};
        bX=function(a,b){var c=a.g;g.Pm(function(){g.kT(c.g.app,b,1);for(var d=g.r(b),e=d.next();!e.done;e=d.next())e=e.value,c.B["delete"](e),c.u["delete"](e)})};
        cX=function(a,b,c,d,e,f,h,l){g.O.call(this);this.Kb=a;this.W=b;this.g=d;this.u=this.g.g instanceof RP?this.g.g:null;this.i=null;this.I=!1;this.B=c;this.H=(a=b.getVideoData(1))&&a.oa||!1;this.R=0;this.N=!1;this.U=g.P(b.O().experiments,"abort_ad_on_browser_autoplay_blocked");this.Rd=e;this.Kg=f;this.cf=h;this.J=!1;this.Cb=l};
        dX=function(a){if(xU(a.W)){var b=a.W.getVideoData(2);(b=a.g.D[b.Jb]||null)?(!a.i||a.i&&a.i.A!==b)&&a.yb(b):a.Ri()}else 1===a.W.getPresentingPlayerType()&&a.i&&a.Ri()};
        eX=function(a){(a=a.baseUrl)&&g.tu(a,void 0,Zp(a))};
        fX=function(a,b){var c=a.B,d=a.g.Za().l,e=a.ks(),f=a.os();var h=a.isLiveStream()?"live":"vod";YW(c);var l=c.i.getVideoData(1),m=c.i.getVideoData(2);l&&(c.A=l.clientPlaybackNonce,c.F=l.videoId);m&&(c.B=m.clientPlaybackNonce,c.u=m.videoId,c.o=m.adFormat);c.H=d;0>=f?YW(c):(c.g=c.I?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.R=h,c.J=e+1==f,c.D=!0,c.D&&(gJ("c",c.Y,c.g),gJ("cver",c.V,c.g),g.P(c.i.O().experiments,"html5_ad_csi_tracker_initialization_killswitch")||(gJ("cbrand",c.N,c.g),gJ("cmodel",
        c.U,c.g)),gJ("yt_pt","html5",c.g),gJ("yt_pre","2",c.g),gJ("yt_abt",ifa(c.H),c.g),c.A&&gJ("cpn",c.A,c.g),c.F&&gJ("docid",c.F,c.g),c.B&&gJ("ad_cpn",c.B,c.g),c.u&&gJ("ad_docid",c.u,c.g),gJ("yt_vst",c.R,c.g),c.o&&gJ("ad_at",c.o,c.g)))};
        hX=function(a,b){b=void 0===b?!1:b;gX(a.Kb,a.g.Za(),a);b||Cw("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.Cb&&!a.g.B&&(jfa(a,a.qs()),a.g.B=!0)};
        jfa=function(a,b){for(var c=iX(a),d=a.g.Za().start,e=[],f=g.r(b),h=f.next();!h.done;h=f.next()){h=h.value;if(c<=d)break;var l=jX(h);e.push({externalVideoId:h.o,originalMediaDurationMs:(1E3*h.g).toString(),trimmedMediaDurationMs:(parseInt(h.Da.trimmedMaxNonSkippableAdDurationMs,10)||0).toString()});l=d+l;var m=Math.min(l,c);if(!kfa(a,h,d,m)||l!==m)break;d=l}c=b.reduce(function(n,p){return n+jX(p)},0);
        gfa(a.Rd,Bea(a.g.Za()),c);hfa(a.Rd,{cueIdentifier:a.g.i&&a.g.i.identifier,Ux:e})};
        jX=function(a){var b=1E3*a.g;return 0<parseInt(a.Da.trimmedMaxNonSkippableAdDurationMs,10)&&parseInt(a.Da.trimmedMaxNonSkippableAdDurationMs,10)<b?parseInt(a.Da.trimmedMaxNonSkippableAdDurationMs,10):b};
        iX=function(a){var b=a.g.Za().end;var c=a.Kg;a=a.g.Za().start;var d=g.Bb(c.g,a);0<=d?c=a:(a=-d-1,c=a>=c.g.length||c.g[a]>b?null:c.g[a]);return Math.min(b,null===c?Infinity:c)};
        kfa=function(a,b,c,d){c=a.cf.create(b,cU(aU(a.g))).Qr(c,d);if(!c)return!1;a.g.D[c]=b;return!0};
        lfa=function(a){if(a.N)return function(c){c.seekTo(Infinity,!0,void 0,1)};
        var b=Math.floor((0,g.H)()/1E3)-a.R;return function(c){c.seekTo(c.getCurrentTime()+b,!0,void 0,1)}};
        kX=function(a,b,c,d){this.g=a;this.i=b;this.l=c;this.o=d};
        mfa=function(a){return lX(a.renderer&&a.renderer.adBreakServiceRenderer&&a.renderer.adBreakServiceRenderer.getAdBreakUrl||"")};
        lX=function(a){if(!a)return!1;a=ug(a,"post_data");if(!a)return!1;try{var b=decodeURIComponent(a)}catch(c){return g.M(c),!1}return b?b.split("&").some(function(c){c=c.split("=");return 1<c.length&&"pat"==c[0]}):!1};
        nfa=function(a){return a&&a.renderer&&a.renderer.invideoOverlayAdRenderer?!0:!1};
        ofa=function(a){if(a&&a.config&&a.config.adPlacementConfig&&a.renderer){var b=a.config.adPlacementConfig;a=a.renderer.backfillMpuCompanionAdRenderer;return!(!("AD_PLACEMENT_KIND_START"==b.kind||"AD_PLACEMENT_KIND_MILLISECONDS"==b.kind&&b.adTimeOffset&&"0"==b.adTimeOffset.offsetStartMilliseconds)||!a)}return!1};
        mX=function(a,b,c,d,e){g.O.call(this);this.i=a;this.u=b;this.B=g.P(b.O().experiments,"bulleit_gmi_assume_empty_is_throttled");this.A=c;this.g=d;this.l=!1;this.o=e;pfa(this)};
        qfa=function(a,b){var c=null,d={isEmpty:!0,jt:!1,Lm:[]};try{c=JSON.parse(b.response)}catch(f){return b.response&&(c=b.response,c.startsWith("GIF89")||(f.params=c.substr(0,256),g.Bs(f))),d}if(!c)return d;if(c&&c.adThrottled)return d.jt=!0,d;c=c.playerAds;if(!c||!c.length)return d;c=c.map(function(f){return f.adPlacementRenderer}).filter(function(f){return f&&null!=f.renderer});
        if(g.lb(c))return d;if(0<a.g.Za().end){var e=a.g.Za().end.toString();c.forEach(function(f){(f=f.config&&f.config.adPlacementConfig)&&"AD_PLACEMENT_KIND_MILLISECONDS"==f.kind&&"-1"==f.adTimeOffset.offsetEndMilliseconds&&f.adTimeOffset.offsetEndMilliseconds!=e&&(f.adTimeOffset.offsetEndMilliseconds=e)})}d.Lm=c;
        d.isEmpty=!1;return d};
        pfa=function(a){[a.g.J,a.g.Za()].filter(function(b){return null!=b}).forEach(function(b){gX(a.i,b,a)});
        Cw("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED")};
        nX=function(a){g.J.call(this);this.D=a};
        oX=function(a){nX.call(this,!0);this.g=a};
        pX=function(a,b){function c(f){return{toString:f}}
        var d={},e=a.getVideoData(1);d.CPN=c(function(){return e&&e.clientPlaybackNonce||null});
        d.ASR=c(function(){return e&&e.adSafetyReason||null});
        d.EI=c(function(){return e&&e.eventId||null});
        d.AD_CPN=c(function(){return b.ca});
        d.AD_MT=c(function(){return Math.round(Math.max(0,1E3*a.getCurrentTime(2))).toString()});
        d.MT=c(function(){return Math.round(Math.max(0,1E3*a.getCurrentTime(1))).toString()});
        d.P_H=c(function(){return a.getPlayerSize().height.toString()});
        d.PV_H=d.P_H;d.P_W=c(function(){return a.getPlayerSize().width.toString()});
        d.PV_W=d.P_W;d.CONN="0";d.WT=c(function(){return Date.now().toString()});
        d.LACT=c(function(){return jw().toString()});
        d.VIS=c(function(){return a.getVisibilityState().toString()});
        d.VOL=c(function(){return a.getVolume().toString()});
        return d};
        qX=function(a,b){g.J.call(this);var c=this;this.l=[];this.B=!1;this.i=0;this.u=this.A=this.o=!1;this.H=null;var d=(0,g.A)(a,b);this.g=new g.L(function(){return d(c.H)},300);
        g.K(this,this.g);this.F=this.D=Infinity};
        rX=function(a,b){if(!b)return!1;for(var c=0;c<b.length;c++){var d=b.item(c);if(d&&a.l.includes(d.identifier))return!0}return!1};
        Y=function(a,b,c,d,e){e=void 0===e?null:e;g.Gz.call(this,c);this.api=a;this.ea=b;this.macros={};this.componentType=d;this.D=null;this.Aa=e;this.ma=null;this.Ja=new oX(this.element);g.K(this,this.Ja);this.za=this.P(this.element,"click",this.onClick);this.Y=[];this.U=new qX(this.onClick,this);g.K(this,this.U);this.Oa=!1;this.I=null};
        sX=function(a,b){a=void 0===a?null:a;b=void 0===b?null:b;if(null==a)return g.Bs(Error("Got null or undefined adText object")),"";var c=g.Hd(a.text);if(!a.isTemplated)return c;if(null==b)return g.Bs(Error("Missing required parameters for a templated message")),c;for(var d=g.r(Object.entries(b)),e=d.next();!e.done;e=d.next()){var f=g.r(e.value);e=f.next().value;f=f.next().value;c=c.replace("{"+e+"}",f)}return c};
        tX=function(a){a=void 0===a?null:a;return null==a||(a=a.thumbnail,null==a||null==a.thumbnails||g.lb(a.thumbnails)||null==a.thumbnails[0].url)?"":g.Hd(a.thumbnails[0].url)};
        rfa=function(a){a=void 0===a?null:a;return null==a||(a=a.thumbnail,null==a||null==a.thumbnails||g.lb(a.thumbnails)||null==a.thumbnails[0].width||null==a.thumbnails[0].height)?new g.be(0,0):new g.be(a.thumbnails[0].width||0,a.thumbnails[0].height||0)};
        uX=function(a,b,c){var d=a.api;d.O().D&&rS(d.app.ma,b,a);IP(a.api,b,c)};
        vX=function(a,b,c){LP(a.api,b)&&KP(a.api,b,c)};
        wX=function(a,b){b=void 0===b?null:b;var c=a.api.O();if(c=!(0<a.Y.length)&&c.i)if(c=g.P(a.api.O().experiments,"use_touch_events_for_bulleit_mweb"))c=(c=a.api)&&g.P(c.O().experiments,"mweb_enable_skippables_on_jio_phone")&&(GE||QO)?!1:"ontouchstart"in document.documentElement&&(bg()||ag());c&&(a.bb(a.za),b&&a.bb(b),a.Y=[a.P(a.element,"touchstart",a.HB,a),a.P(a.element,"touchmove",a.GB,a),a.P(a.element,"touchend",a.FB,a)])};
        xX=function(){g.J.call(this);var a=this;this.g=new Map;this.i=g.bw(document.body,"click",function(b){if(b.target&&(b=a.g.get(b.target))&&b)for(var c=0;c<b.length;c++)g.tu(b[c],void 0,void 0)},"ytp-ad-has-logging-urls")};
        zX=function(){null==yX&&(yX=new xX);return yX};
        BX=function(a,b){if(a.simpleText){a:{var c=a.simpleText;if(b){var d=AX(c);if(d){c=g.ue("SPAN",null,d);break a}}c=g.xe(c)}return c}c=[];if(a.runs)for(d=0;d<a.runs.length;d++){var e=a.runs[d];e.text&&c.push(sfa(e,b))}return 1==c.length?c[0]:g.ue("SPAN",null,c)};
        sfa=function(a,b){var c=null,d=a.text;b&&(d=AX(d)||d);a.bold&&(c=g.ue("B",null,c||d));a.italics&&(c=g.ue("I",null,c||d));a.strikethrough&&(c=g.ue("STRIKE",null,c||d));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var e=a.navigationEndpoint.urlEndpoint;c=g.ue("A",null,c||d);g.wd(c,e.url);"TARGET_NEW_WINDOW"==e.target&&(c.target="_blank");if(e=a.navigationEndpoint.loggingUrls)e=e.map(function(f){return f.baseUrl}),zX().register(c,e),g.$q(c,"ytp-ad-has-logging-urls")}return c||g.ue("SPAN",
        null,d)};
        AX=function(a){a=a.split(/(?:\r\n|\r|\n)/g);if(1<a.length){for(var b=[a[0]],c=1;c<a.length;c++)b.push(g.ue("BR")),b.push(a[c]);return b}return null};
        CX=function(a){nX.call(this,a);this.A=new g.O;g.K(this,this.A)};
        DX=function(a,b,c){g.J.call(this);this.jb=a;this.Fh=b;this.view=c();g.K(this,this.view);this.l=null;this.i=[];this.macros={};this.o=!1;this.hide()};
        EX=function(a){for(var b={},c=g.r(Object.entries(pX(a.jb,a.Fh))),d=c.next();!d.done;d=c.next()){var e=g.r(d.value);d=e.next().value;e=e.next().value;b[d]=e.toString()}Object.assign(b,a.macros);return b};
        FX=function(a){g.O.call(this);this.o=a;this.i=new g.T({C:"div",G:"ytp-ad-info-dialog-confirm-container",M:[{C:"button",G:"ytp-ad-info-dialog-confirm-button",X:"{{content}}"}]});g.K(this,this.i);this.i.hide();this.l=new g.T({C:"div",G:"ytp-ad-info-dialog-title",X:"{{content}}"});g.K(this,this.l);this.l.hide();this.g=new g.T({C:"div",G:"ytp-ad-info-dialog-relative-container",M:[{C:"div",G:"ytp-ad-info-dialog-form",M:[this.l,{C:"ul",G:"ytp-ad-info-dialog-ad-reasons"},{C:"div",G:"ytp-ad-info-dialog-message",
        X:"{{content}}"},this.i]}]});g.K(this,this.g);this.g.hide();this.aa=new g.Mx(this);g.K(this,this.aa)};
        GX=function(a){return a.g.g["ytp-ad-info-dialog-ad-reasons"]};
        HX=function(a){return a?BX(a):null};
        IX=function(a){CX.call(this,!1);var b=this;this.g=new FX(a.ga());g.K(this,this.g);a={};for(var c=g.r(Object.values(tfa)),d=c.next();!d.done;a={Dj:a.Dj},d=c.next())a.Dj=d.value,this.g.subscribe(a.Dj,function(e){return function(){return b.dispatchEvent({type:e.Dj})}}(a))};
        JX=function(a,b,c){DX.call(this,a,b,function(){return new ufa.Tw(c)});
        this.aa=new g.Mx(this);g.K(this,this.aa);this.g=null;this.Hc()};
        KX=function(a,b){Y.call(this,a,b,{C:"div",G:"ytp-out-of-player-ad-info",M:[{C:"div",G:"ytp-out-of-player-hover-container"},{C:"div",G:"ytp-out-of-player-ad-info-button-container",M:[{C:"button",ba:["ytp-out-of-player-ad-info-button"],M:[{C:"span",G:"ad-info-icon"}]}]}]},"watch-ad-info-hover-button");this.l=this.g["ytp-out-of-player-hover-container"];this.u=this.g["ytp-out-of-player-ad-info-button-container"];this.A=this.g["ytp-out-of-player-ad-info-button"];this.Pd=new JX(this.api,this.ea,new oX(this.u));
        g.K(this,this.Pd);this.o=new g.Mx(this);g.K(this,this.o);this.Pn();this.Pd.Fg(new oX(this.element));this.o.P(this.A,"mouseenter",this.MA);this.o.P(this.A,"mouseleave",this.Pn);this.o.P(this.u,"click",this.LA);this.hide()};
        LX=function(){TW.apply(this,arguments)};
        MX=function(a){return a.length?(0,g.Le)(a[0].loggingUrls||[],function(b){return b.baseUrl}):[]};
        NX=function(a,b,c,d,e,f,h){X.call(this,b,d.g,e,f,h);this.I=c;this.u=d;this.i=d.g;this.H=a;this.o=this.D=null;a=this.u.Za();a.visible=!1;gX(this.H,a,this);Cw("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED")};
        PX=function(a,b,c,d,e,f,h,l){cX.call(this,a,b,c,d,e,f,h,l);this.o=d.g;this.A=-1;this.D=this.l=null;this.F=OX(this.Ek())};
        QX=function(a){var b=a.o.l;b&&(a.l=a.cf.create(b,cU(aU(a.g))),a.l.subscribe("onAdUxUpdate",a.Zt,a),QU(a.l))};
        RX=function(a){a.A++;var b=a.Ek();b?a.yb(b):a.tf()};
        OX=function(a){return a?vfa.some(function(b){return a instanceof b}):!1};
        wfa=function(a){this.g=new kX(function(b){b=new cX(a.Kb,a.W,a.Hr(),b,a.Rd,a.Kg,a.cf,a.Cb);hX(b);return b},function(b){return new mX(a.Kb,a.W,a.Px,b,a.Rd)},function(b){var c=a.im(b.g);
        b=new NX(a.Kb,a.W,a.ay,b,a.dG,c,a.dc);g.K(b,c);return b},function(b){b=new PX(a.Kb,a.W,a.Hr(),b,a.Rd,a.Kg,a.cf,a.Cb);
        hX(b);return b})};
        SX=function(a){TW.call(this,a);(0,g.Le)((a.image&&a.image.thumbnail?a.image.thumbnail.thumbnails:null)||[],function(b){return new g.be(b.width,b.height)})};
        TX=function(a,b){OT.call(this);a.adStart&&a.adStart.adMessageRenderer&&(zw("adNotifyFilled",{notifyCompositeType:"COMPOSITE_AD_TYPE_LINEAR_AD_SEQUENCE"}),PT(this,new dV(a.adStart.adMessageRenderer)));if(a.linearAds)for(var c=[],d=g.r(a.linearAds),e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer?(e=b(e.instreamVideoAdRenderer),PT(this,e),c.push(e.g)):e.adActionInterstitialRenderer?(e=new $U(e.adActionInterstitialRenderer),PT(this,e)):e.adIntroRenderer&&(e=new cV(e.adIntroRenderer),
        PT(this,e),this.i=1),this.g.filter(function(f){return f instanceof TP}).forEach(function(f,h){if(f instanceof TP){var l=new SP(h,c);
        f.l=l}})};
        UX=function(a,b){OT.call(this);if(a.renderers){for(var c=[],d=g.r(a.renderers),e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer&&(e=b(e.instreamVideoAdRenderer),PT(this,e),c.push(e.g));this.g.forEach(function(f,h){if(f instanceof TP){var l=new SP(h,c);f.l=l}})}};
        VX=function(a,b,c){OT.call(this);this.u=g.P(c,"use_revamped_survey_design_for_desktop");c=a.persistingOverlay;var d=a.adVideoStart;c&&c.persistingAdOverlayRenderer?c=new iV(c.persistingAdOverlayRenderer):d&&d.surveyTextInterstitialRenderer&&!this.u?(this.o=!1,c=new lV(d.surveyTextInterstitialRenderer)):c=null;this.l=c;PT(this,xfa(this,a.adVideoStart));a:{if(c=a.linearAd){if(c.instreamVideoAdRenderer){b=b(c.instreamVideoAdRenderer);break a}if(c.instreamSurveyAdRenderer){b=new UT(c.instreamSurveyAdRenderer,
        !(this.l instanceof lV));break a}}b=null}PT(this,b);(a=a.adVideoEnd)?a.adActionInterstitialRenderer?(this.i=1,a=new $U(a.adActionInterstitialRenderer)):a=null:a=null;PT(this,a)};
        xfa=function(a,b){return null==b?null:b.adActionInterstitialRenderer?(a.i=1,new $U(b.adActionInterstitialRenderer)):b.adTextInterstitialRenderer?new mV(b.adTextInterstitialRenderer):b.adMessageRenderer?(zw("adNotifyFilled",{notifyCompositeType:"COMPOSITE_AD_TYPE_SANDWICHED_LINEAR_AD"}),new dV(b.adMessageRenderer)):b.surveyTextInterstitialRenderer&&a.u?new lV(b.surveyTextInterstitialRenderer):null};
        WX=function(a,b){this.i=a;this.g=b};
        yfa=function(a){var b=new fU(a.gn,a.experiments);return{yn:function(){return b}}};
        XX=function(a){this.g=a};
        YX=function(a,b,c,d){try{var e=b.renderer,f=b.config&&b.config.adPlacementConfig&&b.config.adPlacementConfig.kind,h=e?a.g.create(e,f):null;return new VT(b,c,h,d)}catch(l){g.M(l)}};
        zfa=function(a){var b=new XX(a.Qx);return{hs:function(){return b}}};
        ZX=function(a){g.J.call(this);this.g=a;this.l=new Pea(a.W);this.i=new wU(a.W);g.K(this,this.i)};
        Afa=function(a){return function(){return new XW(a.g.W)}};
        $X=function(a){return function(b,c){return new AU(b,a.l,c,a.g.W,a.i,a.g.Yi,a.g.Cb)}};
        aY=function(a){g.J.call(this);var b=this;this.i=a;this.g=null;g.Yj(this,function(){return b.g=null});
        var c=ax(a);if(c){var d=function(){b.g&&b.g(!!Zw())};
        this.i.addEventListener(c,d);g.Yj(this,function(){b.i.removeEventListener(c,d)})}};
        bY=function(a){g.J.call(this);this.g=a};
        Bfa=function(a){var b=window.document;return g.cF(a.O())?new aY(b):new bY(a)};
        cY=function(a){g.J.call(this);this.g=new dfa(a.W,a.gn,a.Cb)};
        Cfa=function(a){this.o=a;a=a.O().experiments;this.l=g.P(a,"enable_html5_midroll_tsla_update")||g.P(a,"enable_html5_midroll_tsla_update_for_living_room");this.i=!1;this.g=-1};
        dY=function(a){a.g=(0,g.H)()/1E3;if(!a.i||a.l)g.tu(a.o.O().u+"mac_204?action_fcts=1"),a.i=!0};
        Dfa=function(a){return 0<a.g?Math.ceil((0,g.H)()/1E3-a.g):0};
        fY=function(a){eY=a&&a.data};
        hY=function(a){gY=a&&a.data};
        jY=function(a){iY=a&&a.data};
        lY=function(a){kY=a&&a.data};
        mY=function(){kY=iY=eY=null};
        nY=function(a,b,c){g.O.call(this);var d=this;this.g=a;this.ca=null;this.Ba=b;b=this.g.getVideoData(1).getPlayerResponse()||{};this.l=b.playerConfig&&b.playerConfig.daiConfig&&b.playerConfig.daiConfig.enableDai||!1;this.za=Lea({Ry:3E4,Jz:!0,W:a}).Gy();this.o=null;this.J=Ec(function(){d.g.da()||g.FP(d.g,"ad",1)});
        this.i=null;this.u=new Map;b=this.g.O().experiments;var e=yfa({gn:a.getVideoData(1),experiments:b}),f=new ZX({Yi:e.yn(),W:a,Cb:this.l});g.K(this,f);this.B=new Set;this.N=-1;this.R=[];this.D=null;this.F=new Map;this.U=new Cfa(a);this.H=new Set;this.aa=new g.Mx(this);g.K(this,this.aa);this.A=new g.Mx(this);g.K(this,this.A);this.V=this.sa=this.Z=!1;this.Y=null;this.I=g.cF(a.O());var h=new kU({experiments:b,Yi:e.yn(),Rx:this,Sx:this,YB:this,W:this.g});g.K(this,h);this.Ga=h.i;h=new cY({gn:this.g.getVideoData(1),
        jK:this,Ra:this.g.O(),Cb:this.l,W:this.g});g.K(this,h);this.Aa=h.g;h=new OW;h.subscribe("Identified a new cuerange",this.Fu,this);h.subscribe("Shortened the latest cuerange",this.mD,this);g.K(this,h);var l=new SW({sF:h,iy:this});g.K(this,l);this.ia=g.P(b,"html5_dai_assume_unordered_cuepoints")?l.i:h;this.ka=l.g;var m=uc(cU($T(this.g)));c=new cfa({ea:this,Zx:f.i,dc:vU(),Yi:e.yn(),W:this.g,zF:m,im:$X(f),Cb:this.l,yF:c});this.Ja=(new wfa({Px:this.Ba,cf:c.g,Kb:this,ay:this.za,dc:vU(),Hr:Afa(f),Rd:this.Aa,
        Kg:this.ka,W:this.g,dG:m,im:function(n){return $X(f)(n,m)},
        Cb:this.l})).g;this.ma=zfa({Qx:new WX(new Uda(a),b)}).hs();this.ua=Bfa(this.g);g.K(this,this.ua);this.Oa=g.fF(this.g.O())?g.P(a.O().experiments,"align_ad_to_video_player_lifecycle_for_bulleit_living_room"):g.P(a.O().experiments,"align_ad_to_video_player_lifecycle_for_bulleit")};
        Efa=function(a){return a&&a.adPlacements?a.adPlacements.map(function(b){return b.adPlacementRenderer}).filter(function(b){return b&&null!=b.renderer}):[]};
        Ffa=function(a){if(!a.some(mfa))return null;var b=a.findIndex(ofa),c=null;-1!=b&&(c=a[b],a.splice(b,1));return c};
        Gfa=function(a,b){return b.filter(function(c){return"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"==(c.config&&c.config.adPlacementConfig&&c.config.adPlacementConfig.kind||null)?(!a.l&&g.cF(a.g.O())&&a.g.getVideoData(1).le()||(a.D=c),!1):!0})};
        oY=function(a,b){a.F=new Map;return b.filter(function(c){return"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"==(c.config&&c.config.adPlacementConfig&&c.config.adPlacementConfig.kind||null)&&c.elementId?(a.F.set(c.elementId,c),!1):!0})};
        Hfa=function(a,b){return b.every(function(c){c=a.u.get(c);return null==c?(g.M(Error("AdCueRange without a corresponding AdPlacement.")),!0):c instanceof mX?!1:c instanceof cX?!c.If():!0})};
        qY=function(a){var b=Ifa(a);if(0<b.length){Hfa(a,b)&&a.J();var c=g.Q(a.g.O().experiments,"delay_ads_gvi_call_on_bulleit_living_room_ms");0<c&&!a.I&&g.VE(a.g.O())?(c=new g.L(function(){pY(a,b)},c),g.K(a,c),c.start()):g.Pm(function(){pY(a,b)})}else a.J()};
        Jfa=function(a,b){if(!b)return{};var c=!!a.i&&a.i||null;c?(c=c.i,c=c.A.xi()?NU(c.g,b):{}):c={};return c};
        Ifa=function(a){for(var b=[],c=g.r(a.B),d=c.next();!d.done;d=c.next())d=d.value,CT(d)&&b.push(d);c=g.r(b);for(d=c.next();!d.done;d=c.next())a.B["delete"](d.value);return b};
        Lfa=function(a,b,c){c=void 0===c?null:c;b=a.ma.create(b,Kfa(a),a.R.length,c);a.R=a.R.concat(b);return b};
        pY=function(a,b){if(!a.da())for(var c=g.r(b),d=c.next();!d.done;d=c.next())a.xl(d.value)};
        rY=function(a,b,c){c=void 0===c?null:c;a.Y=Ffa(b);Mfa(b);b=Lfa(a,b,c);return 0==b.length?null:b.map(function(d){return a.Ja.create(d)})};
        vY=function(a,b){b.Zg()?(g.Zj(a.o),a.o=b):((b.Ei()||b.u instanceof UT)&&a.o&&a.o.Za().start<b.Za().start&&sY(a),b.ht()&&(a.i&&tY(a,a.l),a.i=b,b.If()&&uY(a)))};
        sY=function(a){var b=a.za;if(b.g)b.g&&Jea(b.g);else{var c=b.i.getVideoData(1);b.i.ha("updateKevlarOrC3Companion",{contentVideoId:c&&c.videoId})}g.Zj(a.o);a.o=null};
        uY=function(a){a.Z||(a.A.P(a.g,"presentingplayerstatechange",a.nB),a.A.P(a.g,"internalAbandon",a.cC),a.A.P(a.g,"progresssync",a.iF),a.A.P(a.g,"onVolumeChange",a.jF),a.A.P(a.ua,"fullscreentoggled",a.iD),a.Z=!0);g.ar(a.g.getRootNode(),["ad-showing","ad-interrupting"]);a.l||g.JR(a.g.app,2)};
        xY=function(a,b){switch(b){case "control_play":wY(a)&&a.g.sb().playVideo();break;case "control_pause":wY(a)&&(g.R(g.xP(a.g,2),64)||a.g.sb().pauseVideo())}};
        tY=function(a,b,c){var d=!!a.i&&a.i||null,e=d&&d.If()&&(xU(a.g)||a.l);d=b&&d&&d.reset()||null;a.i&&yY(a,a.i);a.i=null;a.N=-1;e&&zY(a,c);a.V||a.J();b&&d&&(d.Za().g=!1,hX(d,!0))};
        zY=function(a,b){g.Ox(a.A);a.Z=!1;g.cr(a.g.getRootNode(),["ad-showing","ad-interrupting"]);a.l||(a.Oa?(a.V||a.J(),AY(a),a.g.cueVideoByPlayerVars({},2)):(a.g.cueVideoByPlayerVars({},2),AY(a)));b&&b(a.g)};
        AY=function(a){if(a.sa)!a.I&&g.VE(a.g.O())&&(g.P(a.g.O().experiments,"release_player_on_abandon_for_bulleit_living_room")||g.P(a.g.O().experiments,"release_player_on_abandon_for_bulleit_lr_ads_frontend"))&&g.OP(a.g,2);else if(g.OP(a.g,2),!a.I){var b=g.xP(a.g,1);g.R(b,4)&&!g.R(b,2)&&a.g.playVideo()}};
        gX=function(a,b,c){if(b instanceof BT){if(a.I&&DT(b)&&g.R(g.xP(a.g,1),64)&&!a.l){var d=1E3*a.g.getCurrentTime()||0;d!=b.start&&b.contains(d)&&(b.g=!0)}a.u.has(b)?g.M(Error(b.toString()+" has already been seen")):(a.B.add(b),a.u.set(b,c),CT(b)||g.EP(a.g,[b],1))}else g.M(Error("Should use AdCueRange instead of CueRange"))};
        Kfa=function(a){var b=1E3*a.g.getDuration(1);return new AT(b,1E3*a.g.getCurrentTime()||0,a.g.getVideoData(1).le(),g.P(a.g.O().experiments,"enforce_cuerange_priority_on_web"))};
        yY=function(a,b){for(var c=a.u,d=g.r(c),e=d.next();!e.done;e=d.next()){e=g.r(e.value);var f=e.next().value;if(e.next().value==b){c["delete"](f);break}}g.Zj(b)};
        BY=function(a,b){var c=a.g.app;1==b&&(c.H.tick("vr"),c.ua||(c.ua=yG(yH,c.zu,c)),iP(c.A),hJ(c.H,c.A.getVideoData(),mT(c)));var d=c.i;(g.fF(d)&&d.xb||g.WE(d))&&(JS(c)||c.g.ha("onAdStateChange",b));switch(b){case 1:a.N=1;break;case 0:a.N=0}};
        wY=function(a){return xU(a.g)&&a.i.Ei()};
        Mfa=function(a){for(var b=0;b<a.length;b++)Cw("ADS_CLIENT_EVENT_TYPE_ADPLACEMENTRENDERER_RECEIVED")};
        CY=function(a){return a&&a.thumbnails&&!g.lb(a.thumbnails||null)&&a.thumbnails[0].url?g.Hd(a.thumbnails[0].url):""};
        DY=function(a,b,c,d){d=void 0===d?!1:d;Y.call(this,a,b,{C:"img",G:"ytp-ad-image"},"ad-image",void 0===c?null:c);this.l=d;this.hide()};
        EY=function(a){if(!a)return null;switch(a.iconType){case "OPEN_IN_NEW":return{C:"svg",T:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},M:[{C:"path",T:{d:"M0 0h48v48H0z",fill:"none"}},{C:"path",T:{d:"M38 38H10V10h14V6H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V24h-4v14zM28 6v4h7.17L15.51 29.66l2.83 2.83L38 12.83V20h4V6H28z"}}]};case "CHECK_BOX":return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-check-box"]}:{C:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},
        M:[{C:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{C:"path",T:{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z",fill:"#d4d4d4"}}]};case "CHECK_BOX_OUTLINE_BLANK":return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-check-box-outline-blank"]}:{C:"svg",T:{height:"100%",viewBox:"0 0 24 24",width:"100%"},M:[{C:"path",T:{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z",fill:"#d4d4d4"}},
        {C:"path",T:{d:"M0 0h24v24H0z",fill:"none"}}]};case "CLOSE":return g.gQ();case "INFO_OUTLINE":return{C:"svg",T:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},M:[{C:"path",T:{d:"M0 0h48v48H0z",fill:"none"}},{C:"path",T:{d:"M22 34h4V22h-4v12zm2-30C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.82 0-16-7.18-16-16S15.18 8 24 8s16 7.18 16 16-7.18 16-16 16zm-2-22h4v-4h-4v4z"}}]};case "REMOVE_CIRCLE":return{C:"svg",T:{fill:"#fff",height:"100%",version:"1.1",
        viewBox:"0 0 24 24",width:"100%"},M:[{C:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{C:"path",T:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11H7v-2h10v2z",fill:"#757575"}}]};case "SKIP_NEXT":return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-next"]}:{C:"svg",T:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},M:[{C:"path",Bg:!0,G:"ytp-svg-fill",T:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]};case "LIKE":return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-like"]}:
        {C:"svg",T:{viewBox:"0 0 24 24"},M:[{C:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{C:"path",T:{d:"M1 21h4V9H1v12zm22-11c0-1.1-.9-2-2-2h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84-1.22l3.02-7.05c.09-.23.14-.47.14-.73v-1.91l-.01-.01L23 10z",fill:"#fff"}}]};case "DISLIKE":return g.fQ?{C:"div",ba:["ytp-icon","ytp-icon-dislike"]}:{C:"svg",T:{viewBox:"0 0 24 24"},M:[{C:"path",T:{d:"M0 0h24v24H0z",fill:"none"}},{C:"path",T:{d:"M15 3H6c-.83 0-1.54.5-1.84 1.22l-3.02 7.05c-.09.23-.14.47-.14.73v1.91l.01.01L1 14c0 1.1.9 2 2 2h6.31l-.95 4.57-.03.32c0 .41.17.79.44 1.06L9.83 23l6.59-6.59c.36-.36.58-.86.58-1.41V5c0-1.1-.9-2-2-2zm4 0v12h4V3h-4z",
        fill:"#fff"}}]};default:return g.M(Error("Unexpected icon "+a),"WARNING"),null}};
        FY=function(a,b,c,d,e){c=void 0===c?[]:c;e=void 0===e?!1:e;Y.call(this,a,b,{C:"button",ba:["ytp-ad-button"].concat(c)},void 0===d?"button":d);this.l=this.o=this.A=null;this.B=e;this.hide()};
        Nfa=function(a){var b=null;null!=a.l&&(b=[a.l.serviceEndpoint,a.l.navigationEndpoint].filter(function(c){return null!=c}),a.l.command&&g.P(a.api.O().experiments,"use_button_command_field_for_web_survey_interstitial")&&(b=b.concat(a.l.command)));
        return b||[]};
        GY=function(a,b,c,d,e){Y.call(this,a,b,c,d);this.l=e;g.K(this,this.l);this.ia=this.A=-1};
        HY=function(a){a.l&&-1===a.A&&(a.A=a.l.subscribe("s",a.Kf,a),a.ia=a.l.subscribe("r",a.vg,a),a.Kf())};
        IY=function(a){null!=a.l&&-1!==a.A&&(a.l.We(a.A),a.l.We(a.ia),a.ia=-1,a.A=-1)};
        JY=function(a,b,c){GY.call(this,a,b,{C:"div",G:"ytp-ad-timed-pie-countdown-container",M:[{C:"svg",G:"ytp-ad-timed-pie-countdown",T:{viewBox:"0 0 20 20"},M:[{C:"circle",G:"ytp-ad-timed-pie-countdown-inner",T:{r:"5",cx:"10",cy:"10"}},{C:"circle",G:"ytp-ad-timed-pie-countdown-outer",T:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",c);this.u=this.g["ytp-ad-timed-pie-countdown-inner"];this.o=Math.ceil(10*3.14);this.hide()};
        KY=function(a,b,c,d){Y.call(this,a,b,{C:"div",G:"ytp-ad-text"},void 0===d?"ad-text":d,void 0===c?null:c);this.l=null;this.hide()};
        LY=function(a,b){b&&g.Ge(a.element,sX(a.l,b))};
        MY=function(a,b,c,d){GY.call(this,a,b,{C:"div",G:"ytp-ad-preview-slot"},"ad-preview",c);var e=this;this.ca=-1;this.o=new g.Gz({C:"span",G:"ytp-ad-preview-container"});g.K(this,this.o);this.u=new KY(this.api,this.ea,"ytp-ad-preview-text");g.K(this,this.u);this.u.i(this.o.element);this.V=new g.Gz({C:"span",G:"ytp-ad-preview-image"});g.K(this,this.V);this.B=new DY(this.api,this.ea);g.K(this,this.B);this.B.i(this.V.element);this.V.i(this.o.element);this.o.i(this.element);this.J=new g.dQ(this.o,400,!1,
        100,function(){return e.hide()});
        g.K(this,this.J);this.N=0;this.Z=!1;this.ka=d;this.hide()};
        NY=function(a,b,c,d,e){e=void 0===e?0:e;g.J.call(this);this.l=a;this.i=!1;this.D=d;this.u=!1;this.g=null;0<b&&(this.g=new g.L(this.dr,b,this),g.K(this,this.g));this.o=new g.L(this.dr,c,this);g.K(this,this.o);this.B=hr(this.l,e,1,d);g.K(this,this.B);this.A=hr(this.l,0,d,1);g.K(this,this.A);this.aa=new g.Mx;g.K(this,this.aa)};
        Ofa=function(){if(!OY){OY=new ns;var a=Ht("client_streamz_web_flush_count",-1);-1!==a&&(OY.o=a);a=Ht("client_streamz_web_flush_interval_seconds",-1);-1!==a&&(OY.flushInterval=1E3*a)}this.g=OY;this.g.A("/client_streamz/youtube/video_ads/visibility_error",{Vr:3,Ur:"element_name"},{Vr:3,Ur:"error_reason"})};
        Qfa=function(){this.g=Pfa};
        Rfa=function(){this.g=new Qfa};
        Tfa=function(a,b,c,d){d=void 0===d?0:d;var e=!1;Xq({measure:function(){if(!e){var f=[];b.hidden&&f.push("hidden");"none"===Xg(b,"display")&&f.push("display:none");var h=Xg(b,"visibility");"hidden"!==h&&"collapse"!==h||f.push("visibility:"+h);h=b.getBoundingClientRect();h.width||h.height||f.push("boundingClientRect:0");h=0;for(var l=b;l;){if("0"===Xg(l,"opacity")){f.push("opacity:0@level"+h);break}if(g.Zq(l,"video-ads")||g.Zq(l,"ytp-ad-module"))break;h+=1;l=l.parentElement}if(0<f.length&&(h=d,f=f.join(","),
        a.g.g().g.D("/client_streamz/youtube/video_ads/visibility_error",c,f),0<h&&Math.random()<h)){h=["id","class","style","hidden","aria-hidden"];l=[];for(var m=b;m;){for(var n={tagName:m.tagName},p={},q=g.r(h),v=q.next();!v.done;v=q.next())v=v.value,m.hasAttribute(v)&&(p[v]=m.getAttribute(v));g.lc(p)||(n.attributes=p);l.push(n);m=m.parentElement}h=Sfa(l);g.M(Error("vis_check_error_reason: "+f+", dump: "+h))}}}})();
        return function(){return e=!0}};
        Sfa=function(a){return JSON.stringify(a.map(function(b){var c=[b.tagName];b.attributes&&c.push(b.attributes);return c}))};
        PY=function(a,b,c){c=void 0===c?0:c;return Tfa(Ufa(),a,b,c)};
        QY=function(a,b,c){GY.call(this,a,b,{C:"div",G:"ytp-ad-skip-button-slot"},"skip-button",c);var d=this;this.N=null;this.Ba=!1;this.u=new g.Gz({C:"span",ba:["ytp-ad-skip-button-container"]});g.K(this,this.u);this.u.i(this.element);this.o=this.B=null;this.Z=new g.dQ(this.u,500,!1,100,function(){return d.hide()});
        g.K(this,this.Z);this.ka=null;this.ca=!1;this.J=new NY(this.u.element,15E3,5E3,.5,.5);g.K(this,this.J);this.Ga=this.P(a,"presentingplayerstatechange",this.RB);this.sa=new g.L(function(){var e=d.api.O().experiments;g.P(e,"enable_visibility_check_for_skip_button_in_bulleit")&&(d.V=PY(d.o.element,"skip-button-ad-text",g.Q(e,"visibility_error_html_dump_sample_rate")))},3E3);
        g.K(this,this.sa);this.V=null;this.hide()};
        RY=function(a){a.sa.stop();a.V&&(a.V(),a.V=null)};
        Vfa=function(a){a=a.N&&a.N.adRendererCommands;return(a&&a.clickCommand&&a.clickCommand.commandExecutorCommand&&a.clickCommand.commandExecutorCommand.commands||[]).some(function(b){return b.adLifecycleCommand||b.adPlayerControlsCommand})};
        SY=function(a,b,c){c=void 0===c?!0:c;g.O.call(this);this.u=b;this.A=new g.Mx(this);g.K(this,this.A);this.i=a;this.xa=new g.vn(100);g.K(this,this.xa);this.A.P(this.xa,"tick",this.DB);this.o={seekableStart:0,seekableEnd:a/1E3,current:0};this.l=!1;this.g=0;c&&this.start()};
        TY=function(a,b){Y.call(this,a,b,{C:"div",G:"ytp-ad-action-interstitial",T:{tabindex:"0"},M:[{C:"div",G:"ytp-ad-action-interstitial-background-container"},{C:"div",G:"ytp-ad-action-interstitial-slot",M:[{C:"div",G:"ytp-ad-action-interstitial-card",M:[{C:"div",G:"ytp-ad-action-interstitial-image-container"},{C:"div",G:"ytp-ad-action-interstitial-headline-container"},{C:"div",G:"ytp-ad-action-interstitial-description-container"},{C:"div",G:"ytp-ad-action-interstitial-action-button-container"}]}]}]},
        "ad-action-interstitial");this.ka=this.g["ytp-ad-action-interstitial-image-container"];this.B=new DY(this.api,this.ea,"ytp-ad-action-interstitial-image");g.K(this,this.B);this.B.i(this.ka);this.ia=this.g["ytp-ad-action-interstitial-headline-container"];this.V=new KY(this.api,this.ea,"ytp-ad-action-interstitial-headline");g.K(this,this.V);this.V.i(this.ia);this.ca=this.g["ytp-ad-action-interstitial-description-container"];this.N=new KY(this.api,this.ea,"ytp-ad-action-interstitial-description");g.K(this,
        this.N);this.N.i(this.ca);this.Ba=this.g["ytp-ad-action-interstitial-background-container"];this.J=new DY(this.api,this.ea,"ytp-ad-action-interstitial-background",!0);g.K(this,this.J);this.J.i(this.Ba);this.sa=this.g["ytp-ad-action-interstitial-action-button-container"];this.o=this.A=this.u=this.l=null;this.aa=new g.Mx;g.K(this,this.aa);this.Z=null;this.hide()};
        UY=function(a){var b=g.ke("html5-video-player");b&&g.dr(b,"ytp-ad-display-override",a)};
        VY=function(a,b){Y.call(this,a,b,{C:"div",G:"ytp-ad-text-interstitial"},"ad-text-interstitial");this.o=this.g["ytp-ad-text-interstitial"];this.l=new KY(this.api,this.ea,"ytp-ad-text-interstitial-message");g.K(this,this.l);this.l.i(this.o);this.hide()};
        WY=function(a){var b=g.ke("html5-video-player");b&&g.dr(b,"ytp-ad-display-override",a)};
        XY=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?[]:e;Y.call(this,a,b,{C:"span",ba:["ytp-ad-hover-text-button"].concat(e)},void 0===f?"ad-hover-text-button":f);this.button=this.o=null;this.B=d;this.A=c;this.hide()};
        YY=function(a,b){Y.call(this,a,b,{C:"div",G:"ytp-ad-feedback-dialog-background",M:[{C:"div",G:"ytp-ad-feedback-dialog-container",M:[{C:"div",G:"ytp-ad-feedback-dialog-form",M:[{C:"div",G:"ytp-ad-feedback-dialog-title",M:[{C:"span",X:"{{title}}"}]},{C:"span",G:"ytp-ad-info-dialog-feedback-options-title",X:"{{reasonsTitle}}"},{C:"div",G:"ytp-ad-info-dialog-feedback-options"},{C:"div",G:"ytp-ad-feedback-dialog-confirm-container",M:[{C:"button",G:"ytp-ad-feedback-dialog-cancel-button",X:"{{cancelLabel}}"},
        {C:"button",G:"ytp-ad-feedback-dialog-confirm-button",X:"{{confirmLabel}}"}]}]}]}]},"ad-info-dialog");this.u=[];this.l=null;this.A=this.g["ytp-ad-feedback-dialog-cancel-button"];this.B=this.g["ytp-ad-feedback-dialog-confirm-button"];this.J=this.g["ytp-ad-info-dialog-feedback-options"];this.N=this.g["ytp-ad-feedback-dialog-title"];this.o=null;this.hide()};
        Zfa=function(a,b){var c=b.cancelRenderer&&b.cancelRenderer.buttonRenderer||null;c&&(a.l=new FY(a.api,a.ea,["ytp-ad-feedback-dialog-close-button"],"button"),g.K(a,a.l),a.l.init(W("button"),c,a.macros),a.l.va("click",a.mu,a),a.l.i(a.element));b.title&&(c=g.zH(b.title),a.updateValue("title",c));b.reasonsTitle&&(c=g.zH(b.reasonsTitle),a.updateValue("reasonsTitle",c));b.reasons&&Wfa(a,b.reasons);b.cancelLabel&&(c=g.zH(b.cancelLabel),a.updateValue("cancelLabel",c),g.Uv(a.A,"click",function(){return a.mu()}));
        b.confirmLabel&&(c=g.zH(b.confirmLabel),a.updateValue("confirmLabel",c),g.Uv(a.B,"click",function(){return Xfa(a)}));
        b.undoRenderer&&Yfa(a,b.undoRenderer)};
        Wfa=function(a,b){for(var c=g.r(b),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.reason;null==d?g.Bs(Error("AdFeedbackReason.reason was not set.")):(e=e.endpoint,null==e?g.Bs(Error("AdFeedbackReason.endpoint was not set.")):(d=new ZY(d,e),g.K(a,d),a.J.appendChild(d.ga()),a.u.push(d)))}};
        Yfa=function(a,b){var c=b&&b.buttonRenderer||null;c&&(c.serviceEndpoint?(a.o=new FY(a.api,a.ea,["ytp-ad-feedback-dialog-undo-mute-button"],"ad-feedback-undo-mute-button"),g.K(a,a.o),a.o.init(W("ad-feedback-undo-mute-button"),c,a.macros),a.o.va("click",a.bF,a),a.o.i(a.N)):g.Bs(Error("AdFeedbackRenderer.undoRenderer.undoButtonRenderer was specified but did not contain a service endpoint.")))};
        Xfa=function(a){var b=a.u.filter(function(c){return c.isChecked()});
        0!==b.length&&(a.ea.Ca(b[0].i,a.macros),a.api.onAdUxClicked("ad-feedback-dialog-confirm-button"),a.L("w"),a.hide())};
        ZY=function(a,b){this.i=b;this.g=new g.Gz({C:"label",G:"ytp-ad-feedback-dialog-reason-label",M:[{C:"input",G:"ytp-ad-feedback-dialog-reason-input",T:{type:"radio",name:"feedback-reason-group"}},{C:"span",G:"ytp-ad-feedback-dialog-reason-text",X:g.zH(a)}]});this.l=this.g.g["ytp-ad-feedback-dialog-reason-input"]};
        $Y=function(a,b,c,d){c=void 0===c?[]:c;Y.call(this,a,b,{C:"div",ba:["ytp-ad-confirm-dialog-background"],M:[{C:"div",G:"ytp-ad-confirm-dialog-container",M:[{C:"div",ba:["ytp-ad-confirm-dialog"].concat(c),M:[{C:"div",G:"ytp-ad-confirm-dialog-title",X:"{{title}}"},{C:"div",G:"ytp-ad-confirm-dialog-messages"},{C:"div",G:"ytp-ad-confirm-dialog-confirm-container",M:[{C:"button",G:"ytp-ad-confirm-dialog-cancel-button",X:"{{cancelLabel}}"},{C:"button",G:"ytp-ad-confirm-dialog-confirm-button",X:"{{confirmLabel}}"}]}]}]},
        {C:"button",ba:["ytp-ad-confirm-dialog-close-overlay-button","ytp-ad-button","ytp-ad-button-link"],M:[{C:"span",G:"ytp-ad-button-icon",M:[g.gQ()]}]}]},void 0===d?"confirm-dialog":d);this.o=this.g["ytp-ad-confirm-dialog-close-overlay-button"];this.u=this.g["ytp-ad-confirm-dialog-cancel-button"];this.B=this.g["ytp-ad-confirm-dialog-confirm-button"];this.A=this.g["ytp-ad-confirm-dialog-messages"];this.aa=new g.Mx;g.K(this,this.aa);this.l=null;this.hide()};
        $fa=function(a,b){if(b.title){var c=g.zH(b.title);a.updateValue("title",c)}if(b.dialogMessages){c=g.r(b.dialogMessages);for(var d=c.next();!d.done;d=c.next())d=BX(d.value),a.A.appendChild(d)}b.cancelLabel&&(c=g.zH(b.cancelLabel),a.updateValue("cancelLabel",c),a.aa.P(a.u,"click",function(e){return a.Ro(e)}));
        b.confirmLabel&&(c=g.zH(b.confirmLabel),a.updateValue("confirmLabel",c),a.aa.P(a.B,"click",function(e){return a.To(e)}));
        a.aa.P(a.o,"click",function(e){return a.So(e)})};
        aZ=function(a,b){$Y.call(this,a,b,[],"ad-mute-confirm-dialog")};
        bZ=function(a,b,c){Y.call(this,a,b,{C:"div",G:"ytp-ad-info-dialog-background",M:[{C:"div",G:"ytp-ad-info-dialog-container",M:[{C:"div",G:"ytp-ad-info-dialog-form",M:[{C:"div",G:"ytp-ad-info-dialog-title",X:"{{title}}"},{C:"ul",G:"ytp-ad-info-dialog-ad-reasons"},{C:"div",G:"ytp-ad-info-dialog-message"},{C:"div",G:"ytp-ad-info-dialog-mute-container"},{C:"div",G:"ytp-ad-info-dialog-confirm-container",M:[{C:"button",G:"ytp-ad-info-dialog-confirm-button",X:"{{confirmLabel}}"}]}]}]}]},"ad-info-dialog");
        this.l=this.o=null;this.V=this.g["ytp-ad-info-dialog-confirm-button"];this.ia=this.g["ytp-ad-info-dialog-mute-container"];this.ca=this.g["ytp-ad-info-dialog-message"];this.J=this.g["ytp-ad-info-dialog-ad-reasons"];this.A=this.u=null;this.Z=c;this.B=null;this.N=!1;this.hide()};
        aga=function(a){(a.B&&a.B.impressionEndpoints||[]).forEach(function(b){return a.ea.Ca(b,a.macros)})};
        cga=function(a,b){var c=b.content&&b.content.adFeedbackRenderer||null;c&&(a.o=new YY(a.api,a.ea),g.K(a,a.o),a.o.init(W("ad-feedback-dialog"),c,a.macros),a.o.i(a.Z),a.o.subscribe("w",function(){return a.L("y")}))};
        dga=function(a,b){var c=b.content&&b.content.confirmDialogRenderer||null;c&&(a.A=new aZ(a.api,a.ea),g.K(a,a.A),a.A.init(W("ad-mute-confirm-dialog"),c,a.macros),a.A.i(a.Z),a.A.subscribe("x",function(){return a.L("y")}))};
        ega=function(a){a.l&&a.l.va("click",a.nu,a);g.Uv(a.V,"click",function(){return a.nu()})};
        cZ=function(a,b,c,d){XY.call(this,a,b,void 0===d?!0:d,!0,["ytp-ad-info-hover-text-button"],"ad-info-hover-text-button");this.l=null;this.u=c;this.hide()};
        fga=function(a,b,c){b=b.dialog&&b.dialog.adInfoDialogRenderer||null;null==b?g.M(Error("AdInfoDialogEndpoint did not contain an AdInfoDialogRenderer.")):(a.l=new bZ(a.api,a.ea,a.u),g.K(a,a.l),a.l.init(W("ad-info-dialog"),b,c),a.l.i(a.u),a.l.subscribe("z",function(){return a.L("B")}),a.l.subscribe("y",function(){return a.L("A")}))};
        gga=function(a,b,c){null==a.button?g.M(Error("AdInfoHoverTextButton.button was expected but it was not created.")):(b=b&&b.serviceEndpoint&&b.serviceEndpoint.adInfoDialogEndpoint||null,null==b?a.o&&g.$q(a.o.element,"ytp-ad-info-hover-text-long"):(fga(a,b,c),a.o&&g.$q(a.o.element,"ytp-ad-info-hover-text-short"),a.button.va("click",function(){a.l&&!a.l.ib()&&(a.l.show(),a.api.onAdUxClicked("ad-info-icon-button"))})))};
        dZ=function(a,b){Y.call(this,a,b,{C:"div",ba:["ytp-ad-player-overlay-flyout-cta","ytp-ad-overlay-as-flyout-cta"],M:[{C:"div",ba:["ytp-flyout-cta","ytp-flyout-cta-inactive"],M:[{C:"div",G:"ytp-flyout-cta-icon-container"},{C:"div",G:"ytp-flyout-cta-body",M:[{C:"div",G:"ytp-flyout-cta-text-container",M:[{C:"div",G:"ytp-flyout-cta-headline-container"},{C:"div",G:"ytp-flyout-cta-description-container"},{C:"div",G:"ytp-flyout-cta-url-container"}]},{C:"div",G:"ytp-flyout-cta-action-container",M:[{C:"div",
        G:"ytp-flyout-cta-ad-controls-container",M:[{C:"div",G:"ytp-ad-overlay-ad-info-button-container"},{C:"div",G:"ytp-ad-overlay-close-container",M:[{T:{title:"Close"},C:"button",G:"ytp-ad-overlay-close-button",M:[EY(hga)]}]}]},{C:"div",G:"ytp-ad-overlay-as-flyout-cta-action-button-container"}]}]}]}]},"invideo-overlay-as-cta");var c=this;(this.V="tall"===wy(this.api.O().experiments,"render_enhanced_overlays_as_ctas_for_desktop_style"))&&g.$q(this.element,"ytp-flyout-cta-body-tall");this.u=null;this.l=
        g.ke("ytp-flyout-cta",this.element);this.ia=new DY(this.api,this.ea,"ytp-flyout-cta-icon");g.K(this,this.ia);this.ia.i(this.g["ytp-flyout-cta-icon-container"]);this.ca=new KY(this.api,this.ea,"ytp-flyout-cta-headline");g.K(this,this.ca);this.ca.i(this.g["ytp-flyout-cta-headline-container"]);this.B=null;this.V&&(this.B=new KY(this.api,this.ea,"ytp-flyout-cta-description"),g.K(this,this.B),this.B.i(this.g["ytp-flyout-cta-description-container"]));this.sa=new KY(this.api,this.ea,"ytp-flyout-cta-description");
        g.K(this,this.sa);this.sa.i(this.g["ytp-flyout-cta-url-container"]);this.o=new FY(this.api,this.ea,["ytp-flyout-cta-action-button"]);g.K(this,this.o);this.o.i(this.g["ytp-ad-overlay-as-flyout-cta-action-button-container"]);this.Wa=g.ke("ytp-flyout-cta-ad-controls-container",this.element);this.N=this.J=null;this.Z=!1;this.A=null;this.Ya=g.ke("ytp-ad-overlay-close-container",this.l);this.Ba=new g.L(function(){g.br(c.l,"ytp-flyout-cta-inactive")},1E3);
        this.ka=0;this.Ga=[];this.hide()};
        jga=function(a,b,c){if(!b.image||!b.image.thumbnail)return g.M(Error("InvideoOverlayAdRenderer has no image.")),!1;var d=sX(b.title);if(!b.title||g.Lb(d))return g.M(Error("InvideoOverlayAdRenderer has no title AdText.")),!1;if(a.V&&!b.description)return g.M(Error("Tall InvideoOverlayAdRenderer has no description AdText.")),!1;if(!b.displayUrl)return g.M(Error("InvideoOverlayAdRenderer has no displayUrl AdText.")),!1;d=b.navigationEndpoint||b.imageNavigationEndpoint;if(!d)return g.M(Error("InvideoOverlayAdRenderer has no valid navigation endpoint.")),
        !1;a.Ga=g.ub([d].concat(a.u&&a.u.onClickCommands||[]));a.A=g.ke("ytp-ad-overlay-ad-info-button-container",a.l);iga(a,c);a.ia.init(W("ad-image"),b.image,a.macros);a.ca.init(W("ad-text"),b.title,a.macros);a.V&&a.B&&b.description&&a.B.init(W("ad-text"),b.description,a.macros);a.sa.init(W("ad-text"),b.displayUrl,a.macros);a.o.init(W("button"),{text:{simpleText:"VISIT SITE"}},a.macros);a.P(a.l,"mouseover",function(){a.ka++});
        a.P(a.Ya,"click",a.LB);uX(a,a.l,b.trackingParams||null);vX(a,a.l,!0);return!0};
        iga=function(a,b){if(b){var c=b.adHoverTextButtonRenderer||null;if(null==c)g.M(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else{var d=g.ke("video-ads ytp-ad-module")||null;if(null==d)g.M(Error("Could not locate the root ads container element to attach the ad info dialog."));else if(a.J=new g.Gz({C:"div",G:"ytp-ad-overlay-ad-info-dialog-container"}),g.K(a,a.J),a.J.i(d),d=new cZ(a.api,a.ea,a.J.element,!1),g.K(a,d),d.init(W("ad-info-hover-text-button"),c,a.macros),a.A){d.i(a.A,
        0);d.subscribe("B",a.JB,a);d.subscribe("A",a.MB,a);a.P(a.A,"click",a.KB);var e=g.ke("ytp-ad-button",d.element);a.P(e,"click",a.IB);a.N=d;c.hoverText&&(c=g.zH(c.hoverText),me(a.N.element,{title:c}))}else g.M(Error("Ad info button container within overlay ad was not present."))}}else g.Bs(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))};
        kga=function(a){return a.u&&a.u.closeButton&&a.u.closeButton.buttonRenderer&&(a=a.u.closeButton.buttonRenderer,a.serviceEndpoint)?[a.serviceEndpoint]:[]};
        eZ=function(a,b){var c=a.api.getRootNode();g.dr(c,"ytp-ad-overlay-open",b);g.dr(c,"ytp-ad-overlay-closed",!b)};
        fZ=function(a,b){Y.call(this,a,b,{C:"div",G:"ytp-ad-overlay-slot",M:[{C:"div",G:"ytp-ad-overlay-container"}]},"invideo-overlay");this.J=[];this.A=this.ka=null;var c=this.g["ytp-ad-overlay-container"];this.ca=new NY(c,45E3,6E3,.3,.4);g.K(this,this.ca);this.V=new g.L(this.clear,45E3,this);g.K(this,this.V);this.u=lga(this);g.K(this,this.u);this.u.i(c);this.o=mga(this);g.K(this,this.o);this.o.i(c);this.l=nga(this);g.K(this,this.l);this.l.i(c);this.sa=this.Z=null;this.ia=!1;this.B=null;this.N=0;this.hide()};
        lga=function(a){var b=new g.Gz({C:"div",G:"ytp-ad-text-overlay",M:[{C:"div",G:"ytp-ad-overlay-ad-info-button-container"},{C:"div",G:"ytp-ad-overlay-close-container",M:[{C:"button",G:"ytp-ad-overlay-close-button",M:[EY(gZ)]}]},{C:"div",G:"ytp-ad-overlay-title",X:"{{title}}"},{C:"div",G:"ytp-ad-overlay-desc",X:"{{description}}"},{C:"div",ba:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],X:"{{displayUrl}}"}]});a.P(b.g["ytp-ad-overlay-title"],"click",function(c){return hZ(a,b.element,c)});
        a.P(b.g["ytp-ad-overlay-link"],"click",function(c){return hZ(a,b.element,c)});
        a.P(b.g["ytp-ad-overlay-close-container"],"click",a.Lo);b.hide();return b};
        mga=function(a){var b=new g.Gz({C:"div",ba:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],M:[{C:"div",G:"ytp-ad-overlay-ad-info-button-container"},{C:"div",G:"ytp-ad-overlay-close-container",M:[{C:"button",G:"ytp-ad-overlay-close-button",M:[EY(gZ)]}]},{C:"div",G:"ytp-ad-overlay-text-image",M:[{C:"img",T:{src:"{{imageUrl}}"}}]},{C:"div",G:"ytp-ad-overlay-title",X:"{{title}}"},{C:"div",G:"ytp-ad-overlay-desc",X:"{{description}}"},{C:"div",ba:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],
        X:"{{displayUrl}}"}]});a.P(b.g["ytp-ad-overlay-title"],"click",function(c){return hZ(a,b.element,c)});
        a.P(b.g["ytp-ad-overlay-link"],"click",function(c){return hZ(a,b.element,c)});
        a.P(b.g["ytp-ad-overlay-close-container"],"click",a.Lo);a.P(b.g["ytp-ad-overlay-text-image"],"click",a.RE);b.hide();return b};
        nga=function(a){var b=new g.Gz({C:"div",G:"ytp-ad-image-overlay",M:[{C:"div",G:"ytp-ad-overlay-ad-info-button-container"},{C:"div",G:"ytp-ad-overlay-close-container",M:[{C:"button",G:"ytp-ad-overlay-close-button",M:[EY(gZ)]}]},{C:"div",G:"ytp-ad-overlay-image",M:[{C:"img",T:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});a.P(b.g["ytp-ad-overlay-image"],"click",function(c){return hZ(a,b.element,c)});
        a.P(b.g["ytp-ad-overlay-close-container"],"click",a.Lo);b.hide();return b};
        iZ=function(a,b){if(b){var c=b.adHoverTextButtonRenderer||null;if(null==c)g.M(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else{var d=g.ke("video-ads ytp-ad-module")||null;null==d?g.M(Error("Could not locate the root ads container element to attach the ad info dialog.")):(a.Z=new g.Gz({C:"div",G:"ytp-ad-overlay-ad-info-dialog-container"}),g.K(a,a.Z),a.Z.i(d),d=new cZ(a.api,a.ea,a.Z.element,!1),g.K(a,d),d.init(W("ad-info-hover-text-button"),c,a.macros),a.B?(d.i(a.B,0),d.subscribe("B",
        a.OB,a),d.subscribe("A",a.QB,a),a.P(a.B,"click",a.PB),c=g.ke("ytp-ad-button",d.element),a.P(c,"click",a.NB),a.sa=d):g.M(Error("Ad info button container within overlay ad was not present.")))}}else g.Bs(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))};
        oga=function(a){return a.A&&a.A.closeButton&&a.A.closeButton.buttonRenderer&&(a=a.A.closeButton.buttonRenderer,a.serviceEndpoint)?[a.serviceEndpoint]:[]};
        pga=function(a,b){if(jZ(a,kZ)||a.api.app.F.g)return!1;var c=sX(b.title),d=sX(b.description);if(g.Lb(c)||g.Lb(d))return!1;uX(a,a.u.element,b.trackingParams||null);a.u.updateValue("title",sX(b.title));a.u.updateValue("description",sX(b.description));a.u.updateValue("displayUrl",sX(b.displayUrl));b.navigationEndpoint&&vb(a.J,b.navigationEndpoint);a.u.show();a.ca.start();vX(a,a.u.element,!0);a.P(a.api,"resize",function(){return a.Nd(kZ)});
        a.P(a.api,"minimized",a.KD);a.P(a.u.element,"mouseover",function(){a.N++});
        return!0};
        qga=function(a,b){if(jZ(a,kZ)||a.api.app.F.g)return!1;var c=sX(b.title),d=sX(b.description);if(g.Lb(c)||g.Lb(d))return!1;uX(a,a.o.element,b.trackingParams||null);a.o.updateValue("title",sX(b.title));a.o.updateValue("description",sX(b.description));a.o.updateValue("displayUrl",sX(b.displayUrl));a.o.updateValue("imageUrl",tX(b.image));b.navigationEndpoint&&vb(a.J,b.navigationEndpoint);a.ka=b.imageNavigationEndpoint||null;a.o.show();a.ca.start();vX(a,a.o.element,!0);a.P(a.api,"resize",function(){return a.Nd(kZ)});
        a.P(a.o.element,"mouseover",function(){a.N++});
        return!0};
        rga=function(a,b){if(a.api.app.F.g)return!1;var c=rfa(b.image),d=c;c.width<kZ.width&&(d=kZ);if(0==c.width||0==c.height||jZ(a,d))return!1;uX(a,a.l.element,b.trackingParams||null);a.l.updateValue("imageUrl",tX(b.image));a.l.updateValue("width",c.width);a.l.updateValue("height",c.height);b.navigationEndpoint&&vb(a.J,b.navigationEndpoint);g.Sg(a.l.g["ytp-ad-image-overlay"],"max-width",c.width+"px");a.l.show();vX(a,a.l.element,!0);a.V.start();a.P(a.api,"resize",function(){return a.Nd(c)});
        a.P(a.l.element,"mouseover",function(){a.N++;a.V.stop()});
        a.P(a.l.element,"mouseout",function(){a.V.start()});
        return!0};
        jZ=function(a,b){var c=g.yP(a.api).getPlayerSize();return b.width>c.width||b.height>c.height};
        hZ=function(a,b,c){var d=g.qc(a.macros),e=g.kh(b);d.AW={toString:function(){return e.width.toString()}};
        d.AH={toString:function(){return e.height.toString()}};
        var f=g.gh(c,b).floor();d.I_X={toString:function(){return f.x.toString()}};
        d.NX={toString:function(){return f.x.toString()}};
        d.I_Y={toString:function(){return f.y.toString()}};
        d.NY={toString:function(){return f.y.toString()}};
        d.NM={toString:function(){return a.N.toString()}};
        a.J.forEach(function(h){return a.ea.Ca(h,d)});
        a.api.pauseVideo()};
        lZ=function(a,b){var c=a.api.getRootNode();g.dr(c,"ytp-ad-overlay-open",b);g.dr(c,"ytp-ad-overlay-closed",!b)};
        mZ=function(a,b,c){GY.call(this,a,b,{C:"div",G:"ytp-ad-message-overlay",M:[{C:"div",G:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.V=-1;this.Z=this.g["ytp-ad-message-slot"];this.u=new g.Gz({C:"span",G:"ytp-ad-message-container"});this.u.i(this.Z);g.K(this,this.u);this.o=new KY(this.api,this.ea,"ytp-ad-message-text");g.K(this,this.o);this.o.i(this.u.element);this.J=new g.dQ(this.u,400,!1,100,function(){return d.hide()});
        g.K(this,this.J);this.B=0;this.N=!1;this.hide()};
        nZ=function(a,b){var c=a.api.getRootNode();g.dr(c,"ytp-ad-overlay-open",b);g.dr(c,"ytp-ad-overlay-closed",!b)};
        oZ=function(a,b,c,d){d=void 0===d?!1:d;Y.call(this,a,b,{C:"div",G:"ytp-ad-seek-ad-slot"},"seek-ad");this.N=null;this.V=0;this.u=this.A=this.l=this.o=null;this.B=c;g.K(this,this.B);this.J=null;this.Z=!1;this.ca=d;this.hide()};
        pZ=function(a,b,c){GY.call(this,a,b,{C:"div",G:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.J=!1;this.B=0;this.u=this.o=null;this.hide()};
        qZ=function(a,b){a.J||(a.J=!0,a.o&&(b?a.o.J.hide():a.o.hide()),b?a.u.qe():a.u.show())};
        rZ=function(a,b,c){Y.call(this,a,b,{C:"div",G:"ytp-ad-persisting-overlay",M:[{C:"div",G:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.o=this.g["ytp-ad-persisting-overlay-skip"];this.l=c;g.K(this,this.l);this.hide()};
        sZ=function(a,b,c){GY.call(this,a,b,{C:"span",G:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.o=null;this.hide()};
        tZ=function(a,b){KY.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")};
        uZ=function(a,b,c){GY.call(this,a,b,{C:"div",ba:["ytp-flyout-cta","ytp-flyout-cta-inactive"],M:[{C:"div",G:"ytp-flyout-cta-icon-container"},{C:"div",G:"ytp-flyout-cta-body",M:[{C:"div",G:"ytp-flyout-cta-text-container",M:[{C:"div",G:"ytp-flyout-cta-headline-container"},{C:"div",G:"ytp-flyout-cta-description-container"}]},{C:"div",G:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",c);this.J=new DY(this.api,this.ea,"ytp-flyout-cta-icon");g.K(this,this.J);this.J.i(this.g["ytp-flyout-cta-icon-container"]);
        this.B=new KY(this.api,this.ea,"ytp-flyout-cta-headline");g.K(this,this.B);this.B.i(this.g["ytp-flyout-cta-headline-container"]);this.u=new KY(this.api,this.ea,"ytp-flyout-cta-description");g.K(this,this.u);this.u.i(this.g["ytp-flyout-cta-description-container"]);this.o=new FY(this.api,this.ea,["ytp-flyout-cta-action-button"]);g.K(this,this.o);this.o.i(this.g["ytp-flyout-cta-action-button-container"]);this.N=null;this.V=0;this.hide()};
        vZ=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=W("ytp-ad-toggle-button-input");Y.call(this,a,b,{C:"div",ba:["ytp-ad-toggle-button"].concat(c),M:[{C:"label",G:"ytp-ad-toggle-button-label",T:{"for":e},M:[{C:"span",G:"ytp-ad-toggle-button-icon",M:[{C:"span",G:"ytp-ad-toggle-button-untoggled-icon",X:"{{untoggledIconTemplateSpec}}"},{C:"span",G:"ytp-ad-toggle-button-toggled-icon",X:"{{toggledIconTemplateSpec}}"}]},{C:"input",G:"ytp-ad-toggle-button-input",T:{id:e,type:"checkbox"}},
        {C:"span",G:"ytp-ad-toggle-button-text",X:"{{buttonText}}"},{C:"span",G:"ytp-ad-toggle-button-tooltip",X:"{{tooltipText}}"}]}]},d);this.u=this.g["ytp-ad-toggle-button"];this.l=this.g["ytp-ad-toggle-button-input"];this.V=this.g["ytp-ad-toggle-button-icon"];this.B=this.g["ytp-ad-toggle-button-untoggled-icon"];this.A=this.g["ytp-ad-toggle-button-toggled-icon"];this.Z=this.g["ytp-ad-toggle-button-text"];this.o=null;this.J=!1;this.N=null;this.hide()};
        wZ=function(a){a.J&&(a.isToggled()?(g.lh(a.B,!1),g.lh(a.A,!0)):(g.lh(a.B,!0),g.lh(a.A,!1)))};
        sga=function(a,b){var c=null;a.o&&(c=(b?[a.o.defaultServiceEndpoint,a.o.defaultNavigationEndpoint]:[a.o.toggledServiceEndpoint]).filter(function(d){return null!=d}));
        return c||[]};
        xZ=function(a,b,c){Y.call(this,a,b,{C:"div",G:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);var d=this;this.l=null;this.u=new vZ(this.api,this.ea,["ytp-ad-instream-user-sentiment-like-button"]);g.K(this,this.u);this.u.i(this.element);this.o=new vZ(this.api,this.ea,["ytp-ad-instream-user-sentiment-dislike-button"]);g.K(this,this.o);this.o.i(this.element);this.A=new g.dQ(this,400,!1,500,function(){return d.hide()});
        g.K(this,this.A);this.B=null;this.hide()};
        tga=function(a,b){a.u.init(W("toggle-button"),a.l.likeButton.toggleButtonRenderer,b);a.o.init(W("toggle-button"),a.l.dislikeButton.toggleButtonRenderer,b);a.B=a.P(a.element,"change",a.lu)};
        yZ=function(a,b){FY.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.u=null};
        zZ=function(a,b,c){c=void 0===c?!1:c;Y.call(this,a,b,{C:"span",G:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.l=c;this.hide()};
        AZ=function(a,b,c){Y.call(this,a,b,{C:"div",G:"ytp-ad-player-overlay",M:[{C:"div",G:"ytp-ad-player-overlay-flyout-cta"},{C:"div",G:"ytp-ad-player-overlay-instream-info"},{C:"div",G:"ytp-ad-player-overlay-skip-or-preview"},{C:"div",G:"ytp-ad-player-overlay-progress-bar"},{C:"div",G:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay");this.B=this.g["ytp-ad-player-overlay-flyout-cta"];this.o=this.g["ytp-ad-player-overlay-instream-info"];this.A=null;a=g.ue("div");g.$q(a,"ytp-ad-player-overlay-top-bar-gradients");
        b=this.o;b.parentNode&&b.parentNode.insertBefore(a,b);if((b=this.api.getVideoData(2))&&b.isListed&&b.title){var d=new tZ(this.api,this.ea);d.i(a);d.init(W("ad-title"),{text:b.title},this.macros);g.K(this,d)}this.A=a;this.u=this.g["ytp-ad-player-overlay-skip-or-preview"];this.N=this.g["ytp-ad-player-overlay-progress-bar"];this.J=this.g["ytp-ad-player-overlay-instream-user-sentiment"];this.l=c;g.K(this,this.l);this.hide()};
        BZ=function(a,b){var c=g.P(a.O().experiments,"use_revamped_survey_design_for_desktop"),d=c?"ytp-ad-survey-answer-rs":"ytp-ad-survey-answer";Y.call(this,a,b,{C:"div",G:d},"survey-answer");this.u=c;this.o=this.g[d];this.l=null;this.A="";this.hide()};
        CZ=function(a,b){Y.call(this,a,b,{C:"div",G:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.o=this.g["ytp-ad-survey-none-of-the-above"];this.l=null;this.hide()};
        DZ=function(a,b){FY.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")};
        EZ=function(a,b,c){Y.call(this,a,b,{C:"div",G:"ytp-ad-survey-player-overlay",M:[{C:"div",G:"ytp-ad-survey-player-overlay-instream-info"},{C:"div",G:"ytp-ad-survey-player-overlay-skip-preview-submit",M:[{C:"div",G:"ytp-ad-survey-player-overlay-skip-or-preview"},{C:"div",G:"ytp-ad-survey-player-overlay-submit"}]},{C:"div",G:"ytp-ad-survey-player-overlay-instream-user-sentiment"}]},"survey-player-overlay");this.B=this.g["ytp-ad-survey-player-overlay-instream-info"];this.o={};this.J=this.g["ytp-ad-survey-player-overlay-skip-or-preview"];
        this.l=null;this.N=this.g["ytp-ad-survey-player-overlay-submit"];this.u=null;this.A=c;g.K(this,this.A);this.hide()};
        FZ=function(a,b,c,d){var e=g.P(a.O().experiments,"use_revamped_survey_design_for_desktop"),f=e?"ytp-ad-survey-question-rs":"ytp-ad-survey-question",h=e?"ytp-ad-survey-question-text-rs":"ytp-ad-survey-question-text",l=e?"ytp-ad-survey-answers-rs":"ytp-ad-survey-answers";e=e?"ytp-ad-survey-question-background-rs":"ytp-ad-survey-question-background";Y.call(this,a,b,{C:"div",G:f,M:[{C:"div",ba:[h,"ytp-ad-survey-question-foreground"]},{C:"div",ba:[l,"ytp-ad-survey-question-foreground"]},{C:"div",ba:["ytp-ad-survey-question-player-overlay",
        "ytp-ad-survey-question-foreground"]},{C:"div",G:e}]},c);this.question=this.g[f];this.ia=this.g[e];this.V=this.g[h];this.answers=this.g[l];this.N=this.g["ytp-ad-survey-question-player-overlay"];this.B=null;this.u=[];this.l=null;this.A=(0,g.H)();this.ca=d};
        GZ=function(a,b,c){var d=new BZ(a.api,a.ea);d.i(a.answers);d.init(W("survey-answer"),b,c);a.u.push(d)};
        HZ=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&CY(c)||"",g.Lb(c)?g.Bs(Error("Found ThumbnailDetails without valid image URL")):g.Sg(a.ia,"backgroundImage","url("+c+")"));uga(a,b)}else g.M(Error("addCommonComponents() needs to be called before starting countdown."))};
        uga=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.M(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.A=(0,g.H)();a.l=new SY(b.durationMilliseconds,a.ea,a.ca);g.K(a,a.l);if(b.timeoutCommands){var c=b.timeoutCommands;a.l.subscribe("r",function(){c.forEach(function(e){return a.ea.Ca(e,a.macros)})})}if(a.l&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d=
        new EZ(a.api,a.ea,a.l);
        d.i(a.N);d.init(W("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.B=d;g.K(a,d);a.Iv()}catch(e){g.M(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.M(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.l&&b.durationMilliseconds&&0<b.durationMilliseconds?(d=new rR(a.api,a.l),d.i(a.N),g.K(a,d)):g.M(Error("Survey progress bar was not added. SurveyAdQuestionCommon: "+
        JSON.stringify(b)))}};
        vga=function(a){function b(c){return{toString:function(){return c()}}}
        a.macros.SURVEY_LOCAL_TIME_EPOCH_S=b(function(){var c=new Date;return Math.round(c.valueOf()/1E3)+-60*c.getTimezoneOffset()});
        a.macros.SURVEY_ELAPSED_MS=b(function(){return(0,g.H)()-a.A})};
        IZ=function(a,b,c){FZ.call(this,a,b,"survey-question-multi-select",c);this.o=null;this.Z=[];this.J=null;this.hide()};
        wga=function(a,b,c){a.o=new CZ(a.api,a.ea);a.o.i(a.answers);a.o.init(W("survey-none-of-the-above"),b,c)};
        xga=function(a){a.u.forEach(function(b){b.l.toggleButton(!1)});
        JZ(a,!0)};
        JZ=function(a,b){var c=a.B,d=yga(a),e=b;e=void 0===e?!1:e;c.l&&(d?c.l.hide():c.l.show(),e&&c.l instanceof pZ&&!c.l.J&&qZ(c.l,!1));c.u&&(d?c.u.show():c.u.hide())};
        yga=function(a){return a.u.some(function(b){return b.l.isToggled()})||a.o.l.isToggled()};
        KZ=function(a,b,c){FZ.call(this,a,b,"survey-question-single-select",c);this.hide()};
        LZ=function(a,b){var c=g.P(a.O().experiments,"use_revamped_survey_design_for_desktop");Y.call(this,a,b,c?{C:"div",G:"ytp-ad-survey-rs",M:[{C:"div",G:"ytp-ad-survey-questions-rs"}]}:{C:"div",G:"ytp-ad-survey",M:[{C:"div",G:"ytp-ad-survey-title"},{C:"div",G:"ytp-ad-survey-questions"}]},"survey");c||(this.u=this.g["ytp-ad-survey-title"]);this.A=c;this.o=this.g[c?"ytp-ad-survey-questions-rs":"ytp-ad-survey-questions"];this.l=[];this.hide()};
        MZ=function(a,b){var c=g.P(a.O().experiments,"use_revamped_survey_design_for_desktop");Y.call(this,a,b,c?{C:"div",G:"ytp-ad-survey-interstitial-fp",M:[{C:"div",G:"ytp-ad-survey-interstitial-contents",M:[{C:"div",G:"ytp-ad-survey-interstitial-logo-fp",M:[{C:"div",G:"ytp-ad-survey-interstitial-logo-image"}]},{C:"div",G:"ytp-ad-survey-interstitial-text-fp"}]}]}:{C:"div",G:"ytp-ad-survey-interstitial",M:[{C:"div",G:"ytp-ad-survey-interstitial-modal",M:[{C:"div",G:"ytp-ad-survey-interstitial-contents",
        M:[{C:"div",G:"ytp-ad-survey-interstitial-text"},{C:"div",G:"ytp-ad-survey-interstitial-logo",M:[{C:"div",G:"ytp-ad-survey-interstitial-logo-image"}]}]},{C:"div",G:"ytp-ad-survey-interstitial-action"}]}]},"survey-interstitial");this.o=c;this.V=g.P(a.O().experiments,"use_button_command_field_for_web_survey_interstitial");this.B=this.o?null:this.g["ytp-ad-survey-interstitial-action"];this.N=this.o?this.g["ytp-ad-survey-interstitial-fp"]:this.g["ytp-ad-survey-interstitial"];this.Z=this.g["ytp-ad-survey-interstitial-contents"];
        this.l=null;this.J=this.o?null:this.g["ytp-ad-survey-interstitial-modal"];this.ia=this.o?this.g["ytp-ad-survey-interstitial-text-fp"]:this.g["ytp-ad-survey-interstitial-text"];this.ca=this.g["ytp-ad-survey-interstitial-logo-image"];this.A=null;this.u=new g.dQ(this,500,!1,300);g.K(this,this.u)};
        zga=function(a,b,c){var d=a.o?{adLifecycleCommand:{action:"END_LINEAR_AD"}}:{adPlayerControlsCommand:{action:"AD_PLAYER_CONTROLS_ACTION_RESUME"}};c=c.dismissCommands;a.o&&!a.V&&c.push(d);var e=b.target==a.N;b=a.l.element.contains(b.target);if(e||b)a.u.hide(),e?c.forEach(function(f){return a.ea.Ca(f,a.macros)}):!a.V&&b&&a.ea.Ca(d,a.macros)};
        NZ=function(a,b){var c=b&&CY(b)||"";g.Lb(c)?g.Bs(Error("Found ThumbnailDetails without valid image URL")):a.style.cssText+='background-image: url("'+c+'");'};
        OZ=function(a){var b=g.ke("html5-video-player");b&&g.dr(b,"ytp-ad-display-override",a)};
        PZ=function(a,b){Y.call(this,a,b,{C:"div",G:"iv-website-companion",M:[{C:"div",G:"iv-website-companion-block",M:[{C:"div",G:"iv-website-companion-icon"},{C:"div",G:"iv-website-companion-text",M:[{C:"div",G:"iv-website-companion-desc",M:[{C:"span",ba:["yt-badge","yt-badge-ad"],X:"{{adBadgeText}}"}]}]}]}]},"action-companion");this.N=this.g["iv-website-companion"];this.u=new DY(this.api,this.ea,"iv-website-companion-banner");g.K(this,this.u);this.u.i(this.N,0);this.Z=new DY(this.api,this.ea);g.K(this,
        this.u);this.Z.i(this.g["iv-website-companion-icon"]);this.B=new KY(this.api,this.ea,"iv-website-companion-header");g.K(this,this.B);this.B.i(this.g["iv-website-companion-text"],0);this.A=new KY(this.api,this.ea,"iv-website-companion-domain");g.K(this,this.A);this.A.i(this.g["iv-website-companion-desc"]);this.o=new FY(this.api,this.ea,["iv-website-companion-action","yt-uix-button-size-default","yt-uix-button-primary"]);g.K(this,this.o);this.o.i(this.g["iv-website-companion-block"]);this.df=new KX(this.api,
        this.ea);g.K(this,this.df);this.df.i(this.N,0);this.J=null;this.V=[];this.aa=new g.Mx;g.K(this,this.aa);this.ca=new lU(3E4);this.l=null;this.hide()};
        QZ=function(){g.J.call(this);this.o=this.i=this.u=this.g=this.A=this.l=null};
        Aga=function(a,b){return RZ(a).then(function(c){c&&g.Qa(c.promotionShelfShow)&&c.promotionShelfShow(b)})};
        Bga=function(a){RZ(a).then(function(b){b&&g.Qa(b.promotionShelfClear)&&b.promotionShelfClear()})};
        Dga=function(a){window.google_ad_output="html";window.google_ad_height="250";window.google_ad_format="300x250_as";window.google_container_id="google_companion_ad_div";return RZ(a).then(function(b){return Cga(a,b)}).then(function(b){b();
        return SZ(a)})};
        Ega=function(a){return RZ(a).then(function(b){b.loadAfc();return SZ(a)})};
        TZ=function(){return g.z("yt.www.watch.ads")};
        UZ=function(){return g.z("window.google_show_companion_ad")};
        RZ=function(a){if(a.da())throw Error("Object is disposed");if(!a.l){var b=TZ();a.l=b?Ym(b):(new Um(function(c){a.A=Ps("watchAdsInit",c)})).then(TZ)}return a.l};
        Cga=function(a,b){if(a.da())throw Error("Object is disposed");if(!a.g){var c=UZ();Fga(c,b.getGlobals)?a.g=Ym(c):a.g=(new Um(function(d){a.u=Ps("showCompanionAdLoaded",d)})).then(UZ)}return a.g};
        SZ=function(a){if(a.da())throw Error("Object is disposed");a.i||(VZ()?Ym():a.i=new Um(function(b,c){a.o=new g.L(function(){VZ()?b():c()},2E3,a);
        a.o.start()}));
        return a.i};
        Fga=function(a,b){if(!g.Qa(a)||!g.Qa(b))return!1;var c=b();return!(!c||!c.length)};
        VZ=function(){var a=ie(document,"google_companion_ad_div");return a?(a=g.u(a.firstElementChild)?a.firstElementChild:Ce(a.firstChild))&&"IFRAME"==a.tagName?-1!=a.src.indexOf("youtube.com%2Fad_frame"):!1:!1};
        WZ=function(a,b){Y.call(this,a,b,{C:"div"},"backfill-mpu-companion");this.o=new QZ;g.K(this,this.o);this.l=null};
        Gga=function(a,b){(b.noAdEndpoints||[]).forEach(function(c){return a.ea.Ca(c,a.macros)})};
        XZ=function(){g.T.call(this,{C:"div",G:"ad-carousel",M:[{C:"div",G:"ad-carousel-clip",M:[{C:"ul",ba:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.g["ad-carousel"];this.u=new g.T({C:"button",ba:["ad-carousel-nav-button","ad-carousel-nav-prev"],T:{type:"button",onclick:"return false;"},M:[{C:"span",ba:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.K(this,this.u);this.u.va("click",this.D,this);this.u.i(a);this.o=new g.T({C:"button",
        ba:["ad-carousel-nav-button","ad-carousel-nav-next"],T:{type:"button",onclick:"return false;"},M:[{C:"span",ba:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],T:{"data-tooltip-text":"Next",title:"Next"}}]});g.K(this,this.o);this.o.va("click",this.B,this);this.o.i(a);this.A=this.g["ad-carousel-list"];this.l=0;this.Sa=[]};
        ZZ=function(a){a.A&&g.Sg(a.A,"left",(2>a.Sa.length?0:-a.l*a.Sa[1].element.clientWidth)+"px");g.Fz(a.u,0<a.l);g.Fz(a.o,a.l<a.Sa.length-YZ(a))};
        YZ=function(a){return 2>a.Sa.length?1:Math.round((a.element.clientWidth-a.Sa[0].element.clientWidth)/a.Sa[1].element.clientWidth)+1};
        $Z=function(){CX.call(this,!0);this.Oc=new XZ};
        a_=function(){CX.call(this,!1);this.i=new g.T({C:"div",G:"iv-btp-card",M:[{C:"a",G:"iv-btp-card-content",M:[{C:"div",X:"{{cards}}"}]}]});g.K(this,this.i);var a={C:"div",G:"iv-btp-card-merchant",M:[{C:"span",G:"iv-btp-card-merchant-text",X:"{{merchant}}"}]};this.o=new g.Az({C:"div",ba:["iv-btp-small-card","yt-uix-hovercard-target"],T:{"data-position":"bottomright","data-orientation":"vertical"},M:[{C:"div",ba:["iv-btp-card-image","yt-uix-hovercard-anchor"],X:"{{image}}"},{C:"div",G:"iv-btp-card-info",
        M:[{C:"span",G:"iv-btp-card-action",X:"{{price}}"},a]},{C:"div",ba:["yt-uix-hovercard-content","iv-btp-hovercard"],X:"{{hovercard}}"}]});g.K(this,this.o);this.g=new g.Az({C:"div",G:"iv-btp-large-card",M:[{C:"div",G:"iv-btp-card-image",M:[{C:"span"},{C:"div",G:"iv-btp-card-image-aligned",X:"{{image}}"}]},{C:"div",G:"iv-btp-card-info",M:[{C:"div",G:"iv-btp-card-text-box",M:[{C:"div",G:"iv-btp-card-text-valign",M:[{C:"div",ba:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],X:"{{headline}}"}]}]},
        {C:"span",G:"iv-btp-card-action",X:"{{price}}"},a,{C:"div",X:"{{review}}"}]}]});g.K(this,this.g);this.l=new g.Az({C:"div",G:"iv-btp-hovercard-text-box",M:[{C:"a",M:[{C:"div",ba:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],X:"{{headline}}"}]},{C:"div",G:"iv-btp-hovercard-info",M:[{C:"span",G:"iv-btp-hovercard-action",X:"{{price}}"},a]},{C:"div",X:"{{review}}"}]});g.K(this,this.l);this.u=new g.Az({C:"div",G:"iv-btp-card-review",M:[{C:"div",G:"iv-btp-card-rating",M:[{C:"span",G:"iv-btp-card-rating-bg",
        M:[{C:"span",G:"iv-btp-card-rating-fg"}]}]},{C:"span",G:"iv-btp-card-reviews",X:"{{reviewText}}"}]});g.K(this,this.u);this.o.updateValue("hovercard",this.l);this.i.updateValue("cards",[this.o,this.g]);this.Hc()};
        b_=function(a,b,c){c=c?BX(c):null;a.updateValue(b,c)};
        c_=function(a,b){DX.call(this,a,b,function(){return new Hga.Km});
        this.g=null;this.Hc()};
        d_=function(){CX.call(this,!0);this.g=new g.T({C:"div",G:"iv-btp-companion",M:[{C:"div",G:"iv-btp-block-clicks"},{C:"div",G:"iv-btp-attribution",M:[{C:"span",G:"iv-btp-title",X:"{{shopText}}"},{C:"div",G:"ad-info-container",M:[{C:"span",G:"iv-btp-sponsored",X:"{{sponsoredText}}"},{C:"button",G:"ad-info-icon"}]}]}]});g.K(this,this.g);this.l=this.g.g["iv-btp-block-clicks"];this.i=new QZ;g.K(this,this.i);this.o=Aga(this.i,this.g.element);this.Hc()};
        f_=function(a,b){DX.call(this,a,b,function(){return new e_.Hx});
        this.aa=new g.Mx(this);g.K(this,this.aa);this.pg=[];this.Cd=null;this.Oc=new e_.Hm;g.K(this,this.Oc);this.view.append(this.Oc);this.Pd=new e_.Sw(a,b,new oX(this.fc().g.g["ad-info-icon"]));g.K(this,this.Pd);this.Pd.Fg(this.view);this.Hc()};
        Iga=function(a){var b=a.fc();g.lh(b.l,!0);fn([a.Cd,xn(1E3)]).then(function(){g.lh(b.l,!1)})};
        g_=function(){CX.call(this,!0);var a=this;this.o=this.i=0;this.g=new g.T({C:"div",G:"iv-cards-slider",M:[{C:"div",G:"iv-cards-slider-body",M:[{C:"ul",G:"iv-cards-slider-list"}]},{C:"button",ba:["iv-cards-slider-button","iv-cards-slider-prev"],T:{type:"button",onclick:";return false;"},M:[{C:"span",ba:["iv-cards-slider-prev-icon","yt-sprite"]}]},{C:"button",ba:["iv-cards-slider-button","iv-cards-slider-next"],T:{type:"button",onclick:";return false;"},M:[{C:"span",ba:["iv-cards-slider-next-icon","yt-sprite"]}]}]});
        this.B=g.ke("iv-cards-slider-list",this.g.element);if(this.l=g.ke("iv-cards-slider-prev",this.g.element))this.g.P(this.l,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.lh(this.l,!1);
        (this.u=g.ke("iv-cards-slider-next",this.g.element))&&this.g.P(this.u,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})});
        g.K(this,this.g)};
        h_=function(a){a.B.style.left=125*-a.i+"px";a.l&&g.lh(a.l,0<a.i);a.u&&g.lh(a.u,a.i<a.o-3)};
        i_=function(){CX.call(this,!0);this.g=new g.T({C:"div",G:"iv-cards-companion",M:[{C:"div",G:"iv-cards-attribution",M:[{C:"span",ba:["yt-badge","yt-badge-ad"],X:"{{adBadgeText}}"},{C:"a",G:"ad-companion-clickthrough",T:{target:"_blank"},X:"{{shopText}}"}]},{C:"div",X:"{{content}}"}]});g.K(this,this.g);this.i=new lU(3E4);this.l=this.i.showCompanion(this.g.element,300,250);this.Hc()};
        j_=function(){CX.call(this,!1);this.g=new g.T({C:"li",G:"iv-cards-slider-item",M:[{C:"div",G:"iv-cards-slider-unit",M:[{C:"a",M:[{C:"div",G:"iv-cards-slider-image",X:"{{image}}"},{C:"span",ba:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-cards-slider-text"],X:"{{headline}}"},{C:"span",G:"iv-cards-slider-action",X:"{{price}}"}]}]}]});g.K(this,this.g);this.Hc()};
        k_=function(a,b){DX.call(this,a,b,function(){return new Jga.Km});
        var c=this;this.g=null;this.fc().addEventListener("offerclick",function(){return c.onClick()})};
        m_=function(a,b){DX.call(this,a,b,function(){return new l_.ax});
        this.aa=new g.Mx(this);g.K(this,this.aa);this.Cr=[];this.Oo=null;this.pg=[];this.Cd=null;this.mf=new l_.Hm;g.K(this,this.mf);this.view.append(this.mf);this.df=new KX(a,b);g.K(this,this.df);Ae(this.view.ga(),this.df.element,0);this.Hc()};
        Kga=function(a,b,c){switch(a){case "invideo-overlay":return new fZ(b,c);case "invideo-overlay-as-cta":return new dZ(b,c);case "persisting-overlay":return new rZ(b,c,new sR(b));case "player-overlay":return new AZ(b,c,new sR(b));case "pla-shelf":return new f_(b,c);case "shopping-companion":return new m_(b,c);case "survey":return new LZ(b,c);case "backfill-mpu-companion":return new WZ(b,c);case "ad-action-interstitial":return new TY(b,c);case "action-companion":return new PZ(b,c);case "ad-text-interstitial":return new VY(b,
        c);case "survey-interstitial":return new MZ(b,c);case "ad-message":return new mZ(b,c,new sR(b,1));default:return null}};
        n_=function(a){g.Mx.call(this);this.jb=a;this.P(this.jb,"onAdUxUpdate",this.B)};
        o_=function(a,b){n_.call(this,a);this.g=b};
        p_=function(a,b,c){(b=b.adRendererCommands&&b.adRendererCommands.impressionCommand)&&a.Ca(b,c)};
        q_=function(a,b){n_.call(this,a);this.i=a;this.A=b;this.g={};var c=new g.T({C:"div",ba:["video-ads","ytp-ad-module"]});g.K(this,c);g.P(this.i.O().experiments,"mweb_enable_skippables_on_jio_phone")&&(GE||QO)&&g.$q(c.element,"ytp-ads-tiny-mode");this.u=new oX(c.element);g.K(this,this.u);g.GP(this.i,c.element,4);g.K(this,zX())};
        r_=function(a,b){var c=g.oc(a.g,b.id,null);null!=c||g.Bs(Error("Component not found for element id: "+b.id));return c||null};
        s_=function(a){g.cR.call(this,a);var b=this;this.g=null;this.i=new Qw({zK:function(){return b.player.O().experiments}});
        g.K(this,this.i);this.l=null;this.created=!1;var c=a.O();g.WE(c)||"WEB_KIDS"==c.deviceParams.c||(c=function(){return b.g},g.K(this,new q_(a,c)),g.K(this,new o_(a,c)))};
        Lga=function(){if(!g.oe)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
        g.t_=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;Zf();a=g.td(a,null);return b.parseFromString(g.nd(a),"application/xml")}if(Mga){b=new ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");};
        g.u_=function(a){g.J.call(this);this.i=a;this.g={}};
        v_=function(a,b,c,d,e,f){if(g.Oa(c))for(var h=0;h<c.length;h++)v_(a,b,c[h],d,e,f);else{b=jm(b,c,d||a.handleEvent,e,f||a.i||a);if(!b)return a;a.g[b.key]=b}return a};
        g.w_=function(a){g.$b(a.g,function(b,c){this.g.hasOwnProperty(c)&&g.wm(b)},a);
        a.g={}};
        ba=[];ha="function"==typeof Object.create?Object.create:function(a){function b(){}
        b.prototype=a;return new b};
        if("function"==typeof Object.setPrototypeOf)x_=Object.setPrototypeOf;else{var y_;a:{var Nga={a:!0},z_={};try{z_.__proto__=Nga;y_=z_.a;break a}catch(a){}y_=!1}x_=y_?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
        var ia=x_,ka="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,la="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
        ma("Promise",function(a){function b(h){this.i=0;this.l=void 0;this.g=[];var l=this.o();try{h(l.resolve,l.reject)}catch(m){l.reject(m)}}
        function c(){this.g=null}
        function d(h){return h instanceof b?h:new b(function(l){l(h)})}
        if(a)return a;c.prototype.i=function(h){if(null==this.g){this.g=[];var l=this;this.l(function(){l.u()})}this.g.push(h)};
        var e=ka.setTimeout;c.prototype.l=function(h){e(h,0)};
        c.prototype.u=function(){for(;this.g&&this.g.length;){var h=this.g;this.g=[];for(var l=0;l<h.length;++l){var m=h[l];h[l]=null;try{m()}catch(n){this.o(n)}}}this.g=null};
        c.prototype.o=function(h){this.l(function(){throw h;})};
        b.prototype.o=function(){function h(n){return function(p){m||(m=!0,n.call(l,p))}}
        var l=this,m=!1;return{resolve:h(this.H),reject:h(this.u)}};
        b.prototype.H=function(h){if(h===this)this.u(new TypeError("A Promise cannot resolve to itself"));else if(h instanceof b)this.I(h);else{a:switch(typeof h){case "object":var l=null!=h;break a;case "function":l=!0;break a;default:l=!1}l?this.F(h):this.A(h)}};
        b.prototype.F=function(h){var l=void 0;try{l=h.then}catch(m){this.u(m);return}"function"==typeof l?this.J(l,h):this.A(h)};
        b.prototype.u=function(h){this.B(2,h)};
        b.prototype.A=function(h){this.B(1,h)};
        b.prototype.B=function(h,l){if(0!=this.i)throw Error("Cannot settle("+h+", "+l+"): Promise already settled in state"+this.i);this.i=h;this.l=l;this.D()};
        b.prototype.D=function(){if(null!=this.g){for(var h=0;h<this.g.length;++h)f.i(this.g[h]);this.g=null}};
        var f=new c;b.prototype.I=function(h){var l=this.o();h.dk(l.resolve,l.reject)};
        b.prototype.J=function(h,l){var m=this.o();try{h.call(l,m.resolve,m.reject)}catch(n){m.reject(n)}};
        b.prototype.then=function(h,l){function m(v,x){return"function"==typeof v?function(B){try{n(v(B))}catch(C){p(C)}}:x}
        var n,p,q=new b(function(v,x){n=v;p=x});
        this.dk(m(h,n),m(l,p));return q};
        b.prototype["catch"]=function(h){return this.then(void 0,h)};
        b.prototype.dk=function(h,l){function m(){switch(n.i){case 1:h(n.l);break;case 2:l(n.l);break;default:throw Error("Unexpected state: "+n.i);}}
        var n=this;null==this.g?f.i(m):this.g.push(m)};
        b.resolve=d;b.reject=function(h){return new b(function(l,m){m(h)})};
        b.race=function(h){return new b(function(l,m){for(var n=g.r(h),p=n.next();!p.done;p=n.next())d(p.value).dk(l,m)})};
        b.all=function(h){var l=g.r(h),m=l.next();return m.done?d([]):new b(function(n,p){function q(B){return function(C){v[B]=C;x--;0==x&&n(v)}}
        var v=[],x=0;do v.push(void 0),x++,d(m.value).dk(q(v.length-1),p),m=l.next();while(!m.done)})};
        return b});
        pa.prototype.toString=function(){return this.g};
        var oa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new pa("jscomp_symbol_"+(c||"")+"_"+b++,c)}
        var b=0;return a}();
        sa.prototype.B=function(a){this.l=a};
        sa.prototype["return"]=function(a){this.o={"return":a};this.g=this.D};
        ma("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Ea(this,b,c).Vs}});
        ma("Array.prototype.find",function(a){return a?a:function(b,c){return Ea(this,b,c).zw}});
        ma("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Fa(this,b,"endsWith");b+="";void 0===c&&(c=d.length);for(var e=Math.max(0,Math.min(c|0,d.length)),f=b.length;0<f&&0<e;)if(d[--e]!=b[--f])return!1;return 0>=f}});
        ma("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Fa(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,h=Math.max(0,Math.min(c|0,d.length)),l=0;l<f&&h<e;)if(d[h++]!=b[l++])return!1;return l>=f}});
        ma("String.prototype.repeat",function(a){return a?a:function(b){var c=Fa(this,null,"repeat");if(0>b||1342177279<b)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
        ma("Array.prototype.keys",function(a){return a?a:function(){return Ga(this,function(b){return b})}});
        ma("Array.prototype.values",function(a){return a?a:function(){return Ga(this,function(b,c){return c})}});
        var Oga="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)Ha(d,e)&&(a[e]=d[e])}return a};
        ma("Object.assign",function(a){return a||Oga});
        ma("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||Infinity===b||-Infinity===b||0===b)return b;var c=Math.floor(Math.abs(b));return 0>b?-c:c}});
        ma("Array.prototype.fill",function(a){return a?a:function(b,c,d){var e=this.length||0;0>c&&(c=Math.max(0,e+c));if(null==d||d>e)d=e;d=Number(d);0>d&&(d=Math.max(0,e+d));for(c=Number(c||0);c<d;c++)this[c]=b;return this}});
        ma("WeakMap",function(a){function b(m){this.g=(l+=Math.random()+1).toString();if(m){m=g.r(m);for(var n;!(n=m.next()).done;)n=n.value,this.set(n[0],n[1])}}
        function c(){}
        function d(m){var n=typeof m;return"object"===n&&null!==m||"function"===n}
        function e(m){if(!Ha(m,h)){var n=new c;la(m,h,{value:n})}}
        function f(m){var n=Object[m];n&&(Object[m]=function(p){if(p instanceof c)return p;e(p);return n(p)})}
        if(function(){if(!a||!Object.seal)return!1;try{var m=Object.seal({}),n=Object.seal({}),p=new a([[m,2],[n,3]]);if(2!=p.get(m)||3!=p.get(n))return!1;p["delete"](m);p.set(n,4);return!p.has(m)&&4==p.get(n)}catch(q){return!1}}())return a;
        var h="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var l=0;b.prototype.set=function(m,n){if(!d(m))throw Error("Invalid WeakMap key");e(m);if(!Ha(m,h))throw Error("WeakMap key fail: "+m);m[h][this.g]=n;return this};
        b.prototype.get=function(m){return d(m)&&Ha(m,h)?m[h][this.g]:void 0};
        b.prototype.has=function(m){return d(m)&&Ha(m,h)&&Ha(m[h],this.g)};
        b.prototype["delete"]=function(m){return d(m)&&Ha(m,h)&&Ha(m[h],this.g)?delete m[h][this.g]:!1};
        return b});
        ma("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l}
        function c(l,m){var n=l.g;return qa(function(){if(n){for(;n.head!=l.g;)n=n.previous;for(;n.next!=n.head;)return n=n.next,{done:!1,value:m(n)};n=null}return{done:!0,value:void 0}})}
        function d(l,m){var n=m&&typeof m;"object"==n||"function"==n?f.has(m)?n=f.get(m):(n=""+ ++h,f.set(m,n)):n="p_"+m;var p=l.i[n];if(p&&Ha(l.i,n))for(var q=0;q<p.length;q++){var v=p[q];if(m!==m&&v.key!==v.key||m===v.key)return{id:n,list:p,index:q,Jc:v}}return{id:n,list:p,index:-1,Jc:void 0}}
        function e(l){this.i={};this.g=b();this.size=0;if(l){l=g.r(l);for(var m;!(m=l.next()).done;)m=m.value,this.set(m[0],m[1])}}
        if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var l=Object.seal({x:4}),m=new a(g.r([[l,"s"]]));if("s"!=m.get(l)||1!=m.size||m.get({x:4})||m.set({x:4},"t")!=m||2!=m.size)return!1;var n=m.entries(),p=n.next();if(p.done||p.value[0]!=l||"s"!=p.value[1])return!1;p=n.next();return p.done||4!=p.value[0].x||"t"!=p.value[1]||!n.next().done?!1:!0}catch(q){return!1}}())return a;
        ra();var f=new WeakMap;e.prototype.set=function(l,m){l=0===l?0:l;var n=d(this,l);n.list||(n.list=this.i[n.id]=[]);n.Jc?n.Jc.value=m:(n.Jc={next:this.g,previous:this.g.previous,head:this.g,key:l,value:m},n.list.push(n.Jc),this.g.previous.next=n.Jc,this.g.previous=n.Jc,this.size++);return this};
        e.prototype["delete"]=function(l){l=d(this,l);return l.Jc&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.i[l.id],l.Jc.previous.next=l.Jc.next,l.Jc.next.previous=l.Jc.previous,l.Jc.head=null,this.size--,!0):!1};
        e.prototype.clear=function(){this.i={};this.g=this.g.previous=b();this.size=0};
        e.prototype.has=function(l){return!!d(this,l).Jc};
        e.prototype.get=function(l){return(l=d(this,l).Jc)&&l.value};
        e.prototype.entries=function(){return c(this,function(l){return[l.key,l.value]})};
        e.prototype.keys=function(){return c(this,function(l){return l.key})};
        e.prototype.values=function(){return c(this,function(l){return l.value})};
        e.prototype.forEach=function(l,m){for(var n=this.entries(),p;!(p=n.next()).done;)p=p.value,l.call(m,p[1],p[0],this)};
        e.prototype[Symbol.iterator]=e.prototype.entries;var h=0;return e});
        ma("Set",function(a){function b(c){this.g=new Map;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size}
        if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new a(g.r([c]));if(!d.has(c)||1!=d.size||d.add(c)!=d||1!=d.size||d.add({x:4})!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||4!=f.value[0].x||f.value[1]!=f.value[0]?!1:e.next().done}catch(h){return!1}}())return a;
        ra();b.prototype.add=function(c){c=0===c?0:c;this.g.set(c,c);this.size=this.g.size;return this};
        b.prototype["delete"]=function(c){c=this.g["delete"](c);this.size=this.g.size;return c};
        b.prototype.clear=function(){this.g.clear();this.size=0};
        b.prototype.has=function(c){return this.g.has(c)};
        b.prototype.entries=function(){return this.g.entries()};
        b.prototype.values=function(){return this.g.values()};
        b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};
        return b});
        ma("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Ha(b,d)&&c.push(b[d]);return c}});
        ma("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
        ma("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length,f=c||0;for(0>f&&(f=Math.max(f+e,0));f<e;f++){var h=d[f];if(h===b||Object.is(h,b))return!0}return!1}});
        ma("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Fa(this,b,"includes").indexOf(b,c||0)}});
        ma("Array.from",function(a){return a?a:function(b,c,d){c=null!=c?c:function(l){return l};
        var e=[],f="undefined"!=typeof Symbol&&Symbol.iterator&&b[Symbol.iterator];if("function"==typeof f){b=f.call(b);for(var h=0;!(f=b.next()).done;)e.push(c.call(d,f.value,h++))}else for(f=b.length,h=0;h<f;h++)e.push(c.call(d,b[h],h));return e}});
        var Pga=function(){function a(){function c(){}
        new c;Reflect.construct(c,[],function(){});
        return new c instanceof c}
        if("undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){void 0===e&&(e=c);
        e=ha(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}();
        ma("Reflect.construct",function(){return Pga});
        ma("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
        ma("WeakSet",function(a){function b(c){this.g=new WeakMap;if(c){c=g.r(c);for(var d;!(d=c.next()).done;)this.add(d.value)}}
        if(function(){if(!a||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new a([c]);if(!e.has(c)||e.has(d))return!1;e["delete"](c);e.add(d);return!e.has(c)&&e.has(d)}catch(f){return!1}}())return a;
        b.prototype.add=function(c){this.g.set(c,!0);return this};
        b.prototype.has=function(c){return this.g.has(c)};
        b.prototype["delete"]=function(c){return this.g["delete"](c)};
        return b});
        ma("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Ha(b,d)&&c.push([d,b[d]]);return c}});
        ma("Number.parseInt",function(a){return a||parseInt});
        g.A_=g.A_||{};g.y=this||self;Ad=/^[\w+/_-]+[=]{0,2}$/;zd=null;Sa="closure_uid_"+(1E9*Math.random()>>>0);Ta=0;g.H=Date.now||function(){return+new Date};g.Za($a,Error);$a.prototype.name="CustomError";var ge;g.Za(bb,$a);bb.prototype.name="AssertionError";var jb,ci;jb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(g.w(a))return g.w(b)&&1==b.length?a.indexOf(b,0):-1;
        for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
        g.Qga=Array.prototype.lastIndexOf?function(a,b){return Array.prototype.lastIndexOf.call(a,b,a.length-1)}:function(a,b){var c=a.length-1;
        0>c&&(c=Math.max(0,a.length+c));if(g.w(a))return g.w(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
        g.D=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
        g.ol=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,h=g.w(a)?a.split(""):a,l=0;l<d;l++)if(l in h){var m=h[l];
        b.call(c,m,l,a)&&(e[f++]=m)}return e};
        g.Le=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=g.w(a)?a.split(""):a,h=0;h<d;h++)h in f&&(e[h]=b.call(c,f[h],h,a));
        return e};
        ci=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
        (0,g.D)(a,function(e,f){d=b.call(void 0,d,e,f,a)});
        return d};
        g.ij=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;
        return!1};
        g.bi=Array.prototype.every?function(a,b,c){return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=g.w(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;
        return!0};var Vb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Mb=/&/g,Nb=/</g,Ob=/>/g,Pb=/"/g,Qb=/'/g,Rb=/\x00/g,Sb=/[\x00&<>"']/;a:{var B_=g.y.navigator;if(B_){var C_=B_.userAgent;if(C_){g.Yb=C_;break a}}g.Yb=""};var sc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Rga={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};Hc.prototype.Se=!0;Hc.prototype.Id=function(){return this.g};
        var Gc={},Fc={},xd=new Hc(Fc,"");var wQ;g.Sga=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]");wQ=RegExp("^[^\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]*[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]");g.vQ=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0900-\u1fff\u200e\u2c00-\ud801\ud804-\ud839\ud83c-\udbff\uf900-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");Lc.prototype.Se=!0;Lc.prototype.Id=function(){return this.i.toString()};
        Lc.prototype.Rn=!0;Lc.prototype.g=function(){return 1};
        var Qc=/%{(\w+)}/g,Pc=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Kc={},Jc={};g.Uc.prototype.Se=!0;g.Uc.prototype.Id=function(){return this.i.toString()};
        g.Uc.prototype.Rn=!0;g.Uc.prototype.g=function(){return 1};
        var $c=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,Zc=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,Xc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Tc={},Sc={};cd.prototype.Se=!0;var bd={};cd.prototype.Id=function(){return this.g};
        var Tga=dd(""),gd=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,fd=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),ed=RegExp("\\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),hd=/\/\*/;md.prototype.Rn=!0;md.prototype.g=function(){return this.l};
        md.prototype.Se=!0;md.prototype.Id=function(){return this.i.toString()};
        var D_=/^[a-zA-Z0-9-]+$/,Uga={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Vga={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},ld={};g.td("<!DOCTYPE html>",0);var qd=g.td("",0);g.td("<br>",0);var ud=Dc(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=g.nd(qd);return!b.parentElement});var Fd=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};Pd[" "]=g.La;var mF,eN,pT,nu,Wga,E_,Xga,FE,GE,QO,F_;g.Vg=Zb("Opera");g.oe=Zb("Trident")||Zb("MSIE");mF=Zb("Edge");g.Bz=mF||g.oe;g.Ug=Zb("Gecko")&&!(Ub(g.Yb,"WebKit")&&!Zb("Edge"))&&!(Zb("Trident")||Zb("MSIE"))&&!Zb("Edge");g.ne=Ub(g.Yb,"WebKit")&&!Zb("Edge");eN=Zb("Macintosh");pT=Zb("Windows");nu=Zb("Android");Wga=Nd();E_=Zb("iPad");Xga=Zb("iPod");FE=Od();GE=Ub(g.Yb,"KaiOS");QO=Ub(g.Yb,"GAFP");
        a:{var G_="",H_=function(){var a=g.Yb;if(g.Ug)return/rv:([^\);]+)(\)|;)/.exec(a);if(mF)return/Edge\/([\d\.]+)/.exec(a);if(g.oe)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.ne)return/WebKit\/(\S+)/.exec(a);if(g.Vg)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
        H_&&(G_=H_?H_[1]:"");if(g.oe){var I_=Td();if(null!=I_&&I_>parseFloat(G_)){F_=String(I_);break a}}F_=G_}var Ud=F_,Rd={},J_;J_=g.y.document&&g.oe?Td():void 0;var Wd=J_;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var se=!g.oe||g.Xd(9);!g.Ug&&!g.oe||g.oe&&g.Xd(9)||g.Ug&&g.Vd("1.9.1");g.oe&&g.Vd("9");var De=g.oe||g.Vg||g.ne;g.$d.prototype.clone=function(){return new g.$d(this.x,this.y)};
        g.$d.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
        g.$d.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
        g.$d.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.k=g.be.prototype;g.k.clone=function(){return new g.be(this.width,this.height)};
        g.k.aspectRatio=function(){return this.width/this.height};
        g.k.isEmpty=function(){return!de(this)};
        g.k.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
        g.k.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
        g.k.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var le={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};g.k=ee.prototype;g.k.ga=function(){return ie(this.g,void 0)};
        g.k.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};
        g.k.createElement=function(a){return this.g.createElement(String(a))};
        g.k.appendChild=g.ye;g.k.append=function(a,b){te(fe(a),a,arguments,1)};
        g.k.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
        g.k.removeNode=g.Be;g.k.contains=g.Fe;var Sj;Sj=["av.key","js","unreleased"].slice(-1)[0];var oh=document,I=window;var qD,PE,gI,HE;qD=vc();PE=Nd()||Zb("iPod");gI=Zb("iPad");HE=g.Ac();g.Ex=yc();g.eF=zc()&&!Od();var Oe={},Ve=null;var We=0,Xe=0;var af=[];$e.prototype.clone=function(){return bf(this.i,this.o,this.l-this.o)};
        $e.prototype.clear=function(){this.i=null;this.g=this.l=this.o=0;this.u=!1};
        $e.prototype.reset=function(){this.g=this.o};ef.prototype.reset=function(){this.g.reset();this.i=this.l=-1};kf.prototype.length=function(){return this.g.length};
        kf.prototype.end=function(){var a=this.g;this.g=[];return a};nf.prototype.reset=function(){this.l=[];this.g.end();this.i=0};var Af="function"==typeof Uint8Array,Bf=[];zf.prototype.toString=function(){Qf(this);return this.i.toString()};
        zf.prototype.clone=function(){return new this.constructor(Rf(Of(this)))};g.k=Sf.prototype;g.k.isEnabled=function(){return navigator.cookieEnabled};
        g.k.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');g.u(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.H)()+1E3*c)).toUTCString();this.g.cookie=a+"="+b+e+d+c+f};
        g.k.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Vb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
        g.k.remove=function(a,b,c){var d=g.u(this.get(a));this.set(a,"",0,b,c);return d};
        g.k.fe=function(){return Tf(this).keys};
        g.k.Lc=function(){return Tf(this).values};
        g.k.isEmpty=function(){return!this.g.cookie};
        g.k.clear=function(){for(var a=Tf(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
        var uw=new Sf("undefined"==typeof document?null:document);var Uf={};var K_;
        K_={ix:["BC","AD"],hx:["Before Christ","Anno Domini"],wx:"JFMAMJJASOND".split(""),Dx:"JFMAMJJASOND".split(""),oq:"January February March April May June July August September October November December".split(" "),Bq:"January February March April May June July August September October November December".split(" "),zq:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Cq:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Mq:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Eq:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
        Aq:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Dq:"Sun Mon Tue Wed Thu Fri Sat".split(" "),OI:"SMTWTFS".split(""),Ex:"SMTWTFS".split(""),Ax:["Q1","Q2","Q3","Q4"],xx:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Yp:["AM","PM"],Im:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Iq:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],bx:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Ej:6,Lx:[5,6],Fj:5};g.L_=K_;g.L_=K_;g.k=g.Yf.prototype;g.k.Xr=g.L_.Ej;g.k.Zr=g.L_.Fj;g.k.clone=function(){var a=new g.Yf(this.date);a.Xr=this.Xr;a.Zr=this.Zr;return a};
        g.k.getFullYear=function(){return this.date.getFullYear()};
        g.k.getMonth=function(){return this.date.getMonth()};
        g.k.getDate=function(){return this.date.getDate()};
        g.k.getTime=function(){return this.date.getTime()};
        g.k.getDay=function(){return this.date.getDay()};
        g.k.getUTCFullYear=function(){return this.date.getUTCFullYear()};
        g.k.getUTCMonth=function(){return this.date.getUTCMonth()};
        g.k.getUTCDate=function(){return this.date.getUTCDate()};
        g.k.getUTCHours=function(){return this.date.getUTCHours()};
        g.k.getUTCMinutes=function(){return this.date.getUTCMinutes()};
        g.k.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
        g.k.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
        g.k.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+12*a.g,c=this.getFullYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);a:{switch(b){case 1:var d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.date.setDate(1);this.date.setFullYear(c);this.date.setMonth(b);this.date.setDate(d)}a.days&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.days),this.date.setDate(1),this.date.setFullYear(a.getFullYear()),
        this.date.setMonth(a.getMonth()),this.date.setDate(a.getDate()),Xf(this,a.getDate()))};
        g.k.toString=function(){return[this.getFullYear(),g.Gd(this.getMonth()+1,2),g.Gd(this.getDate(),2)].join("")+""};
        g.k.valueOf=function(){return this.date.valueOf()};var Zf=g.La;var hg=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,tg=/#|$/,vg=/[?&]($|#)/;var Cg=/https?:\/\/[^\/]+/,Ag={QG:"allow-forms",SG:"allow-modals",TG:"allow-orientation-lock",UG:"allow-pointer-lock",VG:"allow-popups",WG:"allow-popups-to-escape-sandbox",XG:"allow-presentation",YG:"allow-same-origin",ZG:"allow-scripts",aH:"allow-top-navigation",bH:"allow-top-navigation-by-user-activation"},Gg=Dc(function(){return Bg()});var Ig=Dc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
        g.y.addEventListener("test",null,b)}catch(c){}return a});var qi={iJ:1,WJ:2,MI:3};g.k=g.Mg.prototype;g.k.Qe=function(){return this.right-this.left};
        g.k.getHeight=function(){return this.bottom-this.top};
        g.k.clone=function(){return new g.Mg(this.top,this.right,this.bottom,this.left)};
        g.k.contains=function(a){return this&&a?a instanceof g.Mg?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
        g.k.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};
        g.k.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};
        g.k.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};g.k=g.Pg.prototype;g.k.clone=function(){return new g.Pg(this.left,this.top,this.width,this.height)};
        g.k.contains=function(a){return a instanceof g.$d?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
        g.k.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
        g.k.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
        g.k.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Tg={};var mh=!!window.google_async_iframe_id,nh=mh&&window.parent||window;var sk={NONE:0,MH:1};th.prototype.isVisible=function(){return this.hg?.3<=this.Ua:.5<=this.Ua};var pi={BH:0,TH:1},oi={NONE:0,yI:1,YH:2};uh.prototype.getValue=function(){return this.g};
        g.t(yh,uh);yh.prototype.i=function(a){null===this.g&&g.ic(this.o,a)&&(this.g=a)};
        g.t(zh,uh);zh.prototype.i=function(a){null===this.g&&g.Ja(a)&&(this.g=a)};
        g.t(Ah,uh);Ah.prototype.i=function(a){null===this.g&&g.w(a)&&(this.g=a)};Bh.prototype.disable=function(){this.i=!1};
        Bh.prototype.enable=function(){this.i=!0};
        Bh.prototype.isEnabled=function(){return this.i};
        Bh.prototype.reset=function(){this.g={};this.i=!0;this.l={}};g.tk=!g.oe&&!zc();Ih.prototype.now=function(){return 0};
        Ih.prototype.i=function(){return 0};
        Ih.prototype.l=function(){return 0};
        Ih.prototype.g=function(){return 0};g.t(Kh,Ih);Kh.prototype.now=function(){return Jh()&&I.performance.now?I.performance.now():Ih.prototype.now.call(this)};
        Kh.prototype.i=function(){return Jh()&&I.performance.memory?I.performance.memory.totalJSHeapSize||0:Ih.prototype.i.call(this)};
        Kh.prototype.l=function(){return Jh()&&I.performance.memory?I.performance.memory.usedJSHeapSize||0:Ih.prototype.l.call(this)};
        Kh.prototype.g=function(){return Jh()&&I.performance.memory?I.performance.memory.jsHeapSizeLimit||0:Ih.prototype.g.call(this)};Mh.prototype.isVisible=function(){return 1===Lh(oh)};var Ph=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;ei.prototype.setInterval=function(a,b){return I.setInterval(a,b)};
        ei.prototype.clearInterval=function(a){I.clearInterval(a)};
        ei.prototype.setTimeout=function(a,b){return I.setTimeout(a,b)};
        ei.prototype.clearTimeout=function(a){I.clearTimeout(a)};
        Ma(ei);ji.prototype.getContext=function(){if(!this.g){if(!I)throw Error("Context has not been set and window is undefined.");this.g=ei.getInstance()}return this.g};
        Ma(ji);g.Za(ki,zf);ri.prototype.bp=function(a){if(g.w(a)&&0!=a.length){var b=this.ya;if(b.i){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=d[0];d=1<d.length?parseInt(d[1],10):1;isNaN(d)||(e=b.g[e])&&e.i(d)}}}};
        Ma(ri);g.vi.prototype.clone=function(){return new g.vi(this.start,this.end)};
        g.vi.prototype.getLength=function(){return this.end-this.start};var M_=null;var Fi=g.y.performance,Yga=!!(Fi&&Fi.mark&&Fi.measure&&Fi.clearMarks),Di=Dc(function(){var a;if(a=Yga){var b;if(null===M_){M_="";try{a="";try{a=g.y.top.location.hash}catch(c){a=g.y.location.hash}a&&(M_=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=M_;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
        Ei.prototype.disable=function(){this.g=!1;this.events!=this.i.google_js_reporting_queue&&(Di()&&(0,g.D)(this.events,Gi),this.events.length=0)};
        Ei.prototype.start=function(a,b){if(!this.g)return null;var c=Bi()||Ai();c=new Ci(a,b,c);var d="goog_"+c.label+"_"+c.uniqueId+"_start";Fi&&Di()&&Fi.mark(d);return c};
        Ei.prototype.end=function(a){if(this.g&&"number"===typeof a.value){var b=Bi()||Ai();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";Fi&&Di()&&Fi.mark(b);!this.g||2048<this.events.length||this.events.push(a)}};Ji.prototype.i=function(a,b,c,d,e){e=e||this.o;try{var f=new Sh;f.o=!0;Wh(f,1,"context",a);b.error&&b.meta&&b.id||(b=new Ki(Li(b)));b.msg&&Wh(f,2,"msg",b.msg.substring(0,512));var h=b.meta||{};if(this.g)try{this.g(h)}catch(m){}if(d)try{d(h)}catch(m){}b=[h];f.g.push(3);f.i[3]=b;var l=Rh();l.i&&Wh(f,4,"top",l.i.url||"");Wh(f,5,"url",l.g.url||"");ti(this.u,e,f,c)}catch(m){try{ti(this.u,e,{context:"ecmserr",rctx:a,msg:Li(m),url:l&&l.g.url},c)}catch(n){}}return this.l};
        g.t(Ki,ui);var Ii,Ni,Hi=new Ei;(function(){Ii=new si;Ni=new Ji;var a=ph();a&&a.document&&("complete"==a.document.readyState?Pi():Hi.g&&Kg(a,"load",function(){Pi()}))})();var Vi=(0,g.H)(),Zi=-1,Xi=-1,pl,$i=-1,Yi=!1;if(oh&&oh.URL){var N_,Eg=oh.URL;N_=!!Eg&&0<Fg().length;Ni.l=!N_};var Io={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},jl={Fx:"start",kx:"firstquartile",tx:"midpoint",Ix:"thirdquartile",Xw:"complete",rx:"metric",PAUSE:"pause",yx:"resume",Cx:"skip",Kx:"viewable_impression",vx:"mute",Jx:"unmute",lx:"fullscreen",jx:"exitfullscreen",Ww:"bufferstart",Vw:"bufferfinish",mx:"fully_viewable_audible_half_duration_impression",qx:"measurable_impression",Qw:"abandon",gx:"engagedview",nx:"impression",Yw:"creativeview",ox:"loaded",lJ:"progress",CLOSE:"close",
        yH:"collapse",YI:"overlay_resize",ZI:"overlay_unmeasurable_impression",aJ:"overlay_unviewable_impression",cJ:"overlay_viewable_immediate_impression",bJ:"overlay_viewable_end_of_session_impression",Zw:"custom_metric_viewable"},sp="start firstquartile midpoint thirdquartile resume loaded".split(" "),tp=["start","firstquartile","midpoint","thirdquartile"],ql=["abandon"],Tn={UNKNOWN:-1,Fx:0,kx:1,tx:2,Ix:3,Xw:4,rx:5,PAUSE:6,yx:7,Cx:8,Kx:9,vx:10,Jx:11,lx:12,jx:13,mx:14,qx:15,Qw:16,gx:17,nx:18,Yw:19,ox:20,
        Zw:21,Ww:22,Vw:23};kj.prototype.update=function(a){a&&a.document&&(this.D=rh(!1,a,this.B),this.g=rh(!0,a,this.B),mj(this,a),lj(this,a))};
        Ma(kj);var oj=new g.Mg(0,0,0,0);xj.prototype.ga=function(){return this.D};zj.prototype.cancel=function(){fi().clearTimeout(this.g);this.g=null};
        zj.prototype.schedule=function(){var a=this;this.g=fi().setTimeout(mi(ri.getInstance().g.g,Ti(143,function(){a.i++;a.l.Pv()})),aj(ri.getInstance().i))};g.k=Aj.prototype;g.k.yg=function(){return this.Dd()};
        g.k.Dd=function(){return!1};
        g.k.initialize=function(){this.I=!0};
        g.k.bi=function(){return this.N};
        g.k.getName=function(){return this.l==this?this.Z:this.l.getName()};
        g.k.Me=function(){return{}};
        g.k.Pe=function(){return this.B};
        g.k.Nt=function(){var a=kj.getInstance();a.g=rh(!0,this.Gc,a.B)};
        g.k.Ot=function(){lj(kj.getInstance(),this.Gc)};
        g.k.NA=function(){mj(kj.getInstance(),this.Gc)};
        g.k.Hs=function(){return this.i.g};
        g.k.Pv=function(){};
        g.k.si=function(a){var b=this.B,c=a.Pe();this.l=c<this.D?this:a;this.B=this.l!=this?c:this.D;this.B!=b&&Bj(this)};
        g.k.Ug=function(a){this.l!=this&&Hj(this,a)};
        g.k.we=function(){return this.A};
        g.k.dispose=function(){this.Mb=!0};
        g.k.da=function(){return this.Mb};g.k=Ij.prototype;g.k.vo=function(){return!0};
        g.k.kl=function(){};
        g.k.ak=function(){this.element&&(this.i=pj(this.element,this.g.Gc))};
        g.k.lr=function(){this.D=this.g.i.g};
        g.k.Ie=function(){this.ak();this.o=new xj(this.g.i,this.element,this.i,this.o.g,this.o.i,this.o.B,Wi(),this.o.l)};
        g.k.dispose=function(){if(!this.da()){var a=this.g;g.pb(a.o,this);a.A&&this.we()&&Fj(a);this.Mb=!0}};
        g.k.da=function(){return this.Mb};
        g.k.Me=function(){return this.u.Me()};
        g.k.Pe=function(){return this.u.Pe()};
        g.k.bi=function(){return this.u.bi()};
        g.k.si=function(a){this.u=a};
        g.k.Ug=function(){this.Ie()};
        g.k.we=function(){return this.I};g.k=Jj.prototype;g.k.Pe=function(){return this.g.Pe()};
        g.k.bi=function(){return this.g.bi()};
        g.k.create=function(a,b,c){var d=null;this.g&&(d=this.jl(a,b,c),Dj(this.g,d));return d};
        g.k.yg=function(){return this.Dd()};
        g.k.Dd=function(){return!1};
        g.k.init=function(){return!0};
        g.k.dispose=function(){this.Mb=!0};
        g.k.da=function(){return this.Mb};
        g.k.Me=function(){return{}};Nj.prototype.add=function(a,b,c){++this.l;a=new Kj(a,b,c);this.g.push(new Kj(a.i,a.g,a.l+this.l/4096));this.i=!0;return this};Tj.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Rj(this.g);0<b.length&&(a+="?"+b);return a};Ma(Xj);g.J.prototype.Mb=!1;g.J.prototype.da=function(){return this.Mb};
        g.J.prototype.dispose=function(){this.Mb||(this.Mb=!0,this.S())};
        g.J.prototype.S=function(){if(this.rg)for(;this.rg.length;)this.rg.shift()()};ck.prototype.update=function(a,b,c){a&&(this.g+=b,this.i+=b,this.o+=b,this.l=Math.max(this.l,this.o));if(void 0===c?!a:c)this.o=0};var dk=[1,.75,.5,.3,0];fk.prototype.update=function(a,b,c,d,e,f){f=void 0===f?!0:f;b=e?Math.min(a,b):b;for(e=0;e<this.i.length;e++){var h=this.i[e],l=0<b&&b>=h;h=!(0<a&&a>=h)||c;this.g[e].update(f&&l,d,!f||h)}};pk.prototype.update=function(a,b,c,d){this.B=-1!=this.B?Math.min(this.B,b.Ua):b.Ua;this.I=Math.max(this.I,b.Ua);this.J=-1!=this.J?Math.min(this.J,b.Ec):b.Ec;this.N=Math.max(this.N,b.Ec);this.ia.update(b.Ec,c.Ec,b.g,a,d);this.i.update(b.Ua,c.Ua,b.g,a,d);c=d||c.hg!=b.hg?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;this.V.update(c,a,b)};
        pk.prototype.kg=function(){return this.V.l>=this.ma};var rk=new g.Mg(0,0,0,0);g.t(uk,g.J);g.k=uk.prototype;g.k.S=function(){this.ac.g&&(this.Xf.No&&(Lg(this.ac.g,"mouseover",this.Xf.No),this.Xf.No=null),this.Xf.Mo&&(Lg(this.ac.g,"mouseout",this.Xf.Mo),this.Xf.Mo=null));this.pj&&this.pj.dispose();this.Ka&&this.Ka.dispose();delete this.al;delete this.bl;delete this.qw;delete this.ac.Gf;delete this.ac.g;delete this.Xf;delete this.pj;delete this.Ka;delete this.ya;g.J.prototype.S.call(this)};
        g.k.dd=function(){return this.Ka?this.Ka.i:this.position};
        g.k.bp=function(a){ri.getInstance().bp(a)};
        g.k.we=function(){return!1};
        g.k.Dk=function(){return new pk};
        g.k.Rc=function(){return this.al};
        g.k.Ct=function(){};
        g.k.Bt=function(){};
        g.k.Os=function(){};
        g.k.om=function(){};
        g.k.yh=function(a,b,c,d,e,f,h,l){f=void 0===f?{}:f;h=void 0===h?this.Gs(c,f):h;l=void 0===l?-1:l;if(!this.bh){g.Ja(b)||(this.Ti=new g.$d(a.left-b.left,a.top-b.top));if(this.mk){f=this.Rm(a,b,d,f,l);e=e&&this.zc.Ua>=(this.hg()?.3:.5);this.Op(h,f,e);this.Fi=c;0<f.Ua&&-1===this.kw&&(this.kw=c);-1==this.mw&&this.kg()&&(this.mw=c);if(-2==this.qo)try{a:{var m=g.Ja(b)?null:b;if(a&&a!=rk&&0!=rj(this.dd())){var n=kj.getInstance();if(!m){if(!n.g){var p=-1;break a}m=new g.Mg(0,n.g.Qe(),n.g.getHeight(),0)}p=
        m.Qe&&0<m.Qe()&&m.getHeight&&0<m.getHeight()?this.Oh(a,m):-1}else p=-1}this.qo=p}catch(q){Ui(207,q)}this.zc=f;d&&(this.zc.Ua=0)}this.bl(this)}};
        g.k.Op=function(a,b,c){this.Rc().update(a,b,this.zc,c)};
        g.k.xn=function(){return new th};
        g.k.Rm=function(a,b,c,d,e){e=void 0===e?-1:e;d=this.xn();d.g=c;c=fi().i;c=0===Lh(oh)?-1:c.isVisible()?0:1;d.i=c;if(g.Ja(b))d.Ua=this.Oh(b),d.Ec=e;else{d.Ua=this.Oh(a,b);var f;0<=e?f=e:f=d.Ua*rj(a)/(I.screen.height*I.screen.width);d.Ec=f}d.hg=this.hg();return d};
        g.k.Gs=function(a){if(-1==this.Fi)return 0;a=a-this.Fi||1;return 1E4<a?1:a};
        g.k.Oh=function(a,b){if(0===this.opacity&&1===Eh(this.ya,"opac"))return 0;if(g.Ja(a))return a;var c=qj(a,b),d=1==Eh(this.ya,"od");if(0>=rj(this.dd())||vj(c,b,this.ac.g,d))return 0;d=rj(c)/rj(this.dd());c=sj(c,b);return this.lj()?Math.max(d,c):d};
        g.k.hg=function(){return!1};
        g.k.lj=function(){return!1};
        g.k.ge=function(){return 0};
        g.k.kg=function(){return this.al.kg()};var Dk="StopIteration"in g.y?g.y.StopIteration:{message:"StopIteration",stack:""};Ck.prototype.next=function(){throw Dk;};
        Ck.prototype.Ge=function(){return this};g.t(Jk,th);Qk.prototype.getValue=function(){return this.i};
        Qk.prototype.update=function(a,b){32<=a||(this.g&1<<a&&!b?this.i&=~(1<<a):this.g&1<<a||!b||(this.i|=1<<a),this.g|=1<<a)};g.t(Rk,pk);
        Rk.prototype.update=function(a,b,c,d){if(!b.paused){pk.prototype.update.call(this,a,b,c,d);var e=Kk(b)&&Kk(c),f=.5<=(d?Math.min(b.Ua,c.Ua):c.Ua);hj(b.volume)&&(this.o=-1!=this.o?Math.min(this.o,b.volume):b.volume,this.A=Math.max(this.A,b.volume));f&&(this.R+=a,this.F+=e?a:0);this.g.update(b.Ua,c.Ua,b.g,a,d,e);this.l.update(!0,a);this.u.update(e,a);this.H.update(c.fullscreen,a);this.ka.update(e&&!f,a);a=Math.floor(b.l/1E3);this.U.update(a,b.isVisible());this.ca.update(a,1<=b.Ua);this.Z.update(a,Kk(b))}};g.t(Uk,Tk);Uk.prototype.l=function(){return!0};
        Uk.prototype.u=function(){return!1};
        Uk.prototype.getId=function(){var a=this,b=jc(jl,function(c){return c==a.o});
        return Tn[b].toString()};
        Uk.prototype.toString=function(){var a="";this.u()&&(a+="c");this.g&&(a+="s");0<this.i&&(a+=":"+this.i);return this.getId()+a};var Zga=new g.Mg(0,0,0,0),O_={},ll=(O_.firstquartile=0,O_.midpoint=1,O_.thirdquartile=2,O_.complete=3,O_);g.t(Xk,uk);g.k=Xk.prototype;g.k.we=function(){return!0};
        g.k.Ct=function(a){var b=this,c=a-this.Ba;this.ca&&1E3>=c||(c=g.z("ima.bridge.getNativeViewability"),g.Qa(c)&&(c(this.Sb,function(d){b.ca=!1;g.lc(d)&&b.ia++;b.om(d)}),this.ca=!0,this.Ba=a))};
        g.k.Bt=function(a){var b=ri.getInstance();a-this.Aa>aj(b.i)&&(a=g.z("ima.admob.getViewability"),g.Qa(a)&&a(this.Sb))};
        g.k.Os=function(a){this.Aa=Wi();this.om(a)};
        g.k.om=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume;b=new g.Mg(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);a=a.opt_nativeViewHidden?Zga.clone():new g.Mg(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);c=void 0;if("n"==this.o||"ml"==this.o)c={volume:e};e=c;e=void 0===e?{}:e;this.position=b;this.yh(b,a,d,!1,!0,e)};
        g.k.yh=function(a,b,c,d,e,f,h,l){var m=this;f=void 0===f?{}:f;var n=this.V(this)||{};g.tc(n,f);this.u=n.duration||this.u;this.F=n.isVpaid||this.F;this.Z=n.isYouTube||this.Z;uk.prototype.yh.call(this,a,b,c,d,e,n,h,l);(1!=Eh(ri.getInstance().ya,"buvpe")||this.lg&&this.lg.g)&&(0,g.D)(this.B,function(p){p.g||(p.g=Wk(p,m))})};
        g.k.Op=function(a,b,c){uk.prototype.Op.call(this,a,b,c);al(this).update(a,b,this.zc,c);this.sa=Kk(this.zc)&&Kk(b);-1==this.N&&this.ua&&(this.N=this.Rc().l.g);this.Lb.l=0;a=this.kg();b.isVisible()&&Mk(this.Lb,"vs");a&&Mk(this.Lb,"vw");hj(b.volume)&&Mk(this.Lb,"am");Kk(b)&&Mk(this.Lb,"a");this.Wg&&Mk(this.Lb,"f");-1!=b.i&&(Mk(this.Lb,"bm"),1==b.i&&Mk(this.Lb,"b"));Kk(b)&&b.isVisible()&&Mk(this.Lb,"avs");this.sa&&a&&Mk(this.Lb,"avw");0<b.Ua&&Mk(this.Lb,"pv");el(this,this.Rc().l.g,!0)&&Mk(this.Lb,"gdr");
        2E3<=lk(this.Rc().i,1)&&Mk(this.Lb,"pmx")};
        g.k.Dk=function(){return new Rk};
        g.k.Rc=function(){return this.al};
        g.k.xn=function(){return new Jk};
        g.k.Rm=function(a,b,c,d,e){a=uk.prototype.Rm.call(this,a,b,c,d,void 0===e?-1:e);a.fullscreen=this.Wg;a.paused=2==this.Yb;a.volume=d.volume;hj(a.volume)||(this.Ja++,b=this.zc,hj(b.volume)&&(a.volume=b.volume));d=d.currentTime;a.l=g.u(d)&&0<=d?d:-1;return a};
        g.k.Gs=function(a,b){var c=g.u(b.currentTime)?b.currentTime:this.I;if(-1==this.Fi||2==this.Yb)var d=0;else{d=a-this.Fi||1;var e=1E4;g.u(this.u)&&-1!=this.u&&(e=Math.max(e,this.u/3));d=d>e?1:d}e=c-this.I;var f=0;0<=e?(this.H+=d,this.U+=Math.max(d-e,0),f=Math.min(e,this.H)):this.ma+=Math.abs(e);0!=e&&(this.H=0);-1==this.ka&&0<e&&(this.ka=0<=$i?Wi()-$i:-1);this.I=c;return 1==bl(this)?f:d};
        g.k.Oh=function(a,b){return this.za?0:this.Wg?1:uk.prototype.Oh.call(this,a,b)};
        g.k.ge=function(){return 1};
        g.k.getDuration=function(){return this.u};var $ga=(0,g.H)();g.lq=g.y.JSON.stringify;zl.prototype.reset=function(){this.g=[];this.i=[]};
        Ma(zl);var Dl=zl.getInstance();Ma(Jl);g.t(Ll,Ij);Ll.prototype.ct=function(a){var b=1==Eh(this.ya,"od");return vj(a,this.D,this.element,b)};
        Ll.prototype.mr=function(){var a=this.g.i;this.timestamp=-1===a.time?Wi():a.time};
        Ll.prototype.Ie=function(){this.mr();this.ak();this.lr();var a=qj(this.i,this.D);var b=a.top>=a.bottom||a.left>=a.right?new g.Mg(0,0,0,0):a;a=this.g.i;var c=0,d=0,e=0;0<(this.i.bottom-this.i.top)*(this.i.right-this.i.left)&&(this.ct(b)?b=new g.Mg(0,0,0,0):(c=kj.getInstance().o,e=new g.Mg(0,c.height,c.width,0),c=sj(b,this.i),d=sj(b,kj.getInstance().g),e=sj(b,e)));b=b.top>=b.bottom||b.left>=b.right?new g.Mg(0,0,0,0):Og(b,-this.i.left,-this.i.top);this.o=new xj(a,this.element,this.i,b,c,d,this.timestamp,
        e)};
        Ll.prototype.getName=function(){return this.u.getName()};g.t(Nl,Jj);g.k=Nl.prototype;g.k.getName=function(){return(this.i?this.i:this.g).getName()};
        g.k.Me=function(){return(this.i?this.i:this.g).Me()};
        g.k.Pe=function(){return(this.i?this.i:this.g).Pe()};
        g.k.init=function(a){this.o=a;(0,g.D)(this.l,function(b){return b.initialize()});
        Dj(this.g,this);return!0};
        g.k.dispose=function(){(0,g.D)(this.l,function(a){a.dispose()});
        Jj.prototype.dispose.call(this)};
        g.k.yg=function(){return(0,g.ij)(this.l,function(a){return a.yg()})};
        g.k.Dd=function(){return(0,g.ij)(this.l,function(a){return a.Dd()})};
        g.k.jl=function(a,b,c){return new Ll(a,this.g,b,c)};
        g.k.si=function(a){0==a.Pe()&&this.o(a.bi(),this)};
        g.k.Ug=function(a){this.i=a.l};
        g.k.we=function(){return!1};g.t(Ol,Ll);g.k=Ol.prototype;g.k.vo=function(){var a=this;this.H||(this.H=Wi());if(Si(298,function(){return Ul(a)}))return!0;
        Cj(this.g,"msf");return!1};
        g.k.ak=function(){};
        g.k.ct=function(){return!1};
        g.k.lr=function(){};
        g.k.Me=function(){var a={};return Object.assign(this.g.Me(),(a.niot_obs=this.H,a.niot_cbk=this.F,a))};var Tl={threshold:[0,.3,.5,.75,1]};g.t(Rl,Ol);Rl.prototype.getName=function(){return"nio"};
        Rl.prototype.kl=function(){if(this.l&&this.element)try{this.l.unobserve(this.element),this.B?(this.B.unobserve(this.element),this.B=null):this.A&&(this.A.disconnect(),this.A=null)}catch(a){}};
        Rl.prototype.Ie=function(){var a=Sl(this);0<a.length&&Ql(this,a);Ol.prototype.Ie.call(this)};g.t(Vl,Jj);Vl.prototype.getName=function(){return"nio"};
        Vl.prototype.Dd=function(){return"exc"!==ri.getInstance().Ka&&!kj.getInstance().i&&null!=this.g.Gc.IntersectionObserver};
        Vl.prototype.jl=function(a,b,c){return new Rl(a,this.g,b,c)};g.t(Xl,Aj);Xl.prototype.Hs=function(){return kj.getInstance().g};
        Xl.prototype.Dd=function(){this.D=Wl();return 2==this.D};
        Ma(Xl);Ma(Yl);g.Zl.prototype.stopPropagation=function(){this.g=!0};
        g.Zl.prototype.preventDefault=function(){this.Ov=!1};var um=!g.oe||g.Xd(9),aha=g.oe&&!g.Vd("9");!g.ne||g.Vd("528");g.Ug&&g.Vd("1.9b")||g.oe&&g.Vd("8")||g.Vg&&g.Vd("9.5")||g.ne&&g.Vd("528");g.Ug&&!g.Vd("8")||g.oe&&g.Vd("9");var qm=function(){if(!g.y.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
        try{g.y.addEventListener("test",g.La,b),g.y.removeEventListener("test",g.La,b)}catch(c){}return a}();g.Za($l,g.Zl);var bha={2:"touch",3:"pen",4:"mouse"};
        $l.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?g.Ug&&(Qd(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.clientX=void 0!==
        a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=g.w(a.pointerType)?a.pointerType:bha[a.pointerType]||"";this.state=a.state;this.i=a;a.defaultPrevented&&this.preventDefault()};
        $l.prototype.stopPropagation=function(){$l.Ta.stopPropagation.call(this);this.i.stopPropagation?this.i.stopPropagation():this.i.cancelBubble=!0};
        $l.prototype.preventDefault=function(){$l.Ta.preventDefault.call(this);var a=this.i;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,aha)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var cm;g.am="closure_listenable_"+(1E6*Math.random()|0);cm=0;fm.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.g++);var h=im(a,b,d,e);-1<h?(b=a[h],c||(b.ck=!1)):(b=new dm(b,this.src,f,!!d,e),b.ck=c,a.push(b));return b};
        fm.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=im(e,b,c,d);return-1<b?(em(e[b]),g.ob(e,b),0==e.length&&(delete this.listeners[a],this.g--),!0):!1};
        fm.prototype.ci=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=im(a,b,c,d));return-1<e?a[e]:null};var om="closure_lm_"+(1E6*Math.random()|0),xm={},sm=0,Am="__closure_events_fn_"+(1E9*Math.random()>>>0);g.Za(g.Bm,g.J);g.Bm.prototype[g.am]=!0;g.k=g.Bm.prototype;g.k.Wl=ca(0);g.k.addEventListener=function(a,b,c,d){g.km(this,a,b,c,d)};
        g.k.removeEventListener=function(a,b,c,d){g.vm(this,a,b,c,d)};
        g.k.dispatchEvent=function(a){var b=this.H;if(b){var c=[];for(var d=1;b;b=b.H)c.push(b),++d}b=this.Z;d=a.type||a;if(g.w(a))a=new g.Zl(a,b);else if(a instanceof g.Zl)a.target=a.target||b;else{var e=a;a=new g.Zl(d,b);g.tc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.g&&0<=f;f--){var h=a.currentTarget=c[f];e=Cm(h,d,!0,a)&&e}a.g||(h=a.currentTarget=b,e=Cm(h,d,!0,a)&&e,a.g||(e=Cm(h,d,!1,a)&&e));if(c)for(f=0;!a.g&&f<c.length;f++)h=a.currentTarget=c[f],e=Cm(h,d,!1,a)&&e;return e};
        g.k.S=function(){g.Bm.Ta.S.call(this);this.Td&&g.hm(this.Td);this.H=null};
        g.k.va=function(a,b,c,d){return this.Td.add(String(a),b,!1,c,d)};
        g.k.Vk=function(a,b,c,d){return this.Td.add(String(a),b,!0,c,d)};
        g.k.bb=function(a,b,c,d){this.Td.remove(String(a),b,c,d)};
        g.k.ci=function(a,b,c,d){return this.Td.ci(String(a),b,c,d)};Dm.prototype.get=function(){if(0<this.i){this.i--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};var Gm;var Rm=new Dm(function(){return new Km},function(a){a.reset()});
        Jm.prototype.add=function(a,b){var c=Rm.get();c.set(a,b);this.i?this.i.next=c:this.g=c;this.i=c};
        Jm.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.i=null),a.next=null);return a};
        Km.prototype.set=function(a,b){this.Ke=a;this.scope=b;this.next=null};
        Km.prototype.reset=function(){this.next=this.scope=this.Ke=null};var Lm,Nm=!1,Om=new Jm;Vm.prototype.reset=function(){this.context=this.onRejected=this.l=this.g=null;this.i=!1};
        var Wm=new Dm(function(){return new Vm},function(a){a.reset()});
        Um.prototype.then=function(a,b,c){return kn(this,g.Qa(a)?a:null,g.Qa(b)?b:null,c)};
        Um.prototype.$goog_Thenable=!0;Um.prototype.cancel=function(a){0==this.g&&g.Pm(function(){var b=new qn(a);mn(this,b)},this)};
        Um.prototype.F=function(a){this.g=0;Tm(this,2,a)};
        Um.prototype.H=function(a){this.g=0;Tm(this,3,a)};
        Um.prototype.D=function(){for(var a;a=nn(this);)on(this,a,this.g,this.B);this.A=!1};
        var un=Fm;g.Za(qn,$a);qn.prototype.name="cancel";g.Za(g.vn,g.Bm);g.k=g.vn.prototype;g.k.enabled=!1;g.k.xa=null;g.k.setInterval=function(a){this.yc=a;this.xa&&this.enabled?(this.stop(),this.start()):this.xa&&this.stop()};
        g.k.oc=function(){if(this.enabled){var a=(0,g.H)()-this.vt;0<a&&a<.8*this.yc?this.xa=this.sj.setTimeout(this.jr,this.yc-a):(this.xa&&(this.sj.clearTimeout(this.xa),this.xa=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
        g.k.start=function(){this.enabled=!0;this.xa||(this.xa=this.sj.setTimeout(this.jr,this.yc),this.vt=(0,g.H)())};
        g.k.stop=function(){this.enabled=!1;this.xa&&(this.sj.clearTimeout(this.xa),this.xa=null)};
        g.k.S=function(){g.vn.Ta.S.call(this);this.stop();delete this.sj};g.Za(g.yn,g.J);g.k=g.yn.prototype;g.k.Rg=!1;g.k.mi=0;g.k.xa=null;g.k.li=function(a){this.g=arguments;this.xa||this.mi?this.Rg=!0:zn(this)};
        g.k.stop=function(){this.xa&&(g.y.clearTimeout(this.xa),this.xa=null,this.Rg=!1,this.g=[])};
        g.k.pause=function(){this.mi++};
        g.k.resume=function(){this.mi--;this.mi||!this.Rg||this.xa||(this.Rg=!1,zn(this))};
        g.k.S=function(){g.yn.Ta.S.call(this);this.stop()};
        g.k.Qy=function(){this.xa=null;this.Rg&&!this.mi&&(this.Rg=!1,zn(this))};An.prototype.A=function(){Gn(this,El(),!1)};
        An.prototype.Pv=function(){Gn(this,El(),!1)};
        An.prototype.F=function(){var a=nj(),b=Wi();a?(Yi||(Zi=b,(0,g.D)(Dl.g,function(c){var d=c.Rc();d.Y=Sk(d,b,1!=c.Yb)})),Yi=!0):(this.J=In(this,b),Yi=!1,pl=b,(0,g.D)(Dl.g,function(c){c.mk&&(c.Rc().D=b)}));
        Gn(this,El(),!a)};
        Ma(An);var Cn=An.getInstance();var Kn=null,zo="",xo=!1;var P_=Rn([void 0,1,2,3,4,8,16]),Q_=Rn([void 0,4,8,16]),cha={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Qn("p0",Q_),p1:Qn("p1",Q_),p2:Qn("p2",Q_),p3:Qn("p3",Q_),tos:"tos",mtos:"mtos",mtos1:Pn("mtos1",[0,2,4],!1,Q_),mtos2:Pn("mtos2",[0,2,4],!1,Q_),mtos3:Pn("mtos3",[0,2,4],!1,Q_),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Qn("a0",Q_),a1:Qn("a1",Q_),a2:Qn("a2",Q_),a3:Qn("a3",Q_),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",vpt:"vpt",gmm:"gmm",std:"std",
        efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:Qn("c0",Q_),c1:Qn("c1",Q_),c2:Qn("c2",Q_),c3:Qn("c3",Q_),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Qn("qmtos",P_),qnc:Qn("qnc",P_),qmv:Qn("qmv",P_),qnv:Qn("qnv",P_),raf:"raf",rafc:"rafc",lte:"lte",
        ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:Qn("ss0",Q_),ss1:Qn("ss1",Q_),ss2:Qn("ss2",Q_),ss3:Qn("ss3",Q_),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids"},dha={c:Mn("c"),at:"at",atos:Pn("atos",[0,2,4]),ta:function(a,b){return function(c){if(!g.u(c[a]))return b}}("tth",
        "1"),
        a:"a",dur:"dur",p:"p",tos:On(),j:"dom",mtos:Pn("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Mn("ss"),vsv:Bc("w2"),t:"t"},eha={atos:"atos",amtos:"amtos",avt:Pn("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Mn("ss"),t:"t"},fha={a:"a",tos:On(),at:"at",c:Mn("c"),mtos:Pn("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Bc("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},gha={tos:On(),at:"at",c:Mn("c"),mtos:Pn("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Bc("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
        qmpt:Pn("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if(g.Ja(d))return(0,g.Le)(b,function(e){return 0<d&&d>=e?1:0})}}("qnc",[1,
        .5,0]),qmv:"qmv",qa:"qas",a:"a"};g.t(Wn,Uk);Wn.prototype.l=function(a){return a.Rc().kg()};g.t($n,Yn);$n.prototype.g=function(a){var b=new Xn;b.g=Zn(a,cha);b.l=Zn(a,eha);return b};var hha=new g.Mg(0,0,0,0);g.t(ao,Ll);g.k=ao.prototype;g.k.vo=function(){this.l();return!0};
        g.k.Ug=function(){Ll.prototype.Ie.call(this)};
        g.k.mr=function(){};
        g.k.ak=function(){};
        g.k.Ie=function(){this.l();Ll.prototype.Ie.call(this)};g.t(bo,ao);bo.prototype.l=function(){var a=g.z("ima.admob.getViewability"),b=Eh(this.ya,"queryid");g.Qa(a)&&b&&a(b)};
        bo.prototype.getName=function(){return"gsv"};g.t(co,Jj);co.prototype.yg=function(){return 1===Eh(ri.getInstance().ya,"gms")&&this.Dd()};
        co.prototype.getName=function(){return"gsv"};
        co.prototype.Dd=function(){var a=kj.getInstance();ri.getInstance();return a.i&&!1};
        co.prototype.jl=function(a,b,c){return new bo(this.g,b,c)};g.t(eo,ao);eo.prototype.l=function(){var a=this,b=g.z("ima.bridge.getNativeViewability"),c=Eh(this.ya,"queryid");g.Qa(b)&&c&&b(c,function(d){var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.i=gj(d.opt_nativeViewBounds||{});var h=a.g.i;h.g=f?hha.clone():gj(e);a.timestamp=d.opt_nativeTime||-1;kj.getInstance().g=h.g;d=d.opt_nativeVolume;void 0!==d&&(h.volume=d)})};
        eo.prototype.getName=function(){return"nis"};g.t(fo,Jj);fo.prototype.yg=function(){return 1===Eh(ri.getInstance().ya,"imams")&&this.Dd()};
        fo.prototype.getName=function(){return"nis"};
        fo.prototype.Dd=function(){var a=kj.getInstance();ri.getInstance();return a.i&&!1};
        fo.prototype.jl=function(a,b,c){return new eo(this.g,b,c)};var go={NG:"addEventListener",aI:"getMaxSize",bI:"getScreenSize",cI:"getState",dI:"getVersion",rJ:"removeEventListener"};g.t(ho,Aj);g.k=ho.prototype;g.k.Dd=function(){return null!=this.g};
        g.k.Me=function(){var a={};this.U&&(a.mraid=this.U);this.R&&(a.mlc=1);this.H&&(a.mtop=this.H);this.F&&(a.mse=this.F);return a};
        g.k.qh=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{return this.g[a].apply(this.g,c)}catch(e){Ui(538,e,.01,function(f){f.method=a})}};
        g.k.initialize=function(){var a=this;if(!this.I){this.I=!0;a:switch(this.H){case 0:case 3:var b=!0;break a;default:b=!1}b?(kj.getInstance().F=!0,this.Gc.document.readyState&&"complete"==this.Gc.document.readyState?mo(this):ej(this.Gc,"load",function(){fi().setTimeout(Ti(292,function(){return mo(a)}),100)},292)):Cj(this,"i")}};
        g.k.Nt=function(){var a=kj.getInstance(),b=ro(this,"getMaxSize");a.g=new g.Mg(0,b.width,b.height,0)};
        g.k.Ot=function(){kj.getInstance().o=ro(this,"getScreenSize")};
        g.k.dispose=function(){oo(this);Aj.prototype.dispose.call(this)};
        Ma(ho);g.k=to.prototype;g.k.Rh=function(a){vk(a,!1);Gl(a)};
        g.k.Hk=function(){};
        g.k.Rl=function(a,b,c,d){this.i||(this.i=this.Gr());b=c?b:-1;a=null==this.i?new Xk(I,a,b,7):new Xk(I,a,b,7,new Uk("measurable_impression",this.i),this.Bn());a.Sb=d;d=a.ya;d.g.queryid||(d.g.queryid=new Ah);Dh(a.ya,"queryid",a.Sb);a.bp("");return a};
        g.k.Bn=function(){return[new Wn("viewable_impression",this.i)]};
        g.k.si=function(a){switch(a.Pe()){case 0:if(a=Jl.getInstance().g)a=a.g,g.pb(a.o,this),a.A&&this.we()&&Fj(a);wo();break;case 2:En()}};
        g.k.Ug=function(){};
        g.k.we=function(){return!1};
        g.k.hz=function(a,b){a.bh=!0;switch(a.ge()){case 1:Do(this,a,b);break;case 2:this.lp(a)}this.vp()};
        g.k.pz=function(a){hl(a,0);return ml(a,"start",nj())};
        g.k.xh=function(a,b,c){Gn(Cn,[a],!nj());return this.zf(a,b,c)};
        g.k.zf=function(a,b,c){return ml(a,c,nj())};
        g.k.kz=function(a){return Eo(a,"firstquartile",1)};
        g.k.mz=function(a){a.ua=!0;return Eo(a,"midpoint",2)};
        g.k.qz=function(a){return Eo(a,"thirdquartile",3)};
        g.k.iz=function(a){var b=Eo(a,"complete",4);Zk(a);return b};
        g.k.Nv=function(a,b,c){b=nj();if(2==a.Yb&&!b){var d=Wi();a.Rc().D=d}Gn(Cn,[a],!b);2==a.Yb&&(a.Yb=1);return ml(a,c,b)};
        g.k.oz=function(a,b){var c=this.xh(a,b||{},"skip");Zk(a);return c};
        g.k.lz=function(a,b){vk(a,!0);return this.xh(a,b||{},"fullscreen")};
        g.k.jz=function(a,b){vk(a,!1);return this.xh(a,b||{},"exitfullscreen")};
        g.k.Yo=function(a,b,c){b=a.Rc();var d=Wi();b.Y=Sk(b,d,1!=a.Yb);Gn(Cn,[a],!nj());1==a.Yb&&(a.Yb=2);return ml(a,c,nj())};
        g.k.nz=function(a){Gn(Cn,[a],!nj());return a.i()};
        g.k.Mn=function(a){Gn(Cn,[a],!nj());this.Kv(a);Zk(a);return a.i()};
        g.k.Kn=function(){};
        g.k.lp=function(){};
        g.k.Kv=function(){};
        g.k.Et=function(){};
        g.k.vp=function(){};
        g.k.Gr=function(){};var No={UH:"visible",dH:"audible",JJ:"time",KJ:"timetype"},Oo={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},
        audible:function(a){return"0"==a||"1"==a},
        timetype:function(a){return"mtos"==a||"tos"==a},
        time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}};g.t(Ro,Uk);Ro.prototype.getId=function(){return this.B};
        Ro.prototype.u=function(){return!0};
        Ro.prototype.l=function(a){var b=a.Rc(),c=a.getDuration();return(0,g.ij)(this.A,function(d){if(void 0!=d.g)var e=Qo(d,b);else b:{switch(d.u){case "mtos":e=d.i?b.u.l:b.l.g;break b;case "tos":e=d.i?b.u.g:b.l.g;break b}e=0}0==e?d=!1:(d=-1!=d.l?d.l:g.u(c)&&0<c?d.o*c:-1,d=-1!=d&&e>=d);return d})};g.t(So,Uk);So.prototype.l=function(a){var b=jk(a.Rc().g,1);return el(a,b)};var Uo=(0,g.H)(),ap=!1,bp=!1,cp=!1,Xo=[function(a){return!(!a.chrome||!a.chrome.webstore)},
        function(a){return!!a.document.documentMode},
        function(a){return!!a.document.fonts.ready},
        function(){return Vo(0)},
        function(a){return!!a.ActiveXObject},
        function(a){return!!a.chrome},
        function(a){return!!a.navigator.serviceWorker},
        function(a){return!!a.opera},
        function(a){return!!a.sidebar},
        function(){return!+"\v1"},
        function(){return Vo(1)},
        function(a){return!a.ActiveXObject},
        function(a){return"-ms-ime-align"in a.document.documentElement.style},
        function(a){return"-ms-scroll-limit"in a.document.documentElement.style},
        function(a){return"-webkit-font-feature-settings"in a.document.body.style},
        function(){return Vo(2)},
        function(a){return"ActiveXObject"in a},
        function(a){return"MozAppearance"in a.document.documentElement.style},
        function(a){return"_phantom"in a},
        function(a){return"callPhantom"in a},
        function(a){return"content"in a.document.createElement("template")},
        function(a){return"getEntriesByType"in a.performance},
        function(){return Vo(3)},
        function(a){return"image-rendering"in a.document.body.style},
        function(a){return"object-fit"in a.document.body.style},
        function(a){return"open"in a.document.createElement("details")},
        function(a){return"orientation"in a.screen},
        function(a){return"performance"in a},
        function(a){return"shape-image-threshold"in a.document.body.style},
        function(){return Vo(4)},
        function(a){return"srcset"in a.document.createElement("img")},
        function(){return bp},
        function(){return cp},
        function(){return Vo(5)},
        function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width},
        function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width},
        function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');try{DummyFunction1()}catch(b){a=!0}return a},
        function(){var a=!1;try{DummyFunction2()}catch(b){a=!0}return a},
        function(){return!1},
        function(){return Vo(6)},
        function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||To(a.navigator.vibrate)},
        function(a){a=a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]},
        function(a){a=a.document.createElement("div");return To(a.matches)},
        function(a){a=a.document.createElement("input");a.setAttribute("type","range");return"text"!==a.type},
        function(a){return a.CSS.supports("image-rendering","pixelated")},
        function(a){return a.CSS.supports("object-fit","contain")},
        function(){return Vo(7)},
        function(a){return a.CSS.supports("object-fit","inherit")},
        function(a){return a.CSS.supports("shape-image-threshold","0.9")},
        function(a){return a.CSS.supports("word-break","keep-all")},
        function(){return eval("1 == [for (item of [1,2,3]) item][0]")},
        function(a){return To(a.CSS.supports)},
        function(){return To(Intl.Collator)},
        function(a){return To(a.document.createElement("dialog").show)},
        function(){return Vo(8)},
        function(a){return To(a.document.createElement("div").animate([{transform:"scale(1)",easing:"ease-in"},{transform:"scale(1.3)",easing:"ease-in"}],{duration:1300,iterations:1}).reverse)},
        function(a){return To(a.document.createElement("div").animate)},
        function(a){return To(a.document.documentElement.webkitRequestFullScreen)},
        function(a){return To(a.navigator.getBattery)},
        function(a){return To(a.navigator.permissions.query)},
        function(){return!1},
        function(){return Vo(9)},
        function(){return To(webkitRequestAnimationFrame)},
        function(a){return To(a.BroadcastChannel.call)},
        function(a){return To(a.FontFace)},
        function(a){return To(a.Gamepad)},
        function(){return Vo(10)},
        function(a){return To(a.MutationEvent)},
        function(a){return To(a.MutationObserver)},
        function(a){return To(a.crypto.getRandomValues)},
        function(a){return To(a.document.body.createShadowRoot)},
        function(a){return To(a.document.body.webkitCreateShadowRoot)},
        function(a){return To(a.fetch)},
        function(){return Vo(11)},
        function(a){return To(a.navigator.serviceWorker.register)},
        function(a){return To(a.navigator.webkitGetGamepads)},
        function(a){return To(a.speechSynthesis.speak)},
        function(a){return To(a.webkitRTCPeerConnection)},
        function(a){return a.CSS.supports("--fake-var","0")},
        function(){return Vo(12)},
        function(a){return a.CSS.supports("cursor","grab")},
        function(a){return a.CSS.supports("cursor","zoom-in")},
        function(a){return a.CSS.supports("image-orientation","270deg")},
        function(){return Vo(13)},
        function(a){return a.CSS.supports("position","sticky")},
        function(a){return void 0===a.document.createElement("style").scoped},
        function(a){return a.performance.getEntriesByType("resource")instanceof Array},
        function(){return"undefined"==typeof InstallTrigger},
        function(){return"object"==typeof(new Intl.Collator).resolvedOptions()},
        function(a){return"boolean"==typeof a.navigator.onLine},
        function(){return Vo(14)},
        function(a){return"undefined"==typeof a.navigator.CK},
        function(a){return"number"==typeof a.performance.now()},
        function(){return 0==(new Uint16Array(1))[0]},
        function(a){return-1==a.ActiveXObject.toString().indexOf("native")},
        function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],Yo=[function(a){a=a.document.createElement("div");
        var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
        function(){return(new Date).getTimezoneOffset()},
        function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},
        function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},
        function(a){return a.screen.availWidth/a.screen.availHeight},
        function(a){return a.screen.width/a.screen.height}],Zo=[function(a){return a.navigator.userAgent},
        function(a){return a.navigator.platform},
        function(a){return a.navigator.vendor}];g.Za(ep,dp);ep.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.o=this.l=0};
        ep.prototype.update=function(a,b){g.u(b)||(b=a.length);for(var c=b-this.i,d=this.u,e=this.l,f=0;f<b;){if(0==e)for(;f<=c;)fp(this,a,f),f+=this.i;if(g.w(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.i){fp(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.i){fp(this,d);e=0;break}}this.l=e;this.o+=b};
        ep.prototype.digest=function(){var a=Array((56>this.l?this.i:2*this.i)-this.l);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.o;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.g[b]>>>d&255;return a};g.t(gp,$n);gp.prototype.g=function(a){var b=$n.prototype.g.call(this,a);var c=Uo=(0,g.H)();var d=Vo(5);c=(bp?!d:d)?c|2:c&-3;d=Vo(2);c=(cp?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.i||(this.i=$o());b.u=this.i;b.A=Zn(a,dha,c,"h",hp("kArwaWEsTs"));b.o=Zn(a,fha,{},"h",hp("b96YPMzfnx"));b.i=Zn(a,gha,{},"h",hp("yb8Wev6QDg"));return b};ip.prototype.g=function(){return g.z(this.i)};g.t(kp,ip);kp.prototype.g=function(a){if(!a.mh)return ip.prototype.g.call(this,a);var b=this.o[a.mh];if(b)return function(c,d,e){b.i(c,d,e)};
        Ui(393,Error());return null};g.t(lp,to);g.k=lp.prototype;g.k.Hk=function(a,b){var c=this,d=ri.getInstance(),e=Jl.getInstance();if(null!=e.g)switch(e.g.getName()){case "nis":var f=pp(this,a,b);break;case "gsv":f=op(this,a,b)}else switch(d.Ka){case "nis":f=pp(this,a,b);break;case "gsv":f=op(this,a,b);break;case "exc":f=qp(this,a)}f||(b.opt_overlayAdElement?f=void 0:b.opt_adElement?f=Ho(this,a,b.opt_adElement,b.opt_osdId):f=Al(Dl,a)||void 0);f&&1==f.ge()&&(f.V==g.La&&(f.V=function(h){return c.Et(h)}),mp(this,f,b));
        return f};
        g.k.Et=function(a){a.i=0;a.R=0;if("h"==a.o||"n"==a.o){if(np())var b=g.z("ima.bridge.getVideoMetadata");else if(a.mh&&wp(this)){var c=this.D[a.mh];c?b=function(e){return c.g(e)}:null!==c&&Ui(379,Error())}else b=g.z("ima.common.getVideoMetadata");
        if(g.Qa(b))try{var d=b(a.Sb)}catch(e){a.i|=4}else a.i|=2}else if("b"==a.o)if(b=g.z("ytads.bulleit.getVideoMetadata"),g.Qa(b))try{d=b(a.Sb)}catch(e){a.i|=4}else a.i|=2;else if("ml"==a.o)if(b=g.z("ima.common.getVideoMetadata"),g.Qa(b))try{d=b(a.Sb)}catch(e){a.i|=4}else a.i|=2;else a.i|=1;a.i||(g.u(d)?null===d?a.i|=16:g.lc(d)?a.i|=32:null!=d.errorCode&&(a.R=d.errorCode,a.i|=64):a.i|=8);null!=d||(d={});Ko(d,a);hj(d.volume)&&hj(void 0)&&(d.volume*=NaN);return d};
        g.k.Gr=function(){if(wp(this))return new kp("ima.common.triggerExternalActivityEvent",this.l,this.D);var a=rp(this);return null!=a?new ip(a,this.l):null};
        g.k.Bn=function(){var a=this.i,b=to.prototype.Bn.call(this);b.push(new So(a));return b};
        g.k.lp=function(a){!a.g&&a.bh&&Co(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)};
        g.k.Kv=function(a){a.Xv&&(a.kg()?Co(this,a,"overlay_viewable_end_of_session_impression"):Co(this,a,"overlay_unviewable_impression"),a.Xv=!1)};
        g.k.Kn=function(){};
        g.k.vp=function(){};
        g.k.Rl=function(a,b,c,d){a=to.prototype.Rl.call(this,a,b,c,d);this.u&&(b=this.A,null==a.A&&(a.A=new Hk),b.g[a.Sb]=a.A,a.A.u=$ga);return a};
        g.k.Rh=function(a){a&&1==a.ge()&&this.u&&delete this.A.g[a.Sb];return to.prototype.Rh.call(this,a)};
        Ma(lp);var up=new Xn;up.u="stopped";up.g="stopped";up.l="stopped";up.A="stopped";up.o="stopped";up.i="stopped";Object.freeze(up);var iha=Oi(193,yp,Go);g.Ka("Goog_AdSense_Lidar_sendVastEvent",iha,void 0);var jha=Ti(194,function(a,b){b=void 0===b?{}:b;var c=vp(lp.getInstance(),a,b);return xp(c)});
        g.Ka("Goog_AdSense_Lidar_getViewability",jha,void 0);var kha=Oi(195,function(){return ii()},void 0);
        g.Ka("Goog_AdSense_Lidar_getUrlSignalsArray",kha,void 0);var lha=Ti(196,function(){return(0,g.lq)(ii())});
        g.Ka("Goog_AdSense_Lidar_getUrlSignalsList",lha,void 0);var Et=(new Date).getTime();g.k=g.Ep.prototype;g.k.Lc=function(){Gp(this);for(var a=[],b=0;b<this.g.length;b++)a.push(this.i[this.g[b]]);return a};
        g.k.fe=function(){Gp(this);return this.g.concat()};
        g.k.isEmpty=function(){return 0==this.wa};
        g.k.clear=function(){this.i={};this.Pf=this.wa=this.g.length=0};
        g.k.remove=function(a){return Fp(this.i,a)?(delete this.i[a],this.wa--,this.Pf++,this.g.length>2*this.wa&&Gp(this),!0):!1};
        g.k.get=function(a,b){return Fp(this.i,a)?this.i[a]:b};
        g.k.set=function(a,b){Fp(this.i,a)||(this.wa++,this.g.push(a),this.Pf++);this.i[a]=b};
        g.k.forEach=function(a,b){for(var c=this.fe(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
        g.k.clone=function(){return new g.Ep(this)};
        g.k.Ge=function(a){Gp(this);var b=0,c=this.Pf,d=this,e=new Ck;e.next=function(){if(c!=d.Pf)throw Error("The map has changed since the iterator was created");if(b>=d.g.length)throw Dk;var f=d.g[b++];return a?f:d.i[f]};
        return e};g.Hp.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Pp(b,R_,!0),":");var c=this.g;if(c||"file"==b)a.push("//"),(b=this.D)&&a.push(Pp(b,R_,!0),"@"),a.push(Cd(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.u,null!=c&&a.push(":",String(c));if(c=this.i)this.g&&"/"!=c.charAt(0)&&a.push("/"),a.push(Pp(c,"/"==c.charAt(0)?mha:nha,!0));(c=this.l.toString())&&a.push("?",c);(c=this.A)&&a.push("#",Pp(c,oha));return a.join("")};
        g.Hp.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?g.Ip(b,a.o):c=!!a.D;c?b.D=a.D:c=!!a.g;c?g.Jp(b,a.g):c=null!=a.u;var d=a.i;if(c)g.Kp(b,a.u);else if(c=!!a.i){if("/"!=d.charAt(0))if(this.g&&!this.i)d="/"+d;else{var e=b.i.lastIndexOf("/");-1!=e&&(d=b.i.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=Jb(e,"/");e=e.split("/");for(var f=[],h=0;h<e.length;){var l=e[h++];"."==l?d&&h==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=
        f[0])&&f.pop(),d&&h==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.i=d:c=""!==a.l.toString();c?Lp(b,a.l.clone()):c=!!a.A;c&&(b.A=a.A);return b};
        g.Hp.prototype.clone=function(){return new g.Hp(this)};
        var R_=/[#\/\?@]/g,nha=/[#\?:]/g,mha=/[#\?]/g,Qp=/[#\?@]/g,oha=/#/g;g.k=Np.prototype;g.k.add=function(a,b){Tp(this);this.i=null;a=Up(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.wa=this.wa+1;return this};
        g.k.remove=function(a){Tp(this);a=Up(this,a);return Fp(this.g.i,a)?(this.i=null,this.wa=this.wa-this.g.get(a).length,this.g.remove(a)):!1};
        g.k.clear=function(){this.g=this.i=null;this.wa=0};
        g.k.isEmpty=function(){Tp(this);return 0==this.wa};
        g.k.forEach=function(a,b){Tp(this);this.g.forEach(function(c,d){(0,g.D)(c,function(e){a.call(b,e,d,this)},this)},this)};
        g.k.fe=function(){Tp(this);for(var a=this.g.Lc(),b=this.g.fe(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
        g.k.Lc=function(a){Tp(this);var b=[];if(g.w(a))Vp(this,a)&&(b=g.tb(b,this.g.get(Up(this,a))));else{a=this.g.Lc();for(var c=0;c<a.length;c++)b=g.tb(b,a[c])}return b};
        g.k.set=function(a,b){Tp(this);this.i=null;a=Up(this,a);Vp(this,a)&&(this.wa=this.wa-this.g.get(a).length);this.g.set(a,[b]);this.wa=this.wa+1;return this};
        g.k.get=function(a,b){if(!a)return b;var c=this.Lc(a);return 0<c.length?String(c[0]):b};
        g.k.toString=function(){if(this.i)return this.i;if(!this.g)return"";for(var a=[],b=this.g.fe(),c=0;c<b.length;c++){var d=b[c],e=Cd(d);d=this.Lc(d);for(var f=0;f<d.length;f++){var h=e;""!==d[f]&&(h+="="+Cd(d[f]));a.push(h)}}return this.i=a.join("&")};
        g.k.clone=function(){var a=new Np;a.i=this.i;this.g&&(a.g=this.g.clone(),a.wa=this.wa);return a};var Xp="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav".split(" "),Yp=/\bocr\b/,hq=0,dq={};var mq=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;sq.prototype.getPlayerType=function(){return""};
        var tq=new sq;uq.prototype.getId=function(){return this.i};vq.prototype.getId=function(){return this.l};var Bq=null;var Fq=["*.youtu.be","*.youtube.com"],pha="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),qha=["c.googlesyndication.com"];g.Za(g.Nq,g.J);g.k=g.Nq.prototype;g.k.start=function(){this.stop();this.o=!1;var a=Oq(this),b=Pq(this);a&&!b&&this.i.mozRequestAnimationFrame?(this.g=g.km(this.i,"MozBeforePaint",this.l),this.i.mozRequestAnimationFrame(null),this.o=!0):this.g=a&&b?a.call(this.i,this.l):this.i.setTimeout(Cc(this.l),20)};
        g.k.ji=function(){this.isActive()||this.start()};
        g.k.stop=function(){if(this.isActive()){var a=Oq(this),b=Pq(this);a&&!b&&this.i.mozRequestAnimationFrame?g.wm(this.g):a&&b?b.call(this.i,this.g):this.i.clearTimeout(this.g)}this.g=null};
        g.k.isActive=function(){return null!=this.g};
        g.k.Ny=function(){this.o&&this.g&&g.wm(this.g);this.g=null;this.A.call(this.u,(0,g.H)())};
        g.k.S=function(){this.stop();g.Nq.Ta.S.call(this)};g.Za(g.L,g.J);g.k=g.L.prototype;g.k.ki=0;g.k.S=function(){g.L.Ta.S.call(this);this.stop();delete this.g;delete this.i};
        g.k.start=function(a){this.stop();this.ki=g.wn(this.l,g.u(a)?a:this.yc)};
        g.k.stop=function(){this.isActive()&&g.y.clearTimeout(this.ki);this.ki=0};
        g.k.isActive=function(){return 0!=this.ki};
        g.k.Is=function(){this.ki=0;this.g&&this.g.call(this.i)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!g.y.requestAnimationFrame;++c)g.y.requestAnimationFrame=g.y[b+"RequestAnimationFrame"],g.y.cancelAnimationFrame=g.y[b+"CancelAnimationFrame"]||g.y[b+"CancelRequestAnimationFrame"];if(!g.y.requestAnimationFrame){var d=0;g.y.requestAnimationFrame=function(e){var f=(new Date).getTime(),h=Math.max(0,16-(f-d));d=f+h;return g.y.setTimeout(function(){e(f+h)},h)};
        g.y.cancelAnimationFrame||(g.y.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
        var Tq=[[],[]],Uq=0,Vq=!1,Sq=0;g.Za(g.er,g.Bm);g.er.prototype.o=function(){this.Gd("begin")};
        g.er.prototype.l=function(){this.Gd("end")};
        g.er.prototype.Vc=function(){this.Gd("finish")};
        g.er.prototype.Gd=function(a){this.dispatchEvent(a)};var rha=Dc(function(){if(g.oe)return g.Vd("10.0");var a=g.we("DIV"),b=g.ne?"-webkit":g.Ug?"-moz":g.oe?"-ms":g.Vg?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!D_.test("div"))throw Error("");if("DIV"in Vga)throw Error("");c=null;var d="";if(b)for(n in b){if(!D_.test(n))throw Error("");var e=b[n];if(null!=e){var f=n;var h=e;if(h instanceof Hc)h=Ic(h);else if("style"==f.toLowerCase()){e=void 0;if(!g.Ra(h))throw Error("");if(!(h instanceof cd)){var l=
        "";for(e in h){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var m=h[e];null!=m&&(m=g.Oa(m)?(0,g.Le)(m,kd).join(" "):kd(m),l+=e+":"+m+";")}h=l?dd(l):Tga}h instanceof cd&&h.constructor===cd&&h.i===bd?e=h.g:(Na(h),e="type_error:SafeStyle");h=e}else{if(/^on/i.test(f))throw Error("");if(f.toLowerCase()in Uga)if(h instanceof Lc)h=Mc(h).toString();else if(h instanceof g.Uc)h=g.Wc(h);else if(g.w(h))h=g.Yc(h).Id();else throw Error("");}h.Se&&(h=h.Id());f=f+'="'+Tb(String(h))+
        '"';d+=" "+f}}var n="<div"+d;d=void 0;null!=d?g.Oa(d)||(d=[d]):d=[];!0===Rga.div?n+=">":(c=sd(d),n+=">"+g.nd(c).toString()+"</div>",c=c.g());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=g.td(n,c);g.vd(a,b);return""!=g.Wg(a.firstChild,"transition")});g.Za(gr,g.er);g.k=gr.prototype;g.k.play=function(){if(1==this.g)return!1;this.o();this.Gd("play");this.startTime=(0,g.H)();this.g=1;if(rha())return g.Sg(this.i,this.F),this.A=g.wn(this.xF,void 0,this),!0;this.Cn(!1);return!1};
        g.k.xF=function(){g.kh(this.i);fr(this.i,this.D);g.Sg(this.i,this.u);this.A=g.wn((0,g.A)(this.Cn,this,!1),1E3*this.B)};
        g.k.stop=function(){1==this.g&&this.Cn(!0)};
        g.k.Cn=function(a){g.Sg(this.i,"transition","");g.y.clearTimeout(this.A);g.Sg(this.i,this.u);this.endTime=(0,g.H)();this.g=0;a?this.Gd("stop"):this.Vc();this.l()};
        g.k.S=function(){this.stop();gr.Ta.S.call(this)};
        g.k.pause=function(){};ir.prototype.clone=function(){return new ir(this.g,this.B,this.l,this.u,this.o,this.A,this.i,this.D)};g.lr.prototype.i=0;g.lr.prototype.reset=function(){this.g=this.l=this.o;this.i=0};
        g.lr.prototype.getValue=function(){return this.l};(function(){if(pT){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Yb))?a[1]:"0"}return eN?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Yb))?a[0].replace(/_/g,"."):"10"):nu?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Yb))?a[1]:""):Wga||E_||Xga?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Yb))?a[1].replace(/_/g,"."):""):""})();var or=function(){if(qD)return nr(/Firefox\/([0-9.]+)/);if(g.oe||mF||g.Vg)return Ud;if(g.Ex)return Od()?nr(/CriOS\/([0-9.]+)/):nr(/Chrome\/([0-9.]+)/);if(g.eF&&!Od())return nr(/Version\/([0-9.]+)/);if(PE||gI){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Yb);if(a)return a[1]+"."+a[2]}else if(HE)return(a=nr(/Android\s+([0-9.]+)/))?a:nr(/Version\/([0-9.]+)/);return""}();g.Za(g.qr,g.J);g.k=g.qr.prototype;g.k.subscribe=function(a,b,c){var d=this.i[a];d||(d=this.i[a]=[]);var e=this.u;this.g[e]=a;this.g[e+1]=b;this.g[e+2]=c;this.u=e+3;d.push(e);return e};
        g.k.unsubscribe=function(a,b,c){if(a=this.i[a]){var d=this.g;if(a=g.gb(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.dg(a)}return!1};
        g.k.dg=function(a){var b=this.g[a];if(b){var c=this.i[b];0!=this.o?(this.l.push(a),this.g[a+1]=g.La):(c&&g.pb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b};
        g.k.L=function(a,b){var c=this.i[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e<f;e++)d[e-1]=arguments[e];if(this.A)for(e=0;e<c.length;e++){var h=c[e];rr(this.g[h+1],this.g[h+2],d)}else{this.o++;try{for(e=0,f=c.length;e<f;e++)h=c[e],this.g[h+1].apply(this.g[h+2],d)}finally{if(this.o--,0<this.l.length&&0==this.o)for(;c=this.l.pop();)this.dg(c)}}return 0!=e}return!1};
        g.k.clear=function(a){if(a){var b=this.i[a];b&&((0,g.D)(b,this.dg,this),delete this.i[a])}else this.g.length=0,this.i={}};
        g.k.S=function(){g.qr.Ta.S.call(this);this.clear();this.l.length=0};g.sr.prototype.set=function(a,b){g.u(b)?this.g.set(a,(0,g.lq)(b)):this.g.remove(a)};
        g.sr.prototype.get=function(a){try{var b=this.g.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
        g.sr.prototype.remove=function(a){this.g.remove(a)};g.Za(tr,g.sr);tr.prototype.set=function(a,b){tr.Ta.set.call(this,a,vr(b))};
        tr.prototype.i=function(a){a=tr.Ta.get.call(this,a);if(!g.u(a)||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
        tr.prototype.get=function(a){if(a=this.i(a)){if(a=a.data,!g.u(a))throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.Za(wr,tr);wr.prototype.set=function(a,b,c){if(b=vr(b)){if(c){if(c<(0,g.H)()){wr.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.H)()}wr.Ta.set.call(this,a,b)};
        wr.prototype.i=function(a,b){var c=wr.Ta.i.call(this,a);if(c)if(!b&&g.xr(c))wr.prototype.remove.call(this,a);else return c};g.Za(g.yr,wr);g.Za(Ar,zr);Ar.prototype.clear=function(){var a=Gk(this.Ge(!0)),b=this;(0,g.D)(a,function(c){b.remove(c)})};g.Za(Br,Ar);g.k=Br.prototype;g.k.isAvailable=function(){if(!this.g)return!1;try{return this.g.setItem("__sak","1"),this.g.removeItem("__sak"),!0}catch(a){return!1}};
        g.k.set=function(a,b){try{this.g.setItem(a,b)}catch(c){if(0==this.g.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
        g.k.get=function(a){a=this.g.getItem(a);if(!g.w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
        g.k.remove=function(a){this.g.removeItem(a)};
        g.k.Ge=function(a){var b=0,c=this.g,d=new Ck;d.next=function(){if(b>=c.length)throw Dk;var e=c.key(b++);if(a)return e;e=c.getItem(e);if(!g.w(e))throw"Storage mechanism: Invalid value was encountered";return e};
        return d};
        g.k.clear=function(){this.g.clear()};
        g.k.key=function(a){return this.g.key(a)};g.Za(Cr,Br);g.Za(Dr,Br);g.Za(Fr,Ar);var Gr={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},Er=null;g.k=Fr.prototype;g.k.isAvailable=function(){return!!this.g};
        g.k.set=function(a,b){this.g.setAttribute(Hr(a),b);Ir(this)};
        g.k.get=function(a){a=this.g.getAttribute(Hr(a));if(!g.w(a)&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
        g.k.remove=function(a){this.g.removeAttribute(Hr(a));Ir(this)};
        g.k.Ge=function(a){var b=0,c=this.g.XMLDocument.documentElement.attributes,d=new Ck;d.next=function(){if(b>=c.length)throw Dk;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!g.w(e))throw"Storage mechanism: Invalid value was encountered";return e};
        return d};
        g.k.clear=function(){for(var a=this.g.XMLDocument.documentElement,b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);Ir(this)};g.Za(Jr,Ar);Jr.prototype.set=function(a,b){this.i.set(this.g+a,b)};
        Jr.prototype.get=function(a){return this.i.get(this.g+a)};
        Jr.prototype.remove=function(a){this.i.remove(this.g+a)};
        Jr.prototype.Ge=function(a){var b=this.i.Ge(!0),c=this,d=new Ck;d.next=function(){for(var e=b.next();e.substr(0,c.g.length)!=c.g;)e=b.next();return a?e.substr(c.g.length):c.i.get(e)};
        return d};Ma(g.Lr);g.Lr.prototype.g=0;g.k=Or.prototype;g.k.VF=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.Ig.set(this.As(c),[new Nr(a)])};
        g.k.ts=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];b=this.As(b);return this.Ig.has(b)?this.Ig.get(b):void 0};
        g.k.Fy=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return(b=this.ts(b))&&b.length?b[0]:void 0};
        g.k.clear=function(){this.Ig.clear()};
        g.k.As=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return b?b.join(","):"key"};g.Za(Qr,zf);g.Za(Rr,zf);var Pr=[1];g.Za(Vr,zf);g.Za(Xr,zf);g.Za(Yr,zf);g.Za(Zr,zf);g.Za(as,zf);g.Za(cs,zf);g.Za(es,zf);var Ur=[3,6,4],Wr=[[1,2]],$r=[1],bs=[[1,2,3]],ds=[[1,2,3]];g.t(ls,Or);ls.prototype.l=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];d=0;var e=this.Fy(c);e&&(d=e.vr);this.VF(d+a,c)};ns.prototype.u=function(){var a=this.i.values();a=[].concat(g.fa(a)).filter(function(b){return b.Ig.size});
        a.length&&this.H.flush(a);os(a);this.l=0;this.g.enabled&&this.g.stop()};
        ns.prototype.A=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.i.has(a)||this.i.set(a,new ls(a,c))};
        ns.prototype.D=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.F.apply(this,[a,1].concat(g.fa(c)))};
        ns.prototype.F=function(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];(e=this.B.has(a)?void 0:this.i.get(a))&&e instanceof ls&&(e.l(b,d),this.g.enabled||this.g.start(),this.l++,this.l>=this.o&&this.u())};ps.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&0===a%1&&this.i[a]!=b&&(this.i[a]=b,this.g=-1)};
        ps.prototype.get=function(a){return!!this.i[a]};/*
         Copyright (c) Microsoft Corporation. All rights reserved.
         Licensed under the Apache License, Version 2.0 (the "License"); you may not use
         this file except in compliance with the License. You may obtain a copy of the
         License at http://www.apache.org/licenses/LICENSE-2.0

         THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
         KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
         WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
         MERCHANTABLITY OR NON-INFRINGEMENT.

         See the Apache Version 2.0 License for specific language governing permissions
         and limitations under the License.
        */
        g.Za(ts,zf);g.Za(us,zf);var rs=[2,13,14];var ws=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.Ka("yt.config_",ws,void 0);var Fs={};var sha=g.z("ytPubsubPubsubInstance")||new g.qr;g.qr.prototype.subscribe=g.qr.prototype.subscribe;g.qr.prototype.unsubscribeByKey=g.qr.prototype.dg;g.qr.prototype.publish=g.qr.prototype.L;g.qr.prototype.clear=g.qr.prototype.clear;g.Ka("ytPubsubPubsubInstance",sha,void 0);var Ks=g.z("ytPubsubPubsubSubscribedKeys")||{};g.Ka("ytPubsubPubsubSubscribedKeys",Ks,void 0);var Ms=g.z("ytPubsubPubsubTopicToKeys")||{};g.Ka("ytPubsubPubsubTopicToKeys",Ms,void 0);g.Ls=g.z("ytPubsubPubsubIsSynchronous")||{};
        g.Ka("ytPubsubPubsubIsSynchronous",g.Ls,void 0);var Ts=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,Us=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/,Ys={};$s.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.Sc=!0,g.Ws(b,function(){f.Sc=!1;if(window.botguard)at(f,c,d);else{var h=Xs(b),l=document.getElementById(h);l&&(Ss(h),l.parentNode.removeChild(l));h=Error("Unable to load Botguard");h.params="from "+b;g.Bs(h)}},e)):a&&(eval(a),window.botguard?at(this,c,d):g.Bs(Error("Unable to load Botguard from JS")))};
        $s.prototype.dispose=function(){this.g=null};g.t(et,bt);et.prototype.start=function(){var a=g.z("yt.scheduler.instance.start");a&&a()};
        et.prototype.pause=function(){var a=g.z("yt.scheduler.instance.pause");a&&a()};
        Ma(et);et.getInstance();var jt=[],it=!1;var At=new function(){var a=window.document;this.g=window;this.i=a};
        g.Ka("yt.ads_.signals_.getAdSignalsString",function(a){return ot(Dt(a))},void 0);(0,g.H)();var It=g.u(XMLHttpRequest)?function(){return new XMLHttpRequest}:g.u(ActiveXObject)?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var Lt={Authorization:"AUTHORIZATION","X-Goog-Visitor-Id":"SANDBOXED_VISITOR_ID","X-YouTube-Client-Name":"INNERTUBE_CONTEXT_CLIENT_NAME","X-YouTube-Client-Version":"INNERTUBE_CONTEXT_CLIENT_VERSION","X-Youtube-Identity-Token":"ID_TOKEN","X-YouTube-Page-CL":"PAGE_CL","X-YouTube-Page-Label":"PAGE_BUILD_LABEL","X-YouTube-Variants-Checksum":"VARIANTS_CHECKSUM"},Ot="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "),
        Wt=!1;var lu=PE||gI;var xu={},wu=0;g.t(yu,$a);Bu.prototype.then=function(a,b,c){return 1===this.i&&a?(a=a.call(c,this.g),Sm(a)?a:Du(a)):2===this.i&&b?(a=b.call(c,this.g),Sm(a)?a:Cu(a)):this};
        Bu.prototype.getValue=function(){return this.g};
        Bu.prototype.$goog_Thenable=!0;g.t(Fu,$a);Fu.prototype.name="BiscottiError";g.t(Eu,$a);Eu.prototype.name="BiscottiMissingError";var Hu={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},Gu=null;g.t(Nu,$a);g.t(Qu,Pu);g.t(Ru,Ou);Ru.prototype.l=function(a){return a instanceof Ru?this.o===a.o:!1};g.t(Uu,$a);g.t(Yu,Ou);Yu.prototype.l=function(a){return a instanceof Yu?this.o===a.o:!1};g.Za(g.O,g.J);g.O.prototype.subscribe=function(a,b,c){return this.da()?0:this.wb.subscribe(a,b,c)};
        g.O.prototype.unsubscribe=function(a,b,c){return this.da()?!1:this.wb.unsubscribe(a,b,c)};
        g.O.prototype.We=function(a){return this.da()?!1:this.wb.dg(a)};
        g.O.prototype.L=function(a,b){return this.da()?!1:this.wb.L.apply(this.wb,arguments)};g.t(av,g.O);av.prototype.u=function(a){if(this.g!==a){this.g=a;a=[];for(var b=g.r(Object.values(this.i)),c=b.next();!c.done;c=b.next())c=c.value,c.trigger.o===this.g&&a.push(c);g.lb(a)||bv(this.l,a)}};
        av.prototype.o=function(a){this.g===a&&(this.g=null)};fv.prototype.isActive=function(){switch(this.g){case "entered":case "rendering":case "rendering_stop_requested":case "exit_requested":return!0;default:return!1}};g.t(hv,g.J);var S_;S_=window;g.Bv=S_.ytcsi&&S_.ytcsi.now?S_.ytcsi.now:S_.performance&&S_.performance.timing&&S_.performance.now?function(){return S_.performance.timing.navigationStart+S_.performance.now()}:function(){return(new Date).getTime()};var Ev=Math.pow(2,16)-1,Fv=null,Gv=0,zv={log_event:"events",log_interaction:"interactions"},T_=Object.create(null);T_.log_event="GENERIC_EVENT_LOGGING";T_.log_interaction="INTERACTION_LOGGING";var Iv=new Set(["log_event"]),uv={},qv=0,rv=0,tv=g.z("ytLoggingTransportLogPayloadsQueue_")||{};g.Ka("ytLoggingTransportLogPayloadsQueue_",tv,void 0);var Dv=g.z("ytLoggingTransportTokensToCttTargetIds_")||{};g.Ka("ytLoggingTransportTokensToCttTargetIds_",Dv,void 0);
        var Av=g.z("ytLoggingTransportDispatchedStats_")||{};g.Ka("ytLoggingTransportDispatchedStats_",Av,void 0);var tha=g.z("ytLoggingTransportCapturedTime_")||{};g.Ka("ytytLoggingTransportCapturedTime_",tha,void 0);var uha=0,Kv=g.ne?"webkit":g.Ug?"moz":g.oe?"ms":g.Vg?"o":"",vha=g.z("ytDomDomGetNextId")||function(){return++uha};
        g.Ka("ytDomDomGetNextId",vha,void 0);var Nv={stopImmediatePropagation:1,stopPropagation:1,preventMouseEvent:1,preventManipulation:1,preventDefault:1,layerX:1,layerY:1,screenX:1,screenY:1,scale:1,rotation:1,webkitMovementX:1,webkitMovementY:1};Ov.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
        Ov.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
        Ov.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Qv=g.z("ytEventsEventsListeners")||{};g.Ka("ytEventsEventsListeners",Qv,void 0);var Sv=g.z("ytEventsEventsCounter")||{count:0};g.Ka("ytEventsEventsCounter",Sv,void 0);var wha=Dc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
        window.addEventListener("test",null,b)}catch(c){}return a}),Tv=Dc(function(){var a=!1;
        try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
        window.addEventListener("test",null,b)}catch(c){}return a});var RB=window.ytcsi&&window.ytcsi.now?window.ytcsi.now:window.performance&&window.performance.timing&&window.performance.now&&window.performance.timing.navigationStart?function(){return window.performance.timing.navigationStart+window.performance.now()}:function(){return(new Date).getTime()};g.Za(ew,g.J);ew.prototype.H=function(a){g.u(a.g)||Pv(a);var b=a.g;g.u(a.i)||Pv(a);this.g=new g.$d(b,a.i)};
        ew.prototype.dd=function(){return this.g||new g.$d};
        ew.prototype.A=function(){if(this.g){var a=RB();if(0!=this.l){var b=this.u,c=this.g,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.l);this.i[this.Va]=.5<Math.abs((d-this.o)/this.o)?1:0;for(c=b=0;4>c;c++)b+=this.i[c]||0;3<=b&&this.D();this.o=d}this.l=a;this.u=this.g;this.Va=(this.Va+1)%4}};
        ew.prototype.S=function(){window.clearInterval(this.F);g.Wv(this.B)};var iw={};var kw=g.z("ytLoggingGelSequenceIdObj_")||{};g.Ka("ytLoggingGelSequenceIdObj_",kw,void 0);xw.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.g)try{this.g.set(a,b,(0,g.H)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape((0,g.lq)(b))}catch(f){return}else e=escape(b);g.vw(a,e,c,this.i)};
        xw.prototype.get=function(a,b){var c=void 0,d=!this.g;if(!d)try{c=this.g.get(a)}catch(e){d=!0}if(d&&(c=uw.get(""+a,void 0))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
        xw.prototype.remove=function(a){this.g&&this.g.remove(a);g.ww(a,"/",this.i)};new xw;var U_={},Jw=(U_.slot_type_in_player="SLOT_TYPE_IN_PLAYER",U_),V_={},Fw=(V_.layout_type_media_layout_player_overlay="LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",V_),Gw=.1>Math.random()||g.Gt("html5_force_debug_data_for_client_tmp_logs"),Kw=g.Gt("html5_disable_client_tmp_logs");g.t(Lw,g.O);g.t(Qw,g.J);g.t(Sw,Ou);Sw.prototype.Ng=function(){return this.o};
        Sw.prototype.l=function(a){return a instanceof Sw?this.o===a.Ng():!1};g.t(Tw,Ou);Tw.prototype.l=function(a){return a instanceof Tw?this.o===a.o:!1};g.t(Uw,Ou);Uw.prototype.l=function(a){return a instanceof Uw?this.o===a.o:!1};var Qaa={JH:1,OH:2,PAUSED:3};var lS=16/9,W_=[.25,.5,.75,1,1.25,1.5,1.75,2],xha=W_.concat([3,4,5,6,7,8,9,10,15]);var X_={},Y_=(X_["api.invalidparam"]=2,X_.auth=150,X_["drm.auth"]=150,X_["heartbeat.net"]=150,X_["heartbeat.servererror"]=150,X_["heartbeat.stop"]=150,X_["html5.unsupportedads"]=5,X_["fmt.noneavailable"]=5,X_["fmt.decode"]=5,X_["fmt.unplayable"]=5,X_["html5.missingapi"]=5,X_["html5.unsupportedlive"]=5,X_["drm.unavailable"]=5,X_);var rD={name:"width",video:!0,valid:640,je:99999},sD={name:"height",video:!0,valid:360,je:99999},tD={name:"framerate",video:!0,valid:30,je:9999},uD={name:"bitrate",video:!0,valid:3E5,je:2E9},pD={name:"eotf",video:!0,valid:"bt709",je:"catavision"},xD={name:"channels",video:!1,valid:2,je:99},vD={name:"cryptoblockformat",video:!0,valid:"subsample",je:"invalidformat"},wD={name:"decode-to-texture",video:!0,valid:"false",je:"nope"},ED={name:"codecs",video:!0,valid:"av01.0.05M.08",je:"av99.0.05M.08"},yD=
        {aK:rD,kI:sD,XH:tD,kH:uD,PH:pD,wH:xD,CH:vD,GH:wD,iH:ED};var rx={0:"f",160:"h",133:"h",134:"h",135:"h",136:"h",137:"h",264:"h",266:"h",138:"h",298:"h",299:"h",304:"h",305:"h",214:"h",216:"h",374:"h",375:"h",140:"a",141:"ah",327:"sa",258:"m",380:"mac3",328:"meac3",161:"H",142:"H",143:"H",144:"H",222:"H",223:"H",145:"H",224:"H",225:"H",146:"H",226:"H",227:"H",147:"H",384:"H",376:"H",385:"H",377:"H",149:"A",261:"M",381:"MAC3",329:"MEAC3",278:"9",242:"9",243:"9",244:"9",247:"9",248:"9",353:"9",355:"9",271:"9",313:"9",272:"9",302:"9",303:"9",407:"9",408:"9",
        308:"9",315:"9",330:"9h",331:"9h",332:"9h",333:"9h",334:"9h",335:"9h",336:"9h",337:"9h",171:"v",338:"so",250:"o",251:"o",194:"*",195:"*",220:"*",221:"*",196:"*",197:"*",198:"V",279:"(",280:"(",317:"(",318:"(",273:"(",274:"(",357:"(",358:"(",275:"(",359:"(",360:"(",276:"(",314:"(",561:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",367:"(h",368:"(h",562:"(h",394:"1",395:"1",396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",402:"1",386:"3",387:"w",406:"6"};jx.prototype.getName=function(){return this.name};
        jx.prototype.getId=function(){return this.id};
        jx.prototype.getIsDefault=function(){return this.isDefault};
        jx.prototype.toString=function(){return this.name};
        jx.prototype.getName=jx.prototype.getName;jx.prototype.getId=jx.prototype.getId;jx.prototype.getIsDefault=jx.prototype.getIsDefault;var OD={gH:"auto",LJ:"tiny",FI:"light",BJ:"small",KI:"medium",CI:"large",jI:"hd720",fI:"hd1080",gI:"hd1440",hI:"hd2160",iI:"hd2880",oI:"highres",UNKNOWN:"unknown"};var Z_={},lx=(Z_.auto=0,Z_.tiny=144,Z_.light=144,Z_.small=240,Z_.medium=360,Z_.large=480,Z_.hd720=720,Z_.hd1080=1080,Z_.hd1440=1440,Z_.hd2160=2160,Z_.hd2880=2880,Z_.highres=4320,Z_);var px="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");tx.prototype.ra=function(){return this.video};
        tx.prototype.Pk=function(){return!!this.l};
        tx.prototype.Ud=function(){return!!this.video};g.k=Jx.prototype;g.k.append=function(a){this.g.webkitSourceAppend(this.i,a)};
        g.k.abort=function(){this.g.webkitSourceAbort(this.i)};
        g.k.uG=function(){return this.g.webkitSourceState==this.g.SOURCE_CLOSED?new Kx:this.g.webkitSourceBuffered(this.i)};
        g.k.wG=function(){return this.l};
        g.k.AG=function(a){this.l=a;this.g.webkitSourceTimestampOffset(this.i,a)};g.k=Lx.prototype;g.k.addEventListener=function(a,b,c){this.g.addEventListener(a,b,c)};
        g.k.removeEventListener=function(a,b,c){this.g.removeEventListener(a,b,c)};
        g.k.jB=function(){return this.g.webkitMediaSourceURL};
        g.k.addSourceBuffer=function(a){var b=(this.l++).toString();this.g.webkitSourceAddId(b,a);a=new Jx(this.g,b);this.sourceBuffers.push(a);return a};
        g.k.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.g.webkitSourceRemoveId(a.i);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
        g.k.xG=function(){switch(this.g.webkitSourceState){case this.g.SOURCE_CLOSED:return"closed";case this.g.SOURCE_OPEN:return"open";case this.g.SOURCE_ENDED:return"ended"}return""};
        g.k.endOfStream=function(){this.g.webkitSourceEndOfStream(this.g.EOS_NO_ERROR)};
        g.k.yG=function(){nb(this.sourceBuffers)};
        g.k.vG=function(){return this.i};
        g.k.zG=function(a){this.i=a;this.g.webkitSourceSetDuration&&this.g.webkitSourceSetDuration(a)};g.t(g.Mx,g.J);g.Mx.prototype.P=function(a,b,c,d,e){c=As((0,g.A)(c,d||this.N));c={target:a,name:b,Tm:c};var f;e&&wha()&&(f={passive:!0});a.addEventListener(b,c.Tm,f);this.o.push(c);return c};
        g.Mx.prototype.bb=function(a){for(var b=0;b<this.o.length;b++)if(this.o[b]==a){this.o.splice(b,1);a.target.removeEventListener(a.name,a.Tm);break}};
        g.Mx.prototype.S=function(){g.Ox(this);g.J.prototype.S.call(this)};Px.prototype.start=function(){return 0};
        Px.prototype.end=function(){return Infinity};g.k=Qx.prototype;g.k.addEventListener=function(){};
        g.k.removeEventListener=function(){};
        g.k.dispatchEvent=function(){return!1};
        g.k.abort=function(){};
        g.k.remove=function(){};
        g.k.appendBuffer=function(){};g.t(Yx,g.O);g.k=Yx.prototype;g.k.appendBuffer=function(a,b,c){c&&(this.i=c);b&&(b.Pk()&&(this.A=this.i),this.o=b);this.supports(0)?this.g.appendBuffer(a):this.g.append(a)};
        g.k.abort=function(){try{this.g.abort()}catch(a){}this.i=this.o=null};
        g.k.remove=function(a,b){this.g.remove(a,b)};
        g.k.yk=function(){return this.g.appendWindowStart};
        g.k.vn=function(){return this.g.appendWindowEnd};
        g.k.wp=function(a,b){a>this.yk()?(this.g.appendWindowEnd=b,this.g.appendWindowStart=a):(this.g.appendWindowStart=a,this.g.appendWindowEnd=b)};
        g.k.Xl=function(a){this.supports(1)&&(this.g.timestampOffset=a)};
        g.k.qb=function(){return this.supports(1)?this.g.timestampOffset:0};
        g.k.Wb=function(){try{return this.g.buffered}catch(a){return Rx([],[])}};
        g.k.kd=function(){return this.g.updating};
        g.k.ag=function(){return this.i};
        g.k.zk=function(){return this.A};
        g.k.Lp=function(a,b){this.u!=a&&(this.supports(4),this.g.changeType(b));this.u=a};
        g.k.wn=function(){return this.o};
        g.k.isView=function(){return!1};
        g.k.supports=function(a){switch(a){case 1:return void 0!=this.g.timestampOffset;case 0:return!!this.g.appendBuffer;case 2:return!!this.g.remove;case 3:return!(!this.g.addEventListener||!this.g.removeEventListener);case 4:return!!this.g.changeType;default:return!1}};
        g.k.Um=function(){return!this.kd()};
        g.k.isLocked=function(){return!1};
        g.k.Pa=function(a){a.to=""+this.g.timestampOffset;a.up=""+ +this.kd();a.aw=(this.g.appendWindowStart||0).toFixed(3)+"-"+(this.g.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Sx(this.g.buffered)}catch(b){}return cx(a)};
        g.k.S=function(){this.supports(3)&&(this.g.removeEventListener("updateend",this.l),this.g.removeEventListener("error",this.l));g.O.prototype.S.call(this)};g.t(Zx,g.O);g.k=Zx.prototype;g.k.appendBuffer=function(a,b,c){if(this.g.yk()!=this.u+this.i||this.g.vn()!=this.o+this.i||this.g.qb()!=this.A+this.i)this.g.supports(1),this.g.wp(this.u+this.i,this.o+this.i),this.g.Xl(this.A+this.i);this.g.appendBuffer(a,b,c)};
        g.k.abort=function(){this.g.abort()};
        g.k.remove=function(a,b){this.g.remove(a+this.i,b+this.i)};
        g.k.wp=function(a,b){this.u=a;this.o=b};
        g.k.yk=function(){return this.u};
        g.k.vn=function(){return this.o};
        g.k.Xl=function(a){this.A=a};
        g.k.qb=function(){return this.A};
        g.k.Wb=function(){return Xx(this.g.Wb(),this.i,this.F)};
        g.k.kd=function(){return this.g.kd()};
        g.k.ag=function(){return this.g.ag()};
        g.k.zk=function(){return this.g.zk()};
        g.k.Lp=function(a,b){return this.g.Lp(a,b)};
        g.k.supports=function(a){return this.g.supports(a)};
        g.k.wn=function(){return this.g.wn()};
        g.k.isView=function(){return!0};
        g.k.Um=function(){return this.g.Um()?this.l:!1};
        g.k.isLocked=function(){return this.B&&!this.l};
        g.k.Pa=function(a){return this.g.Pa(a)+(";vw."+this.i+"-"+this.F)};
        g.k.S=function(){$u(this.g,this.D);g.O.prototype.S.call(this)};
        g.k.isActive=function(){return this.l};
        g.k.setActive=function(a){this.l=a;this.B=this.B||this.l};$x.prototype.dispose=function(){if(!this.l){if(this.i)try{URL.revokeObjectURL(this.g)}catch(a){}this.l=!0}};
        $x.prototype.da=function(){return this.l};g.t(ay,g.J);g.k=ay.prototype;g.k.getDuration=function(){return this.l.duration};
        g.k.isView=function(){return this.A};
        g.k.kd=function(){return!!(this.g&&this.g.kd()||this.i&&this.i.kd())};
        g.k.OE=function(){!this.da()&&by(this)&&this.o&&(this.o(this),this.o=null)};
        g.k.NE=function(){this.dispose()};var $_;var a0=g.Yb,b0=a0.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!b0||2>b0.length)$_=void 0;else{var c0=a0.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);$_=c0&&6==c0.length?Number(c0[5].replace("_",".")):0}var hI=$_,WQ=0<=hI;WQ&&0<=g.Yb.search("Safari")&&g.Yb.search("Version");var yha=WQ&&4>hI?.1:0,hea=new iy;iy.prototype.g=null;iy.prototype.getDuration=function(){return this.duration||0};
        iy.prototype.getCurrentTime=function(){return this.currentTime||0};
        iy.prototype.i=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.t(g.jy,g.J);g.k=g.jy.prototype;g.k.Ag=ca(3);g.k.pl=function(){return this.o};
        g.k.ih=function(a){var b="";a&&(ly(this,a),b=a.g);this.gd()&&""==b||(b&&this.gd()!=b&&(this.tl(b),this.l&&(this.l.dispose(),this.l=null)),a&&a.i||this.load(),this.F||(this.addEventListener("volumechange",this.Br),this.F=!0))};
        g.k.Ml=function(){if(!this.l||this.l.da()){var a=this.ga();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Lx(a);a=new ay(a);this.ih(a.Ji);this.l=a}};
        g.k.ol=function(){this.I||(this.u=null);if(this.u)return this.u;this.Ml();var a=this.l;this.l=null;return this.u=a};
        g.k.playVideo=function(){this.ke()&&this.seekTo(0);!this.gd()&&this.o&&(g.M(Error("playVideo without src")),this.tl(this.o.g),this.o.i||this.load());var a=this.play();!a&&WQ&&7<=hI&&g.cw(this,"playing",(0,g.A)(function(){g.Gs((0,g.A)(this.ds,this,this.getCurrentTime(),0),500)},this));
        return a};
        g.k.ds=function(a,b){this.Hf()||this.getCurrentTime()>a||10<b||(this.play(),g.Gs((0,g.A)(this.ds,this,this.getCurrentTime(),b+1),500))};
        g.k.seekTo=function(a){0<this.Ld()&&(WQ&&4>hI&&(a=Math.max(.1,a)),this.Vl(a))};
        g.k.stopVideo=function(){!this.l&&this.gd()&&(lu&&0<this.getCurrentTime()&&this.seekTo(0),this.kp(),this.load(),ly(this,null))};
        g.k.Pa=function(){try{return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Sx(this.Qg(),",",3),vbu:Sx(this.bd()),vpa:""+ +this.Hf(),vsk:""+ +this.Bi(),ven:""+ +this.ke(),vpr:""+this.getPlaybackRate(),vrs:""+this.Ld(),vns:""+this.Ck(),vec:""+this.oe(),vvol:""+this.getVolume()}}catch(a){return{}}};
        g.k.addEventListener=function(a,b){this.B.va(a,b,!1,this);this.qn(a)};
        g.k.removeEventListener=function(a,b){this.B.bb(a,b,!1,this)};
        g.k.dispatchEvent=function(a){return this.B.dispatchEvent(a)};
        g.k.pn=function(){this.D=!1};
        g.k.ln=function(){this.D=!0;this.Mf(!0)};
        g.k.Br=function(){this.D&&!this.Bk()&&this.Mf(!0)};
        g.k.S=function(){this.F&&this.removeEventListener("volumechange",this.Br);this.u&&this.u.dispose();this.l&&this.l.dispose();g.J.prototype.S.call(this)};g.t(ry,g.Zl);ry.prototype.preventDefault=function(){g.Zl.prototype.preventDefault.call(this);this.i&&this.i.preventDefault()};
        ry.prototype.stopPropagation=function(){g.Zl.prototype.stopPropagation.call(this);this.i&&this.i.stopPropagation()};g.t(g.sy,g.jy);g.k=g.sy.prototype;g.k.og=function(){return!0};
        g.k.isView=function(){return!1};
        g.k.ga=function(){return this.g};
        g.k.gd=function(){return this.g.src};
        g.k.tl=function(a){var b=this.getPlaybackRate();this.g.src=a;this.setPlaybackRate(b)};
        g.k.kp=function(){this.g.removeAttribute("src")};
        g.k.getPlaybackRate=function(){try{return 0<=this.g.playbackRate?this.g.playbackRate:1}catch(a){return 1}};
        g.k.setPlaybackRate=function(a){this.getPlaybackRate()!=a&&(this.g.playbackRate=a);return a};
        g.k.nl=function(){return this.g.loop};
        g.k.setLoop=function(a){this.g.loop=a};
        g.k.canPlayType=function(a,b){return this.g.canPlayType(a,b)};
        g.k.Hf=function(){return this.g.paused};
        g.k.Bi=function(){return this.g.seeking};
        g.k.ke=function(){return this.g.ended};
        g.k.Bk=function(){return this.g.muted};
        g.k.Mf=function(a){Ix();this.g.muted=a};
        g.k.Qg=function(){return this.g.played||Rx([],[])};
        g.k.bd=function(){try{var a=this.g.buffered}catch(b){}return a||Rx([],[])};
        g.k.Fk=function(){return this.g.seekable||Rx([],[])};
        g.k.ql=function(){return this.g.getStartDate?this.g.getStartDate():null};
        g.k.getCurrentTime=function(){return this.g.currentTime};
        g.k.Vl=function(a){this.g.currentTime=a};
        g.k.getDuration=function(){return this.g.duration};
        g.k.load=function(){var a=this.g.playbackRate;this.g.load&&this.g.load();this.g.playbackRate=a};
        g.k.pause=function(){this.g.pause()};
        g.k.play=function(){var a=this.g.play();return a&&a.then?a:null};
        g.k.Ld=function(){return this.g.readyState};
        g.k.Ck=function(){return this.g.networkState};
        g.k.oe=function(){return this.g.error?this.g.error.code:null};
        g.k.Ki=function(){return this.g.error?this.g.error.message:""};
        g.k.rl=function(){var a={};if(this.g){if(this.g.getVideoPlaybackQuality)return this.g.getVideoPlaybackQuality();this.g.webkitDecodedFrameCount&&(a.totalVideoFrames=this.g.webkitDecodedFrameCount,a.droppedVideoFrames=this.g.webkitDroppedFrameCount)}return a};
        g.k.sl=function(){return!!this.g.webkitCurrentPlaybackTargetIsWireless};
        g.k.togglePictureInPicture=function(){Hx()?this.g!=window.document.pictureInPictureElement?this.g.requestPictureInPicture():window.document.exitPictureInPicture():Gx()&&this.g.webkitSetPresentationMode("picture-in-picture"==this.g.webkitPresentationMode?"inline":"picture-in-picture")};
        g.k.dd=function(){return ah(this.g)};
        g.k.Li=function(){return g.kh(this.g)};
        g.k.setSize=function(a){return g.ih(this.g,a)};
        g.k.getVolume=function(){return this.g.volume};
        g.k.setVolume=function(a){Ix();this.g.volume=a};
        g.k.qn=function(a){if(!this.i[a]){var b=(0,g.A)(this.JA,this);this.g.addEventListener(a,b);this.i[a]=b}};
        g.k.JA=function(a){this.dispatchEvent(new ry(this,a.type,a))};
        g.k.setAttribute=function(a,b){this.g.setAttribute(a,b)};
        g.k.removeAttribute=function(a){this.g.removeAttribute(a)};
        g.k.hasAttribute=function(a){return this.g.hasAttribute(a)};
        g.k.Gh=ca(5);g.k.rj=ca(7);g.k.Ag=ca(2);g.k.Nh=ca(9);g.k.Vh=function(){$w(this.g)};
        g.k.hi=function(a){return g.Wg(this.g,a)};
        g.k.S=function(){for(var a in this.i)this.g.removeEventListener(a,this.i[a]);g.jy.prototype.S.call(this)};var Nda,d0,ty;
        Nda={cH:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",eH:"AUTHENTICATION_MALFORMED",fH:"AUTHENTICATION_MISSING",jH:"BAD_REQUEST",pH:"CAST_SESSION_DEVICE_MISMATCHED",qH:"CAST_SESSION_VIDEO_MISMATCHED",rH:"CAST_TOKEN_EXPIRED",sH:"CAST_TOKEN_FAILED",tH:"CAST_TOKEN_MALFORMED",uH:"CGI_PARAMS_MALFORMED",vH:"CGI_PARAMS_MISSING",IH:"DEVICE_FALLBACK",QH:"GENERIC_WITH_LINK_AND_CPN",RH:"LICENSE",SH:"VIDEO_UNAVAILABLE",WH:"FORMAT_UNAVAILABLE",ZH:"GEO_FAILURE",pI:"HTML5_AUDIO_RENDERER_ERROR",qI:"GENERIC_WITHOUT_LINK",
        rI:"HTML5_FLASH_DEPRECATED",sI:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",tI:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",zI:"INVALID_DRM_MESSAGE",nJ:"PURCHASE_NOT_FOUND",oJ:"PURCHASE_REFUNDED",sJ:"RENTAL_EXPIRED",uJ:"RETRYABLE_ERROR",xJ:"SERVER_ERROR",FJ:"STOPPED_BY_ANOTHER_PLAYBACK",GJ:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",HJ:"STREAMING_NOT_ALLOWED",IJ:"STREAM_LICENSE_NOT_FOUND",NJ:"TOO_MANY_REQUESTS",OJ:"TOO_MANY_REQUESTS_WITH_LINK",PJ:"TOO_MANY_STREAMS_PER_ENTITLEMENT",QJ:"TOO_MANY_STREAMS_PER_USER",
        SJ:"UNSUPPORTED_DEVICE",TJ:"VIDEO_FORBIDDEN",UJ:"VIDEO_NOT_FOUND"};d0={};
        g.DO=(d0.ALREADY_PINNED_ON_A_DEVICE="This video has already been downloaded on the maximum number of devices allowed by the copyright holder. Before you can play the video here, it needs to be unpinned on another device.",d0.DEVICE_FALLBACK="Sorry, this video is not available on this device.",d0.GENERIC_WITH_LINK_AND_CPN="An error occurred. Please try again later. (Playback ID: $CPN) $BEGIN_LINKLearn More$END_LINK",d0.LICENSE="Sorry, there was an error licensing this video.",d0.VIDEO_UNAVAILABLE=
        "Video unavailable",d0.FORMAT_UNAVAILABLE="This video isn't available at the selected quality. Please try again later.",d0.GEO_FAILURE="This video isn't available in your country.",d0.HTML5_AUDIO_RENDERER_ERROR="Audio renderer error. Please restart your computer.",d0.GENERIC_WITHOUT_LINK="An error occurred. Please try again later.",d0.HTML5_FLASH_DEPRECATED="Flash videos are no longer supported. For the best experience, please upgrade your browser to the latest version. $BEGIN_LINKLEARN MORE$END_LINK",
        d0.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="This video format is not supported.",d0.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="Your browser does not currently recognize any of the video formats available. $BEGIN_LINKClick here to visit our frequently asked questions about HTML5 video.$END_LINK",d0.INVALID_DRM_MESSAGE="The DRM system specific message is invalid.",d0.PURCHASE_NOT_FOUND="This video requires payment.",d0.PURCHASE_REFUNDED="This video's purchase has been refunded.",d0.RENTAL_EXPIRED="This video's rental has expired.",
        d0.CAST_SESSION_DEVICE_MISMATCHED="The device in the cast session doesn't match the requested one.",d0.CAST_SESSION_VIDEO_MISMATCHED="The video in the cast session doesn't match the requested one.",d0.CAST_TOKEN_FAILED="Cast session not available. Please refresh or try again later.",d0.CAST_TOKEN_EXPIRED="Cast session was expired. Please refresh.",d0.CAST_TOKEN_MALFORMED="Invalid cast session. Please refresh or try again later.",d0.SERVER_ERROR="There was an internal server error. Please try again later.",
        d0.STOPPED_BY_ANOTHER_PLAYBACK="Your account is playing this video in another location. Please reload this page to resume watching.",d0.STREAM_LICENSE_NOT_FOUND="Video playback interrupted. Please try again.",d0.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED="Too many devices/IP addresses have been used over the 24 hour period.",d0.STREAMING_NOT_ALLOWED="Playback not allowed because this video is pinned on another device.",d0.RETRYABLE_ERROR="There was a temporary server error. Please try again later.",
        d0.TOO_MANY_REQUESTS="Please log in to watch this video.",d0.TOO_MANY_REQUESTS_WITH_LINK="Please $BEGIN_LINKclick here$END_LINK to watch this video on YouTube.",d0.TOO_MANY_STREAMS_PER_USER="Playback stopped because too many videos belonging to the same account are playing.",d0.TOO_MANY_STREAMS_PER_ENTITLEMENT="Playback stopped because this video has been played on too many devices.",d0.UNSUPPORTED_DEVICE="Playback isn't supported on this device.",d0.VIDEO_FORBIDDEN="Access to this video is forbidden.",
        d0.VIDEO_NOT_FOUND="This video can not be found.",d0);
        ty={300:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",301:"ALREADY_PINNED_ON_A_DEVICE",303:"STOPPED_BY_ANOTHER_PLAYBACK",304:"TOO_MANY_STREAMS_PER_USER",305:"TOO_MANY_STREAMS_PER_ENTITLEMENT",400:"VIDEO_NOT_FOUND",401:"GEO_FAILURE",402:"STREAMING_NOT_ALLOWED",403:"UNSUPPORTED_DEVICE",405:"VIDEO_FORBIDDEN",500:"PURCHASE_NOT_FOUND",501:"RENTAL_EXPIRED",502:"PURCHASE_REFUNDED",5E3:"BAD_REQUEST",5001:"CGI_PARAMS_MISSING",5002:"CGI_PARAMS_MALFORMED",5100:"AUTHENTICATION_MISSING",5101:"AUTHENTICATION_MALFORMED",
        5102:"AUTHENTICATION_EXPIRED",5200:"CAST_TOKEN_MALFORMED",5201:"CAST_TOKEN_EXPIRED",5202:"CAST_TOKEN_FAILED",5203:"CAST_SESSION_VIDEO_MISMATCHED",5204:"CAST_SESSION_DEVICE_MISMATCHED",6E3:"INVALID_DRM_MESSAGE",7E3:"SERVER_ERROR",8E3:"RETRYABLE_ERROR"};var sO=Dc(function(){var a="";try{var b=g.we("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.By.prototype.isCued=function(){return g.R(this,64)&&!g.R(this,8)&&!g.R(this,4)};
        g.By.prototype.isError=function(){return g.R(this,128)};
        g.By.prototype.toString=function(){return"PSt."+this.g.toString(16)};Ny.prototype.add=function(a){this.g=(this.g+1)%this.i.length;this.i[this.g]=a};
        Ny.prototype.clear=function(){for(var a=this.i.length,b=0;b<a;b++)this.i[b]=0;this.l=this.g=this.i.length-1};g.t(Py,g.J);Py.prototype.start=function(){this.i.start()};
        Py.prototype.stop=function(){this.i.stop()};
        Py.prototype.clear=function(){for(var a in this.g)this.g[a].clear()};
        Py.prototype.o=function(){for(var a in this.l)this.g[a].update(this.l[a]());this.i.start()};
        Qy.prototype.update=function(a){this.l?(this.g.add(a-this.i||0),this.i=a):this.g.add(a)};
        Qy.prototype.clear=function(){this.g.clear();this.i=0};var Uy=(0,g.H)().toString();var lz=/^https?:\/\/([^.]*\.moatads\.com\/|e[0-9]+\.yt\.srs\.doubleverify\.com|pagead2\.googlesyndication\.com\/pagead\/gen_204\?id=yt3p&sr=1&|pm\.adsafeprotected\.com\/youtube|pm\.test-adsafeprotected\.com\/youtube|youtube[0-9]+\.moatpixel\.com\/)/,hz=/^http:\/\/0\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.l2gfe\.[a-z0-9_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?\/|^https:\/\/([a-z]+\.)?[0-9a-f]{1,63}\.sslproxy\.corp\.google\.com\/|^https:\/\/([a-z]+\.)?[a-z0-9\-]{1,63}\.demos\.corp\.google\.com\/|^https?:\/\/((?:uytfe\.corp|dev-uytfe\.corp|uytfe\.sandbox)\.google\.com\/|([-\w]*www[-\w]*\.|[-\w]*web[-\w]*\.|[-\w]*canary[-\w]*\.|[-\w]*dev[-\w]*\.|[-\w]{1,3}\.)+youtube(-nocookie|kids)?\.com\/|([A-Za-z0-9-]{1,63}\.)*(youtube\.googleapis\.com)(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.([a-z]{3}|i)\.corp\.google\.com(:[0-9]+)?\/|([a-z]+\.)?[a-z0-9\-]{1,63}\.c\.googlers\.com(:[0-9]+)?\/|(docs|drive)\.google\.com\/(a\/[^/\\%]+\/|)|(tv|tv-green-qa|tv-release-qa)\.youtube\.com\/|[A-Za-z0-9-]+\.prod\.google\.com(:[0-9]+)?\/|m?web-ppg\.corp\.google\.com\/|play\.google\.com\/)/,
        nz=/^https?:\/\/(www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/slav)/,vz=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|docs\.google\.com|drive\.google\.com|prod\.google\.com|plus\.google\.com|currents\.google\.com|mail\.google\.com|youtube\.com|youtube\-nocookie\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,
        hda=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|prod\.google\.com|youtube\.com|youtubekids\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b))/,rz=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(play-(ti-)?lh\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|play\.google\.com|prod\.google\.com|plus\.google\.com|currents\.google\.com|video\.google\.com|youtube\.com|ytimg\.com|ytimg\.sandbox\.google\.com|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|s2\.googleusercontent\.com\/s2\/favicons\?|yt[3-4]\.ggpht\.com\/)/,
        jz=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,tz=/^https?:\/\/(googleads\.g\.doubleclick\.net\/(aclk|pagead\/conversion)|www\.google\.com\/(aclk|pagead\/conversion)|www\.googleadservices\.com\/(aclk|pagead\/(aclk|conversion))|www\.youtube\.com\/pagead\/conversion)/,pz=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(play-(ti-)?lh\.googleusercontent)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(dp4\.googleusercontent\.com)|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-(dev|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\/|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleplex\.com|googlevideo\.com|play\.google\.com|prod\.google\.com|lh3\.photos\.google\.com|plus\.google\.com|currents\.google\.com|mail\.google\.com|youtube\.com|xfx7\.com|yt\.akamaized\.net|chat\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|([A-Za-z0-9-]{1,63}\.)*c\.lh3(-d[a-gz])?\.(googleusercontent|photos\.google)\.com\/.*$)/,
        CE=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|googleads\.g\.doubleclick\.net|prod\.google\.com|static\.doubleclick\.net|static\.googleadsserving\.cn|studioapi\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|ytimg\.com|ytimg\.sandbox\.google\.com)(:[0-9]+)?\/|lightbox-(demos|builder)\.appspot\.com\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/ytplayer)/,
        BE=/^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com\/(?!url\b)|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com\/|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|c\.googlers\.com|borg\.google\.com|docs\.google\.com|drive\.google\.com|googleads\.g\.doubleclick\.net|googleplex\.com|play\.google\.com|prod\.google\.com|photos\.google\.com|get\.google\.com|class\.photos\.google\.com|plus\.google\.com|currents\.google\.com|books\.googleusercontent\.com|blogger\.com|mail\.google\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|talkgadget\.google\.com|survey\.g\.doubleclick\.net|youtube\.com|youtube\.googleapis\.com|youtube\-nocookie\.com|youtubekids\.com|vevo\.com|jamboard\.google\.com|chat\.google\.com|meet\.google\.com|crowdsource\.google\.com|stadia\.google\.com)(:[0-9]+)?\/|([A-Za-z0-9-]{1,63}\.)*(sandbox\.google\.com)(:[0-9]+)?\/(?!url\b)|(www\.|encrypted\.)?google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))\/(search|webhp)\?|lightbox-(demos|builder)\.appspot\.com\/|s0\.2mdn\.net\/instream\/html5\/native\/|s[01](qa)?\.2mdn\.net\/ads\/richmedia\/studio\/mu\/templates\/tetris|www\.gstatic\.com\/doubleclick\/studio\/innovation\/h5\/layouts\/tetris)/,
        e0=/^(https\:\/\/googleads\.g\.doubleclick\.net|https\:\/\/play\.google\.com|https\:\/\/photos\.google\.com|https\:\/\/get\.google\.com|https\:\/\/class\.photos\.google\.com|https\:\/\/plus\.google\.com|https\:\/\/currents\.google\.com|https\:\/\/mail\.google\.com|https\:\/\/talkgadget\.google\.com|https\:\/\/jamboard\.google\.com|https\:\/\/chat\.google\.com|https\:\/\/crowdsource\.google\.com|https\:\/\/stadia\.google\.com)$|^http:\/\/[0-9]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.[a-z0-9\-_]+\.([a-z]{2}|i)\.borg\.google\.com(:[0-9]+)?$|^https:\/\/((staging|stream|today)\.)?meet\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)*youtube\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+demos\.corp\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sandbox\.google\.com$|^https:\/\/([A-Za-z0-9-]{1,63}\.)+sslproxy\.corp\.google\.com$|^https:\/\/(books|play-books-internal-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*corp\.google\.com(:[0-9]+)?$|([A-Za-z0-9-]{1,63}\.)*googleplex\.com(:[0-9]+)?$|(www\.|encrypted\.)google\.(cat|com(\.(a[fgiru]|b[dhnorz]|c[ouy]|do|e[cgt]|fj|g[hit]|hk|jm|kh|kw|l[bcy]|m[mtxy]|n[afgip]|om|p[aeghkry]|qa|s[abglv]|t[jnrw]|ua|uy|vc|vn))?|a[cdelmstz]|c[acdfghilmnvz]|b[aefgijsty]|ee|es|d[ejkmz]|g[aefglmpry]|f[imr]|i[emoqrst]|h[nrtu]|k[giz]|je|jo|m[degklnsuvw]|l[aiktuv]|n[eloru]|p[lnst]|s[cehikmnort]|r[osuw]|us|t[dgklmnot]|ws|vg|vu|co\.(ao|bw|ck|cr|i[dln]|jp|ke|kr|ls|ma|mz|nz|th|tz|u[gkz]|ve|vi|z[amw]))$|[A-Za-z0-9-]+\.prod\.google\.com(:[0-9]+)?$|docs\.google\.com$|imasdk\.googleapis\.com$|lightbox-(demos|builder)\.appspot\.com$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var Ez=1;g.t(g.Az,g.J);g.Az.prototype.i=function(a,b){g.Ja(b)?Ae(a,this.element,b):a.appendChild(this.element)};
        g.Az.prototype.update=function(a){for(var b in a)this.updateValue(b,a[b])};
        g.Az.prototype.updateValue=function(a,b){var c=this.ua["{{"+a+"}}"];c&&Dz(this,c[0],c[1],b)};
        g.Az.prototype.S=function(){this.g={};this.ua={};g.Be(this.element);g.J.prototype.S.call(this)};g.t(g.T,g.Az);g.k=g.T.prototype;g.k.qd=function(a,b){this.updateValue(b||"content",a)};
        g.k.show=function(){this.R||(this.element.style.display=this.gb,this.R=!0)};
        g.k.hide=function(){this.R&&(this.element.style.display="none",this.R=!1)};
        g.k.ib=function(){return this.R};
        g.k.va=function(a,b,c){return this.P(this.element,a,b,c)};
        g.k.P=function(a,b,c,d){c=(0,g.A)(c,d||this);d={target:a,type:b,listener:c};this.H.push(d);a.addEventListener(b,c);return d};
        g.k.bb=function(a){for(var b=0;b<this.H.length;b++)if(this.H[b]==a){a=this.H.splice(b,1)[0];a.target.removeEventListener(a.type,a.listener);break}};
        g.k.focus=function(){g.Je(this.element);this.element.focus()};
        g.k.S=function(){for(;this.H.length;){var a=this.H.pop();a.target.removeEventListener(a.type,a.listener)}g.Az.prototype.S.call(this)};g.t(g.Gz,g.T);g.Gz.prototype.subscribe=function(a,b,c){return this.F.subscribe(a,b,c)};
        g.Gz.prototype.unsubscribe=function(a,b,c){return this.F.unsubscribe(a,b,c)};
        g.Gz.prototype.We=function(a){return this.F.We(a)};
        g.Gz.prototype.L=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.F.L.apply(this.F,[a].concat(g.fa(c)))};var Jz={TP:function(a,b){a.splice(0,b)},
        TI:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c},
        e5:function(a){a.reverse()}};Lz.prototype.set=function(a,b){this.g[a]!==b&&(this.g[a]=b,this.l="")};
        Lz.prototype.get=function(a){Oz(this);return this.g[a]||null};
        Lz.prototype.clone=function(){var a=new Lz(this.o);a.u=this.u;a.i=this.i;a.A=this.A;a.g=g.qc(this.g);a.l=this.l;return a};g.k=g.Xz.prototype;g.k.Qt=function(a){this.segments.push(a)};
        g.k.getDuration=function(a){return(a=this.wf(a))?a.duration:0};
        g.k.ws=function(a){return this.getDuration(a)};
        g.k.ee=function(){return this.segments.length?this.segments[0].fb:-1};
        g.k.Eo=function(a){return(a=this.wf(a))?a.ingestionTime:NaN};
        g.k.ab=function(){return this.segments.length?this.segments[this.segments.length-1].fb:-1};
        g.k.Og=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:NaN};
        g.k.ob=function(){return this.segments[0].startTime};
        g.k.di=function(){return this.segments.length};
        g.k.wl=function(){return 0};
        g.k.Oe=function(a){return(a=this.Yh(a))?a.fb:-1};
        g.k.zn=function(a){return(a=this.wf(a))?a.l:""};
        g.k.kc=function(a){return(a=this.wf(a))?a.startTime:0};
        g.k.Gk=ca(11);g.k.Hb=function(){return 0<this.segments.length};
        g.k.wf=function(a){a=g.Bb(this.segments,new Wz(a,0,0,0,""),function(b,c){return b.fb-c.fb});
        return 0<=a?this.segments[a]:null};
        g.k.Yh=function(a){a=g.Bb(this.segments,{startTime:a},function(b,c){return b.startTime-c.startTime});
        return 0<=a?this.segments[a]:this.segments[Math.max(0,-a-2)]};
        g.k.append=function(a){if(0!=a.length)if(a=g.ub(a),0==this.segments.length)this.segments=a;else{var b=this.segments.length?g.db(this.segments).endTime:0,c=a[0].fb-this.ab();1<c&&nb(this.segments);for(c=0<c?0:-c+1;c<a.length;c++){var d=a[c];d.startTime=b;d.endTime=d.startTime+d.duration;b+=a[c].duration;this.segments.push(a[c])}}};
        g.k.Cs=function(){return 0};Zz.prototype.skip=function(a){this.g+=a};fA.prototype.qf=function(a,b,c){(new Uint8Array(this.data.buffer,this.g,c)).set(new Uint8Array(a.buffer,b+a.byteOffset,c));this.g+=c};var f0={},zha=(f0.predictStart="predictStart",f0.start="start",f0["continue"]="continue",f0.stop="stop",f0),aca={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_CONTINUE:"continue",EVENT_STOP:"stop"};var NK=!1;var XA=!0;cB.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};gB.prototype.Pk=function(){return this.g.info.Pk()};
        gB.prototype.Ud=function(){return!!this.g.info.video};tB.prototype.getLength=function(){return this.o};
        tB.prototype.append=function(a){var b=g.db(this.g);b&&b.buffer==a.buffer&&b.byteOffset+b.length==a.byteOffset?this.g[this.g.length-1]=new Uint8Array(b.buffer,b.byteOffset,b.length+a.length):this.g.push(a);this.o+=a.length};
        tB.prototype.split=function(a){for(var b=new tB,c=new tB,d=g.r(this.g),e=d.next();!e.done;e=d.next())e=e.value,a>=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{mK:b,fG:c}};yB.prototype.verify=function(a){if(this.info.Ea!=this.g.getLength())return a.slength=this.info.Ea.toString(),a.range=this.g.getLength().toString(),!1;if(1==this.info.g.info.containerType){if(8>this.info.Ea||4==this.info.type)return!0;var b=zB(this),c=b.getUint32(0,!1);b=b.getUint32(4,!1);a.infotype=this.info.type.toString();a.slicesize=c.toString();a.boxtype=b.toString();if(2==this.info.type)return c==this.info.Ea&&1936286840==b;if(3==this.info.type&&0==this.info.l)return 1836019558==b||1936286840==
        b||1937013104==b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.g.info.containerType){if(4>this.info.Ea||4==this.info.type)return!0;c=zB(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.l)return 524531317==c||440786851==c}return!0};EB.prototype.set=function(a,b){this.g.get(a);this.i[a]=b;this.l=""};
        EB.prototype.get=function(a){return this.i[a]||this.g.get(a)};g.k=aC.prototype;g.k.Ed=function(){};
        g.k.yi=function(){};
        g.k.ho=function(){return!1};
        g.k.Ob=function(){return!!this.g&&this.index.Hb()};
        g.k.Ve=function(){};
        g.k.Jt=function(){return!1};
        g.k.Pg=function(){};
        g.k.ng=function(){};
        g.k.hh=function(){};
        g.k.Ne=function(){};
        g.k.Kk=function(){};
        g.k.Kt=function(a){return[a]};
        g.k.Sl=function(a){return[a]};
        g.k.Ll=function(){};
        g.k.Ak=function(){};g.t(bC,aC);g.k=bC.prototype;g.k.Ed=function(){return!1};
        g.k.yi=function(){return!1};
        g.k.Jt=function(){return this.i};
        g.k.Pg=function(){return this.i?[]:[new UB([new gB(1,this,this.initRange,"getMetadataRequestInfos")],this.J)]};
        g.k.ng=function(){return null};
        g.k.hh=function(a){this.Ve(a);return this.jh(a.o?a.i+1:a.i,!1)};
        g.k.Ne=function(a,b){b=void 0===b?!1:b;var c=this.index.Oe(a);b&&(c=Math.min(this.index.ab(),c+1));return this.jh(c,!0)};
        g.k.Kk=function(a){this.g=new Uint8Array(zB(a).buffer)};
        g.k.ho=function(){return!1};
        g.k.Ve=function(a){return 0==a.Ea?!0:this.index.ab()>a.i&&this.index.ee()<=a.i+1};
        g.k.update=function(a,b,c){this.index.append(a);Yz(this.index,c);this.F=b};
        g.k.Ob=function(){return this.i?!0:aC.prototype.Ob.call(this)};
        g.k.jh=function(a,b){var c=this.index.zn(a),d=this.index.kc(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.g?this.info.g*e:1E3;return new UB([new gB(3,this,null,"liveCreateRequestInfoForSegment",a,d,e,0,f,a==this.index.ab()&&!this.F&&0<f)],c)};
        g.k.Ak=function(){return this.i?0:this.initRange.length};
        g.k.Ll=function(){return!1};g.t(dC,g.Xz);g.k=dC.prototype;g.k.ee=function(){return this.i?this.segments.length?this.Yh(this.ob()).fb:-1:g.Xz.prototype.ee.call(this)};
        g.k.ob=function(){if(!this.i)return g.Xz.prototype.ob.call(this);if(!this.segments.length)return 0;var a=Math.max(g.db(this.segments).endTime-this.A,0);return 0<this.u&&this.Yh(a).fb<this.u?this.wf(this.u).startTime:a};
        g.k.Og=function(){if(!this.segments.length)return g.Xz.prototype.Og.call(this);var a=this.ab();a=!this.i||a<=this.segments[this.segments.length-1].fb?this.segments[this.segments.length-1]:hC(this,a,this.segments[this.segments.length-1]);return null!=this.o&&a.g&&3==this.o?a.startTime:a.endTime};
        g.k.di=function(){return this.i?this.segments.length?this.ab()-this.ee()+1:0:g.Xz.prototype.di.call(this)};
        g.k.ab=function(){return Math.min(this.B,Math.max(g.Xz.prototype.ab.call(this),this.l))};
        g.k.Qt=function(a){var b=eC(this,a.fb);0<=b?this.segments[b]=a:this.segments.splice(-(b+1),0,a)};
        g.k.Yh=function(a){if(!this.i)return g.Xz.prototype.Yh.call(this,a);if(!this.segments.length)return null;var b=g.Bb(this.segments,{startTime:a},function(d,e){return d.startTime-e.startTime}),c=this.segments[0<=b?b:Math.max(-(b+2),0)];
        return c.startTime+c.duration>a&&c.startTime<=a?c:-1==b?hC(this,Math.max(c.fb-Math.ceil((c.startTime-a)/this.g),0),c):hC(this,c.fb+Math.ceil((a-c.endTime)/this.g),c)};
        g.k.wf=function(a){if(!this.i)return g.Xz.prototype.wf.call(this,a);if(!this.segments.length)return null;var b=eC(this,a);return 0<=b?this.segments[b]:hC(this,a,this.segments[Math.max(-(b+2),0)])};g.t(iC,bC);g.k=iC.prototype;g.k.yi=function(){return!0};
        g.k.Ob=function(){return!0};
        g.k.Ve=function(a){return!a.A};
        g.k.Pg=function(){return[]};
        g.k.Ne=function(a,b){return g.Ja(a)&&!isFinite(a)?new UB([new gB(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.B,void 0,this.B*this.info.g)],""):bC.prototype.Ne.call(this,a,b)};
        g.k.jh=function(a,b){var c=void 0===c?!1:c;if(fC(this.index,a))return bC.prototype.jh.call(this,a,b);var d=this.index.kc(a),e=b?0:this.B*this.info.g;return new UB([new gB(c?6:3,this,null,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,e,a==this.index.ab()&&!this.F&&0<e,!b)],0<=a?"sq/"+a:"")};oC.prototype.update=function(a,b){var c=void 0;this.i&&(c=this.i);var d=new oC,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+kC(a,"timescale")||1,h=(+e[0].getAttribute("t")||0)/f,l=+kC(a,"startNumber")||0;var m=h;var n=+kC(a,"presentationTimeOffset")||0;m=c?c.g+c.durationSecs:b?m-n/f:0;n=Date.parse(nC(kC(a,"yt:segmentIngestTime")))/1E3;d.l="SegmentTemplate"==a.parentNode.tagName;d.l&&(d.A=kC(a,"media"));var p=c?l-c.fb:1;d.u=0<p?0:-p+1;e=g.r(e);for(p=e.next();!p.done;p=e.next()){p=
        p.value;for(var q=+p.getAttribute("d")/f,v=(+p.getAttribute("yt:sid")||0)/f,x=+p.getAttribute("r")||0,B=0;B<=x;B++)if(c&&l<=c.fb)l++;else{var C=new jC(l,m,q,n+v,h);d.g.push(C);var E=C.g;C=p.getAttribute("yt:cuepointTimeOffset");var F=p.getAttribute("yt:cuepointDuration");if(C&&F){C=parseFloat(C);E=(NK?+C/f:-C/f)+E;F=parseFloat(F)/f;var G=p.getAttribute("yt:cuepointContext")||null,N=p.getAttribute("yt:cuepointIdentifier"),Z=p.getAttribute("yt:cuepointEvent");C=new iA(E,F,G,N,zha[Z]||"unknown",C)}else C=
        null;C&&d.o.push(C);l++;m+=q;h+=q;n+=q+v}}d.g.length&&(d.i=g.db(d.g))}this.u=d.u;this.i=d.i||this.i;vb(this.g,d.g);vb(this.o,d.o);this.l=d.l;this.A=d.A};g.t(wC,aC);g.k=wC.prototype;g.k.Ed=function(){return!1};
        g.k.yi=function(){return!1};
        g.k.Pg=function(){return this.i?[new UB([new gB(1,this,null,"otfInit")],this.i)]:[new UB([new gB(1,this,this.initRange,"otfInitInfo"),new gB(2,this,this.indexRange,"otfIndexInfo")])]};
        g.k.ng=function(){return null};
        g.k.hh=function(a){this.Ve(a);return xC(this,mB(a),!1)};
        g.k.Ne=function(a,b){b=void 0===b?!1:b;var c=this.index.Oe(a);b&&(c=Math.min(this.index.ab(),c+1));return xC(this,c,!0)};
        g.k.Kk=function(a){if(1==a.info.type)this.g||(a.i&&"http://youtube.com/streaming/otf/durations/112015"==a.i.uri&&yC(this,a.i),this.g=xB(a.g));else if(2==a.info.type)if(g.xx(this.info)){if(!this.index.Hb()&&(a=g.sA(zB(a),0,1936286840))){var b=[],c=AA(a);a=c.jp.length;var d=c.gm,e=c.jp,f=c.qj;c=this.indexRange.end+c.Yr+1;for(var h=0,l=0;l<a;l++){var m=f[l]/d,n=e[l];b.push(new Wz(l,h,m,NaN,"range/"+c+"-"+(c+n-1)));h+=m;c+=n}this.index.append(b)}}else if(2==this.info.containerType&&this.g&&(d=new IA(new DataView(this.g.buffer)),
        b=WA(d))&&(d=new IA(zB(a)),a=YA(d,b.fj,this.indexRange.end))){d=[];e=b.Ip/b.Jp;f=a.length-1;for(c=0;c<f;c++)h=a[c],l=a[c+1],m=h.lk*e,d.push(new Wz(c,m,l.lk*e-m,NaN,"range/"+h.Wf+"-"+(l.Wf-1)));c=a[f].lk*e;d.push(new Wz(f,c,b.duration*e-c,NaN,"range/"+a[f].Wf+"-"+(b.qp+b.fj)));this.index.append(d)}};
        g.k.Ve=function(a){return 0==a.Ea?!0:this.index.ab()>a.i&&this.index.ee()<=a.i+1};
        g.k.Ak=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
        g.k.Ll=function(){return!1};g.k=g.zC.prototype;g.k.wl=function(a){return this.g[a]};
        g.k.kc=function(a){return this.i[a]/this.o};
        g.k.Gk=ca(10);g.k.Eo=function(){return NaN};
        g.k.getDuration=function(a){a=this.ws(a);return 0<=a?a/this.o:-1};
        g.k.ws=function(a){return a+1<this.wa||this.l?this.i[a+1]-this.i[a]:-1};
        g.k.ee=function(){return 0};
        g.k.ab=function(){return this.wa-1};
        g.k.Og=function(){return this.l?this.i[this.wa]/this.o:NaN};
        g.k.ob=function(){return 0};
        g.k.di=function(){return this.wa};
        g.k.zn=function(){return""};
        g.k.Oe=function(a){a=g.Bb(this.i.subarray(0,this.wa),a*this.o);return 0<=a?a:Math.max(0,-a-2)};
        g.k.Hb=function(){return 0<=this.ab()};
        g.k.Cs=function(a,b){if(a>=this.ab())return 0;for(var c=0,d=this.kc(a)+b,e=a;e<this.ab()&&d>this.kc(e);e++)c=Math.max(c,(e+1<this.wa||this.l?this.g[e+1]-this.g[e]:-1)/this.getDuration(e));return c};
        g.k.cap=function(a,b){AC(this);this.l=!0;this.i[this.wa]=b;this.g[this.wa]=a};g.t(BC,aC);g.k=BC.prototype;g.k.Pg=function(a){var b=new gB(1,this,this.initRange,"initInfo"),c=new gB(2,this,this.indexRange,"indexInfo"),d=[],e=[b];kB(b,c)?e.push(c):(d.push(new UB([c])),a=0);isNaN(this.i)&&(a=0);b=e[e.length-1];a=Math.min(a,this.i-(b.range.end-e[0].range.start+1));0<a&&e.push(new gB(4,this,eB(b.range.end+1,a),"tbdRange"));d.push(new UB(e));return d};
        g.k.Kk=function(a){if(1==a.info.type){if(this.g)return;this.g=xB(a.g)}else if(2==a.info.type){if(this.B||0<=this.index.ab())return;if(g.xx(this.info)){var b=this.index,c=zB(a);a=a.info.range.start;var d=g.sA(c,0,1936286840);c=AA(d);b.o=c.gm;var e=c.qy;b.g[0]=c.Yr+a+d.size;b.i[0]=e;b.l=!0;a=c.qj.length;for(d=0;d<a;d++){e=b;var f=c.jp[d],h=c.qj[d];e.wa++;AC(e);e.g[e.wa]=e.g[e.wa-1]+f;e.i[e.wa]=e.i[e.wa-1]+h}}else this.B=zB(a)}if(2==this.info.containerType&&this.g&&this.B){c=new DataView(this.g.buffer);
        b=this.index;a=this.B;d=this.indexRange.end;e=new IA(c);c=WA(e);if(null!=c&&(b.o=c.Jp/c.Ip,e=new IA(a),a=YA(e,c.fj,d),null!=a)){a=g.r(a);for(d=a.next();!d.done;d=a.next())f=d.value,d=b,e=f.Wf,f=f.lk,AC(d),d.g[d.wa]=e,d.i[d.wa]=f,d.wa++;b.cap(c.qp+c.fj,c.duration)}this.B=null}};
        g.k.Kt=function(a){var b=this.Sl(a.info),c=a.info.range,d=[],e=wB(a.g);a=a.l;for(var f=0;f<b.length;f++){var h=new Uint8Array(e.buffer,b[f].range.start+b[f].l-c.start+e.byteOffset,b[f].Ea);d.push(new yB(b[f],h,a));a=!1}return d};
        g.k.Sl=function(a){for(var b=0;b<this.index.ab()&&a.range.start>=this.index.wl(b+1);)b++;return CC(this,b,a.range.start,a.range.length).g};
        g.k.Ve=function(a){return this.Ob()?!0:isNaN(this.i)?!1:a.range.end+1<this.i};
        g.k.ng=function(a,b){this.Ve(a);if(!this.Ob()){var c=eB(a.range.end+1,b);c.end+1>this.i&&(c=new cB(c.start,this.i-1));return new UB([new gB(4,a.g,c,"getNextRequestInfoByLength")])}4==a.type&&(c=this.Sl(a),a=c[c.length-1]);c=0;var d=a.range.start+a.l+a.Ea;3==a.type&&(c=a.i,d==a.range.end+1&&(c+=1));return CC(this,c,d,b)};
        g.k.hh=function(){return null};
        g.k.Ne=function(a,b){var c=this.index.Oe(a);b&&(c=Math.min(this.index.ab(),c+1));return CC(this,c,this.index.wl(c),0)};
        g.k.ho=function(){var a;if(a=this.Ob()&&!isNaN(this.i))a=this.index,a=(a.l?a.g[a.wa]:-1)!=this.i;return a};
        g.k.Ed=function(){return!0};
        g.k.yi=function(){return!1};
        g.k.Ak=function(){return this.indexRange.length+this.initRange.length};
        g.k.Ll=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};g.t(GC,g.O);g.k=GC.prototype;g.k.Ci=function(){return cc(this.g,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
        g.k.Di=function(){return cc(this.g,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
        g.k.ti=function(){return cc(this.g,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
        g.k.bo=function(){return cc(this.g,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
        g.k.uF=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.le=this.l=!0;this.u||(this.u=new qC);uC(this.u,a,this.ia);this.L("refresh");for(a=0;a<b.length;a++){var c=ZC(this,b[a]),d=this.isLive&&g.xx(c)&&this.ka;if(!this.g[c.id]){var e=NC(lC(b[a],"BaseURL").textContent),f=lC(b[a],"Initialization"),h=kC(f,"sourceURL");f=dB(kC(f,"range"));d&&(h="",f=void 0);this.g[c.id]=new bC(e,c,h,null===
        f?void 0:f)}c=this.g[c.id];e=kC(b[a],"id","AdaptationSet");e=""!=e?e:kC(b[a],"mimetype","AdaptationSet");h=this.u;e=h.l[c.info.id]||h.i[e]||h.g||null;h=e.g;if(e.l)for(d=[],h=g.r(h),f=h.next();!f.done;f=h.next()){f=f.value;for(var l=c.info.id,m=8*c.info.g,n=f.fb,p=f.g,q=e.A.split("$$"),v=0;v<q.length;v++)q[v]=q[v].replace("$RepresentationID$",l),q[v]=q[v].replace("$Number$",n.toString()),q[v]=q[v].replace("$Bandwidth$",m.toString()),q[v]=q[v].replace("$Time$",p.toString());d.push(new Wz(f.fb,f.g,f.durationSecs,
        f.i,q.join("$"),null,f.l))}else{e=wb(lC(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.u);f=[];for(l=0;l<e.length;l++)f.push(bD(e[l],h[l],d));d=f}c.update(d,this.isLive,this.Y)}vC(this.u);return!0}this.duration=mC(kC(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){h=b[a];c=ZC(this,h);e=lC(h,"BaseURL");d=NC(e.textContent);f=lC(h,"SegmentBase");h=dB(f.attributes.indexRange.value);f=dB(f.getElementsByTagName("Initialization")[0].attributes.range.value);e=parseInt(e.getAttribute(VC(this,
        "contentLength")),10);c=new BC(d,c,f,h,e,NaN);if(!c){b=!1;break a}LC(this,c)}b=!0}return b};
        g.k.Vy=function(a){if(this.da())return this;this.N=a.status;a=a.responseText;a=(new DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.F=1E3*mC(kC(a,"minimumUpdatePeriod"))||Infinity;if(!this.U){var b;a:{if(a.attributes)for(b=0;b<a.attributes.length;b++)if("http://youtube.com/yt/2012/10/10"==a.attributes[b].value){b=a.attributes[b].name.split(":")[1];break a}b=""}this.Z=b}this.isLive=Infinity>this.F&&this.ua;this.Y=parseInt(kC(a,VC(this,"earliestMediaSequence")),10)||0;if(b=
        Date.parse(nC(kC(a,VC(this,"mpdResponseTime")))))this.H=((0,g.H)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.bi)(a.getElementsByTagName("Period"),this.uF,this);this.B=2;this.L("loaded");dD(this);return this};
        g.k.Xy=function(a){this.N=a.mg.status;this.B=3;this.L("loaderror");return Zm(a.mg)};
        g.k.Rt=function(){if(1!=this.B&&!this.da()){var a=g.qg(this.sourceUrl,{start_seq:eD(this).toString()});ln($C(this,a),function(){})}};
        g.k.resume=function(){dD(this)};
        g.k.Db=function(){var a=this.g,b=!1,c=NaN,d=NaN,e;for(e in a){var f=a[e],h=f.index;h.Hb()&&(f.A&&(b=!0),h=h.Og(),f.info.audio&&(isNaN(c)||h<c)?c=h:f.info.Ud()&&(isNaN(d)||h<d)&&(d=h))}return b||isNaN(d)?c:Math.min(c,d)};
        g.k.ob=function(){var a=this.g,b;for(b in a){var c=a[b].index;if(c.Hb())return c.ob()}return 0};
        var RC=null,SC=!1,YC={commentary:1,alternate:2,dub:3,main:4};var NE={RED:"red",YJ:"white"};var DE={PG:"adunit",HH:"detailpage",LH:"editpage",NH:"embedded",DI:"leanback",jJ:"previewpage",kJ:"profilepage",RJ:"unplugged",gJ:"playlistoverview",DJ:"sponsorshipsoffer"};var g0={cupcake:1.5,donut:1.6,eclair:2,froyo:2.2,gingerbread:2.3,honeycomb:3,"ice cream sandwich":4,jellybean:4.1,kitkat:4.4,lollipop:5.1,marshmallow:6,nougat:7.1},h0;a:{var i0=g.Yb;i0=i0.toLowerCase();if(-1!=i0.indexOf("android")){var j0=i0.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if(j0){var k0=parseFloat(j0[1]);if(100>k0){h0=k0;break a}}var l0=i0.match("("+g.fc(g0).join("|")+")");h0=l0?g0[l0[0]]:0}else h0=void 0}var ME=h0,LE=0<=ME;nD.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;lu?c=c||Aha[b]:2.2==ME?c=c||Bha[b]:du()&&(c=c||Cha[b]);return!!c};
        var Bha={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},Cha={"application/x-mpegURL":"maybe"},Aha={"application/x-mpegURL":"maybe"};g.k=FD.prototype;g.k.cd=function(){return this.Le};
        g.k.Mi=function(){return null};
        g.k.xs=function(){var a=this.Mi();return a?+g.rt(a.g).expire:NaN};
        g.k.rp=function(){};
        g.k.getHeight=function(){return this.Le.ra().height};HD.prototype.isLocked=function(){return this.l&&!!this.i&&this.i==this.g};
        HD.prototype.o=function(a){return a.video?PD(this,a.video.quality):!1};
        var MO=KD("auto","hd1080",!1,"l"),SM=KD("auto","large",!1,"l"),MD=KD("auto","auto",!1,"p");var SE={GI:1,HI:2,II:3};g.t(QD,g.O);QD.prototype.add=function(a,b){!this.Sa[a]&&(b.ek||b.fk||b.Kp)&&(this.Sa[a]=uc(b),this.L("vast_info_card_add",a))};
        QD.prototype.remove=function(a){var b=this.get(a);delete this.Sa[a];return b};
        QD.prototype.get=function(a){return this.Sa[a]||null};
        QD.prototype.isEmpty=function(){return g.lc(this.Sa)};g.RD=Dc(function(){var a=new Cr;return a.isAvailable()?new g.yr(a):null});
        g.SD=Dc(function(){var a=new Dr;return a.isAvailable()?new g.yr(a):null});eE.prototype.i=function(a,b){var c=Math.pow(this.u,a);this.l=b*(1-c)+c*this.l;this.o+=a};
        eE.prototype.g=function(){return this.l/(1-Math.pow(this.u,this.o))};gE.prototype.i=function(a,b){var c=Math.min(this.l,Math.max(1,Math.round(a*this.I)));c+this.o>=this.l&&(this.A=!0);for(;c--;)this.u[this.o]=b,this.o=(this.o+1)%this.l;this.D=!0};
        gE.prototype.g=function(){return this.F?(hE(this,this.B-this.F)+hE(this,this.B)+hE(this,this.B+this.F))/3:hE(this,this.B)};var uE=/^([0-9\.]+):([0-9\.]+)$/;var wE=g.z("ytglobal.prefsUserPrefsPrefs_")||{};g.Ka("ytglobal.prefsUserPrefsPrefs_",wE,void 0);g.k=xE.prototype;g.k.get=function(a,b){AE(a);zE(a);var c=void 0!==wE[a]?wE[a].toString():null;return null!=c?c:b?b:""};
        g.k.set=function(a,b){AE(a);zE(a);if(null==b)throw Error("ExpectedNotNull");wE[a]=b.toString()};
        g.k.remove=function(a){AE(a);zE(a);delete wE[a]};
        g.k.save=function(){g.vw(this.g,this.dump(),63072E3)};
        g.k.clear=function(){g.mc(wE)};
        g.k.dump=function(){var a=[],b;for(b in wE)a.push(b+"="+encodeURIComponent(String(wE[b])));return a.join("&")};
        Ma(xE);var EE="blogger books docs google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.t(YE,g.J);
        YE.prototype.ye=function(a){this.Y=tE(this.Y,a.video_id);this.Ja=tE(this.Ja,a.eventid);for(var b in m0){var c=m0[b],d=a[c];void 0!=d&&(this.deviceParams[c]=d)}this.userAge=sE(this.userAge,a.user_age);this.F=tE(this.F,a.user_display_image);g.sz(this.F)||(this.F="");this.Aa=tE(this.Aa,a.user_display_name);this.wd=tE(this.wd,a.user_gender);this.Tc=tE(this.Tc,a.csi_page_type);this.Oa=tE(this.Oa,a.csi_service_name);this.Fb=U(this.Fb,a.enablecsi);if(a=a.enabled_engage_types)this.od=new Set(a.split(","))};
        YE.prototype.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=$E(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.WE(this)?(d="https://"+c+"/fire",b.v=a):(!d&&"www.youtube.com"==c&&(c="m.youtube.com"),d=this.protocol+"://"+c+"/watch",b.v=a,lu&&(a=lt())&&(b.ebc=a));return g.qg(d,b)};
        YE.prototype.getVideoEmbedCode=function(a,b,c){var d="https://"+$E(this)+"/embed/"+a;c&&(d=g.qg(d,{list:c}));a=!V(this,"enable_responsive_embed_snippet");V(this,"embed_snippet_includes_version")&&(d=g.qg(d,{ecver:a?"1":"2"}));c=b.width;b=b.height;a?(a=g.Ed(d),b='<iframe width="'+c+'" height="'+b+'" src="'+a+'" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>'):(a=Math.round(360*c/b),b='<div style="position:relative;height:0;padding-bottom:'+
        Math.round(1E4*b/c)/100+'%"><iframe src="'+g.Ed(d)+'" style="position:absolute;width:100%;height:100%;left:0" width="'+a+'" height="360" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></div>');return b};
        var m0={lH:"cbrand",mH:"cbr",nH:"cbrver",uI:"c",xI:"cver",wI:"ctheme",vI:"cplayer",LI:"cmodel",QI:"cnetwork",WI:"cos",XI:"cosver",dJ:"cplatform"},baa=["www.youtube-nocookie.com","youtube.googleapis.com"];iF.prototype.clone=function(a){return new iF(this.flavor,a,this.o,this.u)};
        iF.prototype.Pa=function(){return{flavor:this.flavor,keySystem:this.g}};
        iF.prototype.cd=function(){switch(this.g){case "com.youtube.playready":return"PRY";case "com.microsoft.playready":return"PRM";case "com.widevine.alpha":return"WVA";case "com.youtube.widevine.l3":return"WVY";case "com.youtube.fairplay":return"FPY";case "com.apple.fps.1_0":return"FPA";default:return this.g}};
        var n0={},qF=(n0.playready=["com.youtube.playready","com.microsoft.playready"],n0.widevine=["com.youtube.widevine.l3","com.widevine.alpha"],n0);g.k=g.rF.prototype;g.k.getId=function(){return this.H};
        g.k.getName=function(){return this.u};
        g.k.toString=function(){return this.i+": "+g.sF(this)+" - "+this.A};
        g.k.Bo=ca(12);g.k.isValid=function(){return!(!this.i||this.g&&!this.g.languageCode)};tF.prototype.getLanguageInfo=function(){return this.Xa};
        tF.prototype.toString=function(){return this.Xa.name};
        tF.prototype.getLanguageInfo=tF.prototype.getLanguageInfo;uF.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.t(yF,g.J);yF.prototype.D=function(){(this.B=!this.B&&"widevine"==this.i[this.g[0]].flavor)||this.g.shift();zF(this)};
        yF.prototype.F=function(a,b){this.da()||(a.i=b,maa(this,a),this.l.push(a),g.P(this.u,"html5_drm_fallback_to_playready_on_retry")||this.vj?(this.g.shift(),zF(this)):this.A(this.l))};g.t(DF,FD);DF.prototype.xs=function(){return this.l};
        DF.prototype.Mi=function(){if(!this.g||this.g.da()){var a=this.i;saa(a);var b=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],c={};a:if(a.i)var d=a.i;else{d=g.r(a.l);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Xa&&e.Xa.getIsDefault()){d=e.Xa.getId();break a}d=""}e=0;for(var f=a.l.length;e<f;++e){var h=a.l[e];h.Xa&&h.Xa.getId()!=d||(c[h.itag]=h)}d=0;for(e=a.g.length;d<e;++d)f=a.g[d],b.push(raa(a,c[f.audioItag],f));d=0;for(e=a.g.length;d<e;++d){f=a.g[d];h=a;var l=b,m=c[f.audioItag];l.push("#EXT-X-STREAM-INF:BANDWIDTH="+
        (f.bitrate+m.bitrate)+',CODECS="'+(f.codecs+","+m.codecs+'",RESOLUTION=')+(f.width+"x"+f.height+',AUDIO="')+(CF(m,f)+'",CLOSED-CAPTIONS=NONE'));l.push(BF(h,f.url,""))}a="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(b.join("\n"));this.g=new $x(a)}return this.g};var FF=null;g.t(bG,FD);bG.prototype.Mi=function(){return new $x(Nz(this.g))};
        bG.prototype.rp=function(){this.g=Sz(this.g)};g.t(cG,FD);cG.prototype.Mi=function(){return new $x(this.g)};var eG={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},hG={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var lG={},kG=0;nG.prototype.toString=function(){return JSON.stringify(g.pG(this))};
        var Aaa=1;rG.prototype.toString=function(){return this.topic};var Dha=g.z("ytPubsub2Pubsub2Instance")||new g.qr;g.qr.prototype.subscribe=g.qr.prototype.subscribe;g.qr.prototype.unsubscribeByKey=g.qr.prototype.dg;g.qr.prototype.publish=g.qr.prototype.L;g.qr.prototype.clear=g.qr.prototype.clear;g.Ka("ytPubsub2Pubsub2Instance",Dha,void 0);var uG=g.z("ytPubsub2Pubsub2SubscribedKeys")||{};g.Ka("ytPubsub2Pubsub2SubscribedKeys",uG,void 0);var wG=g.z("ytPubsub2Pubsub2TopicToKeys")||{};g.Ka("ytPubsub2Pubsub2TopicToKeys",wG,void 0);
        var vG=g.z("ytPubsub2Pubsub2IsAsync")||{};g.Ka("ytPubsub2Pubsub2IsAsync",vG,void 0);g.Ka("ytPubsub2Pubsub2SkipSubKey",null,void 0);g.t(zG,qG);var Daa=new rG("screen-created",zG),EG=[],FG=0;var LG=g.z("ytLoggingTimeDocumentNonce_")||Wy();g.Ka("ytLoggingTimeDocumentNonce_",LG,void 0);g.Ka("yt_logging_screen.getRootVeType",IG,void 0);g.Ka("yt_logging_screen.getCurrentCsn",g.KG,void 0);g.Ka("yt_logging_screen.setCurrentScreen",MG,void 0);var oH=window.performance||window.mozPerformance||window.msPerformance||window.webkitPerformance||{};g.t(OG,qG);g.t(PG,qG);var Laa=new rG("aft-recorded",OG),yH=new rG("timing-sent",PG);var ZG=g.z("ytLoggingLatencyUsageStats_")||{};g.Ka("ytLoggingLatencyUsageStats_",ZG,void 0);var $G=0;g.t(fH,Error);var Iaa={ad_to_ad:"LATENCY_ACTION_AD_TO_AD",ad_to_video:"LATENCY_ACTION_AD_TO_VIDEO",app_startup:"LATENCY_ACTION_APP_STARTUP","artist.analytics":"LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS","artist.events":"LATENCY_ACTION_CREATOR_ARTIST_CONCERTS","artist.presskit":"LATENCY_ACTION_CREATOR_ARTIST_PROFILE",browse:"LATENCY_ACTION_BROWSE",channels:"LATENCY_ACTION_CHANNELS",channel:"LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD","channel.analytics":"LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS","channel.comments":"LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",
        "channel.copyright":"LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT","channel.monetization":"LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION","channel.translations":"LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS","channel.videos":"LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",chips:"LATENCY_ACTION_CHIPS",embed:"LATENCY_ACTION_EMBED",home:"LATENCY_ACTION_HOME",library:"LATENCY_ACTION_LIBRARY",live:"LATENCY_ACTION_LIVE",prebuffer:"LATENCY_ACTION_PREBUFFER",prefetch:"LATENCY_ACTION_PREFETCH",results:"LATENCY_ACTION_RESULTS",
        search:"LATENCY_ACTION_RESULTS",search_ui:"LATENCY_ACTION_SEARCH_UI",search_zero_state:"LATENCY_ACTION_SEARCH_ZERO_STATE",tenx:"LATENCY_ACTION_TENX",video_to_ad:"LATENCY_ACTION_VIDEO_TO_AD",watch:"LATENCY_ACTION_WATCH","watch,watch7":"LATENCY_ACTION_WATCH","watch,watch7_html5":"LATENCY_ACTION_WATCH","watch,watch7ad":"LATENCY_ACTION_WATCH","watch,watch7ad_html5":"LATENCY_ACTION_WATCH",wn_comments:"LATENCY_ACTION_LOAD_COMMENTS",ww_rqs:"LATENCY_ACTION_WHO_IS_WATCHING","video.analytics":"LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",
        "video.comments":"LATENCY_ACTION_CREATOR_VIDEO_COMMENTS","video.edit":"LATENCY_ACTION_CREATOR_VIDEO_EDIT","video.translations":"LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS","video.video_editor":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR","video.video_editor_async":"LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC","video.monetization":"LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",voice_assistant:"LATENCY_ACTION_VOICE_ASSISTANT"},o0={},tH=(o0.ad_allowed="adTypesAllowed",o0.yt_abt="adBreakType",o0.ad_cpn=
        "adClientPlaybackNonce",o0.ad_docid="adVideoId",o0.yt_ad_an="adNetworks",o0.ad_at="adType",o0.browse_id="browseId",o0.p="httpProtocol",o0.t="transportProtocol",o0.cpn="clientPlaybackNonce",o0.cseg="creatorInfo.creatorSegment",o0.csn="clientScreenNonce",o0.docid="videoId",o0.GetHome_rid="getHomeRequestId",o0.is_continuation="isContinuation",o0.is_nav="isNavigation",o0.b_p="kabukiInfo.browseParams",o0.is_prefetch="kabukiInfo.isPrefetch",o0.is_secondary_nav="kabukiInfo.isSecondaryNav",o0.prev_browse_id=
        "kabukiInfo.prevBrowseId",o0.query_source="kabukiInfo.querySource",o0.voz_type="kabukiInfo.vozType",o0.yt_lt="loadType",o0.mver="creatorInfo.measurementVersion",o0.yt_ad="isMonetized",o0.nr="webInfo.navigationReason",o0.ncnp="webInfo.nonPreloadedNodeCount",o0.prt="playbackRequiresTap",o0.pis="playerInfo.playerInitializedState",o0.paused="playerInfo.isPausedOnLoad",o0.yt_pt="playerType",o0.fmt="playerInfo.itag",o0.yt_pl="watchInfo.isPlaylist",o0.yt_pre="playerInfo.preloadType",o0.yt_ad_pr="prerollAllowed",
        o0.pa="previousAction",o0.yt_red="isRedSubscriber",o0.st="serverTimeMs",o0.aq="tvInfo.appQuality",o0.br_trs="tvInfo.bedrockTriggerState",o0.label="tvInfo.label",o0.is_mdx="tvInfo.isMdx",o0.preloaded="tvInfo.isPreloaded",o0.query="unpluggedInfo.query",o0.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",o0.yt_vst="videoStreamType",o0.vph="viewportHeight",o0.vpw="viewportWidth",o0.yt_vis="isVisible",o0),Jaa="isContinuation isNavigation kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),
        p0={},uH=(p0.mver="MEASUREMENT_VERSION_",p0.pis="PLAYER_INITIALIZED_STATE_",p0.yt_pt="LATENCY_PLAYER_",p0.pa="LATENCY_ACTION_",p0.yt_vst="VIDEO_STREAM_TYPE_",p0),Kaa="all_vc ap c cver cbrand cmodel cplatform ctheme ei l_an l_mm plid srt yt_fss yt_li vpil vpni vpst yt_eil vpni2 vpil2 icrc icrt pa GetBrowse_rid GetPlayer_rid GetSearch_rid GetWatchNext_rid cmt d_vpct d_vpnfi d_vpni pc pfa pfeh pftr prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis yt_ref yt_sts".split(" ");var Oaa={vc:!0},wH=!1,Haa=(0,g.A)(oH.clearResourceTimings||oH.webkitClearResourceTimings||oH.mozClearResourceTimings||oH.msClearResourceTimings||oH.oClearResourceTimings||g.La,oH),gJ=rH,uea=jH,SH=pH;var q0={},Waa=(q0.ALWAYS=1,q0.BY_REQUEST=3,q0);g.t(g.AH,g.O);g.k=g.AH.prototype;g.k.ye=function(a,b){b?(this.Uv(a),bI(this)&&RH(this)):(EH(this,a),this.L("dataupdated"))};
        g.k.Uv=function(a){a=a||{};var b=a.errordetail;null!=b&&(this.errorDetail=b);b=a.errorcode;null!=b?this.errorCode=b:"fail"==a.status&&(this.errorCode="150");b=a.reason;null!=b&&(this.errorReason=b);b=a.subreason;null!=b&&(this.Zf=b);this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||Wy());b=a.raw_embedded_player_response;if(!b){var c=a.embedded_player_response;c&&(b=JSON.parse(c))}b&&(this.Sh=b);this.Sh&&((b=this.Sh.embedPreview)&&tba(this,b),this.Sh.playabilityStatus&&(this.nn=this.Sh.playabilityStatus,
        oI(this)&&(this.errorDetail="0")));b=a.raw_player_response;b||(c=a.player_response)&&(b=JSON.parse(c));b&&(this.Ia=b);if(this.Ia){(b=this.Ia.annotations)&&Xaa(this,b);(b=this.Ia.attestation)&&Yaa(this,b);(b=this.Ia.heartbeatParams)&&aba(this,b);(b=this.Ia.messages)&&bba(this,b);(b=this.Ia.multicamera)&&cba(this,b);(b=this.Ia.overlay)&&dba(this,b);if(b=this.Ia.playabilityStatus)eba(this,b),(c=b.errorScreen)&&qba(this,c);(c=this.Ia.playbackTracking)&&fba(this,c,a);(c=this.Ia.playerAds)&&gba(this,c,
        a);(c=this.Ia.playerConfig)&&hba(this,c);var d=this.Ia.streamingData;d&&oba(this,d,c||null);if(d=this.Ia.trackingParams)this.ie=d;if(d=this.Ia.videoDetails)pba(this,d,a),sba(this,d,c||null,a);b&&$aa(this,b,d||null);if(b=this.Ia.interstitialPods)for(b=g.r(b),c=b.next();!c.done;c=b.next())switch(d=c.value,c=d.interstitials.map(function(e){return(e=e.playerVars)&&Object.assign({is_yto_interstitial:!0},g.pt(e))})[0],d.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":this.interstitials=
        this.interstitials.concat({time:0,
        playerVars:c,tm:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":this.interstitials=this.interstitials.concat({time:0x7ffffffffffff,playerVars:c,tm:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":d=parseInt(d.podConfig.timeToInsertAtMillis,10),this.interstitials=this.interstitials.concat({time:d,playerVars:c,tm:0==d?5:7})}this.Ad&&this.eventId&&(this.Ad=vt(this.Ad,{ei:this.eventId}));(b=this.Ia.captions)&&b.playerCaptionsTracklistRenderer&&Zaa(this,b.playerCaptionsTracklistRenderer);
        this.Ia.chapterMarkers&&(this.chapterMarkers=this.Ia.chapterMarkers)}c=(b=(this.ah="1"==a.livemonitor)&&!this.na("web_player_live_monitor_state_killswitch"))?"1":a.hlsdvr;null!=c&&(this.allowLiveDvr="1"==c?BD()?!0:gI&&5>hI?!1:!0:!1);this.adQueryId=a.ad_query_id||null;this.adSafetyReason||(this.adSafetyReason=a.encoded_ad_safety_reason||null);this.Tx=a.agcid||null;this.Vq=a.ad_id||null;this.Xq=a.ad_sys||null;this.Nr=a.encoded_ad_playback_context||null;this.Tf=U(this.Tf,a.infringe||a.muted);this.authKey=
        a.authkey;this.ce=a.authuser;this.Th=U(this.Th,a.enable_cardio);this.nk=U(this.nk,a.enable_cardio_before_playback);this.endSeconds=sE(this.endSeconds,this.Wo||a.end||a.endSeconds);this.ie=tE(this.ie,a.itct);this.eo=U(this.eo,a.noiba);this.Qk=U(this.Qk,a.is_live_destination);this.oa=b||U(this.oa,a.live_playback);this.isMdxPlayback=U(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=g.Ja(b)?b:Jd(b);this.co=U(this.co,a.is_inline_playback_no_ad);this.se=sE(this.se,a.reload_count);
        this.reloadReason=tE(this.reloadReason,a.reload_reason);this.jj=U(this.jj,a.show_content_thumbnail);this.ko=U(this.ko,a.utpsa);this.Hp=U(this.Hp,a.third_party_remapped_ad);this.cycToken=a.cyc||null;this.nw=a.tkn||null;b=gG(a);0<Object.keys(b).length&&(this.xe=b);this.ze=tE(this.ze,a.vvt);this.mdxEnvironment=tE(this.mdxEnvironment,a.mdx_environment);this.bC=a.osig;this.eventId||(this.eventId=a.eventid);this.osid||(this.osid=a.osid);this.playlistId=tE(this.playlistId,a.list);this.lv=a.pyv_view_beacon_url;
        this.tv=a.pyv_quartile25_beacon_url;this.uv=a.pyv_quartile50_beacon_url;this.vv=a.pyv_quartile75_beacon_url;this.qv=a.pyv_quartile100_beacon_url;if(b=a.remarketing_url)this.remarketingUrl=b;if(b=a.ppv_remarketing_url)this.ppvRemarketingUrl=b;b=a.session_data;!this.Hv&&b&&(this.Hv=nt(b).feature);this.gt=1==sE(this.gt?1:0,a.is_fling);this.vnd=sE(this.vnd,a.vnd);this.Zh=tE(this.Zh,a.force_ads_url);this.te=tE(this.te,a.ctrl);this.ue=tE(this.ue,a.ytr);this.kk=a.ytrcc;this.Jv=a.ytrexp;this.hp=tE(this.hp,
        a.adformat);this.Pp=tE(this.Pp,a.attrib);this.slotPosition=sE(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.ij=U(this.ij,a.ssrt);this.videoId=a.docid||a.video_id||a.videoId||a.id||this.videoId;this.wj=tE(this.wj,a.vss_credentials_token);this.Bh=tE(this.Bh,a.vss_credentials_token_type);this.xj=U(this.xj,a.audio_only);this.Qp=U(this.Qp,a.aac_high);this.tg=U(this.tg,a.prefer_low_quality_audio);this.aj=tE(this.aj,a.qoe_cat);this.mn=U(this.mn,a.download_media);this.Kd=U(this.Kd,a.prefer_gapless);
        Raa(this.Ia)&&(this.adModule=!0,this.Cc.push("ad"));if(b=a.adaptive_fmts)this.adaptiveFormats=b;if(b=a.allow_embed)this.allowEmbed="1"==b;if(b=a.backgroundable)this.backgroundable="1"==b;if(b=a.autonav)this.Yg="1"==b;if(b=a.autoplay)this.Jf="1"==b;if(b=a.iv_load_policy)this.gf=rE(this.gf,b,SE);if(b=a.cc_lang_pref)this.kf=tE(b,this.kf);if(b=a.cc_load_policy)this.lf=rE(this.lf,b,SE);if(b=a.cached_load)this.Sm=U(this.Sm,b);"0"==a.dash&&(this.Ir=!0);if(b=a.dashmpd)this.Fd=g.qg(b,{cpn:this.clientPlaybackNonce});
        if(b=a.delay)this.Sd=Jd(b);b=this.Wo||a.end;void 0!=b&&(this.clipEnd=sE(this.clipEnd,b));if(b=a.fmt_list)this.un=b;a.fresca_preroll&&this.Cc.push("fresca");a.heartbeat_preroll&&this.Cc.push("heartbeat");this.Xg=-Math.floor(10*Math.random());this.Ii=-Math.floor(40*Math.random());if(b=a.is_listed)this.isListed=U(this.isListed,b);if(b=a.pipable)this.pipable=U(this.pipable,b);this.Zq=this.pipable&&this.Ma.Rj;if(b=a.paid_content_overlay_duration_ms)this.Zu=Jd(b);if(b=a.paid_content_overlay_text)this.tF=
        b;if(b=a.url_encoded_fmt_stream_map)this.zh=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds=g.w(b)?Jd(b):b;if(b=a.live_start_walltime)this.po=g.Ja(b)?b:Jd(b);if(b=a.live_manifest_duration)this.Gi=g.Ja(b)?b:Jd(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.re=sE(this.re,b);if(b=a.probe_url)this.probeUrl=yz(g.qg(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.Xe=tE(b,this.Xe);(b=a.pyv_billable_url)&&uz(b)&&(this.Zi=
        b);(b=a.pyv_conv_url)&&uz(b)&&(this.ov=b);DH(this,a);0<this.startSeconds||(this.Cf=this.startSeconds=sE(this.startSeconds,this.gv||this.ao||a.start||a.startSeconds));b=a.live_utc_start;null!=b&&(this.liveUtcStartSeconds=parseInt(b,10));if(b=a.utc_start_millis)this.liveUtcStartSeconds=.001*parseInt(b,10);if(b=a.stream_time_start_millis)this.dm=.001*parseInt(b,10);b=this.ao||a.start;void 0==b||"1"==a.resume||this.oa||(this.clipStart=sE(this.clipStart,b));if(b=a.url_encoded_third_party_media)this.uh=
        qt(b);if(b=a.ypc_offer_button_formatted_text)c=JSON.parse(b),this.Hw=null!=c?c:null,this.Iw=b;if(b=a.ypc_offer_button_text)this.Bm=b;if(b=a.ypc_offer_description)this.Cm=b;if(b=a.ypc_offer_headline)this.Dm=b;if(b=a.ypc_full_video_message)this.ym=b;if(b=a.ypc_offer_id)this.Em=b;if(b=a.ypc_buy_url)this.Tp=b;if(b=a.ypc_item_thumbnail)this.zm=b;if(b=a.ypc_item_title)this.Am=b;if(b=a.ypc_item_url)this.Up=b;if(b=a.ypc_vid)this.Fm=b;a.ypc_overlay_timeout&&(this.Wp=parseInt(a.ypc_overlay_timeout,10));if(b=
        a.ypc_trailer_player_vars)this.Cj=g.pt(b);if(b=a.ypc_original_itct)this.CG=b;this.uj=tE(this.uj,a.ucid);(0,g.D)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(e){a[e]&&(this.Vb[e]=a[e])},this);
        this.Vb.focEnabled=U(this.Vb.focEnabled,a.focEnabled);this.Vb.rmktEnabled=U(this.Vb.rmktEnabled,a.rmktEnabled);this.mt=a.iv_endscreen_url||null;this.xk=U(this.xk,a.fresca_module);this.Bj=U(this.Bj,a.ypc_license_checker_module);this.Eg=U(this.Eg,a.ypc_module);this.Aj=U(this.Aj,a.ypc_clickwrap_module);this.Eg&&this.Cc.push("ypc");this.Fv=a;EH(this,a);QH(this)?gu()&&!IH(this)&&(this.oa&&this.Fd?this.Sf=!0:this.vf&&(this.dh=!0)):this.na("mweb_hoffline")&&this.adaptiveFormats&&aG(this.videoId)?this.Sf=
        !0:!LH(this,this.adaptiveFormats)&&this.Fd&&(this.Sf=!0);if(b=a.adpings)this.Wq=b?g.pt(b):null;if(b=a.feature)this.cj=b;if(b=a.referrer)this.referrer=b;this.clientScreenNonce=tE(this.clientScreenNonce,a.csn);this.Ul=sE(this.Ul,a.root_ve_type);this.Tk=sE(this.Tk,a.kids_age_up_mode);void 0!=a.kids_app_info&&(this.kidsAppInfo=a.kids_app_info);this.pm=U(this.pm,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.Fc=b;if(b=a.unplugged_partner_opt_out)this.wh=tE("",b);void 0!=a.home_group_info&&
        (this.homeGroupInfo=a.home_group_info);this.wi=tE(this.wi,a.internal_ip_override);this.fo=!!a.is_yto_interstitial;(this.interstitials.length||this.fo)&&this.Cc.push("yto")};
        g.k.O=function(){return this.Ma};
        g.k.na=function(a){return g.P(this.Ma.experiments,a)};
        g.k.jg=function(){return!this.oa||this.allowLiveDvr};
        g.k.Mk=function(){return!!(this.la&&this.la.videoInfos&&this.la.videoInfos.length)};
        g.k.Oz=function(a){for(var b=g.r(a),c=b.next();!c.done;c=b.next())switch(c=c.value,c.flavor){case "fairplay":c.vf=this.vf;c.tk=this.tk;c.rk=this.rk;break;case "widevine":c.yj=this.yj}this.nh=a;0<this.nh.length&&(this.Xb=this.nh[0]);RH(this)};
        g.k.WC=function(a){this.da()||(KH(this,a),a.l&&a.subscribe("refresh",this.Au,this),SH("mrc"),HC(a)&&(this.dh=!0),RH(this))};
        g.k.VC=function(a){this.da()||(this.Sc=!1,this.L("dataloaderror",new bx("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
        g.k.Au=function(){this.da()||(this.fa.l||this.fa.unsubscribe("refresh",this.Au,this),this.Ar())};
        g.k.Ar=function(){if(this.na("html5_disable_fairplay_dai_killswitch")||!this.oa||!this.Xb||"fairplay"!=this.Xb.flavor){var a=UC(this.fa,this.lo);0<a.length&&(this.L("cuepointupdated",a),this.lo+=a.length)}};
        g.k.Zz=function(a){if(a&&this.hlsvp)return Cu();if(this.hlsFormats){a=JH(this.hlsFormats);if(lu||ju()||gu()){var b=AF(a);if(b){var c=[],d={};for(l in b)for(var e=g.r(b[l]),f=e.next();!f.done;f=e.next()){var h=f.value;h.Xa&&(f=h.Xa.getId(),d[f]||(h=new tF(f,h.Xa),d[f]=h,c.push(h)))}var l=0<c.length?c:null}else l=null}else l=null;this.Nk=l;l=this.na("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return uaa(this.Ma,this.isAd(),a,this.Te,l).then(this.Ap,void 0,this)}return Cu()};
        g.k.bA=function(){if(this.uh&&this.kt){var a=this.Ma;var b=this.isAd(),c=yaa(this.uh);a=GD(a.l,c,ZE(a,b)).then(this.Ap,void 0,this)}else a=Cu();return a};
        g.k.aA=function(){var a=JH(this.zh,this.un);if(this.hlsvp){var b=this.hlsvp;var c=this.Te,d={cpn:this.clientPlaybackNonce};-1==b.indexOf("/ibw/")&&(d.ibw=c?String(c):"1369843");b={url:g.qg(b,d),type:"application/x-mpegURL",quality:"auto",itag:"93"};a.push(b)}b=this.Ma;c=this.isAd();d={cpn:this.clientPlaybackNonce,c:this.Ma.deviceParams.c,cver:this.Ma.deviceParams.cver};this.Kl&&(d.ptk=this.Kl,d.oid=this.cv,d.ptchn=this.bv,d.pltype=this.dv);var e=[];a=g.r(a);for(var f=a.next();!f.done;f=a.next()){var h=
        f.value;if(h.url){f=new Lz(h.url);h.s&&f.set(h.sp,encodeURIComponent(Kz(decodeURIComponent(h.s))));for(var l in d)f.set(l,d[l]);h=Bx(h.type,h.quality,h.itag,h.width,h.height);e.push(new bG(h,f))}}return GD(b.l,e,ZE(b,c)).then(this.Ap,void 0,this)};
        g.k.Bp=function(a){this.la=a;a=this.getAvailableAudioTracks();a=a.concat(this.Qh);for(var b=0;b<this.Vm.length;b++)for(var c=this.Vm[b],d=0;d<a.length;d++){var e=a[d],f=e.Xa.id==c.audioTrackId;if(e.Xa.isDefault&&b==this.qr||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];g.u(c.defaultCaptionTrackIndex)&&(e.kn=this.captionTracks[c.defaultCaptionTrackIndex]);g.u(c.forcedCaptionTrackIndex)&&(e.vk=this.captionTracks[c.forcedCaptionTrackIndex]);
        e.Ym=c.visibility||"UNKNOWN"}}if(!this.na("html5_playbackmanager_infocheck_killswitch")&&this.Xb&&this.la&&this.la.videoInfos&&!(0>=this.la.videoInfos.length)&&(a=yx(this.la.videoInfos[0]),a!=("fairplay"==this.Xb.flavor)))for(b=g.r(this.nh),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.Xb=c;break}};
        g.k.Ap=function(a){this.Ye=a;this.Bp(new uF((0,g.Le)(this.Ye,function(b){return b.cd()})))};
        g.k.Kc=function(){var a={};this.Fa&&(a.fmt=sx(this.Fa),this.sc&&sx(this.sc)!=sx(this.Fa)&&(a.afmt=sx(this.sc)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Tf&&(a.infringe=1);this.Df&&(a.splay=1);var b=ZH(this);b&&(a.live=b);this.Jf&&(a.autoplay=1);this.Ql&&(a.sdetail=this.Ql);this.re&&(a.partnerid=this.re);this.osid&&(a.osid=this.osid);return a};
        g.k.yf=function(){return null};
        g.k.getStoryboardFormat=function(){return null};
        g.k.Db=function(){return this.fa&&!isNaN(this.fa.Db())?this.fa.Db():ez(this)?0:this.lengthSeconds};
        g.k.ob=function(){return this.fa&&!isNaN(this.fa.ob())?this.fa.ob():0};
        g.k.getPlaylistSequenceForTime=function(a){if(this.fa&&this.Fa){var b=this.fa.g[this.Fa.id];if(!b)return null;var c=b.index.Oe(a);b=b.index.kc(c);return{sequence:c,kK:Math.floor(1E3*(a-b))}}return null};
        g.k.isValid=function(){return!this.da()&&!(!this.videoId&&!this.uh)};
        g.k.Hb=function(){return bI(this)&&!this.Sf&&!this.dh};
        g.k.hd=function(a){if(30==this.re)return(a=this.xe["default.jpg"])?a:this.videoId?g.qg("//docs.google.com/vt",{id:this.videoId,authuser:this.ce,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.xe[a];return b||this.Ma.I||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:aF(this.Ma,this.videoId,a)};
        g.k.le=function(){return this.oa||this.Ai||this.it||!(!this.liveUtcStartSeconds||!this.Gi)};
        g.k.zi=function(){return!!this.fa&&(this.fa.zi||!this.Ai&&!this.oa&&this.fa.l)};
        g.k.getAvailableAudioTracks=function(){return this.la?0<this.la.getAvailableAudioTracks().length?this.la.getAvailableAudioTracks():this.Nk||[]:[]};
        g.k.getAudioTrack=function(){var a=this;if(this.sc&&!yx(this.sc))return g.gb(this.getAvailableAudioTracks(),function(d){return d.id==a.sc.id})||this.Qh;
        if(this.Nk){if(!this.gj)for(var b=g.r(this.Nk),c=b.next();!c.done;c=b.next())if(c=c.value,c.Xa.getIsDefault()){this.gj=c;break}return this.gj||this.Qh}return this.Qh};
        g.k.getPlayerResponse=function(){return this.Ia};
        g.k.getPlaylistId=function(){return null};
        g.k.ra=function(){return this};
        g.k.Ik=function(){return this.Ma.getVideoUrl(this.videoId)};
        g.k.Ci=function(){return!!this.fa&&this.fa.Ci()};
        g.k.Di=function(){return!!this.fa&&this.fa.Di()};
        g.k.ti=function(){return!!this.fa&&this.fa.ti()};
        g.k.bo=function(){return!!this.fa&&this.fa.bo()};
        g.k.isAd=function(){return!!this.adFormat};
        g.k.Ng=function(){if(this.isAd()&&this.videoId!=this.Ma.Y)return this.Ma.Y};
        g.k.hj=function(){return this.Eg};
        g.k.useInnertubeDrmService=function(){return!!(this.Xb&&"widevine"==this.Xb.flavor&&this.Ia&&this.Ia.playerConfig&&this.Ia.playerConfig.webDrmConfig&&this.Ia.playerConfig.webDrmConfig.useInnertubeDrmService)};
        var r0={},mba=(r0.COLOR_PRIMARIES_BT709="bt709",r0.COLOR_PRIMARIES_BT2020="bt2020",r0),s0={},nba=(s0.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",s0.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",s0.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",s0.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",s0),t0={},fI=(t0.FAIRPLAY="fairplay",t0.PLAYREADY="playready",t0.WIDEVINE="widevine",t0),u0={},rba=(u0.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN="UNKNOWN",u0.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL=
        "NORMAL",u0.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",u0.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",u0),v0={},jba=(v0.UNKNOWN=0,v0.RECTANGULAR=1,v0.EQUIRECTANGULAR=2,v0.EQUIRECTANGULAR_THREED_TOP_BOTTOM=3,v0.MESH=4,v0),w0={},lba=(w0.SPATIAL_AUDIO_TYPE_NONE=0,w0.SPATIAL_AUDIO_TYPE_AMBISONICS_5_1=1,w0.SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD=2,w0.SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC=3,w0),x0={},kba=(x0.STEREO_LAYOUT_UNKNOWN=0,x0.STEREO_LAYOUT_LEFT_RIGHT=1,x0.STEREO_LAYOUT_TOP_BOTTOM=
        2,x0),y0={},iba=(y0.FORMAT_STREAM_TYPE_UNKNOWN=0,y0.FORMAT_STREAM_TYPE_OTF=3,y0);g.t(rI,g.J);g.k=rI.prototype;
        g.k.handleExternalCall=function(a,b,c){var d=this.A[a];if(!(d||!(d=this.D[a])||c&&e0.test(c)))throw Error('API call from an untrusted origin: "'+c+'"');var e=this.app.O();e.Ze&&!this.H.has(a)&&(this.H.add(a),zw("webPlayerApiCalled",{callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0}));if(d){if(!g.P(this.app.O().experiments,"player_injection_reporting_killswitch")){c=!1;e=g.r(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;
        break}c&&g.Bs(Error('Dangerous call to "'+a+'" with ['+b+"]."))}return d.apply(this,b)}throw Error('Unknown API method: "'+a+'".');};
        g.k.isExternalMethodAvailable=function(a,b){return this.A[a]?!0:!!(this.D[a]&&b&&e0.test(b))};
        g.k.getBandwidthEstimate=function(){return oE(this.app.O().schedule)};
        g.k.reportPlaybackIssue=function(a){a=void 0===a?"":a;var b=g.S(this.app);b&&(a={gpu:sO(),d:a},b.gh(new bx("feedback",!1,a)))};
        g.k.getApiInterface=function(){return this.F.slice()};
        g.k.getInternalApiInterface=function(){return g.fc(this.l)};
        g.k.addEventListener=function(a,b){if(g.w(b)){var c=function(){g.z(b).apply(window,arguments)};
        this.B[b]=c}else c=b;this.app.ca.subscribe(a,c)};
        g.k.vy=function(a,b){var c=this,d=g.w(b)?a+b:a+g.Ua(b);if(!this.u[d]){var e;g.w(b)?e=function(){g.z(b).apply(window,arguments)}:e=b;
        var f=function(h){e({target:c.i,data:h})};
        this.u[d]=f;this.app.ca.subscribe(a,f)}};
        g.k.removeEventListener=function(a,b){if(g.w(b)){var c=this.B[b];g.nc(this.B,b);b=c}this.app.ca.unsubscribe(a,b)};
        g.k.wy=function(a,b){var c=g.w(b)?a+b:a+g.Ua(b),d=this.u[c];d&&(this.app.ca.unsubscribe(a,d),g.nc(this.u,c))};
        g.k.getPlayerState=function(){return ZS(this.app)};
        g.k.seekTo=function(a,b,c){this.g&&gT(this.app,!0,this.playerType);rT(this.app,a,b,c,this.playerType)};
        g.k.seekToLiveHead=function(a,b){var c=this.getVideoData();c&&(c.oa||c.isLive)&&rT(this.app,Infinity,a,b,this.playerType)};
        g.k.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
        g.k.getMediaReferenceTime=function(){var a=XS(this.app,this.playerType);return isNaN(a)?this.getCurrentTime():a};
        g.k.getDuration=function(){return this.app.getDuration(this.playerType)};
        g.k.getVolume=function(){return this.app.I.volume};
        g.k.setVolume=function(a){vI(this,a)};
        g.k.isMuted=function(){return this.app.I.muted};
        g.k.mute=function(){wI(this)};
        g.k.unMute=function(){xI(this)};
        g.k.playVideo=function(){this.g&&gT(this.app,!0,this.playerType);var a=this.app.getPresentingPlayerType();2!=a||JS(this.app)?3==a?null.Ni("control_play"):this.app.playVideo(a):(a=lR(this.app.o))&&null!==a.g&&xY(a.g,"control_play")};
        g.k.pauseVideo=function(){var a=this.app.getPresentingPlayerType();2!=a||JS(this.app)?3==a?null.Ni("control_pause"):this.app.pauseVideo(a):(a=lR(this.app.o))&&null!==a.g&&xY(a.g,"control_pause")};
        g.k.stopVideo=function(){var a=this.app;a.g.L("pageTransition");a.stopVideo()};
        g.k.clearVideo=function(){};
        g.k.getPlaybackRate=function(){return g.S(this.app,1).getPlaybackRate()};
        g.k.setPlaybackRate=function(a){g.Ja(a)&&this.app.setPlaybackRate(a)};
        g.k.getAvailablePlaybackRates=function(){var a=this.app.O();a.Qf?(a=a.tb[0],a="https://admin.youtube.com"==a||"https://viacon.corp.google.com"==a?xha:W_):a=[1];return a};
        g.k.getPlaybackQuality=function(a){return(a=g.S(this.app,a))?a.getPlaybackQuality():"unknown"};
        g.k.setPlaybackQuality=function(){};
        g.k.getAvailableQualityLevels=function(){var a=g.S(this.app,this.playerType);return a?(a=(0,g.Le)(Oda(a),function(b){return b.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
        g.k.getVideoBytesLoaded=function(){return this.getVideoLoadedFraction()};
        g.k.getVideoBytesTotal=function(){return 1};
        g.k.getVideoLoadedFraction=function(){return this.app.getVideoLoadedFraction()};
        g.k.getVideoStartBytes=function(){return 0};
        g.k.setSize=function(){this.app.D.Vd()};
        g.k.channelSubscribed=function(){this.ha("SUBSCRIBE",NS(this.app).uj)};
        g.k.channelUnsubscribed=function(){this.ha("UNSUBSCRIBE",NS(this.app).uj)};
        g.k.getStatsForNerds=function(){return fz(this.app)};
        g.k.setScreenLayer=function(a){this.app.setScreenLayer(a)};
        g.k.getCurrentPlaylistSequence=function(){return g.S(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())};
        g.k.getPlaylistSequenceForTime=function(a){return g.S(this.app).getPlaylistSequenceForTime(a)};
        g.k.forceFrescaUpdate=function(){var a=AP(this.app.o);a&&a.By()};
        g.k.shouldSendVisibilityState=function(){return!0};
        g.k.updateFullerscreenEduButtonVisibility=function(a){var b=zI(this);b&&b.o(a)};
        g.k.updateFullerscreenEduButtonSubtleModeState=function(a){var b=zI(this);b&&b.l(a)};
        g.k.confirmYpcRental=function(){var a=g.S(this.app,this.playerType);a&&FO(a,"ypc_clickwrap")};
        g.k.setHomeGroupInfo=function(a){this.app.O().homeGroupInfo=a};
        g.k.setLivingRoomAppMode=function(a){this.app.O().livingRoomAppMode=a};
        g.k.setEnablePrivacyFilter=function(a){this.app.O().enablePrivacyFilter=a};
        g.k.isPictureInPictureAllowed=function(){return NS(this.app).Zq};
        g.k.togglePictureInPicture=function(){this.app.togglePictureInPicture()};
        g.k.loadModule=function(a){"captions"==a&&(a=gR(this.app.o))&&!a.loaded&&a.load()};
        g.k.unloadModule=function(a){"captions"==a&&(a=gR(this.app.o))&&a.loaded&&a.lG()};
        g.k.loadVideoById=function(a,b,c){a&&(a=this.app.loadVideoByPlayerVars(ex(a,b,c),this.playerType),this.g&&gT(this.app,a,this.playerType))};
        g.k.cueVideoById=function(a,b,c){this.app.cueVideoByPlayerVars(ex(a,b,c),this.playerType)};
        g.k.loadVideoByUrl=function(a,b,c){a=fx(a,b,c);a=this.app.loadVideoByPlayerVars(a,this.playerType);this.g&&gT(this.app,a,this.playerType)};
        g.k.cueVideoByUrl=function(a,b,c){a=fx(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)};
        g.k.getVideoUrl=function(){var a=this.app.O();if(a.I)return"";var b=NS(this.app),c=void 0;b.oa||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
        g.k.getDebugText=function(){return this.app.getDebugText()};
        g.k.getVideoEmbedCode=function(){var a=this.app.O();return a.I?"":a.getVideoEmbedCode(NS(this.app).videoId,this.app.D.getPlayerSize(),this.getPlaylistId()||void 0)};
        g.k.addCueRange=function(a,b,c){return jT(this.app,a,b,c)};
        g.k.removeCueRange=function(a){a:{for(var b=this.app,c=NL(b.l.H)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.l.removeCueRange(e);ES(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
        g.k.loadPlaylist=function(a,b,c,d){this.app.loadPlaylist(a,b,c,d);this.g&&gT(this.app,!0,this.playerType)};
        g.k.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)};
        g.k.nextVideo=function(){this.app.nextVideo();this.g&&gT(this.app,!0,this.playerType)};
        g.k.previousVideo=function(){this.app.previousVideo();this.g&&gT(this.app,!0,this.playerType)};
        g.k.playVideoAt=function(a){this.app.playVideoAt(a);this.g&&gT(this.app,!0,this.playerType)};
        g.k.setShuffle=function(a){var b=this.app.getPlaylist();b&&b.setShuffle(a)};
        g.k.setLoop=function(a){var b=this.app.getPlaylist();b&&(b.loop=a)};
        g.k.getPlaylist=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.ra(c);d&&b.push(d.videoId)}return b};
        g.k.getPlaylistIndex=function(){var a=this.app.getPlaylist();return a?a.Va:-1};
        g.k.getPlaylistId=function(){var a=this.app.getPlaylist();return a&&a.listId?a.listId.toString():null};
        g.k.setOption=function(a,b,c){if(!b)return null;var d=this.app.o;return"captions"==a?(a=gR(d))&&a.Qd(b,c):null};
        g.k.getOption=function(a,b,c){return this.setOption(a,b,c)};
        g.k.getOptions=function(a){var b=this.app.o;return"captions"==a?(b=gR(b))&&b.getOptions():a?null:(a=[],gR(b)&&a.push("captions"),a)};
        g.k.getVideoData=function(){var a={},b=g.S(this.app,this.playerType);if(b&&(b=b.getVideoData(),a.video_id=b.videoId,a.author=b.author,a.title=b.title,b.Fa&&b.Fa.video)){a.video_quality=b.Fa.video.quality;b=b.Fa.video;var c=[];32<b.fps&&c.push("hfr");ox(b)&&c.push("hdr");"bt2020"==b.primaries&&c.push("wcg");a.video_quality_features=c}if(b=this.getPlaylistId())a.list=b;return a};
        g.k.showVideoInfo=function(){yS(this.app,!0)};
        g.k.hideVideoInfo=function(){yS(this.app,!1)};
        g.k.isVideoInfoVisible=function(){return this.app.isVideoInfoVisible()};
        g.k.getAdState=function(){return this.app.getAdState()};
        g.k.isNotServable=function(a){if(a!=this.app.U.args.video_id)return!1;var b=(a=(a=g.S(this.app,1))?a.getPlayerState():null)?a.i:null;return!!(a&&b&&g.R(a,128)&&5==Y_[b.errorCode])};
        g.k.getSphericalProperties=function(){var a=az(this.app.o);return a?2==this.playerType?{}:a.getSphericalProperties():{}};
        g.k.setSphericalProperties=function(a){if(a&&2!=this.playerType){var b=az(this.app.o);b&&b.setSphericalProperties(a,!0)}};
        g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;this.app.enqueueVideoByPlayerVars(a,b,c,void 0===d?"":d)};
        g.k.clearQueue=function(){this.app.clearQueue()};
        g.k.destroy=function(){this.app.dispose()};
        g.k.sendAbandonmentPing=function(){var a=g.S(this.app);a&&a.sendAbandonmentPing()};
        g.k.setAutonavState=function(a){var b=this.app;NS(b).autonavState=a;g.TD("yt-player-autonavstate",a);b.g.L("autonavchange",a)};
        g.k.setAutonav=function(a){this.setAutonavState(a?2:1)};
        g.k.setLoopRange=function(a){this.app.setLoopRange(a)};
        g.k.getLoopRange=function(){return this.app.getLoopRange()};
        g.k.L=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];if(this.app.O().xb&&("videodatachange"==a||"resize"==a||"cardstatechange"==a))try{this.app.ca.L.apply(this.app.ca,[a].concat(g.fa(c)))}catch(e){CI(this,e,"Application - "+a)}try{this.app.Z.L.apply(this.app.Z,[a].concat(g.fa(c)))}catch(e){CI(this,e,"Application - "+a)}};
        g.k.ha=function(a,b){try{this.app.ca.L.apply(this.app.ca,arguments),this.app.Z.L.apply(this.app.Z,arguments)}catch(c){CI(this,c,"Application - "+a)}};
        g.k.S=function(){if(this.o){for(var a in this.l)this.o[a]=null;this.o=null}this.u={};this.B={};g.J.prototype.S.call(this)};DI.prototype.isEmpty=function(){return this.endTime==this.startTime};FI.prototype.update=function(){if(this.F){var a=this.i.g()||0,b=PI(this.i);if(a!=this.g||JI(this,a,b)){var c;if(!(c=a<this.g||a-this.g>b-this.A+2||JI(this,a,b))){var d=this.i.Kc();c=d.volume;var e=c!=this.I;d=d.muted;d!=this.H?(this.H=d,c=!0):(!e||0<=this.u||(this.I=c,this.u=b),c=b-this.u,0<=this.u&&2<c?(this.u=-1,c=!0):c=!1)}c&&(GI(this),this.l=a);this.A=b;this.g=a}}};KI.prototype.send=function(a){if(!this.Y){var b=NI(this);b=g.qg(this.sa,b);if(this.R)this.F&&(a=LI(this)||{},a.method="POST",a.kb={atr:this.F},this.B&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.St(b,a));else{var c=LI(this,a);c?g.St(b,c):g.tu(b,a)}this.Y=!0}};
        KI.prototype.g=function(a){void 0==a&&(a=NaN);return(1*a.toFixed(3)).toString()};var QI={other:1,none:2,wifi:3,cellular:7};var xba=new Set(["embed_config","home_group_info"]);g.t(WI,g.J);WI.prototype.V=function(a,b){if(!this.da()){this.A=NaN;this.i.update();var c=II(this.i),d=ZI(this,c);b&&(d.o=a);var e=this.H>(SI(this.g,"html5_expanded_max_vss_pings")?1E3:400);!(1<c.length)&&c[0].isEmpty()||e||(d.i=XI(this,!0,a));d.send();this.H++}};
        WI.prototype.B=function(a){var b=this.g.Ra,c=this.g.videoData,d={ns:b.H,el:kI(c),eurl:b.ia,fmt:c.Fa?sx(c.Fa):0,html5:1,list:c.playlistId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.g.g(),video_id:c.videoId,metric:a};mI(c)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=HI(this.i));g.Ya(d,b.deviceParams);aJ(this,g.qg(g.P(b.experiments,"cardio_base_url_killswitch")?(b.i?b.protocol+"://www.youtube.com/":b.u)+"live_204":b.u+"live_204",d))};
        WI.prototype.S=function(){g.J.prototype.S.call(this);g.Is(this.A);this.A=NaN;var a=this.i;window.clearInterval(a.B);a.B=NaN;g.Is(this.o)};
        WI.prototype.Pa=function(){return NI(YI(this,"playback"))};var z0={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(z0).reduce(function(a,b){a[z0[b]]=b;return a},{});
        var A0={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(A0).reduce(function(a,b){a[A0[b]]=b;return a},{});
        var B0={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(B0).reduce(function(a,b){a[B0[b]]=b;return a},{});g.t(eJ,rI);g.k=eJ.prototype;g.k.getPresentingPlayerType=function(){var a=this.app.getPresentingPlayerType();2==a&&JS(this.app)&&(a=1);return a};
        g.k.addCueRange=function(a,b,c,d,e){return jT(this.app,a,b,c,d,e)};
        g.k.addInfoCardXml=function(a,b,c){this.app.O().A.add(a,{fk:b,Kp:c})};
        g.k.cueVideoByPlayerVars=function(a,b){this.app.cueVideoByPlayerVars(a,b||this.playerType)};
        g.k.getPlayerState=function(a){return ZS(this.app,a)};
        g.k.loadVideoByPlayerVars=function(a,b,c,d){this.app.loadVideoByPlayerVars(a,c||this.playerType,b,d)};
        g.k.preloadVideoByPlayerVars=function(a,b,c,d,e,f){c=void 0===c?NaN:c;this.app.preloadVideoByPlayerVars(a,b||this.playerType,c,void 0===d?"":d,void 0===e?"":e,void 0===f?!1:f)};
        g.k.nextVideo=function(a,b){this.app.nextVideo(a,b)};
        g.k.previousVideo=function(a){this.app.previousVideo(a)};
        g.k.seekBy=function(a,b,c){rT(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
        g.k.seekTo=function(a,b,c,d){rT(this.app,a,b,c,d||this.playerType)};
        g.k.updatePlaylist=function(a){if(a){var b=this.getPlaylistId(),c=!1;if(b&&b!=a.list)if(g.P(this.app.O().experiments,"player_enable_playback_playlist_change"))c=!0;else return;void 0!==a.external_list&&(this.app.R=U(!1,a.external_list));var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.Va])&&c.encrypted_id!=b.ra().videoId||(a.index=b.Va)):QS(this.app,{list:a.list,index:a.index,playlist_length:d.length});rJ(this.app.getPlaylist(),a);this.ha("onPlaylistUpdate")}else this.app.updatePlaylist()};
        g.k.updateLastActiveTime=function(){fw()};
        g.k.updateVideoData=function(a,b){var c=g.S(this.app,this.playerType||1);c&&c.getVideoData().ye(a,b)};
        g.k.getPlayerResponse=function(){var a=g.S(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
        g.k.getStoryboardFormat=function(){return this.app.getStoryboardFormat()};
        g.k.getStoryboardFrame=function(a,b){var c=this.app.yf();if(!c)return null;c=c.g(b);return c?(c=c.i(a))?{column:c.column,columns:c.columns,height:c.sK,row:c.row,rows:c.rows,url:c.url,width:c.tK}:null:null};
        g.k.getStoryboardFrameIndex=function(a,b){var c=this.app.yf();if(!c)return-1;c=c.g(b);if(!c)return-1;g.P(this.app.O().experiments,"web_player_api_storyboard_timestamp_killswitch")||(a-=this.qb());return c.l(a)};
        g.k.getStoryboardLevel=function(a){var b=this.app.yf();return b?(b=b.g(a))?{index:a,intervalMs:b.g(),maxFrameIndex:b.o(),minFrameIndex:b.u()}:null:null};
        g.k.getNumberOfStoryboardLevels=function(){var a=this.app.yf();return a?a.i():0};
        g.k.qb=function(){var a=g.S(this.app,void 0);return a?a.qb():0};
        g.k.getHousebrandProperties=function(){var a=this.app.O();return{Nb:a.Nb,xb:a.xb}};
        g.k.getVideoData=function(){var a=rI.prototype.getVideoData.call(this)||{},b=g.S(this.app,this.playerType);b&&(b=b.getVideoData(),a.backgroundable=b.backgroundable,a.eventId=b.eventId,a.cpn=b.clientPlaybackNonce,a.isLive=b.oa,a.allowLiveDvr=b.allowLiveDvr,a.isListed=b.isListed,a.itct=b.ie,a.ypcOriginalItct=b.CG,a.ypcPreview=b.ypcPreview,a.paidContentOverlayText=XH(b),a.paidContentOverlayDurationMs=YH(b),null!=b.liveUtcStartSeconds&&(a.liveUtcStartSeconds=b.liveUtcStartSeconds),b.fa&&KC(b.fa)&&(a.usingLocalMedia=
        "true"));return a};
        g.k.getCurrentTime=function(a,b){return a?this.app.getCurrentTime(a,b):rI.prototype.getCurrentTime.call(this)};
        g.k.getDuration=function(a,b){return a?this.app.getDuration(a,b):rI.prototype.getDuration.call(this)};
        g.k.getProgressState=function(a){if(3==this.getPresentingPlayerType())return null.getProgressState();var b=this.app.getVideoData(),c=(g.S(this.app,a)||g.S(this.app)).getPlayerType(),d=this.getCurrentTime(a);a=this.getDuration(a);var e=XS(this.app,c),f=this.app.isAtLiveHead(c);var h=this.app;var l=g.S(h,void 0);if(l){l=LS(h,l);var m=NaN;l.g&&(m=ny(l.g));m=0<=m?m:l.getCurrentTime();h=YS(h,m,l)}else h=0;l=this.app.ob(c);m=this.app;(c=g.S(m,c))?(c=KS(m,c),c=YS(m,mP(c),c)):c=0;return{allowSeeking:this.app.jg(),
        clipEnd:b.clipEnd,clipStart:b.clipStart,current:d,displayedStart:-1,duration:a,ingestionTime:e,isAtLiveHead:f,loaded:h,seekableStart:l,seekableEnd:c}};
        g.k.getVideoLoadedFraction=function(a){return this.app.getVideoLoadedFraction(a)};
        g.k.canPlayType=function(a){return this.app.canPlayType(a)};
        g.k.getPreferredQuality=function(){var a=g.S(this.app);return a?a.getPreferredQuality():"unknown"};
        g.k.setPlaybackQualityRange=function(a,b){var c=g.S(this.app,this.playerType);if(c){var d=KD(a,b||a,!0,"m");c.K.rm=d;if(c.F){var e=c.F;if(e.la.g){var f=lx[XD()];e=e.la.videoInfos[0].ra().Rb;f>e&&0!=e&&d.g==e||g.TD("yt-player-quality",Yy(d),2592E3)}}OO(c)}};
        g.k.getCurrentBroadcastId=function(){var a=AP(this.app.o);return a?a.rs():null};
        g.k.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)};
        g.k.setCardsVisible=function(a,b,c){var d=g.nR(this.app.o);d&&d.ll()&&d.setCardsVisible(a,b,c)};
        g.k.handleGlobalKeyDown=function(a,b,c,d,e,f,h){b=void 0===b?!1:b;c=void 0===c?!1:c;d=void 0===d?!1:d;e=void 0===e?!1:e;var l=g.BI(this);l&&l.handleGlobalKeyDown(a,b,c,d,e,f,h)};
        g.k.handleGlobalKeyUp=function(a,b,c,d,e,f,h){b=void 0===b?!1:b;c=void 0===c?!1:c;d=void 0===d?!1:d;e=void 0===e?!1:e;var l=g.BI(this);l&&l.handleGlobalKeyUp(a,b,c,d,e,f,h)};
        g.k.getAudioTrack=function(){var a=g.S(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().Qh};
        g.k.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&null.Ni("control_set_audio_track",a);var b=g.S(this.app,this.playerType);if(b&&!b.da()&&!g.R(b.i,128))if(b.K.la.g)b.l.setAudioTrack(a);else{a:{var c=b.K;if(c.sc&&!yx(c.sc)||a==c.gj||!c.Ye||0>=c.Ye.length)c=!1;else{for(var d=g.r(c.Ye),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof DF)){c=!1;break a}var f=a.Xa.getId();e.i&&(e.i.i=f,e.g=null)}c.gj=a;c=!0}}c&&(b.L("internalaudioformatchange",b.K,!0),vO(b)&&b.Na("hlsaudio",a.id))}};
        g.k.getAvailableAudioTracks=function(){return g.S(this.app,this.playerType).getAvailableAudioTracks()};
        g.k.getMaxPlaybackQuality=function(){var a=g.S(this.app,this.playerType);return a&&a.getVideoData().Fa?Yy(a.F?dN(a.R,a.F,Zy(a)):MD):"unknown"};
        g.k.getUserPlaybackQualityPreference=function(){var a=g.S(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"};
        g.k.setSizeStyle=function(a,b){this.app.setSizeStyle(a,b)};
        g.k.showControls=function(){var a=g.BI(this);a&&a.showControls(!0)};
        g.k.hideControls=function(){var a=g.BI(this);a&&a.showControls(!1)};
        g.k.getVisibilityState=function(){var a=this.app.O();a=this.app.F.g&&!g.P(a.experiments,"kevlar_miniplayer_disable_vis");var b=g.S(this.app,this.playerType);return this.app.getVisibilityState(!!b&&b.I.i,this.isFullscreen()||RE(this.app.O()),a,this.isInline(),this.app.F.o)};
        g.k.isFullscreen=function(){return this.app.isFullscreen()};
        g.k.isInline=function(){return this.app.isInline()};
        g.k.getVideoContentRect=function(a){a=this.app.D.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
        g.k.setSafetyMode=function(a){this.app.O().enableSafetyMode=a};
        g.k.setUserEngagement=function(a){this.app.O().ud!=a&&(this.app.O().ud=a,(a=g.S(this.app,this.playerType))&&OO(a))};
        g.k.setFauxFullscreen=function(a){g.Yw();IS(this.app,a?2:0)};
        g.k.toggleFullscreen=function(){var a=this.app.O();a.externalFullscreen?this.isFullscreen()?$w(window.document.documentElement):Xw(window.document.documentElement):g.Yw()?this.isFullscreen()?$w(oT(this.app)):"3"==a.o?(a=this.app.u.ga())&&Xw(a):Xw(this.app.D.element):this.ha("onFullscreenToggled",this.isFullscreen())};
        g.k.cancelPlayback=function(){var a=lR(this.app.o);a&&a.created&&a.destroy();(a=g.S(this.app))&&a.stopVideo();(a=this.app.o.i.get("endscreen"))&&a.Gz()&&g.vP(this.app.g,!0)};
        g.k.stopVideo=function(){var a=this.app.O();!g.P(a.experiments,"disable_new_pause_state3")&&bF(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():rI.prototype.stopVideo.call(this)};
        g.k.getVideoStats=function(){return g.S(this.app,this.playerType).Pa(!0)};
        g.k.toggleSubtitles=function(){var a=gR(this.app.o);a&&a.jG()};
        g.k.updateSubtitlesUserSettings=function(a){gR(this.app.o).ww(a,!0)};
        g.k.getSubtitlesUserSettings=function(){var a=gR(this.app.o);return a?a.My():null};
        g.k.resetSubtitlesUserSettings=function(){gR(this.app.o).OF()};
        g.k.isAtLiveHead=function(a){return this.app.isAtLiveHead(void 0,void 0===a?!0:a)};
        g.k.setMinimized=function(a){this.app.setMinimized(a)};
        g.k.setInline=function(a){this.app.setInline(a)};
        g.k.getDebugText=function(a){return this.app.getDebugText(a)};
        g.k.setSphericalProperties=function(a){if(a){var b=az(this.app.o);b&&b.setSphericalProperties(a,!0)}};
        g.k.getSphericalProperties=function(){var a=az(this.app.o);return a?a.getSphericalProperties():{}};
        g.k.setBlackout=function(a){this.app.setBlackout(a)};
        g.k.onAdUxClicked=function(a){this.L("aduxclicked",a)};
        g.k.setVolume=function(a,b){vI(this,a,b)};
        g.k.mute=function(a){wI(this,a)};
        g.k.unMute=function(a){xI(this,a)};
        g.k.isMutedByMutedAutoplay=function(){return this.app.Ja};
        g.k.loadModule=function(a){if("annotations_module"==a){var b=g.nR(this.app.o);b&&!b.loaded&&b.load()}rI.prototype.loadModule.call(this,a)};
        g.k.unloadModule=function(a){if("annotations_module"==a){var b=g.nR(this.app.o);b&&b.loaded&&b.unload()}rI.prototype.unloadModule.call(this,a)};
        g.k.setOption=function(a,b,c){if(!b)return null;var d=this.app.o;switch(a){case "ad":return(a=lR(d))&&a.Qd&&a.Qd(b,c);case "kids":return null;case "remote":return null;case "unplugged":return(a=mR(d))&&a.Qd(b,c);case "annotations_module":return(a=g.nR(d))&&a.Qd(b,c);case "creatorendscreen":return(a=oR(d))&&a.Qd(b,c)}return rI.prototype.setOption.call(this,a,b,c)};
        g.k.getOptions=function(a){var b=this.app.o;switch(a){case "ad":return(b=lR(b))&&b.getOptions&&b.getOptions();case "remote":return null;case "annotations_module":return(b=g.nR(b))&&b.getOptions();case "creatorendscreen":return(b=oR(b))&&b.getOptions();case "unplugged":return(b=mR(b))&&b.getOptions();case "kids":return null}if(!a){a=rI.prototype.getOptions.call(this);if(!a)return a;lR(b)&&a.push("ad");g.nR(b)&&a.push("annotations_module");oR(b)&&a.push("creatorendscreen");mR(b)&&a.push("unplugged");
        return a}return rI.prototype.getOptions.call(this,a)};
        g.k.getPlayerSize=function(){var a=this.app.D.getPlayerSize();return{width:a.width,height:a.height}};
        g.k.setGlobalCrop=function(a){this.app.D.setGlobalCrop(a)};
        g.k.wakeUpControls=function(){g.BI(this)};
        g.k.getVideoAspectRatio=function(){return this.app.D.getVideoAspectRatio()};
        g.k.setUseFastSizingOnWatch=function(a){this.app.D.setUseFastSizingOnWatch(a)};
        g.k.setInternalSize=function(a,b){this.app.D.setInternalSize(new g.be(a,b))};fJ.prototype.reset=function(){iH("")};
        fJ.prototype.tick=function(a,b){SH(a,b,"")};
        fJ.prototype.info=function(a,b){gJ(a,b,"")};g.t(g.iJ,g.J);g.iJ.prototype.getId=function(){return this.A};
        g.iJ.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.A+"}["+jJ(this.start)+", "+jJ(this.end)+"]"};
        g.iJ.prototype.contains=function(a,b){return a>=this.start&&(a<this.end||a==this.end&&this.start==this.end)&&(null==b||a<b&&b<=this.end)};
        var Aba=1;g.iJ.prototype.getId=g.iJ.prototype.getId;g.mJ.prototype.toString=function(){return this.type+this.id};g.t(g.oJ,g.O);g.k=g.oJ.prototype;g.k.hasNext=function(a){return this.loop||!!a||this.Va+1<this.Ff};
        g.k.Bf=function(a){return this.loop||!!a||0<=this.Va-1};
        g.k.ra=function(a,b,c){a=void 0!=a?a:this.Va;a=this.Sa&&a in this.Sa?this.Sa[this.Wc[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.AH(this.Ma,a),g.K(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
        g.k.setShuffle=function(a){this.bw=a;a=this.Wc&&null!=this.Wc[this.Va]?this.Wc[this.Va]:this.Va;this.Wc=[];for(var b=0;b<this.Sa.length;b++)this.Wc.push(b);this.Va=a;if(this.bw){a=this.Wc[this.Va];for(b=1;b<this.Wc.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Wc[b];this.Wc[b]=this.Wc[c];this.Wc[c]=d}for(b=0;b<this.Wc.length;b++)this.Wc[b]==a&&(this.Va=b)}this.L("shuffle")};
        g.k.hd=function(a){a=a||"hqdefault.jpg";var b=this.xe[a];if(b||this.Ma.I||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a)return b;if(this.jw.length)return aF(this.Ma,this.jw[0],a)};
        g.k.getLength=function(){return this.Ff};
        g.k.Xh=function(a){if(a&&(a=a.videoId,!this.Sa[this.Va]||this.Sa[this.Va].video_id!=a))for(var b=0;b<this.Sa.length;b++)if(this.Sa[b].video_id==a){this.Va=b;break}};
        g.k.onReady=function(a){this.bj=a;this.ld&&g.Gs(this.bj,0)};
        g.k.getPlaylistId=function(){return this.listId?this.listId.toString():null};
        g.k.Ik=function(){return this.Ma.getVideoUrl(this.ra().videoId,this.getPlaylistId())};
        g.k.S=function(){this.bj=null;g.ak(this.Sa);g.O.prototype.S.call(this)};var sJ;g.tJ=new $s;sJ=0;wJ.prototype.u=function(){if(!xJ(this))return null;var a="";this.K&&this.K.Gg&&(a=this.K.Gg+("&r1b="+this.K.clientPlaybackNonce));var b={};a=(b.atr_challenge=a,b);return(a=this.l?g.vJ(a):g.z("yt.abuse.player.invokeBotguard")(a))?"r1a="+a:null};
        wJ.prototype.A=function(a){return"r3a="+Math.floor(this.K.lengthSeconds%Jd(a.c3a))};
        wJ.prototype.o=function(a){a=Jd(a.c);var b=this.l?parseInt(g.ys("DCLKSTAT",0),10):(b=g.z("yt.abuse.dclkstatus.checkDclkStatus"))?b():NaN;return"r6a="+(a^b)};zJ.prototype.zp=function(a){this.F=a;CJ(this)};
        zJ.prototype.hk=function(){this.A=NaN;this.R=0;this.D=null;this.N=0};
        zJ.prototype.reset=function(){this.Y=BJ(this);this.hk();this.u=[];this.B=[];this.i=this.F=NaN;this.o=this.H=0;this.J=!1};g.t(GJ,zJ);GJ.prototype.reset=function(){zJ.prototype.reset.call(this);this.l=8;this.g=new FJ(0,0,null)};
        GJ.prototype.process=function(a){var b=!1;if(this.u.length){if(IJ(this)&&this.u.length+a.byteLength<this.l)return EJ(this,a,0),0;a=DJ(this,a);b=!0}for(var c=0,d=0;c<a.byteLength;){var e=a.byteLength-c,f=NaN;if(IJ(this)){if(e<this.l)return EJ(this,a,c),0;switch(this.g.type){case 0:f=HJ(this,a,c);b||0!=c||(d=this.g.type);break;case 1836019574:case 1836019558:f=HJ(this,a,c);break;case 1953653094:e=a;f=c;this.H||(this.H=rA(JJ(this,e,f),this.policy.Pj?this.o:1));f=HJ(this,e,f);break;case 1836476516:this.o=
        tA(JJ(this,a,c));CJ(this);f=this.g.size-8;break;case 1952867444:e=void 0;isNaN(this.i)||(f=JJ(this,a,c),this.policy.I?e=this.U(zA(f),this.o):e=this.i,yA(f,e),isNaN(this.A)&&(this.A=e),this.i+=this.H,this.R+=this.H);f=this.g.size-8;break;case 1936286840:e=JJ(this,a,c),f=AA(e).qj[0],this.o=BA(e),CJ(this),this.H=f,f=this.g.size-8}}else f=Math.min(this.l,e);this.g.offset+=f;this.l-=f;c+=f;if(0==this.l){for(;0!=this.g.type&&this.g.offset==this.g.size&&this.g.parent;)1835295092==this.g.type&&(this.J=!0),
        this.g.parent.offset+=this.g.size,this.g=this.g.parent;switch(this.g.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.l=8;break;default:this.l=this.g.size-8}}}0<a.byteLength&&this.B.push(a);return d};
        GJ.prototype.Zs=function(){return 0==this.g.type&&!this.u.length};g.t(LJ,zJ);g.k=LJ.prototype;g.k.zp=function(a){zJ.prototype.zp.call(this,a);this.policy.I&&(this.i=this.U(this.i,this.o))};
        g.k.reset=function(){zJ.prototype.reset.call(this);this.l=32;this.g=new KJ(0,0,null)};
        g.k.hk=function(){zJ.prototype.hk.call(this);this.g.parent=new KJ(0,0,null);this.I=NaN};
        g.k.process=function(a){if(this.u.length){if(this.u.length+a.byteLength<this.l)return EJ(this,a,0),0;a=DJ(this,a)}for(var b=0;b<a.byteLength;){if(a.byteLength-b<this.l)return EJ(this,a,b),0;var c=new DataView(a.buffer,b);c=new IA(c,b);var d=0;switch(this.g.type){case 408125543:case 524531317:case 357149030:case 160:0==this.g.offset&&(NA(c,!1),NA(c,!0)),d=MA(c)-b,this.g.offset+=d;case 0:var e=MA(c),f=NA(c,!1),h=NA(c,!0);this.g=new KJ(f,MA(c)-e+h,this.g);break;case 231:NA(c,!1);d=RA(c);isNaN(this.A)&&
        (this.policy.I&&(d=this.U(d,this.o)),this.A=d);d=MA(c)-b;this.g.offset+=d;break;case 2807729:NA(c,!1);this.o=1E9/RA(c);d=MA(c)-b;CJ(this);this.g.offset+=d;break;case 163:case 161:e=MA(c);NA(c,!1);d=NA(c,!0);e=MA(c)-e;QA(c);this.i=(QA(c)<<8|QA(c))+this.A;isNaN(this.I)||161!=this.g.type||(this.i+=this.I);d+=e;this.g.offset+=d;this.J=!0;break;case 155:d=MA(c);NA(c,!1);this.I=RA(c);this.i+=this.I;d=MA(c)-d;this.g.offset+=d;break;default:d=MA(c),NA(c,!1),UA(c),d=MA(c)-d,this.g.offset+=d}b+=d;for(this.R=
        this.i-this.A;0!=this.g.type&&this.g.offset==this.g.size&&this.g.parent;)this.g.parent.offset+=this.g.size,this.g=this.g.parent;switch(this.g.type){case 0:case 408125543:case 524531317:this.l=32;break;default:this.l=this.g.size-this.g.offset}}0<a.byteLength&&this.B.push(a);return 0};
        g.k.Zs=function(){return 524531317==this.g.type&&!this.u.length};g.k=OJ.prototype;g.k.Bc=function(){return""};
        g.k.abort=function(){};
        g.k.Vg=function(){return!0};
        g.k.ai=function(){return this.o.length};
        g.k.ul=function(){return this.ld};
        g.k.Nn=function(){return!!this.g.length};
        g.k.Ef=function(){return!!this.g.length};
        g.k.Do=function(){return this.g.shift()};
        g.k.Co=function(){return this.g[0]};
        g.k.Ep=function(){return!0};
        g.k.ip=function(){return!!this.l};
        g.k.vl=function(){return this.l};var Lba=0;g.k=PJ.prototype;g.k.FF=function(a){this.status=a.status;a.ok?(this.A=a.body.getReader(),this.D?this.A.cancel("Cancelling"):(this.F=a.headers,this.Y(),this.l=new Uint8Array(RJ(this)),VJ(this))):XJ(this)};
        g.k.NC=function(a){if(!this.D){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=(0,g.H)(),d=a.value?a.value:null;(0,g.H)();a.done?(this.A=null,XJ(this)):(WJ(this)?(UJ(this,d),this.N(c,this.i,b)):(this.N(c,this.i+d.length,b),UJ(this,d)),VJ(this))}};
        g.k.Pt=function(a){this.J=""+a;this.H=!0;XJ(this)};
        g.k.Bc=function(a){return this.u.Tq||this.F?this.F.get(a):null};
        g.k.Vg=function(){return!!this.F};
        g.k.ul=function(){return this.i};
        g.k.ai=function(){return+this.Bc("content-length")};
        g.k.Nn=function(){return 200<=this.status&&300>this.status&&!!this.i};
        g.k.Ef=function(){return!!this.o.length||(this.I||WJ(this))&&0<this.g};
        g.k.Do=function(){this.Ef();this.o.length||SJ(this);return this.o.shift()};
        g.k.Co=function(){this.Ef();this.o.length||SJ(this);return this.o[0]};
        g.k.abort=function(){this.A&&this.A.cancel("Cancelling");this.B&&this.B.abort();this.D=!0};
        g.k.Ep=function(){return!0};
        g.k.ip=function(){return this.H};
        g.k.vl=function(){return this.J};g.k=YJ.prototype;g.k.OA=function(){if(!this.i){this.status=this.g.status;try{this.response=this.g.response,this.l=this.response.byteLength}catch(a){}this.o=!0;this.u()}};
        g.k.QA=function(){2==this.g.readyState&&this.A()};
        g.k.PA=function(a){this.i||(this.status=this.g.status,this.B(a.timeStamp,a.loaded))};
        g.k.Vg=function(){return 2<=this.g.readyState};
        g.k.Bc=function(a){try{return this.g.getResponseHeader(a)}catch(b){return g.M(b),""}};
        g.k.ai=function(){return+this.Bc("content-length")};
        g.k.ul=function(){return this.l};
        g.k.Nn=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
        g.k.Ef=function(){return this.o&&!!this.response&&!!this.response.byteLength};
        g.k.Do=function(){this.Ef();var a=this.response;this.response=null;return new Uint8Array(a)};
        g.k.Co=function(){this.Ef();return new Uint8Array(this.response)};
        g.k.abort=function(){this.i=!0;this.g.abort()};
        g.k.Ep=function(){return!1};
        g.k.ip=function(){return!1};
        g.k.vl=function(){return""};g.k=mK.prototype;g.k.start=function(a){sK(this,2);this.R=++mK.g;this.l?(this.I=$B(this.info,this.l.l,this.l.length),this.i=g.YB(this.info,this.o,this.U,this.I)):(this.I=this.info.range,this.i=g.YB(this.info,this.o,this.U));var b=!1;if(this.o.Ga&&2>this.info.i.g&&this.F){var c=this.i.get("aitags");if(c&&(XB(this.info)||WB(this.info))&&this.Y&&"auto"==XD()&&aE()){var d=Dd(c).split(","),e=[];(0,g.D)(this.Y,function(f){g.kb(d,f)&&e.push(f)});
        0<e.length&&(this.i.set("altitags",Cd(e.join(","))),b=!0)}}b||(this.F=!1);this.i.set("rn",this.R.toString());0<=a&&this.i.set("rbuf",(1E3*a).toFixed().toString());this.Z&&this.i.set("smb","1");a=g.HB(this.i);try{this.g=Uba(this,a)}catch(f){this.u="net.ssl";tK(this);return}0<this.o.H&&this.N.start()};
        g.k.pF=function(){this.B=0;this.info.i.u=RB();var a=oK(this);a.o=RB();a.started+=1;a=this.timing;a.g=(0,g.H)();a.A=a.g;a.l=0;a.ma=a.g;a.U=0;a.D&&(a.D=[]);a.ia=!1;a.ka=!1;a.u=0;a.Z=pE(a.i);a.F=Infinity;a.I=Infinity;jK(a);lK(a,a.g);a.V=(a.N-a.g)/1E3;a.H=NaN;a.Y=null};
        g.k.oF=function(a,b,c){if(!this.da()&&this.g){this.A=this.g.status;qK(this,!1);var d=this.timing;a=a>d.g&&4E12>a?a:(0,g.H)();hK(d,a,b);50>a-d.A&&iK(d)&&3!=aK(d)||fK(d,a,b,c);b=this.timing;b.l>b.Ba&&bK(b,b.l)&&4>this.state?sK(this,4):xK(this)&&yK(this)&&sK(this,Math.max(3,this.state))}};
        g.k.nF=function(){if(!this.da()&&this.g){if(!this.J&&this.g.Vg()&&this.g.Bc("X-Walltime-Ms")){var a=parseInt(this.g.Bc("X-Walltime-Ms"),10);this.J=((0,g.H)()-a)/1E3}this.g.Vg()&&this.g.Bc("X-Restrict-Formats-Hint")&&this.o.uq&&!aE()&&g.TD("yt-player-headers-readable",!0,2592E3)}};
        g.k.mF=function(){var a=this.g;!this.da()&&a&&(this.N.stop(),this.A=a.status,a=Tba(this,a),7==a?tK(this):sK(this,a))};
        g.k.KF=function(){if(!this.da()){var a=(0,g.H)(),b=!1;iK(this.timing)?(a=this.timing.N,lK(this.timing),this.timing.N-a>=.8*this.o.H?(this.B++,b=5<=this.B):this.B=0):(b=this.timing,b.B&&kK(b,(0,g.H)()),a-=b.R,this.o.Ce&&0<a&&(this.B+=1),b=a>1E3*this.o.ud);this.B&&this.D&&this.D(this);b?wK(this,!1):this.N.start()}};
        g.k.da=function(){return-1==this.state};
        g.k.dispose=function(){WB(this.info)&&6!=this.state&&(this.info.g[0].g.u=!1);sK(this,-1);this.D=null;this.N.dispose();this.o.od||vK(this)};
        mK.DEBUG=!1;mK.g=0;g.t(zK,g.O);zK.prototype.getDuration=function(){return this.A.index.Og()};RK.prototype.getDuration=function(){return this.g.index.Og()};nL.prototype.setPlaybackRate=function(a){this.l=Math.max(1,a)};
        nL.prototype.getPlaybackRate=function(){return this.l};sL.prototype.ra=function(){this.oc("gv")};
        sL.prototype.oc=function(a,b){this.u[a]=b?window.performance.timing.navigationStart+b:RB()};BL.prototype.send=function(){g.St(this.i,{format:"RAW",responseType:"arraybuffer",timeout:1E4,Vc:this.l,Od:this.l,context:this});this.g=RB()};
        BL.prototype.l=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:((RB()-this.g)/1E3).toFixed(3),shost:g.jg(this.i),trigger:this.A};204==a.status||a.response?this.o&&this.o(cx(b)):this.u(new bx("pathprobe.net",!1,b))};g.t(CL,g.O);g.t(ML,g.J);ML.prototype.removeCueRange=function(a){if(!this.da()){for(var b=arguments.length-1;0<=b;b--){var c=arguments[b];if(c){g.pb(this.l,c);var d=this.g,e=d.g;c=g.Bb(e,c,d.i);0<=c&&g.ob(e,c)}}this.i()}};
        ML.prototype.reset=function(){this.started=!1;this.u.stop();this.g.g=[];this.l=[];this.i()};
        ML.prototype.i=function(){this.A=!0;if(!this.B){for(var a=3;this.A&&a;)this.A=!1,this.B=!0,Qca(this),this.B=!1,a--;g.Iy(this.D())&&(a=KL(this.g,this.o),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.o)/this.I(),this.u.start(a)))}};
        ML.prototype.S=function(){this.l=[];this.g.g=[];g.J.prototype.S.call(this)};RL.prototype.then=function(a,b){return this.l.then(a,b)};
        RL.prototype.resolve=function(a){this.i(a)};
        RL.prototype.reject=function(a){this.g(a)};g.t(UL,g.O);g.k=UL.prototype;
        g.k.initialize=function(a,b,c){a=a||0;b=this.B;this.L("videoformatchange",new yJ(b.H,b.u,b.o.reason));if(this.u.i){if(this.g.Dw){b=cC(this.g);for(var d in this.u.g)this.u.g[d].index.o=b}this.rb=new Oba(this.g,this.i.g.index)}this.D&&DL(this.D,this.i.g);this.g.D&&Hz()&&this.Zb("streaming","ac."+(this.g.bf&&!!window.AbortController),!0);this.A=this.u.i?0:a;c?(this.g.be?(this.Gb=c,WL(this,c)):WL(this,!1),g.Qq(this.sa)):(a=0==this.A,sM(this,this.i,this.i.g,a),sM(this,this.o,this.o.g,a),this.seek(this.A),
        this.ma.ra())};
        g.k.resume=function(){if(this.V||this.Y)this.Ba=this.Y=this.V=!1,this.pe()};
        g.k.setAudioTrack=function(a){if(!this.da()){var b=this.B;b.l=b.A.g[a.id];b.H=b.l;this.L("audioformatchange",new yJ(b.H,b.u,"m"));this.L("reattachrequired")}};
        g.k.setPlaybackRate=function(a){a!=this.F.getPlaybackRate()&&this.F.setPlaybackRate(a)};
        g.k.tE=function(a){var b=this.g.Ce;if(!(!(b&&2<=a.state)||5<=a.state||a.B<b||PB(a.info.i,this.g,this.ia))){b=this.ia;var c=Pz(OB(a.info.i));b=MB(b,c);b.g||b.i||b.started||hM(this,a,!0)}if(!this.da()&&3<=a.state){b=this.ma;var d=a.info.g[0].g;c=!b.o&&d.info.video;d=!b.g&&d.info.audio;5==a.state?c?b.oc("vrr"):d&&b.oc("arr"):6==a.state?c?(b.o=a.i?g.HB(a.i):"",ht(4)):d&&(b.g=a.i?g.HB(a.i):""):4==a.state&&c&&ht(4);5<=a.state&&(this.g.ka&&(b=$J(a.timing),c=a.timing,b={rn:a.R.toString(),rt:b.rt,pt:b.pt,
        stall:b.stall,elt:b.elbowTime,elb:b.elbowBytes,rqd:c.D?c.D.join(""):""},c=b.rqd,delete b.rqd,c&&this.Zb("rqd",cx({rn:b.rn,d:c})),this.Zb("rqs",cx(b))),a.V&&this.Zb("sbwe3","1",!0));if(5==a.state)a.start(Math.max(0,a.info.g[0].B-this.A));else if(5<=a.state&&5==a.info.g[0].type)6==a.state&&(b=(a.info.g[0].g.info.video?this.i:this.o).o[0]||null)&&b.B&&wK(b,!0),a.dispose();else{if(this.g.Ga&&a.F&&4<=a.state&&5!=a.state)if(b=a.g?a.g.Bc("X-Response-Itag"):null){b=Hca(this.B,b);c=a.info.range.length-b.Ak();
        b.u=!0;a.info.g[0].g.u=!1;d=b.Pg(c)[0];a.info=d;if(a.l){c=a.l;d=d.g;c.i=d;var e=d[0].range,f=wB(c.g[0].g);wB(g.db(c.g).g);for(var h=0;h<c.g.length;h++){c.g[h].info=d[h];var l=d[h].range;c.g[h].g=new tB([new Uint8Array(f.buffer,l.start-e.start,l.length)])}}a.F=!1;c=this.i;c.g!=b&&(c.g=b);c=this.i;c.i&&(c.i.g=b);this.L("constraint",b.info.ra().quality);(c=a.g?a.g.Bc("X-Segment-Lmt"):null)&&b instanceof BC&&(isNaN(b.lastModified)||b.lastModified==c||fL(this.i,a))}else a.F=!1;6==a.state||this.g.D&&3<=
        a.state&&!(5<=a.state)?Wca(this,a):7==a.state&&(b=a.info.g[0].g,uK(a)?(c=(b.info.video&&1<b.l.g||410==a.A||500==a.A||503==a.A)&&!zL(this.B),d=nK(a),e=b.info.video?this.i:this.o,c&&(d.stun="1"),iM(this,!1,a.u,d),this.da()||(c&&yL(this.B,b),this.g.De&&1==a.info.g.length&&0<a.info.g[0].l&&b!=e.g&&this.Y?this.L("reattachrequired"):(fL(e,a),this.pe()))):(iM(this,!1,a.u,nK(a)),WB(a.info)?(b.o=a.u,this.pe()):iM(this,!0,"net.retryexhausted",{})));this.pe();a:if(this.g.Wa&&5<=a.state&&uK(a)&&PB(a.info.i,this.g,
        this.ia)){b=this.ia;c=Pz(a.info.i.i);b=MB(b,c);c=b.started+b.l;if(this.g.Be)c+=b.g*this.g.Be;else if(b.g)break a;b.o+this.g.Wa*Math.pow(1.6,c)>RB()||hM(this,a,!1)}}}};
        g.k.pe=function(){$L(this);if(this.l&&by(this.l)&&!this.l.kd()){var a=SK(this.i);a=this.g.Ws&&a&&a.A;this.u.isLive&&!a?isNaN(this.H)?(this.H=this.A+3600,dy(this.l,this.H)):this.H<=this.A+1800&&(this.H=Math.max(this.H+1800,this.A+3600),dy(this.l,this.H)):this.l.isView()||(a=Math.max(this.o.getDuration(),this.i.getDuration()),(!isFinite(this.H)||this.H!=a)&&0<a&&(dy(this.l,a),this.H=a))}if(!this.da())if(cD(this.u)&&3==this.u.B)iM(this,!0,"manifest.net.retryexhausted",{rc:this.u.N.toString()});else if(this.u.l&&
        (kL(this.i)||kL(this.o)))YL(this),this.L("seekplayerrequired",Infinity);else if($L(this),UK(this.i),!this.da()&&(UK(this.o),!this.da())){this.u.i&&(lL(this.i),lL(this.o),Yca(this),(a=AK(this.i.l))&&a.i&&(a=a.i.u&&!this.g.N,this.Zb(a==this.g.g?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.g.g?"1":"0")+";dfs."+(this.g.N?"1":"0"),!0)));this.l&&nM(this);VL(this);sM(this,this.i,this.i.g,!1);sM(this,this.o,this.o.g,!1);a=this.o.g.o;var b=this.i.g.o;if(a||b){var c="net.retryexhausted";if("fmt.unparseable"==
        a||"fmt.unparseable"==b)c="fmt.unparseable";iM(this,!0,c,{metadata:"1",video:this.i.g.o||"",audio:this.o.g.o||""})}else eM(this,this.i,this.o),eM(this,this.o,this.i),this.g.Gw&&this.ua&&!this.V&&qE(this.R)&&(a=this.ua,b=(0,g.A)(this.L,this,"error"),c=this.g.jq?(0,g.A)(this.Zb,this,"pathprobe"):null,(new BL(a,"cms",c,b)).send(),this.ua=""),this.g.Sj&&this.u.l&&g.Qq(this.sa),this.D&&(a=this.D,a.u?(b=a.D+a.g.Ze,a.o||(b=Math.min(b,a.A+a.g.Pb)),a=Math.max(0,1E3*b-(0,g.H)())):a=NaN,isNaN(a)||g.Qq(this.Ib,
        a)),g.Qq(this.Ya)}};
        g.k.RA=function(a){this.g.ua&&this.l&&this.Zb("sbu",a.Pa({a:""+ +(a==this.l.g)}));this.pe()};
        g.k.uC=function(a){if(this.l){a=SK(a==this.l.g?this.o:this.i);var b=void 0;a&&(b=oB(a));iM(this,!0,"fmt.unplayable",b)}};
        g.k.DD=function(a){iM(this,!0,"fmt.unparseable",a)};
        g.k.ED=function(a){this.o.g.A=a;this.l&&kM(this.l.g,a)};
        g.k.ID=function(a){iM(this,!1,"qoe.avsync",a)};
        g.k.FD=function(a,b){this.u.i&&qM(this,b,a==this.i)};
        g.k.GD=function(a,b){this.u.i&&kD(this.u,b.fb,a==this.i)};
        g.k.HD=function(a,b){this.u.i&&qM(this,b,a==this.i)};
        g.k.CD=function(a,b){var c=this.i.g.index.ab()<=b,d=this.u.i&&this.g.hq;this.Wa=a.g+a.durationSecs;if(c||d)this.g.af&&(a.g+=isNaN(this.N)?0:this.N),c=this.u,c.R.push(a),c.L("cuepointsadded")};
        g.k.seek=function(a){if(this.da())return Zm();if(this.i.B||this.o.B)return Ym();$L(this);this.Oa=RB();VL(this,a);var b=this.i.i,c=rM(this.i,a,this.l&&this.l.i),d=rM(this.o,this.g.Oa?a:c,this.l&&this.l.g);this.A=Math.max(a,c,d);this.I=!0;this.u.i&&this.g.ca&&(c=this.i.i.i,fC(this.i.g.index,c)||b&&b.i==c||(this.J=!0));this.l&&this.l.g&&this.l.i&&(this.l.g.isLocked()||this.l.i.isLocked())&&this.L("reattachrequired");g.Qq(this.ca);return Ym(a)};
        g.k.getCurrentTime=function(){return this.A};
        g.k.S=function(){ZL(this);dL(this.o);dL(this.i);g.O.prototype.S.call(this)};
        g.k.Pa=function(){var a=SK(this.o),b=SK(this.i);a={lct:this.A.toFixed(3),lsk:this.I,lmf:AL(this.B),lbw:nE(this.R).toFixed(3),lhd:lE(this.R).toFixed(3),lst:(1E9*(this.R.u.g()||0)).toFixed(3),laa:a?pB(a):"",lva:b?pB(b):"",lar:this.o.i?pB(this.o.i):"",lvr:this.i.i?pB(this.i.i):""};this.l&&!ey(this.l)&&this.l.g&&this.l.i&&(a.lab=Sx(this.l.g.Wb()),a.lvb=Sx(this.l.i.Wb()));return a};
        g.k.Zb=function(a,b,c){this.L("ctmp",a,b,void 0===c?!1:c)};
        g.k.ar=function(a,b){var c=a/b;isNaN(this.N)&&(this.N=c-Math.min(c,this.g.wd),this.L("timestamp",this.N));return(c-this.N)*b};
        var fM=2/24;g.t(uM,g.O);g.t(xM,uM);xM.prototype.A=function(a,b){if(a&&b){var c=1*ug(a,"cpi")+1;isNaN(c)||0>=c||c<this.l?(this.o.stop(),this.i.stop(),this.l=-1,this.g={}):(c>this.l&&(this.l=c,g.lc(this.g)||(this.g={},this.o.stop(),this.i.stop())),this.g[b]=a,g.Qq(this.i))}};
        xM.prototype.u=function(){for(var a in this.g)this.L("rotated_need_key_info_ready",new vM(cda(this.g[a],this.l,a),"fairplay",!0));this.g={}};var C0={},Eha=(C0.DRM_TRACK_TYPE_AUDIO="AUDIO",C0.DRM_TRACK_TYPE_SD="SD",C0.DRM_TRACK_TYPE_HD="HD",C0.DRM_TRACK_TYPE_UHD1="UHD1",C0);g.t(AM,g.J);AM.prototype.u=function(a){this.da()||(0!=a.status&&a.response?(SH("drm_net_r"),a=new Uint8Array(a.response),(a=zM(a))?this.l(a):this.g(this,"drm.net","t.p")):this.o(a))};
        AM.prototype.o=function(a){this.da()||this.g(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)};
        AM.prototype.B=function(a){if(!this.da()){SH("drm_net_r");a:{var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=Ue(a.license)}catch(n){}if(0!=b||c){c=new yM(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.r(a.authorizedFormats),h=f.next();!h.done;h=f.next()){h=h.value;var l=Eha[h.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=Ue(h.keyId)}catch(n){}if(!m){a=null;break a}e[Pe(m,4)]=l}}c.g=d;c.i=e}a=c}else a=
        null}a?this.l(a):this.g(this,"drm.net","t.p;p.i")}};
        AM.prototype.A=function(a){this.da()||(a=a.error,this.g(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.t(BM,g.J);g.k=BM.prototype;g.k.WA=function(a){if(this.u){var b=a.messageType||"license-request";this.u.call(this.l,new Uint8Array(a.message),b)}};
        g.k.XA=function(){this.D&&this.D.call(this.l,this.g.keyStatuses)};
        g.k.vu=function(a,b){g.M(b);if(this.o){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.o.call(this.l,c)}};
        g.k.SC=function(){this.da()||cu("xboxone")&&this.o&&this.o.call(this.l,"closed")};
        g.k.Ku=function(a){this.u&&this.u.call(this.l,a.message,"license-request")};
        g.k.Ju=function(a){if(this.o){if(this.i){var b=this.i.error.code;a=this.i.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.o.call(this.l,"t.prefixedKeyError;c."+b+";sc."+a)}};
        g.k.Iu=function(){this.B&&this.B.call(this.l)};
        g.k.update=function(a){if(this.g)return this.g.update(a).then(null,As((0,g.A)(this.vu,this,"t.update")));this.i?this.i.update(a):this.A.addKey?this.A.addKey(this.H.g,a,this.F,this.sessionId):this.A.webkitAddKey(this.H.g,a,this.F,this.sessionId);return Du()};
        g.k.S=function(){this.g&&this.g.close();this.A=null;g.J.prototype.S.call(this)};g.t(CM,g.J);g.k=CM.prototype;
        g.k.createSession=function(a){var b=a.initData;if(this.g.i){var c=this.u.createSession();"com.youtube.fairplay"==this.g.g&&(b=EM(this,b));b=c.generateRequest(a.contentType,b);c=new BM(null,null,null,c,null);b.then(null,As((0,g.A)(c.vu,c,"t.generateRequest")));return c}if(kF(this.g)){c=new Uint8Array(270);for(a=0;135>a;a++)c[2*a]='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="true"></LicenseAcquisition></PlayReadyCDMData>'.charCodeAt(a);b=this.l.createSession("video/mp4",
        b,c);return new BM(null,null,null,null,b)}if(oF(this.g))return b=EM(this,b),b=this.l.createSession("video/mp4",b),new BM(null,null,null,null,b);this.i.generateKeyRequest?this.i.generateKeyRequest(this.g.g,b):this.i.webkitGenerateKeyRequest(this.g.g,b);return this.o=new BM(this.i,this.g,b,null,null)};
        g.k.aB=function(a){var b=FM(this,a);b&&b.Ku(a)};
        g.k.ZA=function(a){var b=FM(this,a);b&&b.Ju(a)};
        g.k.YA=function(a){var b=FM(this,a);b&&b.Iu(a)};
        g.k.S=function(){g.J.prototype.S.call(this);delete this.i};var D0={},kda=(D0.widevine="DRM_SYSTEM_WIDEVINE",D0.fairplay="DRM_SYSTEM_FAIRPLAY",D0.playready="DRM_SYSTEM_PLAYREADY",D0);g.t(IM,g.J);g.k=IM.prototype;
        g.k.UA=function(a,b){if(!this.da()){HM(this,"onkmtyp"+b);if(!g.P(this.l.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":jda(this,a);return;default:this.wb.L("ctmp","message_type","t."+b+";l."+a.byteLength)}this.H||(SH("drm_gk_f"),this.H=!0,this.wb.L("newsession",this));if(lF(this.i)){var c=JM(a);if(!c)return;a=c}if("fairplay"==this.i.flavor){c=Pe(a);for(var d=new Uint8Array(c.length),
        e=0;e<c.length;e++)d[e]=c.charCodeAt(e);a=d}c=new AM(a,++this.J,(0,g.A)(this.rD,this),(0,g.A)(this.qD,this));g.K(this,c);LM(this,c)}};
        g.k.SA=function(){this.da()||(HM(this,"onkyadd"),this.B||(this.wb.L("sessionready"),this.B=!0))};
        g.k.VA=function(a){var b=this;this.da()||(a.forEach(function(c,d){var e=lF(b.i)?d:c,f=new Uint8Array(lF(b.i)?c:d);lF(b.i)&&OM(f);var h=Pe(f,4);OM(f);f=Pe(f,4);b.g[h]?b.g[h].status=e:b.g[f]?b.g[f].status=e:b.g[h]={type:"",status:e}}),HM(this,"onksch"),this.wb.L("keystatuseschange",this))};
        g.k.TA=function(a){this.da()||GM(this,"drm.keyerror",!0,a)};
        g.k.rD=function(a){this.da()||(HM(this,"onlcsrsp"),0!=a.statusCode?GM(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0):(SH("drm_kr_s"),a.heartbeatParams&&this.wb.L("newlicense",a.heartbeatParams),a.g&&(this.A=a.g,KM(this)||(nF(this.i)?480<lx[MM(this.A)]&&this.wb.L("hdentitled",this):this.wb.L("keystatuseschange",this))),a.i&&(this.g=bc(a.i,function(b){return{type:b,status:"unknown"}})),oF(this.i)&&(a.message=Ue(HA(a.message))),this.o&&(HM(this,"updtks"),this.o.update(a.message).then(function(){SH("drm_kr_f")})),
        this.B&&(this.I=(0,g.Bv)()),"fairplay"==this.i.flavor&&this.wb.L("fairplay_next_need_key_info",this.F,a.l)))};
        g.k.qD=function(a,b,c){if(!this.da()){var d=!1;if(3<=a.i.i||this.R&&36E4<(0,g.Bv)()-this.I)d=!0,b="drm.net.retryexhausted";HM(this,"onlcsrqerr"+b+c);GM(this,b,d,c);(this.R&&this.B?0:!d&&this.J==a.number)&&lda(this,a)}};
        g.k.S=function(){g.J.prototype.S.call(this)};
        g.k.Pa=function(){var a={requestedKeyIds:this.U,cryptoPeriodIndex:this.cryptoPeriodIndex};this.o&&(a.keyStatuses=this.g);return a};
        g.k.cd=function(){var a=this.A.join();if(KM(this)){var b=[],c;for(c in this.g)"usable"!=this.g[c].status&&b.push(this.g[c].type);a+="/UKS:"+b}return a+="/"+this.cryptoPeriodIndex};QM.prototype.get=function(a){a=this.Xh(a);return-1!=a?this.values[a]:null};
        QM.prototype.remove=function(a){a=this.Xh(a);-1!=a&&(this.keys.splice(a,1),this.values.splice(a,1))};
        QM.prototype.set=function(a,b){var c=this.Xh(a);-1!=c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
        QM.prototype.Xh=function(a){return g.ib(this.keys,function(b){return g.Gb(a,b)})};g.t(RM,uM);RM.prototype.u=function(a){var b=(0,g.H)(),c;if(!(c=this.o)){a:{c=a.cryptoPeriodIndex;if(!isNaN(c))for(var d=g.r(this.l.values),e=d.next();!e.done;e=d.next())if(1>=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}c=!1}c=!c}c?c=0:(c=a.g,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.g.push({time:b+c,info:a});g.Qq(this.i,c)};g.t(UM,g.O);g.k=UM.prototype;g.k.ga=function(){return this.H};
        g.k.dD=function(a){TM(this,"onecpt");XM(this,new Uint8Array(a.initData),a.initDataType)};
        g.k.QD=function(a){TM(this,"onndky");XM(this,a.initData,a.contentType)};
        g.k.BD=function(){var a=this;if(!this.da())if(!g.P(this.l.experiments,"html5_drm_set_server_cert")||g.VE(this.l)&&!g.fu())$M(this);else{var b=fda(this.I);b?b.then(As(function(c){VH(a.K)&&a.L("ctmp","ssc",c)}),As(function(c){a.L("ctmp","ssce","n."+c.name+";m."+c.message)})).then(As(function(){return $M(a)})):$M(this)}};
        g.k.xC=function(a){if(!this.da()){g.M(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.L("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
        g.k.Yq=function(a){this.o.push(a);WM(this)};
        g.k.SD=function(a){this.da()||(TM(this,"onnelcswhb"),a&&!this.ca&&(this.ca=a,this.L("heartbeatparams",a)))};
        g.k.TD=function(){this.da()||(TM(this,"newlcssn"),this.o.shift(),this.J=!1,WM(this))};
        g.k.JE=function(){if(kF(this.g)&&(TM(this,"onsnrdy"),this.ma--,0==this.ma)){var a=this.u;a.i.msSetMediaKeys(a.l)}};
        g.k.bB=function(a){this.da()||(TM(this,"onksch"),ZM(this,NM(a,this.Y)))};
        g.k.jD=function(){this.da()||this.U||!nF(this.g)||(TM(this,"onhdet"),this.R=MO,this.L("hdproberequired"),this.L("qualitychange"))};
        g.k.S=function(){this.g.i&&this.H.setMediaKeys(null);this.H=null;this.o=[];for(var a=g.r(this.i.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.i;a.keys=[];a.values=[];this.V&&(this.V.dispose(),this.V=null);g.O.prototype.S.call(this)};
        g.k.Pa=function(){for(var a={systemInfo:this.g.Pa(),sessions:[]},b=g.r(this.i.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Pa());return a};
        g.k.cd=function(){return 0>=this.i.values.length?"no session":this.i.values[0].cd()+(this.B?"/KR":"")};g.t(bN,g.O);bN.prototype.setPlaybackRate=function(a){this.D=a};
        bN.prototype.na=function(a){return g.P(this.g.experiments,a)};g.t(lN,g.J);
        lN.prototype.u=function(){if(!(this.F||0>this.l)){nN(this);var a=PI(this.i)-this.l,b="PLAYER_PLAYBACK_STATE_UNKNOWN";this.g.isError()?b="PLAYER_PLAYBACK_STATE_ERROR":g.R(this.g,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.R(this.g,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.R(this.g,16)||g.R(this.g,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.R(this.g,1)&&g.R(this.g,4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.R(this.g,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.R(this.g,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.R(this.g,
        8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");var c=ZH(this.i.videoData),d="LIVE_STREAM_MODE_UNKNOWN";"live"==c?d="LIVE_STREAM_MODE_LIVE":"dvr"==c&&(d="LIVE_STREAM_MODE_DVR");c=oN(this.i);var e=0>this.o?a:this.o-this.l;a=this.i.Ra.N+36E5<(0,g.Bv)();b={started:0<=this.o,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.B,rebufferTimeSecs:this.D,canaryType:c,isAd:this.i.videoData.isAd(),liveMode:d,hasDrm:!!g.WH(this.i.videoData),isGapless:this.i.videoData.Kd};!a&&SI(this.i,"html5_health_to_gel")&&zw("html5PlayerHealthEvent",
        b);SI(this.i,"html5_health_to_qoe")&&(b.muted=a,this.J(cx(b)));this.F=!0;this.dispose()}};
        lN.prototype.S=function(){this.F||this.u();g.J.prototype.S.call(this)};g.t(qN,g.J);
        qN.prototype.B=function(a){if(!this.da()&&(a=0<=a?a:PI(this.g),-1<["PL","B","S"].indexOf(this.l)&&(!g.lc(this.i)||a>=this.A+30)&&(pN(this,a,"vps",[this.l]),this.A=a),!g.lc(this.i))){tN(this,a);var b=a,c=this.g.u(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.ka,h=e&&!this.za;if(d>c.totalVideoFrames||5E3<f)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else(0<f||h)&&pN(this,b,"df",[f]);this.ka=d;this.za=e;!g.P(this.g.Ra.experiments,"disable_webgl_reporting")&&0<
        this.U&&(pN(this,a,"glf",[this.U]),this.U=0);a={event:"streamingstats"};this.g.videoData.Fa&&(a.fmt=sx(this.g.videoData.Fa),(b=this.g.videoData.sc)&&sx(b)!=a.fmt&&(a.afmt=sx(b)));a.cpn=this.g.videoData.clientPlaybackNonce;a.ei=this.g.videoData.eventId;a.el=kI(this.g.videoData);a.docid=this.g.videoData.videoId;a.ns=this.g.Ra.H;a.fexp=this.g.Ra.experiments.experimentIds.toString();a.cl="269360546";this.g.videoData.adFormat&&(a.adformat=this.g.videoData.adFormat);(b=ZH(this.g.videoData))&&(a.live=b);
        UH(this.g.videoData)&&(a.drm=1);a.seq=this.R++;if(!g.P(this.g.Ra.experiments,"html5_prevent_qoe_spam_killswitch")&&(7E3==this.R&&g.M(Error("Sent over 7000 pings"),"WARNING"),7E3<=this.R))return;g.tc(a,this.g.Ra.deviceParams);b=g.qg("//"+this.g.Ra.Fe+"/api/stats/qoe",a);a=c="";for(var l in this.i)null==this.i[l]?g.M(Error("Stats report key has invalid value: "+l),"WARNING"):(d="&"+l+"="+this.i[l].join(","),100<d.length?a+=d:c+=d);l=b+c;a=a.replace(/ /g,"%20");b=nI(this.g.videoData);c=this.g.videoData.visitorData;
        d=b&&xt();e=c&&this.g.Ra.sa;d||e?(f={},d&&(f.Authorization="Bearer "+b),e&&(f["X-Goog-Visitor-Id"]=c),g.St(l,{headers:f,withCredentials:!0,method:"POST",postBody:a})):vu(l,void 0,a);this.i={}}};
        qN.prototype.Ga=function(){if(this.g.videoData.Xb){var a=this.g.videoData.Xb;xN(this,"drm-"+a.flavor);xN(this,"eme-"+(a.i?"final":kF(a)?"ms":"com.youtube.fairplay"==a.g?"ytfp":oF(a)?"safarifp":"nonfinal"))}};
        qN.prototype.onError=function(a,b){var c=PI(this.g);vN(this,c,a,b);tN(this,c);uN(this)};
        qN.prototype.S=function(){g.J.prototype.S.call(this);window.clearInterval(this.ma)};
        var E0={},wda=(E0[5]="N",E0[-1]="N",E0[3]="B",E0[0]="EN",E0[2]="PA",E0[1]="PL",E0);g.t(yN,g.J);yN.prototype.onError=function(a,b){if(this.g)this.g.onError(a,b)};
        yN.prototype.Pa=function(){return this.i?this.i.Pa():{}};g.t(BN,g.O);g.t(LN,g.O);g.k=LN.prototype;g.k.getCurrentTime=function(){return!isNaN(this.i)&&isFinite(this.i)?this.i:this.g&&IN(this)?this.g.getCurrentTime()+this.o:this.B||0};
        g.k.isAtLiveHead=function(a){if(!this.l)return!1;void 0==a&&(a=this.getCurrentTime());return FN(this.l,a)};
        g.k.seekTo=function(a,b,c,d,e,f){b=void 0===b?!0:b;c=void 0===c?!1:c;d=void 0===d?0:d;e=void 0===e?!1:e;f=void 0===f?0:f;var h=a,l=!isFinite(h)||(this.l?FN(this.l,h):h>=this.Db())||!g.iI(this.K);l||this.L("ctmp","seeknotallowed",h+";"+this.Db());if(!l)return this.A&&(this.A=null,SN(this)),Ym(this.getCurrentTime());if(a==this.i&&this.I)return this.D;this.I&&MN(this);this.D||(this.D=new RL);a&&!isFinite(a)&&ON(this,!1);h=a;RN(this)&&!(this.g&&0<this.g.Ld()&&0<ky(this.g))||!isFinite(h)&&ez(this.K)||
        (a=TN(this,a,c));a&&!isFinite(a)&&ON(this,!1);this.na("html5_seek_resumetime_killswitch")||(this.B=a);this.U=e;this.ka=f;this.i=a;this.l&&(c=this.l,e=a,GN(c,e,!1),HN(c,e));this.L("seekto",a,b);if(this.D||this.na("html5_seek_removed_el_killswitch"))b?(this.I=!0,JN(this)):d&&this.N.start(d);return this.D};
        g.k.Db=function(a){if(!this.K.oa)return this.K.Db();if(this.K&&this.K.la&&this.K.la.g){if(!a&&this.l)return EN(this.l);a=this.K.Db();this.ua.g&&this.g&&(a=Math.max(a,oy(this.g)));return a+this.o}this.g?gu()?(a=this.g.ql().getTime(),a=isNaN(a)?0:Math.max(((0,g.H)()-a)/1E3-30,0)):a=ky(this.g)+this.o||this.o:a=this.o;return a};
        g.k.ob=function(){return this.K?this.K.ob()+this.o:this.o};
        g.k.S=function(){PN(this,null);g.O.prototype.S.call(this)};
        g.k.RF=function(a,b){b=void 0===b?!1:b;this.seekTo(a+this.qb(),!0,b)};
        g.k.ZF=function(a){this.o=a};
        g.k.qb=function(){return this.o};
        g.k.kB=function(a){this.F&&(this.F.g=a.audio.index)};
        g.k.na=function(a){return this.ca&&g.P(this.ca.experiments,a)};g.t(ZN,g.O);g.k=ZN.prototype;g.k.getVisibilityState=function(a,b,c,d,e){return a?4:VN()?3:b?2:c?1:d?5:e?7:0};
        g.k.setMinimized=function(a){this.g!=a&&(this.g=a,this.lh())};
        g.k.setInline=function(a){this.u!=a&&(this.u=a,this.lh())};
        g.k.isFullscreen=function(){return 0!=this.l};
        g.k.isInline=function(){return this.u};
        g.k.isBackground=function(){return VN()};
        g.k.lh=function(){this.L("visibilitychange");var a=this.getVisibilityState(this.i,this.isFullscreen(),this.g,this.isInline(),this.o);a!=this.B&&this.L("visibilitystatechange");this.B=a};
        g.k.S=function(){YN(this.A);g.O.prototype.S.call(this)};var iO={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},jO={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},kO=/^(\d*)_((\d*)_?(\d*))$/;aO.prototype.isFinished=function(){return this.i};
        aO.prototype.start=function(){this.g=!0};
        aO.prototype.reset=function(){this.i=this.g=!1};g.t(eO,g.O);g.k=eO.prototype;g.k.S=function(){window.clearInterval(this.Gb);YN(this.Ya);this.I.unsubscribe("visibilitystatechange",this.Ya);gO(this);hO(this);g.gt(this.ma);HO(this);this.u&&(this.u.dispose(),delete this.u);delete this.F;g.Zj(this.K);this.U=null;this.Oa=!1;this.za=0;g.O.prototype.S.call(this)};
        g.k.getVideoData=function(){return this.K};
        g.k.O=function(){return this.o};
        g.k.dn=function(){if(this.K.Hb())Mda(this);else if(this.K.Sf||this.K.dh){if(!this.ia||!rO(this))if(this.K.Sf)Taa(this.K);else{var a=this.A;a.g&&(a=a.g,xN(a,"protected"),a.g.videoData.Xb?a.Ga():a.g.videoData.subscribe("dataloaded",a.Ga,a));a=this.K;a.vf||a.fa&&HC(a.fa);var b={};a.fa&&(b=vF(HH(a),a.Ma.l,a.fa));var c=a.Ma.experiments,d=a.Yv;var e=a.vj?(a.na("html5_enable_tvos_widevine")||GH(a,"html5_enable_tvos_widevine_dogfood"))&&gu()?IH(a):GH(a,"html5_enable_androidtv_cobalt_widevine")&&cu("cobalt")&&
        cu("android")?!0:!1:!1;b=new yF(b,c,d,e);g.K(a,b);a.dh=!1;a.Sc=!0;a=(0,g.A)(a.Oz,a);b.A=a;b.l=[];pF(b.u)?zF(b):oaa(b)}}else!this.K.Sc&&this.Tc&&Lda(this)};
        g.k.YD=function(a){var b=this;this.da()||a.videoData.da()||(this.F=a,Cda(this.u,this.F),!this.K.oa||0<this.K.Cf&&!ez(this.K)||(this.seekTo(UO(this),!0),zO(this,"playbackData")),this.K.la.g&&(this.l?g.Bs(Error("Duplicated Loader")):SO(this)),OO(this),this.na("html5_nonblocking_media_capabilities")&&tda(a).then(function(){PO(b);kN(b.R,b.F)}))};
        g.k.ZD=function(a){this.da()||(a=dx(a),this.I.isBackground()?(lP(this,"vp_none_avail"),this.ua=null,this.Y.reset()):(this.Y.i=!0,g.dO(this,a.errorCode,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",cx(a.details))))};
        g.k.sendAbandonmentPing=function(){g.R(this.getPlayerState(),128)||(this.L("internalAbandon"),this.tp(),gO(this),g.gt(this.ma))};
        g.k.getPlayerState=function(){return this.i};
        g.k.getPlayerType=function(){return this.rb};
        g.k.getPreferredQuality=function(){if(this.F){var a=Yy;var b=this.R,c=this.F,d=ND(c.videoData.rm,c.videoData.kr);"auto"!=XD()||(d=ND(d,jN(b,c)));a=a(d)}else a="auto";return a};
        g.k.isGapless=function(){return!!this.g&&this.g.isView()};
        g.k.playVideo=function(){var a=this,b,c,d;return Da(function(e){if(1==e.g){if(g.R(a.i,128))return e["return"]();if(a.zd)return a.zd=!1,aP(a),e["return"]();var f=a.A;f.l&&mN(f.l);f.g&&wN(f.g);xO(a);g.R(a.i,64)&&nO(a,Ey(a.i,8));a.V.isFinished()&&a.g?a.F||!a.ua?(e.g=2,e=void 0):e=va(e,a.ua,2):e=e["return"]();return e}if(!a.K.la)return b=a.K.oa&&!g.CD(a.o.l)?"html5.unsupportedlive":UH(a.K)?"fmt.unplayable":"fmt.noneavailable",g.Bs(Error("selectableFormats")),g.dO(a,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
        "selectableFormats.1"),e["return"]();if(a.I.i&&a.K.la.g)return uO(a),e["return"]();if(a.K.oa){c=a.getCurrentTime()<a.ob()-15;d=g.iI(a.K)&&g.R(a.i,4);if(c||d)d?(a.seekTo(Infinity,!0),zO(a,"unpauseLiveOnly")):(a.seekTo(a.ob(),!0),zO(a,"outOfWindow"));!a.isAtLiveHead(void 0,!0)&&QN(a.u)&&(a.seekTo(Infinity,!0),zO(a,"peggedToLive"));if(f=g.R(a.i,256)&&a.K.Hd)f=a.u,f=f.I&&!isFinite(f.i);if(f)return nO(a,Gy(a.i,8,4)),e["return"]()}if(vO(a))return!a.na("html5_ignore_airplay_events_on_new_video_killswitch")&&
        a.g&&a.g.sl()&&(a.Wa=(0,g.Bv)()),a.o.Lj?g.Gs((0,g.A)(a.Zo,a),0):a.Zo(),e["return"]();a.Zo();e.g=0})};
        g.k.NF=function(){KO(this);var a=this.K.fa&&HC(this.K.fa),b=this.g&&this.g.isView();a||b?(this.l&&(a=this.l,a.g.tb=!1,a.l&&nM(a)),dP(this)):(nO(this,Ey(this.i,16)),vO(this),Jy(this.i)&&this.playVideo())};
        g.k.getUserPlaybackQualityPreference=function(){return this.K.la&&!this.K.la.g?Yy(this.K.rm):XD()};
        g.k.getAvailableAudioTracks=function(){return this.K.getAvailableAudioTracks()};
        g.k.getAudioTrack=function(){return this.K.getAudioTrack()};
        g.k.nA=function(){var a=this.A;a.o.Ra.ca||3==a.o.getVisibilityState()||(a.o.Ra.ca=!0);g.zN(a);if(a.l){var b=a.l;b.I&&0>b.l&&3!=b.i.getVisibilityState()&&mN(b)}a.g&&(a=a.g,SI(a.g,"html5_qoe_user_intent_match_health")&&a.ca&&0>a.u&&a.g.Ra.ca&&wN(a));g.Q(this.o.experiments,"html5_background_quality_cap")&&this.l&&PO(this);this.o.Hj&&!this.K.backgroundable&&this.g&&!this.I.i&&(this.I.isBackground()&&this.g.pl()?(this.Na("bgmobile","suspend"),g.EO(this,!0)):this.I.isBackground()||vO(this)&&this.Na("bgmobile",
        "resume"))};
        g.k.RD=function(a,b){this.B?YM(this.B,a,b):this.Fb.push({type:a,info:b})};
        g.k.Eu=function(){mF&&this.ca&&this.ca.g&&this.B&&(qda(this.B,this.ca.g),this.ca=null)};
        g.k.dF=function(a){this.K.yw=KD("auto",a,!1,"u");PO(this)};
        g.k.lA=function(a){BO(this,a.reason,a.video.info,a.audio.info)};
        g.k.wD=function(a){AO(this,a.reason,a.audio.info)};
        g.k.gh=function(a){var b=this;Rda(this,a);if("fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!YO(this,a.errorCode,a.details)){var c=/^pp/.test(this.K.clientPlaybackNonce);if(Qda(a)){a.details.sts="18155";if($O(this)){g.R(this.i,4)||g.R(this.i,512)?(this.zd=!0,hO(this)):(a.g&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.g=!1),this.A.onError(a.errorCode,cx(a.details)),aP(this));return}a:if(!(6048E5>(0,g.Bv)()-this.o.N)){try{window.location.reload(!0);break a}catch(f){}this.na("tvhtml5_retire_old_players")&&
        g.VE(this.o)&&cP(this)}}if(bP(a)&&this.K.la&&this.K.la.i)this.A.onError(a.errorCode,cx(a.details)),this.Na("highrepfallback","1",!0),!this.na("html5_hr_logging_killswitch")&&/^hr/.test(this.K.clientPlaybackNonce)&&btoa&&this.Na("afmts",btoa(this.K.adaptiveFormats),!0),uba(this.K),fO(this),hO(this),XO(this),this.playVideo();else if(a.g){c=this.l?this.l.B.o:null;if(bP(a)&&c&&c.isLocked())var d="FORMAT_UNAVAILABLE";else if(!this.o.Nb&&"auth"==a.errorCode&&429==a.details.rc){d="TOO_MANY_REQUESTS";var e=
        "6"}g.dO(this,a.errorCode,d,cx(a.details),e)}else this.A.onError(a.errorCode,cx(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.K.clientPlaybackNonce+"&t="+(0,g.Bv)(),(new BL(a,"manifest",function(f){b.Qf=!0;b.Na("pathprobe",f)},function(f){return b.A.onError(f.errorCode,cx(f.details))})).send())}};
        g.k.pauseVideo=function(a){a=void 0===a?!1:a;if((g.R(this.i,64)||g.R(this.i,2))&&!a)if(g.R(this.i,8))nO(this,Gy(this.i,4,8));else return;if(this.g||g.P(this.o.experiments,"html5_pause_video_fix"))g.R(this.i,128)||(a?nO(this,Ey(this.i,256)):nO(this,Gy(this.i,4,8))),this.g&&this.g.pause(),g.iI(this.K)&&this.l&&LO(this,!1)};
        g.k.stopVideo=function(){this.pauseVideo();this.l&&(LO(this,!1),YL(this.l))};
        g.k.seekTo=function(a,b,c,d,e,f){a=void 0===a?0:a;b=void 0===b?!1:b;d=void 0===d?!1:d;e=void 0===e?!1:e;f=void 0===f?0:f;g.R(this.i,2)&&vO(this);this.u.seekTo(a,b,d,c,e,f)};
        g.k.getCurrentTime=function(){return this.u.getCurrentTime()};
        g.k.getPlaylistSequenceForTime=function(a){return this.K.getPlaylistSequenceForTime(a-this.qb())};
        g.k.getDuration=function(){return this.K.lengthSeconds?this.K.lengthSeconds+this.qb():UO(this)?UO(this):0};
        g.k.Ky=function(){var a=new cE;if(this.l){var b=this.o.schedule;a.l=b.H;a.u=b.I;a.bandwidthEstimate=oE(b);a.g="d."+lE(b).toFixed(2)+";st."+(1E9*(b.u.g()||0)).toFixed(2)+";bw."+b.g.g().toFixed(0)+";abw."+b.B.g().toFixed(0)+";v50."+hE(b.i,.5).toFixed(2)+";v92."+hE(b.i,.92).toFixed(2)+";v96."+hE(b.i,.96).toFixed(2)+";v98."+hE(b.i,.98).toFixed(2);b=this.l;if(b.l&&!ey(b.l)&&(a.i=cL(b.i,b.A),a.o=cL(b.o,b.A),b.g.ka)){var c=bL(b.i),d=bL(b.o),e=Sx(b.l.i.Wb(),"_"),f=Sx(b.l.g.Wb(),"_");a.g=(a.g||"")+(";lvq."+
        c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=oL(b.F)}else this.g&&(a.i=my(this.g));a.A=this.Bs();return a};
        g.k.Pa=function(a){var b={};if(void 0===a?0:a){g.Ya(b,this.A.Pa());this.g&&(g.Ya(b,this.g.Pa()),g.Ya(b,this.An()));this.l&&g.Ya(b,this.l.Pa());this.B&&(b.drm=this.B.Pa());b.state=this.i.g.toString(16);g.R(this.i,128)&&(b.debug_error=this.i.i);yO(this)&&(b.prerolls=this.N.join(","));this.K.Te&&(b.ismb=this.K.Te);"UNKNOWN"!=this.K.latencyClass&&(b.latency_class=this.K.latencyClass);this.K.isLowLatencyLiveStream&&(b.lowlatency="1");this.K.oa&&(this.K.fa&&fD(this.K.fa)&&(b.segduration=fD(this.K.fa)),
        a=this.u,b.lat=a.F?Oy(a.F.o):0,b.liveutcstart=this.K.liveUtcStartSeconds);b.relative_loudness=this.K.dj.toFixed(3);if(a=cz(this))b.optimal_format=a.ra().qualityLabel;b.user_qual=XD()}b.debug_videoId=this.K.videoId;return b};
        g.k.addCueRange=function(a){var b=this.H;a=[a];b.i();LL(b.g,a);b.o=NaN;b.i()};
        g.k.removeCueRange=function(a){this.H.removeCueRange(a)};
        g.k.eF=function(){mO(this)};
        g.k.togglePictureInPicture=function(){this.g&&this.g.togglePictureInPicture()};
        g.k.mA=function(a){this.be.stop();var b=a.target.gd();if(this.g&&this.g.gd()&&this.g.gd()==b){qP(this,a.type);switch(a.type){case "error":var c=qy(this.g)||"";if("capability.changed"==c){uO(this);return}if(0<this.g.oe()&&YO(this,c,{msg:this.g.Ki()}))return;if(this.I.isBackground()&&4==this.g.oe()){g.EO(this);lP(this,"unplayable");return}break;case "durationchange":c=this.g.getDuration();(!this.D||isFinite(c)&&0<c)&&1!=c&&this.K.lengthSeconds!=c&&(this.K.lengthSeconds=c,mO(this));break;case "ratechange":this.l&&
        this.l.setPlaybackRate(this.g.getPlaybackRate());c=this.H;c.started=!0;c.i();var d=this.A;c=this.getPlaybackRate();if(d.g){d=d.g;var e=PI(d.g);c&&c!=d.sa&&(pN(d,e,"rate",[c]),d.sa=c);d.B(e)}break;case "loadedmetadata":rP(this),this.L("onLoadedMetadata");case "loadstart":window.clearInterval(this.Gb);this.cn()||(this.Gb=Hs((0,g.A)(this.cn,this),100));break;case "progress":case "suspend":eP(this);this.L("onLoadProgress",this,this.g?g.iI(this.K)?1:jI(this.K)?this.isAtLiveHead()||QN(this.u)?1:Fda(this.u):
        py(this.g):0);break;case "playing":this.J.tick("plev");hP(this);sH("plev");this.yd&&(this.yd=!1,this.isAtLiveHead()||(this.seekTo(Infinity,!0),zO(this,"onPlaying")));break;case "timeupdate":hP(this);c=this.g&&!this.g.getCurrentTime();d=this.g&&0==this.g.Ld();if(c&&(!this.Ba||d))return;this.Ba=this.Ba||!!this.g.getCurrentTime();this.cn();eP(this);if(!this.g||this.g.gd()!=b)return;this.L("onVideoProgress",this,this.getCurrentTime());break;case "waiting":if(0<this.g.Qg().length&&0==this.g.bd().length&&
        0<this.g.getCurrentTime()&&5>this.g.getCurrentTime()&&this.l)return;break;case "resize":rP(this);this.K.Fa&&"auto"==this.K.Fa.ra().quality&&this.L("internalvideoformatchange",this.K,!1);break;case "pause":if(this.Ae&&g.R(this.i,8)&&!g.R(this.i,1024)&&0==this.getCurrentTime()&&g.eF){lP(this,"safari_autoplay_disabled");return}}if(this.g&&this.g.gd()==b){this.L("videoelementevent",a);b=this.i;if(!g.R(b,128)){c=this.Aa;e=this.g;var f=this.o.experiments;d=b.g;e=e?e:a.target;var h=e.getCurrentTime();if(!g.R(b,
        64)||"ended"!=a.type&&"pause"!=a.type){var l=e.ke()||1<h&&1.1>Math.abs(h-e.getDuration());h="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.R(b,4)&&!zy(c,h);if("pause"==a.type&&e.ke()||l&&h)0<e.Ck()&&e.gd()&&(d=14);else switch(a.type){case "error":qy(e)&&(d|=128);break;case "pause":g.R(b,256)?(d^=256)||(d=64):g.R(b,32)||g.R(b,2)||g.R(b,4)||(d=4,g.R(b,1)&&g.R(b,8)&&(d|=1));break;case "playing":d=(d|8)&-3077;f&&g.P(f,"html5_playing_clears_unstarted_killswitch")||(d&=-65);zy(c,e.getCurrentTime())&&
        (d&=-2);g.R(b,1)&&Cy(c,e)&&(d|=1);break;case "seeking":d|=16;g.R(b,8)&&(d|=1);d&=-3;break;case "seeked":d&=-17;break;case "waiting":g.R(b,2)||(d|=1);Cy(c,e);break;case "timeupdate":f=g.R(b,16),l=g.R(b,4),(g.R(b,8)||f)&&!l&&zy(c,e.getCurrentTime())&&(d=8),Cy(c,e)&&(d|=1)}}c=d;d=null;if(c&128)if(l=a.target,d=qy(l)){e="GENERIC_WITHOUT_LINK";f="mediaElem.1";if(l=l.Ki())f+=";msg."+l,/AUDIO_RENDERER/.test(l)&&(e="HTML5_AUDIO_RENDERER_ERROR");.001>Math.random()&&(f+=";gpu."+sO());d={errorCode:d,errorMessage:g.DO[e]||
        "",sn:e,Ev:f}}else d=null;b=Dy(b,c,d)}!g.R(this.i,1)&&g.R(b,1)&&pP(this,"evt_"+a.type);nO(this,b)}}};
        g.k.TE=function(){this.Na("misstimeupdate","");gP(this)&&!g.R(this.i,2)&&bO(this,!0,!1)};
        g.k.nC=function(a){a="available"==a.i.availability;a!=this.Fe&&(this.Fe=a,this.L("airplayavailabilitychange"))};
        g.k.oC=function(){var a=this,b=(0,g.Bv)();if(isNaN(this.Wa)||!(2E3>b-this.Wa)){var c=this.g.sl();this.Wa=b;c!=this.I.i&&(Gda(this.I,c),uO(this).then(function(){return vO(a)}));
        this.L("airplayactivechange")}};
        g.k.cn=function(){var a=this.g;a&&this.Ba&&!this.K.Hd&&!nH("vfp","")&&2<=a.Ld()&&!a.ke()&&0<Vx(a.bd())&&this.J.tick("vfp");return(a=this.g)&&!this.K.Hd&&0<a.getDuration()&&(!nH("pbp","")&&a.Hf()&&2<=a.Ld()&&0<Vx(a.bd())&&this.J.tick("pbp"),a=a.getCurrentTime(),zy(this.Aa,a))?(jP(this),!0):!1};
        g.k.fz=function(){if(this.g&&!g.R(this.i,128)){this.K.Ue&&g.Q(this.o.experiments,"html5_log_rebuffer_events")&&qP(this,"pfx");var a=this.getCurrentTime(),b=my(this.g),c=g.R(this.i,8),d=zy(this.Aa,a),e=!1;if(this.na("html5_progress_fix_fix")||c&&!d)e=Ay(this.Aa,a,(0,g.Bv)(),b);c&&d?nO(this,Fy(this.i,1)):c&&e?(c=this.getDuration(),!this.K.oa&&c&&1.1>Math.abs(c-a)?this.g.nl()?this.seekTo(0,!0):bO(this):this.na("html5_reseek_in_pfx")&&1.1<b&&8==this.i.g?(c=Sx(this.g.bd(),"_",3),this.Na("reseek","pfx;ct."+
        a+";bh."+b+";ranges."+c),this.seekTo(a+.1,!0)):(this.na("html5_reseek_in_pfx_cfl")&&1.1<b&&8==this.i.g&&this.Na("pfx","cfl.1"),g.Ly(this.i)||pP(this,"progress_fix"),nO(this,Ey(this.i,1)))):g.R(this.i,4)&&g.Ly(this.i)&&5<my(this.g)&&nO(this,Fy(this.i,1));eP(this)}};
        g.k.Ey=function(){return this.l?oL(this.l.F):oE(this.o.schedule)};
        g.k.Hy=function(){return this.o.schedule.H};
        g.k.Bs=function(){return this.isAtLiveHead()&&g.Iy(this.i)?this.Es():NaN};
        g.k.Es=function(){if(!this.K.oa||!this.K.fa||!this.l)return NaN;var a=ez(this.K)?this.l.za.g()||0:this.K.fa.H;return(0,g.H)()/1E3-fP(this)-a};
        g.k.Wy=function(){this.K.oa||this.L("connectionissue")};
        g.k.Zo=function(){var a=this;if(this.Ja=this.g.playVideo()){var b=this.Ja;b.then(void 0,function(c){if(!(g.R(a.i,4)||g.R(a.i,256)||a.Ja!=b||c&&"AbortError"==c.name&&c.message&&c.message.includes("load"))){var d="promise";c&&c.name&&(d+=";m."+c.name);nO(a,Ey(a.i,2048));lP(a,d);a.Ae=!0}})}};
        g.k.nD=function(a,b,c,d){var e=this;d=void 0===d?"LICENSE":d;c=c.substr(0,256);if("drm.keyerror"==a&&this.B&&1<this.B.i.keys.length&&96>this.Be)a="drm.sessionlimitexhausted",b=!1;else if(this.na("html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.Ce&&(this.Ce++,fO(this),1<this.K.nh.length&&(this.K.Xb=this.K.nh[1]),YO(this,a,{detail:c})))return;if(b)g.P(this.o.experiments,"html5_protected_sdr_fallback")&&this.K.Fa&&vx(this.K.Fa)?(this.o.l.u=!1,this.A.onError("qoe.restart",cx({e:a,
        detail:c,r:"hdr"})),uO(this).then(function(){return vO(e)})):g.dO(this,a,d,c);
        else this.A.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Na("retrydrm","s"),this.Be++,oP(this))};
        g.k.pD=function(){var a=this,b=g.Q(this.o.experiments,"html5_license_constraint_delay"),c=pu();b&&c?(b=new g.L(function(){OO(a);mO(a)},b),g.K(this,b),b.start()):(OO(this),mO(this))};
        g.k.oD=function(){var a=this;mF&&(this.ca=lD(this.K.fa))&&(this.ca.g?g.Pm(function(){a.Eu()}):ada(this.l,this.ca))};
        g.k.jA=function(a){this.L("heartbeatparams",a)};
        g.k.kA=function(a){this.Na("keystatuses",mda(a));var b="auto";this.K.Fa&&(b=this.K.Fa.ra().quality);a:{b=oda(void 0===b?"auto":b);for(d in a.g)if("output-restricted"==a.g[d].status){var c=a.g[d].type;if(""==b||"AUDIO"==c||b==c){var d=!0;break a}}d=!1}!d||PM(a,"AUDIO")&&PM(a,"SD")||(this.xd?this.L("drmoutputrestricted"):(this.xd=!0,this.Na("retrydrm","o"),NO(this),oP(this)))};
        g.k.uD=function(){if(!this.K.Hd&&this.g&&!this.I.isBackground()){var a="0";0<this.g.Ld()&&5<=my(this.g)&&this.K.la&&this.K.la.g&&(nO(this,Ey(this.i,1)),pP(this,"load_soft_timeout"),this.L("playbackstalledatstart"),a="1");kP(this);if(this.na("html5_new_video_qoe_restart_info_killswitch"))a={restartmsg:a},yO(this)&&(a.prerolls=this.N.join(",")),this.l&&g.Ya(a,this.l.Pa()),this.g&&g.Ya(a,this.g.Pa());else{var b=this.K.la;a={restartmsg:a,mfmt:this.K.Mk()?"0":"1",mdrm:b&&b.videoInfos&&b.videoInfos.length&&
        b.videoInfos[0].l&&!this.B?"1":"0",mfmtinfo:this.K.Fa?"0":"1",prerolls:yO(this)?this.N.join(","):"0"};b=[this.l,this.g].filter(function(d){return!!d});
        b=g.r(b);for(var c=b.next();!c.done;c=b.next())g.Ya(a,c.value.Pa())}this.A.onError("qoe.start15s",cx(a));this.L("loadsofttimeout")}};
        g.k.tp=function(){if(!this.Oa){var a=new wJ(this.K,this.na("web_player_inline_botguard"));if("c1a"in a.g&&!xJ(a)&&(!this.na("web_player_botguard_warning_killswitch")&&2==this.za&&.01>Math.random()&&g.Bs(Error("Botguard not available after 2 attempts")),this.na("web_player_abandon_botguard_killswitch")||5>this.za)){g.Qq(this.Ac);this.za++;return}if(a.K&&a.K.Gg){var b=[a.K.Gg];for(d in a.i)if(a.g[d]&&a.i[d]){var c=a.i[d](a.g);c&&b.push(c)}a=b.join("&")}else a=null;if(a){b=this.A;if(b.i&&(b=b.i,!b.I)){var d=
        YI(b,"atr");d.F=a;d.send();b.I=!0}this.Oa=!0}}};
        g.k.ob=function(){return this.u.ob()};
        g.k.qb=function(){return this.u?this.u.qb():0};
        g.k.setPlaybackRate=function(a){var b=this.K.la&&this.K.la.videoInfos&&32<this.K.la.videoInfos[0].ra().fps&&g.VE(this.o);this.gb!=a&&b&&(this.R.setPlaybackRate(a),NO(this));this.gb=a;this.g&&this.g.setPlaybackRate(a)};
        g.k.getPlaybackRate=function(){return this.gb};
        g.k.getPlaybackQuality=function(){var a="unknown";if(this.K.Fa&&(a=this.K.Fa.ra().quality,"auto"==a&&this.g)){var b=pO(this);b&&0<b.videoHeight&&(a=kx(b.videoWidth,b.videoHeight))}return a};
        g.k.sendVideoStatsEngageEvent=function(a,b){var c=this.A;c.i?(c=YI(c.i,"engage"),c.u=a,c.send(b)):b&&b()};
        g.k.isAtLiveHead=function(a,b){return this.K.oa&&(this.Uc||(void 0===b?0:b))?this.u.isAtLiveHead(a):!1};
        g.k.An=function(){return this.g?this.g.rl():{}};
        g.k.setLoop=function(a){this.ud=a;this.g&&this.g.setLoop(a)};
        g.k.Yz=function(a){this.na("html5_unrewrite_timestamps")&&this.Na("timestamp",a.toString())};
        g.k.Na=function(a,b,c){var d=this.A;d.g&&rN(d.g,a,b,void 0===c?!1:c)};
        g.k.na=function(a){return g.P(this.o.experiments,a)};g.t(sP,eJ);g.k=sP.prototype;g.k.getRootNode=function(){return g.yP(this).element};
        g.k.O=function(){return this.app.O()};
        g.k.getPlaylist=function(){return this.app.getPlaylist()};
        g.k.getVideoData=function(a){return(a=g.S(this.app,a))&&a.getVideoData()};
        g.k.yf=function(a){return this.app.yf(a)};
        g.k.isWidescreen=function(){return this.app.isWidescreen()};
        g.k.playVideo=function(a){3==this.getPresentingPlayerType()?null.Ni("control_play"):this.app.playVideo(a)};
        g.k.stopVideo=function(a){g.S(this.app,a).stopVideo()};
        g.k.addEventListener=function(a,b){this.app.Z.subscribe(a,b)};
        g.k.removeEventListener=function(a,b){this.app.Z.unsubscribe(a,b)};
        g.k.setPlaybackQuality=function(a){this.setPlaybackQualityRange(a,a)};
        g.k.getDebugText=function(a){return this.app.getDebugText(a)};
        g.k.getVideoUrl=function(a,b,c,d){var e=this.getPresentingPlayerType(),f=2==e;if(d&&f||3==e)f=!1,e=1;d=this.getVideoData(e);if(!d)return"";var h;a||d.oa||(h=Math.floor(this.getCurrentTime(e)));return this.app.O().getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,h,b,c)};
        g.k.setCardsVisible=function(a,b,c){var d=g.nR(this.app.o);d&&d.setCardsVisible(a,b,c)};
        g.k.jg=function(){if(this.O().Ya)return!1;var a=g.S(this.app,1);if(!a)return!1;var b=a.getVideoData();return!b.isValid()||g.iI(b)||2==this.getPresentingPlayerType()&&!JS(this.app)||yO(a)&&3!=this.getPresentingPlayerType()?!1:!0};
        g.k.sendVideoStatsEngageEvent=function(a,b,c){this.app.sendVideoStatsEngageEvent(a,c,b)};
        g.k.setPlaybackRate=function(a,b){this.app.setPlaybackRate(a,b)};
        g.k.setVolume=function(a){a=g.Yd(a,0,100);uI(this.app,{volume:a,muted:this.isMuted()},!0)};
        g.k.mute=function(){uI(this.app,{muted:!0,volume:this.getVolume()},!0)};
        g.k.unMute=function(){uI(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};
        g.k.getBandwidthEstimate=function(){return oE(this.O().schedule)};
        g.k.sb=function(){return g.S(this.app)};
        g.k.getPresentingPlayerType=function(){return this.app.getPresentingPlayerType()};
        g.k.clearQueue=function(){this.app.clearQueue()};RP.prototype.xi=function(){return!1};
        RP.prototype.I=function(){return function(){return null}};g.t(TP,RP);g.k=TP.prototype;g.k.jc=function(){return!0};
        g.k.Qb=function(){return!1};
        g.k.isSkippable=function(){return null!=this.N};
        g.k.getVideoUrl=function(){return this.F};
        g.k.xi=function(){return!0};g.t(WP,Rw);XP.prototype.clone=function(){var a=new XP,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==Na(c)?a[b]=g.qc(c):a[b]=c}return a};ms.prototype.flush=function(a){a=void 0===a?[]:a;if(g.Gt("enable_client_streamz_web")){a=g.r(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=new Vr;c=If(c,1,b.o);for(var d=b,e=[],f=0;f<d.g.length;f++)e.push(d.g[f].Ur);c=If(c,3,e||[]);d=[];e=[];f=g.r(b.Ig.keys());for(var h=f.next();!h.done;h=f.next())e.push(h.value.split(","));for(f=0;f<e.length;f++){h=e[f];var l=b.i;for(var m=b.ts(h)||[],n=[],p=0;p<m.length;p++){var q=m[p];q=q&&q.vr;var v=new es;switch(l){case 3:Kf(v,1,ds[0],Number(q));
        break;case 2:Kf(v,2,ds[0],Number(q))}n.push(v)}l=n;for(m=0;m<l.length;m++){p=l[m];n=new as;n.g||(n.g={});q=p?Of(p):p;n.g[2]=p;n=If(n,2,q);p=h;q=[];v=b;for(var x=[],B=0;B<v.g.length;B++)x.push(v.g[B].Vr);v=x;for(x=0;x<v.length;x++){B=v[x];var C=p[x],E=new cs;switch(B){case 3:Kf(E,1,bs[0],String(C));break;case 2:Kf(E,2,bs[0],Number(C));break;case 1:Kf(E,3,bs[0],"true"==C)}q.push(E)}Pf(n,1,q);d.push(n)}}Pf(c,4,d);d=b=new nf;f=Ff(c,1);null!=f&&wf(d,1,f);f=Ff(c,5);null!=f&&(e=d,null!=f&&(lf(e.g,41),e=
        e.g,Ye(f),mf(e,We),mf(e,Xe)));f=Lf(c,Xr,2);null!=f&&xf(d,2,f,hs);f=Ff(c,3);if(0<f.length&&(e=f,null!=e))for(f=0;f<e.length;f++)wf(d,3,e[f]);f=Ff(c,6);if(0<f.length&&(e=f,null!=e))for(f=0;f<e.length;f++)l=d,h=e[f],null!=h&&(lf(l.g,49),l=l.g,Ye(h),mf(l,We),mf(l,Xe));f=Nf(c,as,4);0<f.length&&yf(d,4,f,ks);b=qf(b);b={serializedIncrementBatch:Pe(b)};zw("streamzIncremented",b)}}};var OY;var Zda=new Set("BASE_URL BASE_YT_URL abd adformat allow_embed authuser autoplay captions_load_policy cc_load_policy cc3_module dash dashmpd disable_native_context_menu docid el enable_cardio enablecastapi enablepostapi end errorcode fmt_list fmt_stream_map forcenewui hl hlsdvr hlsrange hlsvp html5 invite iurl iurlhq iurlmq length_seconds live_playback nohtml5 origin override_hl partnerid pipable playsinline plid postid ps public reason rel reload_count reload_reason reportabuseurl resume start status streaminglib_load_policy streaminglib_preroll t timestamp title token ttsurl use_native_controls url_encoded_fmt_stream_map video_id videoid videoId wmode".split(" "));g.t(bQ,g.O);g.k=bQ.prototype;g.k.tB=function(a){a=g.$v(a);if(!g.ae(a,this.o)){var b=2;this.A&&(b|=8);this.o=a;this.Ub(b,!0)}};
        g.k.VB=function(){this.A&&this.Ub(8,!0);this.Ub(2,!1)};
        g.k.Jo=function(a){var b=g.$v(a);g.ae(b,this.o)||(this.o=b,(a=g.Xv(a))&&this.J(a)&&(this.Ub(4,!0),this.aa.bb(this.l),this.l=this.aa.P(this.i,"mouseover",this.du),this.H=this.aa.P(this.i,"mouseout",this.du)))};
        g.k.du=function(a){a=g.Zv(a);a&&this.J(a)||(this.o=new g.$d(NaN,NaN),cQ(this))};
        g.k.Nz=function(){this.Ub(1,!0)};
        g.k.zy=function(a){a=g.Xv(a);a instanceof Element&&!(0<a.tabIndex)||this.Ub(1,!0)};
        g.k.cu=function(){this.A=!0;this.aa.bb(this.u);this.u=this.aa.P(document,"mouseup",this.uB)};
        g.k.uB=function(){this.A=!1;this.Ub(8,!1);this.aa.bb(this.u);this.u=this.aa.P(this.i,"mousedown",this.cu)};
        g.k.eu=function(a){if(a=(a=a.changedTouches)&&a[0])this.R=a.identifier,this.aa.bb(this.B),this.B=this.aa.P(this.i,"touchend",this.vB,void 0,!0),this.Ub(1024,!0)};
        g.k.vB=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.R){var d=c;break}}d&&(this.aa.bb(this.B),this.B=this.aa.P(this.i,"touchstart",this.eu,void 0,!0),this.Ub(1024,!1))};
        g.k.Ub=function(a,b){var c=!this.g;b?(this.g|=a,a&1&&this.D.start(),a&2&&this.F.start()):(this.g&=~a,a&1&&this.D.stop(),a&2&&this.F.stop(),a&512&&this.I.stop());this.g&512&&!(this.g&128)&&g.Qq(this.I,this.N);var d=!this.g;c!=d&&this.L("autohideupdate",d)};
        g.k.toString=function(){return g.O.prototype.toString.call(this)};g.t(g.dQ,g.J);g.k=g.dQ.prototype;g.k.show=function(a){1!=this.g&&2!=this.g&&(4==this.g&&this.nm(),5==this.g?(this.l.show(),this.g=null,this.i.stop(),this.o&&this.o()):this.l.ib()||(eQ(this,!0),this.g=1,a?this.i.start(a):this.nm()))};
        g.k.hide=function(){4!=this.g&&(1==this.g||2==this.g?(this.l.hide(),this.g=null,this.i.stop()):this.l.ib()&&(eQ(this,!0),this.g=4,this.i.start(this.B)))};
        g.k.nm=function(){switch(this.g){case 1:this.l.show();this.g=2;this.i.start(10);break;case 2:eQ(this,!1);this.g=3;this.i.start(this.A);break;case 3:this.g=null;this.o&&this.o();break;case 4:this.l.hide();eQ(this,!1);this.g=5;this.i.start(0);break;case 5:this.g=null,this.u&&this.u()}};
        g.k.stop=function(){for(;null!=this.g&&5!=this.g;)this.i.stop(),this.nm()};
        g.k.S=function(){this.l.da()||this.l.element.removeAttribute("aria-hidden");g.J.prototype.S.call(this)};g.t(jQ,g.T);g.k=jQ.prototype;g.k.show=function(){var a=this;this.ib()||(this.A.P(this.l,"videodatachange",function(){return g.Qq(a.o)}),this.A.P(this.l,"videoplayerreset",function(){return g.Qq(a.o)}));
        g.T.prototype.show.call(this)};
        g.k.hide=function(){this.A&&g.Ox(this.A);g.T.prototype.hide.call(this)};
        g.k.Nd=function(){g.Qq(this.o)};
        g.k.zB=function(a){var b=this.l.O();g.P(b.experiments,"disable_new_pause_state3")&&bF(b)&&(a=a.state.isCued()&&!a.g.isCued()||g.zP(this.l)&&g.R(a.state,2),g.Sg(this.element,"transition-delay",a?"2s":""));g.Qq(this.o)};
        g.k.rF=function(){g.Qq(this.o)};
        g.k.uE=function(){this.u.stop();this.hide();g.Qq(this.o)};
        g.k.gu=function(){var a=g.xP(this.l);if(3==this.l.getPresentingPlayerType()&&(g.Iy(a)||g.R(a,4)))var b=!0;else(b=this.l.app.o.i.get("ypc"))&&b.o?b=!0:(b=this.l.O(),b=g.R(a,2)&&uP(this.l)&&(b.Ae||b.R)?!0:!1);b?(b=!0,this.B.style.display="none"):(this.B.style.display="",a.isCued()&&2!=this.l.getPresentingPlayerType()?b=!0:(b=!g.P(this.l.O().experiments,"disable_new_pause_state3"),b=!(!g.R(a,2)||uP(this.l)||b&&g.GS(this.l.app))||g.R(a,1024)?!0:!1));b?(this.u.show(),a=this.l.getVideoData(),this.oG(this.l.getPlaylist(),
        a)):(this.u.hide(),g.R(a,1)||this.u.stop())};
        g.k.oG=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];if(!this.l.getVideoData().Sz){b=g.r(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,!(!c||c instanceof g.AH&&!c.videoId)){var d=g.yP(this.l).getPlayerSize();var e=$y(),f=d.width*e;e*=d.height;if(1280<f||720<e)if(d=c.hd("maxresdefault.jpg"))break;if(640<f||480<e)if(d=c.hd("maxresdefault.jpg"))break;if(320<f||180<e)if(d=c.hd("sddefault.jpg")||c.hd("hqdefault.jpg")||c.hd("mqdefault.jpg"))break;if(d=c.hd("default.jpg"))break}this.D.style.backgroundImage=
        d?"url("+d+")":""}};g.t(mQ,g.J);mQ.prototype.start=function(a,b,c){this.g=a;this.D=b;this.A=c;this.B=(0,g.Bv)();this.l()};
        mQ.prototype.l=function(){var a=(0,g.Bv)()-this.B;var b=this.o;a=kr(b,a/this.A);if(0==a)b=b.B;else if(1==a)b=b.D;else{var c=Zd(b.B,b.u,a),d=Zd(b.u,b.A,a);b=Zd(b.A,b.D,a);c=Zd(c,d,a);d=Zd(d,b,a);b=Zd(c,d,a)}b=g.Yd(b,0,1);this.u((this.D-this.g)*b+this.g);1>b&&this.i.start()};g.t(sQ,g.T);g.k=sQ.prototype;g.k.hide=function(){this.Y=!0;g.T.prototype.hide.call(this)};
        g.k.show=function(){this.Y=!1;g.T.prototype.show.call(this)};
        g.k.isHidden=function(){return this.Y};
        g.k.BB=function(){uQ(this,this.A-this.D)};
        g.k.CB=function(){uQ(this,this.A+this.D)};
        g.k.QC=function(a,b){var c=this.l[a],d=c.Bb;if(g.qQ(b,this.o,this.ca,d||void 0)){var e=c.ra().videoId;c=c.getPlaylistId();g.iT(this.o.app,e,d,c,void 0,void 0)}};
        g.k.hu=function(){var a=this,b=this.o.getVideoData(),c=this.o.O();this.ca=b.jd?!1:c.g;if(b.suggestions){var d=(0,g.ol)(b.suggestions,function(e){return e&&!e.list});
        this.l=(0,g.Le)(d,function(e){e=g.lQ(c,e);g.K(a,e);return e})}else this.l.length=0;
        $da(this);b.jd?this.J.update({title:g.kQ("More videos from $DNI_RELATED_CHANNEL",{DNI_RELATED_CHANNEL:b.author})}):this.J.update({title:"More videos on YouTube"})};
        g.k.uw=function(a){this.F.element.scrollLeft=-a};g.t(yQ,g.T);yQ.prototype.show=function(){g.T.prototype.show.call(this);this.F()};
        yQ.prototype.F=function(){var a=1-1/1.5;this.u=(this.u+this.N)%(this.width*a);this.A=(this.A+this.J)%(this.height*a);this.o.drawImage(this.I,-1*this.u,-1*this.A);this.o.fillRect(0,this.B,this.width,75);this.B=(this.B+75+7)%this.height-75;this.l.isActive()||g.Qq(this.D)};
        yQ.prototype.hide=function(){this.l.stop();this.D.stop();g.T.prototype.hide.call(this)};g.t(BQ,g.T);BQ.prototype.show=function(){g.T.prototype.show.call(this);CQ(this,function(a){a.show()});
        this.A&&DQ(this,g.yP(this.l).getPlayerSize())};
        BQ.prototype.hide=function(){g.T.prototype.hide.call(this);CQ(this,function(a){a.hide()})};
        BQ.prototype.F=function(a){if(g.qQ(a,this.l,!bF(this.l.O()))){a={as3:!1,html5:!0,player:!0,cpn:this.l.getVideoData().clientPlaybackNonce};var b=this.l;b.ha("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.toggleFullscreen()}};
        var aea=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.t(HQ,g.Mx);HQ.prototype.A=function(){this.u();var a=this.g.getVideoData();if(a.isValid()){var b=[];this.g.O().I||b.push({src:a.hd("mqdefault.jpg"),sizes:"320x180"});this.i.metadata=new MediaMetadata({title:a.title,artist:a.author,artwork:b});b=a=null;g.zP(this.g)&&(this.l["delete"]("nexttrack"),this.l["delete"]("previoustrack"),a=(0,g.A)(function(){this.g.nextVideo()},this),b=(0,g.A)(function(){this.g.previousVideo()},this));
        GQ(this,"nexttrack",a);GQ(this,"previoustrack",b)}};
        HQ.prototype.u=function(){var a=g.xP(this.g);a=a.isError()?"none":Jy(a)?"playing":"paused";this.i.playbackState=a};
        HQ.prototype.S=function(){this.i.playbackState="none";this.i.metadata=null;for(var a=g.r(this.l),b=a.next();!b.done;b=a.next())GQ(this,b.value,null);g.Mx.prototype.S.call(this)};g.t(IQ,g.T);IQ.prototype.Y=function(a,b){JQ(this,b);this.B&&KQ(this,this.B)};
        IQ.prototype.U=function(a){var b=this.J.getVideoData();this.o!=b.videoId&&JQ(this,b);this.l&&KQ(this,a.state);this.B=a.state};
        IQ.prototype.N=function(){this.A.hide();this.o&&(this.u[this.o]=(this.u[this.o]||0)+((0,g.H)()-this.F));this.F=0};g.t(MQ,g.T);MQ.prototype.hide=function(){this.l.stop();this.o.style.display="none";g.T.prototype.hide.call(this)};
        MQ.prototype.A=function(a){LQ(this,a.state)};
        MQ.prototype.B=function(){LQ(this,g.xP(this.u))};
        MQ.prototype.D=function(){this.o.style.display="block"};g.t(NQ,g.Gz);g.k=NQ.prototype;g.k.show=function(){var a=PQ(this);g.Gz.prototype.show.call(this);this.J&&(this.u.P(window,"blur",this.Al),this.u.P(document,"click",this.AB));a||this.L("show",!0)};
        g.k.hide=function(){var a=PQ(this);g.Gz.prototype.hide.call(this);OQ(this);a&&this.L("show",!1)};
        g.k.Ay=function(){this.l&&(this.l.getAttribute("aria-haspopup"),this.l.setAttribute("aria-expanded",!0),g.P(this.N.O().experiments,"embeds_enable_new_playlist_killswitch")?document.activeElement&&g.Fe(this.l,document.activeElement)&&this.focus():this.focus())};
        g.k.Al=function(){var a=PQ(this);OQ(this);this.A.hide();a&&this.L("show",!1)};
        g.k.AB=function(a){var b=g.Yv(a);b&&(g.Fe(this.element,b)||this.l&&g.Fe(this.l,b)||!g.aQ(a))||this.Al()};QQ.prototype.getLength=function(){return this.i-this.g};g.t(SQ,NQ);SQ.prototype.U=function(a){a?(RQ(this),this.l=void 0,this.A.show(),this.B&&(this.u.bb(this.B),this.B=null)):(this.D&&TQ(this),this.Al())};
        SQ.prototype.Y=function(a){this.o.isMutedByMutedAutoplay()&&g.VI(a,2)&&this.Al()};
        SQ.prototype.onClick=function(){this.o.unMute();TQ(this)};g.t(UQ,g.Mx);g.k=UQ.prototype;g.k.init=function(){var a=g.xP(this.api);bR(this,a);this.tj();this.Qu()};
        g.k.fu=function(a,b){if(this.F!=b.videoId){this.F=b.videoId;var c=this.i;c.N=b&&0<b.Mm.length?5E3:3E3;c.Ub(512,!0);this.tj()}};
        g.k.bE=function(){this.fu("newdata",this.api.getVideoData())};
        g.k.Mp=function(){BP(this.api);var a=!(BP(this.api)||this.J||g.P(this.api.O().experiments,"player_minimized_controls_killswitch")&&this.api.app.F.g);g.dr(this.api.getRootNode(),"ytp-menu-shown",!a)};
        g.k.wB=function(a){if(!g.Fe(this.api.getRootNode(),a))return!1;for(;a&&!g.Je(a);)a=a==this.api.getRootNode()?null:g.Ee(a);return!!a};
        g.k.AC=function(a){var b=this.api.getRootNode();g.dr(b,"ytp-autohide",a);g.dr(b,"ytp-autohide-active",!0);this.I.start(a?250:100);a&&g.br(b,"ytp-touch-mode");b=this.api;a=!a;b.ha("onVideoAreaChange");b.ha(a?"onShowControls":"onHideControls")};
        g.k.BC=function(){var a=this.api.getRootNode();g.dr(a,"ytp-autohide-active",!1)};
        g.k.CE=function(a){XQ(this)&&ZQ(this,a);var b=PQ(this.B);FE&&$Q(this,a)?b&&g.aw(a):(this.i.g||VQ(this,g.Yv(a))||PQ(this.B)||(g.xP(this.api).isCued(),g.aw(a)),g.$q(this.api.getRootNode(),"ytp-touch-mode"),this.i.Ub(2,!0))};
        g.k.yE=function(a){$Q(this,a)||XQ(this)||ZQ(this,a)};
        g.k.hm=function(){var a=g.xP(this.api);g.R(a,2)&&uP(this.api)||(Jy(a)?this.api.pauseVideo():(this.api.app.pd=!0,this.api.playVideo(),this.l&&document.activeElement==this.l.B&&this.api.getRootNode().focus()))};
        g.k.zE=function(a){var b=this.api.getPresentingPlayerType();2==b||VQ(this,g.Yv(a))||(a=this.api.O(),(a.Ba||g.P(a.experiments,"player_fullscreen_disabled_killswitch"))&&3!=b&&this.api.toggleFullscreen())};
        g.k.AE=function(a){aR(this,.3,a.scale);g.aw(a)};
        g.k.BE=function(a){aR(this,.1,a.scale)};
        g.k.Qu=function(){var a=g.yP(this.api).getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;g.Ex&&cQ(this.i);g.dr(b,"ytp-fullscreen",this.api.isFullscreen());g.dr(b,"ytp-large-width-mode",c);g.dr(b,"ytp-small-mode",!this.api.isFullscreen()||480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height);g.dr(b,"ytp-big-mode",!1);this.g&&AQ(this.g,a)};
        g.k.eE=function(a){bR(this,a.state);this.tj()};
        g.k.tj=function(){var a=!!this.F&&!g.tP(this.api);var b=2==this.api.getPresentingPlayerType(),c=this.api.O();b?E_&&g.P(c.experiments,"enable_visit_advertiser_support_on_ipad_mweb")?a=!1:(b=lR(this.api.app.o),a&&(null===b.g?a=!1:(a=b.g,a=(b=a.g.getVideoData(2))?b.isListed&&!a.I:!1))):a=a&&(c.Pj||this.api.isFullscreen()||c.Gj);this.R!=a&&(this.R=a,g.dr(this.api.getRootNode(),"ytp-hide-info-bar",!a))};
        g.k.xB=function(a){this.J=a;this.Mp()};
        g.k.handleGlobalKeyDown=function(){return!1};
        g.k.handleGlobalKeyUp=function(){return!1};
        g.k.showControls=function(a){if(void 0!=a){var b=g.yP(this.api);b.A=!a;nS(b)}};g.t(g.cR,g.O);g.k=g.cR.prototype;g.k.create=function(){};
        g.k.load=function(){this.loaded=!0};
        g.k.unload=function(){this.loaded=!1};
        g.k.Qd=function(){};
        g.k.sh=function(){return!0};
        g.k.S=function(){this.loaded&&this.unload();g.O.prototype.S.call(this)};
        g.k.Pa=function(){return{}};
        g.k.getOptions=function(){return[]};g.pR={};g.t(fR,g.J);g.k=fR.prototype;g.k.nb=function(a,b,c,d){c=void 0===c?!1:c;d=void 0===d?!1:d;var e=this.i.get(a);if(!e||d){b||(b=this.nb.bind(this,a,void 0,c,d));if(!(d=e))a:{e=eea(this,a);try{if(e){var f=g.pR[a];if(f){d=new f(this.g);break a}"creatorendscreen"==a?qR(this,"annotations_module",b):qR(this,a,b)}else g.FP(this.g,a)}catch(h){g.FP(this.g,a),g.M(h)}d=null}if(e=d)this.i.set(a,e),e.create(),c&&this.g.ha("onApiChange")}};
        g.k.hj=function(){return this.g.getVideoData().hj()};
        g.k.Fr=function(){var a=this.i.get("heartbeat");this.nb("heartbeat",this.Fr,!1,!0);!a&&this.i.has("heartbeat")&&this.g.L("offlineslatestatechange")};
        g.k.hn=function(){this.nb("annotations_module",this.hn,!0);var a=this.i.get("annotations_module");if(a)for(var b in this.A){var c=b;a.subscribe(c,this.A[c])}};
        g.k.Er=function(){if(!this.i.get("ad"))try{hR(this)?this.nb("ad",this.Er,!1,!0):g.FP(this.g,"ad")}catch(a){g.FP(this.g,"ad"),g.M(a)}};
        g.k.S=function(){g.J.prototype.S.call(this);kR(this,1,!0)};var gea={seekableStart:0,seekableEnd:1,current:0};g.t(rR,g.Gz);rR.prototype.A=function(){var a=this.o.getProgressState();var b=new QQ(a.seekableStart,a.seekableEnd);a=a.current;b.getLength()?(b=(a-b.g)/b.getLength(),b=g.Yd(b,0,1)):b=0;this.D.style.width=100*b+"%"};
        rR.prototype.B=function(){g.WE(this.u.O())||(2==this.u.getPresentingPlayerType()?-1===this.l&&(this.show(),this.l=this.o.subscribe("s",this.A,this),this.A()):-1!==this.l&&(this.hide(),this.o.We(this.l),this.l=-1))};g.t(sR,g.O);g.k=sR.prototype;g.k.iu=function(){return 1E3*this.g.getDuration(this.o)};
        g.k.stop=function(){this.l&&this.i.bb(this.l)};
        g.k.ju=function(){var a=this.g.getProgressState(this.o);this.u={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:a.current};this.L("s")};
        g.k.getProgressState=function(){return this.u};
        g.k.EB=function(a){g.VI(a,2)&&this.L("r")};g.Ka("yt.pubsub.publish",g.Qs,void 0);g.t(g.tR,g.cR);g.tR.prototype.sh=function(){return!1};
        g.tR.prototype.create=function(){this.g=new UQ(this.player);g.K(this,this.g);this.g.init();g.FP(this.player,"ux")};Ma(uR);var zS=g.z("ytPlayerUtilsVideoTagPoolInstance")||uR.getInstance();g.Ka("ytPlayerUtilsVideoTagPoolInstance",zS,void 0);g.k=uR.prototype;g.k.Wr=function(a){if(!(this.g.length>=a)){a-=this.g.length;for(var b=0;b<a;b++)wR(this)}};
        g.k.Ly=function(a,b){if(this.g.length)return this.g.pop();var c=wR(this,a,b);a||g.pb(this.g,c);return c};
        g.k.HF=function(a){a&&g.kb(this.i,a)&&(a.src&&(lu&&0<a.readyState&&(a.currentTime=Math.max(yha,0)),a.removeAttribute("src"),a.load(),a.g&&a.g.i&&(a.g&&a.g.dispose(),a.g=null)),dw(a),g.pb(this.i,a),g.pb(this.l,a))};
        g.k.vz=function(a){return this.g.length>=(a||1)};
        g.k.Nx=function(){for(var a=this.l.length-1;0<=a;a--)vR(this,this.l[a]);this.g.length==this.i.length&&4<=this.g.length||(4>this.i.length?this.Wr(4):(this.g=[],(0,g.D)(this.i,function(b){vR(this,b)},this)))};
        uR.prototype.fillPool=uR.prototype.Wr;uR.prototype.getTag=uR.prototype.Ly;uR.prototype.releaseTag=uR.prototype.HF;uR.prototype.hasTags=uR.prototype.vz;uR.prototype.activateTags=uR.prototype.Nx;g.t(g.xR,g.jy);g.k=g.xR.prototype;g.k.isView=function(){return!0};
        g.k.Qg=function(){return Xx(this.g.Qg(),this.i,this.A)};
        g.k.bd=function(){return Xx(this.g.bd(),this.i,this.A)};
        g.k.Fk=function(){return Xx(this.g.Fk(),this.i,this.A)};
        g.k.getCurrentTime=function(){return this.g.getCurrentTime()-this.i};
        g.k.Vl=function(a){this.g.Vl(a+this.i)};
        g.k.getDuration=function(){return isFinite(this.A)&&!this.H?this.A-this.i:this.g.getDuration()-this.i};
        g.k.play=function(){this.g.getCurrentTime()<this.i&&this.g.Vl(this.i);return this.g.play()};
        g.k.Pa=function(){var a=g.jy.prototype.Pa.call(this);a.view=this.i+"-"+this.A;return a};
        g.k.addEventListener=function(a,b){this.g.addEventListener(a,b)};
        g.k.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};
        g.k.pl=function(){return this.g.pl()};
        g.k.ih=function(a){this.g.ih(a)};
        g.k.Ml=function(){this.g.Ml()};
        g.k.ol=function(){return this.g.ol()};
        g.k.playVideo=function(){return this.g.playVideo()};
        g.k.pn=function(){this.g.pn()};
        g.k.ln=function(){this.g.ln()};
        g.k.og=function(){return this.g.og()};
        g.k.ga=function(){return this.g.ga()};
        g.k.gd=function(){return this.g.gd()};
        g.k.tl=function(a){this.g.tl(a)};
        g.k.kp=function(){this.g.kp()};
        g.k.getPlaybackRate=function(){return this.g.getPlaybackRate()};
        g.k.setPlaybackRate=function(a){return this.g.setPlaybackRate(a)};
        g.k.nl=function(){return this.g.nl()};
        g.k.setLoop=function(a){this.g.setLoop(a)};
        g.k.canPlayType=function(a,b){return this.g.canPlayType(a,b)};
        g.k.Hf=function(){return this.g.Hf()};
        g.k.Bi=function(){return this.g.Bi()};
        g.k.ke=function(){return this.g.ke()};
        g.k.Bk=function(){return this.g.Bk()};
        g.k.Mf=function(a){this.g.Mf(a)};
        g.k.ql=function(){return this.g.ql()};
        g.k.load=function(){this.g.load()};
        g.k.pause=function(){this.g.pause()};
        g.k.Ld=function(){return this.g.Ld()};
        g.k.Ck=function(){return this.g.Ck()};
        g.k.oe=function(){return this.g.oe()};
        g.k.Ki=function(){return this.g.Ki()};
        g.k.rl=function(){return this.g.rl()};
        g.k.sl=function(){return this.g.sl()};
        g.k.togglePictureInPicture=function(){this.g.togglePictureInPicture()};
        g.k.dd=function(){return this.g.dd()};
        g.k.Li=function(){return this.g.Li()};
        g.k.setSize=function(a){return this.g.setSize(a)};
        g.k.getVolume=function(){return this.g.getVolume()};
        g.k.setVolume=function(a){this.g.setVolume(a)};
        g.k.setAttribute=function(a,b){this.g.setAttribute(a,b)};
        g.k.removeAttribute=function(a){this.g.removeAttribute(a)};
        g.k.hasAttribute=function(a){return this.g.hasAttribute(a)};
        g.k.Gh=ca(4);g.k.rj=ca(6);g.k.Ag=ca(1);g.k.Nh=ca(8);g.k.Vh=function(){this.g.Vh()};
        g.k.hi=function(a){return this.g.hi(a)};
        g.k.stopVideo=function(){this.g.stopVideo()};
        g.k.qn=function(a){this.g.qn(a)};g.t(zR,g.J);g.k=zR.prototype;g.k.isFinished=function(){return 6==this.o.status};
        g.k.getStatus=function(){return this.o};
        g.k.Rf=function(){var a=this.i.getVideoData(),b=this.g.getVideoData(),c;if((c=a.la&&(b.la||this.l.g))&&!(c=!this.l.g||!a.fa)){c=a.fa;for(var d=!1,e=!1,f=g.r(Object.values(c.g)),h=f.next();!h.done;h=f.next())h=h.value,h.info.audio&&h.index.Hb()&&(d=!0),h.info.video&&h.index.Hb()&&(e=!0);c.g["0"]&&(e=!0);c=d&&e}if(c){f=AR(this);c=f.ky;e=f.qu;d=f.jy;f=f.pu;if(!this.H){h=(1E3*this.g.getCurrentTime()).toFixed();var l=this.i.getCurrentTime();l=(1E3*(d-c-l)).toFixed();a=+a.isAd();this.g.Na("glrem","nst."+
        h+";rem."+l+";ca."+a);this.H=!0}(a=kea(this.l,this.i,this.g,this.J))?yR(this,"cannot_apply_"+a):2==this.o.status?FR(this):(a=this.i.D)&&(a.g||a.i)&&(!by(a)&&g.fu()?yR(this,"mse_closed"):this.l.F&&b.fa&&HC(b.fa)&&a.i&&!a.i.zk()?yR(this,"encr_upgrade"):(b=this.i.g,b.ke()?yR(this,"elem_ended"):0>e?yR(this,"next_player_future"):(this.F=d,this.u=hy(a,c,d,!0),this.A=hy(a,e,f,!1),a=this.g.getVideoData().clientPlaybackNonce,this.i.Na("gaplessPrep","cpn."+a),ZO(this.i,this.u),JO(this.i,BR(b,c,d,this.i.getVideoData().oa)),
        CR(this,2),FR(this))))}};
        g.k.kh=function(a){var b=a==ER(this).Wv,c=b?this.u.g:this.u.i,d=b?this.A.g:this.A.i;if(c.isActive()&&!d.isActive()){var e=this.F;a=a.Wb();if(0<=Tx(a,e-.01)){CR(this,4);c.setActive(!1);this.g.Na("sbh","1");if(this.D&&this.l.N&&(a=this.i.getCurrentTime()-10,0<a)){this.g.Na("sbr",d.Pa({tt:e,a:""+ +b}));try{c.remove(0,a)}catch(f){this.g.Na("sbrf","e."+f.name)}}d.setActive(!0)}b=this.A.i;this.A.g.isActive()&&b.isActive()&&CR(this,5)}};
        g.k.S=function(){DR(this);if(this.u){var a=this.u.i;this.u.g.g.unsubscribe("updateend",this.kh,this);a.g.unsubscribe("updateend",this.kh,this)}g.J.prototype.S.call(this)};
        g.k.Xt=function(a){this.l.l&&g.VI(a,128)&&yR(this,"player-error-event")};g.t(GR,g.J);GR.prototype.clearQueue=function(){this.A&&this.A.reject("Queue cleared");HR(this)};
        GR.prototype.S=function(){HR(this);g.J.prototype.S.call(this)};g.t(LR,g.J);g.k=LR.prototype;g.k.rB=function(a){if(this.l==this.g.sb()){var b=this.B.get(a);QR(this,b.target,b.vh,a)}else{b=this.i.find(function(e){return e.uf.tc==a});
        var c=b.uf,d=c.target;c=c.vh;d?QR(this,d,c,a):qea(this,b.Mc,c,a)}};
        g.k.jE=function(){var a=this.F;SR(this);a&&(RR(this,a),this.g.sb().addCueRange(a.uf.tc))};
        g.k.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)KR(this,a);else{b=this.g.sb();var d=b==this.u?this.D:null;VR(this,!1);this.J=a;null!=c&&this.I.start(c);b&&(this.D=d||b.getPlayerState(),TO(b),this.u=b)}};
        g.k.sB=function(a){var b=this;if(g.VI(a,128)){var c=this.i.find(function(d){return RR(b,d)});
        c&&(SR(this),a=new g.By(8),c=TR(this,c)/1E3,WR(this,c,a))}};
        g.k.S=function(){VR(this,!1);PP(this);g.J.prototype.S.call(this)};
        var oea=0;g.t(cS,g.J);cS.prototype.get=function(a){aS(this);var b=this.g.find(function(c){return c.key==a});
        return b?b.value:null};
        cS.prototype.set=function(a,b,c){this.remove(a,!0);aS(this);a={key:a,value:b,expire:Infinity};c&&isFinite(c)&&(c*=1E3,a.expire=(0,g.Bv)()+c);for(this.g.push(a);this.g.length>this.o;)c=this.g.shift(),dS(this,c,!0);bS(this)};
        cS.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.g.find(function(d){return d.key==a});
        c&&(dS(this,c,b),g.qb(this.g,function(d){return d.key==a}),bS(this))};
        cS.prototype.S=function(){var a=this;g.J.prototype.S.call(this);this.g.forEach(function(b){dS(a,b,!0)});
        this.g=[]};g.t(eS,g.J);eS.prototype.l=function(a){this.i=a[a.length-1].intersectionRatio};
        eS.prototype.S=function(){g.J.prototype.S.call(this);this.i=null;this.g&&this.g.disconnect()};g.t(gS,g.T);g.k=gS.prototype;g.k.sz=function(){this.D=new g.Pg(0,0,0,0);this.o=new g.Pg(0,0,0,0)};
        g.k.zl=function(a){g.ar(this.element,arguments)};
        g.k.Vd=function(){if(this.l){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.o;b=!ce(a,new g.be(b.width,b.height));oS(this);b&&(this.o.width=a.width,this.o.height=a.height);this.app.g.L("resize",this.getPlayerSize())}}};
        g.k.rz=function(a,b){this.updateVideoData(b)};
        g.k.uz=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())};
        g.k.updateVideoData=function(a){if(this.l){var b=this.app.O();lu&&(this.l.setAttribute("x-webkit-airplay","allow"),a.title?this.l.setAttribute("title",a.title):this.l.removeAttribute("title"));this.l.removeAttribute("disableremoteplayback");this.l.setAttribute("controlslist","nodownload");b.Sj&&a.videoId&&(this.l.poster=a.hd("default.jpg"))}b=g.$H(a,"yt:bgcolor");this.F.style.backgroundColor=b?b:"";this.U=vE(g.$H(a,"yt:stretch"));this.Y=vE(g.$H(a,"yt:crop"),!0);g.dr(this.element,"ytp-dni",a.jd);this.Vd()};
        g.k.setGlobalCrop=function(a){this.J=vE(a,!0);this.Vd()};
        g.k.getPlayerSize=function(){var a=this.app.O(),b=this.app.g.isFullscreen();if(b&&du())return new g.be(window.outerWidth,window.outerHeight);if(b||a.Dh){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.B&&this.B.media==a||(this.B=window.matchMedia(a));var c=this.B&&this.B.matches}if(c)return new g.be(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.u.width)&&!isNaN(this.u.height))return this.u.clone();if(this.ca&&this.Z&&!this.app.isWidescreen())for(a=
        0;a<this.ca.length;a++)if(b=this.ca[a],b.query.matches)return new g.be(b.size.width,b.size.height)}return new g.be(this.element.clientWidth,this.element.clientHeight)};
        g.k.getVideoAspectRatio=function(){return isNaN(this.U)?jS(this):this.U};
        g.k.getVideoContentRect=function(a){var b=this.getPlayerSize();a=kS(this,b,this.getVideoAspectRatio(),a);return new g.Pg((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)};
        g.k.ez=function(){this.l&&nS(this);mS(this)!=this.N&&this.Vd()};
        g.k.yB=function(){nS(this)};
        g.k.setUseFastSizingOnWatch=function(a){this.Z!=a&&(this.Z=a,this.Vd())};
        g.k.setInternalSize=function(a){ce(this.u,a)||(this.u=a,this.Vd())};
        g.k.S=function(){this.I&&g.Os(this.I);hS(this);g.T.prototype.S.call(this)};pS.prototype.click=function(a){this.g.has(a);this.i.has(a);var b=g.KG();b&&a.visualElement&&g.DG(b,a.visualElement)};g.t(tS,g.T);g.t(vS,g.T);g.k=vS.prototype;g.k.show=function(){g.T.prototype.show.call(this);this.Ko()};
        g.k.hide=function(){g.T.prototype.hide.call(this);this.l.stop()};
        g.k.stop=function(){this.l.stop()};
        g.k.start=function(){this.l.isActive()||this.Ko()};
        g.k.Ko=function(){var a=(0,g.Bv)(),b=fz(this.D);uS(this.o,b.bandwidth_samples);uS(this.B,b.network_activity_samples);uS(this.A,b.live_latency_samples);uS(this.u,b.buffer_health_samples);this.update(b);a=25<(0,g.Bv)()-a?5E3:500;this.l.start(a)};g.t(wS,g.J);g.k=wS.prototype;g.k.getVisibilityState=function(a,b,c,d,e){return this.F.getVisibilityState(a,b,c,d,e)};
        g.k.isVideoInfoVisible=function(){return!(!this.Y||!this.Y.ib())};
        g.k.vC=function(){g.US(this,5)};
        g.k.aE=function(a){nT(this);Jy(a.getPlayerState())&&this.playVideo()};
        g.k.canPlayType=function(a){return Dx(a)};
        g.k.O=function(){return this.i};
        g.k.getVideoData=function(){return this.A.getVideoData()};
        g.k.getVideoLoadedFraction=function(a){return(a=(a=g.S(this,a))?a.g:null)?py(a):0};
        g.k.Kc=function(){var a={},b=gR(this.o);b&&g.Ya(a,b.CA());a.fs=this.g.isFullscreen();a.volume=Math.round(this.g.getVolume());a.mos=this.g.isMuted()?1:0;if(g.P(this.i.experiments,"html5_enable_embedded_player_visibility_signals")&&this.i.g&&(this.Uc&&(b=this.Uc,b=null==b.i?null:Math.round(100*b.i)/100,null!=b&&(a.inview=b)),b=this.D.getPlayerSize(),0<b.height&&0<b.width)){b=[Math.round(b.height),Math.round(b.width)];var c=$y();1<c&&b.push(c);a.size=b.join(":")}return a};
        g.k.setLoopRange=function(a){var b=!1;!!this.V!==!!a?b=!0:this.V&&a&&(b=this.V.start!==a.startTimeMs||this.V.end!==a.endTimeMs);b&&(OL(this.l.H,"applooprange"),b=null,a&&(b=new g.iJ(a.startTimeMs,a.endTimeMs,{id:"looprange",namespace:"applooprange"}),!this.V&&b&&(this.l.seekTo(b.start/1E3,!0),this.l.playVideo()),this.l.addCueRange(b)),this.V=b,this.g.ha("onLoopRangeChange",a))};
        g.k.getLoopRange=function(){return this.V?{startTimeMs:this.V.start,endTimeMs:this.V.end}:null};
        g.k.setPlaybackRate=function(a,b){if(!isNaN(a)){var c=xS(this,a);this.l.getPlaybackRate()!=c&&(this.l.setPlaybackRate(c),b&&!this.i.g&&g.TD("yt-player-playback-rate",c),this.g.ha("onPlaybackRateChange",c))}};
        g.k.getCurrentTime=function(a,b){b=void 0===b?!0:b;if(3==this.getPresentingPlayerType())return null.getCurrentTime();var c=g.S(this,a);return c?b?(c=LS(this,c),YS(this,c.getCurrentTime(),c)):c.getCurrentTime():0};
        g.k.getDuration=function(a,b){var c=g.S(this,a);return c?void 0===b||b?(c=KS(this,c),YS(this,c.getDuration(),c)):c.getDuration():0};
        g.k.ob=function(a){a=g.S(this,a);if(!a)return 0;a=KS(this,a);return YS(this,a.ob(),a)};
        g.k.getDebugText=function(a){var b=this.l.Pa(a);if(this.A&&this.A!=this.l&&(b=wT(b,this.A.Pa(a),"ad_"),a)){var c=b;var d={};var e=ie(document,"movie_player");e&&(d.bounds=e.getBoundingClientRect(),d["class"]=e.className);e={};var f=g.ke("video-ads");f?(uT(f,e),e.html=f.outerHTML):e.missing=1;f={};var h=g.ke("videoAdUiSkipContainer"),l=g.ke("ytp-ad-skip-button-container"),m=h||l;m?(uT(m,f),f.ima=h?1:0,f.bulleit=l?1:0):f.missing=1;h={};h.player=d;h.videoAds=e;h.skipButton=f;d=JSON.stringify(h);c.ad_skipBtnDbgInfo=
        d}a&&this.u&&(b["0sz"]=0==de(this.u.Li()),b.op=this.u.hi("opacity"),c=this.u.dd().y+this.u.Li().height,b.yof=0>=c,b.dis=this.u.hi("display"));(a=a?sO():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.g.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=AP(this.o))&&(b=wT(b,a.Pa(),"fresca_"));return JSON.stringify(b,null,2)};
        g.k.getPresentingPlayerType=function(){return 1==this.N?1:g.S(this).getPlayerType()};
        g.k.iA=function(a){switch(a.type){case "loadedmetadata":nH("fvb","")||this.H.tick("fvb");sH("fvb");this.rb.start();break;case "loadstart":nH("gv","")||this.H.tick("gv");sH("gv");break;case "progress":case "timeupdate":!nH("l2s","")&&2<=Vx(a.target.bd())&&this.H.tick("l2s");break;case "playing":g.Bz&&this.rb.start();if(g.VE(this.i))a=!1;else{var b=az(this.o);a="none"==this.u.hi("display")||0==de(this.u.Li());var c=mS(this.D),d=this.A.getVideoData(),e=dF(this.i)||g.XE(this.i);d=FH(d);b=!c||b||e||d||
        this.i.jf;a=a&&!b}a&&(this.A.Na("hidden","1",!0),this.getVideoData().se||(this.na("html5_new_elem_on_hidden")?(this.getVideoData().se=1,this.Gu(null),this.A.playVideo()):sT(this,"hidden",!0)))}};
        g.k.tD=function(a,b){this.g.ha("onLoadProgress",b)};
        g.k.PE=function(){this.g.L("playbackstalledatstart")};
        g.k.hF=function(a,b){var c=LS(this,a);b=YS(this,c.getCurrentTime(),c);this.g.ha("onVideoProgress",b)};
        g.k.YC=function(){this.g.ha("onDompaused")};
        g.k.hE=function(){this.g.L("progresssync")};
        g.k.eA=function(a){if(1==this.getPresentingPlayerType()){g.VI(a,1)&&!g.R(a.state,64)&&NS(this).oa&&this.l.isAtLiveHead()&&1<this.g.getPlaybackRate()&&this.setPlaybackRate(1,!0);g.VI(a,2)&&FS(this);if(g.R(a.state,128)){var b=a.state;fT(this,5);b=b.i;JSON.stringify({errorData:b,debugInfo:this.getDebugText(!0)});this.g.ha("onError",Y_[b.errorCode]||5);this.g.ha("onDetailedError",{errorCode:b.errorCode,errorDetail:b.errorDetail,message:b.errorMessage,rK:b.sn});6048E5<(0,g.Bv)()-this.i.N&&this.g.ha("onReloadRequired")}g.Iy(a.state)&&
        !g.Ly(a.state)&&!nH("pbresume","ad_to_video")&&nH("_start","ad_to_video")&&(b=this.getVideoData(),gJ("cpn",b.clientPlaybackNonce,"ad_to_video"),b.videoId&&gJ("docid",b.videoId,"ad_to_video"),SH("pbresume",void 0,"ad_to_video"));this.g.L("applicationplayerstatechange",a)}};
        g.k.Yu=function(a){3!=this.getPresentingPlayerType()&&this.g.L("presentingplayerstatechange",a)};
        g.k.gA=function(a){HS(this,My(a.state));g.R(a.state,1024)&&this.g.isMutedByMutedAutoplay()&&(uI(this,{muted:!1,volume:this.I.volume},!1),VS(this,!1))};
        g.k.fE=function(a){g.Iy(a.state)&&!g.Ly(a.state)&&(iR(this.o),g.Ox(this.Ac))};
        g.k.tC=function(a){"newdata"==a&&aT(this)};
        g.k.yC=function(){this.g.ha("onPlaybackAudioChange",this.g.getAudioTrack().Xa.name)};
        g.k.fF=function(a){var b=this.A.getVideoData();a==b&&this.g.ha("onPlaybackQualityChange",a.Fa.ra().quality)};
        g.k.yo=function(a,b,c){this.na("html5_app_oauth_update_killswitch")||b!=this.l||(this.i.Ga=c.oauthToken);if("newdata"==a)kR(this.o,2),this.g.L("videoplayerreset",b);else{if(!this.u)return;if("dataloaded"==a)if(this.A==this.l){if(c.Ma.ye(c.Fv),!this.l.getPlayerState().isError()){var d=NS(this);d.np?g.dO(this.l,"html5.nopurchaseflow","PURCHASE_NOT_FOUND",void 0,void 0):(d.Hb(),MS(this),(d=lR(this.o))&&!d.created&&hR(this.o)&&d.create())}}else MS(this);if(1==b.getPlayerType()&&(this.i.V&&tT(this),this.getVideoData().oa&&
        !this.i.Mj&&g.dO(this.l,"html5.unsupportedlive","DEVICE_FALLBACK",void 0,void 0),c.Hb())){if(c.Zi||c.Nl||c.Vb.focEnabled||c.Vb.rmktEnabled||this.getVideoData().Wq)d=this.getVideoData(),dT(this,"part2viewed",1,0x8000000000000),dT(this,"engagedview",Math.max(1,1E3*d.Sd),0x8000000000000),d.oa||(d=1E3*d.lengthSeconds,dT(this,"videoplaytime25",.25*d,d),dT(this,"videoplaytime50",.5*d,d),dT(this,"videoplaytime75",.75*d,d),dT(this,"videoplaytime100",d,0x8000000000000),dT(this,"conversionview",d,0x8000000000000));
        if(c.chapterMarkers.length&&g.P(this.i.experiments,"enable_player_chapter_markers")){d=this.getVideoData();for(var e=[],f=0;f<d.chapterMarkers.length;f++){var h=d.chapterMarkers[f].playerChapterMarkerRenderer;if(h){var l={id:"__chapterMarker"+f+"__",style:"ytp-chapter-marker",visible:!0,namespace:"appchaptermarker"};h.color&&(l.color=h.color);h.tooltip&&(l.tooltip=h.tooltip);h.icons&&(l.icons=h.icons);var m=h.startTimeMs;e.push(new g.iJ(m,h.endTimeMs||m,l))}}DP(this,e,1)}}this.g.L("videodatachange",
        a,c,b.getPlayerType())}this.i.xb&&this.g.ha("onVideoDataChange",{type:a,playertype:b.getPlayerType()});b==this.l&&(a=c.getPlayerResponse())&&(a=a.clipConfig)&&a.startTimeMs&&a.endTimeMs&&this.setLoopRange({startTimeMs:parseInt(a.startTimeMs,10),endTimeMs:parseInt(a.endTimeMs,10)});a=c.clientScreenNonce;c=c.Ul;a&&c?(b=this.ma,a!=g.KG()&&(MG(a,c),sS(b))):sS(this.ma)};
        g.k.gk=function(){QS(this,null);this.g.ha("onPlaylistUpdate")};
        g.k.uu=function(a){var b=a.getId(),c=NS(this);if("part2viewed"==b)c.lv&&g.tu(c.lv),c.Nl&&vT(this,c.Nl);else if("conversionview"==b){var d=this.l.A;d.i&&bJ(d.i)}else"engagedview"==b&&g.tu(c.Zi);if(c.ov){d=c.ov;var e={label:a.getId()};if(g.P(this.i.experiments,"send_pyv_ad_mt_and_abandon_pings")){var f=1E3*this.getCurrentTime();e.ad_mt=Math.round(Math.max(0,f)).toString()}d=g.ut(d,e);g.tu(d)}switch(b){case "videoplaytime25":c.ep&&vT(this,c.ep);c.tv&&g.tu(c.tv);break;case "videoplaytime50":c.fp&&vT(this,
        c.fp);c.uv&&g.tu(c.uv);break;case "videoplaytime75":c.gp&&vT(this,c.gp);c.vv&&g.tu(c.vv);break;case "videoplaytime100":c.cp&&vT(this,c.cp),c.qv&&g.tu(c.qv)}(b=this.getVideoData().Wq)&&b[a.getId()]&&(c=b[a.getId()],g.tu(c,void 0,mz(c)||oz(c)||kz(c)),b=b[a.getId()+"gaia"],g.tu(b,void 0,mz(b)||oz(b)||kz(b)));this.l.removeCueRange(a)};
        g.k.yD=function(){var a=this.l.getPlayerState();Ky(a)||g.R(a,2)&&this.V.end/1E3>this.l.getDuration()-1?this.l.seekTo(this.V.start/1E3,!0):this.setLoopRange(null)};
        g.k.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.S(this,a);if(!c)return!1;var d=KS(this,c);c=LS(this,c);return d!=c?d.isAtLiveHead(YS(this,c.getCurrentTime(),c),!0):d.isAtLiveHead(void 0,b)};
        g.k.seekTo=function(a,b,c,d){b=0!=b;if(d=g.S(this,d))2==this.N&&SS(this),JS(this,d)?this.ka.seekTo(a,b,c):d.seekTo(a,b,c)};
        g.k.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)};
        g.k.hA=function(){this.g.ha("SEEK_COMPLETE")};
        g.k.GE=function(a,b){var c=a.getVideoData();if(1==this.N||2==this.N)c.startSeconds=b;2==this.N?SS(this):this.g.ha("SEEK_TO",b)};
        g.k.lC=function(){this.g.L("airplayactivechange")};
        g.k.mC=function(){this.g.L("airplayavailabilitychange")};
        g.k.EC=function(){this.g.L("beginseeking")};
        g.k.eD=function(){this.g.L("endseeking")};
        g.k.getStoryboardFormat=function(a){return(a=g.S(this,a))?KS(this,a).getVideoData().getStoryboardFormat():null};
        g.k.yf=function(a){return(a=g.S(this,a))?KS(this,a).getVideoData().yf():null};
        g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;JS(this);a=new g.AH(this.i,a);d&&(a.Jb=d);c=void 0===c?Infinity:c;b=b||this.A.getPlayerType();var e;g.P(this.i.experiments,"html5_gapless_preloading")&&(e=WS(this,b,a,!0));e||(e=CS(this,b),oO(e,a,(0,g.A)(this.Kc,this)));PR(this,e,c)};
        g.k.clearQueue=function(){this.za.clearQueue()};
        g.k.loadVideoByPlayerVars=function(a,b,c,d){this.i.Nb&&ZP(a);var e=new g.AH(this.i,a);c||(a&&pJ(a)?(bF(this.i)&&!this.R&&(a.fetch=0),QS(this,a)):this.B&&QS(this,null),a&&(this.R=U(!1,a.external_list)),bF(this.i)&&!this.R&&RS(this));return ZR(this,e,b,d)};
        g.k.preloadVideoByPlayerVars=function(a,b,c,d,e,f){b=void 0===b?1:b;c=void 0===c?NaN:c;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?!1:f;var h=b+"_"+(a.docid||a.video_id||a.videoId||a.id||null)+"_"+e,l;if(!(l=this.Oa.get(h))&&(l=this.A)){l=this.A.getPlayerType();var m=this.A.getVideoData().videoId,n=this.A.getVideoData().Jb;l=h==l+"_"+m+"_"+n}l||(this.i.Nb&&ZP(a),a=new g.AH(this.i,a),e&&(a.Jb=e),f&&(a.Kd=!0),e=b+"_"+a.videoId+"_"+a.Jb,a.ug=!0,f=CS(this,b),oO(f,a,(0,g.A)(this.Kc,this)),!g.P(this.i.experiments,
        "unplugged_tvhtml5_video_preload_no_dryrun")&&1==b&&"TVHTML5_UNPLUGGED"==this.i.deviceParams.c||tO(f,!0),this.Oa.set(e,f,c||3600),c="prefetch_"+a.videoId,mH("prefetch",["pfp"],c),gJ("docid",a.videoId,c),gJ("plt",b,c),gJ("c",this.i.deviceParams.c,c),gJ("cver",this.i.deviceParams.cver,c),d&&gJ("pftr",d,c))};
        g.k.setMinimized=function(a){this.F.setMinimized(a);a=this.o;(a=a.g.O().showMiniplayerUiWhenMinimized?a.i.get("miniplayer"):null)&&(this.F.g?a.load():a.unload());this.g.L("minimized")};
        g.k.setInline=function(a){this.F.setInline(a)};
        g.k.DE=function(){"picture-in-picture"==this.u.ga().webkitPresentationMode?$N(this.F,!0):$N(this.F,!1)};
        g.k.togglePictureInPicture=function(){var a=g.S(this);a&&a.togglePictureInPicture()};
        g.k.cueVideoByPlayerVars=function(a,b){this.i.Nb&&ZP(a);if(a&&pJ(a)){this.sa=!0;QS(this,a);var c=this.B.ra();if(c&&c.isValid())hT(this,c,b);else this.B.onReady((0,g.A)(this.Fl,this))}else b||(b=this.getPresentingPlayerType()),1==b&&this.gk(),hT(this,new g.AH(this.i,a),b)};
        g.k.cuePlaylist=function(a,b,c,d){this.sa=!0;a=gx(a,b,c,d);QS(this,a);this.B.onReady((0,g.A)(this.Fl,this))};
        g.k.loadPlaylist=function(a,b,c,d){this.sa=!1;a=gx(a,b,c,d);QS(this,a);this.B.onReady((0,g.A)(this.Fl,this))};
        g.k.Fl=function(){var a=this.B.ra();if(a){var b=this.getVideoData();b.Jf||!this.sa?(b=b.Df,a=ZR(this,a),b&&gT(this,a)):hT(this,a)}this.g.ha("onPlaylistUpdate")};
        g.k.nextVideo=function(a,b){var c=this,d=this.l.getVideoData().suggestions;if(g.HP(this.g)&&d){d=(0,g.Le)(d,function(f){return g.lQ(c.i,f)});
        d=d[0];var e=b?d.Pr:d.Bb;g.iT(this,d.ra().videoId,e,d.getPlaylistId(),b)}else this.R?this.g.ha("onPlaylistNext"):3==this.getPresentingPlayerType()?null.nextVideo():this.B&&(bF(this.i)&&!this.g.isFullscreen()?cT(this,"yt.www.watch.lists.next"):(this.B.hasNext(a)&&qJ(this.B,Dba(this.B)),this.B.ld?ZR(this,this.B.ra(void 0,b,b&&g.P(this.i.experiments,"html5_player_autonav_logging")),1):this.sa=!1))};
        g.k.previousVideo=function(a){if(this.R)this.g.ha("onPlaylistPrevious");else if(3==this.getPresentingPlayerType())null.cB();else if(this.B)if(bF(this.i)&&!this.g.isFullscreen())cT(this,"yt.www.watch.lists.prev");else{if(this.B.Bf(a)){a=this.B;var b=a.Va-1;qJ(this.B,0>b?a.Ff-1:b)}this.B.ld?ZR(this,this.B.ra(),1):this.sa=!1}};
        g.k.playVideoAt=function(a){this.R?this.g.ha("onPlaylistIndex",a):this.B&&(this.B.ld?ZR(this,this.B.ra(a),1):this.sa=!1,qJ(this.B,a))};
        g.k.getPlaylist=function(){return this.B};
        g.k.rC=function(a){this.g.ha("onCueRangeEnter",a.getId())};
        g.k.sC=function(a){this.g.ha("onCueRangeExit",a.getId())};
        g.k.wC=function(){this.getPresentingPlayerType();this.ua||(this.ua=yG(yH,this.zu,this));hJ(this.H,this.A.getVideoData(),mT(this));PS(this)&&this.i.g&&"embedded"==kI(NS(this))&&this.wd&&.01>Math.random()&&zw("autoplayTriggered",{intentional:this.pd});this.wd=!1;var a=g.KG(this.zd||(this.F.g?3:0));if(a){var b={cpn:this.getVideoData().clientPlaybackNonce,csn:a};if(g.P(this.i.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().ie){var c=g.oG(this.getVideoData().ie);g.CG(a,c);b.playbackVe=
        g.pG(c)}zw("playbackAssociated",b)}this.na("web_player_inline_botguard")&&(a=this.getVideoData().botguardData)&&(xs("BG_I",a.interpreterScript),xs("BG_IU",a.interpreterUrl),xs("BG_P",a.program),uJ(this.i.Wa))};
        g.k.lD=function(){this.g.L("internalAbandon");this.na("html5_ad_module_cleanup_killswitch")||$S(this)};
        g.k.zu=function(a){a=a.g;if(!isNaN(a)&&0<a&&this.l){var b=this.l.A;b.g&&0<a&&(b.g.i.aft=[a])}};
        g.k.qC=function(){this.i.xb&&this.A?this.g.ha("onApiChange",this.A.getPlayerType()):this.g.ha("onApiChange")};
        g.k.JD=function(){var a=this.u;a={volume:g.Yd(Math.floor(100*a.getVolume()),0,100),muted:a.Bk()};a.muted||VS(this,!1);this.I=g.qc(a);this.g.ha("onVolumeChange",a)};
        g.k.hD=function(){IS(this,oT(this)?1:0);var a=Zw();qT(this,!!a&&g.Fe(this.D.element,a))};
        g.k.isFullscreen=function(){return this.F.isFullscreen()};
        g.k.wE=function(){0!==this.F.l&&1!==this.F.l||IS(this,oT(this)?1:0);this.i.af&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.u&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.u.Vh()};
        g.k.sD=function(a){3!=this.getPresentingPlayerType()&&this.g.L("liveviewshift",a)};
        g.k.playVideo=function(a){if(a=g.S(this,a))2==this.N?SS(this):g.P(this.i.experiments,"html5_restore_userreload_killswitch")&&a.getPlayerState().isError()?sT(this,"user"):(null!=this.Y&&this.Y.ib()&&this.Y.start(),g.R(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())};
        g.k.pauseVideo=function(a){(a=g.S(this,a))&&a.pauseVideo()};
        g.k.stopVideo=function(){var a=this.l.getVideoData(),b=new g.AH(this.i,{video_id:a.Vp||a.videoId,oauth_token:a.oauthToken});b.xe=g.qc(a.xe);fT(this,6);hT(this,b,1);null!=this.Y&&this.Y.stop()};
        g.k.sendVideoStatsEngageEvent=function(a,b,c){(b=g.S(this,b))&&this.i.od.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()};
        g.k.updatePlaylist=function(){RS(this);this.g.ha("onPlaylistUpdate")};
        g.k.setSizeStyle=function(a,b){this.rd=b;this.g.L("sizestylechange",a,b);this.D.Vd()};
        g.k.isWidescreen=function(){return this.rd};
        g.k.isInline=function(){return this.F.isInline()};
        g.k.getAdState=function(){if(3==this.getPresentingPlayerType())return null.getAdState();if(!JS(this)){var a=lR(this.o);if(a)return a.getAdState()}return-1};
        g.k.vE=function(a){var b=this.D.getVideoContentRect();g.Qg(this.ud,b)||(this.ud=b,this.A&&OO(this.A),this.l&&this.l!=this.A&&OO(this.l),1==this.F.l&&this.Ga&&qT(this,!0));this.Pb&&ce(this.Pb,a)||(this.g.L("appresize",a),this.Pb=a)};
        g.k.jg=function(){return this.g.jg()};
        g.k.ME=function(){this.getPresentingPlayerType();sT(this,"signature",void 0,!0)};
        g.k.Gu=function(){BS(this);AS(this)};
        g.k.sE=function(a){ZO(a,this.u.ol())};
        g.k.UC=function(){this.g.ha("CONNECTION_ISSUE")};
        g.k.fA=function(a){this.g.L("heartbeatparams",a)};
        g.k.setBlackout=function(a){this.i.jf=a;this.A&&(g.zN(this.A.A),this.i.V&&tT(this))};
        g.k.VD=function(){var a=g.S(this);if(a){var b=!CP(this.g);g.nP(a,b)}};
        g.k.vD=function(){this.g.ha("onLoadedMetadata")};
        g.k.cD=function(){this.g.ha("onDrmOutputRestricted")};
        g.k.S=function(){this.o.dispose();this.ka.dispose();this.l.dispose();BS(this);g.ak(g.ec(this.Tc),this.B);xG(this.ua);this.ua=0;g.J.prototype.S.call(this)};
        g.k.na=function(a){return g.P(this.i.experiments,a)};
        g.k.setScreenLayer=function(a){this.zd=a};
        var F0={};yT.prototype.fetch=function(a,b){var c=this;if(!a.match(/\[BISCOTTI_ID\]/g))return zT(this,a,b);var d=1===this.i;d&&this.g.app.H.tick("a_bid_s");var e=zea();if(null!==e)return d&&this.g.app.H.tick("a_bid_f"),zT(this,a,b,e);e=Aea();d&&jn(e,function(){c.g.app.H.tick("a_bid_f")});
        return e.then(function(f){return zT(c,a,b,f)})};var Fha={tJ:"replaceUrlMacros",AI:"isExternalShelfAllowedFor"};g.t(BT,g.iJ);g.t(IT,g.J);IT.prototype.S=function(){this.g={};g.J.prototype.S.call(this)};
        IT.prototype.qk=function(a,b,c){var d=this;c=void 0===c?{}:c;a.forEach(function(e){return d.Ca(e,b,c)})};
        IT.prototype.Ca=function(a,b,c){var d=this;c=void 0===c?{}:c;a.loggingUrls&&KT(this,"loggingUrls",a,b,c);Object.keys(a).filter(function(e){return"loggingUrls"!==e}).forEach(function(e){return KT(d,e,a,b,c)})};LT.prototype.g=function(){return"adLifecycleCommand"};
        LT.prototype.i=function(a){var b=this;switch(a.action){case "START_LINEAR_AD":g.Pm(function(){var c=b.l;c.i&&c.i.If()&&c.i.au()});
        break;case "END_LINEAR_AD":g.Pm(function(){var c=b.l;c.i&&c.i.If()&&c.i.Ho()});
        break;case "END_LINEAR_AD_PLACEMENT":g.Pm(function(){var c=b.l;c.i&&c.i.If()&&c.i.Ri()});
        break;case "FILL_ABOVE_FEED_SLOT":g.Pm(function(){if(a.elementId){var c=b.l,d=c.F.get(a.elementId);d&&(c=rY(c,[d]))&&0!=c.length&&c[0].Qi()}});
        break;case "CLEAR_ABOVE_FEED_SLOT":g.Pm(function(){sY(b.l)})}};MT.prototype.g=function(){return"adPlayerControlsCommand"};
        MT.prototype.i=function(a){switch(a.action){case "AD_PLAYER_CONTROLS_ACTION_SEEK_TO_END":var b=this.l;b=wY(b)?b.g.getDuration(2):0;if(0>=b)break;this.l.seekTo(g.Yd(b-(Number(a.seekOffsetMilliseconds)||0)/1E3,0,b));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":this.l.resume()}};NT.prototype.g=function(){return"changeEngagementPanelVisibilityAction"};
        NT.prototype.i=function(a){this.W.ha("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})};g.t(UT,RP);UT.prototype.jc=function(){return!0};
        UT.prototype.Qb=function(){return!1};
        UT.prototype.xi=function(){return!0};
        UT.prototype.I=function(){return function(){return g.ke("video-ads")}};VT.prototype.Za=function(){return this.I};
        VT.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.Za().l};var Gea=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];fU.prototype.send=function(a,b,c){try{var d=a.match(hg);if("https"===d[1])var e=a;else d[1]="https",e=fg("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=this.i?tq.i:Zp(e),h=g.nq(e,Hea(b,c,f));a=void 0;zt(e)&&this.g&&nI(this.g)&&this.l&&(a={Authorization:"Bearer "+nI(this.g)});if(this.i){h=e=h;null!=h&&null!=b&&(h=g.nq(h,b));try{a:{b=h;a=void 0;var l=b.length-11-2;if(!(-1==b.indexOf("URL_SIGNALS")||2048<=l||!a&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(a=a||window.Goog_AdSense_Lidar_getUrlSignalsArray(),
        l={},c=0;c<a.length;++c){l.URL_SIGNALS=a[c];var m=g.nq(b,l);if(2048>m.length){h=m;break a}}h=b}}catch(v){}e=h;try{m=e;l=!1;Mq(m,qha)?l=!1:null!=m&&Hq(m)?l=!0:"https:"==window.location.protocol&&(Mq(m,pha)||tq.g)&&(l=!0);if(l){var n=new g.Hp(m);"https"==n.o?e=m:(g.Ip(n,"https"),e=n.toString())}else e=m;var p=Cq(),q=!tq.g||Eq(p,41351089);n=!1;tq.g||!Eq(Cq(),634360102)||(n=!0);null!=f&&f?cq(e,q):tq.i?(f=e)&&(Zp(f)?cq(f,q):kq(f,q,n)):kq(e,q,n)}catch(v){}}else g.tu(h,void 0,f,a)}catch(v){}};gU.prototype.g=function(){return"loggingUrls"};
        gU.prototype.i=function(a,b,c){c=void 0===c?{}:c;a=g.r(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.baseUrl&&this.l.send(d.baseUrl,b,c)};hU.prototype.g=function(){return"muteAdEndpoint"};
        hU.prototype.i=function(a){var b=this;switch(a.type){case "SKIP":g.Pm(function(){var c=b.l;c.i&&c.i.If()&&c.i.Ri()})}};iU.prototype.g=function(){return"pingingEndpoint"};
        iU.prototype.i=function(){};jU.prototype.g=function(){return"urlEndpoint"};
        jU.prototype.i=function(a,b){if(a.url){var c=g.nq(a.url,b);g.pQ(c)}};g.t(kU,g.J);lU.prototype.showCompanion=function(a,b,c){return nU(this).then(function(){return oU(a,b,c)})};sU.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.i.ha("updateKevlarOrC3Companion",b)};var uU=null;g.t(tU,g.O);g.Ka("ytads.bulleit.getVideoMetadata",function(a){var b=vU();return b.g.hasOwnProperty(a)?b.g[a].Yt():{}},void 0);
        g.Ka("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=vU();c=Mea(c);null!==c&&d.L(c,{queryId:a,viewabilityString:b})},void 0);g.t(wU,g.J);g.t(AU,g.J);g.t(X,g.O);g.k=X.prototype;g.k.Yt=function(){return{}};
        g.k.Tl=function(){};
        g.k.Qa=function(a){this.Je();this.L(a)};
        g.k.Ps=function(){};
        g.k.Je=function(){RU(this,this.F,3);this.F=[]};
        g.k.getDuration=function(){return this.W.getDuration(2,!1)};
        g.k.ri=function(){var a=this.g;BU(a)||!OU(a,"impression")&&!OU(a,"start")||OU(a,"abandon")||OU(a,"complete")||OU(a,"skip")||(DU(a)?JU(a,"pause"):IU(a,"pause"))};
        g.k.Tg=function(){this.J||this.B||this.vb()};
        g.k.hc=function(){LU(this.g,this.getDuration())};
        g.k.gc=function(){var a=this.g;!OU(a,"impression")||OU(a,"skip")||OU(a,"complete")||JU(a,"abandon")};
        g.k.eg=function(){var a=this.g;if(DU(a))var b=!1;else b=a.g.O(),b=g.VE(b)&&!g.cF(b)&&g.P(a.g.O().experiments,"ensure_only_one_ads_termination_ping_for_bulleit_living_room")||g.P(a.g.O().experiments,"ensure_only_one_ads_termination_ping_for_bulleit")?!0:!1;b?!OU(a,"impression")||OU(a,"abandon")||OU(a,"complete")||IU(a,"skip"):IU(a,"skip")};
        g.k.vb=function(){if(!this.B){var a=UU(this);this.g.l.AD_CPN=a;KU(this.g);this.B=!0}};
        g.k.Ab=function(a){a=a||"";var b="",c="",d="";xU(this.W)&&(b=g.xP(this.W,2).g,this.W.app.u&&(c=this.W.app.u.Ld(),null!=this.W.app.u.oe()&&(d=this.W.app.u.oe())));var e=this.g;e.l=dU(e.l,bU(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));IU(e,"error")};
        g.k.fg=function(){};
        g.k.wv=function(){this.L("c")};
        g.k.xv=function(){this.L("h")};
        g.k.yv=function(){this.L("i")};
        g.k.zv=function(){this.L("j")};
        g.k.Av=function(){this.L("k")};
        g.k.Bv=function(){this.L("l")};
        g.k.Cv=function(){this.L("q")};
        g.k.dispose=function(){this.da()||(this.Je(),this.l.unsubscribe("c",this.wv,this),this.l.unsubscribe("h",this.xv,this),this.l.unsubscribe("i",this.yv,this),this.l.unsubscribe("j",this.zv,this),this.l.unsubscribe("k",this.Av,this),this.l.unsubscribe("l",this.Bv,this),this.l.unsubscribe("q",this.Cv,this),Nea(this.l,this),g.O.prototype.dispose.call(this))};
        g.k.Qr=function(){return""};g.t(VU,RP);VU.prototype.jc=function(){return!1};
        VU.prototype.Qb=function(){return!0};g.t(WU,FT);g.t(XU,X);XU.prototype.yb=function(){var a=this,b=new WU(this.A.Da,this.macros),c=this.W.getVideoData(2);g.P(this.W.O().experiments,"ignore_video_data_current_ad_check")&&c?ZU(this,c,b):c&&c.Xe&&YU(c,b)?ZU(this,c,b):(this.i=function(d,e,f){e&&2==f&&YU(e,b)&&e.Xe&&(a.i&&(a.W.removeEventListener("videodatachange",a.i),a.i=null),ZU(a,e,b))},this.W.addEventListener("videodatachange",this.i))};
        XU.prototype.fg=function(a){PU(this.g,a)};
        XU.prototype.S=function(){this.i&&(this.W.removeEventListener("videodatachange",this.i),this.i=null);X.prototype.S.call(this)};g.t($U,RP);$U.prototype.jc=function(){return!0};
        $U.prototype.Qb=function(){return!1};g.t(aV,FT);g.t(bV,X);g.k=bV.prototype;g.k.yb=function(){0<this.i&&this.vb()};
        g.k.vb=function(){var a=this;this.xa=new g.L(function(){a.hc();for(var b=g.r(a.o.Da.completionCommands||[]),c=b.next();!c.done;c=b.next())a.u.Ca(c.value,a.macros);a.Qa("f")},this.i,this);
        g.K(this,this.xa);this.xa.start();SU(this,[new aV(this.o.Da,this.macros)]);X.prototype.vb.call(this)};
        g.k.gc=function(){X.prototype.gc.call(this);this.Qa("a")};
        g.k.hc=function(){X.prototype.hc.call(this)};
        g.k.Qa=function(a){this.xa&&this.xa.stop();X.prototype.Qa.call(this,a)};g.t(cV,RP);cV.prototype.jc=function(){return!0};
        cV.prototype.Qb=function(){return!1};g.t(dV,RP);dV.prototype.jc=function(){return!0};
        dV.prototype.Qb=function(){return!1};g.t(eV,RP);eV.prototype.jc=function(){return!1};
        eV.prototype.Qb=function(){return!0};g.t(fV,RP);fV.prototype.jc=function(){return!1};
        fV.prototype.Qb=function(){return!0};g.t(gV,RP);gV.prototype.jc=function(){return!1};
        gV.prototype.Qb=function(){return!0};g.t(hV,RP);hV.prototype.jc=function(){return!0};
        hV.prototype.Qb=function(){return!0};g.t(iV,RP);iV.prototype.jc=function(){return!0};
        iV.prototype.Qb=function(){return!1};g.t(jV,RP);jV.prototype.jc=function(){return!1};
        jV.prototype.Qb=function(){return!0};g.t(kV,RP);kV.prototype.jc=function(){return!1};
        kV.prototype.Qb=function(){return!0};g.t(lV,RP);lV.prototype.jc=function(){return!0};
        lV.prototype.Qb=function(){return!1};g.t(mV,RP);mV.prototype.jc=function(){return!0};
        mV.prototype.Qb=function(){return!1};nV.prototype.create=function(a,b){return a instanceof TP?this.U.create(a,b):a instanceof hV?this.D.create(a,b):a instanceof gV?this.B.create(a,b):a instanceof kV?this.I.create(a,b):a instanceof UT?this.J.create(a,b):a instanceof jV?this.H.create(a,b):a instanceof fV?this.A.create(a,b):a instanceof $U?this.i.create(a,b):a instanceof iV?this.F.create(a,b):a instanceof VU?this.g.create(a,b):a instanceof mV?this.N.create(a,b):a instanceof lV?this.R.create(a,b):a instanceof dV?this.o.create(a,b):a instanceof
        cV?this.l.create(a,b):a instanceof eV?this.u.create(a,b):null};g.t(xV,X);g.k=xV.prototype;g.k.gc=function(){X.prototype.gc.call(this);this.Qa("a")};
        g.k.ri=function(){X.prototype.ri.call(this);this.L("m",2)};
        g.k.Tg=function(){X.prototype.Tg.call(this);this.L("n",1)};
        g.k.vb=function(){X.prototype.vb.call(this);this.i.stop();this.o.P(this.W,g.lJ("bltplayback"),this.pB);var a=new g.iJ(0x7ffffffffffff,0x8000000000000,{id:"bltcompletion",namespace:"bltplayback",priority:1});g.EP(this.W,[a],2);this.L("n",1)};
        g.k.hc=function(){X.prototype.hc.call(this);this.Qa("f")};
        g.k.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};
        g.k.yb=function(){zU(this.W,!1);var a=this.u.g||{};a.autoplay="1";this.W.cueVideoByPlayerVars(a,2);this.i.start();this.W.playVideo(2);this.W.ha("onAdIntroStateChange",1)};
        g.k.Qa=function(a){this.i.stop();zU(this.W,!0);"a"!=a&&dY(this.D.U);"a"!=a&&this.W.ha("onAdComplete");this.W.ha("onAdEnd");this.L(a);this.W.ha("onAdIntroStateChange",0)};
        g.k.pB=function(a){"bltcompletion"==a.getId()&&(g.lT(this.W.app,"bltplayback",2),LU(this.g,this.getDuration()))};g.t(ZV,FT);g.t($V,X);g.k=$V.prototype;g.k.yb=function(){0>=this.D&&(g.M(Error("durationMs was specified incorrectly with a value of: "+this.D)),this.hc());this.vb();this.W.addEventListener("progresssync",this.H)};
        g.k.gc=function(){X.prototype.gc.call(this);this.Qa("b")};
        g.k.vb=function(){var a=this.W.O();X.prototype.vb.call(this);this.o=Math.floor(this.W.getCurrentTime());this.i=this.o+this.D/1E3;g.VE(a)?this.W.ha("onAdMessageChange",{renderer:this.u.Da}):SU(this,[new ZV(this.u.Da)]);a=(a=this.W.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.KG();b&&zw("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.i,timeToAdBreakSec:Math.ceil(this.i-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.u.Da.videoAdBreakOffsetMs/1E3)});g.R(g.xP(this.W,1),
        512)&&(a=(a=this.W.getVideoData(1))&&a.clientPlaybackNonce||"",(b=g.KG())&&zw("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.i,timeToAdBreakSec:Math.ceil(this.i-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.u.Da.videoAdBreakOffsetMs/1E3)}),this.hc())};
        g.k.hc=function(){X.prototype.hc.call(this);this.Qa("f")};
        g.k.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};
        g.k.Qa=function(a){this.W.removeEventListener("progresssync",this.H);this.Je();this.L(a)};
        g.k.dispose=function(){this.W.removeEventListener("progresssync",this.H);X.prototype.dispose.call(this)};
        g.k.Je=function(){g.VE(this.W.O())?this.W.ha("onAdMessageChange",{renderer:null}):X.prototype.Je.call(this)};g.t(aW,FT);g.t(bW,X);bW.prototype.yb=function(){SU(this,[new aW(this.A.Da,this.macros)])};
        bW.prototype.fg=function(a){PU(this.g,a)};g.t(cW,FT);g.t(dW,X);dW.prototype.yb=function(){var a=new cW(this.A.Da,this.macros);SU(this,[a])};g.t(eW,X);eW.prototype.yb=function(){var a=UU(this);this.g.l.AD_CPN=a;KU(this.g)};g.t(fW,FT);g.t(gW,FT);g.t(hW,X);hW.prototype.yb=function(){var a;if(a=g.P(this.W.O().experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.i.Da,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new gW(this.i.Da,this.macros),SU(this,[a])):(a=new fW(this.i.Da,this.macros),SU(this,[a]))};g.t(iW,FT);g.t(jW,X);jW.prototype.yb=function(){this.vb()};
        jW.prototype.vb=function(){SU(this,[new iW(this.i.Da,this.macros)]);X.prototype.vb.call(this)};
        jW.prototype.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};g.t(oW,FT);g.t(pW,X);pW.prototype.yb=function(){var a=new oW(this.i.Da,this.macros);SU(this,[a])};g.t(qW,FT);g.t(rW,X);rW.prototype.yb=function(){var a=new qW(this.A.Da,this.macros);SU(this,[a])};
        rW.prototype.fg=function(a){PU(this.g,a)};g.t(sW,FT);g.t(tW,X);g.k=tW.prototype;g.k.Nd=function(){450>g.yP(this.W).getPlayerSize().width&&(g.Ox(this.aa),this.gc())};
        g.k.yb=function(){this.vb()};
        g.k.Tl=function(){this.i&&!g.P(this.W.O().experiments,"use_revamped_survey_design_for_desktop")&&(this.i.g=!0,Rea(this,[this.i]))};
        g.k.vb=function(){this.i=new sW(this.o.Da);this.i.g=this.o.i;SU(this,[this.i]);X.prototype.vb.call(this)};
        g.k.getDuration=function(){return this.o.g};
        g.k.gc=function(){X.prototype.gc.call(this);this.Qa("a")};
        g.k.eg=function(){X.prototype.eg.call(this);this.Qa("f")};
        g.k.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};
        g.k.Qa=function(a){this.Je();"a"!=a&&dY(this.u.U);this.L(a)};
        g.k.fg=function(a){switch(a){case "skip-button":this.eg();break;case "survey-submit":this.Qa("f")}};g.t(uW,FT);g.t(vW,X);vW.prototype.yb=function(){this.vb()};
        vW.prototype.vb=function(){SU(this,[new uW(this.i.Da,this.macros)]);X.prototype.vb.call(this)};
        vW.prototype.gc=function(){X.prototype.gc.call(this);this.Qa("a")};
        vW.prototype.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};g.t(wW,FT);g.t(xW,X);g.k=xW.prototype;g.k.yb=function(){0<this.i&&this.vb()};
        g.k.vb=function(){this.xa=new g.L(this.hc,this.i,this);g.K(this,this.xa);this.xa.start();SU(this,[new wW(this.o.Da)]);X.prototype.vb.call(this)};
        g.k.hc=function(){X.prototype.hc.call(this);this.Qa("f");for(var a=g.r(this.o.Da.completeCommands||[]),b=a.next();!b.done;b=a.next())this.u.Ca(b.value,this.macros)};
        g.k.gc=function(){X.prototype.gc.call(this);this.Qa("a")};
        g.k.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};
        g.k.Qa=function(a){this.xa&&this.xa.stop();X.prototype.Qa.call(this,a)};g.t(yW,g.J);yW.prototype.start=function(){this.da()||this.g||(this.l=(0,g.H)(),this.g=new g.L(this.u,Math.max(0,this.o-this.i),this),g.K(this,this.g),this.g.start())};
        yW.prototype.stop=function(){this.g&&(this.l=this.i=0,zW(this))};
        yW.prototype.pause=function(){this.g&&(this.i+=(0,g.H)()-this.l,zW(this))};
        yW.prototype.S=function(){zW(this);g.J.prototype.S.call(this)};g.t(AW,FT);g.t(BW,FT);g.t(CW,FT);g.t(DW,FT);g.t(EW,FT);g.t(FW,FT);g.t(GW,FT);g.t(HW,X);g.k=HW.prototype;g.k.Yt=function(){return{currentTime:this.W.getCurrentTime(2,!1),duration:this.i.g,isPlaying:yU(this.W),isVpaid:!1,isYouTube:!0,volume:this.W.isMuted()?0:this.W.getVolume()/100}};
        g.k.yb=function(){if(this.i.D)TU(this),this.Qa("g");else{var a=this.i.Da.legacyInfoCardVastExtension,b=this.i.o;a&&b&&this.W.O().A.add(b,{ek:a});try{var c=this.i.Da.sodarExtensionData;if(c&&c.siub&&c.bgub&&c.scs&&c.bgp){var d=c.siub,e=c.scs,f=c.bgp;a=window;var h="//pagead2.googlesyndication.com/bg/"+g.Ed(c.bgub)+".js",l=a.document;c={};e&&(c._scs_=e);c._bgu_=h;c._bgp_=f;c._li_="v_h.3.0.0.0";var m=a.GoogleTyFxhY;m&&"function"==typeof m.push||(m=a.GoogleTyFxhY=[]);m.push(c);var n=g.he(l).createElement("SCRIPT");
        n.type="text/javascript";n.async=!0;var p=Rc(new Hc(Fc,"//tpc.googlesyndication.com/sodar/%{path}"),{path:g.Ed(d)+".js"});Bd(n,p);l.getElementsByTagName("head")[0].appendChild(n)}}catch(q){g.M(q)}zU(this.W,!1);d=UP(this.i);e=this.W.O();g.P(this.W.O().experiments,"disable_force_iv_load_policy_on_bulleit")||(d.iv_load_policy=e.i||g.VE(e)||g.cF(e)?3:1);f=this.W.getVideoData(1);f.te&&(d.ctrl=f.te);f.ue&&(d.ytr=f.ue);f.kk&&(d.ytrcc=f.kk);f.isMdxPlayback&&(d.mdx="1");(g.P(this.W.O().experiments,"send_vss_credential_player_vars")||
        g.P(this.W.O().experiments,"send_vss_credential_player_vars_html5"))&&d.vvt&&(d.vss_credentials_token=d.vvt,f.Bh&&(d.vss_credentials_token_type=f.Bh),f.mdxEnvironment&&(d.mdx_environment=f.mdxEnvironment));this.Z&&this.L("p",-1);if(dF(e)||g.VE(e))e=MW(this),e=Zea(this.V,e,this.i.Da.adNextParams||""),e.attributionInfo=JW(this),this.W.ha("onAdInfoChange",e);this.I?this.D.start():(this.W.cueVideoByPlayerVars(d,2),this.D.start(),this.W.playVideo(2))}};
        g.k.ri=function(){X.prototype.ri.call(this);this.L("m",2)};
        g.k.Tg=function(){X.prototype.Tg.call(this);this.L("n",1)};
        g.k.vb=function(){X.prototype.vb.call(this);this.D.stop();this.R.P(this.W,g.lJ("bltplayback"),this.qB);var a=new g.iJ(0x7ffffffffffff,0x8000000000000,{id:"bltcompletion",namespace:"bltplayback",priority:1});g.EP(this.W,[a],2);a=IW(this);this.u.ca=a;if(g.P(this.W.O().experiments,"html5_enable_video_overlay_on_inplayer_slot")){var b=this.i;a=IW(this);var c=null!==this.u.g.getVideoData(1)?this.u.g.getVideoData(1).clientPlaybackNonce:"",d=this.U;Iw("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_RECEIVED",d.g);var e=
        [];b=b.Da;(b=b.playerOverlay&&b.playerOverlay.instreamAdPlayerOverlayRenderer)&&e.push(Ww(c,a,b));Iw("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",d.g,e);if(e.length)for(a=d.i,e=g.r(e),c=e.next();!c.done;c=e.next())a:{b=void 0;d=a;c=c.value;Ew("ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",c);try{var f=d.g;if(g.Lb(c.oj))throw new Nu("Slot ID was empty");if(jv(f,c))throw new Nu("Duplicate registration for slot.");if(!f.g.i[c.lc])throw new Nu("No fulfillment adapter registered for slot of type: "+
        c.lc);if(!f.g.o[c.lc])throw new Nu("No SlotAdapterFactory registered for slot of type: "+c.lc);lv(f,"trigger_category_slot_entry",c.nj);lv(f,"trigger_category_slot_fulfillment",c.Dp);lv(f,"trigger_category_slot_expiration",c.Cp);b:{for(var h=g.r(Object.values(iv(f,c.lc))),l=h.next();!l.done;l=h.next())for(var m=l.value.slot,n=g.r(c.nj),p=n.next();!p.done;p=n.next())for(var q=p.value,v=g.r(m.nj),x=v.next();!x.done;x=v.next())if(x.value.l(q)){b=!0;break b}b=!1}if(b)throw new Nu("Already registered slot with equivalent entry trigger.");
        }catch(eg){g.M(eg);break a}try{var B=d.g,C=iv(B,c.lc);if(jv(B,c))throw new Nu("Duplicate slots not supported");for(var E=new fv(c),F=g.r(c.nj),G=F.next();!G.done;G=F.next()){var N=G.value,Z=B.g.g[N.i];cv(Z,"trigger_category_slot_entry",N,c,null);E.F[N.g]=Z}for(var aa=g.r(c.Dp),ya=aa.next();!ya.done;ya=aa.next()){var Nc=ya.value,wc=B.g.g[Nc.i];cv(wc,"trigger_category_slot_fulfillment",Nc,c,null);E.B[Nc.g]=wc}for(var cg=g.r(c.Cp),Oc=cg.next();!Oc.done;Oc=cg.next()){var dg=Oc.value,ek=B.g.g[dg.i];cv(ek,
        "trigger_category_slot_expiration",dg,c,null);E.u[dg.g]=ek}E.A=B.g.i[c.lc];E.i=new Vu(B.o,c);C[c.oj]=E;B.i[c.lc]=C}catch(eg){g.M(eg);Nw(d,c,!0);break a}Ew("ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",c);b=jv(d.g,c);"not_scheduled"!==b.g&&pv(b.g,"onSlotScheduled");b.g="scheduled";d=g.r(d.i);for(b=d.next();!b.done;b=d.next())b.value.l(c)}}else f=[],l=this.W.O(),h=this.W.getVideoData(2),(dF(l)||g.VE(l))&&(m=h&&h.isListed?{channelId:h.uj,channelThumbnailUrl:h.Xe||"",channelTitle:h.author,videoTitle:h.title,
        channelVideoCount:0,showAdInfoIcon:!1,whyThisAdInfo:null,muteAdInfo:null}:null)&&this.W.ha("onAdMetadataAvailable",m),g.VE(l)||(g.cF(l)&&!this.u.g.getVideoData(1).le()&&(h&&h.videoId&&h.isListed&&h.videoId==this.i.o&&(l=h.title,m=h.author,h=h.Xe,l&&m&&h?h=[new CW(l),new BW(h),new DW(m)]:(g.M(Error("Channel metadata contains null for "+(l?m?"channel icon thumbnail.":"channel name.":"video title."),"WARNING")),h=[]),SU(this,h)),f.push(JW(this)),h=this.i.u,null==h?h=null:(l={},h.urlEndpoint&&(l.url=
        h.urlEndpoint.url,l.target="TARGET_NEW_WINDOW"),h=new GW({navigationEndpoint:{urlEndpoint:l}})),h&&f.push(h),this.i.isSkippable()&&!VP(this.i)&&(h=MW(this),(h=h.skipOrPreviewRenderer&&h.skipOrPreviewRenderer.skipAdRenderer)||(h=KW(this)),f.push(new FW(h)))),h=MW(this),f.push(new EW(h)),SU(this,f));this.W.isMuted()&&(f=this.g,h=this.W.isMuted(),DU(f)||IU(f,h?"mute":"unmute"));this.L("n",1);this.W.ha("onAdStart",IW(this));f=this.Y;h=this.i.o||"";(l=f.i.sb())&&l.getVideoData().videoId===h?f.g=yda(l.A):
        f.g=null;f=g.r(this.i.Da.impressionCommands||[]);for(h=f.next();!h.done;h=f.next())this.u.Ca(h.value,this.macros)};
        g.k.qB=function(a){"bltcompletion"==a.getId()&&(g.lT(this.W.app,"bltplayback",2),LU(this.g,this.getDuration()))};
        g.k.hc=function(){X.prototype.hc.call(this);this.Qa("f");for(var a=g.r(this.i.Da.completeCommands||[]),b=a.next();!b.done;b=a.next())this.u.Ca(b.value,this.macros);this.N=!0};
        g.k.gc=function(){X.prototype.gc.call(this);this.Qa("a")};
        g.k.eg=function(){X.prototype.eg.call(this);this.Qa("f")};
        g.k.Ab=function(a){X.prototype.Ab.call(this,a);this.Qa("g")};
        g.k.Qa=function(a){this.D.stop();this.o&&this.o.stop();this.Je();zU(this.W,!0);"a"!=a&&(dY(this.u.U),this.W.ha("onAdComplete"));this.W.ha("onAdEnd",IW(this));this.L(a)};
        g.k.Je=function(){X.prototype.Je.call(this);var a=this.W.O();(dF(a)||g.VE(a))&&(g.P(a.experiments,"enable_wta_for_unplugged_mdx")||g.cF(a)&&g.VE(a))&&this.W.ha("onAdInfoChange",null)};
        g.k.Tl=function(){this.lt&&this.W.playVideo()};
        g.k.Ps=function(a){this.o&&(g.Ly(a.state)?this.o.start():this.o.pause());g.P(this.W.O().experiments,"enable_reset_for_seek_ad_for_web")&&!this.I&&!this.N&&g.R(a.state,16)&&3<this.W.getCurrentTime(2,!1)&&rT(this.W.app,0,!0,void 0,2,!0)};
        g.k.lt=function(){return 2==this.W.getPlayerState(2)};
        g.k.fg=function(a){var b=this.g;if(xU(b.g))switch(a){case "ad-title":b.g.sendVideoStatsEngageEvent(14,void 0,2);break;case "ad-channel-thumbnail":case "advertiser-name":b.g.sendVideoStatsEngageEvent(15,void 0,2);break;case "visit-advertiser":b.g.sendVideoStatsEngageEvent(3,void 0,2)}switch(a){case "ad-mute-confirm-dialog-confirm-button":case "ad-feedback-dialog-close-button":case "ad-feedback-dialog-confirm-button":g.P(this.W.O().experiments,"enable_mute_ad_endpoint_resolution_on_bulleit")||this.Qa("f");
        break;case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.H||this.Tl();break;case "ad-info-icon-button":(this.H=this.lt())||this.W.pauseVideo();break;case "ad-channel-thumbnail":case "advertiser-name":a=this.W.O().protocol+"://";b=TE(this.W.O().u);g.pQ(a+("www.youtube-nocookie.com"==b?"www.youtube.com":b)+"/channel/"+this.i.R);break;case "ad-title":this.W.pauseVideo();g.pQ(this.W.getVideoUrl());break;case "visit-advertiser":this.W.pauseVideo();
        a=this.W.O();if(g.P(a.experiments,"send_visit_advertiser_click_tracking_in_component")&&!g.cF(a))break;g.cF(a)&&(a=this.i.u)&&(Qea(this.g,a.loggingUrls||null),a.urlEndpoint&&a.urlEndpoint.url&&g.pQ(a.urlEndpoint.url));a=this.g;BU(a)||JU(a,"clickthrough");break;case "skip-button":this.eg()}};
        g.k.Qr=function(a,b){if(this.i.D)return TU(this),this.Qa("g"),"";if(!Number.isFinite(a))return g.M(Error("Playing the video after the current media has finished is not supported")),"";if(b<=a)return g.M(Error("Start time is not earlier than end time")),"";var c=1E3*this.i.g,d=UP(this.i);d=pea(this.W.app.ka,d,c,a,b);if(a+c>b){c=b-a;for(var e=this.W.app.ka,f=void 0,h,l=g.r(e.i),m=l.next();!m.done;m=l.next())if(m=m.value,m.Jb==d){h=m;break}h&&(void 0==f&&(f=h.Mc),$R(e,h,c,f))}return d};
        g.k.dispose=function(){yU(this.W)&&!this.I&&this.W.stopVideo(2);X.prototype.dispose.call(this)};NW.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.identifier;var c=this.g[b];c?b=c:(c={Jg:null,wt:-Infinity},b=this.g[b]=c);c=a.g+a.i/1E3;if(!(c<b.wt)){b.wt=c;if(b.Jg){if(c<b.Jg.end){a:{c=b.Jg;switch(a.event){case "start":case "continue":case "stop":break;default:a=null;break a}a=c.start+a.durationSecs;a=a<c.start||c.end<=a?null:a}if(null!==a){b.Jg.end=a;b=this.i;c=1E3*a;b.i&&b.i.jm(c);for(var d=
        g.r(b.u.values()),e=d.next();!e.done;e=d.next())e.value.jm(c);b.ka.i(a)}return}b.Jg=null}a:if(c=a.g+a.durationSecs,c=0>=c?null:c,null===c)a=null;else{switch(a.event){case "start":case "continue":case "stop":break;default:a=null;break a}d=Math.max(a.g,0);a={hy:new g.vi(d,c),Fz:new iA(d,c-d,a.context,a.identifier,a.event,a.i)}}a&&(c=a.Fz,b.Jg=a.hy,this.i.Fu(c))}};
        NW.prototype.updateTime=function(){};g.t(OW,g.O);
        OW.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.g+a.i/1E3;if(!(b<this.o)){this.o=b;if(this.i){if(b<this.i.end&&(null===this.g||b-1<this.g)){a:{switch(a.event){case "start":case "continue":this.g=a.g+a.i/1E3+5;break;case "stop":this.g=null;break;case "predictStart":break a;default:break a}PW(this,this.i.start+a.durationSecs)}return}QW(this)}a:if(b=a.g+a.durationSecs,b=0>=b?null:b,null!==
        b){switch(a.event){case "start":case "continue":if(this.l.hasOwnProperty(a.identifier))break a;break;case "predictStart":case "stop":break a;default:break a}var c=Math.max(a.g,0);this.i=new g.vi(c,b);a=new iA(c,b-c,a.context,a.identifier,a.event,a.i);this.l[a.identifier]=null;this.g=a.g+a.i/1E3+5;this.L("Identified a new cuerange",a)}}};
        OW.prototype.updateTime=function(a){this.i&&(this.i.end<=a||!(null===this.g||a<this.g))&&QW(this)};g.t(RW,g.J);RW.prototype.i=function(a){g.Hb(this.g,1E3*a)};g.t(SW,g.J);g.t(TW,RP);XW.prototype.reset=function(){return new XW(this.i)};g.t(cX,g.O);g.k=cX.prototype;g.k.If=function(){var a=this.g;return a.g instanceof TP||a.g instanceof UT||a.g instanceof OT};
        g.k.Pi=function(){return this.g.g.Qb()};
        g.k.Za=function(){return this.g.Za()};
        g.k.yl=function(){return XT(this.g)};
        g.k.Go=function(){return WT(this.g)};
        g.k.In=function(a){if(!CT(a)){this.H&&(this.N=this.W.isAtLiveHead(),this.R=Math.ceil((0,g.H)()/1E3));var b=new $W(this.Kb);a=aX(a);bX(b,a)}this.Qi()};
        g.k.Zg=function(){return this.u instanceof kV||this.u instanceof fV||this.u instanceof VU||this.u instanceof TW||this.u instanceof eV};
        g.k.ht=function(){return!(this.u instanceof jV)&&!this.Zg()};
        g.k.Ei=function(){return this.u instanceof TP};
        g.k.Qi=function(){vY(this.Kb,this);if(!this.g.A.hasOwnProperty("ad_placement_start")){for(var a=g.r(this.g.H),b=a.next();!b.done;b=a.next())eX(b.value);this.g.A.ad_placement_start=!0}a=this.B;a.l=!1;mH("video_to_ad",["apbs"],void 0,g.P(a.i.O().experiments,"video_to_ad_use_gel")||!1);this.fv()};
        g.k.fv=function(){this.u?this.yb(this.u):this.tf()};
        g.k.qg=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;BY(this.Kb,0);this.tf(a,b)};
        g.k.tu=function(){this.qg()};
        g.k.dC=function(){IU(this.i.g,"active_view_measurable")};
        g.k.eC=function(){var a=this.i.g;BU(a)||DU(a)&&OU(a,"seek")||IU(a,"active_view_fully_viewable_audible_half_duration")};
        g.k.fC=function(){};
        g.k.gC=function(){};
        g.k.hC=function(){};
        g.k.iC=function(){};
        g.k.kC=function(){var a=this.i.g;BU(a)||DU(a)&&OU(a,"seek")||IU(a,"active_view_viewable")};
        g.k.qs=function(){return this.Ei()?[this.Ek()]:[]};
        g.k.Io=function(a){if(null!==this.i){this.J||(a=new g.TI(a.state,new g.By),this.J=!0);this.i.Ps(a);var b=a.state;this.U&&g.R(b,1024)?this.i.Ab("dom_paused"):g.VI(a,2)?(b=this.B,b.J?ZW(b):(b.l=!1,mH("ad_to_ad",["apbs"],void 0,!0)),this.i.hc()):(g.P(this.W.O().experiments,"html5_bulleit_handle_gained_playing_state")?g.Iy(a.state)&&!g.Iy(a.g):g.Iy(a.state))?(b=this.B,b.D&&!b.l&&(b.I=!1,b.l=!0,"ad_to_video"!=b.g&&SH("apbs",void 0,b.g)),this.i.Tg()):b.isError()?this.i.Ab(b.i.errorCode):g.VI(a,4)&&(this.I||
        this.i.ri());if(g.VI(a,16)&&(b=this.i.g,!BU(b))){var c=b.i;if(c.xi()){c=c.B;var d=void 0===d?{}:d;(d=lp.getInstance().Hk(c,d))&&Zk(d)}b.i.A.seek=!0}0>UI(a,4)&&!(0>UI(a,2))&&(d=this.i.g,BU(d)||(DU(d)?JU(d,"resume"):IU(d,"resume")));!g.P(this.W.O().experiments,"html5_dai_handle_suspended_state_killswitch")&&this.Cb&&g.VI(a,512)&&!g.Ly(a.state)&&ZW(this.B)}};
        g.k.au=function(){};
        g.k.resume=function(){this.i&&this.i.Tl()};
        g.k.Ho=function(){this.i&&this.i.Qa("f")};
        g.k.Ri=function(){this.Ho()};
        g.k.Zt=function(a){var b=this.Kb;b.l&&g.P(b.g.O().experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.g.ha("onAdUxUpdate",a)};
        g.k.onAdUxClicked=function(a){this.i.fg(a)};
        g.k.ks=function(){return 0};
        g.k.os=function(){return 1};
        g.k.jm=function(a){this.Cb&&this.g.B&&this.g.Za().start<=a&&a<iX(this)&&QP(this.W,a,this.g.Za().end)};
        g.k.yb=function(a){g.Zj(this.i);this.i=a=this.cf.create(a,cU(aU(this.g)));a.subscribe("a",g.Xa(this.qg,!0),this);a.subscribe("b",g.Xa(this.qg,!0,!0),this);a.subscribe("c",this.dC,this);a.subscribe("f",this.qg,this);a.subscribe("g",this.tu,this);a.subscribe("h",this.eC,this);a.subscribe("i",this.fC,this);a.subscribe("j",this.gC,this);a.subscribe("k",this.hC,this);a.subscribe("l",this.iC,this);a.subscribe("m",this.Ln,this);a.subscribe("n",this.Ln,this);a.subscribe("p",this.Ln,this);a.subscribe("onAdUxUpdate",
        this.Zt,this);a.subscribe("q",this.kC,this);QU(a);fX(this,!1)};
        g.k.tf=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.I=!0;g.Zj(this.i);if(a)var c=!1;else this.Cb?(c=this.W.getCurrentTime(2,!0),c=1>=Math.abs(c-this.g.Za().end/1E3)):c=!0;if(c&&!this.g.A.hasOwnProperty("ad_placement_end")){c=g.r(this.g.F);for(var d=c.next();!d.done;d=c.next())eX(d.value);this.g.A.ad_placement_end=!0}c=this.g.u;null!==c&&(WW(this.Rd,{cueIdentifier:this.g.i&&this.g.i.identifier,driftRecoveryMs:c,ev:this.g.Za().start,xt:iX(this)}),this.g.u=null);b||this.Cb?tY(this.Kb,!0):this.H&&
        this.Go()&&this.Ei()?tY(this.Kb,!1,lfa(this)):tY(this.Kb,!1);fX(this,!0)};
        g.k.Ln=function(a){BY(this.Kb,a)};
        g.k.Ek=function(){return this.u};
        g.k.isLiveStream=function(){return this.H};
        g.k.reset=function(){return new cX(this.Kb,this.W,this.B.reset(),this.g,this.Rd,this.Kg,this.cf,this.Cb)};
        g.k.S=function(){g.Zj(this.i);this.i=null;g.O.prototype.S.call(this)};kX.prototype.create=function(a){return(a.g instanceof OT?this.o:a.g instanceof TW?this.l:""===a.o?this.g:this.i)(a)};g.t(mX,g.O);g.k=mX.prototype;g.k.Za=function(){return this.g.Za()};
        g.k.yl=function(){return XT(this.g)};
        g.k.Go=function(){return WT(this.g)};
        g.k.Zg=function(){return!1};
        g.k.Pi=function(){return!1};
        g.k.onAdUxClicked=function(){};
        g.k.In=function(a){var b=this;if(1!==this.g.l&&2!==this.g.l){var c=[];this.yl()||(c=aX(a));this.g.l=1;jn(this.A.fetch(this.g.o,{gy:this.g.i||void 0,tc:this.g.Za(),lw:Dfa(this.i.U)}).then(function(d){if(!b.da()){var e=c;if(!g.P(b.u.O().experiments,"enable_client_deferred_full_screen_filtering_for_mweb_phones")||!b.u.isFullscreen()){d=qfa(b,d);var f=b.o;f.i&&d.isEmpty&&VW("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.g.clientPlaybackNonce);d.jt||!lX(b.g.o)&&d.isEmpty&&b.B||(b.g.l=2,bX(new $W(b.i),e),lX(b.g.o)&&
        (f=b.i,e=f.Y,f.Y=null,e&&(d.Lm.some(nfa)&&(e.renderer.backfillMpuCompanionAdRenderer.type="BACKFILL_MPU_TYPE_AFV"),f=b.i,e=[e],e=oY(f,e),rY(f,e),b.l=!0)),d.isEmpty||(e=b.i,d=d.Lm,d=oY(e,d),rY(e,d)))}}},function(){bX(new $W(b.i),c);
        var d=b.o;d.i&&VW("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.g.clientPlaybackNonce)}),function(){2!==b.g.l&&(b.g.l=0);
        (b.yl()||b.l)&&qY(b.i)})}};
        g.k.Qi=function(){};
        g.k.jm=function(){};g.t(nX,g.J);nX.prototype.append=function(a){if(!this.D)throw Error("This does not support the append operation");this.Vj(a.ga())};
        nX.prototype.Vj=function(a){this.ga().appendChild(a)};
        g.t(oX,nX);oX.prototype.ga=function(){return this.g};g.t(qX,g.J);var G0=new WeakSet;g.t(Y,g.Gz);g.k=Y.prototype;g.k.Fg=function(a){a.append(this.Ja)};
        g.k.bind=function(a){if(this.ma)this.Bl(a);else if(a.renderer){var b=Object.assign({},pX(this.api,this.ea),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()};
        g.k.init=function(a,b,c){this.ma=a;this.element.setAttribute("id",this.ma);this.Aa&&g.$q(this.element,this.Aa);this.I=b&&b.adRendererCommands;this.macros=c;this.D=b.trackingParams||null;null!=this.D&&uX(this,this.element,this.D)};
        g.k.Bl=function(){};
        g.k.clear=function(){};
        g.k.hide=function(){g.Gz.prototype.hide.call(this);null!=this.D&&vX(this,this.element,!1)};
        g.k.show=function(){g.Gz.prototype.show.call(this);if(!this.Oa){this.Oa=!0;var a=this.I&&this.I.impressionCommand;a&&this.ea.Ca(a,this.macros,null)}null!=this.D&&vX(this,this.element,!0)};
        g.k.onClick=function(a){if(this.D&&!G0.has(a)){var b=this.element;LP(this.api,b)&&this.ib()&&JP(this.api,b);G0.add(a)}(a=this.I&&this.I.clickCommand)&&this.ea.Ca(a,this.macros,this.us())};
        g.k.us=function(){return null};
        g.k.HB=function(a){var b=this.U;b.B=!0;b.i=a.touches.length;b.g.isActive()&&(b.g.stop(),b.u=!0);a=a.touches;b.A=rX(b,a)||1!=a.length;var c=a.item(0);b.A||!c?(b.D=Infinity,b.F=Infinity):(b.D=c.clientX,b.F=c.clientY);for(c=b.l.length=0;c<a.length;c++){var d=a.item(c);b.l.push(d.identifier)}};
        g.k.GB=function(a){var b=this.U;a=a.changedTouches.item(0);var c;if(c=Od()){c=g.Yb;var d="";Zb("Windows")?(d=/Windows (?:NT|Phone) ([0-9.]+)/,d=(c=d.exec(c))?c[1]:"0.0"):Od()?(d=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,d=(c=d.exec(c))&&c[1].replace(/_/g,".")):Zb("Macintosh")?(d=/Mac OS X ([0-9_.]+)/,d=(c=d.exec(c))?c[1].replace(/_/g,"."):"10"):Ub(g.Yb,"KaiOS")?(d=/(?:KaiOS)\/(\S+)/i,d=(c=d.exec(c))&&c[1]):Zb("Android")?(d=/Android\s+([^\);]+)(\)|;)/,d=(c=d.exec(c))&&c[1]):Zb("CrOS")&&(d=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,
        d=(c=d.exec(c))&&c[1]);c=!(0<=g.Xb(d||"",8))}if(c||a&&Math.pow(a.clientX-b.D,2)+Math.pow(a.clientY-b.F,2)>Math.pow(5,2))b.o=!0};
        g.k.FB=function(a){if(this.U){var b=this.U,c=a.changedTouches;c&&b.B&&1==b.i&&!b.o&&!b.u&&!b.A&&rX(b,c)&&(b.H=a,b.g.start());b.i=a.touches.length;0===b.i&&(b.B=!1,b.o=!1,b.l.length=0);b.u=!1}};
        g.k.S=function(){this.clear(null);this.bb(this.za);for(var a=g.r(this.Y),b=a.next();!b.done;b=a.next())this.bb(b.value);g.Gz.prototype.S.call(this)};g.t(xX,g.J);xX.prototype.S=function(){this.i&&g.Wv(this.i);this.g.clear();yX=null;g.J.prototype.S.call(this)};
        xX.prototype.register=function(a,b){b&&this.g.set(a,b)};
        var yX=null;g.t(CX,nX);CX.prototype.addEventListener=function(a,b){this.A.subscribe(a,b)};
        CX.prototype.removeEventListener=function(a,b){this.A.unsubscribe(a,b)};
        CX.prototype.dispatchEvent=function(a){this.A.L(a.type,a)};g.t(DX,g.J);g.k=DX.prototype;g.k.Fg=function(a){a.append(this.view)};
        g.k.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.l&&this.l!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.l=c;var d=this.view,e=this.jb,f=d.ga();e.O().D&&rS(e.app.ma,f,d);IP(e,f,c)}this.i=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.Ih(a)};
        g.k.ib=function(){return this.o};
        g.k.show=function(){this.view.show();this.o=!0;var a=this.jb,b=this.view.ga();LP(a,b)&&KP(a,b,!0);this.qk(this.i);this.i=[]};
        g.k.hide=function(){this.Qn();this.o=!1;var a=this.jb,b=this.view.ga();LP(a,b)&&KP(a,b,!1)};
        g.k.Qn=function(){this.view.hide()};
        g.k.onClick=function(a){a=void 0===a?{}:a;this.Xi(a);if(this.ib()){a=this.jb;var b=this.view.ga();LP(a,b)&&JP(a,b)}};
        g.k.Ca=function(a){this.Fh.Ca(a,EX(this))};
        g.k.qk=function(a){var b=this,c=EX(this);a.forEach(function(d){return b.Fh.Ca(d,c)})};g.t(FX,g.O);g.k=FX.prototype;g.k.ga=function(){return this.g.element};
        g.k.show=function(){if(!this.g.ib()){this.aa.P(document,"click",this.KA);this.g.show();var a=this.ga();a:{var b=this.o;if(g.oe&&!g.Xd(8))var c=b.offsetParent;else{c=fe(b);var d=g.Yg(b,"position"),e="fixed"==d||"absolute"==d;for(b=b.parentNode;b&&b!=c;b=b.parentNode)if(11==b.nodeType&&b.host&&(b=b.host),d=g.Yg(b,"position"),e=e&&"static"==d&&b!=c.documentElement&&b!=c.body,!e&&(b.scrollWidth>b.clientWidth||b.scrollHeight>b.clientHeight||"fixed"==d||"absolute"==d||"relative"==d)){c=b;break a}c=null}}c=
        g.kh(c).width;d=g.kh(this.o);e=ah(this.o);a.style.top=e.y+d.height+"px";a.style.right=c-e.x-d.width+"px"}};
        g.k.hide=function(){this.g.ib()&&(this.g.hide(),g.Ox(this.aa))};
        g.k.setTitle=function(a){a?this.l.show():this.l.hide();this.l.qd(HX(a))};
        g.k.KA=function(a){this.g.ib()&&(a=a.target,g.Fe(this.o,a)||(g.Fe(this.i.g["ytp-ad-info-dialog-confirm-button"],a)?this.L("confirmClick"):g.Fe(this.g.element,a)||this.L("externalClick")))};
        var tfa={zH:"confirmClick",VH:"externalClick"};g.t(IX,CX);IX.prototype.setTitle=function(a){this.g.setTitle(a)};
        IX.prototype.show=function(){this.g.show()};
        IX.prototype.hide=function(){this.g.hide()};
        IX.prototype.ga=function(){return this.g.ga()};var ufa={Tw:IX},Gha=["confirmClick","externalClick"];g.t(JX,DX);g.k=JX.prototype;g.k.Ih=function(a){var b=this.fc();a=a.renderer;var c=b.g,d=a.confirmLabel||null;d?c.i.show():c.i.hide();c.i.qd(HX(d));b.setTitle(a.title||null);b.g.g.qd(HX(a.dialogMessage||null));g.ze(GX(b.g));c=g.r(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())GX(b.g).appendChild(g.ue("li",null,HX(d.value)));this.g=a.confirmServiceEndpoint||null;return Promise.resolve()};
        g.k.Qn=function(){DX.prototype.Qn.call(this);this.g&&(this.Ca(this.g),this.g=null)};
        g.k.Xi=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}};
        g.k.fc=function(){return this.view};
        g.k.Hc=function(){function a(e){return b.onClick(e)}
        for(var b=this,c=g.r(Gha),d=c.next();!d.done;d=c.next())this.aa.P(this.view,d.value,a)};g.t(KX,Y);g.k=KX.prototype;g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);(a=(a=b.button&&b.button.buttonRenderer&&b.button.buttonRenderer.navigationEndpoint&&b.button.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint)&&a.dialog&&a.dialog.adInfoDialogRenderer)?(b.hoverText?(b=BX(b.hoverText),Ae(this.l,b,0)):this.l=null,this.Pd.bind({renderer:a,macros:c}),this.show()):g.M(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
        g.k.Pn=function(){this.l&&g.lh(this.l,!1)};
        g.k.MA=function(){this.Pd.ib()||this.l&&g.lh(this.l,!0)};
        g.k.LA=function(){this.Pd.show();this.Pn()};
        g.k.clear=function(){this.hide()};g.t(LX,TW);LX.prototype.jc=function(){return!1};
        LX.prototype.Qb=function(){return!0};
        LX.prototype.g=function(){var a=this.Da,b=new Kea;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=MX(a.impressionCommands||[]);b.clickTrackingUrls=MX(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new rU;a.iframeCompanionRenderer=b;return a};g.t(NX,X);g.k=NX.prototype;g.k.In=function(a){if(!CT(a)){var b=new $W(this.H);a=aX(a);bX(b,a)}this.Qi()};
        g.k.Qi=function(){var a=this;if(this.i instanceof LX){var b=this.W.getVideoData(2);if(!b||b.Sc||null==this.i.Da||this.i.Da.adVideoId!=b.videoId){this.o=function(c,d,e){if(d&&2==e&&null!=a.i.Da&&a.i.Da.adVideoId==d.videoId||g.P(a.W.O().experiments,"ignore_video_data_current_ad_check"))a.o&&(a.W.removeEventListener("videodatachange",a.o),a.o=null),d.isListed&&QU(a)};
        this.W.addEventListener("videodatachange",this.o);return}if(!b.isListed)return}QU(this)};
        g.k.yb=function(){var a=this;vY(this.H,this);var b=this.W.getVideoData(1),c=this.i.g();null!=c&&(c.macros=Object.assign({},this.macros),this.I.showCompanion(b.videoId,c));if(this.i instanceof LX){this.D=function(d){var e;if(e=d.data)try{e=zt(d.source.document.location.origin)}catch(h){e=!1}if(e)if(e=a.i.Da,"companion-setup-complete"==d.data)try{d.source.postMessage(JSON.stringify(e),"*");var f=d.source.frameElement;f.parentNode.style.cssText="";f.width=String(e.iframeWidth);f.height=String(e.iframeHeight)}catch(h){g.Bs(h)}else"pause-video"==
        d.data&&a.W.pauseVideo()};
        try{window.addEventListener("message",this.D)}catch(d){g.M(d)}}};
        g.k.onAdUxClicked=function(a){PU(this.g,a)};
        g.k.Za=function(){return this.u.Za()};
        g.k.yl=function(){return XT(this.u)};
        g.k.Go=function(){return WT(this.u)};
        g.k.Zg=function(){return!0};
        g.k.Pi=function(){return this.u.g.Qb()};
        g.k.jm=function(){};
        g.k.S=function(){if(this.D)try{window.removeEventListener("message",this.D),this.D=null}catch(a){g.M(a)}this.o&&(this.W.removeEventListener("videodatachange",this.o),this.o=null);X.prototype.S.call(this)};var vfa=Object.freeze([$U,cV,UT,lV,mV,TP]);g.t(PX,cX);g.k=PX.prototype;g.k.qs=function(){for(var a=this.o.g,b=g.r(a),c=b.next();!c.done;c=b.next());return a};
        g.k.ht=function(){return(0>=this.A?this.o.g:this.o.g.slice(this.A)).some(function(a){return a.jc()})};
        g.k.Ei=function(){return this.D instanceof TP||this.D instanceof cV};
        g.k.fv=function(){this.Cb?xU(this.W)&&dX(this):(this.o.o||QX(this),RX(this))};
        g.k.yb=function(a){var b=OX(a);this.D&&b&&this.F!==b&&(b?uY(this.Kb):zY(this.Kb),this.F=b);this.D=a;this.Cb&&(this.A=this.o.g.findIndex(function(c){return c===a}));
        cX.prototype.yb.call(this,a)};
        g.k.tf=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.l&&(g.Zj(this.l),this.l=null);cX.prototype.tf.call(this,a,b)};
        g.k.Ri=function(){this.A=this.o.g.length;this.l&&this.l.Qa("f");this.i&&this.i.Qa("f");this.tf()};
        g.k.au=function(){RX(this)};
        g.k.Ho=function(){this.qg()};
        g.k.Io=function(a){cX.prototype.Io.call(this,a);a=a.state;g.R(a,2)&&this.l?this.l.hc():g.Iy(a)?(null==this.l&&QX(this),this.l&&this.l.Tg()):a.isError()&&this.l&&this.l.Ab(a.i.errorCode)};
        g.k.qg=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.Cb||(BY(this.Kb,0),a?this.tf(a,b):RX(this))};
        g.k.tu=function(){1==this.o.i?this.tf():this.qg()};
        g.k.onAdUxClicked=function(a){cX.prototype.onAdUxClicked.call(this,a);this.l&&this.l.fg(a)};
        g.k.Ek=function(){var a=0>=this.A?this.o.g:this.o.g.slice(this.A);return 0<a.length?a[0]:null};
        g.k.S=function(){g.Zj(this.l);this.l=null;cX.prototype.S.call(this)};
        g.k.If=function(){return this.F};
        g.k.Pi=function(){return this.o.g.every(function(a){return a.Qb()})};
        g.k.reset=function(){return new PX(this.Kb,this.W,this.B.reset(),this.g,this.Rd,this.Kg,this.cf,this.Cb)};
        g.k.ks=function(){return this.A};
        g.k.os=function(){return this.o.g.length};g.t(SX,TW);SX.prototype.jc=function(){return!1};
        SX.prototype.Qb=function(){return!0};
        SX.prototype.g=function(){var a=new rU;a.imageCompanionAdRenderer=this.Da;return a};g.t(TX,OT);g.t(UX,OT);g.t(VX,OT);WX.prototype.create=function(a,b){function c(G){return new TP(G,d.i,b||"AD_PLACEMENT_KIND_UNKNOWN")}
        var d=this,e=a.instreamVideoAdRenderer,f=a.clientForecastingAdRenderer,h=a.invideoOverlayAdRenderer,l=a.videowallIframeCompanionAdRenderer,m=a.imageCompanionAdRenderer,n=a.instreamSurveyAdRenderer,p=a.plaShelfRenderer,q=a.sandwichedLinearAdRenderer,v=a.shoppingCompanionCarouselRenderer,x=a.backfillMpuCompanionAdRenderer,B=a.actionCompanionAdRenderer,C=a.multipleInstreamVideoAdRenderer,E=a.linearAdSequenceRenderer,F=a.adsEngagementPanelRenderer;return null!=e&&e.playerVars?c(e):null!=f?new gV(f):null!=
        h?new hV(h):null!=l?new LX(l):null!=m?new SX(m):null!=n?new UT(n):null!=q?new VX(q,c,this.g):null!=C?new UX(C,c):null!=p?new jV(p):null!=v?new kV(v):null!=x?new fV(x):null!=B?new VU(B):null!=E?new TX(E,c):null!=F?new eV(F):null};XX.prototype.create=function(a,b,c,d){d=void 0===d?null:d;var e=[];c=void 0===c?0:c;if(d){d=g.r(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var h=b,l=new AT(h.o,h.l,h.A,h.u),m=h.g;m&&(l.g=new iA(m.g,m.durationSecs,m.context,m.identifier,m.event,m.i));h.i&&(l.i=h.i);l.visible=h.visible;h=l;h.g=f;e.push(YX(this,a[0],c,h));c++}}else for(a=g.r(a),d=a.next();!d.done;d=a.next())e.push(YX(this,d.value,c,b)),c++;return e};g.t(ZX,g.J);g.t(aY,g.J);aY.prototype.addEventListener=function(a,b){this.g=b};
        aY.prototype.removeEventListener=function(){this.g=null};
        g.t(bY,g.J);bY.prototype.addEventListener=function(a,b,c){this.g.addEventListener(a,b,c)};
        bY.prototype.removeEventListener=function(a,b){this.g.removeEventListener(a,b)};g.t(cY,g.J);var eY=null,gY=null,iY=null,kY=null;g.Ka("yt.www.ads.eventcache.getLastCompanionData",function(){return eY},void 0);
        g.Ka("yt.www.ads.eventcache.getLastPlaShelfData",function(){return gY},void 0);
        g.Ka("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction",function(){return iY},void 0);
        g.Ka("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction",function(){return kY},void 0);g.t(nY,g.O);g.k=nY.prototype;
        g.k.init=function(){var a=this.g.getVideoData(1);if(a.Sm||g.ys("SERVED_VIA_SPF_HISTORY"))g.P(this.g.O().experiments,"directly_unlock_preroll_on_cached_playbacks_for_bulleit")?this.J():qY(this);else{var b=tI(this.g);b.addEventListener("updateKevlarOrC3Companion",fY);b.addEventListener("onPlaShelfInfoCardsReady",hY);b.addEventListener("updateEngagementPanelAction",jY);b.addEventListener("changeEngagementPanelVisibility",lY);window.addEventListener("yt-navigate-start",mY);this.aa.P(this.g,"applicationplayerstatechange",
        this.lB);this.aa.P(this.g,g.lJ("ad"),this.xl,this);this.aa.P(this.g,"crx_ad",this.mB,this);this.aa.P(this.g,"aduxclicked",this.jC);this.aa.P(this.g,"videodatachange",this.oB);b=a.getPlayerResponse()||{};b=Efa(b);b=Gfa(this,b);b=oY(this,b);0<b.length&&rY(this,b);this.D&&(a.subscribe("cuepointupdated",this.Uo,this),this.l&&a.fa&&this.Uo(UC(a.fa,0)));qY(this);g.Pm(this.nG,this)}};
        g.k.S=function(){this.V=!0;g.Ox(this.aa);this.D&&this.g.getVideoData(1).unsubscribe("cuepointupdated",this.Uo,this);var a=tI(this.g);a.removeEventListener("updateKevlarOrC3Companion",fY);a.removeEventListener("onPlaShelfInfoCardsReady",hY);a.removeEventListener("updateEngagementPanelAction",jY);a.removeEventListener("changeEngagementPanelVisibility",lY);window.removeEventListener("yt-navigate-start",mY);kY=iY=eY=null;a=g.r(this.u.values());for(var b=a.next();!b.done;b=a.next())yY(this,b.value);tY(this,
        !1);this.B.clear();this.R=[];this.H.clear();g.Zj(this.o);this.o=null;g.Zj(this.F);this.F=new Map;this.u.clear();g.O.prototype.S.call(this)};
        g.k.xl=function(a){if(!a.g&&(!DT(a)||a.contains(1E3*this.g.getCurrentTime()||0))){var b=g.xP(this.g,1);g.R(b,32)||g.R(b,16)?this.H.add(a):(b=this.u.get(a))?((this.l?0:g.P(this.g.O().experiments,"enable_eviction_protection_for_bulleit"))?b.Zg()&&this.o?this.o.Pi():!b.Zg()&&this.i?this.i.Pi():1:1)?b.In(a):a.g=!0:(b=Error("coordinator not found"),b.params=a.toString(),g.M(b))}};
        g.k.mB=function(a){a.g&&(a.g=!1);this.H["delete"](a)};
        g.k.Uo=function(a){ffa(this.Aa,a);if(null==this.D)g.M(Error("Dynamically inserted ad was requested, but no cuepoint AdPlacementRenderer was present to fulfill the request."));else if(this.l){a=g.r(a);for(var b=a.next();!b.done;b=a.next())this.ia.reduce(b.value)}else 0!=(this.g.getCurrentTime()||0)&&(a=a.filter(function(c){return"start"==c.event}),rY(this,[this.D],a))};
        g.k.Fu=function(a){rY(this,[this.D],[a])};
        g.k.mD=function(a){QP(this.g,1E3*a)};
        g.k.nB=function(a){this.i&&this.i.Io(a)};
        g.k.lB=function(a){0>UI(a,16)&&(this.H.forEach(this.xl,this),this.H.clear())};
        g.k.oB=function(){if(this.i){var a=this.i;a.Cb&&dX(a)}if(this.l){a=1E3*this.g.getCurrentTime();for(var b=g.r(this.u.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,c.start<=a&&a<c.end){this.xl(c);break}}};
        g.k.iF=function(){var a=null;this.l&&(a=this.g.getCurrentTime(),this.ia.updateTime(a));if(xU(this.g)&&this.i){var b=this.g.getCurrentTime(2,!1),c=this.i,d=c.i;d.B&&GU(d.g,b,d.getDuration());if(null!==a&&(b=c.g.u,!(null===b||g.P(c.W.O().experiments,"html5_dai_drift_recovery_killswitch")||(d=c.g.Za().start,1E3*a<d+b)))){c.g.u=null;var e=iX(c),f=Math.min(a+eT(c.W.app),e/1E3),h=c.g.i&&c.g.i.identifier;a<f?(c.W.seekTo(f,void 0,void 0,1),c=c.Rd,a*=1E3,f*=1E3,c.i&&UW({driftRecoveryInfo:{contentCpn:c.g.clientPlaybackNonce,
        cueIdentifier:h||void 0,driftRecoveryMs:b.toString(),breakDurationMs:Math.round(e-d).toString(),driftFromHeadMs:Math.round(1E3*eT(c.l.app)).toString(),appliedDriftRecoveryMs:Math.round(a-d).toString(),destinationMs:Math.round(f-d).toString()}})):WW(c.Rd,{cueIdentifier:h,driftRecoveryMs:b,ev:d,xt:e})}}};
        g.k.cC=function(){this.sa=!0;this.i&&this.i.i.gc()};
        g.k.jC=function(a){if(this.i)this.i.onAdUxClicked(a);if(this.o)this.o.onAdUxClicked(a)};
        g.k.jF=function(){if(2==this.g.getPresentingPlayerType()&&this.i){var a=this.i.i,b=a.g;a=a.W.isMuted();DU(b)||IU(b,a?"mute":"unmute")}};
        g.k.iD=function(a){if(this.i){var b=this.i.i.g;BU(b)||JU(b,a?"fullscreen":"end_fullscreen")}};
        g.k.nG=function(){for(var a=[],b=g.r(this.B),c=b.next();!c.done;c=b.next())c=c.value,CT(c)||a.push(c);b=this.g.app;1!=b.getPresentingPlayerType()||ES(b,"cuerangemarkersupdated",a)};
        g.k.seekTo=function(a){wY(this)&&this.g.sb().seekTo(a,!0)};
        g.k.resume=function(){this.i&&this.i.resume()};
        g.k.Ca=function(a,b,c){this.Ga.Ca(a,b,Jfa(this,void 0===c?null:c))};
        g.k.hs=function(){return this.ma};g.t(DY,Y);DY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b=(a=b.thumbnail)&&CY(a)||"";g.Lb(b)?(g.P(this.api.O().experiments,"web_player_ad_image_error_rate_sampling_killswitch")||.01>Math.random())&&g.Bs(Error("Found AdImage without valid image URL")):(this.l?g.Sg(this.element,"backgroundImage","url("+b+")"):me(this.element,{src:b}),me(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())};
        DY.prototype.clear=function(){this.hide()};g.t(FY,Y);
        FY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.l=b;if(null==b.text&&null==b.icon)g.Bs(Error("ButtonRenderer did not have text or an icon set."));else{switch(b.style||null){case "STYLE_UNKNOWN":a="ytp-ad-button-link";break;default:a=null}null!=a&&g.$q(this.element,a);null!=b.text&&(a=g.zH(b.text),g.Lb(a)||(this.element.setAttribute("aria-label",a),this.A=new g.Gz({C:"span",G:"ytp-ad-button-text",X:a}),g.K(this,this.A),this.A.i(this.element)));null!=b.icon&&(b=EY(b.icon),null!=
        b&&(this.o=new g.Gz({C:"span",G:"ytp-ad-button-icon",M:[b]}),g.K(this,this.o)),this.B?Ae(this.element,this.o.element,0):this.o.i(this.element))}};
        FY.prototype.clear=function(){this.hide()};
        FY.prototype.onClick=function(a){var b=this;Y.prototype.onClick.call(this,a);Nfa(this).forEach(function(c){return b.ea.Ca(c,b.macros)});
        this.api.onAdUxClicked(this.componentType)};g.t(GY,Y);GY.prototype.clear=function(){this.dispose()};g.t(JY,GY);g.k=JY.prototype;g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);g.Sg(this.u,"stroke-dasharray","0 "+this.o);this.show()};
        g.k.clear=function(){this.hide()};
        g.k.hide=function(){IY(this);GY.prototype.hide.call(this)};
        g.k.show=function(){HY(this);GY.prototype.show.call(this)};
        g.k.vg=function(){this.hide()};
        g.k.Kf=function(){if(this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&g.Sg(this.u,"stroke-dasharray",a.current/a.seekableEnd*this.o+" "+this.o)}};g.t(KY,Y);KY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.l=b;this.isTemplated()||g.Ge(this.element,sX(this.l));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?CY(a):"",c=(c=this.api.getVideoData(1))&&c.jj,a&&c&&(this.element.style.backgroundImage="url("+a+")",this.element.style.backgroundSize="100%"),b.style&&b.style.adTextStyle))switch(b.style.adTextStyle.fontSize){case "AD_FONT_SIZE_MEDIUM":this.element.style.fontSize="26px"}this.show()};
        KY.prototype.isTemplated=function(){return this.l.isTemplated||!1};
        KY.prototype.clear=function(){this.hide()};g.t(MY,GY);g.k=MY.prototype;
        g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);a=b.durationMilliseconds;g.Ja(a)&&0>a&&g.M(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ka&&g.$q(this.o.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.N=null==a||0===a?this.l.iu():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.u.init(W("ad-text"),d,c);(d=this.api.getVideoData(1))&&d.jj&&b.thumbnail?
        this.B.init(W("ad-image"),b.thumbnail,c):this.V.hide()};
        g.k.qe=function(){this.J.show(100);this.show()};
        g.k.clear=function(){this.hide()};
        g.k.hide=function(){this.o.hide();this.u.hide();this.B.hide();IY(this);GY.prototype.hide.call(this)};
        g.k.show=function(){HY(this);this.o.show();this.u.show();this.B.show();GY.prototype.show.call(this)};
        g.k.vg=function(){this.hide()};
        g.k.Kf=function(){if(null!=this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Z&&a>=this.N?(g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")||this.J.hide(),this.Z=!0,this.L("t")):this.u&&this.u.isTemplated()&&(a=Math.max(0,Math.ceil((this.N-a)/1E3)),a!=this.ca&&(LY(this.u,{TIME_REMAINING:String(a)}),this.ca=a)))}};g.t(NY,g.J);g.k=NY.prototype;g.k.S=function(){this.reset();g.J.prototype.S.call(this)};
        g.k.reset=function(){g.Ox(this.aa);this.u=!1;this.g&&this.g.stop();this.o.stop();this.i&&(this.i=!1,this.A.play())};
        g.k.start=function(){this.reset();this.aa.P(this.l,"mouseover",this.MD,this);this.aa.P(this.l,"mouseout",this.LD,this);this.g?this.g.start():(this.u=this.i=!0,g.Sg(this.l,{opacity:this.D}))};
        g.k.MD=function(){this.i&&(this.i=!1,this.A.play());this.o.stop();this.g&&this.g.stop()};
        g.k.LD=function(){this.u?this.o.start():this.g&&this.g.start()};
        g.k.dr=function(){this.i||(this.i=!0,this.B.play(),this.u=!0)};var Pfa=Dc(function(){return new Ofa}),Ufa=Dc(function(){return new Rfa});g.t(QY,GY);g.k=QY.prototype;
        g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);this.N=b;this.Ba=Vfa(this);!b||g.lc(b)?g.M(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.lc(b.message)?g.M(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=EY(a),null==b?g.M(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.B=new g.Gz({C:"button",ba:["ytp-ad-skip-button","ytp-button"],M:[{C:"span",G:"ytp-ad-skip-button-icon",
        M:[b]}]}),g.K(this,this.B),this.B.i(this.u.element),this.o=new KY(this.api,this.ea,"ytp-ad-skip-button-text"),this.o.init(W("ad-text"),this.N.message,c),g.K(this,this.o),Ae(this.B.element,this.o.element,0)),g.P(this.api.O().experiments,"bulleit_use_touch_events_for_skip")&&wX(this))};
        g.k.qe=function(){this.Z.show();this.show()};
        g.k.clear=function(){this.J.reset();this.Ga&&this.bb(this.Ga);this.hide()};
        g.k.hide=function(){this.u.hide();this.o&&this.o.hide();IY(this);GY.prototype.hide.call(this);RY(this)};
        g.k.onClick=function(a){if(null!=this.B&&(a&&g.aw(a),GY.prototype.onClick.call(this,a),this.L("u"),!this.Ba))this.api.onAdUxClicked(this.componentType)};
        g.k.us=function(){return"skip"};
        g.k.show=function(){this.J.start();this.u.show();this.o&&this.o.show();HY(this);GY.prototype.show.call(this);g.Qq(this.sa)};
        g.k.vg=function(){this.ca=!0;this.L("v")};
        g.k.Kf=function(){!this.ca&&this.ka&&1E3*this.l.getProgressState().current>=this.ka&&(this.ca=!0,this.L("v"))};
        g.k.RB=function(a){g.R(a.state,4)&&this.J.start()};g.t(SY,g.O);g.k=SY.prototype;g.k.iu=function(){return this.i};
        g.k.start=function(){this.l||(this.l=!0,this.xa.start())};
        g.k.stop=function(){this.l&&(this.l=!1,this.xa.stop())};
        g.k.DB=function(){this.g+=100;var a=!1;this.g>this.i&&(this.g=this.i,this.xa.stop(),a=!0);this.o={seekableStart:0,seekableEnd:this.i/1E3,current:this.g/1E3};if(this.u){var b=this.u;b.i&&(b=b.i.i,b.B&&GU(b.g,this.o.current,b.getDuration()))}this.L("s");a&&this.L("r")};
        g.k.getProgressState=function(){return this.o};g.t(TY,Y);g.k=TY.prototype;
        g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.backgroundImage&&b.backgroundImage.thumbnail)if(b.actionButton&&b.actionButton.buttonRenderer)if(a=b.durationMilliseconds||0,!g.Ja(a)||0>=a)g.M(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!=e&&0<e.length&&
        g.Lb(g.Hd(e[0].url))&&(e[0].url=d.Xe);e=b.backgroundImage.thumbnail.thumbnails;null!=e&&0<e.length&&g.Lb(g.Hd(e[0].url))&&(e[0].url=d.hd());e=b.headline;null!=e&&g.Lb(g.Hd(e.text))&&(e.text=d.author)}this.B.init(W("ad-image"),b.image,c);this.V.init(W("ad-text"),b.headline,c);this.N.init(W("ad-text"),b.description,c);this.J.init(W("ad-image"),b.backgroundImage,c);this.l=new FY(this.api,this.ea,["ytp-ad-action-interstitial-action-button"]);g.K(this,this.l);this.l.i(this.sa);this.l.init(W("button"),
        b.actionButton.buttonRenderer,c);this.Z=b.navigationEndpoint;this.api.O().i||(this.aa.P(this.ka,"click",this.tn,this),this.aa.P(this.ia,"click",this.tn,this),this.aa.P(this.ca,"click",this.tn,this));this.o=new SY(a);g.K(this,this.o);b.skipButton?(a=b.skipButton.skipButtonRenderer)&&this.o&&(this.A=new QY(this.api,this.ea,this.o),g.K(this,this.A),this.A.i(this.element),this.A.init(W("skip-button"),a,c)):b.nonskippableOverlayRenderer&&(a=b.nonskippableOverlayRenderer.adPreviewRenderer)&&this.o&&(this.u=
        new MY(this.api,this.ea,this.o,!1),g.K(this,this.u),this.u.i(this.element),this.u.init(W("ad-preview"),a,c));(b=b.countdownRenderer)&&b.timedPieCountdownRenderer&&this.o&&(c=new JY(this.api,this.ea,this.o),g.K(this,c),c.i(this.element),c.init(W("timed-pie-countdown"),b.timedPieCountdownRenderer,this.macros));this.show();this.element.focus()}else g.M(Error("AdActionInterstitialRenderer has no navigation endpoint."));else g.M(Error("AdActionInterstitialRenderer has no button."));else g.M(Error("AdActionInterstitialRenderer has no background AdImage."));
        else g.M(Error("AdActionInterstitialRenderer has no description AdText."));else g.M(Error("AdActionInterstitialRenderer has no headline AdText."));else g.M(Error("AdActionInterstitialRenderer has no image."))};
        g.k.clear=function(){g.Ox(this.aa);this.hide()};
        g.k.show=function(){UY(!0);this.l&&this.l.show();this.A&&this.A.show();this.u&&this.u.show();Y.prototype.show.call(this)};
        g.k.hide=function(){UY(!1);this.l&&this.l.hide();this.A&&this.A.hide();this.u&&this.u.hide();Y.prototype.hide.call(this)};
        g.k.tn=function(){this.Z&&this.ea.Ca(this.Z,this.macros)};g.t(VY,Y);g.k=VY.prototype;g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.text?(a=b.durationMilliseconds||0,!g.Ja(a)||0>=a?g.M(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.l.init(W("ad-text"),b.text,c),this.show())):g.M(Error("AdTextInterstitialRenderer has no message AdText."))};
        g.k.clear=function(){this.hide()};
        g.k.show=function(){WY(!0);Y.prototype.show.call(this)};
        g.k.hide=function(){WY(!1);Y.prototype.hide.call(this)};
        g.k.onClick=function(){};g.t(XY,Y);
        XY.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&b.button.buttonRenderer||null;null==b?g.M(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new FY(this.api,this.ea),g.K(this,this.button),this.button.init(W("button"),b,this.macros),this.button.i(this.element),this.B&&!g.Zq(this.button.element,"ytp-ad-clickable")&&g.$q(this.button.element,"ytp-ad-clickable"),a&&(this.o=new g.Gz({C:"div",G:"ytp-ad-hover-text-container"}),this.A&&
        (b=new g.Gz({C:"div",G:"ytp-ad-hover-text-callout"}),b.i(this.o.element),g.K(this,b)),g.K(this,this.o),this.o.i(this.element),b=BX(a),Ae(this.o.element,b,0)),this.show())};
        XY.prototype.hide=function(){this.button&&this.button.hide();this.o&&this.o.hide();Y.prototype.hide.call(this)};
        XY.prototype.show=function(){this.button&&this.button.show();Y.prototype.show.call(this)};g.t(YY,Y);g.k=YY.prototype;g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.M(Error("AdFeedbackRenderer.confirmLabel was not set.")):(null==b.cancelLabel&&g.Bs(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.Bs(Error("AdFeedbackRenderer.title was not set.")),Zfa(this,b)):g.M(Error("AdFeedbackRenderer.reasons were not set."))};
        g.k.clear=function(){dw(this.A);dw(this.B);this.u.length=0;this.hide()};
        g.k.hide=function(){this.l&&this.l.hide();this.o&&this.o.hide();Y.prototype.hide.call(this)};
        g.k.show=function(){this.l&&this.l.show();this.o&&this.o.show();Y.prototype.show.call(this)};
        g.k.mu=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.L("w");this.hide()};
        g.k.bF=function(){this.hide()};
        ZY.prototype.ga=function(){return this.g.element};
        ZY.prototype.isChecked=function(){return this.l.checked};g.t($Y,Y);g.k=$Y.prototype;g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.l=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.M(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.M(Error("ConfirmDialogRenderer.cancelLabel was not set.")):$fa(this,b):g.M(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))};
        g.k.clear=function(){g.Ox(this.aa);this.hide()};
        g.k.So=function(){this.hide()};
        g.k.Ro=function(){var a=this.l.cancelEndpoint;a&&this.ea.Ca(a,this.macros);this.hide()};
        g.k.To=function(){var a=this.l.confirmNavigationEndpoint||this.l.confirmEndpoint;a&&this.ea.Ca(a,this.macros);this.hide()};g.t(aZ,$Y);aZ.prototype.So=function(a){$Y.prototype.So.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")};
        aZ.prototype.Ro=function(a){$Y.prototype.Ro.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")};
        aZ.prototype.To=function(a){$Y.prototype.To.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.L("x")};g.t(bZ,Y);g.k=bZ.prototype;
        g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.B=b;if(null==b.dialogMessage&&null==b.title)g.M(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{null==b.confirmLabel&&g.Bs(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.l=new FY(this.api,this.ea,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.K(this,this.l),this.l.init(W("button"),
        a,this.macros),this.l.i(this.element);b.title&&(a=g.zH(b.title),this.updateValue("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c<a.length;c++){var d=BX(a[c]);if(!g.Lb(d.textContent)){var e=g.ue("LI");e.appendChild(d);this.J.appendChild(e)}}else g.lh(this.J,!1);b.dialogMessage&&(a=BX(b.dialogMessage,!0),this.ca.appendChild(a));b.confirmLabel&&(a=g.zH(b.confirmLabel),this.updateValue("confirmLabel",a));b.muteAdRenderer&&(b=(b=b.muteAdRenderer)&&b.buttonRenderer||null)&&(a=b.navigationEndpoint&&b.navigationEndpoint.adFeedbackEndpoint||
        null,c=b.navigationEndpoint&&b.navigationEndpoint.confirmDialogEndpoint||null,null==a&&null==c?g.Bs(Error("AdInfoDialogRenderer.muteAdRenderer was specified but contains neither an AdFeedbackEndpoint, nor a ConfirmDialogEndpoint.")):(a?cga(this,a):c&&dga(this,c),this.u=new FY(this.api,this.ea,["ytp-ad-info-dialog-mute-button"],"button",!0),g.K(this,this.u),this.u.init(W("button"),b,this.macros),this.u.va("click",this.OD,this),this.u.i(this.ia)));ega(this)}};
        g.k.clear=function(){dw(this.V);this.hide()};
        g.k.hide=function(){this.o?this.o.hide():this.A&&this.A.hide();this.l&&this.l.hide();this.u&&this.u.hide();Y.prototype.hide.call(this)};
        g.k.show=function(){this.l&&this.l.show();this.u&&this.u.show();this.N||(aga(this),this.N=!0);Y.prototype.show.call(this)};
        g.k.nu=function(){this.B&&this.B.confirmServiceEndpoint&&this.ea.Ca(this.B.confirmServiceEndpoint,this.macros);this.api.onAdUxClicked("ad-info-dialog-close-button");this.L("z");this.hide()};
        g.k.OD=function(){var a=this.o?this.o:this.A;a&&!a.ib()&&(this.hide(),a.show())};g.t(cZ,XY);cZ.prototype.init=function(a,b,c){XY.prototype.init.call(this,a,b,c);a=b.button&&b.button.buttonRenderer||null;null!=a&&(gga(this,a,c),this.show())};
        cZ.prototype.hide=function(){this.button&&this.button.hide();this.l&&this.l.hide();XY.prototype.hide.call(this)};
        cZ.prototype.show=function(){this.button&&this.button.show();XY.prototype.show.call(this)};
        cZ.prototype.clear=function(){this.hide()};var hga={iconType:"CLOSE"};g.t(dZ,Y);g.k=dZ.prototype;g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.u=b;(a=b.contentSupportedRenderer&&b.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer)&&jga(this,a,b.adInfoRenderer)&&(eZ(this,!0),this.show(),this.Ba.start())};
        g.k.onClick=function(a){var b=this;if(!g.Fe(this.Wa,a.target)){Y.prototype.onClick.call(this,a);var c=g.qc(this.macros),d=g.kh(this.l);c.AW={toString:function(){return d.width.toString()}};
        c.AH={toString:function(){return d.height.toString()}};
        var e=g.gh(a,this.l).floor();c.I_X={toString:function(){return e.x.toString()}};
        c.NX={toString:function(){return e.x.toString()}};
        c.I_Y={toString:function(){return e.y.toString()}};
        c.NY={toString:function(){return e.y.toString()}};
        c.NM={toString:function(){return b.ka.toString()}};
        this.Ga.forEach(function(f){return b.ea.Ca(f,c)});
        this.api.pauseVideo()}};
        g.k.clear=function(){eZ(this,!1);this.ka=0;vX(this,this.l,!1);this.Ba.stop();this.hide();this.dispose()};
        g.k.show=function(){this.o&&this.o.show();Y.prototype.show.call(this)};
        g.k.hide=function(){this.o&&this.o.hide();Y.prototype.hide.call(this)};
        g.k.LB=function(){var a=this;kga(this).forEach(function(b){return a.ea.Ca(b,a.macros)});
        this.clear()};
        g.k.IB=function(){this.Z=2==this.api.getPlayerState(1);this.api.pauseVideo()};
        g.k.JB=function(){this.Z||2!=this.api.getPlayerState(1)||this.api.playVideo()};
        g.k.MB=function(){this.Z||2!=this.api.getPlayerState(1)||this.api.playVideo();this.clear()};
        g.k.KB=function(a){if(this.N){var b=g.ke("ytp-ad-button",this.N.element);a.target===this.A&&b&&b.click()}};var gZ={iconType:"CLOSE"},kZ=new g.be(320,63);g.t(fZ,Y);g.k=fZ.prototype;
        g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.A=b;this.J=g.ub(this.A.onClickCommands||[]);if(a=this.A.contentSupportedRenderer)a=this.A.contentSupportedRenderer,b=this.A.adInfoRenderer||null,a.textOverlayAdContentRenderer?(this.B=g.ke("ytp-ad-overlay-ad-info-button-container",this.u.element),iZ(this,b),a=pga(this,a.textOverlayAdContentRenderer)):a.enhancedTextOverlayAdContentRenderer?(this.B=g.ke("ytp-ad-overlay-ad-info-button-container",this.o.element),iZ(this,b),a=qga(this,a.enhancedTextOverlayAdContentRenderer)):
        a.imageOverlayAdContentRenderer?(this.B=g.ke("ytp-ad-overlay-ad-info-button-container",this.l.element),iZ(this,b),a=rga(this,a.imageOverlayAdContentRenderer)):(g.M(Error("InvideoOverlayAdRenderer content could not be initialized.")),a=!1);a&&(this.show(),lZ(this,!0))};
        g.k.Nd=function(a){jZ(this,a)&&this.clear()};
        g.k.KD=function(){this.api.app.F.g&&this.clear()};
        g.k.clear=function(){lZ(this,!1);this.ca.reset();this.N=0;this.u.hide();vX(this,this.u.element,!1);this.o.hide();vX(this,this.o.element,!1);this.l.hide();vX(this,this.l.element,!1);this.hide();this.dispose()};
        g.k.RE=function(){this.ka&&this.ea.Ca(this.ka,this.macros);this.api.pauseVideo()};
        g.k.Lo=function(){var a=this;oga(this).forEach(function(b){return a.ea.Ca(b,a.macros)});
        this.clear()};
        g.k.NB=function(){this.ia=2==this.api.getPlayerState(1);this.api.pauseVideo()};
        g.k.OB=function(){this.ia||2!=this.api.getPlayerState(1)||this.api.playVideo()};
        g.k.QB=function(){this.ia||2!=this.api.getPlayerState(1)||this.api.playVideo();this.clear()};
        g.k.PB=function(a){a.target===this.B&&g.ke("ytp-ad-button",this.sa.element).click()};g.t(mZ,GY);g.k=mZ.prototype;g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);a=b.durationMs;g.Ja(a)&&0>=a&&g.M(Error("durationMs was specified incorrectly in AdMessageRenderer with a value of: "+a));a=b.durationMs;this.B=null==a||0===a?0:a+1E3*this.l.getProgressState().current;if(b.text)var d=b.text.templatedAdText;else b.staticMessage&&(d=b.staticMessage);this.o.init(W("ad-text"),d,c);this.o.i(this.u.element);this.J.show(100);this.show()};
        g.k.clear=function(){this.hide()};
        g.k.hide=function(){nZ(this,!1);GY.prototype.hide.call(this);this.u.hide();this.o.hide();IY(this)};
        g.k.show=function(){nZ(this,!0);GY.prototype.show.call(this);HY(this);this.u.show();this.o.show()};
        g.k.vg=function(){this.hide()};
        g.k.Kf=function(){if(null!=this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.N&&a>=this.B?(this.J.hide(),this.N=!0):this.o&&this.o.isTemplated()&&(a=Math.max(0,Math.ceil((this.B-a)/1E3)),a!=this.V&&(LY(this.o,{TIME_REMAINING:String(a)}),this.V=a)))}};g.t(oZ,Y);g.k=oZ.prototype;
        g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.N=b;a=this.N.seekableDurationMilliseconds;this.V=g.Ja(a)?a:5E3;var d=b&&b.preSeekRenderer&&b.preSeekRenderer.adPreviewRenderer||null,e=b&&b.seekableRenderer&&b.seekableRenderer.skipButtonRenderer||null;if(null==e)g.M(Error("SeekableRenderer was not set in SeekAdRenderer."));else if(a=b&&b.notSeekedRenderer&&b.notSeekedRenderer.skipButtonRenderer||null,null==a)g.M(Error("NotSeekedRenderer was not set in SeekAdRenderer."));else if(b&&b.postSeekRenderer&&
        b.postSeekRenderer.adPreviewRenderer||b&&b.postSeekRenderer&&b.postSeekRenderer.skipButtonRenderer){d&&(this.o=new MY(this.api,this.ea,this.B,!1),this.o.init(W("ad-preview"),d,c),this.o.subscribe("t",this.dE,this),g.K(this,this.o),this.o.i(this.element),this.o.qe());this.l=new QY(this.api,this.ea,this.B);this.l.init(W("skip-button"),e,c);this.l.subscribe("u",this.HE,this);d=this.V;this.o&&(d+=this.o.N);this.l.ka=d;this.l.subscribe("v",this.IE,this);g.K(this,this.l);this.l.i(this.element);null==this.o&&
        this.l.qe();this.A=new QY(this.api,this.ea,this.B);this.A.init(W("skip-button"),a,c);g.K(this,this.A);this.A.i(this.element);a:{b=b.postSeekRenderer;if(b.adPreviewRenderer){b=b.adPreviewRenderer;a=this.B;if(this.ca){a=b.durationMilliseconds;if(null==a||0==a){g.M(Error("durationMilliseconds must be specified for persistingAdPreviewRenderer"));break a}this.J=new SY(a,this.ea,!1);g.K(this,this.J);a=this.J}this.u=new MY(this.api,this.ea,a,!1);this.u.init(W("ad-preview"),b,c)}else b.skipButtonRenderer&&
        (this.u=new QY(this.api,this.ea,this.B),this.u.init(W("skip-button"),b.skipButtonRenderer,c));g.K(this,this.u);this.u.i(this.element)}this.show()}else g.M(Error("PostSeekRenderer was not set in SeekAdRenderer."))};
        g.k.show=function(){this.o?this.o.show():this.l&&!this.l.ib()&&this.l.show();Y.prototype.show.call(this)};
        g.k.clear=function(){this.o&&this.o.clear();this.l&&this.l.clear();this.A&&this.A.clear();this.u&&this.u.clear();Y.prototype.hide.call(this)};
        g.k.hide=function(){this.o&&this.o.hide();this.l&&this.l.hide();this.A&&this.A.hide();this.u&&this.u.hide();Y.prototype.hide.call(this)};
        g.k.dE=function(){this.o&&this.o.J.hide();this.l&&this.l.qe()};
        g.k.HE=function(){this.Z=!0;if(this.l){var a=this.l;a.Z.hide();RY(a)}this.u&&(this.J&&this.J.start(),this.u.qe())};
        g.k.IE=function(){if(!this.Z){if(this.l){var a=this.l;a.Z.hide();RY(a)}this.A&&this.A.qe()}};g.t(pZ,GY);g.k=pZ.prototype;
        g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};(a=g.lc(a)?null:a)?(this.B=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3,this.o=new MY(this.api,this.ea,this.l,"countdown_next_to_thumbnail"==wy(this.api.O().experiments,"preskip_button_style_ads_backend")&&"web"==this.api.O().deviceParams.c.toLowerCase().substr(0,3)),this.o.init(W("preskip-component"),a,c),this.o.qe(),g.K(this,this.o),
        this.o.i(this.element),g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")&&this.o.subscribe("t",this.gE,this)):b.skipOffsetMilliseconds&&(this.B=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.lc(b)?null:b;null==b?g.M(Error("SkipButtonRenderer was not set in player response.")):(this.u=new QY(this.api,this.ea,this.l),this.u.init(W("skip-button"),b,c),g.K(this,this.u),this.u.i(this.element),this.show())};
        g.k.show=function(){this.J&&this.u?this.u.show():this.o&&this.o.show();HY(this);GY.prototype.show.call(this)};
        g.k.vg=function(){};
        g.k.clear=function(){this.o&&this.o.clear();this.u&&this.u.clear();IY(this);GY.prototype.hide.call(this)};
        g.k.hide=function(){this.o&&this.o.hide();this.u&&this.u.hide();IY(this);GY.prototype.hide.call(this)};
        g.k.gE=function(){qZ(this,!0)};
        g.k.Kf=function(){g.P(this.api.O().experiments,"enable_pubsub_for_skip_transition_bulleit")?this.o||1E3*this.l.getProgressState().current>=this.B&&qZ(this,!0):1E3*this.l.getProgressState().current>=this.B&&qZ(this,!0)};g.t(rZ,Y);rZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.seekAdRenderer?(b=new oZ(this.api,this.ea,this.l,!0),b.i(this.o),b.init(W("seek-ad"),a.seekAdRenderer,this.macros),g.K(this,b)):a.skipAdRenderer&&(b=new pZ(this.api,this.ea,this.l),b.i(this.o),b.init(W("skip-button"),a.skipAdRenderer,this.macros),g.K(this,b)));this.show()};g.t(sZ,GY);g.k=sZ.prototype;g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.Bs(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.o=new KY(this.api,this.ea);this.o.init(W("ad-text"),a,{});this.o.i(this.element);g.K(this,this.o)}this.show()};
        g.k.clear=function(){this.hide()};
        g.k.hide=function(){IY(this);GY.prototype.hide.call(this)};
        g.k.vg=function(){this.hide()};
        g.k.Kf=function(){if(null!=this.l){var a=this.l.getProgressState();null!=a&&null!=a.current&&this.o&&(a=(this.l instanceof SY?a.seekableEnd:this.api.getDuration(2))-a.current,LY(this.o,{FORMATTED_AD_DURATION_REMAINING:String(g.$P(a)),TIME_REMAINING:String(Math.ceil(a))}))}};
        g.k.show=function(){HY(this);GY.prototype.show.call(this)};g.t(tZ,KY);tZ.prototype.onClick=function(a){KY.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.t(uZ,GY);g.k=uZ.prototype;
        g.k.init=function(a,b,c){GY.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.actionButton&&b.actionButton.buttonRenderer&&b.actionButton.buttonRenderer.navigationEndpoint){a=this.api.getVideoData(2);if(null!=a)if(b.image&&b.image.thumbnail){var d=b.image.thumbnail.thumbnails;null!=d&&0<d.length&&g.Lb(g.Hd(d[0].url))&&(d[0].url=a.Xe)}else g.M(Error("FlyoutCtaRenderer does not have image.thumbnail."),"WARNING");this.J.init(W("ad-image"),b.image,c);this.B.init(W("ad-text"),
        b.headline,c);this.u.init(W("ad-text"),b.description,c);this.o.init(W("button"),b.actionButton.buttonRenderer,c);this.N=b.actionButton.buttonRenderer.navigationEndpoint;this.show();this.V=b.startMs||0;HY(this)}else g.M(Error("FlyoutCtaRenderer has no valid action button."));else g.M(Error("FlyoutCtaRenderer has no description AdText."));else g.M(Error("FlyoutCtaRenderer has no headline AdText."));else g.M(Error("FlyoutCtaRenderer has no image."))};
        g.k.onClick=function(a){GY.prototype.onClick.call(this,a);this.api.pauseVideo();!g.Fe(this.o.element,a.target)&&this.N&&this.ea.Ca(this.N,this.macros)};
        g.k.Kf=function(){if(this.l){var a=this.l.getProgressState();a&&a.current&&1E3*a.current>=this.V&&(IY(this),g.br(this.element,"ytp-flyout-cta-inactive"))}};
        g.k.vg=function(){this.clear()};
        g.k.clear=function(){this.hide()};
        g.k.show=function(){this.o&&this.o.show();GY.prototype.show.call(this)};
        g.k.hide=function(){this.o&&this.o.hide();GY.prototype.hide.call(this)};g.t(vZ,Y);g.k=vZ.prototype;
        g.k.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.o=b;if(null==b.defaultText&&null==b.defaultIcon)g.M(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.M(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(b.style){switch(b.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":a="ytp-ad-toggle-button-default-style";break;default:a=null}null!=a&&g.$q(this.u,a)}a={};b.defaultText?
        (c=g.zH(b.defaultText),g.Lb(c)||(a.buttonText=c,this.l.setAttribute("aria-label",c))):g.lh(this.Z,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip);b.defaultIcon?(c=EY(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),b.toggledIcon?(this.J=!0,c=EY(b.toggledIcon),this.updateValue("toggledIconTemplateSpec",c)):(g.lh(this.B,!0),g.lh(this.A,!1)),g.lh(this.l,!1)):g.lh(this.V,!1);g.lc(a)||this.update(a);b.isToggled&&(g.$q(this.u,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));
        wZ(this);this.N=this.P(this.element,"change",this.ku);g.P(this.api.O().experiments,"bulleit_use_touch_events_for_magpie")&&wX(this,this.N);this.show()}};
        g.k.onClick=function(a){0<this.Y.length&&(this.toggleButton(!this.isToggled()),this.ku());Y.prototype.onClick.call(this,a)};
        g.k.ku=function(){var a=this;g.dr(this.u,"ytp-ad-toggle-button-toggled",this.isToggled());sga(this,this.isToggled()).forEach(function(b){return a.ea.Ca(b,a.macros)});
        if(this.isToggled())this.api.onAdUxClicked("toggle-button");wZ(this)};
        g.k.clear=function(){this.hide()};
        g.k.toggleButton=function(a){g.dr(this.u,"ytp-ad-toggle-button-toggled",a);this.l.checked=a;wZ(this)};
        g.k.isToggled=function(){return this.l.checked};g.t(xZ,Y);g.k=xZ.prototype;g.k.init=function(a,b,c){var d=this;Y.prototype.init.call(this,a,b,c);this.l=b;this.l.rectangle&&(tga(this,c),g.P(this.api.O().experiments,"bulleit_use_touch_events_for_magpie")&&wX(this,this.B),this.A.show(100),this.show(),(this.l&&this.l.impressionCommands||[]).forEach(function(e){return d.ea.Ca(e,d.macros)}))};
        g.k.clear=function(){this.hide()};
        g.k.hide=function(){this.u.hide();this.o.hide();Y.prototype.hide.call(this)};
        g.k.show=function(){this.u.show();this.o.show();Y.prototype.show.call(this)};
        g.k.lu=function(){var a=this.element,b=!g.Zq(a,"ytp-ad-instream-user-sentiment-selected");g.dr(a,"ytp-ad-instream-user-sentiment-selected",b);this.l.postMessageAction&&this.api.ha("onYtShowToast",this.l.postMessageAction);this.A.hide()};
        g.k.onClick=function(a){0<this.Y.length&&this.lu();Y.prototype.onClick.call(this,a)};g.t(yZ,FY);
        yZ.prototype.init=function(a,b,c){FY.prototype.init.call(this,a,b,c);a=!1;null!=b.text&&(a=g.zH(b.text),a=!g.Lb(a));a?null==b.navigationEndpoint?g.Bs(Error("No visit advertiser clickthrough provided in renderer,")):"STYLE_UNKNOWN"!==b.style?g.Bs(Error("Button style was not a link-style type in renderer,")):(g.P(this.api.O().experiments,"bulleit_use_touch_events_for_visit_advertiser")&&wX(this),this.show(),b=this.api.O().experiments,g.P(b,"enable_visibility_check_for_visit_advertiser_in_bulleit")&&(this.u=
        PY(this.element,"visit_advertiser",g.Q(b,"visibility_error_html_dump_sample_rate")))):g.Bs(Error("No visit advertiser text was present in the renderer."))};
        yZ.prototype.hide=function(){FY.prototype.hide.call(this);this.u&&(this.u(),this.u=null)};g.t(zZ,Y);zZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);a=b.text;g.Lb(sX(a))?g.Bs(Error("SimpleAdBadgeRenderer has invalid or empty text")):(a&&a.text&&(b=a.text,this.l&&(b=this.api.O(),b=a.text+" "+(b&&b.i?"\u2022":"\u00b7")),b={text:b,isTemplated:a.isTemplated},a.style&&(b.style=a.style),a=new KY(this.api,this.ea),a.init(W("simple-ad-badge"),b,c),a.i(this.element),g.K(this,a)),this.show())};
        zZ.prototype.clear=function(){this.hide()};g.t(AZ,Y);
        AZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(a=b.skipOrPreviewRenderer,a.seekAdRenderer?(c=new oZ(this.api,this.ea,this.l),c.i(this.u),c.init(W("seek-ad"),a.seekAdRenderer,this.macros),g.K(this,c)):a.skipAdRenderer?(c=new pZ(this.api,this.ea,this.l),c.i(this.u),c.init(W("skip-button"),a.skipAdRenderer,this.macros),g.K(this,c)):a.adPreviewRenderer&&(c=new MY(this.api,this.ea,this.l,!1),c.i(this.u),c.init(W("ad-preview"),a.adPreviewRenderer,this.macros),
        c.qe(),g.K(this,c)));b.brandInteractionRenderer&&(a=b.brandInteractionRenderer.brandInteractionRenderer,c=new xZ(this.api,this.ea),c.i(this.J),c.init(W("instream-user-sentiment"),a,this.macros),g.K(this,c));b.flyoutCtaRenderer&&(a=b.flyoutCtaRenderer,a.flyoutCtaRenderer&&(c=new uZ(this.api,this.ea,this.l),g.K(this,c),c.i(this.B),c.init(W("flyout-cta"),a.flyoutCtaRenderer,this.macros)));b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a={text:{text:"Ad",isTemplated:!1}}),c=new zZ(this.api,
        this.ea,!0),g.K(this,c),c.i(this.o),c.init(W("simple-ad-badge"),a,this.macros));b.adDurationRemaining&&(a=b.adDurationRemaining.adDurationRemainingRenderer,null==a&&(a={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),c=new sZ(this.api,this.ea,this.l),g.K(this,c),c.i(this.o),c.init(W("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&&(a=b.adInfoRenderer,a.adHoverTextButtonRenderer&&(c=new cZ(this.api,this.ea,this.element),g.K(this,c),c.i(this.o),
        c.init(W("ad-info-hover-text-button"),a.adHoverTextButtonRenderer,this.macros)));b.visitAdvertiserRenderer&&(b=b.visitAdvertiserRenderer,b.buttonRenderer&&(a=null,this.A&&(a=this.A),a&&(c=new yZ(this.api,this.ea),g.K(this,c),c.i(a),c.init(W("visit-advertiser"),b.buttonRenderer,this.macros))));!(b=this.api.O())||RE(b)||"3"!=b.o&&!g.P(b.experiments,"mweb_enable_custom_control")||(b=new rR(this.api,this.l),b.i(this.N),g.K(this,b));this.show()};
        AZ.prototype.clear=function(){this.hide()};g.t(BZ,Y);
        BZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);b.toggledLoggingParams&&(this.A=b.toggledLoggingParams);if(b.answer&&b.answer.buttonRenderer){a=this.u?"ytp-ad-survey-answer-button-rs":"ytp-ad-survey-answer-button";var d=new FY(this.api,this.ea,[a],"survey-single-select-answer-button");d.i(this.o);d.init(W(a),b.answer.buttonRenderer,c);d.show()}else b.answer&&b.answer.toggleButtonRenderer&&(this.l=new vZ(this.api,this.ea,[this.u?"ytp-ad-survey-answer-toggle-button-rs":"ytp-ad-survey-answer-toggle-button"]),
        this.l.i(this.o),g.K(this,this.l),this.l.init(W("survey-answer-button"),b.answer.toggleButtonRenderer,c));this.show()};
        BZ.prototype.clear=function(){this.hide()};g.t(CZ,Y);CZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);a=g.P(this.api.O().experiments,"use_revamped_survey_design_for_desktop")?"ytp-ad-survey-answer-toggle-button-rs":"ytp-ad-survey-answer-toggle-button";b.answer&&b.answer.toggleButtonRenderer&&(this.l=new vZ(this.api,this.ea,[a,"ytp-ad-survey-none-of-the-above-button"]),this.l.i(this.o),this.l.init(W("survey-none-of-the-above-button"),b.answer.toggleButtonRenderer,c));this.show()};g.t(DZ,FY);DZ.prototype.init=function(a,b,c){FY.prototype.init.call(this,a,b,c);a=!1;b.text&&(b=g.zH(b.text),a=!g.Lb(b));a||g.Bs(Error("No submit text was present in the renderer."))};
        DZ.prototype.onClick=function(a){this.L("C");FY.prototype.onClick.call(this,a)};g.t(EZ,Y);
        EZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);this.o=c;if(a=b.skipOrPreviewRenderer)a.skipAdRenderer?(a=a.skipAdRenderer,c=new pZ(this.api,this.ea,this.A),c.i(this.J),c.init(W("skip-button"),a,this.o),g.K(this,c),this.l=c):a.adPreviewRenderer&&(a=a.adPreviewRenderer,c=new MY(this.api,this.ea,this.A,!1),c.i(this.J),c.init(W("ad-preview"),a,this.o),c.qe(),g.K(this,c),this.l=c);null==this.l&&g.M(Error("ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: "+JSON.stringify(b)));
        b.submitButton&&(a=b.submitButton,a.buttonRenderer&&(a=a.buttonRenderer,c=new DZ(this.api,this.ea),c.i(this.N),c.init(W("survey-submit"),a,this.o),g.K(this,c),this.u=c));if(a=b.adBadgeRenderer)a=a.simpleAdBadgeRenderer,c=new zZ(this.api,this.ea,!0),c.i(this.B),c.init(W("simple-ad-badge"),a,this.o),g.K(this,c);if(a=b.adDurationRemaining)a=a.adDurationRemainingRenderer,c=new sZ(this.api,this.ea,this.A),c.i(this.B),c.init(W("ad-duration-remaining"),a,this.o),g.K(this,c);(b=b.adInfoRenderer)&&b.adHoverTextButtonRenderer&&
        (a=new cZ(this.api,this.ea,this.element),g.K(this,a),a.i(this.B),a.init(W("ad-info-hover-text-button"),b.adHoverTextButtonRenderer,this.macros));this.show()};
        EZ.prototype.clear=function(){this.hide()};g.t(FZ,Y);FZ.prototype.init=function(a,b,c){Y.prototype.init.call(this,a,b,c);vga(this)};
        FZ.prototype.show=function(){this.A=(0,g.H)();Y.prototype.show.call(this)};
        FZ.prototype.Iv=function(){};
        FZ.prototype.Bl=function(a){a instanceof sW&&a.g&&(this.l.start(),this.A=(0,g.H)())};g.t(IZ,FZ);g.k=IZ.prototype;g.k.init=function(a,b,c){var d=this;FZ.prototype.init.call(this,a,b,c);b.questionText&&g.Ge(this.V,g.zH(b.questionText));b.answers&&b.answers.forEach(function(e){e.instreamSurveyAdAnswerRenderer&&GZ(d,e.instreamSurveyAdAnswerRenderer,c)});
        this.J=new Set(this.u.map(function(e){return e.l.l}));
        (a=b.noneOfTheAbove)&&(a=a.instreamSurveyAdAnswerNoneOfTheAboveRenderer)&&wga(this,a,c);b.surveyAdQuestionCommon?HZ(this,b.surveyAdQuestionCommon):g.M(Error("SurveyAdQuestionCommon was not sent.MultiSelectQuestionRenderer: "+JSON.stringify(b)));b.submitEndpoints&&(this.Z=b.submitEndpoints);this.P(this.element,"change",this.SB);this.show()};
        g.k.Iv=function(){JZ(this,!1);this.B.u.subscribe("C",this.QE,this)};
        g.k.SB=function(a){a.target==this.o.l.l?xga(this):this.J.has(a.target)&&(this.o.l.toggleButton(!1),JZ(this,!0))};
        g.k.QE=function(){var a=this,b=this.u.reduce(function(d,e){var f=e.A;e.l&&e.l.isToggled()&&f&&d.push(f);return d},[]).join("&"),c=this.Z.map(function(d){if(!d.loggingUrls)return d;
        d=g.rc(d);d.loggingUrls=d.loggingUrls.map(function(e){e.baseUrl&&(e.baseUrl=rg(e.baseUrl,b));return e});
        return d});
        c&&c.forEach(function(d){return a.ea.Ca(d,a.macros)})};
        g.k.clear=function(){g.P(this.api.O().experiments,"enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.t(KZ,FZ);KZ.prototype.init=function(a,b,c){var d=this;FZ.prototype.init.call(this,a,b,c);b.questionText&&g.Ge(this.V,g.zH(b.questionText));b.answers&&b.answers.forEach(function(e){e.instreamSurveyAdAnswerRenderer&&GZ(d,e.instreamSurveyAdAnswerRenderer,c)});
        b.surveyAdQuestionCommon?HZ(this,b.surveyAdQuestionCommon):g.M(Error("SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: "+JSON.stringify(b)));this.show()};
        KZ.prototype.clear=function(){g.P(this.api.O().experiments,"enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.t(LZ,Y);
        LZ.prototype.init=function(a,b,c,d){var e=this;Y.prototype.init.call(this,a,b,c);null!=d&&d instanceof sW&&(!this.A&&b.titleText&&g.Ge(this.u,g.zH(b.titleText)),b.questions.forEach(function(f){if(f.instreamSurveyAdSingleSelectQuestionRenderer){f=f.instreamSurveyAdSingleSelectQuestionRenderer;var h=new KZ(e.api,e.ea,d.g);h.i(e.o);h.init(W("survey-question-single-select"),f,c);e.l.push(h);g.K(e,h)}else f.instreamSurveyAdMultiSelectQuestionRenderer&&(f=f.instreamSurveyAdMultiSelectQuestionRenderer,h=
        new IZ(e.api,e.ea,d.g),h.i(e.o),h.init(W("survey-question-multi-select"),f,c),e.l.push(h),g.K(e,h))}),this.show())};
        LZ.prototype.Bl=function(a){this.l.forEach(function(b){return b.Bl(a)})};
        LZ.prototype.clear=function(){g.P(this.api.O().experiments,"enable_hide_on_clear_in_survey_question_bulleit")?this.hide():(this.hide(),this.dispose())};g.t(MZ,Y);
        MZ.prototype.init=function(a,b,c){var d=this;Y.prototype.init.call(this,a,b,c);a=b.timeoutSeconds||0;if(!g.Ja(a)||0>a)g.M(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&b.ctaButton.buttonRenderer)if(b.brandImage)if(b.backgroundImage&&b.backgroundImage.thumbnailLandscapePortraitRenderer&&b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape){this.o?NZ(this.N,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape):this.J&&
        NZ(this.J,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);NZ(this.ca,b.brandImage);g.Ge(this.ia,g.zH(b.text));this.o?(this.l=new FY(this.api,this.ea,["ytp-ad-survey-interstitial-action-button-fp"]),g.K(this,this.l),this.l.i(this.Z)):this.B&&(this.l=new FY(this.api,this.ea,["ytp-ad-survey-interstitial-action-button"]),g.K(this,this.l),this.l.i(this.B));this.l.init(W("button"),b.ctaButton.buttonRenderer,c);this.l.show();var e=b.timeoutCommands;this.A=new SY(1E3*a);this.A.subscribe("r",
        function(){d.u.hide();e.forEach(function(f){return d.ea.Ca(f,c)});
        d.o&&d.ea.Ca({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)});
        g.K(this,this.A);this.P(this.element,"click",function(f){return zga(d,f,b)});
        this.u.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.ea.Ca(f,c)})}else g.M(Error("SurveyTextInterstitialRenderer has no landscape background image."));
        else g.M(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.M(Error("SurveyTextInterstitialRenderer has no button."));else g.M(Error("SurveyTextInterstitialRenderer has no text."));else g.M(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))};
        MZ.prototype.clear=function(){this.hide()};
        MZ.prototype.show=function(){OZ(!0);Y.prototype.show.call(this)};
        MZ.prototype.hide=function(){OZ(!1);Y.prototype.hide.call(this)};g.t(PZ,Y);g.k=PZ.prototype;
        g.k.init=function(a,b,c){var d=this;Y.prototype.init.call(this,a,b,c);this.l&&(this.l.cancel(),this.l=null);this.l=new Um(g.La);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.df.init(W("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.M(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.u.init(W("ad-image"),b.bannerImage,
        c),this.Z.init(W("ad-image"),b.iconImage,c),this.B.init(W("ad-text"),b.headline,c),this.A.init(W("ad-text"),b.description,c),this.o.init(W("button"),b.actionButton.buttonRenderer,c),g.Ge(this.g["yt-badge-ad"],"Ad"),this.V=b.impressionCommands||[],this.J=b.navigationEndpoint,this.aa.P(this.element,"click",this.PD,this),Promise.race([this.l,this.ca.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.M(Error("ActionCompanionAdRenderer has no navigation endpoint.")):g.M(Error("ActionCompanionAdRenderer has no button.")):
        g.M(Error("ActionCompanionAdRenderer has no description string.")):g.M(Error("ActionCompanionAdRenderer has no headline string.")):g.M(Error("ActionCompanionAdRenderer has no icon image.")):g.M(Error("ActionCompanionAdRenderer has no banner image."))};
        g.k.clear=function(){g.Ox(this.aa);this.hide()};
        g.k.show=function(){var a=this;this.o.show();Y.prototype.show.call(this);this.V.forEach(function(b){return a.ea.Ca(b,a.macros)})};
        g.k.hide=function(){this.o.hide();Y.prototype.hide.call(this)};
        g.k.PD=function(a){a=a.target;g.Fe(this.df.element,a)||(this.J&&!g.Fe(this.o.element,a)&&this.ea.Ca(this.J,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())};
        g.k.S=function(){this.l&&(this.l.cancel(),this.l=null);Y.prototype.S.call(this)};g.t(QZ,g.J);QZ.prototype.S=function(){this.A&&g.Os(this.A);this.l&&(this.l.cancel(),this.l=null);this.u&&g.Os(this.u);this.g&&(this.g.cancel(),this.g=null);this.i&&(this.i.cancel(),this.i=null);this.o&&(this.o.stop(),this.o=null);g.J.prototype.S.call(this)};g.t(WZ,Y);WZ.prototype.init=function(a,b,c){var d=this;Y.prototype.init.call(this,a,b,c);this.l&&(this.l.cancel(),this.l=null);this.l=new Um(g.La);"BACKFILL_MPU_TYPE_AFV"==b.type?Promise.race([this.l,Dga(this.o)]).then(function(){d.show()}):"BACKFILL_MPU_TYPE_AFC"==b.type&&Promise.race([this.l,
        Ega(this.o)]).then(function(){d.show()},function(e){e instanceof qn||Gga(d,b)})};
        WZ.prototype.S=function(){this.l&&(this.l.cancel(),this.l=null);Y.prototype.S.call(this)};g.t(XZ,g.T);XZ.prototype.clear=function(){for(var a=g.r(this.Sa),b=a.next();!b.done;b=a.next())g.Zj(b.value);this.Sa=[]};
        XZ.prototype.D=function(a){g.aw(a);this.l=Math.max(0,this.l-YZ(this));ZZ(this)};
        XZ.prototype.B=function(a){g.aw(a);this.l=Math.min(this.Sa.length-1,this.l+YZ(this));ZZ(this)};
        XZ.prototype.S=function(){this.clear();g.T.prototype.S.call(this)};g.t($Z,CX);g.k=$Z.prototype;g.k.ga=function(){return this.Oc.element};
        g.k.Vj=function(a){var b=this.Oc,c=new g.T({C:"li",G:"ad-carousel-listitem",M:[{C:"div",G:"ad-carousel-item"}]});c.g["ad-carousel-item"].appendChild(a);b.Sa.push(c);b.A.appendChild(c.element)};
        g.k.show=function(){this.Oc.show()};
        g.k.hide=function(){this.Oc.hide()};
        g.k.clear=function(){this.Oc.clear()};var Hha={OG:"adinfoclick",SI:"offerclick",UI:"offernavclick"};g.t(a_,CX);a_.prototype.show=function(){this.i.show()};
        a_.prototype.hide=function(){this.i.hide()};
        a_.prototype.Hc=function(){var a=this;this.i.va("click",function(){a.dispatchEvent({type:"offerclick"})});
        for(var b=g.r((this.i.element||document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())this.i.P(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})};
        a_.prototype.ga=function(){return this.i.element};var Hga={Km:a_};g.t(c_,DX);
        c_.prototype.Ih=function(a){var b=this.fc();a=a.renderer;this.g=a.clickthroughEndpoint||null;var c=a.headline||null;b_(b.l,"headline",c);b_(b.g,"headline",c);c=a.merchant||null;b_(b.o,"merchant",c);b_(b.l,"merchant",c);b_(b.g,"merchant",c);c=a.priceText||null;b_(b.o,"price",c);b_(b.l,"price",c);b_(b.g,"price",c);c=(c=a.image&&0<a.image.thumbnails.length?a.image.thumbnails[0].url||null:null)?{C:"img",T:{src:c}}:null;b.o.updateValue("image",c);b.g.updateValue("image",c);a.rating?(c=a.reviewText||null,
        g.hh(b.u.element,Math.floor(100*a.rating/5)+"%"),b_(b.u,"reviewText",c),b.l.updateValue("review",b.u),b.g.updateValue("review",b.u)):(b.l.updateValue("review",null),b.g.updateValue("review",null));this.show();return Promise.resolve()};
        c_.prototype.Hc=function(){for(var a=this,b=g.r(Object.values(Hha)),c=b.next();!c.done;c=b.next())this.fc().addEventListener(c.value,function(d){return a.onClick(d)})};
        c_.prototype.Xi=function(a){switch(void 0===a.type?void 0:a.type){case "offernavclick":this.g&&this.Ca(this.g)}};
        c_.prototype.fc=function(){return this.view};g.t(d_,CX);g.k=d_.prototype;g.k.ga=function(){return this.g.element};
        g.k.show=function(){this.g.show()};
        g.k.hide=function(){this.g.hide()};
        g.k.Hc=function(){var a=this;this.g.va("click",function(b){g.Fe(a.g.g["ad-info-icon"],b.target)&&a.dispatchEvent({type:"adinfoclick"})})};
        g.k.S=function(){Bga(this.i);CX.prototype.S.call(this)};var e_={Sw:JX,Hx:d_,Jm:c_,Hm:$Z};g.t(f_,DX);g.k=f_.prototype;g.k.fc=function(){return this.view};
        g.k.Ih=function(a){var b=this;this.Kh();this.Cd=new Um(g.La);return Promise.race([this.Cd,this.fc().o]).then(function(){return b.Qm(a.renderer)})};
        g.k.Qm=function(a){var b=this.fc(),c=a.shopText||null;c=c?BX(c):null;b.g.updateValue("shopText",c);c=(c=a.sponsoredText||null)?BX(c):null;b.g.updateValue("sponsoredText",c);a.adInfoButton?this.Pd.bind({renderer:a.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint.dialog.adInfoDialogRenderer,macros:this.macros}):this.Pd.bind({renderer:{dialogMessage:a.adInfoText},macros:this.macros});a=a.itemList.horizontalListRenderer||null;this.Mh();this.Oc.clear();a=g.r(a&&a.items||[]);for(b=a.next();!b.done;b=
        a.next())b=b.value.plaShelfItemRenderer,c=new e_.Jm(this.jb,this.Fh),this.pg.push(c),c.Fg(this.Oc),c.bind({renderer:b,macros:this.macros});ZZ(this.Oc.Oc);Iga(this);this.show()};
        g.k.Hc=function(){var a=this;this.aa.P(this.jb,"appresize",this.Nd);this.aa.P(this.view,"adinfoclick",function(b){return a.onClick(b)})};
        g.k.Nd=function(){ZZ(this.Oc.Oc)};
        g.k.Xi=function(a){"adinfoclick"==a.type&&this.Pd.show()};
        g.k.Kh=function(){this.Cd&&(this.Cd.cancel(),this.Cd=null)};
        g.k.Mh=function(){g.ak(this.pg);this.pg=[]};
        g.k.S=function(){this.Kh();this.Mh();DX.prototype.S.call(this)};g.t(g_,CX);g.k=g_.prototype;g.k.ga=function(){return this.g.element};
        g.k.Vj=function(a){this.o++;this.B.appendChild(a);h_(this)};
        g.k.show=function(){this.g.show()};
        g.k.hide=function(){this.g.hide()};
        g.k.clear=function(){this.o=0;g.ze(this.B)};
        g.k.scrollLeft=function(){this.i=Math.max(0,this.i-1);h_(this)};
        g.k.S=function(){CX.prototype.S.call(this)};g.t(i_,CX);g.k=i_.prototype;g.k.ga=function(){return this.g.element};
        g.k.show=function(){this.g.show()};
        g.k.hide=function(){this.g.hide()};
        g.k.Vj=function(a){this.g.qd(a)};
        g.k.Hc=function(){var a=this;this.g.va("click",function(){a.dispatchEvent({type:"companionclick"})});
        var b=g.ke("ad-companion-clickthrough",this.g.element);b&&this.g.P(b,"click",function(){a.dispatchEvent({type:"shoptextclick"})})};
        g.k.S=function(){CX.prototype.S.call(this);g.Zj(this.i)};g.t(j_,CX);j_.prototype.show=function(){this.g.show()};
        j_.prototype.hide=function(){this.g.hide()};
        j_.prototype.Hc=function(){var a=this;this.g.va("click",function(){a.dispatchEvent({type:"offerclick"})})};
        j_.prototype.ga=function(){return this.g.element};var Jga={Km:j_};g.t(k_,DX);k_.prototype.Ih=function(a){var b=this.fc();a=a.renderer;this.g=a.clickthroughEndpoint||null;var c=a.headline||null;c&&g.Ge(b.g.g["iv-cards-slider-text"],g.zH(c));(c=a.priceText||null)&&g.Ge(b.g.g["iv-cards-slider-action"],g.zH(c));a=a.image&&0<a.image.thumbnails.length?a.image.thumbnails[0].url||null:null;b.g.updateValue("image",a?{C:"img",T:{src:a}}:null);this.show();return Promise.resolve()};
        k_.prototype.Xi=function(){this.g&&this.Ca(this.g)};
        k_.prototype.fc=function(){return this.view};var l_={ax:i_,Jm:k_,Hm:g_};g.t(m_,DX);g.k=m_.prototype;g.k.fc=function(){return this.view};
        g.k.Ih=function(a){var b=this;this.Kh();this.Cd=new Um(g.La);return Promise.race([this.Cd,this.fc().l]).then(function(){return b.Qm(a.renderer)})};
        g.k.Qm=function(a){this.Cr=a.clickTrackingEndpoints||[];this.Oo=a.clickToAdvSiteEndpoint||null;var b=this.fc(),c=a.adBadgeText||null;c&&g.Ge(b.g.g["yt-badge-ad"],g.zH(c));(c=a.shopText||null)&&g.Ge(b.g.g["ad-companion-clickthrough"],g.zH(c));a.adInfoRenderer&&a.adInfoRenderer.adHoverTextButtonRenderer?this.df.init(W("watch-ad-info-hover-button"),a.adInfoRenderer.adHoverTextButtonRenderer,this.macros):g.M(Error("ShoppingCompanionCarouselRenderer has no ad info renderer."));a=a.itemList.horizontalListRenderer||
        null;this.Mh();this.mf.clear();a=g.r(a&&a.items||[]);for(b=a.next();!b.done;b=a.next())b=b.value.shoppingCompanionCarouselItemRenderer,c=new l_.Jm(this.jb,this.Fh),this.pg.push(c),c.Fg(this.mf),c.bind({renderer:b,macros:this.macros});this.show()};
        g.k.Hc=function(){function a(c){return b.onClick(c)}
        var b=this;this.fc().addEventListener("shoptextclick",a);this.fc().addEventListener("companionclick",a);this.mf.addEventListener("nextbuttonclick",a);this.mf.addEventListener("prevbuttonclick",a)};
        g.k.Xi=function(a){switch(void 0===a.type?void 0:a.type){case "companionclick":this.qk(this.Cr);this.jb.onAdUxClicked("shopping-companion");this.jb.pauseVideo();break;case "nextbuttonclick":a=this.mf;a.i=Math.min(a.o-3,a.i+1);h_(a);break;case "prevbuttonclick":this.mf.scrollLeft();break;case "shoptextclick":this.Oo&&this.Ca(this.Oo)}};
        g.k.Mh=function(){g.ak(this.pg);this.pg=[]};
        g.k.Kh=function(){this.Cd&&(this.Cd.cancel(),this.Cd=null)};
        g.k.S=function(){this.Kh();this.Mh();DX.prototype.S.call(this)};g.t(n_,g.Mx);n_.prototype.B=function(a){if(Array.isArray(a)){a=g.r(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b instanceof GT&&this.l(b)}};g.t(o_,n_);
        o_.prototype.l=function(a){var b=a.content;switch(b.componentType){case "pla-shelf":switch(a.actionType){case 1:case 2:this.jb.ha("onPlaShelfInfoCardsReady",{renderer:b.renderer,macros:b.macros});break;case 3:this.jb.ha("onPlaShelfInfoCardsReady",{})}break;case "shopping-companion":switch(a.actionType){case 1:case 2:a=this.jb.getVideoData(1);this.jb.ha("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,shoppingCompanionCarouselRenderer:b.renderer,macros:b.macros});break;case 3:this.jb.ha("updateKevlarOrC3Companion",{})}break;
        case "action-companion":switch(a.actionType){case 1:case 2:this.jb.ha("updateKevlarOrC3Companion",{actionCompanionAdRenderer:b.renderer});break;case 3:this.jb.ha("updateKevlarOrC3Companion",{})}break;case "backfill-mpu-companion":switch(a.actionType){case 1:case 2:if(!b.renderer)break;var c=this.g(),d=Object.assign({},pX(this.jb,c),b.macros);a=this.jb.getVideoData(1);a={contentVideoId:a&&a.videoId,backfillMpuCompanionAdRenderer:b.renderer};"BACKFILL_MPU_TYPE_AFV"==b.renderer.type?p_(c,b.renderer,
        d):"BACKFILL_MPU_TYPE_AFC"==b.renderer.type&&(a.afcMpu={logImpression:function(){c.da()||p_(c,b.renderer,d)},
        logNoAd:function(){c.da()||(b.renderer.noAdEndpoints||[]).forEach(function(e){return c.Ca(e,d)})}});
        this.jb.ha("updateKevlarOrC3Companion",a);break;case 3:this.jb.ha("updateKevlarOrC3Companion",{})}break;case "ads-engagement-panel":switch(a.actionType){case 1:case 2:this.jb.ha("updateEngagementPanelAction",b.renderer.addAction);this.jb.ha("changeEngagementPanelVisibility",b.renderer.expandAction);break;case 3:this.jb.ha("changeEngagementPanelVisibility",b.renderer.hideAction),this.jb.ha("updateEngagementPanelAction",b.renderer.removeAction)}}};var Iha="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat(["pla-shelf","shopping-companion","backfill-mpu-companion","action-companion","ads-engagement-panel"]);g.t(q_,n_);
        q_.prototype.l=function(a){var b=a.id,c=a.content;if(c){var d=c.componentType;if(!Iha.includes(d))switch(a.actionType){case 1:a=this.A();a=Kga(d,this.i,a);if(!a){g.Bs(Error("No UI component returned from ComponentFactory for type: "+d));break}hc(this.g,b)?g.Bs(Error("Ad UI component already registered: "+b)):this.g[b]=a;a.bind(c);a.Fg(this.u);break;case 2:b=r_(this,a);if(null==b)break;b.bind(c);break;case 3:c=r_(this,a),null!=c&&(g.Zj(c),hc(this.g,b)?g.nc(this.g,b):g.Bs(Error("Ad UI component does not exist: "+
        b)))}}};
        q_.prototype.S=function(){g.ak(Object.values(this.g));this.g={};n_.prototype.S.call(this)};g.t(s_,g.cR);g.k=s_.prototype;g.k.create=function(){this.l=g.Gt("html5_load_ads_control_flow")?this.i.g:null;this.load();this.created=!0};
        g.k.load=function(){g.cR.prototype.load.call(this);this.player.getRootNode().classList.add("ad-created");var a=this.l;this.g=new nY(this.player,new yT(this.player),null!==a?new WP(a,new Vw):null);this.g.init()};
        g.k.destroy=function(){this.unload();this.created=!1};
        g.k.unload=function(){g.cR.prototype.unload.call(this);this.player.getRootNode().classList.remove("ad-created");var a=this.g;this.g=null;a.dispose()};
        g.k.sh=function(){return!1};
        g.k.getAdState=function(){return this.g?this.g.N:-1};
        g.k.getOptions=function(){return Object.values(Fha)};
        g.k.Qd=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":var c=b;if(c.url){var d=$T(this.player);Object.assign(d,c.additionalMapping);this.g&&!d.AD_CPN&&(d.AD_CPN=this.g.ca);c=g.nq(c.url,d)}else c=null;return c;case "isExternalShelfAllowedFor":a:if(b.playerResponse){c=b.playerResponse.adPlacements||[];for(d=0;d<c.length;d++){var e=c[d];if(e.adPlacementRenderer&&e.adPlacementRenderer.renderer&&e.adPlacementRenderer.renderer.plaShelfRenderer){c=!1;break a}}c=!0}else c=!1;return c;default:return null}};g.Ka("yt.player.Application.create",function(a,b,c){try{var d=g.w(a)?a:"player"+g.Ua(a),e=F0[d];if(e){try{e.dispose()}catch(h){g.M(h)}F0[d]=null}var f=new wS(a,b,c);g.Yj(f,function(){F0[d]=null});
        return F0[d]=f}catch(h){throw g.M(h),h.stack;}},void 0);
        var H0=g.z("ytcsi.tick");H0&&H0("pe");g.pR.ad=s_;var Mga=g.oe&&Lga();g.Za(g.u_,g.J);var I0=[];g.k=g.u_.prototype;g.k.va=function(a,b,c,d){g.Oa(b)||(b&&(I0[0]=b.toString()),b=I0);for(var e=0;e<b.length;e++){var f=g.km(a,b[e],c||this.handleEvent,d||!1,this.i||this);if(!f)break;this.g[f.key]=f}return this};
        g.k.Vk=function(a,b,c,d){return v_(this,a,b,c,d)};
        g.k.bb=function(a,b,c,d,e){if(g.Oa(b))for(var f=0;f<b.length;f++)this.bb(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Ra(d)?!!d.capture:!!d,e=e||this.i||this,c=lm(c),d=!!d,b=g.bm(a)?a.ci(b,c,d,e):a?(a=g.nm(a))?a.ci(b,c,d,e):null:null,b&&(g.wm(b),delete this.g[b.key])};
        g.k.S=function(){g.u_.Ta.S.call(this);g.w_(this)};
        g.k.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};})(_yt_player);
    http_version: 
  recorded_at: Wed, 18 Sep 2019 03:16:46 GMT
recorded_with: VCR 5.0.0