var _yt_player={};(function(g){var window=this;/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var ba,da,aaa,ea,ia,ma,la,qa,ra,sa,ta,ua,va,wa,caa,xa,ya,za,Aa,Ba,daa,Ca,Da,Ea,Fa,Ga,Ja,Ka,faa,gaa,Ua,Va,haa,iaa,jaa,db,kaa,kb,lb,laa,rb,ob,maa,pb,naa,oaa,paa,xb,yb,Hb,Ib,Kb,Nb,Qb,Rb,Sb,Tb,Xb,Zb,$b,hc,ic,kc,jc,mc,raa,oc,saa,taa,rc,sc,xc,yc,waa,Ic,Jc,Kc,Nc,Lc,zaa,Caa,Daa,Eaa,Rc,Uc,Faa,Gaa,Tc,Wc,Haa,Kaa,ad,bd,cd,gd,id,Naa,kd,ld,md,nd,Paa,od,vd,xd,Bd,Fd,Gd,Ld,Md,Pd,Nd,Rd,Td,Sd,Uaa,Dd,ge,ee,fe,Saa,he,Cd,Waa,je,ke,Xaa,qe,se,Zaa,te,ue,ve,we,ye,Ae,$aa,xe,Ge,He,De,Ke,Je,bba,Be,ze,Ne,Oe,Pe,Qe,Se,dba,Te,Ue,
eba,Ze,af,cf,df,jf,kf,lf,nf,of,fba,qf,sf,tf,pf,rf,bf,mf,hba,wf,uf,vf,yf,gba,xf,Cf,Ef,iba,jba,kba,lba,Kf,Hf,Of,Qf,Nf,Rf,Sf,Tf,Uf,Vf,Wf,Xf,Yf,Zf,$f,ag,bg,cg,dg,eg,hg,ig,jg,kg,lg,mg,ng,og,tg,rg,ug,mba,vg,wg,xg,yg,sg,zg,Bg,Ag,Dg,Eg,Cg,Fg,Gg,Hg,Jg,Ig,Kg,Lg,Mg,Ng,Og,Rg,Sg,Tg,Xg,Yg,Zg,$g,ah,bh,dh,fh,gh,ih,jh,pba,kh,lh,rba,tba,uba,wba,nh,oh,ph,rh,sh,yh,zh,Dh,Eh,Fh,Ih,Hh,Jh,Ah,xba,Sh,Th,Uh,yba,Vh,Wh,Xh,Yh,Zh,$h,zba,ai,bi,ci,Aba,Bba,di,fi,ei,hi,ii,li,ji,Dba,ki,mi,ni,pi,oi,qi,Fba,Eba,ri,Hba,Gba,Iba,ui,Jba,wi,
xi,yi,vi,zi,Kba,Ai,Lba,Ci,Pba,Di,Ei,Fi,Gi,Hi,Qba,Ji,Li,Oi,Ri,Ti,Qi,Pi,Ui,Rba,Vi,Wi,Xi,Yi,Tba,cj,dj,Vba,ej,fj,gj,hj,ij,Wba,kj,lj,mj,nj,pj,oj,Xba,Yba,Zba,qj,rj,sj,tj,vj,wj,xj,yj,zj,uj,Aj,Bj,Cj,$ba,aca,Dj,Ej,bca,Fj,Gj,cca,Ij,dca,Jj,Kj,Lj,eca,Mj,Nj,Pj,Sj,Tj,Uj,Vj,Wj,Oj,Rj,gca,Xj,Yj,ak,bk,jca,ck,dk,ek,kca,lca,mca,fk,hk,nca,oca,pca,jk,kk,qca,lk,rca,mk,sca,nk,ok,pk,tca,qk,sk,tk,uk,vk,wk,xk,yk,zk,uca,vca,Ak,wca,Ck,Bk,Fk,Gk,Ek,xca,Bca,Aca,Ik,Cca,Dca,Eca,Gca,Fca,Hca,Jk,Lk,Nk,Ok,Pk,Jca,Rk,Sk,Kca,Lca,Tk,Uk,Vk,
Wk,Mca,Xk,Yk,Nca,Zk,$k,Pca,al,bl,Qca,dl,el,gl,hl,il,kl,ll,nl,ol,cl,pl,rl,ql,sl,tl,vl,Sca,wl,Rca,xl,yl,Tca,Uca,Al,Cl,Dl,El,Fl,Bl,Il,Kl,Gl,Vca,Xca,Yca,Ml,Nl,Ol,Pl,Zca,Ql,Rl,Sl,Tl,Ul,Vl,Wl,Xl,$l,Zl,ada,bda,am,cm,Yl,bm,$ca,dm,em,dda,eda,fda,gda,im,jm,km,fm,lm,mm,cda,hda,ida,jda,pm,nm,qm,sm,oda,kda,pda,wm,xm,ym,zm,Am,rk,qda,Bm,Cm,rda,sda,Dm,Em,tda,Gm,Hm,Im,Jm,Km,wda,xda,Lm,Pm,Om,Um,Vm,Xm,Ada,Wm,Zm,an,$m,yda,dn,hn,jn,kn,Jda,Ida,ln,mn,nn,on,pn,rn,tn,Pda,Nda,Oda,Sda,Qda,Rda,un,Tda,xn,yn,Wda,Vda,Fn,Gn,Hn,
Xda,Nn,On,Zda,Pn,Qn,dea,$da,Vn,Wn,fea,Zn,$n,ao,bo,gea,fo,go,ho,io,lo,mo,no,oo,qo,ro,uo,vo,wo,jea,kea,yo,zo,xo,Co,Do,lea,Fo,Io,mea,So,Ro,pea,qea,Uo,Gf,Wo,Yo,Zo,$o,ap,bp,cp,dp,hp,fp,ip,jp,kp,np,mp,rea,tea,pp,uea,tp,sp,wea,up,vp,xea,zp,yea,zea,xp,Bp,Cp,Dp,Ep,Fp,Gp,Aea,Ip,Kp,Hp,Np,Pp,Cea,Sp,Rp,Dea,Vp,Up,Xp,Yp,Zp,aq,$p,Fea,dq,eq,fq,gq,nq,mq,oq,Gea,Kea,yq,zq,Aq,Bq,Mea,Nea,Iq,Jq,Kq,Qq,Rq,Uq,Tq,Sq,Wq,$q,Oea,cr,er,hr,ir,kr,mr,nr,or,lr,Sea,Qea,pr,sr,tr,Vea,qr,rr,ur,wr,xr,Ar,yr,Cr,Br,Dr,Wea,Xea,Df,Gr,Zea,Kr,
Lr,Nr,Or,Pr,Rr,$ea,Vr,Wr,Xr,Zr,afa,ds,cs,Yr,es,cfa,ts,rs,vs,qs,us,dfa,ys,zs,As,Bs,Cs,Ds,Fs,Gs,Hs,Is,Js,Ks,Ls,Ms,Ns,Ps,Qs,Ss,Us,Vs,Xs,Ys,Zs,$s,at,bt,dt,et,ft,ht,ct,ifa,it,jt,kt,lt,nt,ot,pt,qt,rt,tt,ut,vt,wt,xt,zt,At,Ct,Et,Ft,Bt,Gt,Ht,It,Jt,kfa,Kt,Lt,mfa,Ot,Pt,Qt,St,nfa,Mt,Wt,Xt,Ut,Rt,Yt,Zt,Tt,Vt,$t,au,bu,cu,lfa,du,ofa,eu,fu,gu,hu,ou,qu,ru,tu,pfa,ju,uu,wu,zu,yu,mu,vu,lu,pu,qfa,Au,Bu,Du,Eu,rfa,Fu,Gu,iu,ku,nu,xu,Hu,Iu,Ju,Lu,Ku,sfa,Mu,Nu,Ou,Pu,Qu,tfa,Su,Ru,Uu,Vu,Wu,Xu,Yu,Zu,$u,av,cv,dv,ev,fv,gv,hv,iv,
ufa,vfa,kv,xfa,yfa,mv,zfa,nv,qv,rv,tv,uv,ov,xv,Tu,yv,zv,Av,Bv,Cv,wv,Dv,Ev,Fv,Hv,Bfa,Iv,Jv,Kv,Lv,Cfa,Mv,Nv,Ov,Pv,Qv,Sv,Tv,Uv,Vv,Wv,Xv,Yv,Zv,$v,aw,bw,cw,dw,Dfa,fw,gw,ew,hw,iw,jw,kw,lw,Efa,zw,mw,Ffa,yw,Gfa,Dw,Ew,Fw,Gw,Hw,Iw,Kw,Lw,Mw,Nw,Ifa,Ow,Pw,Qw,Sw,Rw,Tw,Uw,Vw,Ww,Jfa,Kfa,Xw,Zw,Yw,$w,Lfa,bx,cx,ex,fx,gx,hx,ix,jx,dx,kx,T,lx,mx,nx,ox,Lx,Mx,Px,Qx,zx,Hx,Gx,Kx,Tx,Vx,Zx,wx,vx,ay,Fx,cy,dy,Sfa,Tfa,fy,Ufa,hy,Vfa,gy,iy,ky,ly,my,oy,Wfa,py,qy,ry,sy,ty,vy,Xfa,uy,wy,yy,Yfa,zy,Ay,By,Cy,Dy,Zfa,$fa,ega,fga,aga,cga,
dga,Ey,Fy,gga,Hy,Iy,Jy,hga,Ky,My,Ny,iga,jga,Oy,Py,kga,lga,mga,Qy,nga,Vy,Ry,Yy,oga,pga,Zy,qga,rga,$y,az,sga,bz,cz,tga,uga,dz,Wy,vga,wga,xga,yga,ez,fz,hz,iz,jz,kz,gz,lz,zga,pz,qz,rz,Cga,Ega,Dga,tz,Bga,Aga,sz,uz,Fga,vz,Gga,Iga,Hga,Jga,wz,xz,yz,zz,Kga,Lga,Az,Nga,Bz,Mga,Dz,Fz,Gz,Hz,Oga,Iz,Jz,Kz,Pga,Qga,Rga,Sga,Tga,Ez,Lz,Mz,Uga,Vga,Oz,Qz,Sz,Uz,Tz,Vz,Wz,Rz,Xz,Yz,Zz,Wga,$z,bA,cA,fA,eA,Xga,iA,jA,Zga,$ga,aha,bha,cha,dha,eha,fha,gha,hha,iha,jha,kha,rha,sha,tha,vha,oA,pA,wha,rA,sA,tA,vA,wA,qA,xA,uA,zA,AA,CA,
BA,DA,EA,GA,HA,LA,IA,NA,MA,OA,PA,UA,XA,YA,RA,VA,ZA,$A,TA,Bha,aB,QA,eB,hB,Dha,kB,oB,lB,pB,Eha,qB,sB,tB,uB,rB,vB,Fha,xB,nB,BB,Gha,DB,EB,FB,HB,IB,mB,gB,Hha,fB,KB,AB,Iha,PB,QB,RB,SB,iB,TB,wB,UB,VB,jB,dB,nA,mA,kA,YB,ZB,aC,$B,bC,cC,eC,fC,gC,Jha,hC,iC,jC,kC,lC,nC,oC,pC,rC,sC,tC,qC,yC,xC,AC,DC,Kha,EC,KC,NC,LC,OC,MC,PC,RC,SC,TC,VC,XC,ZC,$C,aD,bD,cD,dD,eD,Lha,gD,fD,hD,iD,lD,YC,Nha,nD,oD,qD,rD,sD,tD,uD,yD,Oha,AD,CD,Qha,GD,HD,ID,JD,KD,ND,OD,MD,Rha,LD,PD,QD,RD,TD,Tha,ZD,$D,aE,bE,Uha,Vha,XD,cE,Wha,dE,gE,Xha,hE,
Yha,Zha,$ha,aia,bia,iE,jE,nE,mE,pE,kE,qE,rE,sE,lE,tE,oE,uE,cia,vE,wE,yE,zE,xE,AE,eia,fia,BE,gia,CE,DE,hia,IE,JE,HE,LE,GE,KE,EE,iia,ME,NE,FE,jia,OE,PE,QE,SE,RE,kia,lia,TE,UE,VE,WE,XE,YE,ZE,$E,aF,bF,fF,hF,gF,eF,dF,cF,iF,jF,kF,lF,mF,nF,pF,qF,rF,sF,oF,uF,tF,vF,wF,xF,mia,GF,BF,CF,AF,yF,zF,DF,FF,EF,HF,IF,KF,JF,LF,MF,NF,RF,TF,UF,VF,WF,YF,ZF,SF,PF,OF,QF,$F,aG,bG,cG,XF,dG,eG,fG,gG,hG,jG,iG,nia,kG,lG,mG,nG,oG,pG,qia,pia,rG,sG,ria,qG,tG,sia,via,wia,xia,zG,AG,yia,BG,zia,vG,uG,tia,wG,xG,uia,yG,Aia,Bia,CG,DG,Cia,
EG,Dia,IG,FG,HG,GG,Eia,Fia,KG,Gia,JG,LG,MG,NG,OG,PG,QG,RG,SG,Jia,Iia,Hia,VG,Lia,WG,XG,YG,$G,bH,dH,eH,gH,Nia,Pia,Qia,Ria,fH,iH,jH,Sia,kH,oH,Tia,nH,qH,sH,mH,pH,TG,Kia,lH,rH,cH,Mia,Uia,UG,tH,aH,ZG,Via,Wia,Xia,uH,vH,Yia,wH,xH,yH,Zia,zH,AH,BH,CH,DH,$ia,aja,EH,FH,IH,bja,dja,JH,eja,KH,LH,GH,gja,MH,NH,OH,hja,PH,QH,RH,HH,SH,ija,TH,UH,XH,$H,aI,bI,kja,jja,YH,dI,ZH,cI,WH,eI,lja,mja,fI,hI,gI,jI,nja,oja,kI,lI,nI,oI,mI,pI,qI,rI,sI,pja,uI,wI,yI,xI,zI,AI,BI,rja,CI,vI,DI,FI,tja,HI,JI,LI,KI,MI,PI,II,GI,uja,SI,RI,UI,
TI,QI,vja,ZI,xja,aJ,cJ,dJ,eJ,WI,bJ,fJ,XI,zja,gJ,hJ,YI,iJ,$I,yja,Aja,VI,wja,jJ,lJ,mJ,kJ,nJ,Bja,oJ,pJ,Cja,qJ,rJ,Dja,sJ,tJ,uJ,vJ,wJ,xJ,yJ,zJ,AJ,BJ,CJ,DJ,EJ,FJ,Eja,Fja,GJ,HJ,Gja,IJ,JJ,KJ,LJ,MJ,NJ,Hja,Ija,Kja,Jja,Lja,Pja,Mja,Nja,Oja,OJ,Qja,Rja,TJ,cK,QJ,VJ,dK,eK,hK,fK,Tja,Uja,Wja,iK,lK,kK,PJ,$J,pK,oK,tK,mK,wK,vK,zK,qK,uC,CK,BK,DK,FK,Sja,WJ,xK,LK,Yja,NK,KK,Zja,OK,PK,RK,SK,$ja,MK,JK,QK,GK,IK,UK,aK,uK,WK,VK,YK,XK,TK,aka,bK,$K,jK,UJ,bka,aL,HK,cL,dL,eL,fL,ZK,nK,gL,RJ,yK,EK,Vja,hL,jL,cka,dka,kL,nL,DL,EL,RL,XL,
hka,YL,ZL,bM,cM,eM,gM,jM,kM,lM,nM,oM,qM,sM,tM,uM,wM,xM,yM,zM,CM,DM,EM,FM,GM,IM,KM,OM,RM,SM,WM,YM,XM,ZM,$M,aN,cN,bN,eN,hN,iN,jN,kN,lN,mN,nN,qN,rN,sN,oN,AN,BN,uN,DN,GN,HN,FN,IN,EN,yN,wN,CN,JN,xN,LN,MN,ON,PN,QN,RN,SN,TN,UN,WN,XN,YN,ZN,$N,dO,bO,aO,cO,fO,eO,gO,hO,jO,mO,kO,qO,rO,sO,oO,uO,vO,wO,nka,CO,EO,FO,IO,JO,HO,MO,NO,OO,PO,QO,RO,TO,SO,UO,VO,WO,XO,ZO,aP,$O,YO,bP,cP,eP,fP,gP,oka,hP,iP,jP,pka,mP,nP,oP,pP,sP,rP,tP,vP,wP,yP,xP,AP,BP,zP,DP,EP,GP,HP,IP,rka,JP,KP,qka,OP,tka,TP,ska,UP,uka,QP,VP,WP,XP,YP,UC,
ZP,CL,aQ,bQ,cQ,dQ,hQ,iQ,fQ,kQ,jQ,lQ,wka,mQ,nQ,oQ,sQ,uQ,xka,yQ,vQ,wQ,zQ,AQ,BQ,EQ,FQ,DQ,CQ,GQ,IQ,JQ,yka,LQ,NQ,OQ,PQ,QQ,RQ,SQ,TQ,UQ,VQ,WQ,XQ,YQ,$Q,cR,dR,eR,qQ,iR,KQ,jR,kR,hR,iO,gR,zka,Aka,lR,pR,mR,qR,rR,nR,sR,tR,uR,wR,yR,xR,Cka,Dka,Eka,BR,Fka,HR,FR,DR,ER,AR,CR,GR,IR,Hka,Gka,JR,NR,Jka,OR,PR,QR,MR,RR,VL,SR,Oia,UR,Lka,WR,Mka,aS,YR,cS,dS,eS,TR,gS,ZR,hS,fS,bS,WL,jS,VR,mS,kS,nS,lS,oS,pS,qS,Oka,Pka,tS,Qka,uS,wS,xS,vS,zS,AS,BS,CS,fka,gka,DS,ES,FS,GS,HS,IS,eka,iL,JS,KS,LS,MS,NS,US,Xka,WS,Ska,pQ,Rka,ZS,aT,bT,
SL,eT,Yka,cT,TL,TS,iT,jT,lT,mT,oT,Vka,Wka,sT,rT,YS,wT,xT,XS,yT,zT,Zka,rL,AT,CT,qT,pT,FT,GT,gT,HT,$R,vT,KR,iS,JT,KT,ET,DT,NT,FL,PT,QC,QT,uT,RT,TT,hT,dT,IT,UT,VT,WT,XT,Uka,BT,OS,ZT,Tka,$T,sS,aU,bU,dla,ela,cU,dU,eU,fU,gU,hU,fla,iU,kU,jU,lU,nU,hla,mU,gla,oU,pU,qU,rU,sU,tU,uU,vU,wU,xU,yU,zU,ila,AU,jla,kla,BU,FU,EU,CU,DU,lla,GU,HU,mla,nla,IU,ola,qla,pla,JU,rla,KU,LU,MU,NU,OU,PU,QU,RU,SU,TU,sla,UU,VU,WU,XU,ZU,$U,aV,vla,bV,YU,cV,dV,xla,tla,eV,ula,yla,fV,hV,zla,iV,jV,kV,mV,lV,nV,oV,Ala,Bla,pV,vV,zV,AV,Cla,
rV,uV,wV,tV,yV,xV,DV,BV,CV,EV,sV,qV,FV,Dla,GV,HV,JV,KV,IV,LV,MV,NV,OV,PV,QV,Ela,RV,SV,TV,UV,VV,WV,XV,YV,Fla,ZV,$V,aW,bW,cW,dW,eW,fW,gW,hW,iW,jW,kW,lW,mW,nW,oW,pW,qW,rW,sW,Hla,tW,uW,wW,xW,vW,Ila,Jla,Kla,yW,zW,Lla,Mla,AW,BW,CW,DW,Nla,Pla,Ola,GW,FW,HW,Qla,IW,JW,KW,LW,MW,NW,OW,PW,QW,RW,SW,TW,UW,VW,WW,ZW,XW,dX,YW,eX,hX,fX,gX,Sla,iX,jX,lX,kX,mX,nX,oX,Tla,Vla,Wla,rX,Xla,qX,pX,Ula,sX,tX,uX,Yla,vX,wX,yX,zX,AX,BX,CX,EX,Zla,GX,FX,$la,ama,HX,IX,cma,bma,JX,KX,dma,LX,MX,NX,OX,PX,Z,QX,RX,ema,SX,TX,UX,VX,XX,ZX,fma,
YX,$X,aY,cY,bY,dY,eY,fY,gY,hY,ima,iY,jY,kma,kY,lY,mY,oY,pY,nY,mma,qY,nma,rY,sY,tY,uY,oma,vY,pma,wY,xY,qma,yY,rma,zY,AY,BY,sma,CY,DY,EY,FY,HY,JY,LY,NY,OY,QY,tma,uma,RY,vma,TY,xma,wma,WY,zma,SY,XY,$Y,YY,ZY,bZ,aZ,dZ,eZ,DX,yma,fZ,xX,PY,cZ,gZ,EW,hZ,Ama,iZ,jZ,kZ,lZ,Bma,mZ,nZ,oZ,pZ,qZ,rZ,sZ,tZ,uZ,Dma,Ema,Gma,Fma,vZ,wZ,Ima,xZ,yZ,zZ,AZ,BZ,Jma,CZ,DZ,EZ,FZ,Nma,Kma,Mma,Lma,GZ,HZ,Oma,IZ,JZ,Pma,Qma,Rma,Sma,KZ,Tma,Uma,LZ,Xma,Wma,Yma,MZ,NZ,Zma,$ma,ana,QZ,bna,cna,dna,ena,RZ,PZ,TZ,UZ,VZ,WZ,XZ,YZ,ZZ,$Z,a_,b_,c_,fna,
d_,gna,e_,f_,h_,g_,i_,j_,k_,l_,m_,n_,o_,hna,ina,p_,jna,kna,q_,lna,r_,s_,t_,mna,u_,v_,w_,x_,z_,y_,A_,B_,nna,C_,D_,pna,E_,rna,sna,G_,F_,H_,tna,J_,una,vna,K_,L_,M_,wna,N_,xna,O_,Q_,zna,R_,S_,T_,U_,V_,W_,X_,Y_,Ana,Z_,a0,c0,d0,b0,e0,Ena,h0,Hna,Ina,q0,Kna,Mna,n0,p0,t0,Jna,Nna,k0,Lna,z0,w0,l0,v0,A0,x0,j0,i0,u0,s0,B0,m0,o0,y0,r0,C0,D0,E0,F0,G0,H0,I0,J0,K0,L0,M0,N0,O0,P0,Q0,R0,S0,T0,U0,V0,W0,X0,Y0,Z0,$0,Ona,Qna,b1,Rna,Sna,Una,Tna,c1,Vna,Wna,d1,Yna,f1,Zna,g1,$na,aoa,boa,coa,doa,h1,eoa,foa,goa,hoa,ioa,joa,koa,
i1,loa,moa,j1,VY,k1,ooa,noa,l1,m1,poa,qoa,roa,soa,toa,n1,uoa,o1,q1,r1,s1,t1,u1,v1,w1,x1,y1,voa,woa,z1,xoa,A1,B1,C1,yoa,zoa,a1,e1,D1,Aoa,E1,Boa,Pna,F1,Coa,G1,H1,Doa,Eoa,Goa,Hoa,Ioa,Foa,Joa,I1,Koa,Loa,Moa,J1,Noa,Ooa,aX,bX,cX,$W,UY,K1,Poa,Rla,L1,Qoa,Xna,Roa,M1,p1,Soa,N1,O1,P1,Toa,Uoa,Voa,Q1,Woa,Zoa,apa,U1,V1,aa,ha,fa,Laa,$c,Pa,eaa;ba=function(a){return function(){return aa[a].apply(this,arguments)}};
g.ca=function(a,b){return aa[a]=b};
da=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}};
aaa=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global,a];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};
ea=function(){ea=function(){};
fa.Symbol||(fa.Symbol=baa)};
ia=function(a,b){this.o=a;ha(this,"description",{configurable:!0,writable:!0,value:b})};
ma=function(){ea();var a=fa.Symbol.iterator;a||(a=fa.Symbol.iterator=fa.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&ha(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return la(da(this))}});
ma=function(){}};
la=function(a){ma();a={next:a};a[fa.Symbol.iterator]=function(){return this};
return a};
g.q=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:da(a)}};
g.na=function(a){if(!(a instanceof Array)){a=g.q(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a};
g.r=function(a,b){a.prototype=oa(b.prototype);a.prototype.constructor=a;if(pa)pa(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.Gb=b.prototype};
qa=function(){this.C=!1;this.w=null;this.u=void 0;this.o=1;this.G=this.B=0;this.A=null};
ra=function(a){if(a.C)throw new TypeError("Generator is already running");a.C=!0};
sa=function(a,b){a.A={Pw:b,UF:!0};a.o=a.B||a.G};
ta=function(a,b,c){a.o=c;return{value:b}};
ua=function(a,b){a.o=b;a.B=0};
va=function(a){a.B=0;var b=a.A.Pw;a.A=null;return b};
wa=function(a){this.o=new qa;this.u=a};
caa=function(a,b){ra(a.o);var c=a.o.w;if(c)return xa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.o["return"]);
a.o["return"](b);return ya(a)};
xa=function(a,b,c,d){try{var e=b.call(a.o.w,c);if(!(e instanceof Object))throw new TypeError("Iterator result "+e+" is not an object");if(!e.done)return a.o.C=!1,e;var f=e.value}catch(k){return a.o.w=null,sa(a.o,k),ya(a)}a.o.w=null;d.call(a.o,f);return ya(a)};
ya=function(a){for(;a.o.o;)try{var b=a.u(a.o);if(b)return a.o.C=!1,{value:b.value,done:!1}}catch(c){a.o.u=void 0,sa(a.o,c)}a.o.C=!1;if(a.o.A){b=a.o.A;a.o.A=null;if(b.UF)throw b.Pw;return{value:b["return"],done:!0}}return{value:void 0,done:!0}};
za=function(a){this.next=function(b){ra(a.o);a.o.w?b=xa(a,a.o.w.next,b,a.o.F):(a.o.F(b),b=ya(a));return b};
this["throw"]=function(b){ra(a.o);a.o.w?b=xa(a,a.o.w["throw"],b,a.o.F):(sa(a.o,b),b=ya(a));return b};
this["return"]=function(b){return caa(a,b)};
ma();this[Symbol.iterator]=function(){return this}};
Aa=function(a,b){var c=new za(new wa(b));pa&&pa(c,a.prototype);return c};
Ba=function(a,b){if(b){for(var c=fa,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&&ha(c,d,{configurable:!0,writable:!0,value:f})}};
daa=function(a){function b(d){return a.next(d)}
function c(d){return a["throw"](d)}
return new Promise(function(d,e){function f(k){k.done?d(k.value):Promise.resolve(k.value).then(b,c).then(f,e)}
f(a.next())})};
Ca=function(a){return daa(new za(new wa(a)))};
Da=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{Xx:e,JC:f}}return{Xx:-1,JC:void 0}};
Ea=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+""};
Fa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
Ga=function(a,b){ma();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};
g.Ha=function(a,b,c){a=a.split(".");c=c||g.v;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.w=function(a,b){for(var c=a.split("."),d=b||g.v,e=0;e<c.length;e++)if(d=d[c[e]],null==d)return null;return d};
g.Ia=function(){};
Ja=function(a){a.qd=void 0;a.getInstance=function(){return a.qd?a.qd:a.qd=new a}};
Ka=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.La=function(a){return"array"==Ka(a)};
g.Ma=function(a){var b=Ka(a);return"array"==b||"object"==b&&"number"==typeof a.length};
g.Na=function(a){return"function"==Ka(a)};
g.Oa=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};
g.Qa=function(a){return Object.prototype.hasOwnProperty.call(a,Pa)&&a[Pa]||(a[Pa]=++eaa)};
faa=function(a,b,c){return a.call.apply(a.bind,arguments)};
gaa=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.x=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?g.x=faa:g.x=gaa;return g.x.apply(null,arguments)};
g.Ra=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.Sa=function(a,b){for(var c in b)a[c]=b[c]};
g.Ta=function(a,b){function c(){}
c.prototype=b.prototype;a.Gb=b.prototype;a.prototype=new c;a.prototype.constructor=a};
Ua=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Ua);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};
Va=function(a,b){Ua.call(this,haa(a,b))};
haa=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]};
iaa=function(){};
g.Wa=function(a){return a[a.length-1]};
jaa=function(a,b){var c=a.length,d="string"===typeof a?a.split(""):a;for(--c;0<=c;--c)c in d&&b.call(void 0,d[c],c,a)};
g.Za=function(a,b,c){b=g.Xa(a,b,c);return 0>b?null:"string"===typeof a?a.charAt(b):a[b]};
g.Xa=function(a,b,c){for(var d=a.length,e="string"===typeof 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.$a=function(a,b,c){var d=a.length,e="string"===typeof 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.bb=function(a,b){return 0<=ab(a,b)};
g.cb=function(a){return 0==a.length};
db=function(a){if(!Array.isArray(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0};
g.fb=function(a,b){var c=ab(a,b),d;(d=0<=c)&&g.eb(a,c);return d};
g.eb=function(a,b){return 1==Array.prototype.splice.call(a,b,1).length};
g.gb=function(a,b){var c=g.Xa(a,b,void 0);0<=c&&g.eb(a,c)};
kaa=function(a,b){var c=0;jaa(a,function(d,e){b.call(void 0,d,e,a)&&g.eb(a,e)&&c++})};
g.ib=function(a){return Array.prototype.concat.apply([],arguments)};
g.jb=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[]};
kb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(g.Ma(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var k=0;k<f;k++)a[e+k]=d[k]}else a.push(d)}};
g.nb=function(a,b,c,d){Array.prototype.splice.apply(a,lb(arguments,1))};
lb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
laa=function(a){for(var b={},c=0,d=0;d<a.length;){var e=a[d++];var f=e;f=g.Oa(f)?"o"+g.Qa(f):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,f)||(b[f]=!0,a[c++]=e)}a.length=c};
g.qb=function(a,b,c){return ob(a,c||pb,!1,b)};
rb=function(a,b){return ob(a,b,!0,void 0,void 0)};
ob=function(a,b,c,d,e){for(var f=0,k=a.length,l;f<k;){var m=f+(k-f>>>1),n;c?n=b.call(e,a[m],m,a):n=b(d,a[m]);0<n?f=m+1:(k=m,l=!n)}return l?f:-f-1};
g.sb=function(a,b){a.sort(b||pb)};
maa=function(a,b){var c=pb;g.sb(a,function(d,e){return c(b(d),b(e))})};
g.ub=function(a,b){if(!g.Ma(a)||!g.Ma(b)||a.length!=b.length)return!1;for(var c=a.length,d=naa,e=0;e<c;e++)if(!d(a[e],b[e]))return!1;return!0};
pb=function(a,b){return a>b?1:a<b?-1:0};
naa=function(a,b){return a===b};
g.vb=function(a,b,c){c=g.qb(a,b,c);0>c&&g.nb(a,-(c+1),0,b)};
g.wb=function(a,b,c){var d={};(0,g.y)(a,function(e,f){d[b.call(c,e,f,a)]=e});
return d};
oaa=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};
paa=function(a,b){var c=Array.prototype.splice.call(a,b,1);Array.prototype.splice.call(a,0,0,c[0])};
xb=function(a,b){return 0==a.lastIndexOf(b,0)};
yb=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c};
g.zb=function(a){return/^[\s\xa0]*$/.test(a)};
Hb=function(a,b){if(b)a=a.replace(Ab,"&amp;").replace(Bb,"&lt;").replace(Db,"&gt;").replace(Eb,"&quot;").replace(Fb,"&#39;").replace(Gb,"&#0;");else{if(!qaa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ab,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Bb,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Db,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Eb,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Fb,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Gb,"&#0;"))}return a};
Ib=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())};
g.Lb=function(a,b){for(var c=0,d=Jb(String(a)).split("."),e=Jb(String(b)).split("."),f=Math.max(d.length,e.length),k=0;0==c&&k<f;k++){var l=d[k]||"",m=e[k]||"";do{l=/(\d*)(\D*)(.*)/.exec(l)||["","","",""];m=/(\d*)(\D*)(.*)/.exec(m)||["","","",""];if(0==l[0].length&&0==m[0].length)break;c=Kb(0==l[1].length?0:parseInt(l[1],10),0==m[1].length?0:parseInt(m[1],10))||Kb(0==l[2].length,0==m[2].length)||Kb(l[2],m[2]);l=l[3];m=m[3]}while(0==c)}return c};
Kb=function(a,b){return a<b?-1:a>b?1:0};
Nb=function(a){return-1!=g.Mb.indexOf(a)};
g.Ob=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};
g.Pb=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d};
Qb=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c};
Rb=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1};
Sb=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0};
Tb=function(a){for(var b in a)return a[b]};
g.Ub=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};
g.Vb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b};
g.Wb=function(a,b){var c=g.Ma(b),d=c?b:arguments;for(c=c?0:1;c<d.length;c++){if(null==a)return;a=a[d[c]]}return a};
Xb=function(a,b){return null!==a&&b in a};
g.Yb=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};
Zb=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d};
$b=function(a,b){var c=Zb(a,b,void 0);return c&&a[c]};
g.ac=function(a){for(var b in a)return!1;return!0};
g.bc=function(a){for(var b in a)delete a[b]};
g.cc=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.dc=function(a){var b={},c;for(c in a)b[c]=a[c];return b};
g.ec=function(a){var b=Ka(a);if("object"==b||"array"==b){if(g.Na(a.clone))return a.clone();b="array"==b?[]:{};for(var c in a)b[c]=g.ec(a[c]);return b}return a};
g.gc=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<fc.length;f++)c=fc[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};
hc=function(a){var b=a;Object.isFrozen&&!Object.isFrozen(a)&&(b=Object.create(a),Object.freeze(b));return b};
ic=function(){return Nb("Firefox")||Nb("FxiOS")};
kc=function(){return Nb("Safari")&&!(jc()||Nb("Coast")||Nb("Opera")||Nb("Edge")||Nb("Edg/")||Nb("OPR")||ic()||Nb("Silk")||Nb("Android"))};
jc=function(){return(Nb("Chrome")||Nb("CriOS"))&&!Nb("Edge")};
g.lc=function(){return Nb("Android")&&!(jc()||ic()||Nb("Opera")||Nb("Silk"))};
mc=function(a){return function(){return a}};
g.nc=function(a){return a};
raa=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};
oc=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};
saa=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};
taa=function(a,b){var c=0;return function(d){g.v.clearTimeout(c);var e=arguments;c=g.v.setTimeout(function(){a.apply(b,e)},50)}};
rc=function(a,b){this.o=a===pc&&b||"";this.u=qc};
sc=function(a){return a instanceof rc&&a.constructor===rc&&a.u===qc?a.o:"type_error:Const"};
g.tc=function(a){return new rc(pc,a)};
xc=function(a,b){this.u=a===vc&&b||"";this.w=wc};
yc=function(a){if(a instanceof xc&&a.constructor===xc&&a.w===wc)return a.u;Ka(a);return"type_error:TrustedResourceUrl"};
waa=function(a,b){var c=sc(a);if(!uaa.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);var d=c.replace(vaa,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 k=b[f];return k instanceof rc?sc(k):encodeURIComponent(String(k))});
return new xc(vc,d)};
g.Bc=function(a,b){this.u=a===zc&&b||"";this.w=Ac};
g.Cc=function(a){if(a instanceof g.Bc&&a.constructor===g.Bc&&a.w===Ac)return a.u;Ka(a);return"type_error:SafeUrl"};
g.Ec=function(a){if(a instanceof g.Bc)return a;a="object"==typeof a&&a.Zf?a.xe():String(a);Dc.test(a)||(a="about:invalid#zClosurez");return new g.Bc(zc,a)};
g.Fc=function(a,b){if(a instanceof g.Bc)return a;a="object"==typeof a&&a.Zf?a.xe():String(a);if(b&&/^data:/i.test(a)){var c=a.replace(/(%0A|%0D)/g,"");var d=c.match(xaa);d=d&&yaa.test(d[1]);c=new g.Bc(zc,d?c:"about:invalid#zClosurez");if(c.xe()==a)return c}Dc.test(a)||(a="about:invalid#zClosurez");return new g.Bc(zc,a)};
Ic=function(){this.o="";this.u=Gc};
Jc=function(a){if(a instanceof Ic&&a.constructor===Ic&&a.u===Gc)return a.o;Ka(a);return"type_error:SafeStyle"};
Kc=function(a){var b=new Ic;b.o=a;return b};
Nc=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var d=a[c];null!=d&&(d=Array.isArray(d)?(0,g.A)(d,Lc).join(" "):Lc(d),b+=c+":"+d+";")}return b?Kc(b):Mc};
Lc=function(a){if(a instanceof g.Bc)return'url("'+g.Cc(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';a=a instanceof rc?sc(a):zaa(String(a));if(/[{;}]/.test(a))throw new Va("Value does not allow [{;}], got: %s.",[a]);return a};
zaa=function(a){var b=a.replace(Oc,"$1").replace(Oc,"$1").replace(Pc,"url");if(Aaa.test(b)){if(Baa.test(a))return"zClosurez";for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}if(!b||!c||!Caa(a))return"zClosurez"}else return"zClosurez";return Daa(a)};
Caa=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};
Daa=function(a){return a.replace(Pc,function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(k,l,m){f=l;return m});
b=g.Ec(d).xe();return c+f+b+f+e})};
Eaa=function(a){function b(d){Array.isArray(d)?(0,g.y)(d,b):c+=Jc(d)}
var c="";(0,g.y)(arguments,b);return c?Kc(c):Mc};
Rc=function(){this.u="";this.A=Qc;this.w=null};
g.Sc=function(a){if(a instanceof Rc&&a.constructor===Rc&&a.A===Qc)return a.u;Ka(a);return"type_error:SafeHtml"};
Uc=function(a){if(a instanceof Rc)return a;var b="object"==typeof a,c=null;b&&a.Fr&&(c=a.o());return Tc(Hb(b&&a.Zf?a.xe():String(a)),c)};
Faa=function(a){function b(f){Array.isArray(f)?(0,g.y)(f,b):(f=Uc(f),e.push(g.Sc(f).toString()),f=f.o(),0==d?d=f:0!=f&&d!=f&&(d=null))}
var c=Uc(Vc),d=c.o(),e=[];(0,g.y)(a,b);return Tc(e.join(g.Sc(c).toString()),d)};
Gaa=function(a){return Faa(Array.prototype.slice.call(arguments))};
Tc=function(a,b){return Wc(a,b)};
Wc=function(a,b){var c=new Rc;c.u=a;c.w=b;return c};
g.Xc=function(a,b){sc(a);sc(a);return Wc(b,null)};
Haa=function(a){var b=g.tc("Output of CSS sanitizer");sc(b);sc(b);return Kc(a)};
g.Yc=function(a,b){if(Iaa())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=g.Sc(b)};
g.Zc=function(a,b){var c=b instanceof g.Bc?b:g.Fc(b);a.href=g.Cc(c)};
Kaa=function(a){var b=new xc(vc,sc(Jaa));a.src=yc(b).toString()};
ad=function(a,b){a.src=yc(b);if(null===$c)b:{var c=g.v.document;if((c=c.querySelector&&c.querySelector("script[nonce]"))&&(c=c.nonce||c.getAttribute("nonce"))&&Laa.test(c)){$c=c;break b}$c=""}c=$c;c&&a.setAttribute("nonce",c)};
bd=function(a){return encodeURIComponent(String(a))};
cd=function(a){return decodeURIComponent(a.replace(/\+/g," "))};
g.dd=function(a){return a=Hb(a,void 0)};
g.ed=function(a,b){var c=String(a),d=c.indexOf(".");-1==d&&(d=c.length);return Maa("0",Math.max(0,b-d))+c};
g.fd=function(a){return null==a?"":String(a)};
gd=function(a){for(var b=0,c=0;c<a.length;++c)b=31*b+a.charCodeAt(c)>>>0;return b};
g.hd=function(a){var b=Number(a);return 0==b&&g.zb(a)?NaN:b};
id=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})};
g.jd=function(a){return String(a).replace(/([A-Z])/g,"-$1").toLowerCase()};
Naa=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};
kd=function(){return Nb("iPhone")&&!Nb("iPod")&&!Nb("iPad")};
ld=function(){return kd()||Nb("iPad")||Nb("iPod")};
md=function(a){md[" "](a);return a};
nd=function(a,b){try{return md(a[b]),!0}catch(c){}return!1};
Paa=function(a,b){var c=Oaa;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};
od=function(){var a=g.v.document;return a?a.documentMode:void 0};
g.qd=function(a){return Paa(a,function(){return 0<=g.Lb(pd,a)})};
g.rd=function(a){return Number(Qaa)>=a};
g.sd=function(a,b,c){return Math.min(Math.max(a,b),c)};
g.td=function(a,b){var c=a%b;return 0>c*b?c+b:c};
g.ud=function(a,b,c){return a+c*(b-a)};
vd=function(a,b){return 1E-6>=Math.abs(a-b)};
g.wd=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};
xd=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1};
g.yd=function(a,b){this.width=a;this.height=b};
g.Ad=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};
Bd=function(a){return a.width*a.height};
Fd=function(a){return a?new Cd(Dd(a)):Ed||(Ed=new Cd)};
Gd=function(a){var b=document;return"string"===typeof a?b.getElementById(a):a};
g.Id=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):g.Hd(document,"*",a,b)};
g.Jd=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.Hd(c,"*",a,b)[0]||null}return c||null};
g.Hd=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,k;k=a[f];f++)b==k.nodeName&&(d[e++]=k);d.length=e;return d}return a}a=a.getElementsByTagName(b||"*");if(c){d={};for(f=e=0;k=a[f];f++)b=k.className,"function"==typeof b.split&&g.bb(b.split(/\s+/),c)&&(d[e++]=k);d.length=e;return d}return a};
Ld=function(a,b){g.Ob(b,function(c,d){c&&"object"==typeof c&&c.Zf&&(c=c.xe());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Kd.hasOwnProperty(d)?a.setAttribute(Kd[d],c):xb(d,"aria-")||xb(d,"data-")?a.setAttribute(d,c):a[d]=c})};
Md=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new g.yd(a.clientWidth,a.clientHeight)};
Pd=function(a){var b=Nd(a);a=a.parentWindow||a.defaultView;return g.Od&&g.qd("10")&&a.pageYOffset!=b.scrollTop?new g.wd(b.scrollLeft,b.scrollTop):new g.wd(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)};
Nd=function(a){return a.scrollingElement?a.scrollingElement:g.Qd||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement};
Rd=function(a){return a?a.parentWindow||a.defaultView:window};
g.Ud=function(a,b,c){var d=arguments,e=document,f=String(d[0]),k=d[1];if(!Raa&&k&&(k.name||k.type)){f=["<",f];k.name&&f.push(' name="',g.dd(k.name),'"');if(k.type){f.push(' type="',g.dd(k.type),'"');var l={};g.gc(l,k);delete l.type;k=l}f.push(">");f=f.join("")}f=Sd(e,f);k&&("string"===typeof k?f.className=k:Array.isArray(k)?f.className=k.join(" "):Ld(f,k));2<d.length&&Td(e,f,d,2);return f};
Td=function(a,b,c,d){function e(k){k&&b.appendChild("string"===typeof k?a.createTextNode(k):k)}
for(;d<c.length;d++){var f=c[d];!g.Ma(f)||g.Oa(f)&&0<f.nodeType?e(f):(0,g.y)(Saa(f)?g.jb(f):f,e)}};
g.Vd=function(a){return Sd(document,a)};
Sd=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)};
g.Wd=function(a){return document.createTextNode(String(a))};
g.Xd=function(a,b){a.appendChild(b)};
g.Yd=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};
g.Zd=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)};
g.$d=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)};
Uaa=function(a){return Taa&&void 0!=a.children?a.children:(0,g.ae)(a.childNodes,function(b){return 1==b.nodeType})};
g.be=function(a){var b;if(Vaa&&!(g.Od&&g.qd("9")&&!g.qd("10")&&g.v.SVGElement&&a instanceof g.v.SVGElement)&&(b=a.parentElement))return b;b=a.parentNode;return g.Oa(b)&&1==b.nodeType?b:null};
g.ce=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};
Dd=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document};
g.de=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.Yd(a);var c=Dd(a);a.appendChild(c.createTextNode(String(b)))}};
ge=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&&(!ee(a)||fe(a)):b=ee(a)&&fe(a);if(b&&g.Od){var c;!g.Na(a.getBoundingClientRect)||g.Od&&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};
ee=function(a){return g.Od&&!g.qd("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")};
fe=function(a){a=a.tabIndex;return"number"===typeof a&&0<=a&&32768>a};
Saa=function(a){if(a&&"number"==typeof a.length){if(g.Oa(a))return"function"==typeof a.item||"string"==typeof a.item;if(g.Na(a))return"function"==typeof a.item}return!1};
g.ie=function(a,b,c,d){if(!b&&!c)return null;var e=b?String(b).toUpperCase():null;return he(a,function(f){return(!e||f.nodeName==e)&&(!c||"string"===typeof f.className&&g.bb(f.className.split(/\s+/),c))},!0,d)};
he=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};
Cd=function(a){this.o=a||g.v.document||document};
Waa=function(a){this.qw=a};
je=function(a,b,c){this.A=a;this.u=b;this.o=c||[];this.Mi=new Map};
ke=function(a,b){je.call(this,a,3,b)};
g.B=function(){this.vb=this.vb;this.mi=this.mi};
g.H=function(a,b){g.le(a,g.Ra(g.me,b))};
g.le=function(a,b){a.vb?b():(a.mi||(a.mi=[]),a.mi.push(b))};
g.me=function(a){a&&"function"==typeof a.dispose&&a.dispose()};
g.ne=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];g.Ma(d)?g.ne.apply(null,d):g.me(d)}};
g.oe=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.o=!1};
Xaa=function(a){var b=g.w("window.location.href");null==a&&(a='Unknown Error of type "null/undefined"');if("string"===typeof 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.v.$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,pe[b]?b=pe[b]:(b=String(b),pe[b]||(c=/function\s+([^\(]+)/m.exec(b),pe[b]=c?c[1]:"[Anonymous]"),b=pe[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"})};
qe=function(a,b){g.oe.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.u=null;a&&this.init(a,b)};
se=function(a){return!(!a||!a[re])};
Zaa=function(a,b,c,d,e){this.listener=a;this.o=null;this.src=b;this.type=c;this.capture=!!d;this.Fn=e;this.key=++Yaa;this.Ej=this.Qm=!1};
te=function(a){a.Ej=!0;a.listener=null;a.o=null;a.src=null;a.Fn=null};
ue=function(a){this.src=a;this.listeners={};this.o=0};
ve=function(a,b){var c=b.type;c in a.listeners&&g.fb(a.listeners[c],b)&&(te(b),0==a.listeners[c].length&&(delete a.listeners[c],a.o--))};
we=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.Ej&&f.listener==b&&f.capture==!!c&&f.Fn==d)return e}return-1};
ye=function(a,b,c,d,e){if(d&&d.once)return xe(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)ye(a,b[f],c,d,e);return null}c=ze(c);return se(a)?a.ia(b,c,g.Oa(d)?!!d.capture:!!d,e):Ae(a,b,c,!1,d,e)};
Ae=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var k=g.Oa(e)?!!e.capture:!!e,l=Be(a);l||(a[Ce]=l=new ue(a));c=l.add(b,c,d,k,f);if(c.o)return c;d=$aa();c.o=d;d.src=a;d.listener=c;if(a.addEventListener)aba||(e=k),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(De(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Ee++;return c};
$aa=function(){var a=bba,b=Fe?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};
xe=function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)xe(a,b[f],c,d,e);return null}c=ze(c);return se(a)?a.hs(b,c,g.Oa(d)?!!d.capture:!!d,e):Ae(a,b,c,!0,d,e)};
Ge=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Ge(a,b[f],c,d,e);else d=g.Oa(d)?!!d.capture:!!d,c=ze(c),se(a)?a.Wa(b,c,d,e):a&&(a=Be(a))&&(b=a.Bk(b,c,d,e))&&He(b)};
He=function(a){if("number"!==typeof a&&a&&!a.Ej){var b=a.src;if(se(b))ve(b.u,a);else{var c=a.type,d=a.o;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(De(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ee--;(c=Be(b))?(ve(c,a),0==c.o&&(c.src=null,b[Ce]=null)):te(a)}}};
De=function(a){return a in Ie?Ie[a]:Ie[a]="on"+a};
Ke=function(a,b,c,d){var e=!0;if(a=Be(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.Ej&&(f=Je(f,d),e=e&&!1!==f)}return e};
Je=function(a,b){var c=a.listener,d=a.Fn||a.src;a.Qm&&He(a);return c.call(d,b)};
bba=function(a,b){if(a.Ej)return!0;if(!Fe){var c=b||g.w("window.event"),d=new qe(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 k=c.length-1;!d.o&&0<=k;k--){d.currentTarget=c[k];var l=Ke(c[k],f,!0,d);e=e&&l}for(k=0;!d.o&&k<c.length;k++)d.currentTarget=c[k],l=Ke(c[k],f,!1,d),e=e&&l}return e}return Je(a,new qe(b,
this))};
Be=function(a){a=a[Ce];return a instanceof ue?a:null};
ze=function(a){if(g.Na(a))return a;a[Le]||(a[Le]=function(b){return a.handleEvent(b)});
return a[Le]};
g.Me=function(){g.B.call(this);this.u=new ue(this);this.ga=this;this.ca=null};
Ne=function(a,b,c,d){b=a.u.listeners[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var k=b[f];if(k&&!k.Ej&&k.capture==c){var l=k.listener,m=k.Fn||k.src;k.Qm&&ve(a.u,k);e=!1!==l.call(m,d)&&e}}return e&&!d.defaultPrevented};
Oe=function(a,b){this.w=a;this.A=b;this.u=0;this.o=null};
Pe=function(a,b){a.A(b);100>a.u&&(a.u++,b.next=a.o,a.o=b)};
Qe=function(a){g.v.setTimeout(function(){throw a;},0)};
Se=function(a,b){var c=a;b&&(c=(0,g.x)(a,b));c=cba(c);!g.Na(g.v.setImmediate)||g.v.Window&&g.v.Window.prototype&&!Nb("Edge")&&g.v.Window.prototype.setImmediate==g.v.setImmediate?(Re||(Re=dba()),Re(c)):g.v.setImmediate(c)};
dba=function(){var a=g.v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Nb("Presto")&&(a=function(){var e=g.Vd("IFRAME");e.style.display="none";Kaa(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(g.Sc(Vc));e.close();var k="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.x)(function(m){if(("*"==l||m.origin==l)&&m.data==k)this.port1.onmessage()},
this);
f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(k,l)}}});
if("undefined"!==typeof a&&!Nb("Trident")&&!Nb("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.nw;c.nw=null;e()}};
return function(e){d.next={nw:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.v.setTimeout(e,0)}};
Te=function(){this.u=this.o=null};
Ue=function(){this.next=this.scope=this.Tf=null};
g.Ye=function(a,b){Ve||eba();We||(Ve(),We=!0);Xe.add(a,b)};
eba=function(){if(g.v.Promise&&g.v.Promise.resolve){var a=g.v.Promise.resolve(void 0);Ve=function(){a.then(Ze)}}else Ve=function(){Se(Ze)}};
Ze=function(){for(var a;a=Xe.remove();){try{a.Tf.call(a.scope)}catch(b){Qe(b)}Pe($e,a)}We=!1};
af=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};
cf=function(a){this.o=0;this.F=void 0;this.A=this.u=this.w=null;this.B=this.C=!1;if(a!=g.Ia)try{var b=this;a.call(void 0,function(c){bf(b,2,c)},function(c){bf(b,3,c)})}catch(c){bf(this,3,c)}};
df=function(){this.next=this.context=this.onRejected=this.w=this.o=null;this.u=!1};
jf=function(a,b,c){var d=ef.get();d.w=a;d.onRejected=b;d.context=c;return d};
kf=function(a){if(a instanceof cf)return a;var b=new cf(g.Ia);bf(b,2,a);return b};
lf=function(a){return new cf(function(b,c){c(a)})};
nf=function(a,b,c){mf(a,b,c,null)||g.Ye(g.Ra(b,a))};
of=function(a){return new cf(function(b,c){a.length||b(void 0);for(var d=0,e;d<a.length;d++)e=a[d],nf(e,b,c)})};
fba=function(a){return new cf(function(b,c){var d=a.length,e=[];if(d)for(var f=function(n,p){d--;e[n]=p;0==d&&b(e)},k=function(n){c(n)},l=0,m;l<a.length;l++)m=a[l],nf(m,g.Ra(f,l),k);
else b(e)})};
qf=function(a,b){var c=jf(b,b,void 0);c.u=!0;pf(a,c);return a};
sf=function(a,b){return rf(a,null,b,void 0)};
tf=function(a,b){if(0==a.o)if(a.w){var c=a.w;if(c.u){for(var d=0,e=null,f=null,k=c.u;k&&(k.u||(d++,k.o==a&&(e=k),!(e&&1<d)));k=k.next)e||(f=k);e&&(0==c.o&&1==d?tf(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):uf(c),vf(c,e,3,b)))}a.w=null}else bf(a,3,b)};
pf=function(a,b){a.u||2!=a.o&&3!=a.o||wf(a);a.A?a.A.next=b:a.u=b;a.A=b};
rf=function(a,b,c,d){var e=jf(null,null,null);e.o=new cf(function(f,k){e.w=b?function(l){try{var m=b.call(d,l);f(m)}catch(n){k(n)}}:f;
e.onRejected=c?function(l){try{var m=c.call(d,l);void 0===m&&l instanceof xf?k(l):f(m)}catch(n){k(n)}}:k});
e.o.w=a;pf(a,e);return e.o};
bf=function(a,b,c){0==a.o&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.o=1,mf(c,a.H,a.J,a)||(a.F=c,a.o=b,a.w=null,wf(a),3!=b||c instanceof xf||gba(a,c)))};
mf=function(a,b,c,d){if(a instanceof cf)return pf(a,jf(b||g.Ia,c||null,d)),!0;if(af(a))return a.then(b,c,d),!0;if(g.Oa(a))try{var e=a.then;if(g.Na(e))return hba(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1};
hba=function(a,b,c,d,e){function f(m){l||(l=!0,d.call(e,m))}
function k(m){l||(l=!0,c.call(e,m))}
var l=!1;try{b.call(a,k,f)}catch(m){f(m)}};
wf=function(a){a.C||(a.C=!0,g.Ye(a.G,a))};
uf=function(a){var b=null;a.u&&(b=a.u,a.u=b.next,b.next=null);a.u||(a.A=null);return b};
vf=function(a,b,c,d){if(3==c&&b.onRejected&&!b.u)for(;a&&a.B;a=a.w)a.B=!1;if(b.o)b.o.w=null,yf(b,c,d);else try{b.u?b.w.call(b.context):yf(b,c,d)}catch(e){zf.call(null,e)}Pe(ef,b)};
yf=function(a,b,c){2==b?a.w.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)};
gba=function(a,b){a.B=!0;g.Ye(function(){a.B&&zf.call(null,b)})};
xf=function(a){Ua.call(this,a)};
g.Af=function(a,b){g.Me.call(this);this.rd=a||1;this.hm=b||g.v;this.hw=(0,g.x)(this.dd,this);this.vy=(0,g.I)()};
g.Bf=function(a,b,c){if(g.Na(a))c&&(a=(0,g.x)(a,c));else if(a&&"function"==typeof a.handleEvent)a=(0,g.x)(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:g.v.setTimeout(a,b||0)};
Cf=function(a,b){var c=null;return sf(new cf(function(d,e){c=g.Bf(function(){d(b)},a);
-1==c&&e(Error("Failed to schedule timer."))}),function(d){g.v.clearTimeout(c);
throw d;})};
Ef=function(){this.J=new Df;this.u=new Map;this.F=new Set;this.w=0;this.A=100;this.flushInterval=3E4;this.o=new g.Af(this.flushInterval);this.o.ia("tick",this.B,!1,this)};
iba=function(a){for(var b=0;b<a.length;b++)a[b].clear()};
jba=function(){if(!Ff){Ff=new Ef;var a=Gf("client_streamz_web_flush_count",-1);-1!==a&&(Ff.A=a)}this.o=Ff;this.o.C("/client_streamz/youtube/video_ads/visibility_error",{Tw:3,Sw:"element_name"},{Tw:3,Sw:"error_reason"})};
kba=function(a){return(0,g.A)(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};
g.Jf=function(a,b){g.Ma(a);void 0===b&&(b=0);Hf();for(var c=If[b],d=[],e=0;e<a.length;e+=3){var f=a[e],k=e+1<a.length,l=k?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,k||(l=64));d.push(c[p],c[f],c[l]||"",c[n]||"")}return d.join("")};
lba=function(a){var b=[];Kf(a,function(c){b.push(c)});
return b};
g.Lf=function(a){!g.Od||g.qd("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;Kf(a,function(f){d[e++]=f});
return d.subarray(0,e)};
Kf=function(a,b){function c(m){for(;d<a.length;){var n=a.charAt(d++),p=Mf[n];if(null!=p)return p;if(!g.zb(n))throw Error("Unknown base64 encoding at char: "+n);}return m}
Hf();for(var d=0;;){var e=c(-1),f=c(0),k=c(64),l=c(64);if(64===l&&-1===e)break;b(e<<2|f>>4);64!=k&&(b(f<<4&240|k>>2),64!=l&&b(k<<6&192|l))}};
Hf=function(){if(!Mf){Mf={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));If[c]=d;for(var e=0;e<d.length;e++){var f=d[e];void 0===Mf[f]&&(Mf[f]=e)}}}};
Of=function(a,b,c){this.u=null;this.o=this.w=this.A=0;this.B=!1;a&&Nf(this,a,b,c)};
Qf=function(a,b,c){if(Pf.length){var d=Pf.pop();a&&Nf(d,a,b,c);return d}return new Of(a,b,c)};
Nf=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?g.Lf(b):new Uint8Array(0);a.u=b;a.A=void 0!==c?c:0;a.w=void 0!==d?a.A+d:a.u.length;a.o=a.A};
Rf=function(a){for(var b=128,c=0,d=0,e=0;4>e&&128<=b;e++)b=a.u[a.o++],c|=(b&127)<<7*e;128<=b&&(b=a.u[a.o++],c|=(b&127)<<28,d|=(b&127)>>4);if(128<=b)for(e=0;5>e&&128<=b;e++)b=a.u[a.o++],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.B=!0};
Sf=function(a){var b=a.u;var c=b[a.o+0];var d=c&127;if(128>c)return a.o+=1,d;c=b[a.o+1];d|=(c&127)<<7;if(128>c)return a.o+=2,d;c=b[a.o+2];d|=(c&127)<<14;if(128>c)return a.o+=3,d;c=b[a.o+3];d|=(c&127)<<21;if(128>c)return a.o+=4,d;c=b[a.o+4];d|=(c&15)<<28;if(128>c)return a.o+=5,d>>>0;a.o+=5;128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&128<=b[a.o++]&&a.o++;return d};
Tf=function(a){this.o=Qf(a,void 0,void 0);this.B=this.o.o;this.u=this.w=-1;this.A=!1};
Uf=function(a){var b=a.o;(b=b.o==b.w)||(b=a.A)||(b=a.o,b=b.B||0>b.o||b.o>b.w);if(b)return!1;a.B=a.o.o;b=Sf(a.o);var c=b&7;if(0!=c&&5!=c&&1!=c&&2!=c&&3!=c&&4!=c)return a.A=!0,!1;a.w=b>>>3;a.u=c;return!0};
Vf=function(a){switch(a.u){case 0:if(0!=a.u)Vf(a);else{for(a=a.o;a.u[a.o]&128;)a.o++;a.o++}break;case 1:1!=a.u?Vf(a):(a=a.o,a.o+=8);break;case 2:if(2!=a.u)Vf(a);else{var b=Sf(a.o);a=a.o;a.o+=b}break;case 5:5!=a.u?Vf(a):(a=a.o,a.o+=4);break;case 3:b=a.w;do{if(!Uf(a)){a.A=!0;break}if(4==a.u){a.w!=b&&(a.A=!0);break}Vf(a)}while(1);break;default:a.A=!0}};
Wf=function(a){var b=Sf(a.o);a=a.o;var c=a.u,d=a.o,e=d+b;b=[];for(var f="";d<e;){var k=c[d++];if(128>k)b.push(k);else if(192>k)continue;else if(224>k){var l=c[d++];b.push((k&31)<<6|l&63)}else if(240>k){l=c[d++];var m=c[d++];b.push((k&15)<<12|(l&63)<<6|m&63)}else if(248>k){l=c[d++];m=c[d++];var n=c[d++];k=(k&7)<<18|(l&63)<<12|(m&63)<<6|n&63;k-=65536;b.push((k>>10&1023)+55296,(k&1023)+56320)}8192<=b.length&&(f+=String.fromCharCode.apply(null,b),b.length=0)}c=f;if(8192>=b.length)b=String.fromCharCode.apply(null,
b);else{e="";for(f=0;f<b.length;f+=8192)k=lb(b,f,f+8192),e+=String.fromCharCode.apply(null,k);b=e}a.o=d;return c+b};
Xf=function(a){var b=Sf(a.o);a=a.o;if(0>b||a.o+b>a.u.length)a.B=!0,b=new Uint8Array(0);else{var c=a.u.subarray(a.o,a.o+b);a.o+=b;b=c}return b};
Yf=function(){this.o=[]};
Zf=function(a,b){for(;127<b;)a.o.push(b&127|128),b>>>=7;a.o.push(b)};
$f=function(a,b){a.o.push(b>>>0&255);a.o.push(b>>>8&255);a.o.push(b>>>16&255);a.o.push(b>>>24&255)};
ag=function(){this.w=[];this.u=0;this.o=new Yf};
bg=function(a,b){Zf(a.o,8*b+2);var c=a.o.end();a.w.push(c);a.u+=c.length;c.push(a.u);return c};
cg=function(a,b){var c=b.pop();for(c=a.u+a.o.length()-c;127<c;)b.push(c&127|128),c>>>=7,a.u++;b.push(c);a.u++};
dg=function(a){for(var b=new Uint8Array(a.u+a.o.length()),c=a.w,d=c.length,e=0,f=0;f<d;f++){var k=c[f];b.set(k,e);e+=k.length}c=a.o.end();b.set(c,e);a.w=[b];return b};
eg=function(a,b,c){if(null!=c&&null!=c)if(Zf(a.o,8*b),a=a.o,0<=c)Zf(a,c);else{for(b=0;9>b;b++)a.o.push(c&127|128),c>>=7;a.o.push(1)}};
hg=function(a,b,c){if(null!=c&&null!=c){Zf(a.o,8*b);a=a.o;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)));fg=b;gg=d;c=fg;for(b=gg;0<b||127<c;)a.o.push(c&127|128),c=(c>>>7|b<<25)>>>0,b>>>=7;a.o.push(c)}};
ig=function(a,b,c){null!=c&&(Zf(a.o,8*b+1),a=a.o,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,fg=b,gg=c,$f(a,fg),$f(a,gg))};
jg=function(a,b,c){if(null!=c){Zf(a.o,8*b+1);a=a.o;var d=c;d=(c=0>d?1:0)?-d:d;if(0===d)gg=0<1/d?0:2147483648,fg=0;else if(isNaN(d))gg=2147483647,fg=4294967295;else if(1.7976931348623157E308<d)gg=(c<<31|2146435072)>>>0,fg=0;else if(2.2250738585072014E-308>d)d/=Math.pow(2,-1074),gg=(c<<31|d/4294967296)>>>0,fg=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);gg=(c<<31|b+1023<<20|1048576*d&1048575)>>>0;fg=4503599627370496*d>>>0}$f(a,fg);$f(a,
gg)}};
kg=function(a,b,c){null!=c&&(Zf(a.o,8*b),a.o.o.push(c?1:0))};
lg=function(a,b,c){if(null!=c){b=bg(a,b);for(var d=a.o,e=0;e<c.length;e++){var f=c.charCodeAt(e);if(128>f)d.o.push(f);else if(2048>f)d.o.push(f>>6|192),d.o.push(f&63|128);else if(65536>f)if(55296<=f&&56319>=f&&e+1<c.length){var k=c.charCodeAt(e+1);56320<=k&&57343>=k&&(f=1024*(f-55296)+k-56320+65536,d.o.push(f>>18|240),d.o.push(f>>12&63|128),d.o.push(f>>6&63|128),d.o.push(f&63|128),e++)}else d.o.push(f>>12|224),d.o.push(f>>6&63|128),d.o.push(f&63|128)}cg(a,b)}};
mg=function(a,b,c,d){null!=c&&(b=bg(a,b),d(c,a),cg(a,b))};
ng=function(a,b,c,d){if(null!=c)for(var e=0;e<c.length;e++){var f=bg(a,b);d(c[e],a);cg(a,f)}};
og=function(){};
tg=function(a,b,c,d){a.o=null;b||(b=[]);a.F=void 0;a.A=-1;a.u=b;a:{if(b=a.u.length){--b;var e=a.u[b];if(!(null===e||"object"!=typeof e||Array.isArray(e)||pg&&e instanceof Uint8Array)){a.B=b-a.A;a.w=e;break a}}a.B=Number.MAX_VALUE}a.C={};if(c)for(b=0;b<c.length;b++)e=c[b],e<a.B?(e+=a.A,a.u[e]=a.u[e]||qg):(rg(a),a.w[e]=a.w[e]||qg);if(d&&d.length)for(b=0;b<d.length;b++)sg(a,d[b])};
rg=function(a){var b=a.B+a.A;a.u[b]||(a.w=a.u[b]={})};
ug=function(a,b){if(b<a.B){var c=b+a.A,d=a.u[c];return d===qg?a.u[c]=[]:d}if(a.w)return d=a.w[b],d===qg?a.w[b]=[]:d};
mba=function(a){if(null==a||a instanceof Uint8Array)return a;if("string"===typeof a)return g.Lf(a);Ka(a);return null};
vg=function(a,b){var c=ug(a,b);return null==c?0:c};
wg=function(a,b,c){b<a.B?a.u[b+a.A]=c:(rg(a),a.w[b]=c);return a};
xg=function(a,b,c){0!==c?wg(a,b,c):b<a.B?a.u[b+a.A]=null:(rg(a),delete a.w[b]);return a};
yg=function(a,b,c,d){(c=sg(a,c))&&c!==b&&void 0!==d&&(a.o&&c in a.o&&(a.o[c]=void 0),wg(a,c,void 0));wg(a,b,d)};
sg=function(a,b){for(var c,d,e=0;e<b.length;e++){var f=b[e],k=ug(a,f);null!=k&&(c=f,d=k,wg(a,f,void 0))}return c?(wg(a,c,d),c):0};
zg=function(a,b,c){a.o||(a.o={});if(!a.o[c]){var d=ug(a,c);d&&(a.o[c]=new b(d))}return a.o[c]};
Bg=function(a,b,c){Ag(a,b,c);b=a.o[c];b==qg&&(b=a.o[c]=[]);return b};
Ag=function(a,b,c){a.o||(a.o={});if(!a.o[c]){for(var d=ug(a,c),e=[],f=0;f<d.length;f++)e[f]=new b(d[f]);a.o[c]=e}};
Dg=function(a,b,c){a.o||(a.o={});c=c||[];for(var d=[],e=0;e<c.length;e++)d[e]=Cg(c[e]);a.o[b]=c;wg(a,b,d)};
Eg=function(a){if(a.o)for(var b in a.o){var c=a.o[b];if(g.La(c))for(var d=0;d<c.length;d++)c[d]&&Cg(c[d]);else c&&Cg(c)}};
Cg=function(a){Eg(a);return a.u};
Fg=function(a){if(Array.isArray(a)){for(var b=Array(a.length),c=0;c<a.length;c++){var d=a[c];null!=d&&(b[c]="object"==typeof d?Fg(d):d)}return b}if(pg&&a instanceof Uint8Array)return new Uint8Array(a);b={};for(c in a)d=a[c],null!=d&&(b[c]="object"==typeof d?Fg(d):d);return b};
Gg=function(a){this.o=a||{cookie:""}};
Hg=function(a){a=(a.o.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f<a.length;f++)e=Jb(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}};
Jg=function(){return!Ig()&&(Nb("iPod")||Nb("iPhone")||Nb("Android")||Nb("IEMobile"))};
Ig=function(){return Nb("iPad")||Nb("Android")&&!Nb("Mobile")||Nb("Silk")};
Kg=function(a){return a?a.passive&&nba()?a:a.capture||!1:!1};
Lg=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,Kg(d)),!0):!1};
Mg=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,Kg(void 0))};
g.Pg=function(a){"number"===typeof a?(this.date=Ng(a,0,1),Og(this,1)):g.Oa(a)?(this.date=Ng(a.getFullYear(),a.getMonth(),a.getDate()),Og(this,a.getDate())):(this.date=new Date((0,g.I)()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),Og(this,a))};
Ng=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};
Og=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};
Rg=function(a){Qg();return new xc(vc,a)};
Sg=function(a,b,c,d,e,f,k){var l="";a&&(l+=a+":");c&&(l+="//",b&&(l+=b+"@"),l+=c,d&&(l+=":"+d));e&&(l+=e);f&&(l+="?"+f);k&&(l+="#"+k);return l};
Tg=function(a){return a?decodeURI(a):a};
g.Vg=function(a,b){return b.match(Ug)[a]||null};
g.Wg=function(a){return Tg(g.Vg(3,a))};
Xg=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 k=c[d].substring(0,e);f=c[d].substring(e+1)}else k=c[d];b(k,f?cd(f):"")}};
Yg=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)]};
Zg=function(a,b){return b?a?a+"&"+b:b:a};
$g=function(a,b){if(!b)return a;var c=Yg(a);c[1]=Zg(c[1],b);return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
ah=function(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)ah(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+bd(b)))};
bh=function(a,b){for(var c=[],d=b||0;d<a.length;d+=2)ah(a[d],a[d+1],c);return c.join("&")};
g.ch=function(a){var b=[],c;for(c in a)ah(c,a[c],b);return b.join("&")};
dh=function(a,b){var c=2==arguments.length?bh(arguments[1],0):bh(arguments,1);return $g(a,c)};
g.eh=function(a,b){var c=g.ch(b);return $g(a,c)};
fh=function(a,b,c){c=null!=c?"="+bd(c):"";return $g(a,b+c)};
gh=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};
ih=function(a,b){var c=a.search(hh),d=gh(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 cd(a.substr(d,e-d))};
jh=function(a,b){for(var c=a.search(hh),d=0,e,f=[];0<=(e=gh(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(oba,"$1")};
pba=function(a,b){var c=Yg(a),d=c[1],e=[];d&&(0,g.y)(d.split("&"),function(f){var k=f.indexOf("=");b.hasOwnProperty(0<=k?f.substr(0,k):f)||e.push(f)});
c[1]=Zg(e.join("&"),g.ch(b));return c[0]+(c[1]?"?"+c[1]:"")+c[2]};
kh=function(a){try{return!!a&&null!=a.location.href&&nd(a,"foo")}catch(b){return!1}};
lh=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&b.call(void 0,a[c],c,a)};
rba=function(){var a=[];lh(qba,function(b){a.push(b)});
return a};
tba=function(a){return(a=sba.exec(a))&&a[0]||""};
uba=function(){var a=mh;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""};
wba=function(){var a=g.Vd("IFRAME"),b={};(0,g.y)(vba(),function(c){a.sandbox&&a.sandbox.supports&&a.sandbox.supports(c)&&(b[c]=!0)});
return b};
nh=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};
oh=function(a){return a.right-a.left};
ph=function(a,b,c){b instanceof g.wd?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,"number"===typeof c&&(a.top+=c,a.bottom+=c));return a};
g.qh=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};
rh=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.th=function(a,b,c){if("string"===typeof b)(b=sh(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=sh(c,d);f&&(c.style[f]=e)}};
sh=function(a,b){var c=uh[b];if(!c){var d=id(b);c=d;void 0===a.style[d]&&(d=(g.Qd?"Webkit":vh?"Moz":g.Od?"ms":g.wh?"O":null)+Naa(d),void 0!==a.style[d]&&(c=d));uh[b]=c}return c};
g.xh=function(a,b){var c=a.style[id(b)];return"undefined"!==typeof c?c:a.style[sh(a,b)]||""};
yh=function(a,b){var c=Dd(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""};
zh=function(a,b){return yh(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]};
g.Bh=function(a,b,c){if(b instanceof g.wd){var d=b.x;b=b.y}else d=b,b=c;a.style.left=Ah(d,!1);a.style.top=Ah(b,!1)};
Dh=function(a){return new g.wd(a.offsetLeft,a.offsetTop)};
Eh=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}g.Od&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b};
Fh=function(a){if(g.Od&&!g.rd(8))return a.offsetParent;var b=Dd(a),c=zh(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=zh(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null};
g.Gh=function(a){var b=Dd(a),c=new g.wd(0,0);var d=b?Dd(b):document;d=!g.Od||g.rd(9)||"CSS1Compat"==Fd(d).o.compatMode?d.documentElement:d.body;if(a==d)return c;a=Eh(a);b=Pd(Fd(b).o);c.x=a.left+b.x;c.y=a.top+b.y;return c};
Ih=function(a,b){var c=new g.wd(0,0),d=Rd(Dd(a));if(!nd(d,"parent"))return c;var e=a;do{var f=d==b?g.Gh(e):Hh(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.Kh=function(a,b){var c=Jh(a),d=Jh(b);return new g.wd(c.x-d.x,c.y-d.y)};
Hh=function(a){a=Eh(a);return new g.wd(a.left,a.top)};
Jh=function(a){if(1==a.nodeType)return Hh(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.wd(a.clientX,a.clientY)};
g.Mh=function(a,b,c){if(b instanceof g.yd)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");g.Lh(a,b);a.style.height=Ah(c,!0)};
Ah=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};
g.Lh=function(a,b){a.style.width=Ah(b,!0)};
g.Nh=function(a){var b=xba;if("none"!=zh(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};
xba=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Qd&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=Eh(a),new g.yd(a.right-a.left,a.bottom-a.top)):new g.yd(b,c)};
g.Oh=function(a,b){a.style.display=b?"":"none"};
Sh=function(){if(Ph&&!kh(Qh)){var a="."+Rh.domain;try{for(;2<a.split(".").length&&!kh(Qh);)Rh.domain=a=a.substr(a.indexOf(".")+1),Qh=window.parent}catch(b){}kh(Qh)||(Qh=window)}return Qh};
Th=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.yd(b.innerWidth,b.innerHeight)).round():Md(b||window).round()}catch(d){return new g.yd(-12245933,-12245933)}};
Uh=function(a,b,c){try{a&&(b=b.top);var d=Th(a,b,void 0===c?!1:c),e=Pd(Fd(b.document).o);if(-12245933==d.width){var f=d.width;var k=new nh(f,f,f,f)}else k=new nh(e.y,e.x+d.width,e.y+d.height,e.x);return k}catch(l){return new nh(-12245933,-12245933,-12245933,-12245933)}};
yba=function(a){var b={};(0,g.y)(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null!==e&&(c.u(e)||(b[d]=null)):b[d]=c});
kaa(a,function(c){return null===b[c.event]})};
Vh=function(){this.qb=0;this.o=!1;this.u=-1;this.Uh=!1;this.Fd=0};
Wh=function(){this.u=null;this.o=!1};
Xh=function(a){Wh.call(this);this.w=a};
Yh=function(){Wh.call(this)};
Zh=function(){this.o={};this.w=!0;this.u={}};
$h=function(a,b,c){a.o[b]||(a.o[b]=new Xh(c));return a.o[b]};
zba=function(a){a.o.queryid||(a.o.queryid=new Yh)};
ai=function(a,b,c){(a=a.o[b])&&a.setValue(c)};
bi=function(a,b){if(Xb(a.u,b))return a.u[b];var c=a.o[b];if(c)return c.getValue()};
ci=function(a){var b={},c=g.Pb(a.o,function(d){return d.o});
g.Ob(c,function(d,e){var f=void 0!==a.u[e]?String(a.u[e]):d.o&&null!==d.u?String(d.u):"";0<f.length&&(b[e]=f)},a);
return b};
Aba=function(a){a=ci(a);var b=[];g.Ob(a,function(c,d){d in Object.prototype||"undefined"!=typeof c&&b.push([d,":",c].join(""))});
return b};
Bba=function(){this.o=this.Yg=null};
di=function(){};
fi=function(){if(!ei())throw Error();};
ei=function(){return!(!gi||!gi.performance)};
hi=function(a){return{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""]||0};
ii=function(){};
li=function(a){a=a||ji();for(var b=new ki(g.v.location.href,g.v,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Cba.test(f.url)&&(c=f);if(f.url&&!f.Sr){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Dba(b,e,c)};
ji=function(){var a=g.v,b=[],c=null;do{var d=a;if(kh(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new ki(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.v;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.Sr=!0);return b};
Dba=function(a,b,c){this.o=a;this.u=b;this.w=c};
ki=function(a,b,c){this.url=a;this.yd=b;this.Sr=!!c;this.depth=null};
mi=function(){this.w="&";this.A=!1;this.u={};this.B=0;this.o=[]};
ni=function(a,b){var c={};c[a]=b;return[c]};
pi=function(a,b,c,d,e){var f=[];lh(a,function(k,l){var m=oi(k,b,c,d,e);m&&f.push(l+"="+m)});
return f.join(b)};
oi=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=[],k=0;k<a.length;k++)f.push(oi(a[k],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(pi(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};
qi=function(a,b,c,d){a.o.push(b);a.u[b]=ni(c,d)};
Fba=function(a,b,c){b=b+"//pagead2.googlesyndication.com"+c;var d=Eba(a)-c.length;if(0>d)return"";a.o.sort(function(p,t){return p-t});
c=null;for(var e="",f=0;f<a.o.length;f++)for(var k=a.o[f],l=a.u[k],m=0;m<l.length;m++){if(!d){c=null==c?k:c;break}var n=pi(l[m],a.w,",$");if(n){n=e+n;if(d>=n.length){d-=n.length;b+=n;e=a.w;break}a.A&&(e=d,n[e-1]==a.w&&--e,b+=n.substr(0,e),e=a.w,d=0);c=null==c?k:c}}a="";null!=c&&(a=e+"trn="+c);return b+a+""};
Eba=function(a){var b=1,c;for(c in a.u)b=c.length>b?c.length:b;return 3997-b-a.w.length-1};
ri=function(a,b){this.o=a;this.depth=b};
Hba=function(){function a(l,m){return null==l?m:l}
var b=ji(),c=Math.max(b.length-1,0),d=li(b);b=d.o;var e=d.u,f=d.w,k=[];f&&k.push(new ri([f.url,f.Sr?2:0],a(f.depth,1)));e&&e!=f&&k.push(new ri([e.url,2],0));b.url&&b!=f&&k.push(new ri([b.url,0],a(b.depth,c)));d=(0,g.A)(k,function(l,m){return k.slice(0,k.length-m)});
!b.url||(f||e)&&b!=f||(e=tba(b.url))&&d.push([new ri([e,1],a(b.depth,c))]);d.push([]);return(0,g.A)(d,function(l){return Gba(c,l)})};
Gba=function(a,b){(0,g.si)(b,function(e){return 0<=e.depth});
var c=(0,g.ti)(b,function(e,f){return Math.max(e,f.depth)},-1),d=oaa(c+2);
d[0]=a;(0,g.y)(b,function(e){return d[e.depth+1]=e.o});
return d};
Iba=function(){var a=Hba();return(0,g.A)(a,function(b){return oi(b)})};
ui=function(){this.u=new ii;this.o=ei()?new fi:new di};
Jba=function(){vi();var a=gi.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&g.Na(gi.setInterval)&&g.Na(gi.clearInterval)&&g.Na(gi.setTimeout)&&g.Na(gi.clearTimeout))};
wi=function(a){vi();var b=Sh()||gi;b.google_image_requests||(b.google_image_requests=[]);var c=b.document.createElement("img");c.src=a;b.google_image_requests.push(c)};
xi=function(){vi();return Iba()};
yi=function(){};
vi=function(){return yi.getInstance().getContext()};
zi=function(a){tg(this,a,null,null)};
Kba=function(a){this.A=a;this.o=-1;this.u=this.w=0};
Ai=function(a,b){return function(c){for(var d=[],e=0;e<arguments.length;++e)d[e-0]=arguments[e];if(-1<a.o)return b.apply(null,g.na(d));try{return a.o=a.A.o.now(),b.apply(null,g.na(d))}finally{a.w+=a.A.o.now()-a.o,a.o=-1,a.u+=1}}};
Lba=function(a,b){this.u=a;this.w=b;this.o=new Kba(a)};
Ci=function(){this.w=void 0;this.u=this.C=0;this.tb="ns";this.B=-1;this.Pa=new Zh;$h(this.Pa,"mv",Mba).o=!0;$h(this.Pa,"omid",Bi);$h(this.Pa,"epoh",Bi).o=!0;$h(this.Pa,"epph",Bi).o=!0;$h(this.Pa,"umt",Bi).o=!0;$h(this.Pa,"phel",Bi).o=!0;$h(this.Pa,"phell",Bi).o=!0;$h(this.Pa,"oseid",Nba).o=!0;$h(this.Pa,"xdi",Bi).o=!0;$h(this.Pa,"amp",Bi).o=!0;$h(this.Pa,"prf",Bi).o=!0;$h(this.Pa,"gtx",Bi).o=!0;$h(this.Pa,"mvp_lv",Bi).o=!0;$h(this.Pa,"xosd",Bi);this.Pa.u.xosd=1;this.Pa.u.mxd=1;$h(this.Pa,"msp",Bi).o=
!0;$h(this.Pa,"eocm",Bi).o=!0;$h(this.Pa,"pnl",Oba).o=!0;$h(this.Pa,"ecs",Bi).o=!0;this.o=new Lba(vi(),this.Pa);this.A=!1};
Pba=function(){var a="https:";gi&&gi.location&&"http:"===gi.location.protocol&&(a="http:");this.u=a;this.o=.01};
Di=function(a,b,c,d){if(Math.random()<(d||a.o))try{if(c instanceof mi)var e=c;else e=new mi,lh(c,function(k,l){var m=e,n=m.B++,p=ni(l,k);m.o.push(n);m.u[n]=p});
var f=Fba(e,a.u,"/pagead/gen_204?id="+b+"&");f&&wi(f)}catch(k){}};
Ei=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};
Fi=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};
Gi=function(){var a=g.v.performance;return a&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):(0,g.I)()};
Hi=function(){var a=void 0===a?g.v:a;return(a=a.performance)&&a.now?a.now():null};
Qba=function(a,b,c){this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0};
Ji=function(){var a=Sh();this.events=[];this.u=a||g.v;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.o=Ii()||(null!=b?b:1>Math.random())};
Li=function(a){a&&Ki&&Ii()&&(Ki.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Ki.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};
Oi=function(){var a=Mi;this.B=Ni;this.A="jserror";this.w=!0;this.o=null;this.C=this.u;this.Da=void 0===a?null:a};
Ri=function(a,b,c,d){return Ai(Ci.getInstance().o.o,function(){try{if(a.Da&&a.Da.o){var e=a.Da.start(b.toString(),3);var f=c();a.Da.end(e)}else f=c()}catch(m){var k=a.w;try{Li(e);var l=new Pi(Qi(m));k=a.C(b,l,void 0,d)}catch(n){a.u(217,n)}if(!k)throw m;}return f})()};
Ti=function(a,b,c){var d=Si;return Ai(Ci.getInstance().o.o,function(e){for(var f=[],k=0;k<arguments.length;++k)f[k-0]=arguments[k];return Ri(d,a,function(){return b.apply(void 0,f)},c)})};
Qi=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};
Pi=function(a){Ei.call(this,Error(a),{message:a})};
Ui=function(){var a=Sh();a&&"undefined"!=typeof a.google_measure_js_timing&&(a.google_measure_js_timing||Mi.disable())};
Rba=function(a){Si.o=function(b){(0,g.y)(a,function(c){c(b)})}};
Vi=function(a,b){return Ri(Si,a,b,void 0)};
Wi=function(a,b){return Ti(a,b,void 0)};
Xi=function(a,b,c,d){Si.u(a,b,c,d)};
Yi=function(){return Date.now()-Sba};
Tba=function(){var a=Ci.getInstance().w,b=0<=Zi?Yi()-Zi:-1,c=$i?Yi()-aj:-1,d=0<=bj?Yi()-bj:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];Xi(637,Error(),.001);var f=b;-1!=c&&c<b&&(f=c);for(b=0;b<a.length;++b)if(f<a[b]){var k=e[b];break}void 0===k&&(k=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:k};
cj=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,kh(a)&&(c=a,b=d);return{yd:c,level:b}};
dj=function(a){var b=a!==a.top,c=a.top===cj(a).yd,d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),Sb(Uba,function(k){return g.Na(f[k])})||(e=1));
return{Se:f,compatibility:e,eC:d}};
Vba=function(a){return(a=a.document)&&g.Na(a.elementFromPoint)};
ej=function(a,b,c,d){var e=void 0===e?!1:e;c=Ti(d,c,void 0);Lg(a,b,c,{capture:e})};
fj=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c};
gj=function(a){return new nh(a.top,a.right,a.bottom,a.left)};
hj=function(a){var b=a.top||0,c=a.left||0;return new nh(b,c+(a.width||0),b+(a.height||0),c)};
ij=function(a){return null!=a&&0<=a&&1>=a};
Wba=function(){var a=g.Mb;return a?jj("Android TV;AppleTV;Apple TV;GoogleTV;HbbTV;NetCast.TV;Opera TV;POV_TV;SMART-TV;SmartTV;TV Store;AmazonWebAppPlatform;MiBOX".split(";"),function(b){return Ib(a,b)})||Ib(a,"OMI/")&&!Ib(a,"XiaoMi/")?!0:Ib(a,"Presto")&&Ib(a,"Linux")&&!Ib(a,"X11")&&!Ib(a,"Android")&&!Ib(a,"Mobi"):!1};
kj=function(){this.w=!kh(gi.top);this.F=Ig()||Jg();var a=ji();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?g.Wg(a[a.length-1].url)||"":"";this.o=new nh(0,0,0,0);this.A=new g.yd(0,0);this.B=new g.yd(0,0);this.G=new nh(0,0,0,0);this.C=0;this.H=!1;this.u=!(!gi||!dj(gi).Se);this.update(gi)};
lj=function(a,b){b&&b.screen&&(a.A=new g.yd(b.screen.width,b.screen.height))};
mj=function(a,b){var c=a.o?new g.yd(oh(a.o),a.o.getHeight()):new g.yd(0,0);var d=b;d=void 0===d?gi:d;null!==d&&d!=d.top&&(d=d.top);var e=0,f=0;try{var k=d.document,l=k.body,m=k.documentElement;if("CSS1Compat"==k.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,t=m.offsetHeight,u=m.offsetWidth;m.clientHeight!=t&&(n=l.scrollHeight,p=l.scrollWidth,t=l.offsetHeight,u=l.offsetWidth);
n>c.height?n>t?(e=n,f=p):(e=t,f=u):n<t?(e=n,f=p):(e=t,f=u)}var z=new g.yd(f,e)}catch(C){z=new g.yd(-12245933,-12245933)}a.B=z};
nj=function(){var a=kj.getInstance();if(0<a.C||a.H)return!0;a=vi().u.isVisible();var b=0===hi(Rh);return a||b};
pj=function(a,b){var c=oj(b);return 0===c?0:oj(a)/c};
oj=function(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)};
Xba=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.be(a)||a){var d=Dd(a),e=d&&Rd(d),f=e&&e.frameElement;f&&(a=f)}}catch(k){break}}return!1};
Yba=function(a,b,c){if(!a||!b)return!1;b=ph(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;var d=Sh();kh(d.top)&&d.top&&d.top.document&&(d=d.top);if(!Vba(d))return!1;a=d.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Dd(c))&&b.defaultView&&b.defaultView.frameElement)&&Xba(b,a);d=a===c;a=!d&&a&&he(a,function(e){return e===c});
return!(b||d||a)};
Zba=function(a,b,c,d){return kj.getInstance().w?!1:0>=oh(a)||0>=a.getHeight()?!0:c&&d?Vi(208,function(){return Yba(a,b,c)}):!1};
qj=function(a,b,c){var d=new nh(0,0,0,0);this.time=a;this.volume=null;this.w=b;this.o=d;this.u=c};
rj=function(a,b,c,d,e,f,k){this.F=a;this.C=b;this.B=c;this.o=d;this.A=e;this.u=f;this.w=k};
sj=function(a){this.w=a;this.u=0;this.o=null};
tj=function(a,b,c){this.yd=a;this.ca=void 0===c?"na":c;this.A=[];this.H=!1;this.w=new qj(-1,!0,this);this.o=this;this.F=b;this.J=this.Z=this.G=!1;this.S="uk";this.vb=!1;this.C=!0};
vj=function(a,b,c){if(!a.J||(void 0===c?0:c))a.J=!0,a.S=b,a.F=0,a.o!=a||uj(a)};
wj=function(a,b){g.bb(a.A,b)||(a.A.push(b),b.Zi(a.o),b.Pg(a.w),b.yf()&&(a.G=!0))};
xj=function(a){a=a.o;a.Wy();a.Vy();var b=kj.getInstance();b.G=Uh(!1,a.yd,b.F);a.dH();a.w.o=a.Cx()};
yj=function(a){a.G=a.A.length?jj(a.A,function(b){return b.yf()}):!1};
zj=function(a){var b=g.jb(a.A);(0,g.y)(b,function(c){c.Pg(a.w)})};
uj=function(a){var b=g.jb(a.A);(0,g.y)(b,function(c){c.Zi(a.o)});
a.o!=a||zj(a)};
Aj=function(a,b,c,d){this.element=a;this.o=new nh(0,0,0,0);this.B=new nh(0,0,0,0);this.u=b;this.Pa=c;this.J=d;this.vb=!1;this.timestamp=-1;this.A=new rj(b.w,this.o,new nh(0,0,0,0),0,0,Yi(),0)};
Bj=function(a){this.vb=!1;this.o=a;this.A=g.Ia};
Cj=function(a,b,c){this.w=void 0===c?0:c;this.u=a;this.o=null==b?"":b};
$ba=function(a){switch(Math.trunc(a.w)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}};
aca=function(a,b){return new Cj(a.u,a.o,a.w+b)};
Dj=function(a,b){return a.w<b.w?!0:a.w>b.w?!1:a.u<b.u?!0:a.u>b.u?!1:typeof a.o<typeof b.o?!0:typeof a.o>typeof b.o?!1:a.o<b.o};
Ej=function(){this.w=0;this.o=[];this.u=!1};
bca=function(a,b){(0,g.y)(b.o,function(c){a.add(c.u,c.o,$ba(c))})};
Fj=function(a,b){var c=void 0===c?0:c;var d=void 0===d?!0:d;lh(b,function(e,f){d&&void 0===e||a.add(f,e,c)});
return a};
Gj=function(a){var b=cca;a.u&&(g.sb(a.o,function(c,d){return Dj(d,c)?1:Dj(c,d)?-1:0}),a.u=!1);
return(0,g.ti)(a.o,function(c,d){var e=b(d);return""+c+(""!=c&&""!=e?"&":"")+e},"")};
cca=function(a){var b=a.u;a=a.o;return""===a?b:"boolean"===typeof a?a?b:"":g.La(a)?0===a.length?b:b+"="+a.join():b+"="+(g.bb(["mtos","tos","p"],b)?a:encodeURIComponent(a))};
Ij=function(a){var b=void 0===b?!0:b;this.o=new Ej;void 0!==a&&bca(this.o,a);b&&this.o.add("v",Hj,-16)};
dca=function(a){var b=[],c=[];g.Ob(a,function(d,e){if(!(e in Object.prototype)&&"undefined"!=typeof d){g.La(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)};
Jj=function(){if(Hj&&"unreleased"!==Hj)return Hj};
Kj=function(a){var b=void 0===b?4E3:b;a=a.toString();if(!/&v=[^&]+/.test(a)){var c=Jj();a=c?a+"&v="+encodeURIComponent(c):a}a=a.substring(0,b);wi(a)};
Lj=function(){this.o=0};
eca=function(a,b,c){(0,g.y)(a.w,function(d){var e=a.o;if(!d.o&&(d.w(b,c),d.A())){d.o=!0;var f=d.u(),k=new Ej;k.add("id","av-js");k.add("type","verif");k.add("vtype",d.B);d=Lj.getInstance();k.add("i",d.o++);k.add("adk",e);Fj(k,f);e=new Ij(k);Kj(e)}})};
Mj=function(){this.u=this.w=this.A=this.o=0};
Nj=function(a){this.u=a=void 0===a?fca:a;this.o=(0,g.A)(this.u,function(){return new Mj})};
Pj=function(a,b){return Oj(a,function(c){return c.o},void 0===b?!0:b)};
Sj=function(a,b){return Rj(a,b,function(c){return c.o})};
Tj=function(a,b){return Oj(a,function(c){return c.w},void 0===b?!0:b)};
Uj=function(a,b){return Rj(a,b,function(c){return c.w})};
Vj=function(a,b){return Rj(a,b,function(c){return c.u})};
Wj=function(a){(0,g.y)(a.o,function(b){b.u=0})};
Oj=function(a,b,c){a=(0,g.A)(a.o,function(d){return b(d)});
return c?a:gca(a)};
Rj=function(a,b,c){var d=g.$a(a.u,function(e){return b<=e});
return-1==d?0:c(a.o[d])};
gca=function(a){return(0,g.A)(a,function(b,c,d){return 0<c?d[c]-d[c-1]:d[c]})};
Xj=function(){this.u=new Nj;this.ca=new Mj;this.P=this.F=-1;this.ga=1E3;this.ra=new Nj([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.U=this.O=-1};
Yj=function(a,b){return Tj(a.u,void 0===b?!0:b)};
ak=function(a,b,c){g.B.call(this);this.position=hca.clone();this.bo=this.yn();this.qs=-2;this.SO=Date.now();this.oC=-1;this.gs=b;this.Sn=null;this.dn=!1;this.Lo=null;this.opacity=-1;this.qO=c;this.AC=this.us=g.Ia;this.Jd=new Bba;this.Jd.Yg=a;this.Jd.o=a;this.ij=!1;this.Gh={Ct:null,Bt:null};this.ZB=!0;this.em=null;this.cj=!1;Ci.getInstance().C++;this.td=this.lr();this.nC=-1;this.tb=null;a=this.Pa=new Zh;$h(a,"od",ica);$h(a,"opac",Bi).o=!0;$h(a,"gcm",Bi).o=!0;$h(a,"cm",Bi);a.u.cm=1;$h(a,"sbeos",Bi).o=
!0;$h(a,"prf",Bi).o=!0;$h(a,"mwt",Bi).o=!0;$h(a,"lcs",Bi).o=!0;$h(a,"iogeo",Bi);$h(a,"osddt",Bi).o=!0;$h(a,"nrl",Bi).o=!0;(a=this.Jd.Yg)&&a.getAttribute&&!/-[a-z]/.test("googleAvInapp")&&(g.Zj&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+g.jd("googleAvInapp")):a.getAttribute("data-"+g.jd("googleAvInapp")))&&(kj.getInstance().u=!0);1==this.qO?ai(this.Pa,"od",1):ai(this.Pa,"od",0)};
bk=function(a,b){if(b!=a.cj){a.cj=b;var c=kj.getInstance();b?c.C++:0<c.C&&c.C--}};
jca=function(a,b,c){a.km(c?a.td.qb:0,b,c,!1,{},a.Dn(b),a.td.Fd)};
ck=function(a){return a.tb?a.tb.getName():Ci.getInstance().tb};
dk=function(a,b){if(a.tb){if(b.getName()===a.tb.getName())return;a.tb.dispose();a.tb=null}var c=b.create(a.Jd.o,a.Pa,a.yf());if(c=null!=c&&c.ws()?c:null)a.tb=c};
ek=function(a,b,c){if(!a.Sn||-1===b.u||-1===a.Sn.u)return 0;a=b.u-a.Sn.u;return a>c?0:a};
kca=function(a,b,c){if(a.tb){a.tb.Mf();var d=a.tb.A,e=d.F,f=e.o;if(null!=d.B){var k=d.C;a.Lo=new g.wd(k.left-f.left,k.top-f.top)}f=a.lp()?Math.max(d.o,d.A):d.o;f=.99<=f?1:f;k={};null!==e.volume&&(k.volume=e.volume);e=1===bi(a.Pa,"osddt");"nis"==a.tb.getName()&&(e=!0);"gsv"==a.tb.getName()&&(e=!0);e?(e=a.wx(d),a.Sn=d,a.km(f,b,c,!1,k,e,d.w)):a.km(f,b,c,!1,k,a.Dn(b),d.w)}};
lca=function(a){if(a.dn&&a.em){var b=1==bi(a.Pa,"od"),c=kj.getInstance().o,d=a.em,e=ck(a),f=new g.yd(oh(c),c.getHeight());c=a.lp();a={NO:e,Lo:a.Lo,nP:f,lp:c,qb:a.td.qb,kP:b};if(b=d.u){b.Mf();e=b.A;f=e.F.o;var k=null,l=null;null!=e.B&&f&&(k=e.C,k=new g.wd(k.left-f.left,k.top-f.top),l=new g.yd(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.o,e.A):e.o;c={NO:b.getName(),Lo:k,nP:l,lp:c,kP:!1,qb:e}}else c=null;c&&eca(d,a,c)}};
mca=function(a,b,c){b&&(a.us=b);c&&(a.AC=c)};
fk=function(){};
hk=function(a){if(a instanceof fk)return a;if("function"==typeof a.Jf)return a.Jf(!1);if(g.Ma(a)){var b=0,c=new fk;c.next=function(){for(;;){if(b>=a.length)throw gk;if(b in a)return a[b++];b++}};
return c}throw Error("Not implemented");};
g.ik=function(a,b,c){if(g.Ma(a))try{(0,g.y)(a,b,c)}catch(d){if(d!==gk)throw d;}else{a=hk(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==gk)throw d;}}};
nca=function(a){if(g.Ma(a))return g.jb(a);a=hk(a);var b=[];g.ik(a,function(c){b.push(c)});
return b};
oca=function(){this.A=this.o=this.w=this.u=this.B=0};
pca=function(a){var b={};var c=(0,g.I)()-a.B;b=(b.ptlt=c,b);(c=a.u)&&(b.pnk=c);(c=a.w)&&(b.pnc=c);(c=a.A)&&(b.pnmm=c);(a=a.o)&&(b.pns=a);return b};
jk=function(){Vh.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.w=-1};
kk=function(a){return ij(a.volume)&&.1<=a.volume};
qca=function(){var a={};this.u=(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.o={};for(var b in this.u)0<this.u[b][1]&&(this.o[b]=0);this.w=0};
lk=function(a,b){var c=a.u[b],d=c[1];a.w+=c[0];0<d&&0==a.o[b]&&(a.o[b]=1)};
rca=function(a){return mk(a,g.Vb(a.u))};
mk=function(a,b){var c=0,d;for(d in a.o)g.bb(b,d)&&1==a.o[d]&&(c+=a.u[d][1],a.o[d]=2);return c};
sca=function(a){var b=0,c;for(c in a.o){var d=a.o[c];if(1==d||2==d)b+=a.u[c][1]}return b};
nk=function(){this.o=this.u=0};
ok=function(){Xj.call(this);this.w=new Mj;this.Z=this.H=this.S=0;this.G=-1;this.na=new Mj;this.B=new Mj;this.o=new Nj;this.C=this.A=-1;this.J=new Mj;this.ga=2E3;this.V=new nk;this.ea=new nk;this.da=new nk};
pk=function(a,b,c){var d=a.Z;$i||c||-1==a.G||(d+=b-a.G);return d};
tca=function(){this.o=!1};
qk=function(a,b){this.o=!1;this.A=a;this.G=b;this.u=0};
sk=function(a,b){if(a.w(b)){var c=rk(a.G,a.A,b);a.u|=c;return 0==c}return!1};
tk=function(a,b,c,d){Aj.call(this,a,b,c,d)};
uk=function(a,b,c){Aj.call(this,null,a,b,c);this.F=a.isActive();this.C=0};
vk=function(a,b,c,d,e,f){e=void 0===e?null:e;f=void 0===f?[]:f;ak.call(this,b,c,d);this.Mq=0;this.zf={};this.zc=new qca;this.LC={};this.bd="";this.Bj=null;this.na=!1;this.o=[];this.Yh=e;this.C=f;this.A=null;this.w=-1;this.Z=this.G=void 0;this.H=this.P=0;this.U=-1;this.ga=this.ea=!1;this.S=this.F=this.u=this.Tj=this.ra=0;new Nj;this.V=this.ca=0;this.da=-1;this.Ec=0;this.J=g.Ia;this.O=[this.yn()];this.sa=2;this.Di={};this.Di.pause="p";this.Di.resume="r";this.Di.skip="s";this.Di.mute="m";this.Di.unmute=
"um";this.Di.exitfullscreen="ef";this.B=null};
wk=function(a){0!=a.Ec&&(a.Ec=3)};
xk=function(a){return void 0===a?a:Number(a)?fj(a,3):0};
yk=function(a,b){var c;null!=b&&b<a.O.length?c=b:c=a.O.length-1;return a.O[c]};
zk=function(a){var b=!!bi(Ci.getInstance().Pa,"umt");return a.G||!b&&!a.Z?0:1};
uca=function(a,b){var c=a.Dn(b),d=a.J(a)||{};d=void 0!==d.currentTime?d.currentTime:a.P;var e=d-a.P,f=0;0<=e?(a.H+=c,a.V+=Math.max(c-e,0),f=Math.min(e,a.H)):a.ca+=Math.abs(e);0!=e&&(a.H=0);-1==a.da&&0<e&&(a.da=0<=bj?Yi()-bj:-1);a.P=d;return f};
vca=function(a,b){jj(a.C,function(c){return c.A==b.A})||a.C.push(b)};
Ak=function(a,b,c){return 15E3<=b?!0:a.ea?(void 0===c?0:c)?!0:0<a.w?b>=a.w/2:0<a.U?b>=a.U:!1:!1};
wca=function(a){var b=fj(a.td.qb,2),c=a.zc.w,d=a.td,e=yk(a),f=xk(e.A),k=xk(e.C),l=xk(d.volume),m=fj(e.F,2),n=fj(e.P,2),p=fj(d.qb,2),t=fj(e.O,2),u=fj(e.U,2);d=fj(d.Fd,2);a=a.Lg().clone();a.round();e=Yj(e,!1);return{mP:b,Qk:c,co:f,Yn:k,gk:l,eo:m,Zn:n,qb:p,fo:t,ao:u,Fd:d,position:a,Ko:e}};
Ck=function(a,b){Bk(a.o,b,function(){return{mP:0,Qk:void 0,co:-1,Yn:-1,gk:-1,eo:-1,Zn:-1,qb:-1,fo:-1,ao:-1,Fd:-1,position:void 0,Ko:[]}});
a.o[b]=wca(a)};
Bk=function(a,b,c){for(var d=a.length;d<b+1;)a.push(c()),d++};
Fk=function(a,b,c){var d=a.LC[b];if(null!=d)return d;d=xca(a,b);var e=Zb(Dk,function(f){return f==b});
c=Ek(a,d,d,c,yca[Dk[e]]);"fully_viewable_audible_half_duration_impression"==b&&(c.std="csm",c.ic=mk(a.zc,["gdr"]));return c};
Gk=function(a,b,c){var d=[b];if(a!=b||c!=b)d.unshift(a),d.push(c);return d};
Ek=function(a,b,c,d,e){if(a.ij)return{"if":0};var f=a.Lg().clone();f.round();var k=kj.getInstance(),l=Ci.getInstance(),m=a.Ld(),n=ck(a),p={};p["if"]=k.w?1:void 0;p.sdk=a.A?a.A:void 0;p.t=a.SO;p.p=[f.top,f.left,f.bottom,f.right];p.tos=Pj(m.u,!1);p.mtos=Yj(m);p.mcvt=m.ca.w;p.ps=void 0;p.vht=pk(m,Yi(),2==a.Ec);p.mut=m.na.w;p.a=xk(a.td.volume);p.mv=xk(m.C);p.fs=a.cj?1:0;p.ft=m.J.o;p.at=m.B.o;p.as=.1<=m.A?1:0;p.atos=Pj(m.o);p.ssb=Pj(m.ra,!1);p.amtos=Tj(m.o);p.uac=a.ra;p.vpt=m.w.o;"nio"==n&&(p.nio=1,p.avms=
"nio");p.gmm="4";p.gdr=Ak(a,m.w.o,!0)?1:0;p.efpf=a.sa;if("gsv"==n||"nis"==n)f=a.tb,0<f.C&&(p.nnut=f.C);p.tcm=zk(a);p.nmt=a.ca;p.bt=a.V;p.pst=a.da;p.vpaid=a.G;p.dur=a.w;p.vmtime=a.P;p.is=a.zc.w;1<=a.o.length&&(p.i0=a.o[0].Qk,p.a0=[a.o[0].gk],p.c0=[a.o[0].qb],p.ss0=[a.o[0].Fd],f=a.o[0].position,p.p0=f?[f.top,f.left,f.bottom,f.right]:void 0);2<=a.o.length&&(p.i1=a.o[1].Qk,p.a1=Gk(a.o[1].co,a.o[1].gk,a.o[1].Yn),p.c1=Gk(a.o[1].eo,a.o[1].qb,a.o[1].Zn),p.ss1=Gk(a.o[1].fo,a.o[1].Fd,a.o[1].ao),f=a.o[1].position,
p.p1=f?[f.top,f.left,f.bottom,f.right]:void 0,p.mtos1=a.o[1].Ko);3<=a.o.length&&(p.i2=a.o[2].Qk,p.a2=Gk(a.o[2].co,a.o[2].gk,a.o[2].Yn),p.c2=Gk(a.o[2].eo,a.o[2].qb,a.o[2].Zn),p.ss2=Gk(a.o[2].fo,a.o[2].Fd,a.o[2].ao),f=a.o[2].position,p.p2=f?[f.top,f.left,f.bottom,f.right]:void 0,p.mtos2=a.o[2].Ko);4<=a.o.length&&(p.i3=a.o[3].Qk,p.a3=Gk(a.o[3].co,a.o[3].gk,a.o[3].Yn),p.c3=Gk(a.o[3].eo,a.o[3].qb,a.o[3].Zn),p.ss3=Gk(a.o[3].fo,a.o[3].Fd,a.o[3].ao),f=a.o[3].position,p.p3=f?[f.top,f.left,f.bottom,f.right]:
void 0,p.mtos3=a.o[3].Ko);p.cs=sca(a.zc);b&&(p.ic=rca(a.zc),p.dvpt=m.w.u,p.dvs=Vj(m.u,.5),p.dfvs=Vj(m.u,1),p.davs=Vj(m.o,.5),p.dafvs=Vj(m.o,1),c&&(m.w.u=0,Wj(m.u),Wj(m.o)),a.Wh()&&(p.dtos=m.S,p.dav=m.H,p.dtoss=a.Mq+1,c&&(m.S=0,m.H=0,a.Mq++)),p.dat=m.B.u,p.dft=m.J.u,c&&(m.B.u=0,m.J.u=0));p.ps=[k.B.width,k.B.height];p.bs=[oh(k.o),k.o.getHeight()];p.scs=[k.A.width,k.A.height];p.dom=k.domain;a.Tj&&(p.vds=a.Tj);if(0<a.C.length||a.Yh)b=g.jb(a.C),a.Yh&&b.push(a.Yh),p.pings=(0,g.A)(b,function(t){return t.toString()});
b=(0,g.A)((0,g.ae)(a.C,function(t){return t.B()}),function(t){return t.getId()});
laa(b);p.ces=b;a.u&&(p.vmer=a.u);a.F&&(p.vmmk=a.F);a.S&&(p.vmiec=a.S);p.avms=ck(a);a.tb&&g.gc(p,a.tb.Kg());d?(p.c=fj(a.td.qb,2),p.ss=fj(a.td.Fd,2)):p.tth=Yi()-Hk;p.mc=fj(m.P,2);p.nc=fj(m.F,2);p.mv=xk(m.C);p.nv=xk(m.A);p.lte=fj(a.qs,2);d=yk(a,e);Yj(m);p.qmtos=Yj(d);p.qnc=fj(d.F,2);p.qmv=xk(d.C);p.qnv=xk(d.A);p.qas=.1<=d.A?1:0;p.qi=a.bd;p.avms||(p.avms="geo");p.psm=m.V.o;p.psv=m.V.getValue();p.psfv=m.ea.getValue();p.psa=m.da.getValue();l=Aba(l.Pa);l.length&&(p.veid=l);a.B&&g.gc(p,pca(a.B));return p};
xca=function(a,b){if(g.bb(zca,b))return!0;var c=a.zf[b];return void 0!==c?(a.zf[b]=!0,!c):!1};
Bca=function(){this.o={};var a=Rd();Ik(this,a,document);var b=Aca();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Ik(this,c,c.document);Ik(this,a.top,a.top.document)}}catch(d){}};
Aca=function(){var a=document.documentElement;try{if(!kh(Rd().top))return"2";var b=[],c=Rd(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"}};
Ik=function(a,b,c){ej(c,"mousedown",function(){return Cca(a)},301);
ej(b,"scroll",function(){return Dca(a)},302);
ej(c,"touchmove",function(){return Eca(a)},303);
ej(c,"mousemove",function(){return Fca(a)},304);
ej(c,"keydown",function(){return Gca(a)},305)};
Cca=function(a){g.Ob(a.o,function(b){1E5<b.w||++b.w})};
Dca=function(a){g.Ob(a.o,function(b){1E5<b.o||++b.o})};
Eca=function(a){g.Ob(a.o,function(b){1E5<b.o||++b.o})};
Gca=function(a){g.Ob(a.o,function(b){1E5<b.u||++b.u})};
Fca=function(a){g.Ob(a.o,function(b){1E5<b.A||++b.A})};
g.Kk=function(a){var b=[];Jk(new Hca,a,b);return b.join("")};
Hca=function(){};
Jk=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Jk(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),Lk(d,c),c.push(":"),Jk(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":Lk(b,c);break;case "number":c.push(isFinite(b)&&
!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}};
Lk=function(a,b){b.push('"',a.replace(Ica,function(c){var d=Mk[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).substr(1),Mk[c]=d);return d}),'"')};
Nk=function(){this.o=[];this.u=[]};
Ok=function(a,b){return g.Za(a.o,function(c){return c.bd==b})};
Pk=function(a,b){return b?g.Za(a.o,function(c){return c.Jd.Yg==b}):null};
Jca=function(a,b){return g.Za(a.u,function(c){return 2==c.jf()&&c.bd==b})};
Rk=function(){var a=Qk;return 0==a.o.length?a.u:0==a.u.length?a.o:g.ib(a.u,a.o)};
Sk=function(a,b){var c=1==b.jf()?a.o:a.u,d=g.Xa(c,function(e){return e==b});
return-1!=d?(c.splice(d,1),b.tb&&b.tb.il(),b.dispose(),!0):!1};
Kca=function(a){var b=Qk;if(Sk(b,a)){switch(a.jf()){case 0:var c=function(){return null};
case 2:c=function(){return Jca(b,a.bd)};
break;case 1:c=function(){return Ok(b,a.bd)}}for(var d=c();d;d=c())Sk(b,d)}};
Lca=function(a,b){var c=Qk,d=(0,g.ae)(a,(void 0===b?0:b)?function(e){return!Ok(c,e.bd)}:function(e){return!Pk(c,e.Jd.Yg)});
c.o.push.apply(c.o,g.na(d))};
Tk=function(a){var b=Qk,c=[];(0,g.y)(a,function(d){jj(b.o,function(e){return e.Jd.Yg===d.Jd.Yg&&e.bd===d.bd})||(b.o.push(d),c.push(d))})};
Uk=function(){this.o=this.u=null};
Vk=function(a,b){function c(d,e){b(d,e)}
if(null==a.u)return!1;a.o=g.Za(a.u,function(d){return null!=d&&d.Ky()});
a.o&&(a.o.init(c)?xj(a.o.o):b(a.o.o.Si(),a.o));return null!=a.o};
Wk=function(a){a=Mca(a);Bj.call(this,a.length?a[a.length-1]:new tj(gi,0));this.w=a;this.u=null};
Mca=function(a){if(!a.length)return[];a=(0,g.ae)(a,function(c){return null!=c&&c.Xy()});
for(var b=1;b<a.length;b++)wj(a[b-1],a[b]);return a};
Xk=function(a,b,c,d){Aj.call(this,a,b,c,d);this.H=this.G=null};
Yk=function(a,b){try{if(b.length){a.G||(a.G=Yi());var c=Nca(b),d=Ih(a.element,a.u.o.yd),e=d.x,f=d.y;a.o=new nh(Math.round(f),Math.round(e)+c.boundingClientRect.width,Math.round(f)+c.boundingClientRect.height,Math.round(e));var k=gj(c.intersectionRect);a.B=ph(k,a.o.left-k.left,a.o.top-k.top)}}catch(l){a.il(),Xi(299,l)}};
Nca=function(a){return(0,g.ti)(a,function(b,c){return b.time>c.time?b:c},a[0])};
Zk=function(a,b,c,d){Xk.call(this,a,b,c,d);this.C=this.F=this.w=null};
$k=function(a){return a.w&&a.w.takeRecords?a.w.takeRecords():[]};
Pca=function(a){if(!a.element)return!1;var b=a.element,c=a.u.o.yd,d=Ci.getInstance().o.o;a.w=new c.IntersectionObserver(Ai(d,function(e){return Yk(a,e)}),Oca);
d=Ai(d,function(){a.w.unobserve(b);a.w.observe(b);Yk(a,$k(a))});
c.ResizeObserver?(a.F=new c.ResizeObserver(d),a.F.observe(b)):c.MutationObserver&&(a.C=new g.v.MutationObserver(d),a.C.observe(b,{attributes:!0,childList:!0,characterData:!0,subtree:!0}));a.w.observe(b);Yk(a,$k(a));return!0};
al=function(){var a=/Chrome\/(\d+)/.exec(g.Mb);return a?parseFloat(a[1]):NaN};
bl=function(){var a=/\sCobalt\/(\S+)\s/.exec(g.Mb);if(!a)return NaN;var b=[];a=g.q(a[1].split("."));for(var c=a.next();!c.done;c=a.next())c=parseInt(c.value,10),0<=c&&b.push(c);return parseFloat(b.join("."))};
Qca=function(){var a=/_(TV|STB|GAME|OTT|ATV|BDP)_/.exec(g.Mb);return a?a[1]:""};
dl=function(){return cl("android")&&cl("chrome")&&!(cl("trident/")||cl("edge/"))};
el=function(){return cl("armv7")||cl("aarch64")||cl("android")};
g.fl=function(){return cl("cobalt")};
gl=function(){return cl("cobalt")&&cl("appletv")};
hl=function(){return cl("(ps3; leanback shell)")||cl("ps3")&&g.fl()};
il=function(){return cl("(ps4; leanback shell)")||cl("ps4")&&g.fl()};
g.jl=function(){return g.fl()&&(cl("ps4 vr")||cl("ps4 pro vr"))};
kl=function(){var a=/WebKit\/([0-9]+)/.exec(g.Mb);return!!(a&&600<=parseInt(a[1],10))};
ll=function(){return cl("iemobile")||cl("windows phone")&&cl("edge")};
nl=function(){return ml&&cl("applewebkit")&&!cl("version")&&(!cl("safari")||cl("gsa/"))};
ol=function(){return cl("smart-tv")&&cl("samsung")};
cl=function(a){var b=g.Mb;return b?0<=b.toLowerCase().indexOf(a):!1};
pl=function(a){a=void 0===a?gi:a;Bj.call(this,new tj(a,2))};
rl=function(){var a=ql();tj.call(this,gi.top,a,"geo")};
ql=function(){Ci.getInstance();var a=kj.getInstance();return a.w||a.u?0:2};
sl=function(){};
tl=function(){this.done=!1;this.o={LD:0,Sv:0,KT:0,Kw:0,Ir:-1,hE:0,gE:0,iE:0};this.B=null;this.C=!1;this.u=null;this.F=0;this.w=new sj(this)};
vl=function(){var a=ul;a.C||(a.C=!0,Rca(a,function(b){for(var c=[],d=0;d<arguments.length;++d)c[d-0]=arguments[d];return a.A.apply(a,g.na(c))}),a.A())};
Sca=function(){sl.getInstance();var a=Uk.getInstance();null!=a.o&&a.o.o?xj(a.o.o):kj.getInstance().update(gi)};
wl=function(a,b,c){if(!a.done&&(a.w.cancel(),0!=b.length)){a.u=null;try{Sca();var d=Yi(),e=Ci.getInstance();e.B=d;if(null!=Uk.getInstance().o)for(e=0;e<b.length;e++)kca(b[e],d,c);else switch(e.tb){case "exc":for(e=0;e<b.length;e++)jca(b[e],d,c)}for(d=0;d<b.length;d++)lca(b[d]);++a.o.Kw}finally{c?(0,g.y)(b,function(f){f.td.qb=0}):a.w.schedule()}}};
Rca=function(a,b){if(!a.B){var c=Ti(142,b,void 0);vi();var d;Rh.visibilityState?d="visibilitychange":Rh.mozVisibilityState?d="mozvisibilitychange":Rh.webkitVisibilityState&&(d="webkitvisibilitychange");d&&Lg(Rh,d,c,{capture:!1})&&(a.B=c)}};
xl=function(){var a=Uk.getInstance();if(null!=a.o){var b=a.o;(0,g.y)(Rk(),function(c){return dk(c,b)})}};
yl=function(a,b){var c=a.F;$i&&(c+=b-aj);return c};
Tca=function(a){var b=ul;a=void 0===a?function(){return{}}:a;
Si.A="av-js";Ni.o=.01;Rba([function(c){var d=Ci.getInstance(),e={};e=(e.bin=d.u,e.type="error",e);d=ci(d.Pa);if(!b.u){var f=gi.document,k=0<=Zi?Yi()-Zi:-1,l=Yi();-1==b.o.Ir&&(k=l);var m=kj.getInstance(),n=Ci.getInstance(),p=ci(n.Pa),t=Rk();try{if(0<t.length){var u=m.o;u&&(p.bs=[oh(u),u.getHeight()]);var z=m.B;z&&(p.ps=[z.width,z.height]);gi.screen&&(p.ss=[gi.screen.width,gi.screen.height])}else p.url=encodeURIComponent(gi.location.href.substring(0,512)),f.referrer&&(p.referrer=encodeURIComponent(f.referrer.substring(0,
512)));p.tt=k;p.pt=Zi;p.bin=n.u;switch(Ci.getInstance().tb){case "iem":p.iem=1;break;case "aio":p.aio=1;break;case "nio":p.nio=1}void 0!==gi.google_osd_load_pub_page_exp&&(p.olpp=gi.google_osd_load_pub_page_exp);p.deb=[1,b.o.LD,b.o.Sv,b.o.Kw,b.o.Ir,0,b.w.u,b.o.hE,b.o.gE,b.o.iE].join("-");p.tvt=yl(b,l);m.u&&(p.inapp=1);if(null!==gi&&gi!=gi.top){0<t.length&&(p.iframe_loc=encodeURIComponent(gi.location.href.substring(0,512)));var C=m.G;p.is=[oh(C),C.getHeight()]}}catch(D){p.error=1}b.u=p}u=g.dc(b.u);
z=Ci.getInstance().o;1==bi(z.w,"prf")?(C=new zi,f=z.o,k=0,-1<f.o&&(k=f.A.o.now()-f.o),C=xg(C,1,f.w+k),f=z.o,C=xg(C,5,-1<f.o?f.u+1:f.u),C=xg(C,2,z.u.o.w()),C=xg(C,3,z.u.o.u()),C=xg(C,4,z.u.o.o()),z={},f=new ag,k=ug(C,1),k=null==k?k:+k,k=null==k?0:k,0!==k&&jg(f,1,k),k=vg(C,2),0!==k&&hg(f,2,k),k=vg(C,3),0!==k&&hg(f,3,k),k=vg(C,4),0!==k&&hg(f,4,k),k=vg(C,5),0!==k&&eg(f,5,k),C=dg(f),z=(z.pf=g.Jf(C),z)):z={};g.gc(u,z);g.gc(c,e,d,u,a());if(e=Jj())d={},g.gc(c,(d.v=encodeURIComponent(e),d))}])};
Uca=function(){var a=zl||gi;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("&")};
Al=function(a){return function(b){return void 0===b[a]?0:b[a]}};
Cl=function(){var a=[0,2,4];return function(b){b=b.tos;if(g.La(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 void 0!==a?Bl(c,a):c}}};
Dl=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.La(f)&&d(e))return Bl(f,b,c)}};
El=function(a,b){return function(c){return b(c)?c[a]:void 0}};
Fl=function(a){return function(b){for(var c=0;c<a.length;c++)if(a[c]===b.e||void 0===a[c]&&!b.hasOwnProperty("e"))return!0;return!1}};
Bl=function(a,b,c){return void 0===c||c?(0,g.ae)(a,function(d,e){return g.bb(b,e)}):(0,g.A)(b,function(d,e,f){return a.slice(0<e?f[e-1]+1:0,d+1).reduce(function(k,l){return k+l},0)})};
Il=function(a,b){var c={sv:"842",cb:"j"};c.nas=Qk.o.length;c.msg=a;if(void 0!==b){var d=Gl(b);d&&(c.e=Hl[d])}return c};
Kl=function(a){return xb(a,"custom_metric_viewable")};
Gl=function(a){var b=Kl(a)?"custom_metric_viewable":a.toLowerCase();return Zb(Dk,function(c){return c==b})};
Vca=function(){this.o=void 0;this.u=!1;this.w=0;this.A=-1;this.B="tos"};
Xca=function(a){try{var b=a.split(",");return b.length>g.Vb(Wca).length?null:(0,g.ti)(b,function(c,d){var e=d.toLowerCase().split("=");if(2!=e.length||void 0===Ll[e[0]]||!Ll[e[0]](e[1]))throw Error("Entry ("+e[0]+", "+e[1]+") is invalid.");c[e[0]]=e[1];return c},{})}catch(c){return null}};
Yca=function(a,b){if(void 0==a.o)return 0;switch(a.B){case "mtos":return a.u?Uj(b.o,a.o):Uj(b.u,a.o);case "tos":return a.u?Sj(b.o,a.o):Sj(b.u,a.o)}return 0};
Ml=function(a,b,c,d){qk.call(this,b,d);this.F=a;this.C=c};
Nl=function(a){qk.call(this,"fully_viewable_audible_half_duration_impression",a)};
Ol=function(a,b){qk.call(this,a,b)};
Pl=function(){this.u=this.A=this.C=this.B=this.w=this.o=""};
Zca=function(){};
Ql=function(a,b,c,d,e){var f={};if(void 0!==a)if(null!=b)for(var k in b){var l=b[k];k in Object.prototype||null!=l&&(g.Na(l)?f[k]=l(a):f[k]=a[l])}else g.gc(f,a);void 0!==c&&g.gc(f,c);a=Gj(Fj(new Ej,f));0<a.length&&void 0!==d&&void 0!==e&&(e=e(a),a+="&"+d+"="+e);return a};
Rl=function(){};
Sl=function(a,b,c){uk.call(this,a,b,c)};
Tl=function(a){a=void 0===a?gi:a;Bj.call(this,new tj(a,2))};
Ul=function(a,b,c){uk.call(this,a,b,c)};
Vl=function(a){a=void 0===a?gi:a;Bj.call(this,new tj(a,2))};
Wl=function(){tj.call(this,gi,2,"mraid");this.U=0;this.P=this.O=!1;this.B=null;this.u=dj(this.yd);this.w.o=new nh(0,0,0,0);this.V=!1};
Xl=function(a,b,c){a.nh("addEventListener",b,c)};
$l=function(a){Ci.getInstance().A=!!a.nh("isViewable");Xl(a,"viewableChange",$ca);"loading"===a.nh("getState")?Xl(a,"ready",Yl):Zl(a)};
Zl=function(a){"string"===typeof a.u.Se.AFMA_LIDAR?(a.O=!0,ada(a)):(a.u.compatibility=3,a.B="nc",vj(a,"w"))};
ada=function(a){a.P=!1;var b=1==bi(Ci.getInstance().Pa,"rmmt"),c=!!a.nh("isViewable");(b?!c:1)&&vi().setTimeout(Wi(524,function(){a.P||(am(a),Xi(540,Error()),a.B="mt",vj(a,"w"))}),500);
bda(a);Xl(a,a.u.Se.AFMA_LIDAR,bm)};
bda=function(a){var b=1==bi(Ci.getInstance().Pa,"sneio"),c=void 0!==a.u.Se.AFMA_LIDAR_EXP_1,d=void 0!==a.u.Se.AFMA_LIDAR_EXP_2;(b=b&&d)&&(a.u.Se.AFMA_LIDAR_EXP_2=!0);c&&(a.u.Se.AFMA_LIDAR_EXP_1=!b)};
am=function(a){a.nh("removeEventListener",a.u.Se.AFMA_LIDAR,bm);a.O=!1};
cm=function(a,b){if("loading"===a.nh("getState"))return new g.yd(-1,-1);var c=a.nh(b);if(!c)return new g.yd(-1,-1);var d=parseInt(c.width,10);c=parseInt(c.height,10);return isNaN(d)||isNaN(c)?new g.yd(-1,-1):new g.yd(d,c)};
Yl=function(){try{var a=Wl.getInstance();a.nh("removeEventListener","ready",Yl);Zl(a)}catch(b){Xi(541,b)}};
bm=function(a,b){try{var c=Wl.getInstance();c.P=!0;var d=a?new nh(a.y,a.x+a.width,a.y+a.height,a.x):new nh(0,0,0,0);var e=Yi(),f=nj();var k=new qj(e,f,c);k.o=d;k.volume=b;c.Pg(k)}catch(l){Xi(542,l)}};
$ca=function(a){var b=Ci.getInstance(),c=Wl.getInstance();a&&!b.A&&(b.A=!0,c.V=!0,1==bi(Ci.getInstance().Pa,"msp")&&c.B&&vj(c,"w",!0))};
dm=function(){this.H=!1;this.o=null;this.w=new Rl;this.u=null;var a={};this.F=(a.start=this.DF,a.firstquartile=this.yF,a.midpoint=this.AF,a.thirdquartile=this.EF,a.complete=this.wF,a.pause=this.Nt,a.resume=this.NB,a.skip=this.CF,a.viewable_impression=this.Mg,a.mute=this.Pj,a.unmute=this.Pj,a.fullscreen=this.zF,a.exitfullscreen=this.xF,a.fully_viewable_audible_half_duration_impression=this.Mg,a.measurable_impression=this.Mg,a.abandon=this.Nt,a.engagedview=this.Mg,a.impression=this.Mg,a.creativeview=
this.Mg,a.progress=this.Pj,a.custom_metric_viewable=this.Mg,a.bufferstart=this.Nt,a.bufferfinish=this.NB,a);a={};this.J=(a.overlay_resize=this.BF,a.abandon=this.Ar,a.close=this.Ar,a.collapse=this.Ar,a.overlay_unmeasurable_impression=function(b){return Fk(b,"overlay_unmeasurable_impression",nj())},a.overlay_viewable_immediate_impression=function(b){return Fk(b,"overlay_viewable_immediate_impression",nj())},a.overlay_unviewable_impression=function(b){return Fk(b,"overlay_unviewable_impression",nj())},
a.overlay_viewable_end_of_session_impression=function(b){return Fk(b,"overlay_viewable_end_of_session_impression",nj())},a);
Ci.getInstance().u=3;cda(this);this.A=!1};
em=function(a,b,c,d){b=a.Pl(null,d,!0,b);b.A=c;Lca([b],a.A);return b};
dda=function(a,b,c){yba(b);var d=a.u;(0,g.y)(b,function(e){var f=(0,g.A)(e.o,function(k){var l=Xca(k);if(null==l)k=null;else if(k=new Vca,null!=l.visible&&(k.o=l.visible/100),null!=l.audible&&(k.u=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=yb(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);"ms"==n?(k.w=l,k.A=-1):(k.w=-1,k.A=l);k.B=void 0===m?"tos":m}return k});
jj(f,function(k){return null==k})||vca(c,new Ml(e.id,e.event,f,d))})};
eda=function(a){a=a.u;return[new Ol("viewable_impression",a),new Nl(a)]};
fda=function(){var a=[];kj.getInstance();var b=Ci.getInstance();a.push(rl.getInstance());bi(b.Pa,"mvp_lv")&&a.push(Wl.getInstance());var c=[new Tl,new Vl];bi(b.Pa,"ecs");c.push(new Wk(a));c.push(new pl(gi));return c};
gda=function(a){if(!a.H){a.H=!0;try{var b=Yi(),c=Ci.getInstance(),d=kj.getInstance();Zi=b;c.w=79463069;"o"!==a.o&&(zl=cj(gi).yd);if(Jba()){ul.o.Sv=0;ul.o.Ir=Yi()-b;var e=fda(),f=Uk.getInstance();f.u=e;Vk(f,function(){fm()})?ul.done||(xl(),wj(f.o.o,a),vl()):d.w?fm():vl()}else gm=!0}catch(k){throw Qk.reset(),k;
}}};
im=function(a){ul.w.cancel();hm=a;ul.done=!0};
jm=function(a){var b=Ci.getInstance();if(a.o)return a.o;var c=Uk.getInstance().o;if(c)switch(c.getName()){case "nis":a.o="n";break;case "gsv":a.o="m"}else switch(b.tb){case "nis":a.o="n"}a.o||(a.o="h");return a.o};
km=function(a,b,c){if(null==a.u)return b.Tj|=4,!1;a=rk(a.u,c,b);b.Tj|=a;return 0==a};
fm=function(){var a=[new pl(gi)],b=Uk.getInstance();b.u=a;Vk(b,function(){im("i")})?ul.done||(xl(),vl()):im("i")};
lm=function(a,b,c){if(!b.na){var d=Fk(b,"start",nj());a=a.w.o(d).o;var e={};e.r=c;e.v="842v";Xg(a,function(f,k){return e[f]="mtos"==f||"tos"==f?k:encodeURIComponent(k)});
c=Uca();Xg(c,function(f,k){return e[f]=encodeURIComponent(k)});
e.id="lidarvf";c="//pagead2.googlesyndication.com/pagead/gen_204?"+Gj(Fj(new Ej,e));Kj(c);b.na=!0}};
mm=function(a,b,c){wl(ul,[a],!nj());Ck(a,c);4!=c&&Bk(a.O,c,a.yn);return Fk(a,b,nj())};
cda=function(a){Tca(function(){var b=nm();null!=a.o&&(b.sdk=a.o);b.avms=Ci.getInstance().tb;return b})};
hda=function(a,b,c,d){if(a.A)var e=Ok(Qk,b);else e=Pk(Qk,c),null!==e&&e.bd!==b&&(a.qk(e),e=null);e||(b=a.Pl(c,Yi(),!1,b),0==Qk.u.length&&(Ci.getInstance().w=79463069),Tk([b]),e=b,e.A=jm(a),d&&(e.Bj=d));return e};
ida=function(a,b){b.F=0;for(var c in om)null==a[c]&&(b.F|=om[c]);pm(a,"currentTime");pm(a,"duration")};
jda=function(a){(0,g.y)(Qk.o,function(b){3==b.Ec&&a.qk(b)})};
pm=function(a,b){var c=a[b];void 0!==c&&0<c&&(a[b]=Math.floor(1E3*c))};
nm=function(){var a=kj.getInstance(),b={};return b.sv="842",b["if"]=a.w?"1":"0",b.nas=String(Qk.o.length),b};
qm=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1};
sm=function(a){return!!(1<<a&rm)};
oda=function(){try{kda()}catch(d){}var a="a=1&b="+rm+"&",b=[],c=99;(0,g.y)(lda,function(d,e){var f=!1;try{f=d(gi)}catch(k){}b[e/32>>>0]|=f<<e%32});
(0,g.y)(b,function(d,e){a+=String.fromCharCode(c+e)+"="+(d>>>0).toString(16)+"&"});
c=105;(0,g.y)(mda,function(d){var e="false";try{e=d(gi)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"});
(0,g.y)(nda,function(d){var e="";try{var f=d(gi);d=[];for(var k=0,l=0;l<f.length;l++){var m=f.charCodeAt(l);255<m&&(d[k++]=m&255,m>>=8);d[k++]=m}e=g.Jf(d,3)}catch(n){}a+=String.fromCharCode(c++)+"="+e+"&"});
return a.slice(0,-1)};
kda=function(){if(!tm){var a=function(){um=!0;gi.document.removeEventListener("webdriver-evaluate",a,!0)};
gi.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){vm=!0;gi.document.removeEventListener("webdriver-evaluate-response",b,!0)};
gi.document.addEventListener("webdriver-evaluate-response",b,!0);tm=!0}};
pda=function(){this.u=-1};
wm=function(){this.u=64;this.o=Array(4);this.B=Array(this.u);this.A=this.w=0;this.reset()};
xm=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof 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.o[0];c=a.o[1];e=a.o[2];var f=a.o[3];var k=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(k<<17&4294967295|k>>>15);
k=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(k<<12&4294967295|
k>>>20);k=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(k<<7&4294967295|k>>>25);k=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(k<<12&4294967295|k>>>20);k=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(k<<17&4294967295|k>>>15);k=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(k<<22&4294967295|k>>>10);k=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(k<<
5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(k<<5&4294967295|k>>>27);k=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(k<<9&4294967295|k>>>23);k=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(k<<14&4294967295|k>>>18);k=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(k<<20&4294967295|k>>>12);k=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(k<<11&4294967295|
k>>>21);k=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(k<<4&4294967295|k>>>28);k=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(k<<11&4294967295|k>>>21);k=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(k<<16&4294967295|k>>>16);k=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(k<<23&4294967295|k>>>9);k=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(k<<21&4294967295|k>>>11);k=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(k<<6&4294967295|k>>>26);k=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(k<<10&4294967295|k>>>22);k=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(k<<15&4294967295|k>>>17);k=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.o[0]=a.o[0]+b&4294967295;a.o[1]=a.o[1]+(e+(k<<21&4294967295|k>>>11))&4294967295;a.o[2]=a.o[2]+e&4294967295;a.o[3]=a.o[3]+f&4294967295};
ym=function(){this.u=null};
zm=function(a){return function(b){var c=new wm;c.update(b+a);return kba(c.digest()).slice(-8)}};
Am=function(a,b){this.u=a;this.w=b};
rk=function(a,b,c){var d=a.o(c);if(g.Na(d)){var e={};e=(e.sv="842",e.cb="j",e.e=qda(b),e);var f=Fk(c,b,nj());g.gc(e,f);c.LC[b]=f;a=2==c.jf()?dca(e).join("&"):a.w.o(e).o;try{return d(c.bd,a,b),0}catch(k){return 2}}else return 1};
qda=function(a){var b=Kl(a)?"custom_metric_viewable":a;a=Zb(Dk,function(c){return c==b});
return Hl[a]};
Bm=function(a,b,c){Am.call(this,a,b);this.A=c};
Cm=function(){dm.call(this);this.C=null;this.B=!1;this.G={};this.w=new ym};
rda=function(a,b,c){c=c.opt_configurable_tracking_events;null!=a.u&&g.La(c)&&dda(a,c,b)};
sda=function(a,b,c){var d=Ok(Qk,b);d||(d=c.opt_nativeTime||-1,d=em(a,b,jm(a),d),c.opt_osdId&&(d.Bj=c.opt_osdId));return d};
Dm=function(a,b,c){var d=Ok(Qk,b);d||(d=em(a,b,"n",c.opt_nativeTime||-1));return d};
Em=function(a,b){var c=Ok(Qk,b);c||(c=em(a,b,"h",-1));return c};
tda=function(a){Ci.getInstance();switch(jm(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};
Gm=function(a,b,c,d){c=void 0===c?{}:c;var e={};g.gc(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);if(e.opt_bounds)return a.w.o(Il("ol",d));if(void 0!==d)if(void 0!==Gl(d))if(gm)b=Il("ue",d);else if(gda(a),"i"==hm)b=Il("i",d),b["if"]=0;else if(b=a.Cn(b,e))if(a.A&&3==b.Ec)b="stopped";else{b:{"i"==hm&&(b.ij=!0,a.hu());c=e.opt_fullscreen;void 0!==c&&bk(b,!!c);var f;if(c=!kj.getInstance().u)(c=Ib(g.Mb,"CrKey")||Ib(g.Mb,"PlayStation")||Ib(g.Mb,"Roku")||Wba()||Ib(g.Mb,"Xbox"))||(c=g.Mb,c=Ib(c,"AppleTV")||
Ib(c,"Apple TV")||Ib(c,"CFNetwork")||Ib(c,"tvOS")),c||(c=g.Mb,c=Ib(c,"sdk_google_atv_x86")||Ib(c,"Android TV")),c=!c;c&&(vi(),c=0===hi(Rh));if(f=c){switch(b.jf()){case 1:lm(a,b,"pv");break;case 2:a.Zt(b)}im("pv")}c=d.toLowerCase();if(!f&&g.bb(uda,c)&&0==b.Ec){"i"!=hm&&(ul.done=!1);f=void 0!==e?e.opt_nativeTime:void 0;bj=f="number"===typeof f?f:Yi();b.dn=!0;var k=nj();b.Ec=1;b.zf={};b.zf.firstquartile=!1;b.zf.midpoint=!1;b.zf.thirdquartile=!1;b.zf.complete=!1;b.zf.pause=!1;b.zf.skip=!1;b.zf.viewable_impression=
!1;b.Mq=0;k||(b.Ld().G=f);wl(ul,[b],!k)}0!=b.Ec&&g.bb(vda,c)&&!b.ij&&b.Yh&&(f=b.Yh,f.o||(f.o=sk(f,b)));(f=b.Di[c])&&lk(b.zc,f);switch(b.jf()){case 1:var l=Kl(c)?a.F.custom_metric_viewable:a.F[c];break;case 2:l=a.J[c]}if(l&&(d=l.call(a,b,e,d),void 0!==d)){e=Il(void 0,c);g.gc(e,d);d=e;break b}d=void 0}3==b.Ec&&(a.A?b.tb&&b.tb.il():a.qk(b));b=d}else b=Il("nf",d);else b=void 0;else gm?b=Il("ue"):(b=a.Cn(b,e))?(d=Il(),g.gc(d,Ek(b,!0,!1,!1)),b=d):b=Il("nf");return"string"===typeof b?a.A&&"stopped"===b?
Fm:a.w.o(void 0):a.w.o(b)};
Hm=function(a){return Ci.getInstance(),"h"!=jm(a)&&jm(a),!1};
Im=function(a){var b={};return b.viewability=a.o,b.googleViewability=a.w,b.moatInit=a.B,b.moatViewability=a.C,b.integralAdsViewability=a.A,b.doubleVerifyViewability=a.u,b};
Jm=function(a,b,c){c=void 0===c?{}:c;a=Gm(Cm.getInstance(),b,c,a);return Im(a)};
Km=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};
wda=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}
function b(t){for(var u=k,z=0;64>z;z+=4)u[z/4]=t[z]<<24|t[z+1]<<16|t[z+2]<<8|t[z+3];for(z=16;80>z;z++)t=u[z-3]^u[z-8]^u[z-14]^u[z-16],u[z]=(t<<1|t>>>31)&4294967295;t=e[0];var C=e[1],D=e[2],E=e[3],G=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var F=E^C&(D^E);var ka=1518500249}else F=C^D^E,ka=1859775393;else 60>z?(F=C&D|E&(C|D),ka=2400959708):(F=C^D^E,ka=3395469782);F=((t<<5|t>>>27)&4294967295)+F+G+ka+u[z]&4294967295;G=E;E=D;D=(C<<30|C>>>2)&4294967295;C=t;t=F}e[0]=e[0]+t&4294967295;e[1]=e[1]+C&4294967295;
e[2]=e[2]+D&4294967295;e[3]=e[3]+E&4294967295;e[4]=e[4]+G&4294967295}
function c(t,u){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],C=0,D=t.length;C<D;++C)z.push(t.charCodeAt(C));t=z}u||(u=t.length);z=0;if(0==n)for(;z+64<u;)b(t.slice(z,z+64)),z+=64,p+=64;for(;z<u;)if(f[n++]=t[z++],p++,64==n)for(n=0,b(f);z+64<u;)b(t.slice(z,z+64)),z+=64,p+=64}
function d(){var t=[],u=8*p;56>n?c(l,56-n):c(l,64-(n-56));for(var z=63;56<=z;z--)f[z]=u&255,u>>>=8;b(f);for(z=u=0;5>z;z++)for(var C=24;0<=C;C-=8)t[u++]=e[z]>>C&255;return t}
for(var e=[],f=[],k=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,oE:function(){for(var t=d(),u="",z=0;z<t.length;z++)u+="0123456789ABCDEF".charAt(Math.floor(t[z]/16))+"0123456789ABCDEF".charAt(t[z]%16);return u}}};
xda=function(a,b,c){var d=[],e=[];if(1==(g.La(c)?2:1))return e=[b,a],(0,g.y)(d,function(l){e.push(l)}),Lm(e.join(" "));
var f=[],k=[];(0,g.y)(c,function(l){k.push(l.key);f.push(l.value)});
c=Math.floor((new Date).getTime()/1E3);e=g.cb(f)?[c,b,a]:[f.join(":"),c,b,a];(0,g.y)(d,function(l){e.push(l)});
a=Lm(e.join(" "));a=[c,a];g.cb(k)||a.push(k.join(""));return a.join("_")};
Lm=function(a){var b=wda();b.update(a);return b.oE().toLowerCase()};
g.Mm=function(){var a=[],b=Km(String(g.v.location.href)),c;(c=g.v.__SAPISID||g.v.__APISID||g.v.__OVERRIDE_SID)?c=!0:(c=new Gg(document),c=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID"),c=!!c);if(c&&(c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:"))?g.v.__SAPISID:g.v.__APISID,c||(c=new Gg(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID")),c)){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(g.v.location.href);return d&&c&&b?[b,xda(Km(d),c,a||
null)].join(" "):null}return null};
g.Nm=function(a,b){this.u={};this.o=[];this.uh=this.w=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.Nm)for(c=a.te(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};
Pm=function(a){if(a.w!=a.o.length){for(var b=0,c=0;b<a.o.length;){var d=a.o[b];Om(a.u,d)&&(a.o[c++]=d);b++}a.o.length=c}if(a.w!=a.o.length){var e={};for(c=b=0;b<a.o.length;)d=a.o[b],Om(e,d)||(a.o[c++]=d,e[d]=1),b++;a.o.length=c}};
Om=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
g.Qm=function(a,b){this.o=this.G=this.A="";this.B=null;this.C=this.u="";this.F=!1;var c;a instanceof g.Qm?(this.F=void 0!==b?b:a.F,g.Rm(this,a.A),this.G=a.G,g.Sm(this,a.o),g.Tm(this,a.B),this.u=a.u,Um(this,a.w.clone()),this.C=a.C):a&&(c=String(a).match(Ug))?(this.F=!!b,g.Rm(this,c[1]||"",!0),this.G=Vm(c[2]||""),g.Sm(this,c[3]||"",!0),g.Tm(this,c[4]),this.u=Vm(c[5]||"",!0),Um(this,c[6]||"",!0),this.C=Vm(c[7]||"")):(this.F=!!b,this.w=new Wm(null,this.F))};
g.Rm=function(a,b,c){a.A=c?Vm(b,!0):b;a.A&&(a.A=a.A.replace(/:$/,""))};
g.Sm=function(a,b,c){a.o=c?Vm(b,!0):b};
g.Tm=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.B=b}else a.B=null};
Um=function(a,b,c){b instanceof Wm?(a.w=b,yda(a.w,a.F)):(c||(b=Xm(b,zda)),a.w=new Wm(b,a.F))};
g.Ym=function(a){return a instanceof g.Qm?a.clone():new g.Qm(a,void 0)};
Vm=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""};
Xm=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Ada),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null};
Ada=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)};
Wm=function(a,b){this.u=this.o=null;this.w=a||null;this.A=!!b};
Zm=function(a){a.o||(a.o=new g.Nm,a.u=0,a.w&&Xg(a.w,function(b,c){a.add(cd(b),c)}))};
an=function(a,b){Zm(a);b=$m(a,b);return Om(a.o.u,b)};
g.bn=function(a,b,c){a.remove(b);0<c.length&&(a.w=null,a.o.set($m(a,b),g.jb(c)),a.u=a.u+c.length)};
$m=function(a,b){var c=String(b);a.A&&(c=c.toLowerCase());return c};
yda=function(a,b){b&&!a.A&&(Zm(a),a.w=null,a.o.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),g.bn(this,e,c))},a));
a.A=b};
dn=function(a){if(g.zb(g.fd(a)))return!1;if(0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&"))return!0;try{var b=new g.Qm(a)}catch(c){return null!=g.Za(cn,function(d){return 0<a.search(d)})}return b.C.match(Bda)?!0:null!=g.Za(cn,function(c){return null!=a.match(c)})};
g.en=function(a,b){return a.replace(Cda,function(c,d){try{var e=null!==b&&d in b?b[d]:void 0;if(null==e)return c;e=e.toString();if(""==e||!g.zb(g.fd(e)))return encodeURIComponent(e).replace(/%2C/g,",")}catch(f){}return c})};
g.gn=function(a){var b,c=b=0,d=!1;a=a.split(Dda);for(var e=0;e<a.length;e++){var f=a[e];g.fn.test(f)?(b++,c++):Eda.test(f)?d=!0:Fda.test(f)?c++:Gda.test(f)&&(d=!0)}b=0==c?d?1:0:.4<b/c?-1:1;return-1==(0==b?null:b)?"rtl":"ltr"};
hn=function(){};
jn=function(a){tg(this,a,Hda,null)};
kn=function(a){tg(this,a,null,null)};
Jda=function(a,b){var c=Bg(a,kn,1);0<c.length&&ng(b,1,c,Ida)};
Ida=function(a,b){var c=ug(a,1);null!=c&&jg(b,1,c);c=ug(a,2);null!=c&&hg(b,2,c)};
ln=function(a){tg(this,a,Kda,null)};
mn=function(a){tg(this,a,null,Lda)};
nn=function(a){tg(this,a,null,null)};
on=function(a){tg(this,a,null,null)};
pn=function(a){tg(this,a,Mda,null)};
rn=function(a){tg(this,a,null,qn)};
tn=function(a){tg(this,a,null,sn)};
Pda=function(a,b){var c=zg(a,nn,1);null!=c&&mg(b,1,c,Nda);c=zg(a,on,2);null!=c&&mg(b,2,c,Oda)};
Nda=function(a,b){var c=ug(a,1);null!=c&&lg(b,1,c);c=ug(a,2);null!=c&&lg(b,2,c);c=ug(a,3);null!=c&&kg(b,3,c)};
Oda=function(a,b){var c=ug(a,1);null!=c&&lg(b,1,c);c=ug(a,2);null!=c&&lg(b,2,c);c=ug(a,3);null!=c&&eg(b,3,c);c=ug(a,4);null!=c&&kg(b,4,c)};
Sda=function(a,b){var c=Bg(a,rn,1);0<c.length&&ng(b,1,c,Qda);c=zg(a,tn,2);null!=c&&mg(b,2,c,Rda)};
Qda=function(a,b){var c=ug(a,1);null!=c&&lg(b,1,c);c=ug(a,2);null!=c&&eg(b,2,c);c=ug(a,3);null!=c&&kg(b,3,c)};
Rda=function(a,b){var c=ug(a,1);null!=c&&hg(b,1,c);c=ug(a,2);null!=c&&jg(b,2,c);c=zg(a,jn,3);null!=c&&mg(b,3,c,Jda)};
un=function(){this.u=[];this.o=-1};
Tda=function(a){-1==a.o&&(a.o=(0,g.ti)(a.u,function(b,c,d){return c?b+Math.pow(2,d):b},0));
return a.o};
g.vn=function(a,b,c){g.B.call(this);this.o=null;this.A=!1;this.C=a;this.B=c;this.u=b||window;this.w=(0,g.x)(this.ZE,this)};
g.wn=function(a){a.isActive()||a.start()};
xn=function(a){a=a.u;return a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||null};
yn=function(a){a=a.u;return a.cancelAnimationFrame||a.cancelRequestAnimationFrame||a.webkitCancelRequestAnimationFrame||a.mozCancelRequestAnimationFrame||a.oCancelRequestAnimationFrame||a.msCancelRequestAnimationFrame||null};
g.J=function(a,b,c){g.B.call(this);this.o=a;this.rd=b||0;this.u=c;this.w=(0,g.x)(this.Fx,this)};
g.zn=function(a,b){a.isActive()||a.start(b)};
g.An=function(a){a.stop();a.Fx()};
g.Bn=function(a){a.isActive()&&g.An(a)};
Wda=function(a){var b=Uda++,c={pG:{id:b,Tf:a.measure,context:void 0},MJ:{id:b,Tf:a.CT,context:void 0},state:{},args:void 0,Pn:!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.Pn||(c.Pn=!0,Cn[Dn].push(c));En||(En=!0,window.requestAnimationFrame(Vda))}};
Vda=function(){En=!1;var a=Cn[Dn],b=a.length;Dn=(Dn+1)%2;for(var c,d=0;d<b;++d){c=a[d];var e=c.pG;c.Pn=!1;e.Tf&&e.Tf.apply(e.context,c.args)}for(d=0;d<b;++d)c=a[d],e=c.MJ,c.Pn=!1,e.Tf&&e.Tf.apply(e.context,c.args),c.state={};a.length=0};
Fn=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""};
Gn=function(a){return a.classList?a.classList:Fn(a).match(/\S+/g)||[]};
Hn=function(a,b){"string"==typeof a.className?a.className=b:a.setAttribute&&a.setAttribute("class",b)};
g.In=function(a,b){return a.classList?a.classList.contains(b):g.bb(Gn(a),b)};
g.K=function(a,b){if(a.classList)a.classList.add(b);else if(!g.In(a,b)){var c=Fn(a);Hn(a,c+(0<c.length?" "+b:b))}};
g.Jn=function(a,b){if(a.classList)(0,g.y)(b,function(f){g.K(a,f)});
else{var c={};(0,g.y)(Gn(a),function(f){c[f]=!0});
(0,g.y)(b,function(f){c[f]=!0});
var d="",e;for(e in c)d+=0<d.length?" "+e:e;Hn(a,d)}};
g.Kn=function(a,b){a.classList?a.classList.remove(b):g.In(a,b)&&Hn(a,(0,g.ae)(Gn(a),function(c){return c!=b}).join(" "))};
g.Ln=function(a,b){a.classList?(0,g.y)(b,function(c){g.Kn(a,c)}):Hn(a,(0,g.ae)(Gn(a),function(c){return!g.bb(b,c)}).join(" "))};
g.L=function(a,b,c){c?g.K(a,b):g.Kn(a,b)};
g.Mn=function(){g.Me.call(this);this.o=0;this.endTime=this.startTime=null};
Xda=function(a,b){Array.isArray(b)||(b=[b]);var c=(0,g.A)(b,function(d){return"string"===typeof d?d:d.property+" "+d.duration+"s "+d.timing+" "+d.delay+"s"});
g.th(a,"transition",c.join(","))};
Nn=function(a,b,c,d,e){g.Mn.call(this);this.w=a;this.G=b;this.J=c;this.C=d;this.H=Array.isArray(e)?e:[e]};
On=function(a,b,c,d){return new Nn(a,b,{opacity:c},{opacity:d},{property:"opacity",duration:b,timing:"ease-in",delay:0})};
Zda=function(a){a=Jb(a);if(""==a)return null;var b=String(a.substr(0,4)).toLowerCase();if(0==("url("<b?-1:"url("==b?0:1))return!a.endsWith(")")||1<(a?a.split("(").length-1:0)||a&&a.split(")"),null;if(0<a.indexOf("(")){if(/"|'/.test(a))return null;b=/([\-\w]+)\(/g;for(var c;c=b.exec(a);)if(!(c[1].toLowerCase()in Yda))return null}return a};
Pn=function(a){var b=g.v.CSSStyleDeclaration;return b&&b.prototype&&b.prototype[a]||null};
Qn=function(a,b,c,d){if(a)return a.apply(b,d);if(g.Od&&10>document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)};
dea=function(a){if(!a)return Mc;var b=document.createElement("div").style,c=$da(a);(0,g.y)(c,function(d){var e=g.Qd&&d in aea?d:d.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");xb(e,"--")||xb(e,"var")||(d=Qn(bea,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[d])||"",d=Zda(d),null!=d&&Qn(cea,b,b.setProperty?"setProperty":"setAttribute",[e,d]))});
return Haa(b.cssText||"")};
$da=function(a){g.Ma(a)?a=g.jb(a):(a=g.Vb(a),g.fb(a,"cssText"));return a};
g.Rn=function(a,b,c,d,e,f,k,l){this.o=a;this.B=b;this.w=c;this.C=d;this.A=e;this.F=f;this.u=k;this.G=l};
g.Sn=function(a,b){if(0==b)return a.o;if(1==b)return a.u;var c=g.ud(a.o,a.w,b),d=g.ud(a.w,a.A,b),e=g.ud(a.A,a.u,b);c=g.ud(c,d,b);d=g.ud(d,e,b);return g.ud(c,d,b)};
g.Tn=function(a,b,c){this.A=a;this.B=b;this.o=this.w=a;this.C=c||0};
g.Un=function(a){a.o=Math.min(a.B,2*a.o);a.w=Math.min(a.B,a.o+(a.C?Math.round(a.C*(Math.random()-.5)*2*a.o):0));a.u++};
Vn=function(a){return(a=a.exec(g.Mb))?a[1]:""};
Wn=function(a){return 0<=g.Lb(eea,a)};
g.Xn=function(a){g.B.call(this);this.B=1;this.w=[];this.A=0;this.o=[];this.u={};this.C=!!a};
fea=function(a,b,c){g.Ye(function(){a.apply(b,c)})};
g.Yn=function(a){this.o=a};
Zn=function(a){this.o=a};
$n=function(a){this.data=a};
ao=function(a){return void 0===a||a instanceof $n?a:new $n(a)};
bo=function(a){this.o=a};
g.co=function(a){var b=a.creation;a=a.expiration;return!!a&&a<(0,g.I)()||!!b&&b>(0,g.I)()};
g.eo=function(a){this.o=a};
gea=function(){};
fo=function(){};
go=function(a){this.o=a};
ho=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.o=a};
io=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.o=a};
lo=function(a,b){this.u=a;this.o=null;if(g.Od&&!g.rd(9)){jo||(jo=new g.Nm);this.o=jo.get(a);this.o||(b?this.o=document.getElementById(b):(this.o=document.createElement("userdata"),this.o.addBehavior("#default#userData"),document.body.appendChild(this.o)),jo.set(a,this.o));try{this.o.load(this.u)}catch(c){this.o=null}}};
mo=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return hea[b]})};
no=function(a){try{a.o.save(a.u)}catch(b){throw"Storage mechanism: Quota exceeded";}};
oo=function(a,b){this.u=a;this.o=b+"::"};
g.po=function(a){var b=new ho;return b.isAvailable()?a?new oo(b,a):b:null};
qo=function(a,b){this.o=a;this.u=b};
ro=function(a){this.o=[];if(a)a:{if(a instanceof ro){var b=a.te();a=a.Bd();if(0>=this.o.length){for(var c=this.o,d=0;d<b.length;d++)c.push(new qo(b[d],a[d]));break a}}else b=g.Vb(a),a=g.Ub(a);for(d=0;d<b.length;d++)g.so(this,b[d],a[d])}};
g.so=function(a,b,c){var d=a.o;d.push(new qo(b,c));b=d.length-1;a=a.o;for(c=a[b];0<b;)if(d=b-1>>1,a[d].o>c.o)a[b]=a[d],b=d;else break;a[b]=c};
g.to=function(){ro.call(this)};
uo=function(a,b){var c=void 0,d=void 0,e;if(!(e=d)){if("undefined"!==typeof Promise)e=Promise;else throw Error("Promise or polyfill not available.");e=d=e}return new e(function(f,k){function l(p){try{n(b.next(p))}catch(t){k(t)}}
function m(p){try{n(b["throw"](p))}catch(t){k(t)}}
function n(p){p.done?f(p.value):(new d(function(t){t(p.value)})).then(l,m)}
n((b=b.apply(a,c)).next())})};
vo=function(a){tg(this,a,iea,null)};
wo=function(a){tg(this,a,null,null)};
jea=function(a,b){for(;Uf(b)&&4!=b.u;)switch(b.w){case 1:var c=Xf(b);wg(a,1,c);break;case 2:c=Xf(b);wg(a,2,c);break;case 3:c=Xf(b);wg(a,3,c);break;case 4:c=Xf(b);wg(a,4,c);break;case 5:c=Sf(b.o);wg(a,5,c);break;default:Vf(b)}return a};
kea=function(a){a=a.split("");var b=[522481285,-1770534689,-830665899,805512843,function(c,d){c.push(d)},
1380333131,-1014039351,-1631241564,"kktf",652643310,805512843,function(c,d){c.push(d)},
-153391276,-851072695,null,1504410823,1862743781,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(0,1,c.splice(d,1,c[0])[0])},
-758706113,-1870296270,-1770534689,function(c,d){for(var e=64,f=[];++e-f.length-32;){switch(e){case 91:e=44;continue;case 123:e=65;break;case 65:e-=18;continue;case 58:e=96;continue;case 46:e=95}f.push(String.fromCharCode(e))}c.forEach(function(k,l,m){this.push(m[l]=f[(f.indexOf(k)-f.indexOf(this[l])+l-32+e--)%f.length])},d.split(""))},
644037828,1009500204,a,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){c.unshift(e)})},
-830665899,function(c){c.reverse()},
function(c,d){for(var e=64,f=[];++e-f.length-32;){switch(e){case 91:e=44;continue;case 123:e=65;break;case 65:e-=18;continue;case 58:e=96;continue;case 46:e=95}f.push(String.fromCharCode(e))}c.forEach(function(k,l,m){this.push(m[l]=f[(f.indexOf(k)-f.indexOf(this[l])+l-32+e--)%f.length])},d.split(""))},
null,-872917976,523133166,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(d,1)},
1644709379,1674113622,"kktf",-1471771211,1912621029,1009500204,1380333131,-851072695,1862743781,-1194400389,-872917976,740449949,522481285,-1354261683,-1471771211,-1354261683,function(c){c.reverse()},
-1194400389,function(c,d){for(d=(d%c.length+c.length)%c.length;d--;)c.unshift(c.pop())},
487596628,-1577402001,-1870296270,1912621029,-1674103067,-1631241564,487596628,-1175232949,-1042141249,1504410823,1644709379,-1812773407,1683338244,-153391276,1546488485,function(c,d){for(d=(d%c.length+c.length)%c.length;d--;)c.unshift(c.pop())},
-758706113,function(c,d){d=(d%c.length+c.length)%c.length;var e=c[0];c[0]=c[d];c[d]=e},
a,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(-d).reverse().forEach(function(e){c.unshift(e)})},
1546488485,523133166,function(c,d){d=(d%c.length+c.length)%c.length;c.splice(d,1)},
function(c,d){d=(d%c.length+c.length)%c.length;c.splice(0,1,c.splice(d,1,c[0])[0])},
-1042141249,-1812773407,652643310,1397566592,1397566592,-1014039351,1683338244,644037828,function(c,d){d=(d%c.length+c.length)%c.length;var e=c[0];c[0]=c[d];c[d]=e},
1674113622,-1175232949,740449949,-1674103067,-1577402001];b[14]=b;b[29]=b;b[51](b[70],b[22]);b[4](b[14],b[28]);b[17](b[24],b[30]);b[28](b[70],b[8]);b[51](b[14],b[72]);b[71](b[25],b[59]);b[80](b[20],b[44]);b[47](b[25],b[49]);b[74](b[27],b[85]);b[20](b[73],b[29]);b[17](b[32],b[79]);b[54](b[7],b[6]);b[30](b[16],b[76]);b[20](b[62],b[11]);b[15](b[67],b[19]);b[89](b[62],b[4]);b[30](b[62],b[88]);b[49](b[67],b[45]);b[63](b[42],b[54]);b[91](b[44],b[79]);b[87](b[19],b[48]);b[6](b[47],b[12]);b[37](b[52],b[88]);
b[2](b[27],b[18]);b[59](b[63],b[47]);b[66](b[73],b[17]);b[41](b[78],b[2]);b[28](b[27],b[24]);b[26](b[53],b[46]);b[32](b[73],b[15]);b[6](b[73],b[68]);b[6](b[78],b[56]);b[60](b[16],b[81]);b[52](b[42],b[33]);b[87](b[42]);b[82](b[52],b[69]);b[56](b[10]);b[51](b[59],b[90]);b[11](b[10],b[63]);b[91](b[59],b[26]);b[11](b[10],b[74]);b[51](b[10],b[28]);return a.join("")};
yo=function(a,b,c){a&&(a.dataset?a.dataset[xo(b)]=String(c):a.setAttribute("data-"+b,c))};
zo=function(a){return a?a.dataset?a.dataset[xo("loaded")]:a.getAttribute("data-loaded"):null};
xo=function(a){return Ao[a]||(Ao[a]=String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()}))};
Co=function(a){var b=arguments,c=Bo;1<b.length?c[b[0]]=b[1]:1===b.length&&Object.assign(c,b[0])};
g.M=function(a,b){return a in Bo?Bo[a]:b};
Do=function(){return g.M("ERRORS",[])};
lea=function(a){Eo.forEach(function(b){return b(a)})};
Fo=function(a){return a&&window.yterr?function(){try{return a.apply(this,arguments)}catch(b){g.N(b),lea(b)}}:a};
g.N=function(a,b){var c=g.w("yt.logging.errors.log");c?c(a,"ERROR",b,void 0,void 0):(c=Do(),c.push([a,"ERROR",b,void 0,void 0]),Co("ERRORS",c))};
g.Go=function(a){var b=g.w("yt.logging.errors.log");b?b(a,"WARNING",void 0,void 0,void 0):(b=Do(),b.push([a,"WARNING",void 0,void 0,void 0]),Co("ERRORS",b))};
g.Ho=function(a,b){g.Na(a)&&(a=Fo(a));return window.setTimeout(a,b)};
Io=function(a,b){g.Na(a)&&(a=Fo(a));return window.setInterval(a,b)};
g.Jo=function(a){window.clearTimeout(a)};
g.Oo=function(a,b,c){var d=g.Ko();if(d){var e=d.subscribe(a,function(){var f=arguments;var k=function(){Lo[e]&&b.apply(c||window,f)};
try{g.Mo[a]?k():g.Ho(k,0)}catch(l){g.N(l)}},c);
Lo[e]=!0;No[a]||(No[a]=[]);No[a].push(e);return e}return 0};
mea=function(a){var b=g.Oo("watchAdsInit",function(c){a.apply(void 0,arguments);g.Po(b)},void 0);
return b};
g.Po=function(a){var b=g.Ko();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),(0,g.y)(a,function(c){b.unsubscribeByKey(c);delete Lo[c]}))};
g.Qo=function(a,b){var c=g.Ko();return c?c.publish.apply(c,arguments):!1};
So=function(a){var b=g.Ko();if(b)if(b.clear(a),a)Ro(a);else for(var c in No)Ro(c)};
g.Ko=function(){return g.w("ytPubsubPubsubInstance")};
Ro=function(a){No[a]&&(a=No[a],(0,g.y)(a,function(b){Lo[b]&&delete Lo[b]}),a.length=0)};
g.To=function(a,b,c){c=void 0===c?null:c;if(window.spf&&spf.script){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(nea,""),c=c.replace(oea,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else pea(a,b,c)};
pea=function(a,b,c){c=void 0===c?null:c;var d=Uo(a),e=document.getElementById(d),f=e&&zo(e),k=e&&!f;f?b&&b():(b&&(f=g.Oo(d,b),b=""+g.Qa(b),Vo[b]=f),k||(e=qea(a,d,function(){zo(e)||(yo(e,"loaded","true"),g.Qo(d),g.Ho(g.Ra(So,d),0))},c)))};
qea=function(a,b,c,d){d=void 0===d?null:d;var e=g.Vd("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);ad(e,Rg(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e};
Uo=function(a){var b=document.createElement("a");g.Zc(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+gd(a)};
g.Xo=function(a){a=Wo(a);return"string"===typeof a&&"false"===a?!1:!!a};
Gf=function(a,b){var c=Wo(a);return void 0===c&&void 0!==b?b:Number(c||0)};
Wo=function(a){var b=g.M("EXPERIMENTS_FORCED_FLAGS",{});return void 0!==b[a]?b[a]:g.M("EXPERIMENT_FLAGS",{})[a]};
Yo=function(){var a=[],b=g.M("EXPERIMENTS_FORCED_FLAGS",{});for(c in b)a.push({key:c,value:String(b[c])});var c=g.M("EXPERIMENT_FLAGS",{});for(var d in c)d.startsWith("force_")&&void 0===b[d]&&a.push({key:d,value:String(c[d])});return a};
Zo=function(){return g.w("yt.ads.biscotti.lastId_")||""};
$o=function(a){g.Ha("yt.ads.biscotti.lastId_",a,void 0)};
ap=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=cd(e[0]||""),k=cd(e[1]||"");f in b?g.La(b[f])?kb(b[f],k):b[f]=[b[f],k]:b[f]=k}catch(m){if("q"!=e[0]){var l=Error("Error decoding URL component");l.params={key:e[0],value:e[1]};g.N(l)}}}return b};
bp=function(a){var b=[];g.Ob(a,function(c,d){var e=bd(d),f;g.La(c)?f=c:f=[c];(0,g.y)(f,function(k){""==k?b.push(e):b.push(e+"="+bd(k))})});
return b.join("&")};
cp=function(a){"?"==a.charAt(0)&&(a=a.substr(1));return ap(a)};
dp=function(a){a=a.split(",");return a=a.map(function(b){return cp(b)})};
g.ep=function(a){return-1!=a.indexOf("?")?(a=(a||"").split("#")[0],a=a.split("?",2),cp(1<a.length?a[1]:a[0])):{}};
g.gp=function(a,b){return fp(a,b||{},!0)};
hp=function(a,b){return fp(a,b||{},!1)};
fp=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=cp(e[1]||"");for(var f in b)if(c||!Xb(e,f))e[f]=b[f];return g.eh(a,e)+d};
ip=function(a){if(!b)var b=window.location.href;var c=g.Vg(1,a),d=g.Wg(a);c&&d?(a=a.match(Ug),b=b.match(Ug),a=a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]):a=d?g.Wg(b)==d&&(Number(g.Vg(4,b))||null)==(Number(g.Vg(4,a))||null):!0;return a};
jp=function(a){a||(a=document.location.href);a=g.Vg(1,a);return null!==a&&"https"==a};
kp=function(a){a=g.Wg(a);a=null!==a?a.split(".").reverse():null;return null===a?!1:"com"==a[0]&&a[1].match(/^youtube(?:kids|-nocookie)?$/)?!0:!1};
np=function(a){var b=lp;a=void 0===a?Zo():a;b=Object.assign(mp(b),rea(b));b.ca_type="image";a&&(b.bid=a);return b};
mp=function(a){var b={};b.dt=sea;b.flash="0";a:{try{var c=a.o.top.location.href}catch(f){a=2;break a}a=c?c===a.u.location.href?0:1:2}b=(b.frm=a,b);b.u_tz=-(new Date).getTimezoneOffset();var d=void 0===d?gi:d;try{var e=d.history.length}catch(f){e=0}b.u_his=e;b.u_java=!!gi.navigator&&"unknown"!==typeof gi.navigator.javaEnabled&&!!gi.navigator.javaEnabled&&gi.navigator.javaEnabled();gi.screen&&(b.u_h=gi.screen.height,b.u_w=gi.screen.width,b.u_ah=gi.screen.availHeight,b.u_aw=gi.screen.availWidth,b.u_cd=
gi.screen.colorDepth);gi.navigator&&gi.navigator.plugins&&(b.u_nplug=gi.navigator.plugins.length);gi.navigator&&gi.navigator.mimeTypes&&(b.u_nmime=gi.navigator.mimeTypes.length);return b};
rea=function(a){var b=a.o;try{var c=b.screenX;var d=b.screenY}catch(m){}try{var e=b.outerWidth;var f=b.outerHeight}catch(m){}try{var k=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,k,l];c=Th(!1,a.o.top);d={};e=new un;g.v.SVGElement&&g.v.document.createElementNS&&e.set(0);f=wba();f["allow-top-navigation-by-user-activation"]&&e.set(1);f["allow-popups-to-escape-sandbox"]&&e.set(2);g.v.crypto&&g.v.crypto.subtle&&
e.set(3);g.v.TextDecoder&&g.v.TextEncoder&&e.set(4);e=Tda(e);return d.bc=e,d.bih=c.height,d.biw=c.width,d.brdim=b.join(),d.vis=hi(a.u),d.wgl=!!gi.WebGLRenderingContext,d};
tea=function(){if(!op)return null;var a=op();return"open"in a?a:null};
g.qp=function(a){switch(pp(a)){case 200:case 201:case 202:case 203:case 204:case 205:case 206:case 304:return!0;default:return!1}};
pp=function(a){return a&&"status"in a?a.status:-1};
uea=function(a,b){b=void 0===b?{}:b;var c=ip(a),d=g.Xo("web_ajax_ignore_global_headers_if_set"),e;for(e in rp){var f=g.M(rp[e]);!f||!c&&!sp(a,e)||d&&void 0!==b[e]||(b[e]=f)}if(c||sp(a,"X-YouTube-Utc-Offset"))b["X-YouTube-Utc-Offset"]=String(-(new Date).getTimezoneOffset());(c||sp(a,"X-YouTube-Time-Zone"))&&(d="undefined"!=typeof Intl?(new Intl.DateTimeFormat).resolvedOptions().timeZone:null)&&(b["X-YouTube-Time-Zone"]=d);if(c||sp(a,"X-YouTube-Ad-Signals"))b["X-YouTube-Ad-Signals"]=bp(np(void 0));
return b};
tp=function(a,b){var c=g.Wg(a),d=Tg(g.Vg(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=cp(b),f={};(0,g.y)(vea,function(k){e[k]&&(f[k]=e[k])});
return hp(a,f)};
sp=function(a,b){var c=g.M("CORS_HEADER_WHITELIST")||{},d=g.Wg(a);return d?(c=c[d])?g.bb(c,b):!1:!0};
wea=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=up(a,b);var d=vp(a,b);d&&(c.body=d);b.withCredentials&&(c.credentials="include");var e=!1,f;fetch(a,c).then(function(k){if(!e){e=!0;f&&g.Jo(f);var l=k.ok,m=function(n){n=n||{};var p=b.context||g.v;l?b.onSuccess&&b.onSuccess.call(p,n,k):b.onError&&b.onError.call(p,n,k);b.wd&&b.wd.call(p,n,k)};
"JSON"==(b.format||"JSON")&&(l||400<=k.status&&500>k.status)?k.json().then(m,function(){m(null)}):m(null)}});
b.AA&&0<b.timeout&&(f=g.Ho(function(){e||(e=!0,g.Jo(f),b.AA.call(b.context||g.v))},b.timeout))}else g.wp(a,b)};
g.wp=function(a,b){var c=b.format||"JSON";a=up(a,b);var d=vp(a,b),e=!1,f,k=xp(a,function(l){if(!e){e=!0;f&&g.Jo(f);var m=g.qp(l),n=null,p=400<=l.status&&500>l.status,t=500<=l.status&&600>l.status;if(m||p||t)n=xea(c,l,b.tT);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.v;m?b.onSuccess&&b.onSuccess.call(p,l,n):b.onError&&b.onError.call(p,l,n);b.wd&&b.wd.call(p,l,n)}},b.method,d,b.headers,b.responseType,
b.withCredentials);
b.Nd&&0<b.timeout&&(f=g.Ho(function(){e||(e=!0,k.abort(),g.Jo(f),b.Nd.call(b.context||g.v,k))},b.timeout));
return k};
up=function(a,b){b.xT&&(a=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")+a);var c=g.M("XSRF_FIELD_NAME",void 0),d=b.Wd;d&&(d[c]&&delete d[c],a=g.gp(a,d));return a};
vp=function(a,b){var c=g.M("XSRF_FIELD_NAME",void 0),d=g.M("XSRF_TOKEN",void 0),e=b.postBody||"",f=b.zb,k=g.M("XSRF_FIELD_NAME",void 0),l;b.headers&&(l=b.headers["Content-Type"]);b.Qw||g.Wg(a)&&!b.withCredentials&&g.Wg(a)!=document.location.hostname||"POST"!=b.method||l&&"application/x-www-form-urlencoded"!=l||b.zb&&b.zb[k]||(f||(f={}),f[c]=d);f&&"string"===typeof e&&(e=cp(e),g.gc(e,f),e=b.lB&&"JSON"==b.lB?JSON.stringify(e):g.ch(e));f=e||f&&!g.ac(f);!yp&&f&&"POST"!=b.method&&(yp=!0,g.N(Error("AJAX request with postData should use POST")));
return e};
xea=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)?yea(b):null)d={},(0,g.y)(b.getElementsByTagName("*"),function(e){d[e.tagName]=zea(e)})}c&&zp(d);
return d};
zp=function(a){if(g.Oa(a))for(var b in a)"html_content"==b||yb(b,"_html")?a[b]=g.Xc(g.tc("HTML that is escaped and sanitized server-side and passed through yt.net.ajax"),a[b]):zp(a[b])};
yea=function(a){return a?(a=("responseXML"in a?a.responseXML:a).getElementsByTagName("root"))&&0<a.length?a[0]:null:null};
zea=function(a){var b="";(0,g.y)(a.childNodes,function(c){b+=c.nodeValue});
return b};
g.Ap=function(a,b){b.method="POST";b.zb||(b.zb={});g.wp(a,b)};
xp=function(a,b,c,d,e,f,k){function l(){4==(m&&"readyState"in m?m.readyState:0)&&b&&Fo(b)(m)}
c=void 0===c?"GET":c;d=void 0===d?"":d;var m=tea();if(!m)return null;"onloadend"in m?m.addEventListener("loadend",l,!1):m.onreadystatechange=l;g.Xo("debug_forward_web_query_parameters")&&(a=tp(a,window.location.search));m.open(c,a,!0);f&&(m.responseType=f);k&&(m.withCredentials=!0);c="POST"==c&&(void 0===window.FormData||!(d instanceof FormData));if(e=uea(a,e))for(var n in e)m.setRequestHeader(n,e[n]),"content-type"==n.toLowerCase()&&(c=!1);c&&m.setRequestHeader("Content-Type","application/x-www-form-urlencoded");
m.send(d);return m};
Bp=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];d=Error.call(this,a);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.args=[].concat(g.na(c))};
Cp=function(a){var b=g.w("yt.logging.errors.log");b?b(a,"ERROR",void 0,void 0,!1,void 0):(b=Do(),b.push([a,"ERROR",void 0,void 0,!1,void 0]),Co("ERRORS",b))};
Dp=function(a){var b=g.w("yt.logging.errors.log");b?b(a,"WARNING",void 0,void 0,!1,void 0):(b=Do(),b.push([a,"WARNING",void 0,void 0,!1,void 0]),Co("ERRORS",b))};
Ep=function(a,b,c,d){c+="."+a;a=String(JSON.stringify(b)).substr(0,500);d[c]=a;return c.length+a.length};
Fp=function(){this.Dd=!1;this.o=null};
Gp=function(a,b,c){try{a.o=new window.botguard.bg(b)}catch(d){Dp(d)}c&&c(b)};
Aea=function(){};
Ip=function(a,b){return Hp(a,0,b)};
g.Jp=function(a,b){return Hp(a,1,b)};
Kp=function(){};
g.Lp=function(){return!!g.w("yt.scheduler.instance")};
Hp=function(a,b,c){isNaN(c)&&(c=void 0);var d=g.w("yt.scheduler.instance.addJob");return d?d(a,b,c):void 0===c?(a(),NaN):g.Ho(a,c||0)};
g.Mp=function(a){if(!isNaN(a)){var b=g.w("yt.scheduler.instance.cancelJob");b?b(a):g.Jo(a)}};
Np=function(a){var b=g.w("yt.scheduler.instance.setPriorityThreshold");b&&b(a)};
Pp=function(){if("1"!=g.Wb(g.M("PLAYER_CONFIG",{}),"args","privembed")){var a=function(){Op=!0;"google_ad_status"in window?Co("DCLKSTAT",1):Co("DCLKSTAT",2)};
g.To("//static.doubleclick.net/instream/ad_status.js",a);Bea.push(g.Jp(function(){if(!(Op||"google_ad_status"in window)){if(a){var b=""+g.Qa(a);(b=Vo[b])&&g.Po(b)}Op=!0;Co("DCLKSTAT",3)}},5E3))}};
g.Qp=function(a,b,c,d,e){e=void 0===e?"":e;a&&(c&&!g.fl()?a&&(a=g.Cc(g.Ec(a)),"about:invalid#zClosurez"===a?a="":(a=g.Sc(Uc(a)).toString(),a=bd(g.Kk(a))),g.zb(a)||(a=g.Ud("IFRAME",{src:'javascript:"<body><img src=\\""+'+a+'+"\\"></body>"',style:"display:none"}),Dd(a).body.appendChild(a))):e?xp(a,b,"POST",e,d):g.M("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d?xp(a,b,"GET","",d):Cea(a,b)||Dea(a,b))};
Cea=function(a,b){var c=Bo.EXPERIMENT_FLAGS;if(!c||!c.web_use_beacon_api_for_ad_click_server_pings)return!1;c=Tg(g.Vg(5,a));return c&&-1!=c.indexOf("/aclk")&&"1"===ih(a,"ae")&&"1"===ih(a,"act")?Rp(a)?(b&&b(),!0):!1:!1};
Sp=function(a,b,c){c=void 0===c?"":c;Rp(a,c)?b&&b():g.Qp(a,b,void 0,void 0,c)};
Rp=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1};
Dea=function(a,b){var c=new Image,d=""+Eea++;Tp[d]=c;c.onload=c.onerror=function(){b&&Tp[d]&&b();delete Tp[d]};
c.src=a};
Vp=function(a,b){var c=g.dc(b),d;return sf(new cf(function(e,f){c.onSuccess=function(k){g.qp(k)?e(k):f(new Up("Request failed, status="+pp(k),"net.badstatus",k))};
c.onError=function(k){f(new Up("Unknown request error","net.unknown",k))};
c.Nd=function(k){f(new Up("Request timed out","net.timeout",k))};
d=g.wp(a,c)}),function(e){e instanceof xf&&d.abort();
return lf(e)})};
g.Wp=function(a,b,c,d){function e(k,l,m){return sf(k,function(n){return 0>=l||403===pp(n.Zh)?lf(new Up("Request retried too many times","net.retryexhausted",n.Zh)):f(m).then(function(){return e(Vp(a,b),l-1,Math.pow(2,c-l+1)*m)})})}
function f(k){return new cf(function(l){setTimeout(l,k)})}
return e(Vp(a,b),c-1,d)};
Up=function(a,b,c){Ua.call(this,a+", errorCode="+b);this.errorCode=b;this.Zh=c;this.name="PromiseAjaxError"};
Xp=function(){this.u=0;this.o=null};
Yp=function(a){var b=new Xp;a=void 0===a?null:a;b.u=2;b.o=void 0===a?null:a;return b};
Zp=function(a){var b=new Xp;a=void 0===a?null:a;b.u=1;b.o=void 0===a?null:a;return b};
aq=function(a){Ua.call(this,a.message||a.description||a.name);this.isMissing=a instanceof $p;this.isTimeout=a instanceof Up&&"net.timeout"==a.errorCode;this.isCanceled=a instanceof xf};
$p=function(){Ua.call(this,"Biscotti ID is missing from server")};
Fea=function(){if("1"===g.Wb(g.M("PLAYER_CONFIG",{}),"args","privembed"))return lf(Error("Biscotti ID is not available in private embed mode"));bq||(bq=sf(Vp("//googleads.g.doubleclick.net/pagead/id",cq).then(dq),function(a){return eq(2,a)}));
return bq};
dq=function(a){a=a.responseText;if(!xb(a,")]}'"))throw new $p;a=JSON.parse(a.substr(4));if(1<(a.type||1))throw new $p;a=a.id;$o(a);bq=Zp(a);fq(18E5,2);return a};
eq=function(a,b){var c=new aq(b);$o("");bq=Yp(c);0<a&&fq(12E4,a-1);throw c;};
fq=function(a,b){g.Ho(function(){sf(Vp("//googleads.g.doubleclick.net/pagead/id",cq).then(dq,function(c){return eq(b,c)}),g.Ia)},a)};
gq=function(){try{var a=g.w("yt.ads.biscotti.getId_");return a?a():Fea()}catch(b){return lf(b)}};
nq=function(){g.Jo(hq);g.Jo(iq);iq=0;if(!g.ac(jq)){for(var a in jq){var b=kq[a];b&&b.isReady()&&(Gea(a,b),delete jq[a],lq=!1)}g.ac(jq)||mq()}};
mq=function(){g.Xo("web_gel_timeout_cap")&&!iq&&(iq=g.Ho(nq,6E4));g.Jo(hq);var a=g.M("LOGGING_BATCH_TIMEOUT",Gf("web_gel_debounce_ms",1E4));g.Xo("shorten_initial_gel_batch_timeout")&&lq&&(a=Hea);hq=g.Ho(nq,a)};
oq=function(a,b){b=void 0===b?"":b;jq[a]=jq[a]||{};jq[a][b]=jq[a][b]||[];return jq[a][b]};
Gea=function(a,b){var c=Iea[a],d=pq[a]||{};pq[a]=d;var e=Math.round((0,g.O)());for(n in jq[a]){var f=g.ec(g.qq(b.o||g.rq()));f[c]=oq(a,n);d.dispatchedEventCount=d.dispatchedEventCount||0;d.dispatchedEventCount+=f[c].length;var k=sq[n];if(k)a:{var l=n;if(k.videoId)var m="VIDEO";else if(k.playlistId)m="PLAYLIST";else break a;f.credentialTransferTokenTargetId=k;f.context=f.context||{};f.context.user=f.context.user||{};f.context.user.credentialTransferTokens=[{token:l,scope:m}]}delete sq[n];f.requestTimeMs=
e;g.Xo("unsplit_gel_payloads_in_logs")&&(f.unsplitGelPayloadsInLogs=!0);if(k=g.M("EVENT_ID",void 0))m=g.M("BATCH_CLIENT_COUNTER",void 0)||0,!m&&g.Xo("web_client_counter_random_seed")&&(m=Math.floor(Math.random()*tq/2)),m++,m>tq&&(m=1),Co("BATCH_CLIENT_COUNTER",m),k={serializedEventId:k,clientCounter:m},f.serializedClientEventId=k,uq&&vq&&g.Xo("log_gel_rtt_web")&&(f.previousBatchInfo={serializedClientEventId:uq,roundtripMs:vq}),uq=k,vq=0;g.wq(b,a,f,{retry:Jea.has(a),onSuccess:(0,g.x)(Kea,this,(0,g.O)())})}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};
Kea=function(a){vq=Math.round((0,g.O)()-a)};
yq=function(){var a=document;if("visibilityState"in a)return a.visibilityState;var b=xq+"VisibilityState";if(b in a)return a[b]};
zq=function(a,b){var c;jj(a,function(d){c=b[d];return!!c});
return c};
Aq=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{if(a=a||window.event){this.event=a;for(var b in a)b in Lea||(this[b]=a[b]);this.rotation=a.rotation;var c=a.target||a.srcElement;c&&3==c.nodeType&&(c=c.parentNode);this.target=c;var d=a.relatedTarget;if(d)try{d=d.nodeName?
d:null}catch(e){d=null}else"mouseover"==this.type?d=a.fromElement:"mouseout"==this.type&&(d=a.toElement);this.relatedTarget=d;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.o=a.pageX;this.u=a.pageY}}catch(e){}};
Bq=function(a){if(document.body&&document.documentElement){var b=document.body.scrollTop+document.documentElement.scrollTop;a.o=a.clientX+(document.body.scrollLeft+document.documentElement.scrollLeft);a.u=a.clientY+b}};
Mea=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 Zb(Cq,function(e){var f="boolean"===typeof e[4]&&e[4]==!!d,k=g.Oa(e[4])&&g.Oa(d)&&g.cc(e[4],d);return!!e.length&&e[0]==a&&e[1]==b&&e[2]==c&&(f||k)})};
g.Fq=function(a,b,c,d){d=void 0===d?{}:d;if(!a||!a.addEventListener&&!a.attachEvent)return"";var e=Mea(a,b,c,d);if(e)return e;e=++Dq.count+"";var f=!("mouseenter"!=b&&"mouseleave"!=b||!a.addEventListener||"onmouseenter"in document);var k=f?function(l){l=new Aq(l);if(!he(l.relatedTarget,function(m){return m==a},!0))return l.currentTarget=a,l.type=b,c.call(a,l)}:function(l){l=new Aq(l);
l.currentTarget=a;return c.call(a,l)};
k=Fo(k);a.addEventListener?("mouseenter"==b&&f?b="mouseover":"mouseleave"==b&&f?b="mouseout":"mousewheel"==b&&"MozBoxSizing"in document.documentElement.style&&(b="MozMousePixelScroll"),Eq()||"boolean"===typeof d?a.addEventListener(b,k,d):a.addEventListener(b,k,!!d.capture)):a.attachEvent("on"+b,k);Cq[e]=[a,b,c,k,d];return e};
Nea=function(a,b,c,d){var e=a||document;return g.Fq(e,b,function(f){var k=he(f.target,function(l){return l===e||d(l)},!0);
k&&k!==e&&!k.disabled&&(f.currentTarget=k,c.call(k,f))})};
g.Gq=function(a){a&&("string"==typeof a&&(a=[a]),(0,g.y)(a,function(b){if(b in Cq){var c=Cq[b],d=c[0],e=c[1],f=c[3];c=c[4];d.removeEventListener?Eq()||"boolean"===typeof c?d.removeEventListener(e,f,c):d.removeEventListener(e,f,!!c.capture):d.detachEvent&&d.detachEvent("on"+e,f);delete Cq[b]}}))};
g.Hq=function(a){a=a||window.event;a=a.target||a.srcElement;3==a.nodeType&&(a=a.parentNode);return a};
Iq=function(a){a=a||window.event;var b;a.composedPath&&g.Na(a.composedPath)?b=a.composedPath():b=a.path;return b&&b.length?b[0]:g.Hq(a)};
Jq=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};
Kq=function(a){a=a||window.event;var b=a.pageX,c=a.pageY;document.body&&document.documentElement&&("number"!==typeof b&&(b=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft),"number"!==typeof c&&(c=a.clientY+document.body.scrollTop+document.documentElement.scrollTop));return new g.wd(b,c)};
g.Lq=function(a){a=a||window.event;a.returnValue=!1;a.preventDefault&&a.preventDefault()};
g.Mq=function(a){a=a||window.event;return!1===a.returnValue||a.hy&&a.hy()};
g.Nq=function(a){a=a||window.event;return a.keyCode?a.keyCode:a.which};
g.Oq=function(a,b,c,d){return Nea(a,b,c,function(e){return g.In(e,d)})};
g.Pq=function(a,b,c){var d=void 0===d?{}:d;var e;return e=g.Fq(a,b,function(){g.Gq(e);c.apply(a,arguments)},d)};
Qq=function(a){for(var b in Cq)Cq[b][0]==a&&g.Gq(b)};
Rq=function(a){this.G=a;this.o=null;this.A=0;this.B=null;this.w=0;this.u=[];for(a=0;4>a;a++)this.u.push(0);this.Xa=0;this.F=g.Fq(window,"mousemove",(0,g.x)(this.J,this));this.H=Io((0,g.x)(this.C,this),25)};
Uq=function(){var a={},b=void 0===a.MF?!0:a.MF;a=void 0===a.bO?!1:a.bO;if(null==g.w("_lact",window)){var c=parseInt(g.M("LACT"),10);c=isFinite(c)?(0,g.I)()-Math.max(c,0):-1;g.Ha("_lact",c,window);g.Ha("_fact",c,window);-1==c&&Sq();g.Fq(document,"keydown",Sq);g.Fq(document,"keyup",Sq);g.Fq(document,"mousedown",Sq);g.Fq(document,"mouseup",Sq);b&&(a?g.Fq(window,"touchmove",function(){Tq("touchmove",200)},{passive:!0}):(g.Fq(window,"resize",function(){Tq("resize",200)}),g.Fq(window,"scroll",function(){Tq("scroll",
200)})));
new Rq(function(){Tq("mouse",100)});
g.Fq(document,"touchstart",Sq,{passive:!0});g.Fq(document,"touchend",Sq,{passive:!0})}};
Tq=function(a,b){Vq[a]||(Vq[a]=!0,g.Jp(function(){Sq();Vq[a]=!1},b))};
Sq=function(){null==g.w("_lact",window)&&(Uq(),g.w("_lact",window));var a=(0,g.I)();g.Ha("_lact",a,window);-1==g.w("_fact",window)&&g.Ha("_fact",a,window);(a=g.w("ytglobal.ytUtilActivityCallback_"))&&a()};
Wq=function(){var a=g.w("_lact",window),b;null==a?b=-1:b=Math.max((0,g.I)()-a,0);return b};
g.Zq=function(a,b,c,d){d=void 0===d?{}:d;var e={};e.eventTimeMs=Math.round(d.timestamp||(0,g.O)());e[a]=b;e.context={lastActivityMs:String(d.timestamp?-1:Wq())};g.Xo("log_sequence_info_on_gel_web")&&d.si&&(a=e.context,b=d.si,Xq[b]=b in Xq?Xq[b]+1:0,a.sequence={index:Xq[b],groupKey:b},d.uE&&delete Xq[d.si]);(d=d.lk)?(a={},d.videoId?a.videoId=d.videoId:d.playlistId&&(a.playlistId=d.playlistId),sq[d.token]=a,d=oq("log_event",d.token)):d=oq("log_event");d.push(e);c&&(kq.log_event=new c);c=Gf("web_logging_max_batch")||
100;e=(0,g.O)();d.length>=c?nq():10<=e-Yq&&(mq(),Yq=e)};
$q=function(){return"INNERTUBE_API_KEY"in Bo&&"INNERTUBE_API_VERSION"in Bo};
g.rq=function(){return{innertubeApiKey:g.M("INNERTUBE_API_KEY",void 0),innertubeApiVersion:g.M("INNERTUBE_API_VERSION",void 0),QF:g.M("INNERTUBE_CONTEXT_CLIENT_CONFIG_INFO"),Jn:g.M("INNERTUBE_CONTEXT_CLIENT_NAME","WEB"),innertubeContextClientVersion:g.M("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0),Pk:g.M("INNERTUBE_CONTEXT_HL",void 0),Ok:g.M("INNERTUBE_CONTEXT_GL",void 0),Kn:g.M("INNERTUBE_HOST_OVERRIDE",void 0)||"",RF:!!g.M("INNERTUBE_USE_THIRD_PARTY_AUTH",!1)}};
Oea=function(a,b,c){c=void 0===c?{}:c;var d={"X-Goog-Visitor-Id":c.visitorData||g.M("VISITOR_DATA","")};if(b&&b.includes("www.youtube-nocookie.com"))return d;(b=c.sT||g.M("AUTHORIZATION"))||(a?b="Bearer "+g.w("gapi.auth.getToken")().qT:b=g.Mm());b&&(d.Authorization=b,d["X-Goog-AuthUser"]=g.M("SESSION_INDEX",0),g.Xo("pageid_as_header_web")&&(d["X-Goog-PageId"]=g.M("DELEGATED_SESSION_ID")));return d};
g.qq=function(a){a={client:{hl:a.Pk,gl:a.Ok,clientName:a.Jn,clientVersion:a.innertubeContextClientVersion,configInfo:a.QF}};var b=window.devicePixelRatio;b&&1!=b&&(a.client.screenDensityFloat=String(b));b=g.M("EXPERIMENTS_TOKEN","");""!==b&&(a.client.experimentsToken=b);b=Yo();0<b.length&&(a.request={internalExperimentFlags:b});g.M("DELEGATED_SESSION_ID")&&!g.Xo("pageid_as_header_web")&&(a.user={onBehalfOfUser:g.M("DELEGATED_SESSION_ID")});return{context:a}};
g.br=function(a,b,c,d,e){ar.set(""+a,b,{Gy:c,path:"/",domain:void 0===d?"youtube.com":d,yO:void 0===e?!1:e})};
cr=function(a){return ar.get(""+a,void 0)};
g.dr=function(a,b,c){ar.remove(""+a,void 0===b?"/":b,void 0===c?"youtube.com":c)};
er=function(){var a;(a=g.po("yt.innertube"))||(a=new lo("yt.innertube"),a=a.isAvailable()?a:null);this.o=a?new bo(a):null;this.u=document.domain||window.location.hostname};
g.gr=function(a){this.o=null;a?this.o=a:fr||g.Xo("delay_gel_until_config_ready")?$q()&&(this.o=g.rq()):this.o=g.rq()};
g.wq=function(a,b,c,d){!g.M("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&g.Go(Error("Missing VISITOR_DATA when sending innertube request."));c={headers:{"Content-Type":"application/json"},method:"POST",zb:c,lB:"JSON",Nd:function(){d.Nd()},
AA:d.Nd,onSuccess:function(k,l){if(d.onSuccess)d.onSuccess(l)},
ET:function(k){if(d.onSuccess)d.onSuccess(k)},
onError:function(k,l){if(d.onError)d.onError(l)},
DT:function(k){if(d.onError)d.onError(k)},
timeout:d.timeout,withCredentials:!0};var e="",f=a.o.Kn;f&&(e=f);f=Oea(a.o.RF||!1,e,d);Object.assign(c.headers,f);c.headers.Authorization&&!e&&(c.headers["x-origin"]=window.location.origin);a=g.gp(""+e+("/youtubei/"+a.o.innertubeApiVersion+"/"+b),{alt:"json",key:a.o.innertubeApiKey});try{g.Xo("use_fetch_for_op_xhr")?wea(a,c):g.Ap(a,c)}catch(k){if("InvalidAccessError"==k)g.Go(Error("An extension is blocking network request."));else throw k;}};
hr=function(a,b,c){c=void 0===c?{}:c;var d=g.gr;g.M("ytLoggingEventsDefaultDisabled",!1)&&g.gr==g.gr&&(d=null);g.Zq(a,b,d,c)};
ir=function(a){Pea||hr("adsClientStateChange",{adsClientEvent:{eventType:a}})};
kr=function(){this.o=g.M("ALT_PREF_COOKIE_NAME","PREF");var a=cr(this.o);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])&&(jr[d]=c.toString())}}};
mr=function(a,b){return!!((lr("f"+(Math.floor(b/31)+1))||0)&1<<b%31)};
nr=function(a){if(/^f([1-9][0-9]*)$/.test(a))throw Error("ExpectedRegexMatch: "+a);};
or=function(a){if(!/^\w+$/.test(a))throw Error("ExpectedRegexMismatch: "+a);};
lr=function(a){a=void 0!==jr[a]?jr[a].toString():null;return null!=a&&/^[A-Fa-f0-9]+$/.test(a)?parseInt(a,16):null};
Sea=function(){var a=void 0===a?window.location.href:a;if(g.Xo("kevlar_disable_theme_param"))return null;var b=Tg(g.Vg(5,a));if(Qea(b))return"USER_INTERFACE_THEME_DARK";a=g.ep(a).theme;return Rea.get(a)||null};
Qea=function(a){var b=Tea.map(function(c){return c.toLowerCase()});
return!g.Xo("disable_dark_fashion_destination_launch")&&b.some(function(c){return a.toLowerCase().startsWith(c)})?!0:Uea.hasOwnProperty(a)&&!g.Xo("desktop_themeable_vulcan")};
pr=function(a){a.requestFullscreen?a.requestFullscreen(void 0):a.webkitRequestFullscreen?a.webkitRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.webkitEnterFullscreen&&a.webkitEnterFullscreen()};
sr=function(a){var b;qr()?rr()==a&&(b=document):b=a;b&&(a=zq(["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"],b))&&a.call(b)};
tr=function(a){return g.Za(["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],function(b){return"on"+b.toLowerCase()in a})};
Vea=function(){var a=document;return g.Za(["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"],function(b){return"on"+b.toLowerCase()in a})};
qr=function(){return!!zq(["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"],document)};
rr=function(a){a=void 0===a?!1:a;var b=zq(["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"],document);if(a)for(;b&&b.shadowRoot;)b=b.shadowRoot.fullscreenElement;return b?b:null};
g.P=function(a){g.B.call(this);this.Z=[];this.Id=a||this};
ur=function(a,b,c,d){for(var e=0;e<c.length;e++)a.L(b,c[e],d)};
g.vr=function(a){for(;a.Z.length;){var b=a.Z.pop();b.target.removeEventListener(b.name,b.ab)}};
g.Q=function(a){a=void 0===a?!1:a;g.B.call(this);this.jc=new g.Xn(a);g.H(this,this.jc)};
wr=function(a,b,c){for(var d in b)a.subscribe(d,b[d],c)};
xr=function(a,b,c){for(var d in b)a.unsubscribe(d,b[d],c)};
g.zr=function(a,b,c,d){g.Q.call(this);this.w=!!b;this.C=a;this.H=c||a;this.G=!!d;this.o=new g.P(this);g.H(this,this.o);this.B=this.F=null;this.A=this.u=!1;b&&(g.Qd&&a.setAttribute("draggable","true"),a.style.touchAction="none");yr(this)};
Ar=function(a,b,c){a.o.L(a.H,b,c,void 0,!a.w)};
yr=function(a){a.B=null;a.F=null;Ar(a,Br("over"),a.Oy);Ar(a,"touchstart",a.zs);a.w&&Ar(a,Br("down"),a.JJ)};
Cr=function(a,b){for(var c=0;c<b.changedTouches.length;c++){var d=b.changedTouches[c];if(d.identifier==a.F)return d}return null};
Br=function(a){return window.navigator.msPointerEnabled?"MSPointer"+a.charAt(0).toUpperCase()+a.substr(1):"mouse"+a};
Dr=function(a){a=a||{};var b={},c={};this.url=a.url||"";this.args=a.args||g.dc(b);this.assets=a.assets||{};this.attrs=a.attrs||g.dc(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||{}};
Wea=function(a){a instanceof Dr||(a=new Dr(a));return a};
Xea=function(){var a=Error("Child VE logged with no data"),b=void 0;b=void 0===b?{}:b;b.name=g.M("INNERTUBE_CONTEXT_CLIENT_NAME",1);b.version=g.M("INNERTUBE_CONTEXT_CLIENT_VERSION",void 0);b=b||{};var c="WARNING";c=void 0===c?"ERROR":c;var d=window&&window.yterr||!1;if(a&&d&&!(5<=Er)&&(g.Xo("console_log_js_exceptions")&&(d=[],d.push("Name: "+a.name),d.push("Message: "+a.message),a.hasOwnProperty("params")&&d.push("Error Params: "+JSON.stringify(a.params)),d.push("File name: "+a.fileName),d.push("Stacktrace: "+
a.stack),window.console.log(d.join("\n"),a)),0!==a.o)){d=a.u;var e=a.columnNumber;if(a.args&&a.args.length)for(var f=0,k=0;k<a.args.length;k++){var l=a.args[k],m="params."+k;f+=m.length;if(l)if(Array.isArray(l))for(var n=b,p=0;p<l.length&&!(l[p]&&(f+=Ep(p,l[p],m,n),500<f));p++);else if("object"===typeof l)for(n in n=void 0,p=b,l){if(l[n]&&(f+=Ep(n,l[n],m,p),500<f))break}else b[m]=String(JSON.stringify(l)).substring(0,500),f+=b[m].length;else b[m]=String(JSON.stringify(l)).substring(0,500),f+=b[m].length;
if(500<=f)break}else if(a.hasOwnProperty("params"))if(l=a.params,"object"===typeof a.params)for(k in m=0,l){if(l[k]&&(f="params."+k,n=String(JSON.stringify(l[k])).substr(0,500),b[f]=n,m+=f.length+n.length,500<m))break}else b.params=String(JSON.stringify(l)).substr(0,500);a=Xaa(a);(d=d||a.stack)||(d="Not available");k=a.lineNumber.toString();isNaN(k)||!e||isNaN(e)||(k=k+":"+e);window.yterr&&g.Na(window.yterr)&&(a.params=b,window.yterr(a));if(!(Fr.has(a.message)||0<=d.indexOf("/YouTubeCenter.js")||
0<=d.indexOf("/mytube.js"))){c={Wd:{a:"logerror",t:"jserror",type:a.name,msg:a.message.substr(0,250),line:k,level:c,"client.name":b.name},zb:{url:g.M("PAGE_NAME",window.location.href),file:a.fileName},method:"POST"};b.version&&(c["client.version"]=b.version);if(c.zb){d&&(c.zb.stack=d);d=g.q(Object.keys(b));for(e=d.next();!e.done;e=d.next())e=e.value,c.zb["client."+e]=b[e];if(b=g.M("LATEST_ECATCHER_SERVICE_TRACKING_PARAMS",void 0))for(d=g.q(Object.keys(b)),e=d.next();!e.done;e=d.next())e=e.value,c.zb[e]=
b[e]}g.wp(g.M("ECATCHER_REPORT_HOST","")+"/error_204",c);Fr.add(a.message);Er++}}};
Df=function(){};
Gr=function(a){this.Gd=a};
g.Hr=function(a){return new Gr({trackingParams:a})};
Zea=function(a){var b=Yea++;return new Gr({veType:a,veCounter:b,elementIndex:void 0,dataElement:void 0,youtubeData:void 0})};
g.Ir=function(a){var b={};void 0!==a.Gd.trackingParams?b.trackingParams=a.Gd.trackingParams:(b.veType=a.Gd.veType,null!=a.Gd.veCounter&&(b.veCounter=a.Gd.veCounter),null!=a.Gd.elementIndex&&(b.elementIndex=a.Gd.elementIndex));void 0!==a.Gd.dataElement&&(b.dataElement=g.Ir(a.Gd.dataElement));void 0!==a.Gd.youtubeData&&(b.youtubeData=a.Gd.youtubeData);return b};
Kr=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.I)();for(var d=0;d<c%23;d++)a[b]=Math.random();a[b]=Math.floor(256*Math.random())}if(Jr)for(b=1,c=0;c<Jr.length;c++)a[b%16]=a[b%16]^a[(b-1)%16]/4^Jr.charCodeAt(c),b++;return a};
Lr=function(){for(var a=Kr(),b=[],c=0;c<a.length;c++)b.push("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(a[c]&63));return b.join("")};
g.Mr=function(){return(0,g.A)(Kr(),function(a){return(a&15).toString(16)}).join("")};
Nr=function(a){a=void 0===a?0:a;return 0==a?"client-screen-nonce":"client-screen-nonce."+a};
Or=function(a){a=void 0===a?0:a;return 0==a?"ROOT_VE_TYPE":"ROOT_VE_TYPE."+a};
Pr=function(a){return g.M(Or(void 0===a?0:a),void 0)};
g.Qr=function(){var a=Pr(0),b;a?b=new Gr({veType:a,youtubeData:void 0}):b=null;return b};
Rr=function(){var a=g.M("csn-to-ctt-auth-info");a||(a={},Co("csn-to-ctt-auth-info",a));return a};
g.Sr=function(a){a=void 0===a?0:a;var b=g.M(Nr(a));if(!b&&!g.M("USE_CSN_FALLBACK",!0))return null;b||0!=a||(g.Xo("kevlar_client_side_screens")||g.Xo("c3_client_side_screens")?b="UNDEFINED_CSN":b=g.M("EVENT_ID"));return b?b:null};
$ea=function(a,b,c){var d=Rr();(c=g.Sr(c))&&delete d[c];b&&(d[a]=b)};
g.Tr=function(a){return Rr()[a]};
Vr=function(a,b,c,d){c=void 0===c?0:c;if(a!==g.M(Nr(c))||b!==g.M(Or(c)))$ea(a,d,c),Co(Nr(c),a),Co(Or(c),b),0==c&&(b=function(){setTimeout(function(){a&&g.Zq("foregroundHeartbeatScreenAssociated",{clientDocumentNonce:Ur,clientScreenNonce:a},g.gr)},0)},"requestAnimationFrame"in window?window.requestAnimationFrame(b):b())};
Wr=function(a,b){this.version=a;this.args=b};
Xr=function(a,b){this.topic=a;this.o=b};
Zr=function(a,b){var c=Yr();c&&c.publish.call(c,a.toString(),a,b)};
afa=function(a,b,c){var d=Yr();if(!d)return 0;var e=d.subscribe(a.toString(),function(f,k){var l=g.w("ytPubsub2Pubsub2SkipSubKey");l&&l==e||(l=function(){if($r[e])try{if(k&&a instanceof Xr&&a!=f)try{var m=a.o,n=k;if(!n.args||!n.version)throw Error("yt.pubsub2.Data.deserialize(): serializedData is incomplete.");try{if(!m.uh){var p=new m;m.uh=p.version}var t=m.uh}catch(u){}if(!t||n.version!=t)throw Error("yt.pubsub2.Data.deserialize(): serializedData version is incompatible.");try{k=Reflect.construct(m,
g.jb(n.args))}catch(u){throw u.message="yt.pubsub2.Data.deserialize(): "+u.message,u;}}catch(u){throw u.message="yt.pubsub2.pubsub2 cross-binary conversion error for "+a.toString()+": "+u.message,u;}b.call(c||window,k)}catch(u){g.N(u)}},as[a.toString()]?g.Lp()?g.Jp(l):g.Ho(l,0):l())});
$r[e]=!0;bs[a.toString()]||(bs[a.toString()]=[]);bs[a.toString()].push(e);return e};
ds=function(a,b,c){var d=afa(a,function(e){b.apply(c,arguments);cs(d)},c);
return d};
cs=function(a){var b=Yr();b&&("number"===typeof a&&(a=[a]),(0,g.y)(a,function(c){b.unsubscribeByKey(c);delete $r[c]}))};
Yr=function(){return g.w("ytPubsub2Pubsub2Instance")};
es=function(a){Wr.call(this,1,arguments);this.csn=a};
g.gs=function(a,b,c){b={csn:a,parentVe:g.Ir(b),childVes:(0,g.A)(c,function(e){return g.Ir(e)})};
c=g.q(c);for(var d=c.next();!d.done;d=c.next())d=g.Ir(d.value),(g.ac(d)||!d.trackingParams&&!d.veType)&&Xea();c={lk:g.Tr(a),si:a};"UNDEFINED_CSN"==a?g.fs("visualElementAttached",b,c):g.Zq("visualElementAttached",b,g.gr,c)};
g.hs=function(a,b){var c={csn:a,ve:g.Ir(b),eventType:1},d={lk:g.Tr(a),si:a};"UNDEFINED_CSN"==a?g.fs("visualElementShown",c,d):g.Zq("visualElementShown",c,g.gr,d)};
g.is=function(a,b){var c={csn:a,ve:g.Ir(b),gestureType:"INTERACTION_LOGGING_GESTURE_TYPE_GENERIC_CLICK"},d={lk:g.Tr(a),si:a};"UNDEFINED_CSN"==a?g.fs("visualElementGestured",c,d):g.Zq("visualElementGestured",c,g.gr,d)};
g.fs=function(a,b,c){js.push({UN:a,payload:b,options:c});ks||(ks=ds(bfa,cfa))};
cfa=function(a){if(js){for(var b=g.q(js),c=b.next();!c.done;c=b.next())c=c.value,c.payload&&(c.payload.csn=a.csn,g.Zq(c.UN,c.payload,null,c.options));js.length=0}ks=0};
g.ns=function(a,b,c){var d=c&&0<c?c:0;c=d?(0,g.I)()+1E3*d:0;if((d=d?(0,g.ls)():(0,g.ms)())&&window.JSON){"string"!==typeof b&&(b=JSON.stringify(b,void 0));try{d.set(a,b,c)}catch(e){d.remove(a)}}};
g.os=function(a){var b=(0,g.ms)(),c=(0,g.ls)();if(!b&&!c||!window.JSON)return null;try{var d=b.get(a)}catch(e){}if("string"!==typeof d)try{d=c.get(a)}catch(e){}if("string"!==typeof d)return null;try{d=JSON.parse(d,void 0)}catch(e){}return d};
g.ps=function(){return g.os("yt-remote-session-screen-id")};
ts=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];if(!qs(a)||c.some(function(e){return!qs(e)}))throw Error("Only objects may be merged.");
c=g.q(c);for(d=c.next();!d.done;d=c.next())rs(a,d.value);return a};
rs=function(a,b){for(var c in b)if(qs(b[c])){if(c in a&&!qs(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});rs(a[c],b[c])}else if(us(b[c])){if(c in a&&!us(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);vs(a[c],b[c])}else a[c]=b[c];return a};
vs=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next())d=d.value,qs(d)?a.push(rs({},d)):us(d)?a.push(vs([],d)):a.push(d);return a};
qs=function(a){return"object"===typeof a&&!Array.isArray(a)};
us=function(a){return"object"===typeof a&&Array.isArray(a)};
dfa=function(){ws=(0,g.O)()};
ys=function(a){var b=g.M("BG_I",null),c=g.M("BG_IU",null),d=g.M("BG_P",null);d&&(xs.Dd?0:!ws||72E5<(0,g.O)()-ws)&&(b||c)&&xs.initialize(b,c,d,dfa,a)};
zs=function(a){a=void 0===a?{}:a;a=void 0===a?{}:a;return xs.o?xs.o.invoke(void 0,void 0,a):null};
As=function(a){var b=this;a=void 0===a?[]:a;this.o=[];this.w=this.u=0;this.B=null;this.A=0;a.map(function(c){return b.append(c)})};
Bs=function(a,b){var c=g.Wa(a.o);return c&&c.buffer==b.buffer&&c.byteOffset+c.length==b.byteOffset};
Cs=function(a,b){for(var c=g.q(b.o),d=c.next();!d.done;d=c.next())a.append(d.value)};
Ds=function(a){a.B=null;a.u=0;a.w=0};
Fs=function(a,b){if(!(b>=a.w&&b<a.w+a.o[a.u].length)){for(b<a.w&&Ds(a);a.w+a.o[a.u].length<=b&&a.u<a.o.length;)a.w+=a.o[a.u].length,a.u+=1;a.B=null}};
Gs=function(a){if(!a.B){var b=a.o[a.u];a.B=new DataView(b.buffer,b.byteOffset,b.length)}return a.B};
Hs=function(a,b,c){b=void 0===b?0:b;c=void 0===c?-1:c;if(!a.A)return new DataView(new ArrayBuffer(0));0>c&&(c=a.A-b);Fs(a,b);if(!(b-a.w+c<=a.o[a.u].length)){var d=a.u,e=a.w;Fs(a,b+c-1);e=new Uint8Array(a.w+a.o[a.u].length-e);for(var f=0,k=d;k<=a.u;k++)e.set(a.o[k],f),f+=a.o[k].length;a.o.splice(d,a.u-d+1,e);Ds(a);Fs(a,b)}d=a.o[a.u];return new DataView(d.buffer,d.byteOffset+b-a.w,c)};
Is=function(a,b,c){a=Hs(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)};
Js=function(a,b,c){a=Is(a,void 0===b?0:b,void 0===c?-1:c);b=new Uint8Array(a.length);b.set(a);return b};
Ks=function(a,b){Fs(a,b);return a.o[a.u][b-a.w]};
Ls=function(a,b){Fs(a,b);return b-a.w+4<=a.o[a.u].length?Gs(a).getUint32(b-a.w):256*(256*(256*Ks(a,b)+Ks(a,b+1))+Ks(a,b+2))+Ks(a,b+3)};
Ms=function(){return!("function"!=typeof window.fetch||!window.ReadableStream)};
Ns=function(a){if(a.Ak())return!1;a=a.Xc("content-type");return"audio/mp4"===a||"video/mp4"===a||"video/webm"===a};
Ps=function(a){a=a.split("");Os.Vg(a,34);Os.gP(a,1);Os.Vg(a,69);Os.gP(a,3);Os.ji(a,3);Os.gP(a,2);Os.Vg(a,53);return a.join("")};
Qs=function(a,b,c,d){!a&&(void 0===c?0:c)&&g.Go(Error("Player URL validator detects invalid url. "+(void 0===d?"":d)+": "+b));return a};
Ss=function(a,b,c){return b&&b.test(a)||Rs&&c&&c.test(a)?!0:!1};
Us=function(a){return(a=Ts&&Ts.exec(a))?a[0]:""};
Vs=function(a){var b=void 0===b?!1:b;return Qs(Ss(a,efa,null),a,b,"Trusted Stream URL")};
g.Ws=function(a){var b=void 0===b?!1:b;return Qs(Ss(a,ffa,null),a,b,"Trusted Image URL")};
Xs=function(a){var b=void 0===b?!1:b;return Qs(Ss(a,gfa,null),a,b,"Trusted Promoted Video Domain URL")};
Ys=function(a,b){b=void 0===b?!1:b;return Qs(Ss(a,hfa,null),a,b,"Captions URL")};
Zs=function(a){a=new g.Qm(a);g.Rm(a,document.location.protocol);g.Sm(a,document.location.hostname);document.location.port&&g.Tm(a,document.location.port);return a.toString()};
$s=function(a){a=new g.Qm(a);g.Rm(a,document.location.protocol);return a.toString()};
at=function(a){this.A=a;this.C=this.u=this.B="";this.o={};this.w=""};
bt=function(a){a.w||(a.w=ifa(a));return a.w};
dt=function(a){ct(a);return a.C};
et=function(a){ct(a);return"local"==a.B};
ft=function(a){ct(a);return Rb(a.o,function(b){return null!==b})};
ht=function(a){ct(a);if("/videoplayback"!=a.u){var b=a.clone();b.set("playerfallback","1");return b}var c=bt(a);b=new g.Qm(c);var d=a.get("fvip");a=decodeURIComponent(a.get("mn")||"").split(",");if(d&&a&&1<a.length&&a[1])return c=b.o.replace(/^[^.]*/,""),g.Sm(b,"r"+d+"---"+a[1]+c),b=new at(b.toString()),b.set("fallback_count","1"),b;d=b.o.match("\\.a1\\.googlevideo\\.com$");b.o.match("\\.googlevideo\\.com$")?(gt?g.Sm(b,"www.youtube.com"):g.Sm(b,"redirector.googlevideo.com"),c=b.toString()):b.o.match("r[1-9].*\\.c\\.youtube\\.com$")?
(g.Sm(b,"www.youtube.com"),c=b.toString()):c=Zs(c);b=new at(c);b.set("cmo=pf","1");d&&b.set("cmo=td","a1.googlevideo.com");return b};
ct=function(a){if(a.A){if(!Vs(a.A)&&!a.A.startsWith("local"))throw Error("Untrusted URL: "+a.A);var b=g.Ym(a.A);a.B=b.A;a.C=b.o+(null!=b.B?":"+b.B:"");var c=b.u;if(0==c.indexOf("/videoplayback"))a.u="/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.u=c.substr(0,e),c=c.substr(e+1)):(a.u=c,c="")}else a.u=c,c="";d=a.o;a.o=it(c);g.Sa(a.o,jt(b.w.toString()));g.Sa(a.o,d);"index.m3u8"==a.o.file&&(delete a.o.file,a.u+="/file/index.m3u8");
a.A="";a.w=""}};
ifa=function(a){ct(a);var b=a.B+(a.B?"://":"//")+a.C+a.u;if(ft(a)){var c=[];g.Ob(a.o,function(d,e){null!==d&&c.push(e+"="+d)});
b+="?"+c.join("&")}return b};
it=function(a){a=a.split("/");var b=0;a[0]||b++;for(var c={};b<a.length;b+=2)a[b]&&kt(c,a[b],a[b+1]);return c};
jt=function(a){a=a.split("&");for(var b={},c=0;c<a.length;c++){var d=a[c],e=d.indexOf("=");0<e?kt(b,d.substr(0,e),d.substr(e+1)):d&&(b[d]="")}return b};
kt=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};
lt=function(a,b,c,d,e,f,k,l){this.duration=c;this.endTime=b+c;this.ingestionTime=d;this.Ma=a;this.u=e;this.startTime=b;this.o=k||0;this.range=f||null;this.pending=l||!1};
g.mt=function(){this.segments=[]};
nt=function(a,b){if(b>a.kb())a.segments=[];else{var c=g.Xa(a.segments,function(d){return d.Ma>=b},a);
0<c&&a.segments.splice(0,c)}};
ot=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.o=e?0:8;this.dataOffset=this.offset+this.o;this.u=e};
pt=function(a){var b=a.data.getUint8(a.offset+a.o);a.o+=1;return b};
qt=function(a){var b=a.data.getUint16(a.offset+a.o);a.o+=2;return b};
rt=function(a){var b=a.data.getInt32(a.offset+a.o);a.o+=4;return b};
tt=function(a){var b=a.data.getUint32(a.offset+a.o);a.o+=4;return b};
ut=function(a){var b=a.data;var c=a.offset+a.o;b=4294967296*b.getUint32(c)+b.getUint32(c+4);a.o+=8;return b};
vt=function(a,b){b=void 0===b?NaN:b;if(isNaN(b))var c=a.size;else for(c=a.o;c<a.size&&a.data.getUint8(a.offset+c)!=b;)++c;var d=new Uint8Array(a.data.buffer,a.offset+a.o+a.data.byteOffset,c-a.o);a.o=Math.min(c+1,a.size);return String.fromCharCode.apply(String,d)};
wt=function(a){this.data=new DataView(new ArrayBuffer(a));this.o=0};
xt=function(a,b){a.data.setInt32(a.o,b);a.o+=4};
zt=function(a,b){for(var c=0;c+4<=b.size;)xt(a,b.data.getUint32(b.offset+c)),c+=4;for(;c<b.size;)a.data.setUint8(a.o++,b.data.getUint8(b.offset+c++))};
At=function(a,b,c,d,e,f){this.startSecs=a;this.durationSecs=b;this.context=c;this.identifier=d;this.event=e;this.o=f};
Ct=function(a,b,c){this.o=a;this.uri=b||"http://youtube.com/streaming/metadata/segment/102015";this.A=void 0===c?null:c;this.u=Bt(this,"Sequence-Number");this.F=Bt(this,"Segment-Count");this.G=this.o["Segment-Durations-Ms"]||"";this.ingestionTime=Bt(this,"Ingestion-Walltime-Us")/1E6;this.w=(Bt(this,"First-Frame-Time-Us")+Bt(this,"First-Frame-Uncertainty-Us"))/1E6;this.ke=Bt(this,"Target-Duration-Us")/1E6;this.C="T"==this.o["Stream-Finished"];this.B="T"==this.o.Streamable;this.cryptoPeriodIndex=Bt(this,
"Crypto-Period-Index")};
Et=function(a){var b;a.o["Cuepoint-Type"]?b=new At(Dt?parseFloat(a.o["Cuepoint-Playhead-Time-Sec"])||0:-(parseFloat(a.o["Cuepoint-Playhead-Time-Sec"])||0),parseFloat(a.o["Cuepoint-Total-Duration-Sec"])||0,a.o["Cuepoint-Context"],a.o["Cuepoint-Identifier"]||"",jfa[a.o["Cuepoint-Event"]||""]||"unknown",1E3*(parseFloat(a.o["Cuepoint-Playhead-Time-Sec"])||0)):b=null;return b};
Ft=function(a){return parseInt(a.o["Start-Media-Time-Us"],10)/1E6||0};
Bt=function(a,b){return parseInt(a.o[b],10)||0};
Gt=function(a){a.o["Stitched-Video-Id"]&&a.o["Stitched-Video-Id"].split(",")};
Ht=function(a){var b=[];if(a.o["Stitched-Video-Duration-Us"]){a=g.q(a.o["Stitched-Video-Duration-Us"].split(",").slice(0,-1));for(var c=a.next();!c.done;c=a.next())b.push((parseInt(c.value,10)||0)/1E6)}};
It=function(a){var b=[];if(a.o["Stitched-Video-Start-Frame-Index"]){a=g.q(a.o["Stitched-Video-Start-Frame-Index"].split(",").slice(0,-1));for(var c=a.next();!c.done;c=a.next())b.push(parseInt(c.value,10)||0)}};
Jt=function(a){return!!(a.o["Stitched-Video-Id"]||a.o["Stitched-Video-Duration-Us"]||a.o["Stitched-Video-Start-Frame-Index"])};
kfa=function(a,b){this.o=a;this.duration=b};
Kt=function(a,b,c,d,e){this.u=a||0;this.pitch=b||0;this.yaw=c||0;this.roll=d||0;this.o=e;e.getUint32(4)};
Lt=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};
mfa=function(a,b){var c=Mt(a,0,1836019558);if(!c)return null;var d=Mt(a,c.dataOffset,1835427940),e=Mt(a,c.dataOffset,1953653094),f=lfa(a,c.dataOffset);if(!d||!e)return null;var k=Mt(a,e.dataOffset,1952868452),l=Mt(a,e.dataOffset,1953658222),m=Mt(a,e.dataOffset,1952867444);if(!k||!l||!m)return null;var n=Mt(a,e.dataOffset,1935763823),p=Mt(a,e.dataOffset,1935763834),t=0;if(n){t=rt(n);var u=rt(n);if(0!=t||1!=u)return null;t=rt(n)}u=Mt(a,e.dataOffset,1935828848);e=Mt(a,e.dataOffset,1936158820);var z=
rt(k),C=rt(k),D=z&2,E=z&1?ut(k):0,G=D?rt(k):0,F=z&8?rt(k):0,ka=z&16?rt(k):0,X=z&32?rt(k):0;z=rt(l);var Cb=z&1,Hc=z&4,tb=z&256;k=z&512;var Ya=z&1024,uc=z&2048;z=rt(l);var ff=Cb?rt(l):0,gf=Hc?rt(l):0;Cb=[];for(var Ch=[],hf=[],Qj=[],Jl=0,zd=0,Es=0;Es<z;Es++){var Gla=tb?rt(l):F;k&&Cb.push(rt(l));var ko=X;Hc&&0==Es?ko=gf:Ya&&(ko=rt(l));Ch.push(ko);ko=uc?rt(l):0;0==Es&&(Jl=ko);hf.push(zd+ko);Qj.push(Es);zd+=Gla}g.sb(Qj,function(NI,OI){return hf[NI]-hf[OI]});
l=[];for(zd=0;zd<z;zd++)l[Qj[zd]]=zd;zd=D?4:0;Hc=16*z;tb=(0,g.ti)(f,function(NI,OI){return NI+OI.size},0);
Ya=68+zd+m.size+Hc+(n?n.size:0)+(p?p.size:0)+(u?u.size:0)+(e?e.size:0)+tb;X=Ya-c.size;F=new wt(Ya+c.offset);c.offset&&F.Gg(a,0,c.offset);xt(F,Ya);xt(F,1836019558);zt(F,d);xt(F,Ya-24-tb);xt(F,1953653094);xt(F,16+zd);xt(F,1952868452);xt(F,131072|(D?2:0));xt(F,C);D&&xt(F,G);zt(F,m);xt(F,20+Hc);xt(F,1953658222);xt(F,16781057);xt(F,z);xt(F,E+ff+X);for(c=zd=0;c<z;c++)m=l[c],d=Math.round(b*m/z),m=Math.round(b*(m+1)/z)-d,d=d-zd+Jl,xt(F,m),xt(F,k?Cb[c]:ka),xt(F,Ch[c]),xt(F,d),zd+=m;n&&(xt(F,n.size),xt(F,1935763823),
xt(F,0),xt(F,1),xt(F,t+X));p&&zt(F,p);u&&zt(F,u);e&&zt(F,e);f=g.q(f);for(n=f.next();!n.done;n=f.next())zt(F,n.value);return F.data.buffer};
Ot=function(a){if(a=g.Nt(a,0,1953658222)){a.skip(1);var b=pt(a)<<16|qt(a),c=b&1,d=b&4;if(b&256){var e=b&512,f=b&1024;b&=2048;var k=tt(a);2>k||(c&&a.skip(4),d&&a.skip(4),c=tt(a),a.skip((k-1)*(4+(e?4:0)+(f?4:0)+(b?4:0))-4),a.data.setUint32(a.offset+a.o,c))}}};
Pt=function(a,b){var c=g.Nt(a,0,1952868452),d=g.Nt(a,0,1953658222);if(c&&d){c.skip(1);var e=pt(c)<<16|qt(c);c.skip(4);e&1&&c.skip(8);e&2&&c.skip(4);if(e&8){e=c.o;var f=tt(c);c.data.setUint32(c.offset+e,1<b?Math.ceil(f*b):Math.floor(f*b))}d.skip(1);c=pt(d)<<16|qt(d);if(c&256){e=c&1;f=c&4;var k=c&512,l=c&1024,m=c&2048;c=tt(d);e&&d.skip(4);f&&d.skip(4);e=(k?4:0)+(l?4:0)+(m?4:0);for(f=0;f<c;f++)k=d.o,l=tt(d),d.data.setUint32(d.offset+k,1<b?Math.ceil(l*b):Math.floor(l*b)),d.skip(e)}}};
Qt=function(a,b){var c=Mt(a.data,a.dataOffset,1952868452),d=Mt(a.data,a.dataOffset,1953658222),e=rt(c);rt(c);e&2&&rt(c);c=e&8?rt(c):0;var f=rt(d),k=f&1;e=f&4;var l=f&256,m=f&512,n=f&1024;f&=2048;var p=tt(d);k&&rt(d);e&&rt(d);for(var t=k=0;t<p;t++){var u=l?rt(d):c;m&&rt(d);e&&0==t||!n||rt(d);f&&rt(d);k+=u}return k/b};
St=function(a){a=new DataView(a.buffer,a.byteOffset,a.byteLength);return(a=g.Nt(a,0,1836476516))?Rt(a):NaN};
nfa=function(a){var b=g.Nt(a,0,1937011556);if(!b)return null;b=Mt(a,b.dataOffset+8,1635148593);if(!b)return null;var c=Mt(a,b.dataOffset+78,1936995172),d=Mt(a,b.dataOffset+78,1937126244);if(!d)return null;b=null;if(c)switch(c.skip(4),pt(c)){default:b=0;break;case 1:b=2;break;case 2:b=1;break;case 3:b=255}var e=c=null,f=null;if(d=Mt(a,d.dataOffset,1886547818)){var k=Mt(a,d.dataOffset,1886546020),l=Mt(a,d.dataOffset,2037673328);if(!l&&(l=Mt(a,d.dataOffset,1836279920),!l))return null;k&&(k.skip(4),c=
rt(k)/65536,f=rt(k)/65536,e=rt(k)/65536);a=new DataView(l.data.buffer,l.dataOffset,l.size-8);return new Kt(b,c,f,e,a)}return null};
Mt=function(a,b,c){for(;Tt(a,b);){var d=Ut(a,b);if(d.type==c)return d;b+=d.size}return null};
g.Nt=function(a,b,c){for(;Tt(a,b);){var d=Ut(a,b);if(d.type==c)return d;b=Vt(d.type)?b+8:b+d.size}return null};
Wt=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)};
Xt=function(a){if(a.data.getUint8(a.dataOffset)){var b=a.data;a=a.dataOffset+4;return 4294967296*b.getUint32(a)+b.getUint32(a+4)}return a.data.getUint32(a.dataOffset+4)};
Ut=function(a,b){var c=a.getUint32(b),d=a.getUint32(b+4);return new ot(a,b,c,d)};
Rt=function(a){var b=a.data.getUint8(a.dataOffset)?20:12;return a.data.getUint32(a.dataOffset+b)};
Yt=function(a){a=new ot(a.data,a.offset,a.size,a.type,a.u);var b=pt(a);a.skip(7);var c=tt(a);if(0==b){b=tt(a);var d=tt(a)}else b=ut(a),d=ut(a);a.skip(2);for(var e=qt(a),f=[],k=[],l=0;l<e;l++){var m=tt(a);f.push(m);k.push(tt(a));a.skip(4)}return{wp:c,rE:b,Xw:d,Yt:f,fm:k}};
Zt=function(a){return a.data.getUint32(a.dataOffset+8)};
Tt=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};
Vt=function(a){return 1701082227==a||1836019558==a||1836019574==a||1835297121==a||1835626086==a||1937007212==a||1953653094==a||1953653099==a||1836475768==a};
$t=function(a){a.skip(4);var b=vt(a,0),c=vt(a,0),d=tt(a),e=tt(a),f=tt(a),k=tt(a),l=vt(a);return{wO:b,value:c,wp:d,GT:e,vT:f,id:k,Iy:l,offset:a.offset}};
au=function(a){return(a=Mt(a,0,1836019558))?a.offset+a.size:null};
bu=function(a,b){for(var c=Mt(a,0,b);c;){var d=c;d.type=1936419184;d.data.setUint32(d.offset+4,1936419184);c=Mt(a,c.offset+c.size,b)}};
cu=function(a){for(var b=g.Nt(a,0,1701082227);b;){var c=b;c.type=1936419184;c.data.setUint32(c.offset+4,1936419184);b=g.Nt(a,b.offset+b.size,1701082227)}};
lfa=function(a,b){for(var c=[];Tt(a,b);){var d=Ut(a,b);1886614376==d.type&&c.push(d);b+=d.size}return c};
du=function(a,b){for(var c=0,d=[];Tt(a,c);){var e=Ut(a,c);e.type==b&&d.push(e);c=Vt(e.type)?c+8:c+e.size}return d};
ofa=function(a,b){var c=g.Nt(a,0,1937011556),d=g.Nt(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.Nt(e,0,1937011556);if(!f)return null;d=e.getUint32(f.dataOffset+8);var k=e.getUint32(f.dataOffset+12);if(1701733217!=k&&1701733238!=k)return null;k=new wt(a.byteLength+d);k.Gg(a,0,c.offset+12);xt(k,2);k.Gg(a,c.offset+16,c.size-16);k.Gg(e,e.byteOffset+f.dataOffset+8,d);k.Gg(a,c.offset+c.size,a.byteLength-(c.offset+c.size));c=g.q([1836019574,
1953653099,1835297121,1835626086,1937007212,1937011556]);for(e=c.next();!e.done;e=c.next())e=g.Nt(a,0,e.value),k.data.setUint32(e.offset,e.size+d);d=g.Nt(k.data,0,1953654136);k.data.setUint32(d.offset+16,2);return k.data};
eu=function(a){for(var b=new Uint8Array(a.length),c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b};
fu=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a[c]);return String.fromCharCode.apply(null,b)};
gu=function(a,b){this.u=a;this.o=0;this.w=b||0};
hu=function(a){return a.o>=a.u.byteLength};
ou=function(a,b,c){var d=new gu(c);if(!iu(d,a))return!1;d=ju(d);if(!ku(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=lu(d);var e=mu(d,!0);d=a+(lu(d)-b)+e;d=9<d?nu(d-9,8):nu(d-2,1);a=b-a;c.setUint8(a++,236);for(b=0;b<d.length;b++)c.setUint8(a++,d[b]);return!0};
qu=function(a){pu(new gu(a));ou([408125543,374648427,174,224],21936,a)};
ru=function(a){pu(new gu(a));ou([408125543,374648427,174,224],30320,a)&&ou([408125543,374648427,174,224],21432,a)};
tu=function(a){var b=new gu(a);iu(b,[408125543,374648427,174,224,21936,21937])&&(b=lu(b),129==a.getUint8(b)&&1==a.getUint8(b+1)&&a.setUint8(b+1,9))};
pfa=function(a){var b=new gu(a);pu(b);if(iu(b,[408125543,374648427,174,224]))b=ju(b);else return null;for(var c=a=null;!hu(b);){var d=mu(b,!1);if(21432==d)switch(uu(b)){default:a=0;break;case 1:a=1;break;case 3:a=2;break;case 15:a=255}else 30320==d?c=ju(b):vu(b)}if(!c)return null;for(var e,f=d=b=null;!hu(c);)switch(mu(c,!1)){case 30321:if(3!=uu(c))return null;break;case 30324:b=wu(c);break;case 30323:f=wu(c);break;case 30325:d=wu(c);break;case 30322:e=mu(c,!0);e=xu(c,e);e=new DataView(e.buffer,e.byteOffset,
e.byteLength);break;default:vu(c)}return e?new Kt(a,b,f,d,e):null};
ju=function(a){var b=mu(a,!0),c=a.u.byteOffset+a.o;c=new DataView(a.u.buffer,c,Math.min(b,a.u.buffer.byteLength-c));c=new gu(c,a.w+a.o);a.o+=b;return c};
uu=function(a){for(var b=mu(a,!0),c=yu(a),d=1;d<b;d++)c=256*c+yu(a);return c};
wu=function(a){var b=mu(a,!0),c=0;4==b?c=a.u.getFloat32(a.o):8==b&&(c=a.u.getFloat64(a.o));a.o+=b;return c};
zu=function(a){var b=mu(a,!0);return fu(xu(a,b))};
yu=function(a){return a.u.getUint8(a.o++)};
mu=function(a,b){var c=yu(a);if(1==c){for(var d=c=0;7>d;d++)c=256*c+yu(a);return c}d=128;for(var e=0;6>e&&d>c;e++)c=256*c+yu(a),d*=128;return b?c-d:c};
vu=function(a){var b=mu(a,!0);a.o+=b};
lu=function(a){return a.w+a.o};
pu=function(a){var b=a.o;a.o=0;var c=!1;try{ku(a,440786851)&&(a.o=0,ku(a,408125543)&&(c=!0))}catch(d){if(d instanceof RangeError)a.o=0,c=!1,g.Go(d);else throw d;}a.o=b;return c};
qfa=function(a){if(!ku(a,440786851,!0))return null;var b=a.o;mu(a,!1);var c=mu(a,!0)+a.o-b;a.o=b+c;if(!ku(a,408125543,!1))return null;mu(a,!0);if(!ku(a,357149030,!0))return null;var d=a.o;mu(a,!1);var e=mu(a,!0)+a.o-d;a.o=d+e;if(!ku(a,374648427,!0))return null;var f=a.o;mu(a,!1);var k=mu(a,!0)+a.o-f,l=new Uint8Array(c+12+e+k),m=new DataView(l.buffer);l.set(new Uint8Array(a.u.buffer,a.u.byteOffset+b,c));m.setUint32(c,408125543);m.setUint32(c+4,33554431);m.setUint32(c+8,4294967295);l.set(new Uint8Array(a.u.buffer,
a.u.byteOffset+d,e),c+12);l.set(new Uint8Array(a.u.buffer,a.u.byteOffset+f,k),c+12+e);return l};
Au=function(a){if(!iu(a,[408125543,374648427,174,28032,25152,20533,18402]))return null;var b=mu(a,!0);return 16!=b?null:xu(a,b)};
Bu=function(a){var b=a.o,c={Bu:1E6,Cu:1E9,duration:0,eu:0,Rl:0};if(!ku(a,408125543))return a.o=b,null;c.eu=mu(a,!0);c.Rl=lu(a);if(ku(a,357149030))for(var d=ju(a);!hu(d);){var e=mu(d,!1);2807729==e?c.Bu=uu(d):2807730==e?c.Cu=uu(d):17545==e?c.duration=wu(d):vu(d)}else return a.o=b,null;a.o=b;return c};
Du=function(a,b,c){var d=a.o,e=[];if(!ku(a,475249515))return a.o=d,null;for(var f=ju(a);ku(f,187);){var k=ju(f);if(ku(k,179)){var l=uu(k);if(ku(k,183)){k=ju(k);for(var m=b;ku(k,241);)m=uu(k)+b;e.push({Fh:m,bn:l})}}}if(0<e.length&&c==e[0].Fh)for(Cu&&g.Go(Error("opus_oboe")),b=0;b<e.length;b++)e[b].Fh+=1;a.o=d;return e};
Eu=function(a){var b=a.o;a.o=0;var c=1E6;iu(a,[408125543,357149030,2807729])&&(c=uu(a));a.o=b;return c};
rfa=function(a,b){var c=a.o;a.o=0;if(!Fu(a)||!ku(a,160))return a.o=c,NaN;mu(a,!0);var d=a.o;if(!ku(a,161))return a.o=c,NaN;mu(a,!0);yu(a);var e=yu(a)<<8|yu(a);a.o=d;if(!ku(a,155))return a.o=c,NaN;d=uu(a);a.o=c;return(e+d)*b/1E9};
Fu=function(a){if(!Gu(a)||!ku(a,524531317))return!1;mu(a,!0);return!0};
Gu=function(a){if(pu(a)){if(!ku(a,408125543))return!1;mu(a,!0)}return!0};
iu=function(a,b){for(var c=0;c<b.length;c++){if(!ku(a,b[c]))return!1;c!=b.length-1&&mu(a,!0)}return!0};
ku=function(a,b,c){c=void 0===c?!1:c;if(hu(a))return!1;for(var d=a.o;mu(a,!1)!=b;)if(vu(a),d=a.o,hu(a))return!1;c&&(a.o=d);return!0};
nu=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};
xu=function(a,b){var c=new Uint8Array(a.u.buffer,a.u.byteOffset+a.o,b);a.o+=b;return c};
Hu=function(a,b){this.start=a;this.end=b;this.length=b-a+1};
Iu=function(a){a=a.split("-");var b=Number(a[0]),c=Number(a[1]);return isNaN(b)||isNaN(c)?null:2===a.length&&(a=new Hu(b,c),!isNaN(a.start)&&!isNaN(a.end)&&!isNaN(a.length)&&0<a.length)?a:null};
Ju=function(a,b){return new Hu(a,a+b-1)};
Lu=function(a,b,c,d,e,f,k,l,m,n,p){this.o=b;this.range=c;this.type=a;this.G="";this.u=-1;this.G=d;this.u=0<=e?e:-1;this.startTime=f||0;this.duration=k||0;this.w=l||0;this.Na=0<=m?m:this.range?this.range.length:NaN;this.C=!!n;a=this.range?this.w+this.Na==this.range.length:void 0===p?!!this.Na:p;this.A=a;this.range?(this.F=this.startTime+this.duration*this.w/this.range.length,this.H=this.duration*this.Na/this.range.length,this.B=this.F+this.H):Ku(this);this.J=[]};
Ku=function(a){a.F=a.startTime;a.H=a.duration;a.B=a.F+a.H};
sfa=function(a,b,c){var d=!(!b||b.o!=a.o||b.type!=a.type||b.u!=a.u);return c?d&&!!b&&(a.range&&b.range?b.range.end==a.range.end:b.range==a.range)&&b.w+b.Na==a.w+a.Na:d};
Mu=function(a){return 1==a.type||2==a.type};
Nu=function(a){return 3==a.type||6==a.type};
Ou=function(a,b,c){return c||a.o==b.o?a.range&&b.range?a.range.start+a.w+a.Na==b.range.start+b.w:a.u==b.u?a.w+a.Na==b.w:a.u+1==b.u&&0==b.w&&a.A:!1};
Pu=function(a,b){return Ou(a,b)||vd(a.B,b.F)||a.u+1==b.u&&0==b.w&&a.A?!0:!1};
Qu=function(a){return a.u+(a.A?1:0)};
tfa=function(a){1==a.length||(0,g.si)(a,function(c){return!!c.range});
for(var b=1;b<a.length;b++);b=a[a.length-1];return new Hu(a[0].range.start+a[0].w,b.range.start+b.w+b.Na-1)};
Su=function(a){a=Ru(a);var b="";g.Ob(a,function(c,d){b+=d+"="+c+","});
return b.slice(0,-1)};
Ru=function(a){var b={};b.itag=Tu(a.o.info);b.type=a.type;b.seg=String(a.u);a.range&&(b.range=""+(a.range.start+a.w)+"-"+(a.range.start+a.w+a.Na-1));b.time=""+a.F.toFixed(1)+"-"+(a.F+a.H).toFixed(1);b.off=String(a.w);b.len=String(a.Na);a.A&&(b.end="1");a.C&&(b.eos="1");return b};
Uu=function(a,b,c,d){return new Lu(a.type,a.o,a.range,"reslice_"+a.G,a.u,a.startTime,a.duration,b,c,d&&a.C,d)};
Vu=function(a,b){var c=b.u;a.G="updateWithEmsg";a.u=c;b.C&&(a.C=b.C)};
Wu=function(a,b){var c=b.Ma;a.G="updateWithSegmentInfo";a.u=c;if(a.startTime!=b.startTime||a.duration!=b.duration)a.startTime=b.startTime,a.duration=b.duration,Ku(a)};
Xu=function(a,b,c){this.info=a;this.o=b instanceof As?b:new As([b]);this.o.getLength();this.w=c;this.u=null;this.A=-1};
Yu=function(a){return Hs(a.o)};
Zu=function(a,b){if(1!=a.info.o.info.wc||0!=a.info.w||!a.info.A)return!0;for(var c=Yu(a),d=0,e=0;d+4<c.byteLength;){e=c.getUint32(d);if(!e)return!1;d+=e}return d!==c.byteLength?(b&&(b.lastboxlen=e.toString(),4<=c.byteLength&&(b.lastbytes=c.getUint32(c.byteLength-4).toString()),b.boxlen=d.toString(),b.bytelen=c.byteLength.toString()),!1):!0};
$u=function(a,b){a.o.getLength();b=Math.min(b,a.info.Na);var c=a.o.split(b),d=c.Sx;c=c.tp;var e=new Lu(a.info.type,a.info.o,a.info.range,a.info.G,a.info.u,a.info.startTime,a.info.duration,a.info.w,b,!1,!1);d=new Xu(e,d,a.w);e=new Lu(a.info.type,a.info.o,a.info.range,a.info.G,a.info.u,a.info.startTime,a.info.duration,a.info.w+b,a.info.Na-b,a.info.C,a.info.A);c=new Xu(e,c,!1);return[d,c]};
av=function(a,b,c){var d;if(!(d=!Ou(a.info,b.info)||a.info.A)){if(c=void 0===c?!1:c)c=b.o,c=!(c.o.length?Bs(a.o,c.o[0]):1);d=c}if(d)return!1;c=a.info;d=b.info;c.Na+=d.Na;c.range&&(c.H+=d.H);c.B=d.B;c.A=d.A;c.C=d.C;Cs(a.o,b.o);a.u=b.u||a.u;if(b=a.info.range)b=a.o,b=!(1==b.o.length&&0<b.o[0].byteOffset);b&&(a.w=!1);return!0};
cv=function(a){if(-1!=a.A)return a.A;if(a.u&&Ft(a.u))return a.A=Ft(a.u),a.A;if(g.bv(a.info.o.info)){var b=Yu(a);for(var c=a.info.o.o,d=NaN,e=NaN,f=0;Tt(b,f);){var k=Ut(b,f);1936286840==k.type?e=Zt(k):1836476516==k.type?e=Rt(k):1952867444==k.type&&isNaN(d)&&(d=Xt(k));f=Vt(k.type)?f+8:f+k.size}!e&&c&&(e=St(c));b=d/e}else b=new gu(Yu(a)),c=a.w?b:new gu(new DataView(a.info.o.o.buffer)),d=Eu(c),c=b.o,b.o=0,Fu(b)?ku(b,231)?(d=uu(b)*d/1E9,b.o=c,b=d):(b.o=c,b=NaN):(b.o=c,b=NaN);a.A=b||a.info.F;return a.A};
dv=function(a,b){a.A=b;if(g.bv(a.info.o.info)){for(var c=Yu(a),d=a.info.o.o,e=NaN,f=NaN,k=0;Tt(c,k);){var l=Ut(c,k);isNaN(e)&&(1936286840==l.type?e=Zt(l):1836476516==l.type&&(e=Rt(l)));if(1952867444==l.type){!e&&d&&(e=St(d));var m=Xt(l);isNaN(f)&&(f=Math.round(b*e)-m);Wt(l,m+f)}k=Vt(l.type)?k+8:k+l.size}return!0}c=new gu(Yu(a));e=a.w?c:new gu(new DataView(a.info.o.o.buffer));d=b;f=Eu(e);e=c.o;c.o=0;if(Fu(c)&&ku(c,231))if(k=mu(c,!0),d=Math.floor(1E9*d/f),Math.ceil(Math.log(d)/Math.log(2)/8)>k)c=!1;
else{for(f=k-1;0<=f;f--)c.u.setUint8(c.o+f,d&255),d>>>=8;c.o=e;c=!0}else c=!1;return c};
ev=function(a){if(a.u&&6==a.info.type)return a.u.ke;if(g.bv(a.info.o.info)){var b=Yu(a);var c=0;b=du(b,1936286840);b=g.q(b);for(var d=b.next();!d.done;d=b.next())d=Yt(d.value),c+=d.fm[0]/d.wp;c=c||NaN;if(!(0<=c))a:{c=Yu(a);b=a.info.o.o;d=0;for(var e,f=0;Tt(c,d);){var k=Ut(c,d);if(1836476516==k.type)e=Rt(k);else if(1836019558==k.type){!e&&b&&(e=St(b));if(!e){c=NaN;break a}var l=Mt(k.data,k.dataOffset,1953653094);f+=Qt(l,e)}d=Vt(k.type)?d+8:d+k.size}c=f||NaN}}else e=new gu(Yu(a)),c=a.w?e:new gu(new DataView(a.info.o.o.buffer)),
c=rfa(e,Eu(c));return c||a.info.H};
fv=function(a){if(!a.u){if(g.bv(a.info.o.info)){var b=Yu(a),c=Mt(b,0,1701671783);if(c){var d=$t(c);var e=d.wO,f=Lt(d.Iy);if(b=Mt(b,c.offset+c.size,1701671783)){b=$t(b);for(var k in b)if(c=Lt(b.Iy),f&&c)for(var l in c)f[l]=c[l]}d=f?new Ct(f,e,d.offset):null}else d=null}else{d=new gu(Yu(a));e=d.o;d.o=0;k=f=null;if(iu(d,[408125543,307544935,29555,26568]))for(l=ju(d);!hu(l);)b=mu(l,!1),17543==b?k=Lt(zu(l)):17827==b?f=zu(l):vu(l);d.o=e;d=k?new Ct(k,f):null}a.u=d}};
gv=function(a){var b=Yu(a);a=g.Nt(b,0,1701606260);var c=g.Nt(b,0,1836476516);if(a&&c){a.skip(2);var d=qt(a),e=tt(a);b=[];var f=[],k=[],l=[];if(d)for(d=0;d<e;++d)b.push(ut(a)),f.push(ut(a)),k.push(qt(a)),l.push(qt(a));else for(d=0;d<e;++d)b.push(rt(a)),f.push(rt(a)),k.push(qt(a)),l.push(qt(a));a=Rt(c);a=new kfa(f[0]/a,b[0]/a)}else a=null;return a};
hv=function(a){var b=a.info.o.info;a=Yu(a);g.bv(b)?bu(a,1701671783):2==b.wc&&ou([408125543],307544935,a)};
iv=function(a){this.o=a;this.u={};this.w=""};
ufa=function(a,b){var c=b.indexOf("?");if(0<c){var d=jt(b.substr(c+1));g.Ob(d,function(e,f){this.set(f,e)},a);
b=b.substr(0,c)}c=it(b);g.Ob(c,function(e,f){this.set(f,e)},a)};
g.jv=function(a){a.w||(a.w=vfa(a));return a.w};
vfa=function(a){var b=bt(a.o),c=[];g.Ob(a.u,function(e,f){c.push(f+"="+e)});
if(!c.length)return b;var d=c.join("&");a=ft(a.o)?"&":"?";return b+a+d};
kv=function(a,b){gt&&bt(a.o).startsWith("https://www.youtube.com/videoplayback")&&(b=b.replace(wfa,"$1.googlevideo"));var c=new at(b),d=c.get("req_id");d&&a.set("req_id",d);g.Ob(a.u,function(e,f){c.set(f,null)});
return c};
xfa=function(){this.o=2048;this.u=0};
yfa=function(a,b){this.experimentIds=a?a.split(","):[];this.flags=ap(b||"");var c={};(0,g.y)(this.experimentIds,function(d){c[d]=!0});
this.experiments=c};
g.R=function(a,b){return"true"==a.flags[b]};
g.S=function(a,b){return parseFloat(a.flags[b])||0};
g.lv=function(a,b){var c=a.flags[b];return c?c.toString():""};
mv=function(a,b,c){this.sampleRate=a||0;this.o=b||0;this.spatialAudioType=c||0};
zfa=function(a,b,c,d){this.displayName=a;this.vssId=b;this.languageCode=c;this.kind=void 0===d?"":d};
nv=function(a,b,c){this.name=a;this.id=b;this.isDefault=c};
qv=function(a,b,c,d,e,f,k,l,m,n){this.width=a;this.height=b;this.quality=f||ov(a,b);this.dc=g.pv[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=k)||(a=g.pv[this.quality],0==a?a="Otomatik":(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.o=l||"";this.primaries=m||"";this.streamType=n||0;this.isAccelerated=!1};
rv=function(a){return 1280<=a.width||720<=a.height};
tv=function(a){return"smpte2084"==a.o||"arib-std-b67"==a.o};
uv=function(a){return"bt2020"==a.primaries};
ov=function(a,b){for(var c=Math.max(a,b),d=Math.min(a,b),e=vv[0],f=0;f<vv.length;f++){var k=vv[f],l=g.pv[k];if(c>=1.3*Math.floor(16*l/9)||d>=1.3*l)return e;e=k}return"tiny"};
xv=function(a,b,c,d,e,f,k,l,m){this.id=a;this.wc=wv(b);this.mimeType=b;this.o=k||0;this.A=l||0;this.audio=void 0===c?null:c;this.video=void 0===d?null:d;this.sb=void 0===e?null:e;this.captionTrack=void 0===m?null:m;this.Nc=void 0===f?null:f;this.u=Afa[Tu(this)]||"";this.w=!0};
Tu=function(a){return a.id.split(";",1)[0]};
yv=function(a){return"9"==a.u||"("==a.u||"9h"==a.u||"(h"==a.u};
zv=function(a){return"9h"==a.u||"(h"==a.u};
g.bv=function(a){return 1==a.wc};
Av=function(a){return"application/x-mpegURL"==a.mimeType};
Bv=function(a){return/(opus|vorbis|mp4a|dtse|ac-3|ec-3)/.test(a)};
Cv=function(a){return a.includes("vtt")||a.includes("text/mp4")};
wv=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};
Dv=function(a,b,c,d,e){var f=new mv;b in g.pv||(b="small");d&&e?(e=parseInt(e,10),d=parseInt(d,10)):(e=g.pv[b],d=Math.round(16*e/9));b=new qv(d,e,0,null,void 0,b,void 0,void 0,void 0);a=unescape(a.replace(/&quot;/g,'"'));return new xv(c,a,f,b)};
Ev=function(){var a=g.w("yt.player.utils.videoElement_");a||(a=g.Vd("VIDEO"),g.Ha("yt.player.utils.videoElement_",a,void 0));return a};
Fv=function(a){var b=Ev();return!!(b&&b.canPlayType&&b.canPlayType(a))};
Hv=function(a){if(/opus/.test(a)&&(g.Gv&&!Wn("38")||g.Gv&&cl("crkey")))return!1;if(window.MediaSource&&window.MediaSource.isTypeSupported)return window.MediaSource.isTypeSupported(a);if(/webm/.test(a)&&!il())return!1;'audio/mp4; codecs="mp4a.40.2"'==a&&(a='video/mp4; codecs="avc1.4d401f"');return!!Fv(a)};
Bfa=function(a){try{var b=Hv('video/mp4; codecs="avc1.42001E"')||Hv('video/webm; codecs="vp9"');return(Hv('audio/mp4; codecs="mp4a.40.2"')||Hv('audio/webm; codecs="opus"'))&&(b||!a)||Fv('video/mp4; codecs="avc1.42001E, mp4a.40.2"')?null:"fmt.noneavailable"}catch(c){return"html5.missingapi"}};
Iv=function(){var a=Ev();return!!a.webkitSupportsPresentationMode&&g.Na(a.webkitSetPresentationMode)};
Jv=function(){return"pictureInPictureEnabled"in window.document&&!!window.document.pictureInPictureEnabled};
Kv=function(){var a=Ev();try{var b=a.muted;a.muted=!b;return a.muted!=b}catch(c){}return!1};
Lv=function(a,b){this.o=a;this.u=b;this.w=0;Object.defineProperty(this,"timestampOffset",{get:this.rP,set:this.vP});Object.defineProperty(this,"buffered",{get:this.pP})};
Cfa=function(){this.length=0};
Mv=function(a){this.activeSourceBuffers=this.sourceBuffers=[];this.o=a;this.u=NaN;this.w=0;Object.defineProperty(this,"duration",{get:this.qP,set:this.uP});Object.defineProperty(this,"readyState",{get:this.sP});this.o.addEventListener("webkitsourceclose",(0,g.x)(this.tP,this),!0)};
Nv=function(){this.length=1};
Ov=function(){this.buffered=new Nv};
Pv=function(a,b,c){this.errorCode=a;this.o=b;this.details=c||{}};
Qv=function(a){var b;for(b in a){var c=(""+a[b]).replace(/[:,=]/g,"_");var d=(d?d+";":"")+b+"."+c}return d||""};
Sv=function(a){var b;if(a instanceof Pv)return a;void 0===b&&(b=Rv);a=a&&a instanceof Error?a:Error(""+a);b?Dp(a):Cp(a);return new Pv(b?"player.exception":"player.fatalexception",!b,{name:""+a.name,message:""+a.message})};
Tv=function(a,b){return{start:function(c){return a[c]},
end:function(c){return b[c]},
length:a.length}};
Uv=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)};
Vv=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};
Wv=function(a,b){return 0<=Vv(a,b)};
Xv=function(a,b){if(!a)return NaN;var c=Vv(a,b);return 0<=c?a.end(c):NaN};
Yv=function(a){return a&&a.length?a.end(a.length-1):NaN};
Zv=function(a,b){var c=Xv(a,b);return 0<=c?c-b:0};
$v=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 Tv(d,e)};
aw=function(a,b){g.Q.call(this);var c=this;this.o=a;this.B=b;this.C=this.u=this.A=null;this.w=function(d){return c.R(d.type,c)};
this.supports(3)&&(this.o.addEventListener("updateend",this.w),this.o.addEventListener("error",this.w))};
bw=function(a,b,c,d){g.Q.call(this);var e=this;this.o=a;this.H={error:function(){!e.la()&&e.isActive()&&e.R("error",e)},
updateend:function(){!e.la()&&e.isActive()&&e.R("updateend",e)}};
wr(this.o,this.H);this.u=b;this.G=c;this.B=0;this.A=Infinity;this.C=0;this.F=this.w=d};
cw=function(a,b){this.o=a;this.u=void 0===b?!1:b;this.w=!1};
dw=function(a,b){b=void 0===b?!1:b;g.B.call(this);this.B=new g.P(this);g.H(this,this.B);this.u=this.o=null;this.w=a;var c=this.w;c=c.nI?c.o.webkitMediaSourceURL:window.URL.createObjectURL(c);this.dl=new cw(c,!0);this.C=b;this.A=null;ur(this.B,this.w,["sourceopen","webkitsourceopen"],this.jN);ur(this.B,this.w,["sourceclose","webkitsourceclose"],this.iN)};
Dfa=function(a,b){ew(a)?g.Ye(function(){return b(a)}):a.A=b};
fw=function(a,b){try{a.w.duration=b}catch(c){}};
gw=function(a){return!!a.o||!!a.u};
ew=function(a){try{return"open"==a.w.readyState}catch(b){return!1}};
hw=function(a){try{return"closed"==a.w.readyState}catch(b){return!0}};
iw=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)};
jw=function(a){return a.o?!!a.o.supports(0):iw()};
kw=function(a,b,c,d){if(!a.o||!a.u)return null;var e=a.o.isView()?a.o.o:a.o,f=a.u.isView()?a.u.o:a.u,k=new dw(a.w,!0);k.dl=a.dl;e=new bw(e,b,c,d);b=new bw(f,b,c,d);k.o=e;k.u=b;g.H(k,e);g.H(k,b);ew(a)||a.o.kp(a.o.Bb());return k};
lw=function(a,b,c){this.o=a;this.G=b;this.H=void 0===c?!1:c;this.B=!!g.w("cast.receiver.platform.canDisplayType");b=g.w("cast.receiver.platform.getValue");this.u=!this.B&&b&&b("max-video-resolution-vpx")||null;this.A={};this.F=!1;this.C=!0;this.w=!g.R(a,"html5_disable_protected_hdr")};
Efa=function(a,b){var c=Tu(b);if("0"===c)return!0;var d=b.mimeType,e;!(e="1"==b.u&&a.F)&&(e=b.video&&(tv(b.video)||uv(b.video)))&&(e=!(mw(a,nw)||(g.R(a.o,"html5_hdr_matchmedia_killswitch")?24<window.screen.pixelDepth:24<window.screen.pixelDepth&&window.matchMedia&&window.matchMedia("(color-gamut: p3)").matches)));if(e||"338"===c&&!(g.Gv?Wn(53):g.ow&&Wn(64)))return!1;e={};b.video&&(b.video.width&&(e[pw.name]=b.video.width),b.video.height&&(e[qw.name]=b.video.height),b.video.fps&&(e[rw.name]=b.video.fps),
b.video.o&&(e[nw.name]=b.video.o),b.o&&(e[tw.name]=8*b.o),"("==b.u&&(e[uw.name]="subsample"),2==b.video.projectionType||3==b.video.projectionType||4==b.video.projectionType)&&(e[vw.name]="true");b.audio&&b.audio.o&&(e[ww.name]=b.audio.o);for(var f in xw){var k=xw[f],l;if(l=e[k.name])(l=k==nw&&0<b.mimeType.indexOf("vp09.02"))||(l=b,l=g.R(a.o,"html5_ignore_h264_framerate_cap")&&k==rw&&("H"==l.u||"h"==l.u)),l=!(l||k==vw&&!g.R(a.o,"html5_decode_to_texture_cap"));if(l)if(mw(a,k))if(a.u){if(a.u[k.name]<
e[k.name])return!1}else d=d+"; "+k.name+"="+e[k.name];else if(zv(b)&&k==nw)return!1}!g.R(a.o,"disable_html5_cast_hdcp_filter2")&&a.B&&b.video&&1080<b.video.dc&&b.Nc&&(d+="; hdcp=2.2");return("227"!==c||g.R(a.o,"html5_enable_1080p_hq_cenc"))&&("561"!==c&&"562"!==c||g.R(a.o,"html5_enable_4k_hq_enc"))&&("585"!==c&&"588"!==c&&"583"!==c&&"586"!==c&&"584"!==c&&"587"!==c&&"591"!==c&&"592"!==c||g.R(a.o,"html5_enable_new_hvc_enc"))?yw(a,d):!1};
zw=function(){var a=dl()&&!Wn(29),b=cl("google tv")&&cl("chrome")&&!Wn(30),c=gl();return a||b||c?!1:!!(window.MediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)};
g.Aw=function(a){return!(!a.canPlayType(Ev(),"application/x-mpegURL")&&!zw())};
mw=function(a,b){b.name in a.A||(a.A[b.name]=Ffa(a,b));return a.A[b.name]};
Ffa=function(a,b){if(a.u)return!!a.u[b.name];if(b==tw&&g.R(a.o,"html5_ignore_bad_bitrates")&&yw(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!yw(a,'video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000'))return!1;if(b==Bw)return yw(a,"video/mp4; codecs="+b.valid)&&!yw(a,"video/mp4; codecs="+b.qf);if(b.video){var c='video/webm; codecs="vp9"';yw(a,c)||(c='video/mp4; codecs="avc1.4d401e"')}else c='audio/webm; codecs="opus"',yw(a,c)||(c='audio/mp4; codecs="mp4a.40.2"');
return yw(a,c+"; "+b.name+"="+b.valid)&&!yw(a,c+"; "+b.name+"="+b.qf)};
yw=function(a,b){return a.B?window.cast.receiver.platform.canDisplayType(b):Hv(b)};
Gfa=function(a){return g.Cw||ol()&&!a?!1:!0};
Dw=function(a){this.Uf=a};
Ew=function(a,b,c){if(c)return Yp();var d={};c=Ev();b=g.q(b);for(var e=b.next();!e.done;e=b.next())if(e=e.value,a.canPlayType(c,e.be().mimeType)){var f=e.Uf.wa().quality;d[f]&&2!=d[f].be().wc||(d[f]=e)}var k=[];d.auto&&k.push(d.auto);(0,g.y)(vv,function(l){(l=d[l])&&k.push(l)});
return k.length?Zp(k):Yp()};
Fw=function(a,b,c,d){this.u=a||0;this.o=b||0;this.w=c;this.reason=d};
Gw=function(a,b){return a.u==b.u&&a.o==b.o&&a.w==b.w&&a.reason==b.reason};
Hw=function(a,b,c,d){return new Fw(g.pv[a]||0,g.pv[b]||0,c,d)};
Iw=function(a){var b=g.pv.auto;return a.u==b&&a.o==b};
Kw=function(a,b){if(b.w&&Iw(b))return Jw;if(b.w||Iw(a))return b;if(a.w||Iw(b))return a;var c=a.u&&b.u?Math.max(a.u,b.u):a.u||b.u,d=a.o&&b.o?Math.min(a.o,b.o):a.o||b.o;c=Math.min(c,d);return c==a.u&&d==a.o?a:new Fw(c,d,!1,d==a.o?a.reason:b.reason)};
Lw=function(a){var b=a.o||a.u;return $b(Hfa,function(c){return g.pv[c]==b})||"auto"};
Mw=function(a,b){var c=g.pv[b];return a.u<=c&&(!a.o||a.o>=c)};
Nw=function(){g.Q.call(this);this.Ga={}};
Ifa=function(){var a=g.os("yt-player-volume")||{},b=a.volume;return{volume:isNaN(b)?100:g.sd(Math.floor(b),0,100),muted:!!a.muted}};
Ow=function(a){g.ns("yt-player-bandwidth",a,2592E3)};
Pw=function(){return g.os("yt-player-quality")||"auto"};
Qw=function(a,b){var c="";49<b?c="p60":32<b&&(c="p48");return a+c};
Sw=function(a,b,c){var d=Rw();a=Qw(a,b);0<+d[a]&&(c=Math.min(+d[a],c));d[a]!=c&&(d[a]=c,g.ns("yt-player-performance-cap",d,604800))};
Rw=function(){return g.os("yt-player-performance-cap")||{}};
Tw=function(a){g.ns("yt-player-watch-later-pending",a)};
Uw=function(){return g.os("yt-player-headers-readable")||!1};
Vw=function(a){g.ns("yt-player-playback-on-reload",a)};
Ww=function(){try{return+(window.localStorage&&window.localStorage["yt-player-av1-pref"])||0}catch(a){return 0}};
Jfa=function(){this.u=0;this.C=this.bandwidthEstimate=this.B=this.w=this.A=NaN;this.o=""};
Kfa=function(){this.o=17;this.w=13E4;this.A=.5;this.u=!1};
Xw=function(a){this.B=Math.exp(Math.log(.5)/a);this.u=this.A=0};
Zw=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.P=b;this.u=Math.round(a*this.P);this.B=Array(this.u);for(a=0;a<this.u;a++)this.B[a]=Infinity;this.J=Yw(this);this.A=0;this.C=!1;this.G=!0;this.F=c;this.H=d};
Yw=function(a){for(var b=Array(a.u),c=0;c<a.u;c++)b[c]=c;return b};
$w=function(a,b){if(!a.C&&0==a.A)return 0;a.G&&(g.sb(a.J,function(c,d){return a.B[c]-a.B[d]}),a.G=!1);
return a.B[a.J[Math.round(b*((a.C?a.u:a.A)-1))]]||0};
Lfa=function(a){var b=new xfa;this.policy=a;this.o=b;this.H=this.P=0;this.B=-1;this.F=this.G=ax();this.C=new Zw(4,1,.6,.4);this.w=new Zw(10,1,.5,.4);this.u=a.u?new Xw(a.o):new Zw(a.o,20,.5,.4);this.J=new Zw(5,1,.25);this.A=new Zw(30,1,.5);a=g.os("yt-player-bandwidth")||{};this.u.w(this.policy.A,0<a.byterate?a.byterate:this.policy.w);0<a.delay&&this.C.w(1,Math.min(+a.delay,2));0<a.stall&&this.w.w(1,+a.stall);0<a.init&&(this.F=Math.min(a.init,this.F));this.B=ax()};
bx=function(a,b,c,d,e){e=void 0===e?!1:e;a.u.w(void 0===d?b:d,c/b);e||(a.G=ax())};
cx=function(a,b,c,d,e,f){f=void 0===f?!1:f;a.J.w(b,c/b);f||(a.G=ax());e||a.A.w(1,b-d)};
ex=function(a,b,c){b=Math.max(b,a.o.o);a.w.w(1,c/b);dx(a)};
fx=function(a){a=a.C.o();a=isNaN(a)?.5:a;return a=Math.min(a,5)};
gx=function(a,b,c){isNaN(c)||(a.H+=c);isNaN(b)||(a.P+=b)};
hx=function(a){a=a.u.o();return 0<a?a:1};
ix=function(a){var b=hx(a);b=1/((a.w.o()||0)+1/b);a=a.J.o();return Math.max(b,0<a?a:1)};
jx=function(a){var b={};b.delay=fx(a);b.stall=a.w.o()||0;b.byterate=hx(a);b.init=a.F;return b};
dx=function(a){-1<a.B&&3E4<ax()-a.B&&(Ow(jx(a)),a.B=ax())};
kx=function(a){return 4E3<=ax()-a.G};
T=function(a,b){return void 0==b?a:"1"==b||"True"==b?!0:!1};
lx=function(a,b,c){for(var d in c)if(c[d]==b)return c[d];return a};
mx=function(a,b){return void 0==b?a:Number(b)};
nx=function(a,b){return void 0==b?a:b.toString()};
ox=function(a,b){if(b){if("fullwidth"==a)return Infinity;if("fullheight"==a)return 0}if(a){var c=a.match(Mfa);if(c){var d=parseFloat(c[2]);if(0<d)return parseFloat(c[1])/d}}return NaN};
Lx=function(a,b){g.B.call(this);a=a?g.dc(a):{};this.ob=this.xa="";this.ea=nx("",a.csp_nonce);this.experiments=new yfa(b?b.serializedExperimentIds:a.fexp,b?b.serializedExperimentFlags:a.fflags);this.za=b?b.serializedForcedExperimentIds:a.forced_experiments||void 0;Rs=this.fa("web_player_deprecated_uvr_killswitch");try{var c=document.location.toString()}catch(m){c=""}this.Hb=c;this.kc=(c=window.location.ancestorOrigins)?Array.from(c):[];this.u=T(!1,a.is_embed);this.deviceParams={};b&&b.device?(c=b.device,
c.brand&&(this.deviceParams.cbrand=c.brand),c.browser&&(this.deviceParams.cbr=c.browser),c.browserVersion&&(this.deviceParams.cbrver=c.browserVersion),this.deviceParams.c=c.interfaceName||"WEB",this.deviceParams.cver=c.interfaceVersion||"html5",c.interfaceTheme&&(this.deviceParams.ctheme=c.interfaceTheme),this.deviceParams.cplayer=c.interfacePlayerType||"UNIPLAYER",c.model&&(this.deviceParams.cmodel=c.model),c.network&&(this.deviceParams.cnetwork=c.network),c.os&&(this.deviceParams.cos=c.os),c.osVersion&&
(this.deviceParams.cosver=c.osVersion),c.platform&&(this.deviceParams.cplatform=c.platform)):(this.deviceParams.c=a.c||"web",this.deviceParams.cver=a.cver||"html5",this.deviceParams.cplayer="UNIPLAYER");this.loaderUrl=this.u||"TVHTML5_SIMPLY_EMBEDDED_PLAYER"==this.deviceParams.c&&a.loaderUrl?nx("",a.loaderUrl):this.Hb;this.Eb=Ss(this.loaderUrl,Nfa,null);c=this.loaderUrl;var d=void 0===d?!1:d;this.Bm=Qs(Ss(c,Ofa,null),c,d,"Trusted Ad Domain URL");this.U=T(!1,a.privembed);this.protocol=0==this.Hb.indexOf("http:")?
"http":"https";this.C=Us((b?b.customBaseYoutubeUrl:a.BASE_YT_URL)||"")||Us(this.Hb)||this.protocol+"://www.youtube.com/";d=b?b.eventLabel:a.el;c="detailpage";"adunit"==d?c=this.u?"embedded":"detailpage":"embedded"==d||this.Eb?c=lx(c,d,Pfa):d&&(c="embedded");this.O=c;Uq();d=null;c=b?b.playerStyle:a.ps;var e=g.bb(px,c);!c||e&&!this.Eb||(d=c);this.playerStyle=d;this.G=(this.Zb=g.bb(px,this.playerStyle))&&"play"!=this.playerStyle&&"jamboard"!=this.playerStyle;this.Am=!this.G;this.H=T(!1,a.disableplaybackui);
if(d=!this.H||!this.fa("web_player_disable_ui_speed_killswitch"))Ev().defaultPlaybackRate?qx||g.rx||sx?(d=g.ow&&Wn("20")||g.Gv&&Wn("4")||g.wh&&Wn("11"))||(d=/WebKit\/([0-9]+)/.exec(g.Mb),d=!!(d&&602<=parseInt(d[1],10))):d=!(g.wh&&!cl("chrome")||qx||cl("android")||cl("silk")):d=!1;this.ya=d;this.o=T("blazer"==this.playerStyle,a.is_html5_mobile_device);this.o?d=!0:(d=parseInt((0,g.I)()/1E3,10),c=kr.getInstance(),d=this.fa("block_desktop_background_playback_with_mobile_cookie")&&c&&d>parseInt(c.get("dhmu",
d.toString()),10));this.zm=d;this.na="3"==this.controlsType||this.o||T(!1,a.use_media_volume);this.J=Kv();this.Fm=g.tx;this.ld=T(!1,a.opt_out_deprecation);var f;b?void 0!=b.hideInfo&&(f=!b.hideInfo):f=a.showinfo;this.Ef=g.ux(this)&&!this.ld||T(!vx(this)&&!wx(this)&&!this.Zb,f);this.Id=b?!!b.mobileIphoneSupportsInlinePlayback:T(!1,a.playsinline);f=this.o&&xx&&0<yx&&2.3>=yx;d=b?b.useNativeControls:a.use_native_controls;c=this.o;d=zx(this)||!f&&T(c,d)?"3":"1";this.controlsType="0"!=(b?b.controlsType:
a.controls)?d:"0";this.Qa=this.o;this.color=lx("red",a.color,Qfa);this.Dm="3"==this.controlsType||T(!1,a.modestbranding)&&"red"==this.color;this.ga=!this.u;this.Ff=(d=!this.ga&&!wx(this)&&!this.G&&!this.Zb&&!vx(this))&&!this.Dm&&"1"==this.controlsType;this.Oa=g.Ax(this)&&d&&"0"==this.controlsType&&!this.Ff;this.pn=this.Em=f;this.Gf=Bx&&!g.qd(601)?!1:!0;this.ym=this.u||!1;this.Ea=wx(this)?"":(this.loaderUrl||a.post_message_origin||"").substring(0,128);this.widgetReferrer=nx("",a.widget_referrer);this.Rb=
(!this.Eb||T(!0,a.enablecastapi))&&"1"==this.controlsType&&!this.o&&(wx(this)||g.Ax(this)||g.Cx(this))&&!g.Dx(this);this.jn=Jv()||Iv();f=b?!!b.supportsAutoplayOverride:T(!1,a.autoplayoverride);this.Ic=!this.o&&!cl("nintendo wiiu")&&!cl("nintendo 3ds")||f;f=b?!!b.enableMutedAutoplay:T(!1,a.mutedautoplay);d=this.fa("embeds_enable_muted_autoplay")&&g.ux(this);this.Kc=f&&d&&this.J&&!zx(this);f=(wx(this)||vx(this))&&"blazer"==this.playerStyle;this.Wb=b?!!b.disableFullscreen:!T(!0,a.fs);this.ca=!this.Wb&&
(f||qr());this.wh=this.fa("uniplayer_block_pip")&&dl()&&Wn(58)&&!(g.rx&&cl("version/"));f=g.ux(this)&&!this.ld;var k;b?void 0!=b.disableRelatedVideos&&(k=!b.disableRelatedVideos):k=a.rel;this.Ha=f||T(!this.Zb,k);this.cn=T(!1,a.co_rel);this.A=g.rx&&cl("version/")&&0<yx&&4.4>=yx?"_top":"_blank";this.Ia=g.Cx(this);this.pc="blazer"==this.playerStyle;switch(this.playerStyle){case "blogger":k="bl";break;case "gmail":k="gm";break;case "books":k="gb";break;case "docs":k="gd";break;case "duo":k="gu";break;
case "google-live":k="gl";break;case "play":k="gp";break;case "chat":k="hc";break;case "hangouts-meet":k="hm";break;case "photos-edu":case "picasaweb":k="pw";break;default:k="yt"}this.Z=k;this.Lc=nx("",a.authuser);var l;b?void 0!=b.disableWatchLater&&(l=!b.disableWatchLater):l=a.showwatchlater;this.wi=(this.u&&!this.U||!!this.Lc)&&T(!this.G,this.Eb?l:void 0);this.Fb=b?!!b.disableKeyboardControls:T(!1,a.disablekb);this.gd=nx("",a.ecver);this.loop=T(!1,a.loop);this.pageId=nx("",a.pageid);this.Lm=T(!0,
a.canplaylive);this.cg=T(!1,a.livemonitor);this.disableSharing=T(this.Zb,b?b.disableSharing:a.ss);(l=a.video_container_override)?(k=l.split("x"),2!=k.length?l=null:(l=parseInt(k[0],10),k=parseInt(k[1],10),l=isNaN(l)||isNaN(k)||0>=l*k?null:new g.yd(l,k))):l=null;this.Hf=l;this.mute=b?!!b.startMuted:T(!1,a.mute);this.Hc=!this.mute&&T("0"!=this.controlsType,a.store_user_volume);l=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"==this.controlsType?3:lx(void 0,l,Ex);this.captionsLanguagePreference=
b?b.captionsLanguagePreference||"":nx("",a.cc_lang_pref);l=lx(2,a.cc_load_policy,Ex);"3"==this.controlsType&&2==l&&(l=3);this.Dg=l;this.lc=b?b.hl||"en_US":nx("en_US",a.hl);this.region=b?b.contentRegion||"US":nx("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":nx("en",a.host_language);this.zg=!this.U&&Math.random()<g.S(this.experiments,"web_player_api_logging_fraction");this.S=!this.U;this.hd=new Set;this.deviceHasDisplay=T(!0,a.deviceHasDisplay);this.ag=mx(this.ag,a.ismb);l=a;g.lv(this.experiments,
"html5_qoe_intercept")?l=g.lv(this.experiments,"html5_qoe_intercept"):this.Am?(l=l.vss_host||"s.youtube.com",this.fa("www_for_videostats")&&"s.youtube.com"==l&&(l=Fx(this.C)||"www.youtube.com")):l="video.google.com";this.If=l;this.me(a,!0);this.F=new Nw;g.H(this,this.F);this.B=this.o&&!this.fa("enable_svg_mode_on_embed_mobile");this.Rg={innertubeApiKey:nx("",a.innertube_api_key),innertubeApiVersion:nx("",a.innertube_api_version),Jn:this.deviceParams.c,innertubeContextClientVersion:nx("",a.innertube_context_client_version),
Pk:this.hostLanguage,Ok:this.region,Kn:""};this.qe=void 0!=window.WebKitPlaybackTargetAvailabilityEvent;this.w=new lw(this.experiments,this.fa("html5_force_hfr_support")?!0:Gx(this)||hl()||il()||Hx(this),g.Gv&&g.qd(56)||g.R(this.experiments,"html5_encrypted_vp9_firefox")&&g.ow&&g.qd(54)||Hx(this));l=new Kfa;g.Ix(this)&&(l.u=!0,l.A=.1);g.R(this.experiments,"html5_ewma_bandwidth_estimator")&&(l.u=!0);g.R(this.experiments,"html5_pctile_bandwidth_estimator")&&(l.u=!1);this.ag&&(l.w=this.ag/8);l.o=g.S(this.experiments,
"html5_bandwidth_window_size")||l.o;this.schedule=new Lfa(l);this.enableSafetyMode=T(!1,a.enable_safety_mode);this.Ua=T(this.H?!1:wx(this)&&"blazer"!=this.playerStyle,a.allow_autonav);this.sendVisitorIdHeader=b?!!b.sendVisitorIdHeader:T(!1,a.send_visitor_id_header);this.Cg=!1;this.pe=Jw;this.ra=(0,g.O)();this.da=0;this.se=!1;this.ak=T(!1,"docs"==this.playerStyle?a.disable_native_context_menu:void 0);this.xm=Gx(this)&&this.fa("enable_skip_intro_button");this.embedConfig=nx("",a.embed_config);this.jd=
!1;this.Xb=T(!1,a.full_window);this.wm=T(!1,a.embedding_app);this.sa=!g.Jx(this)&&!Kx(this)&&!g.Dx(this);this.livingRoomAppMode=a.living_room_app_mode;this.transparentBackground=b?!!b.transparentBackground:T(!1,a.transparent_background);this.useFastSizingOnWatchDefault=T(!0,b?b.useFastSizingOnWatchDefault:a.use_fast_sizing_on_watch_default);this.showMiniplayerButton=b?!!b.showMiniplayerButton:T(!1,a.show_miniplayer_button);this.externalFullscreen=b?!!b.externalFullscreen:T(!1,a.external_fullscreen);
this.showMiniplayerUiWhenMinimized=b?!!b.showMiniplayerUiWhenMinimized:T(!1,a.use_miniplayer_ui);this.showBackButton=T(!1,a.showbackbutton);this.Aa=!1;this.Cm=1E-4>Math.random()};
Mx=function(a,b){return!a.Zb&&dl()&&Wn(55)&&"3"==a.controlsType&&!b};
g.Nx=function(a){a=Fx(a.C);return"www.youtube-nocookie.com"==a?"www.youtube.com":a};
g.Ox=function(a){return g.Dx(a)?"music.youtube.com":g.Nx(a)};
Px=function(a,b,c){return a.protocol+"://i1.ytimg.com/vi/"+b+"/"+(c||"hqdefault.jpg")};
Qx=function(a){return wx(a)&&!g.Jx(a)};
zx=function(a){return Bx&&!a.Id||cl("nintendo wiiu")||cl("nintendo 3ds")?!0:!1};
g.Dx=function(a){return"music-embed"==a.playerStyle};
g.Ix=function(a){return/^TVHTML5/.test(a.deviceParams.c)?!0:"TV"==a.deviceParams.cplatform};
Hx=function(a){return"CHROMECAST ULTRA/STEAK"==a.deviceParams.cmodel||"CHROMECAST/STEAK"==a.deviceParams.cmodel};
g.Rx=function(){return 1<window.devicePixelRatio?window.devicePixelRatio:1};
Gx=function(a){return"web"==a.deviceParams.c.toLowerCase().substr(0,3)};
g.Sx=function(a){return"WEB"==a.deviceParams.c};
Kx=function(a){return"WEB_KIDS"==a.deviceParams.c};
g.Jx=function(a){return"WEB_UNPLUGGED"==a.deviceParams.c};
Tx=function(a){return"TVHTML5_UNPLUGGED"==a.deviceParams.c};
g.Ux=function(a){return g.Jx(a)||"TV_UNPLUGGED_CAST"==a.deviceParams.c||Tx(a)};
Vx=function(a){return"WEB_REMIX"==a.deviceParams.c};
g.Yx=function(a){return(a.deviceHasDisplay&&g.Gv&&!ml&&"3"!==a.controlsType?g.rx?a.u&&g.qd(51):!0:!1)||(a.deviceHasDisplay&&g.ow&&!ml&&"3"!==a.controlsType?g.rx?a.u&&g.qd(48):g.qd(38):!1)||(a.deviceHasDisplay&&g.wh&&!ml&&"3"!==a.controlsType?g.rx?a.u&&g.qd(37):g.qd(27):!1)||a.deviceHasDisplay&&g.Wx&&!ll()&&g.qd(11)||a.deviceHasDisplay&&g.Xx&&g.qd("604.4")};
Zx=function(a){if(g.Ax(a)&&xx)return!1;if(g.ow){if(!g.qd(47)||!g.qd(52)&&g.qd(51))return!1}else if(g.Xx)return!1;return window.AudioContext||window.webkitAudioContext?!0:!1};
wx=function(a){return"detailpage"==a.O};
g.Ax=function(a){return"embedded"==a.O};
g.$x=function(a){return"leanback"==a.O};
vx=function(a){return"adunit"==a.O||"gvn"==a.playerStyle};
g.Cx=function(a){return"profilepage"==a.O};
g.ux=function(a){return a.u&&g.Ax(a)&&!vx(a)&&!a.Zb};
ay=function(a){if(!a.P)return"";var b=a.P.split("/");if(5==b.length)return a=b[b.length-1].split("="),a[1]="s20-c",b[b.length-1]=a.join("="),b.join("/");if(8==b.length)return b.splice(7,0,"s20-c"),b.join("/");if(9==b.length)return b[7]+="-s20-c",b.join("/");Dp(new Bp("Profile image not a FIFE URL.",a.P));return a.P};
g.by=function(a){var b=g.Ox(a);!a.fa("yt_embeds_disable_new_error_lozenge_url")&&Rfa.includes(b)&&(b="www.youtube.com");return a.protocol+"://"+b};
Fx=function(a){var b=g.Wg(a);return(a=Number(g.Vg(4,a))||null)?b+":"+a:b};
cy=function(){this.o=!1;this.u=0;this.ne=!1};
dy=function(a,b){var c=void 0===b?{}:b,d=void 0===c.hasSubfragmentedFmp4?!1:c.hasSubfragmentedFmp4;c=void 0===c.bj?!1:c.bj;var e=new cy;e.o=a.fa("html5_streaming_xhr_no_mp4_holdback_chunk");e.u=g.S(a.experiments,"html5_time_based_consolidation_ms");e.ne=d||c;return e};
g.ey=function(){this.u=new cy;this.cv=this.Zu=!1;this.NC=2;this.C=20971520;this.F=8388608;this.B=120;this.ya=3145728;this.ca=62914560;this.za=10485760;this.OC=this.Ea=0;this.J=NaN;this.ak=0;this.zm=this.Rv=2;this.yb=3;this.Cm=!1;this.jv=2;this.da=2097152;this.hv=1048576;this.ra=!1;this.P=1800;this.gd=5;this.kd=10;this.Z=15;this.pc=1;this.o=1.15;this.w=1.05;this.vv=this.Vu=!0;this.H=!1;this.kv=.8;this.S=this.Yx=this.ob=!1;this.xC=25;this.IF=this.gv=!1;this.Aa=6;this.CB=this.sa=!1;this.Zj=.5;this.xm=
this.Hb=!1;this.jd=0;this.Dm=!1;this.Ef=0;this.fd=!1;this.Mv=2;this.Ua=5E3;this.Ff=0;this.na=this.ea=!1;this.O=.5;this.Wb=2;this.Rb=this.Iv=0;this.Jv=1.5;this.Lv=this.wh=.5;this.PB=!1;this.Kc=15;this.kC=1;this.tv=this.pe=this.Wu=this.Qa=this.cn=!1;this.KC=0;this.zv=this.Em=this.If=this.mA=this.Fv=this.fv=this.ev=this.Xu=!1;this.sy=1;this.ty=0;this.pn=this.Ih=!1;this.Gf=0;this.qe=this.Lm=this.wv=this.Fb=this.jh=this.Fm=this.U=this.Xb=this.jn=this.Ha=this.FB=this.wm=this.Gw=this.Hf=this.ga=this.Hv=
this.Ia=this.G=this.lc=!1;this.Hc=!0;this.zg=!1;this.A="";this.AE=1048576;this.gA=this.QC=this.kc=this.V=!1;this.hd=46800;this.gb=this.lv=this.ym=this.YC=this.Ic=this.xa=!1;this.Ov=!0;this.Bm=this.Oa=this.Id=this.yv=!1;this.ld=!0;this.Am=this.ov=this.Nv=!1};
Sfa=function(a,b){1080<b.wa().dc&&!a.Zu&&(a.C=36700160,a.F=5242880,a.ya=10485760,a.da=4194304,a.Zu=!0);2160<b.wa().dc&&!a.cv&&(a.C=104857600,a.J=13107200,a.cv=!0);a.hv=Math.max(65536,Math.min(a.da,5*b.o))};
Tfa=function(){this.w=this.o=this.u=this.started=this.A=0};
fy=function(a,b){a[b]||(a[b]=new Tfa);return a[b]};
Ufa=function(a){this.A=a.clone();this.u=a;this.w=null;this.B=this.o=0};
hy=function(a,b,c){var d=fy(c,dt(a.u));if(d.u>=b.Mv||1<=d.o)if(a=gy(a),c=fy(c,dt(a)),c.u+c.o<=d.u+d.o)return!0;return!1};
Vfa=function(a,b){var c=b?gy(a):a.u;return new iv(c)};
gy=function(a){a.w||(a.w=ht(a.A));return a.w};
iy=function(a){return 1<a.o?a.B+1E3*Math.pow(1.6,a.o-1)<(0,g.O)():!0};
g.jy=function(a,b,c){b.o===a.u&&(a.u=kv(b,c));b.o===a.w&&(a.w=kv(b,c))};
ky=function(a,b){this.u=a[0].o.B;this.w=b||"";this.B="";this.o=a;this.range=this.o[0].range&&0<this.o[0].Na?tfa(this.o):null;this.A=this.de=NaN;this.C=this.requestId=null};
ly=function(a){return!Mu(a.o[a.o.length-1])};
my=function(a){return 4==a.o[a.o.length-1].type};
g.ny=function(a,b,c,d){if(a.B)var e=new iv(new at(a.B));else/http[s]?:\/\//.test(a.w)?e=new iv(new at(a.w)):(b=null===a.C?hy(a.u,b,c):a.C,e=Vfa(a.u,b),a.w&&ufa(e,a.w));(d=d||a.range)&&e.set("range",d.toString());a.requestId&&e.set("req_id",a.requestId);isNaN(a.de)||e.set("headm",a.de.toString());isNaN(a.A)||e.set("mffa",a.A+"ms");a.F&&g.Ob(a.F,function(f,k){e.set(k,f)});
return e};
oy=function(a){if(a.range)return a.range.length;a=a.o[0];return Math.round(a.H*a.o.info.o)};
Wfa=function(a,b,c){return a.range?new Hu(a.range.start+b,a.range.end):Ju(b,c)};
py=function(a,b,c){this.info=b;this.initRange=c||null;this.H=this.o=null;this.A=!1;this.C=null;this.J=0;this.B=new Ufa(a);this.w=null;this.P=NaN;this.F=null};
qy=function(a,b){a.info&&a.info.video&&4==a.info.video.projectionType&&!a.w&&(g.bv(a.info)?a.w=nfa(b):2==a.info.wc&&(a.w=pfa(b)))};
ry=function(a,b,c,d,e,f){f=void 0===f?0:f;py.call(this,a,b,d);this.index=e||new g.mt;this.ke=f;this.S=c;this.G=!0;if(this.u=!c)this.A=!0};
sy=function(a){return a.u.ne||a.u.ne?a.S&&a.H&&Ms()?3:2:a.Ih?-1:1};
ty=function(a){var b=void 0===a?{}:a;a=void 0===b.ke?0:b.ke;var c=void 0===b.Zv?!1:b.Zv,d=void 0===b.Pq?0:b.Pq,e=void 0===b.Md?0:b.Md,f=void 0===b.Zg?Infinity:b.Zg,k=void 0===b.iA?!1:b.iA,l=void 0===b.Hy?0:b.Hy;b=void 0===b.ze?!1:b.ze;this.segments=[];this.o=a;this.C=d;this.u=c;this.w=-1;this.B=e;this.J=f;this.A=null;this.H=k;this.G=l;this.F=b};
vy=function(a,b,c){b=uy(a,b);return 0<=b&&(c||!a.segments[b].pending)};
Xfa=function(a,b){var c=g.qb(a.segments,{startTime:b},function(e,f){return e.startTime-f.startTime}),d=a.segments[0<=c?c:Math.max(-(c+2),0)];
return d.startTime+d.duration>b&&d.startTime<=b?d:-1==c?wy(a,Math.max(d.Ma-Math.ceil((d.startTime-b)/a.o),0),d):wy(a,d.Ma+Math.ceil((b-d.endTime)/a.o),d)};
uy=function(a,b){return rb(a.segments,function(c){return b-c.Ma})};
wy=function(a,b,c){return new lt(b,Math.max(0,c.startTime-(c.Ma-b)*a.o),a.o,0,"sq/"+b,void 0,void 0,!0)};
yy=function(a,b,c){c=void 0===c?{}:c;ry.call(this,a,b,"",void 0,void 0,c.ke||0);this.index=new ty(c);this.O=c.Pq||-1;this.U=c.ze||!1};
Yfa=function(a,b,c,d,e){this.Ma=a;this.startSecs=b;this.durationSecs=c;this.o=d||NaN;this.u=e||NaN};
zy=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""};
Ay=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};
By=function(a){if(!a)return 0;var b=a.match(/PT(([0-9]*)H)?(([0-9]*)M)?(([0-9.]*)S)?/);return b?3600*(Number(b[2])|0)+60*(Number(b[4])|0)+(Number(b[6])|0):Number(a)|0};
Cy=function(a){return a.match(/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})\.(\d{3})$/)?a+"Z":a};
Dy=function(){this.o=[];this.u=null;this.B=0;this.A=[];this.w=!1;this.C="";this.F=0};
Zfa=function(a){var b=a.A;a.A=[];return b};
$fa=function(){this.A=[];this.o=null;this.u={};this.w={}};
ega=function(a,b,c){var d=[];b=Array.from(b.getElementsByTagName("SegmentTimeline"));b=g.q(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.parentNode.parentNode,k=null;"Period"==f.nodeName?k=aga(a):"AdaptationSet"==f.nodeName?k=cga(a,f.attributes.id?f.attributes.id.value:f.attributes.mimetype.value):"Representation"==f.nodeName&&(k=dga(a,f.attributes.id.value));if(null==k)return;k.update(e,c);kb(d,Zfa(k))}kb(a.A,d);maa(a.A,function(l){return 1E3*l.startSecs+l.o})};
fga=function(a){a.o&&(a.o.o=[]);g.Ob(a.u,function(b){b.o=[]});
g.Ob(a.w,function(b){b.o=[]})};
aga=function(a){a.o||(a.o=new Dy);return a.o};
cga=function(a,b){a.u[b]||(a.u[b]=new Dy);return a.u[b]};
dga=function(a,b){a.w[b]||(a.w[b]=new Dy);return a.w[b]};
Ey=function(a,b,c,d,e){py.call(this,a,b,d||void 0);this.index=new g.mt;this.indexRange=e;this.u=c};
Fy=function(a,b,c){var d=a.index.qr(b),e=a.index.Yc(b),f=a.index.getDuration(b),k;c?f=k=0:0<a.info.o&&(k=a.info.o*f);c=b==a.index.kb()&&0<k;a=new Lu(3,a,null,"otfCreateRequestInfoForSegment",b,e,f,0,k,c);return new ky([a],d)};
gga=function(a,b){if(!a.index.Pb()){for(var c=[],d=b.F,e=b.G.split(",").filter(function(t){return 0<t.length}),f=0,k=0,l=0,m=/^(\d+)/,n=/r=(\d+)/,p=0;p<d;p++){if(0>=l)if(l=e.shift(),k=(k=m.exec(l))?+k[1]/1E3:0)l=(l=n.exec(l))?+l[1]:0,l+=1;
else return;c.push(new lt(p,f,k,NaN,"sq/"+(p+1)));f+=k;l--}a.index.append(c)}};
g.Gy=function(){this.o=0;this.u=new Float64Array(128);this.w=new Float64Array(128);this.B=1;this.A=!1};
Hy=function(a){if(a.u.length<a.o+1){var b=2*a.u.length;b+=2;var c=a.u;a.u=new Float64Array(b+1);var d=a.w;a.w=new Float64Array(b+1);for(b=0;b<a.o+1;b++)a.u[b]=c[b],a.w[b]=d[b]}};
Iy=function(a,b,c,d,e,f,k){k=void 0===k?{}:k;py.call(this,a,b,c||void 0);this.indexRange=d;this.G=null;this.index=new g.Gy;this.u=e;this.lastModified=f;this.O=k};
Jy=function(a,b,c,d){for(var e=[];b<=a.index.kb();b++){var f=a.index,k=b;f=Ju(f.wo(k),k+1<f.o||f.A?f.u[k+1]-f.u[k]:-1);k=a.index.Yc(b);var l=a.index.getDuration(b),m=Math.max(0,c-f.start),n=Math.min(f.end+1,c+d)-(f.start+m),p=b==a.index.kb()&&m+n==f.length;e.push(new Lu(3,a,f,"getRequestInfoForRange_",b,k,l,m,n,p));if(f.start+m+n>=c+d)break}return new ky(e)};
hga=function(a,b){return Ky(function(c,d){return g.Wp(c,d,4,1E3)},a,b)};
g.Ly=function(a){var b;a.responseType&&"text"!==a.responseType?"arraybuffer"===a.responseType&&(b=fu(new Uint8Array(a.response))):b=a.responseText;return!b||2048<b.length?"":0===b.indexOf("https://")?b:""};
Ky=function(a,b,c){return a(b,c).then(function(d){var e=g.Ly(d);return e?Ky(a,e,c):d})};
My=function(a,b,c){a=void 0===a?"":a;b=void 0===b?null:b;c=void 0===c?!1:c;g.Q.call(this);this.V=this.duration=0;this.ze=this.Z=this.isLive=this.w=!1;this.Zg=this.Md=0;this.Uk=this.Ne=!1;this.J=(0,g.O)();this.F=Infinity;this.o={};this.sourceUrl=a||"";this.C=this.O=0;this.B=null;this.ga=!!b&&g.R(b,"html5_live_nonzero_first_segment_start_time");this.u=!1;this.P=[];this.ra=!!b&&g.R(b,"html5_live_self_init_segments");this.A=null;this.na=c;this.ea=!b||!g.R(b,"html5_manifest_without_credentials");this.G=
0;this.U=!!b&&g.R(b,"disable_html5_manifest_namespace_redux");this.ca="";this.H=NaN;this.da=b&&g.R(b,"disable_html5_duration_caching")?Infinity:10;this.S=0};
Ny=function(a){return Rb(a.o,function(b){return!!b.info.Nc})};
iga=function(a){return Rb(a.o,function(b){return Cv(b.info.mimeType)})};
jga=function(a){return Sb(a.o,function(b){return b.info.video?b.So():!0})};
Oy=function(a){return Rb(a.o,function(b){return et(b.B.u)})};
Py=function(a,b){a.o[b.info.id]=b};
kga=function(a,b,c,d){c=void 0===c?0:c;var e=new My("",d,!1);e.duration=c||0;(0,g.y)(a,function(f){var k=Qy(f,b,e.duration),l=Iu(f.init),m=Iu(f.index),n=parseInt(f.clen,10),p=Ry(f.url,f.sp,f.s,d),t=parseInt(f.lmt,10);p&&Py(e,new Iy(p,k,l,m,n,t,f))});
return e};
lga=function(a,b,c,d){c=void 0===c?0:c;var e=new My("",d,!1);e.duration=c||0;(0,g.y)(a,function(f){var k=Qy(f,b,e.duration),l=Ry(f.url,f.sp,f.s,d);if(!g.bv(k)){var m=d&&g.R(d,"html5_manifestless_vp9_otf"),n=d&&g.R(d,"html5_otf_webm_audio_killswitch");if(!m||!k.isVideo()&&n)return}l&&(k.video&&3==k.video.streamType?Py(e,new Ey(l,k,"sq/0",null,null)):(m=Iu(f.init),f=Iu(f.index),Py(e,new Ey(l,k,"",m,f))))});
e.Uk=!0;return e};
mga=function(a,b,c,d){var e=new My("",d,!0);(0,g.y)(a,function(f){var k=Qy(f,c),l=Ry(f.url,f.sp,f.s,d),m=parseInt(f.target_duration_sec,10)||5;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.Md=e.Md||n;e.Zg=e.Zg||p;var t=!Cv(k.mimeType),u=d&&g.R(d,"html5_manifestless_live_segment_index_new_logic"),z=d&&g.S(d,"html5_manifestless_max_segment_history");l&&Py(e,new yy(l,
k,{ke:m,Zv:t,Pq:f,Md:n,Zg:p,iA:u,Hy:z,ze:b}))});
e.w=!b;e.Ne=!0;e.u=!0;e.isLive=!b;e.ze=b;e.Z=!!e.Md&&!!e.Zg&&isFinite(e.Zg);return e};
Qy=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 k=null;f=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){k=(a.size||"640x360").split("x");k=new qv(+k[0],+k[1],+a.fps,+a.projection_type,+a.stereo_layout,void 0,a.quality_label,a.eotf,a.primaries,+a.stream_type);var l=k;null===Sy&&(Sy=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((Sy||Ty)&&('video/webm; codecs="vp9"'==d||'video/webm; codecs="vp9.2"'==d)){var m="00",n="08",p="01",t="01",u="01";'video/webm; codecs="vp9.2"'==d&&(m="02",n="10",uv(l)&&(u=p="09"),"smpte2084"==l.o&&(t="16"),"arib-std-b67"==l.o&&(t="18"));d=["vp09",m,"51",n,"01",p,t,u].join(".");Uy&&(d+=".00");d='video/webm; codecs="'+d+'"'}}m=l=null;Bv(d)&&(l=new mv(+a.audio_sample_rate||void 0,+a.audio_channels||0,+a.spatial_audio_type),a.name&&(m=new nv(a.name,a.audio_track_id,"1"==a.isDefault)));a.caption_display_name&&
a.caption_vss_id&&a.caption_language_code&&(f=new zfa(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.q(a.drm_families.split(",")),t=a.next();!t.done;t=a.next())t=t.value,p[t]=b[t];return new xv(e,d,l,k,m,p,n,c,f)};
nga=function(a){return jj(a,function(b){return 3==+b.stream_type})?3:0};
Vy=function(a,b){return a.B?lb(a.B.A,b):a.P.length?lb(a.P,b):[]};
Ry=function(a,b,c,d){b=void 0===b?"":b;c=void 0===c?"":c;a=new at(a);a.set("alr","yes");c&&(c=Ps(decodeURIComponent(c)),a.set(b,encodeURIComponent(c)));d&&g.R(d,"html5_enable_hancedenay_iphersay")&&(d=a.get("n"))&&(d=kea(d),a.set("n",d));return a};
Yy=function(a,b){var c=zy(b,"id");c=c.replace(":",";");var d=zy(b,"mimeType"),e=zy(b,"codecs");d=e?d+'; codecs="'+e+'"':d;e=parseInt(zy(b,"bandwidth"),10)/8;var f=parseInt(Ay(b,"BaseURL").getAttribute(Wy(a,"contentLength")),10);f=a.duration&&f?f/a.duration:0;var k=null;if(/(vp9|vp09|vp8|avc1|av01)/.test(d)){k=parseInt(zy(b,"width"),10);var l=parseInt(zy(b,"height"),10),m=parseInt(zy(b,"frameRate"),10),n=oga(zy(b,Wy(a,"projectionType")));a:switch(zy(b,Wy(a,"stereoLayout"))){case "layout_left_right":var p=
1;break a;case "layout_top_bottom":p=2;break a;default:p=0}zy(b,"video_level");k=new qv(k,l,m,n,p,void 0,void 0,void 0,void 0)}m=l=null;if(Bv(d))if(l=parseInt(zy(b,"audioSamplingRate"),10),m=parseInt(zy(b.getElementsByTagName("AudioChannelConfiguration")[0],"value"),10),n=pga(zy(b,Wy(a,"spatialAudioType"))),l=new mv(l,m,n),m=zy(b,"lang")||"und",n=Ay(b,"Role")){var t=zy(n,"value")||"";Xb(Xy,t)?(n=m+"."+Xy[t],p="main"==t,m=zy(b,Wy(a,"langName"))||m+" - "+t,m=new nv(m,n,p)):m=null}else m=null;p=null;
if(n=Ay(b,"ContentProtection"))if(g.fl())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 xv(c,d,l,k,m,p,e,f)};
oga=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}};
pga=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}};
Zy=function(a,b){b=void 0===b?"":b;a.C=1;a.J=(0,g.O)();return sf(hga(b||a.sourceUrl,{format:"RAW",method:"GET",withCredentials:a.ea}).then((0,g.x)(a.hF,a)),(0,g.x)(a.kF,a))};
qga=function(a,b,c){return Zy(new My(a,b,c),a)};
rga=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=Iu(a):d=d+"?range="+a));return new lt(b.Ma,b.startSecs,b.durationSecs,b.o,d,e,b.u)};
$y=function(a){return a.isLive&&(0,g.O)()-a.J>=a.F};
az=function(a){var b=a.F;isFinite(b)&&($y(a)?a.refresh():(b=Math.max(0,a.J+b-(0,g.O)()),a.A||(a.A=new g.J(a.refresh,b,a),g.H(a,a.A)),a.A.start(b)))};
sga=function(a){a=a.o;for(var b in a){var c=a[b].index;if(c.Pb())return c.kb()+1}return 0};
bz=function(a){if(!isNaN(a.H))return a.H;var b=a.o,c;for(c in b){var d=b[c].index;if(d.Pb()){b=0;for(c=d.Le();c<=d.kb();c++)b+=d.getDuration(c);b/=d.Ui();b=.5*Math.round(b/.5);d.Ui()>a.da&&(a.H=b);return b}if(a.isLive&&(d=b[c],d.ke))return d.ke}return NaN};
cz=function(a,b){for(var c in a.o){var d=a.o[c].index;if(d.Pb()){var e=d.Me(b),f=d.Ls(e);if(f)return f+b-d.Yc(e)}}return NaN};
tga=function(a,b){var c=$b(a.o,function(e){return e.index.Pb()});
if(!c)return NaN;c=c.index;var d=c.Me(b);return c.Yc(d)==b?b:d<c.kb()?c.Yc(d+1):NaN};
uga=function(a,b){g.Ob(a.o,function(c){g.Ob(b,function(d,e){var f=c.B;f.u.set(e,d);f.A.set(e,d);f.w&&f.w.set(e,d)})})};
dz=function(a,b,c){for(var d in a.o){var e=Cv(a.o[d].info.mimeType)||a.o[d].info.isVideo();if(c==e){e=a.o[d].index;var f=uy(e,b);0<=f&&e.segments.splice(f,1)}}};
Wy=function(a,b){return a.U?"yt:"+b:a.ca+":"+b};
vga=function(a){return g.Za(Object.values(a.o),function(b){return b.info.Nc&&b.info.video?480<b.info.video.dc&&"H"==b.info.u:!1})};
wga=function(){this.J=this.U=this.o=this.P=this.B=this.w=this.A=this.G=this.F=!1;this.H=!0;this.u=0;this.S=!1;this.O=Infinity;this.C=!1;this.V=!0};
xga=function(a){if(a.G)return["f"];var b="19 9h 9 h 8 (h ( H *".split(" ");a.S&&b.unshift("1");a.o&&b.unshift("h");return b};
yga=function(a){var b=["o","a","v","A","V"];a.w&&(b=["m","M"].concat(b));a.B&&(b=["mac3","MAC3"].concat(b));a.P&&(b=["meac3","MEAC3"].concat(b));a.F&&(b=["so","sa"].concat(b));a.U&&b.unshift("a");a.A&&b.unshift("ah");return b};
ez=function(a){if(mw(a.w,Bw)&&mw(a.w,qw)&&mw(a.w,tw))return 8192;try{var b=Ww();if(b)return b}catch(d){}b=g.S(a.experiments,"html5_av1_thresh");var c=g.S(a.experiments,"html5_av1_thresh_lcc");c&&2>=navigator.hardwareConcurrency&&(b=c);(c=g.S(a.experiments,"html5_av1_thresh_hcc"))&&4<navigator.hardwareConcurrency&&(b=c);(a=g.S(a.experiments,"html5_av1_thresh_arm"))&&el()&&(b=a);(a=+Rw()[Qw("1",30)]||0)&&(b=Math.min(b,a));return b};
fz=function(a,b,c,d){this.flavor=a;this.o=b;this.w=c;this.B=d;this.u={};this.Ke=this.keySystemAccess=null;this.gn=this.hn=-1;this.lm=null;this.C=!!d&&g.R(d,"edge_nonprefixed_eme");this.A=d?g.lv(d,"html5_hdcp_probing_stream_url"):""};
hz=function(a){return a.C?!1:!a.keySystemAccess&&!!gz()&&"com.microsoft.playready"==a.o};
iz=function(a){return"com.microsoft.playready"==a.o};
jz=function(a){return g.Cw&&"com.microsoft.playready"==a.o&&!!navigator.requestMediaKeySystemAccess};
kz=function(a){return!a.keySystemAccess&&!!gz()&&"com.apple.fps.1_0"==a.o};
gz=function(){var a=window.MSMediaKeys;kl()&&!a&&(a=window.WebKitMediaKeys);return a&&a.isTypeSupported?a:null};
lz=function(a){return navigator.requestMediaKeySystemAccess?g.Gv?Wn("45"):g.Cw||g.Od?g.R(a,"edge_nonprefixed_eme"):g.ow?Wn("47"):g.Xx?(a=g.S(a,"html5_safari_desktop_eme_min_version"),0<a?Wn(a):!1):!g.R(a,"html5_disable_nonprefixed_eme_for_other"):!1};
zga=function(a,b,c){c=void 0===c?"":c;var d=gl(),e=d?["com.youtube.fairplay"]:["com.widevine.alpha"];b&&(e.unshift("com.youtube.widevine.l3"),d&&c&&e.unshift("com.youtube.widevine.forcehdcp"));return d?e:a?[].concat(g.na(e),g.na(mz.playready)):[].concat(g.na(mz.playready),g.na(e))};
g.nz=function(a){a=void 0===a?{}:a;this.u=a.languageCode||"";this.w=a.languageName||null;this.A=a.kind||"";this.B=a.name||null;this.H=a.id||null;this.F=a.is_servable||!1;this.isTranslateable=a.is_translateable||!1;this.G=a.url||null;this.C=a.vss_id||"";this.isDefault=a.is_default||!1;this.o=a.translationLanguage||null};
g.oz=function(a){var b=a.w||"",c=[b];"asr"==a.A&&-1==b.indexOf("(")&&c.push(" (Otomatik Altyaz\u0131lar)");a.B&&c.push(" - "+a.B);a.o&&c.push(" >> "+a.o.languageName);return c.join("")};
pz=function(a,b){this.id=a;this.sb=b;this.captionTracks=[];this.ln=this.Lq=this.o=null;this.Aq="UNKNOWN"};
qz=function(a,b,c){this.videoInfos=a;this.o=b||null;this.audioTracks=[];this.u=c||null;if(this.o)for(a=new Set,b=g.q(this.o),c=b.next();!c.done;c=b.next())if(c=c.value,c.sb&&!a.has(c.sb.id)){var d=new pz(c.id,c.sb);a.add(c.sb.id);this.audioTracks.push(d)}};
rz=function(a,b,c){var d={},e;for(e in c.o){var f=c.o[e],k=Tu(f.info);""==f.info.u||("304"==k||"266"==k)&&a.H||a.J&&"h"==f.info.u&&f.info.video&&1080<f.info.video.dc||!Efa(b,f.info)||"(h"==f.info.u&&!b.w||(d[f.info.u]=d[f.info.u]||[],d[f.info.u].push(f.info))}c=g.q(Object.keys(d));for(e=c.next();!e.done;e=c.next())e=e.value,d[e]&&d[e][0].isVideo()&&(d[e]=Aga(a,d[e]),d[e]=Bga(b,d[e]));return g.Pb(d,function(l){return!!l.length})};
Cga=function(a,b,c){var d={};g.Ob(b,function(e,f){var k=e.filter(function(l){var m;if(m=l.Nc&&c&&l.Nc[c.flavor]&&c.u[l.mimeType])(l="("!=l.u&&"(h"!=l.u)||(l=mw(a,uw)||a.H),m=l;return m?!0:!1});
k.length&&(d[f]=k)});
return d};
Ega=function(a,b,c,d){function e(t){return!!f[t]}
var f=rz(a,b,c),k=f["9h"]?"9h":"9";if(0<a.u&&f[k]&&f["1"]){var l=Math.min(a.u,sz(f["1"])),m=sz(f[k]),n=function(t){return t<=l||t>m},p=f["1"].filter(function(t){return n(t.wa().dc)});
k=f[k].filter(function(t){return!n(t.wa().dc)}).concat(p);
k.length&&(f["19"]=k)}Ny(c)&&(f=Cga(b,f,d));b=xga(a);d=yga(a);b=g.Za(b,e);d=g.Za(d,e);if(!b||!d)return Yp();a.V&&"1"==b&&f["9"]&&(k=sz(f["1"]),sz(f["9"])>k&&(b="9"));"9"==b&&f.h&&(k=sz(f["9"]),sz(f.h)>1.5*k&&(b="h"),c.Ne&&!Gfa(a.C)&&(b="h"));a=f[b];c=f[d];if(!a.length)return Yp();tz(a,c);return Zp(new qz(a,c,Dga(f,b,d)))};
Dga=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)?(tz(d,e),new qz(d,e)):null};
tz=function(a,b){g.sb(a,function(c,d){return d.wa().height*d.wa().width-c.wa().height*c.wa().width||d.o-c.o});
g.sb(b,function(c,d){return d.o-c.o})};
Bga=function(a,b){var c=(0,g.ti)(b,function(d,e){return 32<e.wa().fps?Math.min(d,e.wa().width):d},Infinity);
Infinity>c&&(b=a.C&&(a.G||mw(a,rw))?(0,g.ae)(b,function(d){return 32<d.wa().fps||d.wa().width<c}):(0,g.ae)(b,function(d){return!(32<d.wa().fps)}));
hl()&&(b=(0,g.ae)(b,function(d){return"299"!=Tu(d)}));
return b};
Aga=function(a,b){return b=(0,g.ae)(b,function(c){return c.wa().dc<=a.O})};
sz=function(a){return(0,g.ti)(a,function(b,c){return Math.max(b,c.wa().dc)},0)};
uz=function(a,b,c,d){g.B.call(this);this.o=[];this.w={};this.B={};this.C=null;this.u=b;this.F=!1;this.A=[];this.G=d;Fga(this,a,!c)};
Fga=function(a,b,c){for(var d in b)for(var e=g.q(b[d]),f=e.next();!f.done;f=e.next()){f=f.value;if(!f.Nc){if(g.R(a.u,"html5_continue_probing_on_missing_drminfo"))continue;return}for(var k in f.Nc){if(!mz[k]){if(g.R(a.u,"html5_continue_probing_on_missing_drminfo"))continue;return}for(var l=g.q(mz[k]),m=l.next();!m.done;m=l.next())m=m.value,a.w[m]=a.w[m]||new fz(k,m,f.Nc[k],a.u),a.B[k]=a.B[k]||{},a.B[k][f.mimeType]=!0}}gl()&&(a.w["com.youtube.fairplay"]=new fz("fairplay","com.youtube.fairplay","",a.u),
a.B.fairplay={"audio/mp4":!0,"video/mp4":!0});a.o=zga(c,a.G,g.lv(a.u,"html5_hdcp_probing_stream_url")).filter(function(n){return!!a.w[n]})};
vz=function(a){if(!a.la())if(0==a.o.length)a.C(a.A);else{var b=a.o[0],c=a.w[b],d={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};iz(c)&&(d.initDataTypes=["keyids","cenc"]);for(var e in a.B[c.flavor]){var f=0==e.indexOf("audio/"),k=f?d.audioCapabilities:d.videoCapabilities;"widevine"!=c.flavor||a.F?k.push({contentType:e}):f?k.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(k.push({contentType:e,robustness:"HW_SECURE_ALL"}),k.push({contentType:e,robustness:"SW_SECURE_DECODE"}))}navigator.requestMediaKeySystemAccess(b,
[d]).then(Fo((0,g.x)(a.J,a,c)),Fo((0,g.x)(a.H,a)))}};
Gga=function(a,b){function c(f){b.u[f.contentType]=!0}
if(iz(b)){var d=Ev(),e;for(e in a.B[b.flavor])b.u[e]=!!d.canPlayType(e)}else d=b.keySystemAccess.getConfiguration(),d.audioCapabilities&&d.audioCapabilities.forEach(c),d.videoCapabilities&&d.videoCapabilities.forEach(c)};
Iga=function(a){if(gz()&&g.Xx)a.A.push(new fz("fairplay","com.apple.fps.1_0","",a.u));else{var b=Hga(),c=g.Za(a.o,function(d){var e=a.w[d],f=!1,k=!1,l;for(l in a.B[e.flavor])b(l,d)&&(e.u[l]=!0,f=f||0==l.indexOf("audio/"),k=k||0==l.indexOf("video/"));return f&&k});
c&&a.A.push(a.w[c]);a.o=[]}a.C(a.A)};
Hga=function(){var a=gz();if(a){var b=a.isTypeSupported;return function(c,d){return b(d,c)}}return(a=Ev())&&(a.addKey||a.webkitAddKey)?(0,g.x)(a.canPlayType,a):function(){return!1}};
Jga=function(a,b,c,d,e,f,k,l,m,n){this.itag=a;this.url=b;this.codecs=c;this.width=d;this.height=e;this.bitrate=k;this.fps=f;this.audioItag=l||null;this.o=m||"";this.sb=void 0===n?null:n};
wz=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 k=null;e.audio_track_id&&(k=new nv(e.name,e.audio_track_id,!!e.is_default));e=new Jga(e.itag,e.url,f,+e.width,+e.height,+e.fps,+e.bitrate,e.audio_itag,e.drm_families,k);b[e.itag]=b[e.itag]||[];b[e.itag].push(e)}return b};
xz=function(a,b,c){this.w=a;this.o=b;this.B=0;this.u="";this.A=c};
yz=function(a,b,c){a.A&&(b=g.eh(b,{cpn:a.A}));c&&(b=g.eh(b,{paired:c}));return b};
zz=function(a,b){var c=a.itag.toString();b&&(c+=b.itag.toString());return c};
Kga=function(a,b,c){var d="#EXT-X-MEDIA:TYPE=AUDIO,",e="YES",f="audio";if(b.sb){f=b.sb;var k=f.getId().split(".")[0];k&&(d+='LANGUAGE="'+k+'",');a.u||f.getIsDefault()||(e="NO");f=f.getName()}k="";c&&(k=c.itag.toString());a=yz(a,b.url,k);return d=d+('NAME="'+f+'",DEFAULT='+(e+',AUTOSELECT=YES,GROUP-ID="'))+(zz(b,c)+'",URI="'+(a+'"'))};
Lga=function(a){for(var b=[],c=[],d=0,e=a.o.length;d<e;++d){var f=a.o[d];f.bitrate<=a.B?b.push(f):c.push(f)}b.sort(function(k,l){return l.bitrate-k.bitrate});
c.sort(function(k,l){return k.bitrate-l.bitrate});
a.o=b.concat(c)};
Az=function(a,b,c){this.Uf=a;this.u=b;this.o=null;this.w=c};
Nga=function(a,b,c,d,e){if(!(ml||kl()||gl()))return Yp();var f=Mga(c),k=wz(c);if(!k)return Yp();c={};var l=(c.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",c),m;c=[];var n=[],p=[],t=g.S(a.experiments,"html5_hls_min_video_height"),u;for(u in k)if(!g.R(a.experiments,"html5_disable_drm_hfr_1080")||"383"!=u&&"373"!=u){var z=g.q(k[u]);for(m=z.next();!m.done;m=z.next()){var C=m.value;if(C.width){if(!(C.height<t)){var D=k[C.audioItag];if(D&&(c.push(C),m="fairplay"==C.o?l:null,p.push(Bz(D,[C],
e,C.itag,C.width,C.height,C.fps,f,void 0,void 0,m)),!E||C.width*C.height*C.fps>E.width*E.height*E.fps))var E=C}}else n.push(C)}}m=p.reduce(function(G,F){return F.Uf.Mn()&&G},!0)?l:null;
d=Math.max(d,g.S(a.experiments,"html5_hls_initial_bitrate"));E=E||{};p.push(Bz(n,c,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",d,m));return Ew(a.w,p,Mx(a,b))};
Bz=function(a,b,c,d,e,f,k,l,m,n,p){d=new xv(d,"application/x-mpegURL",new mv,new qv(e,f,k,null,void 0,m),void 0,p);a=new xz(a,b,c);a.B=n?n:1369843;return new Az(d,a,l)};
Mga=function(a){a=g.q(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};
Dz=function(){return Ca(function(a){Cz||(Cz=new Promise(function(b,c){var d=indexedDB.open("yt-player-local-media",2);d.onerror=function(e){"VersionError"==e.target.error.name?(e=indexedDB.open("yt-player-local-media"),e.onsuccess=function(f){return b(f.target.result)},e.onerror=c):c()};
d.onsuccess=function(e){var f=e.target.result;f.onversionchange=function(){f.close();Cz=null};
b(f)};
d.onupgradeneeded=function(e){e=e.target.result;e.createObjectStore("index");e.createObjectStore("media")}}));
return a["return"](Cz)})};
Fz=function(a,b,c){var d;return Ca(function(e){if(1==e.o)return ta(e,Dz(),2);d=e.u;return e["return"](Ez(d.transaction(a,"readwrite").objectStore(a).put(c,b)))})};
Gz=function(a,b){var c;return Ca(function(d){if(1==d.o)return ta(d,Dz(),2);c=d.u;return d["return"](Ez(c.transaction(a).objectStore(a).get(b)))})};
Hz=function(a,b,c){var d;return Ca(function(e){if(1==e.o)return ta(e,Dz(),2);d=e.u;return e["return"](Ez(d.transaction(a,"readwrite").objectStore(a)["delete"](IDBKeyRange.bound(b,c))))})};
Oga=function(){var a;return Ca(function(b){if(1==b.o)return Cz?b=ta(b,Cz,3):(b.o=2,b=void 0),b;2!=b.o&&(a=b.u,a.close(),Cz=null);return b["return"](new Promise(function(c,d){var e=indexedDB.deleteDatabase("yt-player-local-media");e.onsuccess=function(){return c()};
e.onerror=function(){return d()}}))})};
Iz=function(a){window.localStorage["yt-player-lv"]=a.join(",")};
Jz=function(){var a=window.localStorage&&window.localStorage["yt-player-lv"];return a?a.split(","):[]};
Kz=function(a,b,c,d){var e;Ca(function(f){e=""+a+"|"+b.id+"|"+c;return f["return"](Fz("media",e,d))})};
Pga=function(a,b,c){var d,e;Ca(function(f){d=""+a+"|"+(b?"v":"a");e=Fz("index",d,c);b&&(e=e.then(function(){var k=Jz();k.includes(a)||(k.push(a),Iz(k))}));
return f["return"](e)})};
Qga=function(a){return Ca(function(b){return b["return"](Promise.all([Gz("index",""+a+"|a"),Gz("index",""+a+"|v")]).then(function(c){return c.filter(function(d){return d}).join(",")}))})};
Rga=function(a,b,c){return Ca(function(d){return d["return"](Gz("media",""+a+"|"+b+"|"+c))})};
Sga=function(a){var b,c;return Ca(function(d){b=Jz();b.includes(a)&&(c=b.filter(function(e){return e!=a}),Iz(c));
return d["return"](Promise.all([Hz("index",a+"|",a+"~"),Hz("media",a+"|",a+"~")]))})};
Tga=function(){return Ca(function(a){delete window.localStorage["yt-player-lv"];return a["return"](Oga())})};
Ez=function(a){return new Promise(function(b,c){a.onsuccess=function(){return b(a.result)};
a.onerror=function(){return c()}})};
Lz=function(a,b){this.Uf=a;this.o=b};
Mz=function(a,b){this.Uf=a;this.o=b};
Uga=function(a){var b=[];(0,g.y)(a,function(c){if(c.url){var d=Dv(c.type,"medium","0");b.push(new Mz(d,c.url))}});
return b};
Vga=function(a,b){this.o=new Uint8Array(a.buffer,0,16);this.u=new Uint8Array(a.buffer,16);this.encryptedClientKey=b};
g.Nz=function(a,b,c,d){this.ud=new Set;this.H=a;this.J=b;a=c.split("#");this.C=parseInt(a[0],10);this.B=parseInt(a[1],10);this.w=parseInt(a[2],10);this.columns=parseInt(a[3],10);this.rows=parseInt(a[4],10);this.o=parseInt(a[5],10);this.A=a[6];this.F=a[7];this.P=d};
Oz=function(a,b){var c=a.J;c=c.replace("$N",a.A);c=c.replace("$L",a.H.toString());c=c.replace("$M",b.toString());a.F&&(c=g.eh(c,{sigh:a.F}));return $s(c)};
g.Pz=function(a,b){b>=a.gt()&&a.yl();var c=Math.floor(b/(a.columns*a.rows)),d=a.columns*a.rows,e=b%d,f=e%a.columns;e=Math.floor(e/a.columns);var k=a.yl()+1-d*c;if(k<a.columns){var l=k;d=1}else l=a.columns,d=k<d?Math.ceil(k/a.columns):a.rows;return{url:Oz(a,c),column:f,columns:l,row:e,rows:d,Jo:a.C*l,Io:a.B*d}};
Qz=function(a){g.Q.call(this);this.w=new g.to;this.o=null;this.F=new Set;this.C=a||""};
Sz=function(a,b,c){for(c=Rz(a,c);0<=c;){var d=a.levels[c];if(d.Pb(Math.floor(b/(d.columns*d.rows)))&&(d=g.Pz(d,b)))return d;c--}return g.Pz(a.levels[0],b)};
Uz=function(a,b,c){c=Rz(a,c);for(var d,e;0<=c;c--)if(d=a.levels[c],e=Math.floor(b/(d.columns*d.rows)),!d.Pb(e)){d=a;var f=c,k=f+"-"+e;d.F.has(k)||(d.F.add(k),g.so(d.w,f,{zy:f,dA:e}))}Tz(a)};
Tz=function(a){if(!a.o&&!a.w.isEmpty()){var b=a.w.remove(),c=new Image;a.C&&(c.crossOrigin=a.C);c.src=Oz(a.levels[b.zy],b.dA);c.onload=(0,g.x)(a.H,a,b.zy,b.dA);a.o=c}};
Vz=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;Qz.call(this,c);this.isLive=d;this.G=!!e;this.levels=this.u(a,b);this.A=new Map;1<this.levels.length&&this.levels[0].isDefault()&&this.levels.splice(0,1)};
Wz=function(a,b,c){return(a=a.levels[b])?a.Fo(c):-1};
Rz=function(a,b){var c=a.A.get(b);if(c)return c;c=a.levels.length;for(var d=0;d<c;d++)if(a.levels[d].C>=b)return a.A.set(b,d),d;a.A.set(b,c-1);return c-1};
Xz=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.Nz.call(this,a,b,c,0);this.u=null;this.G=d?3:0};
Yz=function(a,b,c,d){Vz.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;a<this.levels.length;a++)this.levels[a].XB(c)};
Zz=function(a){try{return g.Lf(a)}catch(b){return null}};
Wga=function(a){return navigator.mediaCapabilities?$z(a.videoInfos).then(function(){return a},function(){return a}):Zp(a)};
$z=function(a){var b=navigator.mediaCapabilities;if(!b)return Zp(a);var c=(0,g.A)(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.o||1E6,framerate:d.video.fps||30}:null})});
return fba(c).then(function(d){for(var e=0;e<d.length;e++)a[e].w=d[e].smooth;return a},function(){return a})};
bA=function(a){for(var b={},c=g.q(Object.keys(aA)),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[aA[d]];e&&(b[d]=e)}return b};
cA=function(a,b){for(var c={},d=g.q(Object.keys(aA)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b?b+e:e;f=a[f+"_webp"]||a[f];g.Ws(f)&&(c[aA[e]]=f)}return c};
fA=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=g.q(Object.keys(dA)),d=c.next();!d.done;d=c.next()){var e=Number(d.value);d=dA[e];for(var f=g.q(a),k=f.next();!k.done;k=f.next())if(k=k.value,k.width>=e){e=eA(k.url);g.Ws(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=eA(a.url),g.Ws(a)&&(b["maxresdefault.jpg"]=a));return b};
eA=function(a){return a.startsWith("//")?"https:"+a:a};
g.gA=function(a){if(a.simpleText)return a.simpleText;if(a.runs){var b=[];a=g.q(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.hA=function(a){if(a.simpleText)return a=document.createTextNode(a.simpleText),a;var b=[];if(a.runs)for(var c=0;c<a.runs.length;c++){var d=a.runs[c];d.text&&b.push(Xga(d))}return 1==b.length?b[0]:g.Ud("SPAN",null,b)};
Xga=function(a){var b=null,c=a.text;a.bold&&(b=g.Ud("B",null,b||c));a.italics&&(b=g.Ud("I",null,b||c));a.strikethrough&&(b=g.Ud("STRIKE",null,b||c));a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint&&(a=a.navigationEndpoint.urlEndpoint,b=g.Ud("A",null,b||c),g.Zc(b,a.url),"TARGET_NEW_WINDOW"==a.target&&(b.target="_blank"));return b||g.Ud("SPAN",null,c)};
iA=function(a){return a&&a.baseUrl||""};
jA=function(a){a=g.ep(a);for(var b in a){var c=a[b];a[b]=g.La(c)?c[0]:c}return a};
Zga=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next())if(d=d.value.playerAnnotationsUrlsRenderer){d.adsOnly&&(a.Hm=!0);d.allowInPlaceSwitch&&(a.nq=!0);if(c=d.loadPolicy)a.annotationsLoadPolicy=Yga[c];if(c=d.invideoUrl)a.Xd=$s(c);a.Yr=!0;break}};
$ga=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;var c=b.playerAttestationRenderer.challenge;null!=c&&(a.Ji=c)};
aha=function(a,b){a.captionTracks=[];if(b.captionTracks)for(var c=g.q(b.captionTracks),d=c.next();!d.done;d=c.next()){d=d.value;var e=kA(d.baseUrl);if(!e)return;d=new g.nz({is_translateable:!!d.isTranslatable,languageCode:d.languageCode,languageName:d.name&&g.gA(d.name),url:e,vss_id:d.vssId,kind:d.kind});a.captionTracks.push(d)}a.xq=b.audioTracks||[];a.lw=b.defaultAudioTrackIndex||0;a.mw=b.translationLanguages?(0,g.A)(b.translationLanguages,function(f){return{languageCode:f.languageCode,languageName:g.gA(f.languageName)}}):
[];
a.Sm=!!b.contribute&&!!b.contribute.captionsMetadataRenderer};
bha=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.gA(d);if(c=c.subreason)a.Kh=g.gA(c),a.mn=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"}};
cha=function(a,b){var c=b.heartbeatToken;c&&(a.drmSessionId=b.drmSessionId||"",a.heartbeatToken=c,a.Tx=parseInt(b.intervalMilliseconds,10),a.Ux=parseInt(b.maxRetries,10),a.Vx=!!b.softFailOnError,a.by=!!b.useInnertubeHeartbeatsForDrm,a.pm=!0)};
dha=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.interstitials.map(function(f){var k=f.unserializedPlayerResponse;if(k&&!a.fa("web_player_unserialized_interstitial_killswitch"))return{is_yto_interstitial:!0,raw_player_response:k};if(f=f.playerVars)return Object.assign({is_yto_interstitial:!0},cp(f))})[0];
switch(e.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":a.interstitials=a.interstitials.concat({time:0,playerVars:d,Hp:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":a.interstitials=a.interstitials.concat({time:0x7ffffffffffff,playerVars:d,Hp:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":e=parseInt(e.podConfig.timeToInsertAtMillis,10),a.interstitials=a.interstitials.concat({time:e,playerVars:d,Hp:0==e?5:7})}}};
eha=function(a,b){var c=b.find(function(d){return!(!d||!d.tooltipRenderer)});
c&&(a.tooltipRenderer=c.tooltipRenderer)};
fha=function(a,b){var c=b.playerLegacyMulticameraRenderer;c&&(c=c.metadataList)&&(a.eA=c,a.yh=dp(c))};
gha=function(a,b){var c=b.playerControlsOverlayRenderer;if(c){var d=c.controlBgHtml;null!=d?(a.Qf=d,a.uc=!0):(a.Qf="",a.uc=!1);c.mutedAutoplay?(c=c.mutedAutoplay.playerMutedAutoplayOverlayRenderer)&&c.endScreen&&(c=c.endScreen.playerMutedAutoplayEndScreenRenderer)&&c.text&&(a.fA=g.gA(c.text)):a.mutedAutoplay=!1}};
hha=function(a,b){var c=b.backgroundability;c&&c.backgroundabilityRenderer.backgroundable&&(a.backgroundable=!0);if(c=b.contextParams)a.contextParams=c;(c=b.pictureInPicture)&&c.pictureInPictureRenderer.playableInPip&&(a.pipable=!0);b.playableInEmbed&&(a.allowEmbed=!0);var d=b.ypcClickwrap;d&&(c=d.playerLegacyDesktopYpcClickwrapRenderer,d=d.ypcRentalActivationRenderer,c?(a.nm=c.durationMessage||"",a.Vj=!0):d&&(c=d.durationMessage,a.nm=c?g.gA(c):"",a.Vj=!0))};
iha=function(a,b,c){var d=iA(b.googleRemarketingUrl);d&&(a.googleRemarketingUrl=d);if(d=iA(b.youtubeRemarketingUrl))a.youtubeRemarketingUrl=d;if(d=iA(b.ptrackingUrl)){d=jA(d);var e=d.oid;e&&(a.gB=e);if(e=d.pltype)a.hB=e;if(e=d.ptchn)a.fB=e;if(d=d.ptk)a.Ro=encodeURIComponent(d)}if(d=iA(b.ppvRemarketingUrl))a.ppvRemarketingUrl=d;if(d=iA(b.qoeUrl)){d=g.ep(d);for(var f in d)e=d[f],d[f]=g.La(e)?e.join(","):e;if(f=d.cat)a.Ll=f;if(f=d.live)a.ks=f}if(f=iA(b.remarketingUrl)){a.remarketingUrl=f;d=jA(f);d.foc_id&&
(a.Oc.focEnabled=!0);if(d=d.data)a.Oc.rmktEnabled=!0,d.engaged&&(a.Oc.engaged="1");d=a.Oc;e=f.match(Ug);d.baseUrl=Sg(e[1],null,e[3],e[4])+Tg(g.Vg(5,f))}if(f=iA(b.videostatsPlaybackUrl)){f=jA(f);if(d=f.adformat)c.adformat=d;if(c=f.autoplay)a.hh="1"==c;if(c=f.autonav)a.fj="1"==c;if(c=f.delay)a.Je=g.hd(c);if(c=f.ei)a.eventId=c;"adunit"==f.el&&(a.hh=!0);if(c=f.feature)a.Ol=c;if(c=f.list)a.playlistId=c;if(c=f.of)a.Mt=c;if(c=f.osid)a.osid=c;if(c=f.referrer)a.referrer=c;if(c=f.sdetail)a.Xo=c;if(c=f.sourceid)a.HT=
c;if(c=f.ssrt)a.Wl="1"==c;if(c=f.subscribed)a.subscribed="1"==c,a.Oc.subscribed=c;if(c=f.uga)a.userGenderAge=c;if(c=f.upt)a.zp=c;if(c=f.vm)a.videoMetadata=c}b.promotedPlaybackTracking&&(b=b.promotedPlaybackTracking,b.startUrls&&(a.Uo=b.startUrls[0]),b.firstQuartileUrls&&(a.Tt=b.firstQuartileUrls[0]),b.secondQuartileUrls&&(a.Ut=b.secondQuartileUrls[0]),b.thirdQuartileUrls&&(a.Vt=b.thirdQuartileUrls[0]),b.completeUrls&&(a.St=b.completeUrls[0]))};
jha=function(a,b,c){b=g.q(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.hh=!0);a.adSafetyReason=d.encodedAdSafetyReason||null;void 0!=d.showContentThumbnail&&(a.Xl=!!d.showContentThumbnail);c.enabled_engage_types=d.enabledEngageTypes;break}};
kha=function(a,b){var c=b.daiConfig;c&&c.enableDai&&(a.Ob=!0);if(c=b.audioConfig){var d=c.loudnessDb;null!=d&&(a.Ql=d);c.audioMuted&&(a.Bh=!0);c.muteOnStart&&(a.Bh=!0)}(c=b.playbackEndConfig)&&(c=c.endSeconds)&&a.mutedAutoplay&&(a.endSeconds=c);if(c=b.fairPlayConfig){if(d=c.certificate)a.Ke=Zz(d);d=parseInt(c.keyRotationPeriodMs,10);0<d&&(a.hn=d);c=parseInt(c.keyPrefetchMarginMs,10);0<c&&(a.gn=c)}if(c=b.playbackStartConfig){a.Qt=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.qp=.001*parseInt(c,10)}}else if(c=b.skippableSegmentsConfig){if(d=c.introSkipDurationMs)a.Jr=parseInt(d,10)/1E3;if(c=c.outroSkipDurationMs)a.Lt=parseInt(c,10)/1E3}if(d=b.skippableIntroConfig)c=parseInt(d.startMs,10),d=parseInt(d.endMs,10),isNaN(c)||isNaN(d)||(a.ey=c,a.dy=d);if(c=b.streamSelectionConfig)a.ag=parseInt(c.maxBitrate,10);(c=b.visualizerConfig)&&c.isVisualizerEligible&&
(a.isVisualizerEligible=!0);if(c=b.vrConfig)a.Vh="1"==c.partialSpherical;if(c=b.webDrmConfig){c.skipWidevine&&(a.aC=!0);if(d=c.widevineServiceCert)a.lm=Zz(d);c.useCobaltWidevine&&(a.useCobaltWidevine=!0);c.startWithNoQualityConstraint&&(a.rk=!0)}if(c=b.mediaCommonConfig)if(c=c.dynamicReadaheadConfig)a.maxReadAheadMediaTimeMs=c.maxReadAheadMediaTimeMs||NaN,a.minReadAheadMediaTimeMs=c.minReadAheadMediaTimeMs||NaN,a.readAheadGrowthRateMs=c.readAheadGrowthRateMs||NaN};
rha=function(a,b,c){var d=b.adaptiveFormats;if(d){var e=[];d=g.q(d);for(var f=d.next();!f.done;f=d.next()){var k=f.value;f=k.indexRange;var l=k.initRange;f={itag:k.itag,url:k.url,index:f?f.start+"-"+f.end:"0-0",bitrate:k.bitrate,init:l?l.start+"-"+l.end:"0-0",type:k.mimeType,clen:k.contentLength,lmt:k.lastModified,xtags:k.xtags};if(l=k.audioTrack){var m=l.displayName;m&&(f.name=m,f.audio_track_id=l.id,l.audioIsDefault&&(f.isDefault="1"))}if(l=k.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=k.cipher||k.signatureCipher)?(l=cp(l),f.sp=l.sp,f.s=l.s,f.url=l.url):f.url=k.url;l=k.width;m=k.height;null!=l&&null!=m&&(f.size=l+"x"+m);(l=k.fps)&&(f.fps=l);(l=k.type)&&(f.stream_type=lha[l]);(l=k.projectionType)&&(f.projection_type=mha[l]);(l=k.stereoLayout)&&(f.stereo_layout=nha[l]);(l=k.spatialAudioType)&&(f.spatial_audio_type=oha[l]);if(m=k.drmFamilies){l=[];m=g.q(m);for(var n=m.next();!n.done;n=m.next())l.push(lA[n.value]);
f.drm_families=l.join(",")}(l=k.qualityLabel)&&(f.quality_label=l);(l=k.targetDurationSec)&&(f.target_duration_sec=l);(l=k.maxDvrDurationSec)&&(f.max_dvr_duration_sec=l);(l=k.audioSampleRate)&&(f.audio_sample_rate=l);(l=k.audioChannels)&&(f.audio_channels=l);if(k=k.colorInfo)(l=k.primaries)&&(l=pha[l])&&(f.primaries=l),(k=k.transferCharacteristics)&&(k=qha[k])&&(f.eotf=k);e.push(g.ch(f))}a.adaptiveFormats=e.join(",")}if(d=b.formats){e=[];k=g.q(d);for(f=k.next();!f.done;f=k.next())f=f.value,e.push(f.itag+
"/"+f.width+"x"+f.height);a.ar=e.join(",");e=[];d=g.q(d);for(f=d.next();!f.done;f=d.next()){f=f.value;k={itag:f.itag,type:f.mimeType,quality:f.quality};(l=f.url)&&(k.url=l);if(l=f.cipher)l=cp(l),k.sp=l.sp,k.s=l.s,k.url=l.url;f.stereo3d&&(k.stereo3d=1);e.push(g.ch(k))}a.Sj=e.join(",")}if(f=b.hlsFormats){e={};if(c&&(c=c.audioPairingConfig)&&c.pairs)for(c=g.q(c.pairs),d=c.next();!d.done;d=c.next())d=d.value,e[d.videoItag]=d.audioItag;c={};d=g.q(f);for(k=d.next();!k.done;k=d.next())k=k.value,c[k.itag]=
k.bitrate;d=[];f=g.q(f);for(k=f.next();!k.done;k=f.next()){l=k.value;k={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)k.name=n,k.audio_track_id=m.id,m.audioIsDefault&&(k.is_default="1");if(l.drmFamilies){m=[];n=g.q(l.drmFamilies);for(var p=n.next();!p.done;p=n.next())m.push(lA[p.value]);k.drm_families=m.join(",")}l=e[l.itag];m=c[l];l&&m&&(k.audio_itag=l,k.bitrate+=m);d.push(g.ch(k))}a.hlsFormats=d.join(",")}if((e=
b.licenseInfos)&&0<e.length){c={};e=g.q(e);for(d=e.next();!d.done;d=e.next())f=d.value,d=f.drmFamily,f=f.url,d&&f&&(c[lA[d]]=f);a.Nc=c}if(c=b.drmParams)a.drmParams=c;if(c=b.dashManifestUrl)a.Zd=g.eh(c,{cpn:a.clientPlaybackNonce});if(c=b.hlsManifestUrl)a.hlsvp=c;if(b=b.probeUrl)a.probeUrl=$s(g.eh(b,{cpn:a.clientPlaybackNonce}))};
sha=function(a,b,c){var d=b.videoId;d&&(a.videoId=d,c.video_id||(c.video_id=d));a.fa("web_player_uid_killswitch")||(d=b.channelId)&&(a.Oc.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=mA(d);if(d=b.channelId)a.wg=d,c.ucid||(c.ucid=d);if(d=b.viewCount)a.EB=parseInt(d,10);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.ua=c,a.isPremiere=!!c&&!b.isLiveContent);if(b=b.thumbnail)a.We=fA(b)};
tha=function(a,b){if(b.playerLegacyDesktopYpcTrailerRenderer){var c=b.playerLegacyDesktopYpcTrailerRenderer;a.Qp=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.om=e?g.gA(e):""}c&&(a.Kp=c.itemTitle||"",c.itemUrl&&(a.Lp=c.itemUrl),c.itemBuyUrl&&(a.Ip=c.itemBuyUrl),a.Jp=c.itemThumbnail||
"",a.Op=c.offerHeadline||"",a.Np=c.offerDescription||"",a.Pp=c.offerId||"",a.Mp=c.offerButtonText||"",a.Su=c.offerButtonFormattedText||null,a.qm=c.overlayDurationMsec||NaN,a.om=c.fullVideoMessage||"",a.Hi=!0);d&&((c=d.unserializedPlayerResponse)&&!a.fa("web_player_unserialized_ypc_killswitch")?a.Wj={raw_player_response:c}:(c=d.playerVars,a.Wj=c?cp(c):null),a.Hi=!0)};
vha=function(a,b,c,d){b.isLiveDefaultBroadcast&&(a.isLiveDefaultBroadcast=!0);if(b.isPostLiveDvr)a.ze=!0;else{var e=!1;if(a.cg)a.allowLiveDvr=nA(!0),a.ua=!0;else if(b.isLive){d.livestream="1";a.allowLiveDvr=nA(!!b.isLiveDvrEnabled);a.Ee=27;b.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);if(e=b.latencyClass)a.latencyClass=uha[e]||"UNKNOWN";a.tk=!0;if(b=b.liveChunkReadahead)a.liveChunkReadahead=b;if(c=c&&c.livePlayerConfig)if(c.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0),c.hasSubfragmentedWebm&&
(a.bj=!0),c.defraggedFromSubfragments&&(a.defraggedFromSubfragments=!0),c=c.liveExperimentalContentId)a.liveExperimentalContentId=parseInt(c,10);e=!0}else b.isUpcoming&&(e=!0);e&&(a.ua=!0,d.adformat&&"8"!=d.adformat.split("_")[1]||(a.fa("live_fresca_v2")?a.Qc.push("heartbeat"):(a.on=!0,a.Qc.push("fresca"))),a.pm=!0,a.en=!0)}};
oA=function(a,b){Wr.call(this,1,arguments)};
pA=function(a,b){Wr.call(this,1,arguments);this.o=a};
wha=function(){this.timing={};this.clearResourceTimings=function(){};
this.webkitClearResourceTimings=function(){};
this.mozClearResourceTimings=function(){};
this.msClearResourceTimings=function(){};
this.oClearResourceTimings=function(){}};
rA=function(a){var b=qA(a);if(b.aft)return b.aft;a=g.M((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};
sA=function(a){return!!g.w("yt.timing."+(a||"")+"pingSent_")};
tA=function(a,b){g.Ha("yt.timing."+(b||"")+"pingSent_",a,void 0)};
vA=function(a){return g.w("ytcsi."+(a||"")+"data_")||uA(a)};
wA=function(a){a=vA(a);a.info||(a.info={});return a.info};
qA=function(a){a=vA(a);a.tick||(a.tick={});return a.tick};
xA=function(a){var b=vA(a).nonce;b||(b=Lr(),vA(a).nonce=b);return b};
uA=function(a){var b={tick:{},info:{}};g.Ha("ytcsi."+(a||"")+"data_",b,void 0);return b};
zA=function(a){var b=qA(a||""),c=rA(a);c&&!yA&&(Zr(xha,new oA(Math.round(c-b._start),a)),yA=!0)};
AA=function(){var a=g.w("ytcsi.debug");a||(a=[],g.Ha("ytcsi.debug",a,void 0),g.Ha("ytcsi.reference",{},void 0));return a};
CA=function(a){a=a||"";var b=BA();if(b[a])return b[a];var c=AA(),d={timerName:a,info:{},tick:{}};c.push(d);return b[a]=d};
BA=function(){var a=g.w("ytcsi.reference");if(a)return a;AA();return g.w("ytcsi.reference")};
DA=function(){this.o=0};
EA=function(){DA.o||(DA.o=new DA);return DA.o};
GA=function(a,b){FA[b]=FA[b]||{count:0};var c=FA[b];c.count++;c.time=(0,g.O)();a.o||(a.o=Ip(function(){var d=(0,g.O)(),e;for(e in FA)FA[e]&&6E4<d-FA[e].time&&delete FA[e];a&&(a.o=0)},5E3));
return 5<c.count?(6===c.count&&1>1E5*Math.random()&&(c=new Bp("CSI data exceeded logging limit with key",b),0===b.indexOf("info")?Dp(c):Cp(c)),!0):!1};
HA=function(a){return!!g.M("FORCE_CSI_ON_GEL",!1)||g.Xo("csi_on_gel")||!!vA(a).useGel};
LA=function(a,b,c){c=IA(c);if(c.gelInfos)c.gelInfos["info_"+a]=!0;else{var d={};c.gelInfos=(d["info_"+a]=!0,d)}if(a in JA){c=JA[a];g.bb(yha,c)&&(b=!!b);a in KA&&"string"===typeof b&&(b=KA[a]+b.toUpperCase());a=b;b=c.split(".");d=c={};for(var e=0;e<b.length-1;e++){var f=b[e];d[f]={};d=d[f]}d[b[b.length-1]]=a;return ts({},c)}g.bb(zha,a)||Dp(new Bp("Unknown label logged with GEL CSI",a))};
IA=function(a){a=vA(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};
NA=function(a,b,c){null!==b&&(wA(c)[a]=b,HA(c)?(a=LA(a,b,c))&&MA(a,c):CA(c||"").info[a]=b)};
MA=function(a,b){if(HA(b)){var c=CA(b||"");ts(c.info,a);c=IA(b);"gelInfos"in c||(c.gelInfos={});ts(c.gelInfos,a);c=xA(b);EA().info(a,c)}};
OA=function(a,b){var c=qA(b);return a in c};
PA=function(a){uA(a);Aha();tA(!1,a);a||(g.M("TIMING_ACTION")&&Co("PREVIOUS_ACTION",g.M("TIMING_ACTION")),Co("TIMING_ACTION",""))};
UA=function(a,b,c){var d=(c=c?c:a)||"",e=BA();e[d]&&delete e[d];var f=AA(),k={timerName:d,info:{},tick:{}};f.push(k);e[d]=k;CA(c||"").info.actionType=a;QA(c);PA(c);vA(c).useGel=!0;Co(c+"TIMING_AFT_KEYS",b);Co(c+"TIMING_ACTION",a);RA("c",c);HA(c)&&(a={actionType:SA[g.M((c||"")+"TIMING_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN",previousAction:SA[g.M("PREVIOUS_ACTION",void 0)]||"LATENCY_ACTION_UNKNOWN"},b=xA(c),EA().info(a,b));g.Ha("ytglobal.timing"+(c||"")+"ready_",!0,void 0);TA(c)};
XA=function(a,b,c){var d=qA(c);if(!g.Xo("use_first_tick")||!VA(a,c)){if(!b&&"_"!=a[0]){var e=a;WA.mark&&(xb(e,"mark_")||(e="mark_"+e),c&&(e+=" ("+c+")"),WA.mark(e))}e=b||(0,g.O)();d[a]=e;d=IA(c);d.gelTicks&&(d.gelTicks["tick_"+a]=!0);c||b||(0,g.O)();HA(c)?(CA(c||"").tick[a]=b||(0,g.O)(),d=xA(c),"_start"===a?(e=EA(),GA(e,"baseline_"+d)||hr("latencyActionBaselined",{clientActionNonce:d},{timestamp:b})):EA().tick(a,d,b),zA(c),d=!0):d=!1;d||(TA(c),CA(c||"").tick[a]=b||(0,g.O)())}};
YA=function(a){var b="above_the_fold";WA&&WA.measure&&(xb(b,"measure_")||(b="measure_"+b),a?WA.measure(b,a):WA.measure(b))};
RA=function(a,b){NA("yt_sts",a,b);XA("_start",void 0,b)};
VA=function(a,b){var c=qA(b);return a in c};
ZA=function(a){VA("_start","video_to_ad")&&!VA(a,"video_to_ad")&&XA(a,void 0,"video_to_ad")};
$A=function(a,b,c){null!==b&&(wA(c)[a]=b,HA(c)?(a=LA(a,b,c))&&MA(a,c):CA(c||"").info[a]=b)};
TA=function(a){if(!sA(a)){var b=g.M((a||"")+"TIMING_ACTION",void 0),c=qA(a);if(g.w("ytglobal.timing"+(a||"")+"ready_")&&b&&c._start&&rA(a))if(zA(a),a)aB(a);else{b=!0;var d=g.M("TIMING_WAIT",[]);if(d.length)for(var e=0,f=d.length;e<f;++e)if(!(d[e]in c)){b=!1;break}b&&aB(a)}}};
Bha=function(){switch(yq()){case "hidden":return 0;case "visible":return 1;case "prerender":return 2;case "unloaded":return 3}return-1};
aB=function(a){if(!HA(a)){var b=qA(a),c=wA(a),d=b._start,e=g.M("CSI_SERVICE_NAME","youtube"),f={v:2,s:e,action:g.M((a||"")+"TIMING_ACTION",void 0)},k=c.srt;void 0!==b.srt&&delete c.srt;if(c.h5jse){var l=window.location.protocol+g.w("ytplayer.config.assets.js");(l=WA.getEntriesByName?WA.getEntriesByName(l)[0]:void 0)?c.h5jse=Math.round(c.h5jse-l.responseEnd):delete c.h5jse}b.aft=rA(a);var m=qA(a);l=m.pbr;var n=m.vc;m=m.pbs;l&&n&&m&&l<n&&n<m&&wA(a).yt_pvis&&"youtube"==e&&(NA("yt_lt","hot_bg",a),e=b.vc,
l=b.pbs,delete b.aft,c.aft=Math.round(l-e));for(var p in c)"_"!=p.charAt(0)&&(f[p]=c[p]);b.ps=(0,g.O)();p={};e=[];for(var t in b)"_"!=t.charAt(0)&&(l=Math.round(b[t]-d),p[t]=l,e.push(t+"."+l));f.rt=e.join(",");(b=g.w("ytdebug.logTiming"))&&b(f,p);c=!!c.ap;g.Xo("debug_csi_data")&&(b=g.w("yt.timing.csiData"),b||(b=[],g.Ha("yt.timing.csiData",b,void 0)),b.push({page:location.href,time:new Date,args:f}));b="";for(var u in f)f.hasOwnProperty(u)&&(b+="&"+u+"="+f[u]);f="/csi_204?"+b.substring(1);window.navigator&&
window.navigator.sendBeacon&&c?Sp(f):g.Qp(f);tA(!0,a);Zr(bB,new pA(p.aft+(k||0),a))}};
QA=function(a){if(!HA(a)&&!sA(a)){var b=g.M("CSI_SERVICE_NAME","youtube");g.M((a||"")+"TIMING_ACTION",void 0)&&b&&(XA("aa",void 0,a),NA("ap",1,a),NA("yt_fss","c",a),aB(a))}};
g.cB=function(a,b){g.Q.call(this);this.La=a;this.adModule=!1;this.fk=this.adaptiveFormats="";this.Nc=null;this.drmParams="";this.allowEmbed=!0;this.allowLiveDvr=this.backgroundable=!1;this.Xd="";this.nq=this.Hm=!1;this.ry=null;this.Bh=this.Vj=this.Hi=this.pm=this.on=this.Yr=!1;this.Ql=NaN;this.author="";this.Hg=0;this.uq=this.Hw=this.yq=!1;this.clientScreenNonce=this.clientPlaybackNonce=this.videoCountText=this.channelBanner=this.Nf=this.ik="";this.contentCheckOk=!1;this.Je=0;this.en=this.tk=!1;this.endSeconds=
0;this.Ke=null;this.ar="";this.Dd=!1;this.ag=this.dj=0;this.lq=this.pipable=this.fj=!1;this.eB=0;this.ua=this.cg=this.isPrivate=this.isListed=this.Nr=this.mutedAutoplay=this.hh=!1;this.ks="";this.isLowLatencyLiveStream=this.isLivingRoomDeeplink=this.isLiveDefaultBroadcast=this.Nn=this.Xr=this.ze=!1;this.latencyClass="UNKNOWN";this.Ob=this.isMdxPlayback=this.isPremiere=!1;this.mdxControlMode=null;this.isPharma=!1;this.vf=0;this.reloadReason="";this.Wr=this.oy=this.Sg=!1;this.keywords={};this.Tg="";
this.Qn=0;this.Cp=!1;this.liveChunkReadahead=NaN;this.ls=0;this.Zk=null;this.bl=this.lengthSeconds=0;this.playerParams=this.musicVideoType=null;this.paygated=!1;this.Qc=[];this.Qd=void 0;this.racyCheckOk=!1;this.gp=0;this.va=null;this.autonavState=1;this.se=this.ru=!1;this.qp=this.Qg=this.startSeconds=0;this.Ep=this.iw=this.Mu=Jw;this.Lj=this.suggestions=null;this.zu=!1;this.hlsFormats=this.Sj=this.expandedSubtitle=this.Vq=this.subtitle=this.title="";this.Vn=this.pp=this.Hd=this.rg=this.je=this.Sl=
this.In=null;this.Fi="vvt";this.Su=null;this.RC="";this.qm=NaN;this.Qp=this.Lp=this.Kp=this.Jp=this.Ip=this.Pp=this.om=this.Op=this.Np=this.Mp="";this.Wj=null;this.KB=!1;this.Oc={};this.clipStart=0;this.clipEnd=Infinity;this.heartbeatToken="";this.Ux=this.Tx=NaN;this.oi=this.jj=this.Ah=this.by=this.Vx=!1;this.Xl=!0;this.We={};this.captionTracks=[];this.xq=[];this.lw=0;this.mw=[];this.Sm=!1;this.pk=new pz("und",new nv("Default","und",!0));this.Zr=0;this.sd=null;this.Dj=[];this.yh=[];this.Nu=this.Ml=
"";this.slotPosition=-1;this.breakType=0;this.xd=this.xg=this.Ja=this.Qq=this.gf=null;this.Mr=this.rk=this.useCobaltWidevine=this.aC=this.Vh=this.dg=!1;this.dy=this.ey=NaN;this.defraggedFromSubfragments=this.bj=this.hasSubfragmentedFmp4=!1;this.liveExperimentalContentId=NaN;this.jh=this.Pu=this.Gi=!1;this.interstitials=[];this.uc=this.Or=!1;this.Ll=this.fA=this.Qf="";this.isVisualizerEligible=!1;this.Jt=null;this.Cb=this.Kt="";this.sf=this.ay=!1;this.eA=this.nm="";this.Qt=this.Lt=this.Jr=this.readAheadGrowthRateMs=
this.minReadAheadMediaTimeMs=this.maxReadAheadMediaTimeMs=NaN;this.showShareButton=!0;this.Zl=!1;this.Kj=this.wi=!0;this.errorDetail=this.userGenderAge="";this.getSharePanelCommand=this.removeFromWatchLaterCommand=this.addToWatchLaterCommand=this.unsubscribeCommand=this.subscribeCommand=this.contextParams=this.Kh=this.errorReason=this.errorCode=null;this.Ym=this.Xm="";this.qu=this.fa("web_player_watch_next_response_parsing");this.fa("web_player_ux_module_wait")&&this.La.sa&&this.Qc.push("ux");this.Oq=
this.Qi=!1;this.kB={};this.ip(b)};
eB=function(a,b){a.Rw=nx(a.Rw,b.fflags);var c=b.iv_invideo_url;c&&(a.Xd=$s(c));a.Hm=T(a.Hm,b.iv_ads_only);a.nq=T(a.nq,b.iv_allow_in_place_switch);a.isPharma=T(a.isPharma,b.is_pharma);a.author=nx(a.author,b.author);a.ik=kA(b.ttsurl)||a.ik;a.yq=T(a.yq,b.cc_asr);a.Nf=nx(a.Nf,b.channel_path);a.channelBanner=nx(a.channelBanner,b.channel_banner);a.videoCountText=nx(a.videoCountText,b.video_count_text);a.autonavState=lx(a.autonavState,b.autonav_state,Cha);a.clientPlaybackNonce=nx(a.clientPlaybackNonce,b.cpn);
a.subscribed=T(a.subscribed,b.subscribed);a.EB=mx(a.EB,b.view_count);a.shortViewCount=nx(a.shortViewCount,b.short_view_count_text);a.title=nx(a.title,b.title);a.subtitle=nx(a.subtitle,b.subtitle);a.Vq=nx(a.Vq,b.expanded_title);a.expandedSubtitle=nx(a.expandedSubtitle,b.expanded_subtitle);a.fk=nx(a.fk,b.aria_label);a.ypcPreview=nx(a.ypcPreview,b.ypc_preview);a.Tu=nx(a.Tu,b.ypc_origin);a.nm=nx(a.nm,b.ypc_clickwrap_message);a.paygated=T(a.paygated,b.paygated);a.KB=T(a.KB,b.requires_purchase);a.showShareButton=
!T(!a.showShareButton,b.ss);a.wi=T(a.wi,b.showwatchlater);a.Kj=T(a.Kj,b.shownotifybutton);a.Zl=T(a.Zl,b.copy_share);if(c=b.keywords)a.keywords=mA(c.split(","));if(c=b.rvs)!a.qu||b.raw_watch_next_response||b.watch_next_response||Dp(Error('"rvs" unexpected')),a.suggestions=dp(c);a.contentCheckOk=T(a.contentCheckOk,"1"==b.cco);a.racyCheckOk=T(a.racyCheckOk,"1"==b.rco);a.isLivingRoomDeeplink=T(a.isLivingRoomDeeplink,b.is_living_room_deeplink);a.oauthToken=nx(a.oauthToken,b.oauth_token);a.Tg=nx(a.Tg,b.kpt);
a.visitorData=nx(a.visitorData,b.visitor_data);if(c=b.session_data)a.Nb=ap(c);if(c=b.endscreen_autoplay_session_data)a.Nw=ap(c);a.fn=nx(a.fn,b.endscreen_ad_tracking_data);a.MC=T(a.MC,b.wait_for_vast_info_cards_xml);a.vu=T(a.vu,b.suppress_creator_endscreen);a.ny=T(a.ny,b.is_trueview_action);a.rC=nx(a.rC,b.tracking_list);a.Xm=nx(a.Xm,b.clip);a.Ym=nx(a.Ym,b.clipt);dB(a,b)};
hB=function(a,b){if(a.qu||!a.fa("web_player_set_watch_next_killswitch")){var c=b.raw_watch_next_response;if(!c){var d=b.watch_next_response;d&&(c=JSON.parse(d))}}if(c&&(a.xg=c,a.fa("web_player_include_innertube_commands")&&(c=a.xg.playerOverlays)&&c.playerOverlayRenderer&&(c=c.playerOverlayRenderer,c.subscribeCommand&&(a.subscribeCommand=c.subscribeCommand),c.unsubscribeCommand&&(a.unsubscribeCommand=c.unsubscribeCommand),c.addToWatchLaterCommand&&(a.addToWatchLaterCommand=c.addToWatchLaterCommand),
c.removeFromWatchLaterCommand&&(a.removeFromWatchLaterCommand=c.removeFromWatchLaterCommand),c.getSharePanelCommand&&(a.getSharePanelCommand=c.getSharePanelCommand)),a.fa("embedded_player_watch_next_parse_killswitch")||(c=a.xg.playerOverlays)&&c.playerOverlayRenderer&&(c=c.playerOverlayRenderer,c.videoDetails&&c.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer&&fB(a,b,c.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer)),a.qu)){c=a.xg.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 k=null;if(f){for(var l=g.q(f),m=l.next();!m.done;m=l.next())if((m=m.value.autoplayVideoRenderer)&&m.compactVideoRenderer){k=m.compactVideoRenderer;break}(f=f[0].autoplayVideo)&&(f=f.clickTrackingParams)&&(e.itct=f)}else e.feature="related-auto";if(k){d.autonav="1";d.video_id=k.videoId;if(f=k.shortBylineText)d.author=g.gA(f);if(k=k.title)d.title=g.gA(k)}d.endscreen_autoplay_session_data=g.ch(e);a.suggestions=
[d]}e=c.twoColumnWatchNextResults}c=a.xg.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=d.musicEmbeddedPlayerOverlayVideoDetailsRenderer)a.Yq=d.title,a.Xq=d.byline}if(d=c.actions)for(d=g.q(d),k=d.next();!k.done;k=d.next())k=k.value,k.likeButtonRenderer&&(a.likeButtonRenderer=k.likeButtonRenderer);g.Ax(a.La)&&(a.wi=!!c.addToMenu);gB(a,c.shareButton)}!n&&
e&&(c=e.endScreen&&e.endScreen.endScreen)&&(n=c.results);p&&fB(a,b,p);if(n){p=e||null;e=mx(0,b.autoplay_count);c=[];k=!0;n=g.q(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 t=l.shortBylineText;t&&(d.author=g.gA(t));if(t=l.shortViewCountText)d.short_view_count_text=g.gA(t);m&&(d.title=g.gA(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.q(m),t=m.next();!t.done;t=m.next())if((t=t.value.thumbnailOverlayTimeStatusRenderer)&&"LIVE"==t.style){d.live_playback="1";break}l=fA(l.thumbnail);Object.assign(d,bA(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.gA(m);if(m=l.shortBylineText)d.playlist_author=g.gA(m);f=f.clickTrackingParams;l=fA(l.thumbnail);Object.assign(d,bA(l))}d&&(d.session_data=g.ch({itct:f}),k?(k={autonav:1,playnext:e},d.list&&(k.autoplay="1"),p&&(f=p.autoplay)&&(f=f.autoplay)&&(f=f.sets)&&(f=f[0])&&(f=f.autoplayVideo)&&(f=f.clickTrackingParams)&&(k.itct=f),k.itct||(k.feature="related-auto"),d.endscreen_autoplay_session_data=g.ch(k),c.splice(0,0,d),k=!1):c.push(d))}a.suggestions=c}a.xg.currentVideoThumbnail&&(a.We=fA(a.xg.currentVideoThumbnail))}};
Dha=function(a){if(!a||!a.adPlacements)return!1;a=g.q(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};
kB=function(a){var b=a.sf,c=!!a.ma&&(a.ma.fg()||a.ma.gg()||a.ma.Yf()),d=a.La,e=!!a.ma&&a.ma.Ne,f=iB(a),k=a.Pu;a.isAd();var l=a.Uk();a=jB(a,"html5_samsung_vp9_live");var m=new wga;m.G=f;m.A=k&&d.Eb;cl("windows nt 5.1")&&!g.ow&&(m.o=!0);c&&xx&&6>=yx&&(m.o=!0);if(f=c)f=d.fa("disable_html5_ambisonic_audio")||!(g.Yx(d)||d.fa("html5_enable_spherical")||d.fa("html5_enable_spherical3d"))?!1:Zx(d);f&&(m.F=!0);b&&(m.o=!0,m.U=!0);l&&!g.R(d.experiments,"html5_otf_prefer_vp9")&&(m.o=!0);mw(d.w,ww)&&(g.R(d.experiments,
"html5_enable_aac51")&&(m.w=!0),g.R(d.experiments,"html5_enable_ac3")&&(m.B=!0),g.R(d.experiments,"html5_enable_eac3")&&(m.P=!0));!g.R(d.experiments,"html5_kaios_hd_killswitch")&&sx&&(m.O=480);if(e||c)m.H=!1;m.J=!1;b=ez(d);0<b&&2160>b&&window.SourceBuffer&&SourceBuffer.prototype.changeType&&(m.u=b);2160<=b&&(m.S=!0);Ww()&&(m.V=!1);m.C=a;return m};
oB=function(a,b){var c;(c=!b)||(c=!(!lB(a)&&a.adaptiveFormats));if(c)return!1;c=mB(b);var d=a.Nc;var e=a.lengthSeconds,f=a.ua,k=a.ze,l=a.La.experiments,m=nga(c);d=f||k?mga(c,k,d,l):3==m?lga(c,d,e,l):kga(c,d,e,l);0<c.length&&(c=c[0],c.url&&c.sp&&c.s&&(c=Ry(c.url,c.sp,c.s,a.La.experiments),c=parseInt(c.get("max_sq"),10)||Infinity,isFinite(c)&&(a.Xr=!0)));if(c=d.u)c=!(a.fa("html5_manifestless_vp9")||a.fa("html5_manifestless_vp9_normal_latency")&&(!a.isLowLatencyLiveStream||"NORMAL"==a.latencyClass)||
!Eha(d));if(c)return d.dispose(),!1;nB(a,d);d.w&&d.subscribe("cuepointsadded",a.ww,a);Ny(d)&&(a.jj=!0);return!0};
lB=function(a){return gl()&&!pB(a)};
pB=function(a){return jB(a,"html5_enable_tvos_dash_dogfood")||a.fa("html5_enable_tvos_dash")&&MediaSource.isTypeSupported('audio/webm; codecs="opus"')};
Eha=function(a){return a.u&&Hv('video/webm; codecs="vp9"')&&Rb(a.o,function(b){return yv(b.info)})};
qB=function(a){return!(!a.ma||!a.ma.u)};
sB=function(a){var b=a.va&&a.va.videoInfos.length&&2==a.va.videoInfos[0].wc;if(!(a.va&&a.va.videoInfos.length&&g.bv(a.va.videoInfos[0])||a.fa("html5_streaming_xhr_try_webm")&&b)||!qB(a)||g.fl()&&!a.fa("html5_streaming_xhr_try_cobalt")||g.Cw&&!a.fa("html5_streaming_xhr_try_edge"))return!1;b=a.fa("html5_streaming_response_mediastream_rewrite_v2");var c="ULTRALOW"==a.latencyClass;a=21530001==rB(a);return b||c||a};
tB=function(a){if(!sB(a))return!1;var b="ULTRALOW"==a.latencyClass||21530001==rB(a);return a.fa("html5_live_benchmark_incremental_parsing")&&!b||!Ms()||g.fl()&&(a=bl(),16<=a&&17>a)?!1:window.AbortController||b?!0:!1};
uB=function(a){var b=qB(a),c=tB(a);return(a.hasSubfragmentedFmp4||a.bj)&&b?c&&Ms()?3:2:a.defraggedFromSubfragments&&b?-1:1};
rB=function(a){return a.isLowLatencyLiveStream&&void 0!=a.ma&&5<=bz(a.ma)?21530001:a.liveExperimentalContentId};
vB=function(a){return gl()&&pB(a)?!1:!zw()||a.Hw?!0:!1};
Fha=function(a){a.Dd=!0;a.Ah=!1;if(!a.Zd&&wB(a))Qga(a.videoId).then(function(d){return oB(a,d)},function(){return oB(a,a.adaptiveFormats)}).then(function(){return xB(a)});
else{Vs(a.Zd)||Dp(new Bp("DASH MPD Origin invalid: ",a.Zd));var b=a.Zd,c=g.S(a.La.experiments,"dash_manifest_version")||4;b=g.eh(b,{mpd_version:c});a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||(b=g.eh(b,{pacing:0}));qga(b,a.La.experiments,a.ua).then(a.OK,a.NK,a);XA("mrs")}};
g.yB=function(a){if(a.xd){if(a.xd.locationOverrideToken)return{locationOverrideToken:a.xd.locationOverrideToken};if(null!=a.xd.latitudeE7&&null!=a.xd.longitudeE7)return{latitudeE7:a.xd.latitudeE7,longitudeE7:a.xd.longitudeE7}}return null};
g.zB=function(a){if(!a.xd)return null;var b=null!=a.xd.latitudeE7&&null!=a.xd.longitudeE7?a.xd.latitudeE7+","+a.xd.longitudeE7:",";return b+=","+(a.xd.clientPermissionState||0)+","+(a.xd.locationRadiusMeters||"")+","+(a.xd.locationOverrideToken||"")};
xB=function(a){a.la()||(a.Dd=!1,a.R("dataloaded"))};
nB=function(a,b){a.ma=b;g.H(a,b);AB(a)&&a.Qc.push("webgl");a.ma.isLive||(a.ua=!1);var c=b.sourceUrl.split("/");-1!=c.indexOf("manifest_duration")&&(a.Zk=parseInt(c[c.indexOf("manifest_duration")+1],10))};
BB=function(a){return a.Nc?!0:a.fa("web_player_content_protection_manifest_killswitch")?!1:!!a.ma&&Ny(a.ma)};
Gha=function(a,b){var c=b||vB(a);if(a.ma&&!c){if(iB(a)){c=a.ma;var d=a.ua;if(!c.o["0"]){var e=new xv("0","fakesb",void 0,new qv(0,0,0,void 0,void 0,"auto"),null,null,1);c.o["0"]=d?new ry(new at("http://www.youtube.com/videoplayback"),e,"fake"):new Iy(new at("http://www.youtube.com/videoplayback"),e,new Hu(0,0),new Hu(0,0),0,NaN)}}return Ega(kB(a),a.La.w,a.ma,a.sd).then(a.ou,void 0,a)}return Yp()};
g.CB=function(a){return lB(a)&&a.Ke?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.Ba&&a.Ba.Nc||null};
DB=function(a){var b=a.Ja&&a.Ja.paidContentOverlay&&a.Ja.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.gA(b.text):a.RN};
EB=function(a){var b=a.Ja&&a.Ja.paidContentOverlay&&a.Ja.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?g.hd(b.durationMs):a.eB};
FB=function(a){var b="";if(a.ks)return a.ks;a.ua&&(b=a.allowLiveDvr?"dvr":"live");return b};
g.GB=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]};
HB=function(a){return!!(a.Zd||a.adaptiveFormats||a.Sj||a.Lj||a.hlsvp)};
IB=function(a){var b=g.bb(a.Qc,"ypc");a.ypcPreview&&(b=!1);return a.isValid()&&!a.Dd&&(HB(a)||g.bb(a.Qc,"fresca")||g.bb(a.Qc,"heartbeat")||b)};
mB=function(a,b){var c=dp(a),d={};if(b)for(var e=g.q(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.q(c);for(f=e.next();!f.done;f=e.next()){f=f.value;var k=d[f.itag];k&&(f.width=k.width,f.height=k.height)}return c};
gB=function(a,b){a.showShareButton=!!b;if(b){var c=b.buttonRenderer&&b.buttonRenderer.navigationEndpoint;c&&(a.Zl=!!c.copyTextEndpoint)}};
Hha=function(a,b,c){c=c.thumbnailPreviewRenderer;var d=c.controlBgHtml;null!=d?(a.Qf=d,a.uc=!0):(a.Qf="",a.uc=!1);if(d=c.defaultThumbnail)a.We=fA(d);a.fa("web_player_embedded_details_parsing_killswitch")||(d=c.videoDetails&&c.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer)&&fB(a,b,d);if(b=c.videoDetails&&c.videoDetails.musicEmbeddedPlayerOverlayVideoDetailsRenderer)a.Yq=b.title,a.Xq=b.byline,b.musicVideoType&&(a.musicVideoType=b.musicVideoType);a.wi=!!c.addToWatchLaterButton;gB(a,c.shareButton);
c.playButton&&c.playButton.buttonRenderer&&c.playButton.buttonRenderer.navigationEndpoint&&(b=c.playButton.buttonRenderer.navigationEndpoint,b.watchEndpoint&&(b=b.watchEndpoint,b.watchEndpointSupportedOnesieConfig&&b.watchEndpointSupportedOnesieConfig.html5PlaybackOnesieConfig&&(b=b.watchEndpointSupportedOnesieConfig.html5PlaybackOnesieConfig,b.commonConfig&&b.commonConfig.url&&(a.Kt=b.commonConfig.url))))};
fB=function(a,b,c){var d=c.channelThumbnail;d&&(d=d.thumbnails)&&(d=d[0])&&(b.profile_picture=d.url);if(d=c.channelThumbnailEndpoint&&c.channelThumbnailEndpoint.channelThumbnailEndpoint)if(d=d.urlEndpoint&&d.urlEndpoint.urlEndpoint)b.channel_path=d.url;if(d=c.collapsedRenderer)if(d=d.embeddedPlayerOverlayVideoDetailsCollapsedRenderer){var e=d.title;e&&(b.title=g.gA(e));if(d=d.subtitle)b.subtitle=g.gA(d)}if(c=c.expandedRenderer)if(c=c.embeddedPlayerOverlayVideoDetailsExpandedRenderer){if(d=c.title)b.expanded_title=
g.gA(d);if(d=c.subtitle)b.expanded_subtitle=g.gA(d);if(c=c.subscribeButton)if(c=c.subscribeButtonRenderer)b.ucid=c.channelId,b.subscribed=c.subscribed,a.Kj=!!c.notificationPreferenceToggleButton}};
g.JB=function(a){return a.ua&&!a.allowLiveDvr};
KB=function(a){return a.ua&&a.allowLiveDvr};
AB=function(a){return a.gg()||a.fg()||a.ej()||a.Yf()};
Iha=function(a){a.va=a.va.u};
g.LB=function(a){if(a.vu)return null;var b=a.ry;b||(b=a.Ja&&a.Ja.endscreen&&a.Ja.endscreen.endscreenUrlRenderer&&a.Ja.endscreen.endscreenUrlRenderer.url);return b||null};
g.MB=function(a){return a.vu?null:a.Ja&&a.Ja.endscreen&&a.Ja.endscreen.endscreenRenderer||null};
g.NB=function(a){return a.Ja&&a.Ja.cards&&a.Ja.cards.cardCollectionRenderer||null};
g.OB=function(a){if(!a.Ja||!a.Ja.annotations)return null;a=g.q(a.Ja.annotations);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.playerAnnotationsExpandedRenderer&&b.playerAnnotationsExpandedRenderer.featuredChannel)return b.playerAnnotationsExpandedRenderer;return null};
PB=function(a){return a.adFormat&&"1_5"!=a.adFormat?"adunit":a.La.O};
QB=function(a){return a.hh||"detailpage"==PB(a)||a.mutedAutoplay};
RB=function(a){if(QB(a)){if("detailpage"==PB(a))return a.fj||0<a.vf;if("adunit"!=PB(a)||!a.Kl)return!0}return!1};
SB=function(a){var b=1,c=g.S(a.La.experiments,"html5_default_ad_gain");c&&a.isAd()&&(b=c);return Math.min(1,Math.pow(10,-a.Ql/20))||b};
iB=function(a){var b=["MUSIC_VIDEO_TYPE_ATV","MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"],c="TVHTML5_SIMPLY"==a.La.deviceParams.c&&"MUSIC"==a.La.deviceParams.ctheme;!a.Gi&&(Vx(a.La)||c)&&b.includes(a.musicVideoType)&&(a.Gi=!0);if(b=g.fl())b=/Starboard\/([0-9]+)/.exec(g.Mb),b=10>(b?parseInt(b[1],10):NaN);if(c=!a.Gi)c=a.La,c="TVHTML5_CAST"==c.deviceParams.c||"TVHTML5"==c.deviceParams.c&&c.deviceParams.cver.startsWith("6.20130725");c&&"MUSIC"==a.La.deviceParams.ctheme&&!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"===
a.musicVideoType,c=a.fa("cast_prefer_audio_only_for_atv_and_uploads")&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c)&&(a.Gi=!0);return!a.La.deviceHasDisplay||a.Gi&&a.La.Eb};
TB=function(a){return!!(a.fa("mweb_hoffline")&&a.adaptiveFormats&&a.Qi&&a.La.Eb)};
wB=function(a){var b;if(b=a.fa("mweb_hoffline")&&a.adaptiveFormats)b=a.videoId,b=!!b&&Jz().includes(b);return!(!b||a.Qi)};
UB=function(a){return(a=a.Qq)&&a.showError?a.showError:!1};
VB=function(a){return a.fa("disable_rqs")?!1:jB(a,"html5_high_res_logging")};
jB=function(a,b){return a.fa(b)?!0:(a.Rw||"").includes(b+"=true")};
dB=function(a,b){var c=b.video_masthead_ad_quartile_urls;c&&(a.Uo=c.quartile_0_url,a.Tt=c.quartile_25_url,a.Ut=c.quartile_50_url,a.Vt=c.quartile_75_url,a.St=c.quartile_100_url)};
nA=function(a){return a?zw()?!0:WB&&5>XB?!1:!0:!1};
mA=function(a){var b={};(0,g.y)(a,function(c){var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0});
return b};
kA=function(a){if(a){if(Ys(a))return a;a=Zs(a);if(Ys(a,!0))return a}return""};
YB=function(a,b){var c={};this.u=(c.c1a=(0,g.x)(this.B,this),c.c3a=(0,g.x)(this.C,this),c.c6a=(0,g.x)(this.A,this),c);this.T=a;this.w=!!b;this.T&&this.T.Ji?this.o=cp(this.T.Ji):this.o=[]};
ZB=function(a){return a.w?!!xs.o:(a=g.w("yt.abuse.player.botguardInitialized"))&&a()};
aC=function(a,b,c){"string"===typeof a&&(a={mediaContentUrl:a,startSeconds:b,suggestedQuality:c});b=/\/([ve]|embed)\/([^#?]+)/.exec(a.mediaContentUrl);a.videoId=b&&b[2]?b[2]:null;return $B(a)};
$B=function(a,b,c){if(g.Oa(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}};
bC=function(a,b,c,d){if(g.Oa(a)&&!g.La(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};"string"===typeof a&&16==a.length?b.list="PL"+a:b.playlist=a;return b};
cC=function(){};
g.dC=function(){g.B.call(this);this.w=null;this.F=this.C=!1;this.B=new g.Me;g.H(this,this.B)};
eC=function(a){a=a.Dk();return 1>a.length?NaN:a.end(a.length-1)};
fC=function(a,b){a.w&&null!==b&&b.o===a.w.o||(a.w&&a.w.dispose(),a.w=b)};
gC=function(a){return Zv(a.Ad(),a.getCurrentTime())};
Jha=function(a,b){if(0==a.he()||0<a.Qe())return!1;var c=0<a.getCurrentTime();if(0<=b){var d=a.Dk();if(d.length||!c)return Wv(d,b)}return c};
hC=function(a){var b=a.Ad();return 0<Yv(b)&&a.getDuration()?Xv(b,a.getCurrentTime()):0};
iC=function(a){var b=a.Ad();return 0<Yv(b)&&a.getDuration()?b.end(b.length-1):0};
jC=function(a){var b=a.getDuration();return Infinity==b?1:b?hC(a)/b:0};
kC=function(a){switch(a.Qe()){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}};
lC=function(a,b,c){g.oe.call(this,b,a);this.u=c||null};
g.mC=function(a){g.dC.call(this);this.o=a;this.u={}};
nC=function(a){this.u=window.Float32Array?new Float32Array(a):Array(a);this.w=this.o=a-1};
oC=function(a){return a.u[a.o]||0};
pC=function(){g.B.call(this);this.w={};this.o={};this.u=new g.J(this.A,250,this);g.H(this,this.u)};
rC=function(a,b,c,d){a.w[b]=c;a.o[b]=new qC(!!d)};
sC=function(a,b){if(a.o[b]){var c=a.o[b].buffer;for(var d=[];c.w!=c.o;)c.w=(c.w+1)%c.u.length,d.push(c.u[c.w]);c=d}else c=[];return c};
tC=function(a,b){return a.o[b]?oC(a.o[b].buffer):0};
qC=function(a){this.u=a;this.buffer=new nC(100);this.o=NaN};
yC=function(a){var b=g.U(a),c=a.getVideoData(),d=a.u,e=d.app.B,f=e.ib(),k=b.sr(),l=b.da,m=8*tC(l,"bandwidth")/1024,n=tC(l,"networkactivity")/1024,p=tC(l,"bufferhealth");if(b.F){var t=b.T.useInnertubeDrmService()?"IT/":"";t+=b.F.o.be()+"/"+Lw(uC(b));t+="/"+b.F.be()}else t="";var u=b.getPlayerState().o.toString(16);var z=e.getCurrentTime().toFixed(2),C=Uv(e.Ad(),",",3);u="s:"+u+" t:"+z+" b:"+C+" ";e.ql()&&(u+="S");e.bh()&&(u+="P");e.rf()&&(u+="E");e=b.B;e=e.o?e.o.da:void 0;e&&(u+=" l:"+e.toFixed());
e=g.Rx();d=g.vC(d).NF;z=c.va&&!c.va.o?"display:none":"";if((C=c.clientPlaybackNonce)&&16==C.length){for(var D=0,E="",G=0;10>G;G++)if(D=(D<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(C.charAt(G)),4==G%5){for(var F="",ka=0;6>ka;ka++)F="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(D&31)+F,D>>=5;E+=F}C=E.substr(0,4)+" "+E.substr(4,4)+" "+E.substr(8,4)}else C="";m={video_id_and_cpn:c.videoId+" / "+C,codecs:"",dims_and_frames:"",bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:p.toFixed(2)+
" s",drm_style:t?"":"display:none",drm:t,debug_info:u,bandwidth_style:z,network_activity_style:z,network_activity_bytes:n.toFixed(0)+" KB",shader_info:d,shader_info_style:d?"":"display:none",playback_categories:""};n=f.clientWidth+"x"+f.clientHeight+(1<e?"*"+e.toFixed(2):"");p="-";k.totalVideoFrames&&(p=(k.droppedVideoFrames||0)+" dropped of "+k.totalVideoFrames);m.dims_and_frames=n+" / "+p;a=a.u.getVolume();k=SB(c);a=Math.round(a)+"% / "+Math.round(a*k)+"%";k=c.Ql.toFixed(1);isFinite(k)&&(a+=" (content loudness "+
k+"dB)");m.volume=a;m.resolution=f.videoWidth+"x"+f.videoHeight;if(a=c.Ba)if(f=a.video)k=f.fps,1<k&&(m.resolution+="@"+k),(k=g.wC(b))&&k.video&&(m.resolution+=" / "+k.video.width+"x"+k.video.height,1<k.video.fps&&(m.resolution+="@"+k.video.fps)),m.codecs=xC(a),!c.sc||a.audio&&a.video||(m.codecs+=" / "+xC(c.sc)),f.o||f.primaries?(a=f.o||"unknown","smpte2084"==a?a+=" (PQ)":"arib-std-b67"==a&&(a+=" (HLG)"),m.color=a+" / "+(f.primaries||"unknown"),m.color_style=""):m.color_style="display:none";f=c.ua;
a=c.ze;m.live_mode_style=f||a?"":"display:none";m.live_latency_style=f?"":"display:none";if(a)m.live_mode="Post-Live"+(qB(c)?" Manifestless":"");else if(f){a=tC(l,"livelatency");m.live_latency_secs=a.toFixed(2)+"s";f=qB(c)?"Manifestless, ":"";k="Uncertain";if(0<=a&&120>a)if(c.latencyClass&&"UNKNOWN"!=c.latencyClass)switch(c.latencyClass){case "NORMAL":k="Optimized for Normal Latency";break;case "LOW":k="Optimized for Low Latency";break;case "ULTRALOW":k="Optimized for Ultra Low Latency";break;default:k=
"Unknown Latency Setting"}else k=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";f+=k;(a=b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(f+=", seq "+a.sequence);m.live_mode=f}b.isGapless()&&(m.playback_categories+="Gapless ");m.playback_categories_style=m.playback_categories?"":"display:none";m.bandwidth_samples=sC(l,"bandwidth");m.network_activity_samples=sC(l,"networkactivity");m.live_latency_samples=sC(l,"livelatency");m.buffer_health_samples=sC(l,"bufferhealth");
jB(c,"web_player_release_debug")?(m.release_name="youtube.player.web_20200302_0_RC0",m.release_style=""):m.release_style="display:none";return m};
xC=function(a){var b=/codecs="([^"]*)"/.exec(a.mimeType);return b&&b[1]?b[1]+" ("+Tu(a)+")":Tu(a)};
AC=function(){var a="ytp-id-"+zC.toString();zC++;return a};
g.BC=function(a){g.B.call(this);this.o={};this.Ua={};this.element=this.createElement(a)};
g.CC=function(a){g.$d(a.element)};
DC=function(a,b,c,d){if("{{"===d.substr(0,2))a.Ua[d]=[b,c];else return d};
Kha=function(a,b){var c=[];if(!b)return c;for(var d=g.q(b),e=d.next();!e.done;e=d.next())if(e=e.value,null!=e){var f=e.nodeType;1===f||3===f?c.push(e):e&&"string"===typeof e.D?c.push(a.createElement(e)):e.element?c.push(e.element):"string"===typeof e&&-1!==e.indexOf("\n")?e.split("\n").forEach(function(k,l){0<l&&c.push(g.Vd("BR"));c.push(g.Wd(k))}):c.push(g.Wd(e))}return c};
EC=function(a,b,c,d){if("child"===c){g.Yd(b);var e;void 0===d?e=void 0:!g.La(d)||d&&"string"===typeof d.D?e=[d]:e=d;c=Kha(a,e);c=g.q(c);for(a=c.next();!a.done;a=c.next())b.appendChild(a.value)}else"style"===c?g.th(b,"cssText",d?d:""):null===d||void 0===d?b.removeAttribute(c):(a=d.toString(),"href"===c&&(a=g.Cc(g.Ec(a))),b.setAttribute(c,a))};
g.V=function(a){g.BC.call(this,a);this.ra=!0;this.P=!1;this.listeners=[]};
g.FC=function(a,b){b?a.show():a.hide()};
g.GC=function(a){g.V.call(this,a);this.ca=new g.Q;g.H(this,this.ca)};
g.IC=function(a,b,c,d){g.GC.call(this,a);this.priority=b;c&&g.HC(this,c);d&&this.ub(d)};
g.JC=function(a,b,c){a=void 0===a?{}:a;b=void 0===b?[]:b;c=void 0===c?!1:c;b.push("ytp-menuitem");"role"in a||(a.role="menuitem");c||"tabindex"in a||(a.tabindex="0");return{D:c?"a":"div",X:b,M:a,K:[{D:"div",I:"ytp-menuitem-icon",W:"{{icon}}"},{D:"div",I:"ytp-menuitem-label",W:"{{label}}"},{D:"div",I:"ytp-menuitem-content",W:"{{content}}"}]}};
KC=function(a,b){a.ha("icon",b)};
g.HC=function(a,b){a.ha("label",b)};
NC=function(a,b){g.B.call(this);var c=this;this.app=a;this.o=!0;this.A=null;this.C={};this.G={};this.w={};this.H=[];this.F={};this.B={};this.u=null;this.P=new Set;this.playerType=b;LC(this,"cueVideoById",this.cueVideoById);LC(this,"loadVideoById",this.loadVideoById);LC(this,"cueVideoByUrl",this.cueVideoByUrl);LC(this,"loadVideoByUrl",this.loadVideoByUrl);LC(this,"playVideo",this.playVideo);LC(this,"pauseVideo",this.pauseVideo);LC(this,"stopVideo",this.stopVideo);LC(this,"clearVideo",this.clearVideo);
LC(this,"getVideoBytesLoaded",this.getVideoBytesLoaded);LC(this,"getVideoBytesTotal",this.getVideoBytesTotal);LC(this,"getVideoLoadedFraction",this.getVideoLoadedFraction);LC(this,"getVideoStartBytes",this.getVideoStartBytes);LC(this,"cuePlaylist",this.cuePlaylist);LC(this,"loadPlaylist",this.loadPlaylist);LC(this,"nextVideo",this.nextVideo);LC(this,"previousVideo",this.previousVideo);LC(this,"playVideoAt",this.playVideoAt);LC(this,"setShuffle",this.setShuffle);LC(this,"setLoop",this.setLoop);LC(this,
"getPlaylist",this.getPlaylist);LC(this,"getPlaylistIndex",this.getPlaylistIndex);LC(this,"getPlaylistId",this.getPlaylistId);LC(this,"loadModule",this.loadModule);LC(this,"unloadModule",this.unloadModule);LC(this,"setOption",this.setOption);LC(this,"getOption",this.getOption);LC(this,"getOptions",this.getOptions);LC(this,"mute",this.mute);LC(this,"unMute",this.unMute);LC(this,"isMuted",this.isMuted);LC(this,"setVolume",this.setVolume);LC(this,"getVolume",this.getVolume);LC(this,"seekTo",this.seekTo);
LC(this,"getPlayerState",this.getPlayerState);LC(this,"getPlaybackRate",this.getPlaybackRate);LC(this,"setPlaybackRate",this.setPlaybackRate);LC(this,"getAvailablePlaybackRates",this.getAvailablePlaybackRates);LC(this,"getPlaybackQuality",function(){return c.getPlaybackQuality(1)});
LC(this,"setPlaybackQuality",this.setPlaybackQuality);LC(this,"getAvailableQualityLevels",this.getAvailableQualityLevels);LC(this,"getCurrentTime",this.getCurrentTime);LC(this,"getDuration",this.getDuration);LC(this,"addEventListener",this.addEventListener);LC(this,"removeEventListener",this.removeEventListener);LC(this,"getDebugText",this.getDebugText);LC(this,"getVideoData",function(){return c.getVideoData()});
LC(this,"addCueRange",this.addCueRange);LC(this,"removeCueRange",this.removeCueRange);LC(this,"setSize",this.setSize);LC(this,"getApiInterface",this.getApiInterface);LC(this,"destroy",this.destroy);LC(this,"showVideoInfo",this.showVideoInfo);LC(this,"hideVideoInfo",this.hideVideoInfo);LC(this,"isVideoInfoVisible",this.isVideoInfoVisible);LC(this,"getSphericalProperties",this.getSphericalProperties);LC(this,"setSphericalProperties",this.setSphericalProperties);this.app.N().Zb||(LC(this,"getVideoEmbedCode",
this.getVideoEmbedCode),LC(this,"getVideoUrl",this.getVideoUrl));LC(this,"getMediaReferenceTime",this.getMediaReferenceTime);MC(this,"getInternalApiInterface",this.getInternalApiInterface);MC(this,"getAdState",this.getAdState);MC(this,"sendAbandonmentPing",this.sendAbandonmentPing);MC(this,"setLoopRange",this.setLoopRange);MC(this,"getLoopRange",this.getLoopRange);MC(this,"setAutonavState",this.setAutonavState);MC(this,"seekToLiveHead",this.seekToLiveHead);MC(this,"seekToStreamTime",this.seekToStreamTime);
MC(this,"getStreamTimeOffset",this.getStreamTimeOffset);MC(this,"getVideoData",this.getVideoData);MC(this,"setAutonav",this.setAutonav);MC(this,"isNotServable",this.isNotServable);MC(this,"channelSubscribed",this.channelSubscribed);MC(this,"channelUnsubscribed",this.channelUnsubscribed);MC(this,"isPictureInPictureAllowed",this.isPictureInPictureAllowed);MC(this,"togglePictureInPicture",this.togglePictureInPicture);MC(this,"supportsGaplessAudio",this.supportsGaplessAudio);MC(this,"enqueueVideoByPlayerVars",
function(d){return c.enqueueVideoByPlayerVars(d)});
MC(this,"clearQueue",this.clearQueue);MC(this,"isFastLoad",function(){return!1});
MC(this,"handleExternalCall",this.handleExternalCall);MC(this,"isExternalMethodAvailable",this.isExternalMethodAvailable);MC(this,"getStatsForNerds",this.getStatsForNerds);MC(this,"setScreenLayer",this.setScreenLayer);MC(this,"getCurrentPlaylistSequence",this.getCurrentPlaylistSequence);MC(this,"getPlaylistSequenceForTime",this.getPlaylistSequenceForTime);MC(this,"forceFrescaUpdate",this.forceFrescaUpdate);MC(this,"shouldSendVisibilityState",this.shouldSendVisibilityState);MC(this,"updateFullerscreenEduButtonVisibility",
this.updateFullerscreenEduButtonVisibility);MC(this,"updateFullerscreenEduButtonSubtleModeState",this.updateFullerscreenEduButtonSubtleModeState)};
LC=function(a,b,c){a.C[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
MC(a,b,c);a.H.push(b)};
OC=function(a,b,c){a.G[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)};
MC(a,b,c);a.H.push(b)};
MC=function(a,b,c){a.w[b]=function(d){for(var e=[],f=0;f<arguments.length;++f)e[f-0]=arguments[f];return c.apply(a,e)}};
PC=function(a){a.u||(a.u={},g.Sa(a.u,a.C),g.Sa(a.u,a.G),a.u.addEventListener=(0,g.x)(a.yE,a),a.u.removeEventListener=(0,g.x)(a.zE,a));return a.u};
RC=function(a,b,c){b=g.sd(Math.floor(b),0,100);isFinite(b)&&QC(a.app,{volume:b,muted:a.isMuted()},c)};
SC=function(a,b){QC(a.app,{muted:!0,volume:a.getVolume()},b)};
TC=function(a,b){QC(a.app,{muted:!1,volume:Math.max(5,a.getVolume())},b)};
VC=function(a){a=(a=UC(a.app.A))?a.o:null;return a?(a=a.Bx())?a.P:null:null};
g.WC=function(a){var b=UC(a.app.A);if(b)return b.o;a=a.app.A;return(a=g.Dx(a.o.N())?a.u.get("music"):null)?a.w:null};
XC=function(){this.endTime=this.startTime=-1;this.zq="-";this.playbackRate=1;this.visibilityState=0;this.qq="";this.volume=this.connectionType=this.Cg=0;this.muted=!1;this.clipId="-"};
ZC=function(a){this.u=a;this.J=!1;this.o=0;this.C=-1;this.O=this.u.Tc().volume;this.P=this.u.Tc().muted;this.F=NaN;this.w=0;this.A=[];this.B=YC(this.u);this.G=this.H=0};
$C=function(a){a.B.startTime=a.w;a.B.endTime=a.o;a.A.length&&g.Wa(a.A).isEmpty()?a.A[a.A.length-1]=a.B:a.A.length&&a.B.isEmpty()||a.A.push(a.B);a.H+=a.o-a.w;a.B=YC(a.u);a.w=a.o};
aD=function(a){return a.H+a.u.o()-a.w};
bD=function(a){a.A.length&&a.o==a.w||$C(a);var b=a.A;a.A=[];return b};
cD=function(a,b,c){c-=a.F;return b==a.o&&.5<c};
dD=function(a,b,c,d){this.fb=b;this.segments=[];this.experimentIds=[];this.adQueryId=null;this.Sg=this.U=this.isFinal=this.Aa=this.P=this.autoplay=this.autonav=!1;this.ga="yt";this.u=this.A=null;this.V=!1;this.w="watchtime"==c;this.C="playback"==c;this.S="delayplay"==c;this.O="atr"==c;this.Ea="engage"==c;this.F=!1;this.sa=this.O?"/api/stats/"+c:"//"+b.If+"/api/stats/"+c;d&&(this.U=d.fs,d.rtn&&(this.u=d.rtn),this.w?(this.playerState=d.state,0<d.rti&&(this.A=d.rti)):(this.Ha=d.mos,this.Oa=d.volume,
d.at&&(this.adType=d.at)),d.autonav&&(this.autonav=d.autonav),d.inview&&(this.na=d.inview),d.size&&(this.ra=d.size));this.deviceParams=g.dc(b.deviceParams);this.za=b.Ea;this.experimentIds=b.experiments.experimentIds;this.da=b.lc;this.ga=b.Z;this.region=b.region;this.userAge=b.userAge;this.ea=b.kd;this.Ua=Wq();this.F=b.sendVisitorIdHeader;this.accessToken=a.hf();this.adFormat=a.adFormat;this.adQueryId=a.adQueryId;this.autoplay=RB(a);this.autonav=a.fj||this.autonav;this.contentVideoId=a.Lh();this.clientPlaybackNonce=
a.clientPlaybackNonce;this.P=a.uc;a.Ei&&(this.J=a.Ei,this.ya=a.Fi);a.mdxEnvironment&&(this.mdxEnvironment=a.mdxEnvironment);this.Hg=a.Hg;this.Je=a.Je;a.Ba&&(this.xa=Tu(a.Ba),a.sc&&Tu(a.sc)!=this.xa&&(this.H=Tu(a.sc)));a.ma&&Oy(a.ma)&&(this.offlineDownloadUserChoice="1");this.eventLabel=PB(a);this.Sg=a.Sg;this.dj=a.dj;if(b=FB(a))this.Ia=b;this.bl=a.bl;this.Ee=a.Ee;this.eventId=a.eventId;this.playlistId=a.rC||a.playlistId;this.Xo=a.Xo;this.wf=a.wf;this.xf=a.xf;this.Wl=a.Wl;this.subscribed=a.subscribed;
this.videoId=a.videoId;this.videoMetadata=a.videoMetadata;this.visitorData=a.visitorData;this.osid=a.osid;this.Mt=a.Mt;this.referrer=a.referrer;this.Ol=a.GB||a.Ol;this.Oj=a.Oj;this.zp=a.zp;this.userGenderAge=a.userGenderAge};
eD=function(a,b){var c=a.accessToken&&jp(),d=a.F&&!!a.visitorData;if(!c&&!d)return null;var e={};c&&(e.Authorization="Bearer "+a.accessToken);d&&(e["X-Goog-Visitor-Id"]=a.visitorData);return{headers:e,withCredentials:!0,wd:b}};
Lha=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.eh(a,b);c?g.wp(a,c):g.Qp(a)};
gD=function(a){var b={ns:a.ga,el:a.eventLabel,cpn:a.clientPlaybackNonce,docid:a.videoId,ver:2,referrer:a.referrer,cmt:a.o(a.Hg),ei:a.eventId,fmt:a.xa,fs:a.U?"1":"0",rt:a.o(a.Qa),of:a.Mt,adformat:a.adFormat,content_v:a.contentVideoId,euri:a.za,lact:a.Ua,live:a.Ia,cl:"298482803",mos:a.Ha,osid:a.osid,state:a.playerState,vm:a.videoMetadata,volume:a.Oa};a.adQueryId&&(b.aqi=a.adQueryId);a.subscribed&&(b.subscribed="1");g.Sa(b,a.deviceParams);a.autonav&&(b.autonav="1");a.autoplay&&(b.autoplay="1");a.P&&
(b.dni="1");a.isFinal&&(b["final"]="1");a.Sg&&(b.splay="1");a.Je&&(b.delay=a.Je);a.da&&(b.hl=a.da);a.region&&(b.cr=a.region);a.userGenderAge&&(b.uga=a.userGenderAge);void 0!==a.userAge&&a.ea&&(b.uga=a.ea+a.userAge);void 0!==a.ca&&(b.len=a.o(a.ca));!a.w&&0<a.experimentIds.length&&(b.fexp=a.experimentIds.toString());null!=a.u&&(b.rtn=a.o(a.u));a.Ol&&(b.feature=a.Ol);a.playlistId&&(b.list=a.playlistId);a.wf&&(b.ctrl=a.wf);a.xf&&(b.ytr=a.xf);a.Wl&&(b.ssrt="1");a.H&&(b.afmt=a.H);a.offlineDownloadUserChoice&&
(b.ODUC=a.offlineDownloadUserChoice);a.Z&&(b.lio=a.o(a.Z));a.w?(b.idpj=a.dj,b.ldpj=a.bl,null!=a.A&&(b.rti=a.o(a.A))):void 0!==a.adType&&(b.at=a.adType);a.ra&&(a.C||a.S)&&(b.size=a.ra);null!=a.na&&(a.C||a.S)&&(b.inview=a.o(a.na));a.w&&(b.volume=fD(a,(0,g.A)(a.segments,function(d){return d.volume})),b.muted=fD(a,(0,g.A)(a.segments,function(d){return d.muted?1:0})),b.st=fD(a,(0,g.A)(a.segments,function(d){return d.startTime})),b.et=fD(a,(0,g.A)(a.segments,function(d){return d.endTime})),jj(a.segments,
function(d){return 1!=d.playbackRate})&&(b.rate=fD(a,(0,g.A)(a.segments,function(d){return d.playbackRate}))));
jj(a.segments,function(d){return 0!=d.visibilityState})&&(b.vis=fD(a,(0,g.A)(a.segments,function(d){return d.visibilityState})));
jj(a.segments,function(d){return 0!=d.connectionType})&&(b.conn=fD(a,(0,g.A)(a.segments,function(d){return d.connectionType})));
jj(a.segments,function(d){return 0!=d.Cg})&&(b.blo=fD(a,(0,g.A)(a.segments,function(d){return d.Cg})));
jj(a.segments,function(d){return"-"!=d.zq})&&(b.cc=(0,g.A)(a.segments,function(d){return d.zq}).join(","));
jj(a.segments,function(d){return"-"!=d.clipId})&&(b.clipid=(0,g.A)(a.segments,function(d){return d.clipId}).join(","));
if(jj(a.segments,function(d){return!!d.qq})){var c="au";
a.C&&(c="au_d");b[c]=(0,g.A)(a.segments,function(d){return d.qq}).join(",")}jp()&&a.J&&(b.ctt=a.J,b.cttype=a.ya,b.mdx_environment=a.mdxEnvironment);
a.Ea&&(b.etype=void 0!==a.B?a.B:0);a.Oj&&(b.uoo=a.Oj);a.zp&&(b.upt=a.zp);return b};
fD=function(a,b){return(0,g.A)(b,a.o).join(",")};
hD=function(a,b,c,d,e,f,k,l,m,n,p,t,u){this.videoData=a;this.fb=b;this.Tc=c;this.A=d;this.o=e;this.w=f;this.F=k;this.getAudioTrack=l;this.getPlaybackRate=m;this.B=n;this.getVisibilityState=p;this.C=t||function(){};
this.u=null;this.G=u||function(){}};
g.jD=function(a){return iD(a)()};
iD=function(a){if(!a.u){var b=g.Ra(function(c){var d=(0,g.O)();c&&631152E6>=d&&(g.N(Error("invalid coreTime.now value: "+d)),d=(new Date).getTime()+2);return d},g.R(a.fb.experiments,"html5_validate_yt_now"));
a.u=g.Ra(function(c){return Math.round(b()-c)/1E3},b());
a.G()}return a.u};
lD=function(a){if(navigator.connection&&navigator.connection.type)return kD[navigator.connection.type]||kD.other;if(g.Ix(a.fb)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 1}return 0};
YC=function(a){var b=new XC;b.zq=a.Tc().cc||"-";b.playbackRate=a.getPlaybackRate();var c=a.getVisibilityState();0!=c&&(b.visibilityState=c);a.fb.Cg&&(b.Cg=1);c=a.getAudioTrack();c.sb&&c.sb.id&&"und"!=c.sb.id&&(b.qq=c.sb.id);b.connectionType=lD(a);b.volume=a.Tc().volume;b.muted=a.Tc().muted;b.clipId=a.Tc().clipid||"-";return b};
g.mD=function(a){return(a=Mha[a.toString()])?a:"LICENSE"};
Nha=function(){this.A=this.o=NaN;this.w=this.u=!1};
nD=function(a,b){return b>a.o+.001&&b<a.o+5};
oD=function(a,b,c,d){if(d=1<d)a.w=!0;if(a.u)b!=a.o&&(a.u=!1);else if(0<b&&a.o==b)return c-a.A>(d||!a.w?1500:400);a.o=b;a.A=c;return!1};
g.pD=function(a,b){this.o=a||64;this.u=void 0===b?null:b};
qD=function(a,b){return oD(a,b.getCurrentTime(),(0,g.O)(),gC(b))};
rD=function(a,b,c){return b==a.o&&c==a.u||void 0!=b&&(b&128&&!c||b&2&&b&16)?a:new g.pD(b,c)};
sD=function(a,b){return rD(a,a.o|b)};
tD=function(a,b){return rD(a,a.o&~b)};
uD=function(a,b,c){return rD(a,(a.o|b)&~c)};
g.W=function(a,b){return!!(a.o&b)};
g.vD=function(a,b){return b.o==a.o&&b.u==a.u};
g.wD=function(a){return g.W(a,8)&&!g.W(a,512)&&!g.W(a,64)&&!g.W(a,2)};
g.xD=function(a){return g.W(a,8)&&!g.W(a,2)&&!g.W(a,1024)};
yD=function(a){return g.wD(a)&&!g.W(a,16)&&!g.W(a,32)};
Oha=function(a){return g.W(a,8)&&g.W(a,16)};
g.zD=function(a){return g.W(a,1)&&!g.W(a,2)};
AD=function(a){return g.W(a,128)?-1:g.W(a,2)?0:g.W(a,64)?-1:g.W(a,1)&&!g.W(a,32)?3:g.W(a,8)?1:g.W(a,4)?2:-1};
g.BD=function(a,b){this.state=a;this.o=b};
CD=function(a,b){return g.W(a.state,b)&&!g.W(a.o,b)?1:!g.W(a.state,b)&&g.W(a.o,b)?-1:0};
g.DD=function(a,b){return 0<CD(a,b)};
Qha=function(a,b,c,d){var e=window.location.search;if(38==b.Ee&&"books"==a.playerStyle)return e=b.videoId.indexOf(":"),g.eh("//play.google.com/books/volumes/"+b.videoId.slice(0,e)+"/content/media",{aid:b.videoId.slice(e+1),sig:b.RJ});if(30==b.Ee&&"docs"==a.playerStyle)return g.eh("https://docs.google.com/get_video_info",{docid:b.videoId,authuser:b.Lc,authkey:b.authKey,eurl:a.Ea});if(33==b.Ee&&"google-live"==a.playerStyle)return g.eh("//google-liveplayer.appspot.com/get_video_info",{key:b.videoId});
g.R(a.experiments,"log_invalid_namespame_killswitch")||"yt"==a.Z||g.N(Error("getVideoInfoUrl for invalid namespace: "+a.Z));var f=18324;a.fa("ipp_signature_cipher_killswitch")||(f=g.M("STS",void 0)?g.M("STS",void 0):f);f={html5:"1",video_id:b.videoId,cpn:b.clientPlaybackNonce,eurl:a.Ea,ps:a.playerStyle,el:PB(b),hl:a.lc,list:b.playlistId,agcid:b.SD,aqi:b.adQueryId,sts:f,lact:Wq()};g.Sa(f,a.deviceParams);a.gd&&(f.ecver=a.gd);a.za&&(f.forced_experiments=a.za);b.Df?(f.vvt=b.Df,b.mdxEnvironment&&(f.mdx_environment=
b.mdxEnvironment)):b.hf()&&(f.access_token=b.hf());b.adFormat&&(f.adformat=b.adFormat);0<=b.slotPosition&&(f.slot_pos=b.slotPosition);b.breakType&&(f.break_type=b.breakType);null!=b.Tv&&(f.ad_id=b.Tv);null!=b.Vv&&(f.ad_sys=b.Vv);null!=b.Mw&&(f.encoded_ad_playback_context=b.Mw);b.zu&&(f.tpra="1");a.captionsLanguagePreference&&(f.cc_lang_pref=a.captionsLanguagePreference);a.Dg&&2!=a.Dg&&(f.cc_load_policy=a.Dg);a.mute&&(f.mute=a.mute);b.annotationsLoadPolicy&&2!=a.annotationsLoadPolicy&&(f.iv_load_policy=
b.annotationsLoadPolicy);b.fn&&(f.endscreen_ad_tracking=b.fn);var k=a.F.get(b.videoId);k&&k.jm&&(f.ic_track=k.jm);b.nf&&(f.itct=b.nf);RB(b)&&(f.autoplay="1");b.mutedAutoplay&&(f.mutedautoplay=b.mutedAutoplay);b.fj&&(f.autonav="1");b.Nr&&(f.noiba="1");b.isMdxPlayback&&(f.mdx="1",f.ytr=b.xf);b.mdxControlMode&&(f.mdx_control_mode=b.mdxControlMode);b.an&&(f.ytrcc=b.an);b.Wr&&(f.utpsa="1");b.jy&&(f.is_fling="1");b.Mr&&(f.mute="1");b.vnd&&(f.vnd=b.vnd);b.zk&&(k=3===b.zk.split("|").length,f.force_ad_params=
k?b.zk:"||"+b.zk);b.oi&&(f.preload=b.oi);c.width&&(f.width=c.width);c.height&&(f.height=c.height);b.Sg&&(f.splay="1");b.ypcPreview&&(f.ypc_preview="1");b.Lh()&&(f.content_v=b.Lh());b.cg&&(f.livemonitor=1);a.Lc&&(f.authuser=a.Lc);a.pageId&&(f.pageid=a.pageId);a.gb&&(f.ei=a.gb);a.u&&(f.iframe="1");b.contentCheckOk&&(f.cco="1");b.racyCheckOk&&(f.rco="1");a.Eb&&b.ls&&(f.live_start_walltime=b.ls);a.Eb&&b.Zk&&(f.live_manifest_duration=b.Zk);a.Eb&&b.playerParams&&(f.player_params=b.playerParams);a.Eb&&b.cycToken&&
(f.cyc=b.cycToken);a.Eb&&b.pC&&(f.tkn=b.pC);0!=d&&(f.vis=d);a.enableSafetyMode&&(f.enable_safety_mode="1");b.Tg&&(f.kpt=b.Tg);b.Qn&&(f.kids_age_up_mode=b.Qn);b.kidsAppInfo&&(f.kids_app_info=b.kidsAppInfo);b.Cp&&(f.upg_content_filter_mode="1");a.widgetReferrer&&(f.widget_referrer=a.widgetReferrer.substring(0,128));(c=a.wm)&&(f.embedding_app=c);(c=g.zB(b))&&(f.uloc=c);b.Rk&&(f.internalipoverride=b.Rk);a.embedConfig&&(f.embed_config=a.embedConfig);a.cn&&(f.co_rel="1");0<a.kc.length&&(f.ancestor_origins=
Array.from(a.kc).join(","));void 0!=a.homeGroupInfo&&(f.home_group_info=a.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");b.Xm&&b.Ym&&(f.clip=b.Xm,f.clipt=b.Ym);for(var l in f)!Pha.has(l)&&f[l]&&512<f[l].length&&(g.N(Error("GVI param too long: "+l)),f[l]="");b=a.C;g.Jx(a)&&(b=Us(b.replace(/\b(?:www|web)([.-])/,"tv$1"))||a.C);a=g.eh(b+"get_video_info",
f);e&&(a=tp(a,e));return a};
g.ED=function(a,b){return a.C+"timedtext_video?ref=player&v="+b.videoId};
g.FD=function(a,b){a.feature=b;return a};
GD=function(a){g.B.call(this);this.o=a;this.u=new ZC(a);this.B="paused";this.C=NaN;this.H=[10,10,10,40];this.J=this.G=0;this.U=this.S=this.Z=this.V=this.O=this.P=this.w=!1;this.A=NaN};
HD=function(a,b,c){var d=g.jD(a.o);c=isNaN(c)?d:c;c=Math.ceil(c);var e=a.H[a.G];a.G+1<a.H.length&&a.G++;c+=e;d=1E3*(c-d);a.C=g.Ho((0,g.x)(a.ca,a,c,b),d);return c};
ID=function(a,b){var c=a.o,d=c.Tc();g.Sa(d,c.videoData.Tc());g.Sa(d,{state:a.B});c=new dD(a.o.videoData,a.o.fb,b,d);c.Hg=a.o.o();a.o.videoData.ua||(c.ca=a.o.A());a.o.videoData.ma&&(d=cz(a.o.videoData.ma,c.Hg))&&(c.Z=d-c.Hg);c.Qa=g.jD(a.o);c.segments=[YC(a.o)];return c};
JD=function(a,b){var c=ID(a,"watchtime");c.segments=b;c.Hg=a.u.o;return c};
KD=function(a){a.u.update();return JD(a,bD(a.u))};
ND=function(a){a.o.videoData.remarketingUrl&&!a.V&&(LD(a,a.o.videoData.remarketingUrl),a.V=!0);a.o.videoData.youtubeRemarketingUrl&&!a.Z&&(LD(a,a.o.videoData.youtubeRemarketingUrl),a.Z=!0);a.o.videoData.googleRemarketingUrl&&!a.S&&(LD(a,a.o.videoData.googleRemarketingUrl),a.S=!0);a.o.videoData.ppvRemarketingUrl&&!a.U&&(LD(a,a.o.videoData.ppvRemarketingUrl),a.U=!0);MD(a)};
OD=function(a){a.A=Io((0,g.x)(a.F,a,"heartbeat"),3E4)};
MD=function(a){a.o.videoData.Oc.eventLabel=PB(a.o.videoData);a.o.videoData.Oc.playerStyle=a.o.fb.playerStyle;a.o.videoData.Kl&&(a.o.videoData.Oc.feature="pyv");a.o.videoData.Oc.vid=a.o.videoData.videoId;var b=a.o.videoData.Oc;a=a.o.videoData;a=a.isAd()||!!a.Kl;b.isAd=a};
Rha=function(a){var b=ID(a,"engage");b.B=1;a=iD(a.o);return g.Ra(Lha,b.sa,gD(b),eD(b),a)};
LD=function(a,b){a.o.fb.sendVisitorIdHeader&&a.o.videoData.visitorData&&ip(b)?g.wp(b,{wd:void 0,headers:{"X-Goog-Visitor-Id":a.o.videoData.visitorData}}):g.Qp(b,void 0)};
PD=function(a,b){NC.call(this,a,b);var c=this;this.o=!1;OC(this,"getPresentingPlayerType",this.getPresentingPlayerType);OC(this,"addInfoCardXml",this.addInfoCardXml);OC(this,"cueVideoByPlayerVars",this.cueVideoByPlayerVars);OC(this,"loadVideoByPlayerVars",this.loadVideoByPlayerVars);OC(this,"preloadVideoByPlayerVars",function(d,e,f,k){return c.preloadVideoByPlayerVars(d,e,f,k)});
OC(this,"seekBy",this.seekBy);OC(this,"updatePlaylist",this.updatePlaylist);OC(this,"updateLastActiveTime",this.updateLastActiveTime);OC(this,"updateVideoData",this.updateVideoData);OC(this,"canPlayType",this.canPlayType);OC(this,"sendVideoStatsEngageEvent",this.sendVideoStatsEngageEvent);OC(this,"setCardsVisible",this.setCardsVisible);OC(this,"mutedAutoplay",this.mutedAutoplay);OC(this,"showControls",this.showControls);OC(this,"hideControls",this.hideControls);OC(this,"setSafetyMode",this.setSafetyMode);
OC(this,"cancelPlayback",this.cancelPlayback);OC(this,"isInline",this.isInline);OC(this,"isAtLiveHead",this.isAtLiveHead);OC(this,"setInline",this.setInline);OC(this,"getVideoAspectRatio",this.getVideoAspectRatio);OC(this,"getPreferredQuality",this.getPreferredQuality);OC(this,"setPlaybackQualityRange",this.setPlaybackQualityRange);OC(this,"onAdUxClicked",this.onAdUxClicked);OC(this,"getProgressState",this.getProgressState);OC(this,"deleteLocalMediaById",this.deleteLocalMediaById);OC(this,"deleteAllLocalMedia",
this.deleteAllLocalMedia);OC(this,"fetchLocalMedia",this.fetchLocalMedia);OC(this,"fetchLocalMediaById",this.fetchLocalMediaById);OC(this,"getPlayerResponse",this.getPlayerResponse);OC(this,"getStoryboardFormat",this.getStoryboardFormat);OC(this,"getStoryboardFrame",this.getStoryboardFrame);OC(this,"getStoryboardFrameIndex",this.getStoryboardFrameIndex);OC(this,"getStoryboardLevel",this.getStoryboardLevel);OC(this,"getNumberOfStoryboardLevels",this.getNumberOfStoryboardLevels);OC(this,"getAudioTrack",
this.wE);OC(this,"setAudioTrack",this.setAudioTrack);OC(this,"getAvailableAudioTracks",this.xE);OC(this,"getMaxPlaybackQuality",this.getMaxPlaybackQuality);OC(this,"getUserPlaybackQualityPreference",this.getUserPlaybackQualityPreference);OC(this,"setUserEngagement",this.setUserEngagement);OC(this,"getVideoContentRect",this.getVideoContentRect);OC(this,"updateSubtitlesUserSettings",this.updateSubtitlesUserSettings);OC(this,"getSubtitlesUserSettings",this.getSubtitlesUserSettings);OC(this,"resetSubtitlesUserSettings",
this.resetSubtitlesUserSettings);OC(this,"setMinimized",this.setMinimized);OC(this,"setBlackout",this.setBlackout);OC(this,"getVisibilityState",this.getVisibilityState);OC(this,"setFauxFullscreen",this.setFauxFullscreen);OC(this,"toggleFullscreen",this.toggleFullscreen);OC(this,"isFullscreen",this.isFullscreen);OC(this,"getVideoStats",this.getVideoStats);OC(this,"getPlayerSize",this.getPlayerSize);OC(this,"isMutedByMutedAutoplay",this.isMutedByMutedAutoplay);OC(this,"setUseFastSizingOnWatch",this.setUseFastSizingOnWatch);
OC(this,"setInternalSize",this.setInternalSize);OC(this,"toggleSubtitles",this.toggleSubtitles);OC(this,"getHousebrandProperties",this.getHousebrandProperties);OC(this,"handleGlobalKeyDown",this.handleGlobalKeyDown);OC(this,"handleGlobalKeyUp",this.handleGlobalKeyUp);OC(this,"setSizeStyle",this.setSizeStyle);OC(this,"setGlobalCrop",this.setGlobalCrop);OC(this,"wakeUpControls",this.wakeUpControls)};
QD=function(a,b){this.w=a;this.o=b||null;this.u=!1};
RD=function(a,b,c){var d=g.Ax(b.La)&&b.La.Ic&&QB(b);if(b.La.pc&&(wx(b.La)||g.$x(b.La)||d)&&!a.u){a.u=!0;g.M("TIMING_ACTION")||Co("TIMING_ACTION",a.w.fd);a.w.yb&&Co("CSI_SERVICE_NAME",a.w.yb);if(a.o){b=a.o.A;for(var e in b)XA(e,b[e],"");e=a.o.w;for(var f in e)$A(f,e[f],"");f=a.o;f.A={};f.w={}}$A("yt_pvis",Bha(),"");$A("yt_pt","html5","");c&&!OA("pbs","")&&a.tick("pbs",c);a=a.w;!g.$x(a)&&!wx(a)&&OA("_start","")&&aB("")}};
g.SD=function(a,b,c){g.B.call(this);this.start=a;this.end=b;this.B=Sha++;a=c||{};this.C=a.id||"";this.F=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.u=null;this.tooltip=a.tooltip;this.icons=a.icons?a.icons.filter(function(d){return(0,g.si)(d.thumbnails,function(e){return g.Ws(e.url)})}):null;
this.visible=this.visible;this.style=this.style;this.start=this.start};
TD=function(a){return-0x8000000000000==a?"BEFORE_MEDIA_START":0==a?"MEDIA_START":0x7ffffffffffff==a?"MEDIA_END":0x8000000000000==a?"AFTER_MEDIA_END":a.toString()};
Tha=function(a,b){switch(a.style){case "ytp-chapter-marker":return b?8:5;case "ytp-ad-progress":return 6;case "ytp-time-marker":return Number.POSITIVE_INFINITY;default:return 0}};
g.UD=function(a,b){return a.start-b.start||a.F-b.F||a.B-b.B};
g.VD=function(a){return"crn_"+a};
g.WD=function(a,b){this.type=a||"";this.id=b||""};
g.YD=function(a,b){g.Q.call(this);this.La=a;this.startSeconds=0;this.dC=!1;this.Xa=0;this.title="";this.Wg=0;this.Ga=[];this.al=this.ud=!1;this.Nb=this.Nw=this.Nl=null;var c=b.session_data;c&&(this.Nb=ap(c));this.views=0;this.VD=0!=b.fetch;this.Od=[];this.Xa=Math.max(0,b.index||0);this.loop=!!b.loop;this.startSeconds=parseInt(b.startSeconds,10)||0;this.LJ="1"==b.mob;this.title=b.playlist_title||"";this.description=b.playlist_description||"";this.author=b.author||b.playlist_author||"";this.We={};b.video_id&&
(this.Ga[this.Xa]=b);if(c=b.api)"string"==typeof c&&16==c.length?b.list="PL"+c:b.playlist=c;this.Rn=0;if(c=b.list)switch(b.listType){case "user_uploads":this.al||(this.listId=new g.WD("UU","PLAYER_"+c),XD(this,"/list_ajax?style=json&action_get_user_uploads_by_user=1",{username:c}));break;case "user_favorites":this.al||(this.listId=new g.WD("FL","PLAYER_"+c),XD(this,"/list_ajax?style=json&action_get_favorited_by_user=1",{username:c}));break;case "search":Uha(this,c);break;default:var d=b.playlist_length;
d&&(this.Wg=parseInt(d,0));this.listId=new g.WD(c.substr(0,2),c.substr(2));(c=b.video)?(this.Ga=c.slice(0),this.ud=!0):Vha(this)}else b.playlist&&(c=b.playlist.toString().split(","),0<this.Xa&&(this.Ga=[]),c.forEach(function(e){e&&this.Ga.push({video_id:e})},this),this.Wg=this.Ga.length,c=this.Ga.map(function(e){return e.video_id}),XD(this,"/list_ajax?style=json&action_get_templist=1",{video_ids:c.join(",")}),this.ud=!0);
this.setShuffle(!!b.shuffle);if(c=b.suggestedQuality)this.quality=c;this.We=cA(b,"playlist_");this.mC=(c=b.thumbnail_ids)?c.split(","):[]};
ZD=function(a){return!!(a.playlist||a.list||a.api)};
$D=function(a){var b=a.Xa+1;return b>=a.Wg?0:b};
aE=function(a){var b=a.Xa-1;return 0>b?a.Wg-1:b};
bE=function(a,b){a.Xa=g.sd(b,0,a.Wg-1);a.startSeconds=0};
Uha=function(a,b){if(!a.al){a.listId=new g.WD("SR",b);var c={search_query:b};a.LJ&&(c.mob="1");XD(a,"/search_ajax?style=json&embeddable=1",c)}};
Vha=function(a){if(!a.al){var b=b||a.listId;b={list:b};var c=a.wa();c&&c.videoId&&(b.v=c.videoId);XD(a,"/list_ajax?style=json&action_get_list=1",b)}};
XD=function(a,b,c){a.VD&&g.wp(g.eh(b,c),{format:"JSON",onSuccess:(0,g.x)(function(d,e){cE(this,e)},a),
onError:(0,g.x)(function(){this.R("error")},a)})};
cE=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.wa();a.Ga=[];b.video.forEach(function(e){e&&(e.video_id=e.encrypted_id,this.Ga.push(e))},a);
a.Wg=a.Ga.length;var d=b.index;d?a.Xa=d:Wha(a,c);a.setShuffle(!1);a.al=!1;a.ud=!0;a.Rn++;a.Nl&&a.Nl()}};
Wha=function(a,b){if(b){var c=b.videoId;if(!a.Ga[a.Xa]||a.Ga[a.Xa].video_id!=c)for(var d=0;d<a.Ga.length;d++)if(a.Ga[d].video_id==c){a.Xa=d;break}}};
dE=function(a,b){this.o=a;this.w=b;this.u=null;this.A=[];this.B=!1};
g.eE=function(a){a.u||(a.u=a.o.createMediaElementSource(a.w.ib()));return a.u};
g.fE=function(a){for(var b;0<a.A.length;)(b=a.A.pop())&&b.disconnect();a.u&&a.u.disconnect()};
gE=function(a,b,c){this.audio=a;this.video=b;this.reason=c};
Xha=function(a){a=void 0===a?{}:a;var b=a.ne,c=a.OO,d=a.kb,e=a.jr;this.B=a.Ih;this.u=b;this.o=c;this.A=d;this.w=e};
hE=function(a,b){if(0>b)return!0;var c=a.A();return b<c||b==c&&!a.B||b==c&&(c=a.w())&&b==c.Ma?!0:!1};
Yha=function(a,b,c){if(!hE(a,b))return 0;if(!a.u||!isNaN(c)&&0<c)return 2;if(0>b)return 1;c=a.A();return b<c||b==c&&(a=a.w())&&b==a.Ma&&!a.pending?2:1};
Zha=function(a,b,c,d){if(hE(a,b))return d;b=0;a.u&&(b=.2);return c+1E3*(a.o+b)};
$ha=function(a,b,c,d,e){b=Yha(a,b,e);if(2==b)return d;c=b?d:c+1E3*a.o;a.u&&(c+=1E3*a.o);return c};
aia=function(a){this.C=a;this.A=NaN;this.B=[];this.w=this.o=this.u=0};
bia=function(a,b,c,d){d=void 0===d?{}:d;var e=void 0===d.Rr?!1:d.Rr,f=void 0===d.Lr?!1:d.Lr,k=d.lG,l=d.Ma,m=d.de;this.ya=void 0===d.ff?!1:d.ff;this.P=e;this.ga=f;this.F=k;this.Ea=l;this.Ia=m;this.Aa=null;this.u=a;this.Ha=b;this.Oa=c;this.ea=this.o=NaN;this.za=0;this.V=this.ra=this.w=this.C=NaN;this.sa=this.na=this.A=!1;this.B=0;this.da=jx(this.u);this.ca=NaN;this.O=this.H=Infinity;this.S=NaN;this.xa=!1;this.J=this.U=NaN;this.G=this.Z=null};
iE=function(a){return{rt:((0,g.I)()-a.o).toFixed(),lb:a.w.toFixed(),pt:(1E3*a.ca).toFixed(),pb:a.Ha.toFixed(),stall:(1E3*a.B).toFixed(),elbowTime:(a.ea-a.o).toFixed(),elbowBytes:a.za.toFixed()}};
jE=function(a){a.J||(a.J=a.Aa(),3==a.J&&(a.Z=new aia(a.u)));return a.J};
nE=function(a,b,c,d){var e=(b-a.C)/1E3,f=c-a.w,k=jE(a);if(3==k&&f){var l=a.Z;l.B.push({Wn:f,wu:isNaN(l.A)?NaN:d-l.A,FT:d});l.A=d}a.A?1==k&&0<f&&(.2<e||1024>f?(a.B+=e,.2<e&&mE(a,.05,f)):mE(a,e,f),a.sa=!0):kE(a,c)&&(1==k&&(d=(b-a.o)/1E3,lE(a)||a.P||(k=a.u,k.C.w(1,d),dx(k))),a.ea=b,a.za=c,a.A=!0);a.P||gx(a.u,e,f);a.C=b;a.w=c};
mE=function(a,b,c){a.P||(b=Math.max(b,.05),bx(a.u,b,c,b,a.ga))};
pE=function(a,b,c){c=Math.round(c/1024);a.G&&a.G.push(oE(b-a.ra,c-a.V));a.ra=b;a.V=c};
kE=function(a,b){return b?a.F&&1!=jE(a)?!0:b>=a.u.o.o:!1};
qE=function(a){return kE(a,a.w)};
rE=function(a){a.S=a.o+1E3*a.da.delay;a.xa=!1};
sE=function(a,b){a.H=Math.min(a.H,Zha(a.F,a.Ea,a.o,b));a.O=Math.min(a.O,$ha(a.F,a.Ea,a.o,b,a.Ia));a.H<=a.o?rE(a):(a.S=a.H,a.xa=!0)};
lE=function(a){a.F&&sE(a,(0,g.I)());return a.xa};
tE=function(a,b){b=void 0===b?(0,g.I)():b;if(a.F){sE(a,b);var c=a.J?a.F?1!=jE(a):!1:a.H!=a.O;if(c){if(c=a.O,b<c){a.U=a.O;return}}else c=a.H;c=Math.max(c,a.S)}else c=a.S;var d=a.Ha-a.w;0>d&&(d=0);d=1E3*(d*a.da.stall+d/a.da.byterate);d=qE(a)?d+b:d+Math.max(b,c);a.U=d};
oE=function(a,b){for(var c="";4095<a;)c+=oE(4095,0),a-=4095;for(;4095<b;)c+=oE(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))};
uE=function(a,b,c,d){var e=this;this.u=a;a=Iu(this.u.get("range")||"");if(!a)throw Error("bad range");this.A=a;this.B=c;this.status=0;this.response=null;this.o=new As;this.ud=0;this.w="";cia(this).then(d,function(f){e.w=""+f||"unknown_err";d()});
b()};
cia=function(a){var b,c,d,e,f,k,l,m,n,p,t,u,z;return Ca(function(C){if(1==C.o){a.status=200;b=a.u.get("docid");c=a.u.get("fmtid");d=+a.u.get("csz");if(!b||!c||!d)throw Error("Invalid local URL");e=a.A;f=Math.floor(e.start/d);k=Math.floor(e.end/d);l=f}if(5!=C.o)return l<=k?C=ta(C,Rga(b,c,l),5):(C.o=0,C=void 0),C;m=C.u;n=l*d;p=(l+1)*d;t=Math.max(0,e.start-n);u=Math.min(e.end+1,p)-(t+n);z=new Uint8Array(m.buffer,t,u);a.o.append(z);a.ud+=u;a.ud<e.length&&a.B((0,g.I)(),a.ud);l++;C.o=2})};
vE=function(a,b,c,d,e,f,k){var l=void 0===k?{}:k;k=void 0===l.method?"GET":l.method;var m=l.headers,n=l.body;l=void 0===l.credentials?"include":l.credentials;this.status=0;this.G=this.response=null;this.da=d;this.ga=c;this.ea=e;this.F=f;this.ca=k;this.O=m;this.J=n;this.Z=l;this.o=new As;this.C=null;this.V=!1;this.u=0;dia++;this.S=NaN;this.w=null;this.A=window.AbortController?new AbortController:null;c={method:this.ca,credentials:this.Z};this.O&&(c.headers=new Headers(this.O));this.J&&(c.body=this.J);
this.A&&(c.signal=this.A.signal);a=new Request(a,c);fetch(a).then(Fo((0,g.x)(this.fO,this)),Fo((0,g.x)(this.dz,this)));this.B=this.H=this.U=!1;this.P="";b()};
wE=function(a){a.w.read().then(Fo((0,g.x)(a.CK,a)),Fo((0,g.x)(a.dz,a)))};
yE=function(a){if(!a.B){a.U=!0;if(xE(a)&&!a.o.getLength()&&!a.H&&a.u){Ns(a);var b=new Uint8Array(8),c=new DataView(b.buffer);c.setUint32(0,8);c.setUint32(4,1936419184);a.o.append(b);a.u+=b.length}a.da()}};
zE=function(a){return a.F.ne&&Ns(a)};
xE=function(a){var b=a.Xc("content-type");b="audio/mp4"===b||"video/mp4"===b;return a.F.o&&a.F.ne&&Ns(a)&&b};
AE=function(a,b,c,d,e){this.status=0;this.response=null;this.u=this.A=!1;this.w=NaN;this.o=new XMLHttpRequest;this.o.open("GET",a);this.o.responseType="arraybuffer";this.o.withCredentials=!0;this.o.onreadystatechange=(0,g.x)(this.mH,this);this.B=d;this.F=c;this.C=e;a=Fo((0,g.x)(this.kH,this));this.o.addEventListener("load",a,!1);this.o.addEventListener("error",a,!1);this.o.send();b();this.o.addEventListener("progress",Fo((0,g.x)(this.lH,this)),!1)};
eia=function(a,b){this.u=a;this.C=this.B=!1;this.length=b?b:0;this.w=0;this.o=[];this.A=null;this.length?1!=this.u.length||this.u[0].Na||(this.u[0].Na=this.length):1==this.u.length||(0,g.si)(this.u,function(c){return!!c.range})};
fia=function(a){return a.length-a.w+a.o.reduce(function(b,c){return b+c.o.getLength()},0)};
BE=function(a,b,c,d){this.A=a;this.info=b;this.timing=c;this.Z=d;this.state=1;this.o=this.ca=null;this.F=this.O=0;this.U=new g.J(this.pO,a.P,this);this.B=this.u=this.G=null;this.C=0;this.P=this.w=null;this.S=0;this.ea=this.J=!1;this.H=this.A.Qa&&(my(this.info)||this.info.ff());this.da=!1;this.V=null};
gia=function(a,b){a.G=b};
CE=function(a){var b=iE(a.timing);b.shost=a.u?dt(a.u.o):"";b.rn=a.O.toString();a.C&&(b.rc=a.C.toString());b.itag=""+Tu(a.info.o[0].o.info);b.ml=""+ +a.info.o[0].o.Dc();b.sq=""+a.info.o[0].u;if(a.u){var c=a.u.o;ct(c);var d=decodeURIComponent(c.get("mn")||"").split(",");b.ifi=""+ +("/videoplayback"==c.u&&1<d.length&&!!d[1])}410!=a.C&&500!=a.C&&503!=a.C||(b.fmt_unav="true");a.o&&a.o.qo()&&(b.msg=a.o.qo());a.da&&(b.smb="1");a.w&&(a=a.w.o,a.length&&Zu(a[0],b));return b};
DE=function(a){a.u&&dt(a.u.o);return fy(a.Z,a.u?dt(a.u.o):"")};
hia=function(a,b){if(400<=b.status)return a.B="net.badstatus",7;if(!b.Br())return a.B=204==b.status?"net.nocontent":"net.connect",7;var c="";if(EE(a)){var d=b.Is();2048>=d.getLength()&&(c=Is(d),c=fu(c),c=Vs(c)?c:"")}if(c){d=DE(a);(0,g.O)();d.started=0;d.u=0;d.o=0;d=a.info;var e=a.u;g.jy(d.u,e,c);d.requestId=e.get("req_id");return 5}c=b.po();if((d=!!a.P&&a.P.length)&&d!=c||b.Xt())return a.B="net.closed",7;FE(a,!0);if(a.A.Ov&&!d&&a.w&&(d=a.w.o,d.length&&!Zu(d[0])))return a.B="net.closed",7;var f=GE(a)?
b.Xc("X-Bandwidth-Est"):0;if(d=GE(a)?b.Xc("X-Bandwidth-Est3"):0)a.ea=!0,a.A.ev&&(f=d);d=a.timing;e=(0,g.I)();f=f?parseInt(f,10):0;if(!d.na){d.na=!0;if(!d.P){e=e>d.o&&4E12>e?e:(0,g.I)();pE(d,e,c);nE(d,e,c);var k=jE(d);if(2==k&&f)mE(d,d.w/f,d.w);else if(2==k||1==k)f=(e-d.o)/1E3,(f<=d.u.o.u||!d.u.o.u)&&!d.sa&&qE(d)&&mE(d,f,c),qE(d)&&ex(d.u,c,d.B);cx(d.u,(e-d.o)/1E3,d.w,d.ca,d.ya,d.ga)}d.A&&(d.A=!1)}c=DE(a);(0,g.O)();c.started=0;c.u=0;c.o=0;a.info.u.o=0;return 6};
IE=function(a){if("net.timeout"==a.B){var b=a.timing,c=(0,g.I)();if(!b.P){c=c>b.o&&4E12>c?c:(0,g.I)();pE(b,c,1024*b.V);var d=(c-b.o)/1E3;if(2!=jE(b))if(qE(b))b.B+=(c-b.C)/1E3,ex(b.u,b.w,b.B);else{if(!lE(b)&&!b.P){var e=b.u;e.C.w(1,d);dx(e)}b.ea=c}cx(b.u,d,b.w,b.ca,b.ya,b.ga);gx(b.u,(c-b.C)/1E3,0)}}else(0,g.I)();"net.nocontent"!=a.B&&("net.timeout"==a.B||"net.connect"==a.B?(b=DE(a),b.u+=1):(b=DE(a),b.o+=1),a.info.u.o++);HE(a,7)};
JE=function(a){if(1==a.state)return!0;a=DE(a);return 100>a.u&&6>a.o};
HE=function(a,b){a.state=b;if(5<=a.state)if(a.A.Ic)KE(a);else{var c=a.timing;c.A&&(c.A=!1)}a.G&&a.G(a)};
LE=function(a,b){if(b){var c=DE(a);c.w+=1}KE(a);a.B="net.timeout";IE(a)};
GE=function(a){return(0,g.si)(a.info.o,function(b){return 3==b.type})};
KE=function(a){if(a.o){var b=a.o;a.o=null;b.abort()}a=a.timing;a.A&&(a.A=!1)};
EE=function(a){var b=a.o.Xc("content-type"),c=a.o.Ak();(b=(!ME(a)||!b||-1!=b.indexOf("text/plain"))&&(!c||2048>=c))&&ME(a)&&zE(a.o);return b};
iia=function(a,b){var c=(0,g.x)(a.oH,a),d=(0,g.x)(a.NN,a),e=(0,g.x)(a.pH,a),f=(0,g.x)(a.MN,a);return et(a.u.o)?new uE(a.u,d,e,c):a.A.H&&(a.A.tv&&!isNaN(a.info.de)&&a.info.de>a.A.KC?0:Ms()&&GE(a))?new vE(b,d,e,c,f,a.A.u):new AE(b,d,e,c,f)};
ME=function(a){return a.o?a.o.uu():!1};
NE=function(a){return 2<=a.state&&!!a.w&&!!a.w.o.length};
FE=function(a,b){if(b||ME(a)&&!EE(a)){if(!a.w){if(ME(a))a.info.range&&(c=a.info.range.length);else var c=a.o.po();a.w=new eia(a.info.o,c)}for(;a.o.eg();){c=a.w;var d=a.o.ro(),e=b&&!a.o.eg();d=Is(d);for(var f=0,k=0,l=g.q(c.u),m=l.next();!m.done;m=l.next())if(m=m.value,m.range&&f+m.Na<=c.w)f+=m.Na;else{var n=c,p=m;if(1==p.type){n.B=!0;var t=!1}else 3==p.type||4==p.type?(p=n.B&&!n.C,n.C=!0,t=p):t=!1;n=c;var u=c.w-f;p=k;var z=d;t=t||m.o.Qy();var C=z.length-p;m.range&&(C=Math.min(m.Na-u,C));u=Uu(m,m.w+
u,C,m.range?m.w+u+C==m.range.length:!!e);p=new Uint8Array(z.buffer,z.byteOffset+p,C);n.o.push(new Xu(u,p,t));n=C;c.w+=n;k+=n;f+=m.Na;if(k==d.length)break}}}};
jia=function(a){if(!a.A.u.ne||!isNaN(a.info.de)&&0<a.info.de)return!1;if(!a.o||!a.o.aj())return!0;if(!Ns(a.o))return!1;if(isNaN(a.info.de)){var b=a.o.Xc("x-head-seqnum");if(b&&parseInt(b,10)>a.info.o[0].u)return!1}return!0};
OE=function(a,b){this.F=a;this.B=b;this.C=a.AE;this.A=new Uint8Array(this.C);this.w=this.u=0;this.o=null;this.G=[];this.H=this.J=null};
PE=function(a){return a.o&&3==a.o.type?a.o.startTime:0};
QE=function(a){return!!a.o&&a.o.C};
SE=function(a,b){if(1==b.info.type)a.J=Ju(0,b.o.getLength());else if(2==b.info.type){if(!a.o||1!=a.o.type)return;a.H=Ju(a.w*a.C+a.u,b.o.getLength())}else if(3==b.info.type){if(3==a.o.type&&!Ou(a.o,b.info)&&(a.G=[],b.info.u!=Qu(a.o)||0!=b.info.w))return;if(b.info.A)a.G.map(function(c){return RE(a,c)}),a.G=[];
else{a.G.push(b);a.o=b.info;return}}RE(a,b);a.o=b.info;kia(a)};
RE=function(a,b){for(var c=0,d=Is(b.o);c<d.length;){var e=Math.min(d.length-c,a.A.byteLength-a.u),f=new Uint8Array(d.buffer,d.byteOffset+c,e);a.A.set(f,a.u);a.u+=e;c+=e;a.u==a.A.length&&(Kz(a.F.A,a.B.info,a.w,a.A),a.A=new Uint8Array(a.C),a.u=0,a.w+=1)}};
kia=function(a){if(QE(a)){if(a.u){var b=new Uint8Array(a.A.buffer,0,a.u);Kz(a.F.A,a.o.o.info,a.w,b)}b=g.dc(a.B.O);b.url="local://localhost/videoplayback?"+bp({lmt:a.B.lastModified,docid:a.F.A,fmtid:a.B.info.id,csz:a.C,clen:a.w*a.C+a.u});b.lmt=""+a.B.lastModified;b.init=a.J.toString();b.index=a.H.toString();b=bp(b);Pga(a.F.A,!!a.B.info.video,b)}};
lia=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 k=new Uint8Array(b.length+f.length);k.set(b);k.set(f,b.length);b=k}d+=e}}return b};
TE=function(a){a=du(a,1886614376);(0,g.y)(a,function(b){return!b.u});
return(0,g.A)(a,function(b){return new Uint8Array(b.data.buffer,b.offset+b.data.byteOffset,b.size)})};
UE=function(a){var b=(0,g.ti)(a,function(e,f){return e+f.length},0),c=new Uint8Array(b),d=0;
(0,g.y)(a,function(e){c.set(e,d);d+=e.length});
return c};
VE=function(a,b,c){this.initData=a;this.contentType=(void 0===b?"":b)||null;this.isPrefetch=void 0===c?!1:c;this.w=this.cryptoPeriodIndex=NaN;this.A=[];this.u=this.o=!1};
WE=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 k=d.getUint32(c+28);f+=16*k+4}var l=d.getUint32(c+f-4);try{var m=new Tf(b.subarray(c+f,c+f+l)),n=new vo;for(f=m;Uf(f)&&4!=f.u;)switch(f.w){case 2:var p=Xf(f),t=p;ug(n,2).push(t);break;case 4:p=Xf(f);wg(n,4,p);break;case 7:p=Sf(f.o);wg(n,7,p);break;case 9:p=Sf(f.o);wg(n,9,p);break;case 10:p=Sf(f.o);wg(n,
10,p);break;case 11:p=Rf(f.o);wg(n,11,p);break;case 12:p=Sf(f.o);wg(n,12,p);break;case 13:t=p=Xf(f);ug(n,13).push(t);break;case 14:p=new wo;t=f;var u=p,z=jea,C=t.o.w,D=Sf(t.o),E=t.o.o+D;t.o.w=E;z(u,t);t.o.o=E;t.o.w=C;t=n;u=p;z=wo;Ag(t,z,14);var G=t.o[14];G||(G=t.o[14]=[]);var F=u?u:new z,ka=ug(t,14);G.push(F);ka.push(Cg(F));break;case 15:p=Wf(f);wg(n,15,p);break;case 1:p=Rf(f.o);wg(n,1,p);break;case 3:p=Wf(f);wg(n,3,p);break;case 5:p=Wf(f);wg(n,5,p);break;case 6:p=Wf(f);wg(n,6,p);break;case 8:p=Xf(f);
wg(n,8,p);break;default:Vf(f)}f=n;if(null!=f){var X=f;break a}}catch(Cb){}}c+=e}X=null}catch(Cb){X=null}}if(null!=X)for(b=ug(X,7),a.o||null==b||(a.cryptoPeriodIndex=b),b=ug(X,10),null!=b&&0<b&&(a.w=b),X=ug(X,2),X=!X.length||X[0]instanceof Uint8Array?X:(0,g.A)(X,mba),X=g.q(X),b=X.next();!b.done;b=X.next())a.A.push(g.Jf(b.value,4))};
XE=function(a){this.u=a;this.o=0};
YE=function(a){if(a.o>=a.u.getLength())throw Error();return Ks(a.u,a.o++)};
ZE=function(a,b){var c=YE(a);if(1==c){for(c=0;7>c;c++)YE(a);return-1}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+YE(a),d*=128;return b?c:c-d};
$E=function(a,b,c){g.Q.call(this);this.H=a;this.u=[];this.o=null;this.F=-1;this.C=0;this.S=NaN;this.O=0;this.w=b;this.da=c;this.P=this.J=NaN;this.B=this.G=this.Z=this.V=this.A=this.U=null;this.H.A&&(this.B=new OE(this.H,this.w));this.ca=!1};
aF=function(a,b){var c=a.o,d=Math.min(b,c.o.getLength());if(d==c.o.getLength())return a.o=null,c;c=$u(c,d);a.o=c[1];return c[0]};
bF=function(a,b){b.o.getLength();var c=Yu(b);!a.H.If&&zv(b.info.o.info)&&uv(b.info.o.info.wa())&&tu(c);var d=b.info.o.info;yv(d)&&!zv(d)&&(d=Yu(b),qu(d));b.info.o.info.isVideo()&&qy(b.info.o,c);2==b.info.o.info.wc&&b.info.isVideo()&&(c=Yu(b),ru(c));a.w.info.audio&&g.bv(b.info.o.info)&&(c=gv(b))&&(g.bv(b.info.o.info)&&cu(Yu(b)),a.ca=!0,a.H.Hc&&a.R("gaplessinfo",c));if(!a.w.Ac()&&!b.info.o.o){if(g.bv(b.info.o.info))if(c=Yu(b),d=Mt(c,0,1836019574)){d=d.offset+d.size;var e=new Uint8Array(d);e.set(new Uint8Array(c.buffer,
c.byteOffset,d));c=e}else c=null;else c=qfa(new gu(Yu(b)));c&&(b.info.o.o=c)}};
fF=function(a,b,c){if(a.w.Ac())a.ca&&a.w.Ac()&&c.info.u==c.info.o.index.kb()&&Ot(Yu(c)),a.U&&a.U.Cr()&&c.info.isVideo()&&!(a.getDuration()>=a.U.getDuration())&&a.w.Ac()&&c.info.u==c.info.o.index.kb()&&(b=1+(a.U.getDuration()-a.getDuration())/c.info.duration,Pt(Yu(c),b));else{var d=!1;a.A||(fv(c),c.u&&(a.A=c.u,d=!0,Vu(c.info,c.u),hv(c)));var e;a.H.G?e=a.da(cv(c),1):e=isNaN(a.P)?isNaN(a.J)?c.info.startTime:a.J:a.P;isNaN(a.S)&&(a.S=e);var f=ev(c);a.O+=f;a.P=NaN;dv(c,e)?a.J=e+ev(c):(e=Ru(c.info),e.smst=
"1",a.R("error",e||{}));if(d&&a.A){d=cF(a,!0);Wu(c.info,d);a.o&&Wu(a.o.info,d);b=g.q(b.info.o);for(e=b.next();!e.done;e=b.next())Wu(e.value,d);(c.info.A||a.o&&a.o.info.A)&&6!=c.info.type||(a.G=d,a.R("placeholderinfo",d),dF(a))}}eF(a,c)};
hF=function(a,b){if(b.info.A){a.Z=b.info;if(a.A){var c=cF(a,!1);a.R("segmentinfo",c);a.G||dF(a);a.G=null}gF(a)}a.B&&SE(a.B,b);(c=a.rl())&&av(c,b,!0)||a.u.push(b)};
gF=function(a){a.o=null;a.F=-1;a.C=0;a.A=null;a.S=NaN;a.O=0;a.G=null};
eF=function(a,b){if(a.w.info.Nc){if(2==b.info.o.info.wc){var c=Au(new gu(Yu(b)));var d="webm"}else b.info.J=TE(Yu(b)),c=UE(b.info.J),d="cenc";c&&c.length&&(a.H.Oa?(c=new VE(c,d),b.u&&b.u.cryptoPeriodIndex&&(c.cryptoPeriodIndex=b.u.cryptoPeriodIndex,c.o=!0,c.u=!!a.w.info.audio),a.R("needkeyinfo",c)):b.info.o.H={key:c,type:d})}};
dF=function(a){var b=a.A,c=Et(b);c&&(c.startSecs+=a.S,a.R("cuepoint",c,b.u))};
cF=function(a,b){var c=a.A;Jt(c)&&(Gt(c),Ht(c),It(c));return new lt(c.u,a.S,b?c.ke:a.O,c.ingestionTime,"sq/"+c.u,void 0,void 0,b)};
iF=function(a,b){this.policy=a;this.V=b;this.w=NaN;this.B=[];this.F=[];this.u=this.H=NaN;this.S=this.A=this.J=0;this.C=NaN;this.Z=0;this.O=!1;this.G=null;this.U=0};
jF=function(a){return{startTime:a.C/a.A,duration:a.S/a.A}};
kF=function(a){return!isNaN(a.u)&&a.A?a.u/a.A:a.Z};
lF=function(a){a.A&&!isNaN(a.H)&&(a.u=Math.floor(a.H*a.A),a.H=NaN)};
mF=function(a,b){var c=a.B.length,d=new Uint8Array(c+b.byteLength);d.set(a.B,0);d.set(new Uint8Array(b.buffer,b.byteOffset,b.byteLength),c);a.B=[];return new DataView(d.buffer)};
nF=function(a,b,c){for(var d=c;d<b.byteLength;d++)a.B.push(b.getUint8(d));0<c&&a.F.push(new DataView(b.buffer,b.byteOffset,c))};
pF=function(a,b){iF.call(this,a,b);this.o=new oF(0,0,null);this.w=8};
qF=function(a,b,c){var d=b.getUint32(c);b=b.getUint32(c+4);a.o=new oF(b,d,a.o);return 8};
rF=function(a){return 0==a.o.type||1836019574==a.o.type||1952867444==a.o.type||1936286840==a.o.type||1953653094==a.o.type||1836019558==a.o.type||1836476516==a.o.type};
sF=function(a,b,c){return new ot(b,c,a.o.size,a.o.type,!0)};
oF=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=this.version=0};
uF=function(a,b){iF.call(this,a,b);this.o=new tF(0,0,null);this.P=NaN;this.A=1E3;this.w=32};
tF=function(a,b,c){this.type=a;this.size=b;this.parent=c;this.offset=0};
vF=function(a,b,c){g.Q.call(this);this.F=0;this.w=a;this.A=[];this.u=null;this.B=b;this.V=c;this.C=this.G=NaN;this.Z=this.O=this.S=this.o=this.J=null;this.U=!1;this.H=this.P=null;this.w.A&&(this.H=new OE(this.w,this.B));this.w.S&&(2==this.B.info.wc?this.o=new uF(this.w,this.V):this.o=new pF(this.w,this.V));this.ca=!1};
wF=function(a){var b=a.info.o.info;yv(b)&&!zv(b)&&(a=Yu(a),qu(a))};
xF=function(a){2==a.info.o.info.wc&&a.info.isVideo()&&(a=Yu(a),ru(a))};
mia=function(a,b,c){var d={};if(!c.verify(d)||c.info.o.Qr())d=Object.assign(d,Ru(c.info)),d.verification="1",yF(a,d);a.B.Ac()&&c.w&&c.info.isVideo()&&qy(c.info.o,Yu(c));c.info.A&&(a.Z=c.info);if(!a.B.Ac()){(d=a.S)&&Vu(c.info,d);!a.o&&zF(a,c)&&fv(c);d=c;!a.O||(a.w.Dm?Ou(a.O,d.info,!0):Pu(a.O,d.info))||(a.o&&a.o.reset(),a.G=NaN,a.F=0);a.O=d.info;if(a.o)b:{var e;(e=!isNaN(a.C))||(e=a.o,e=!(!isNaN(e.u)||!isNaN(e.H)));e&&(a.o.mu(isNaN(a.C)?isNaN(a.G)?d.info.startTime:a.G:a.C),a.C=NaN);e=Yu(d);e=a.o.process(e);
if(d.info.A&&!a.o.gy()&&!a.w.Em){var f=Ru(d.info);f.partialbox="1";yF(a,f)}if(g.bv(d.info.o.info)){var k=b.timing;e=!!d.info.w&&1936286840!=e&&!(a.w.u.o&&1936419184==e);f=d.info.A;if(3==jE(k)&&(k=k.Z,k.B.length)){var l=k.B.shift(),m=l.wu;e||(l.Wn-=Math.min(l.Wn,1500),l.wu=0);k.u+=l.Wn;k.o+=l.wu;k.w+=isNaN(m)?0:m;f&&(0>=k.o||bx(k.C,k.o/1E3,k.u,k.w/1E3),k.o=0,k.u=0,k.w=0)}}if(a.w.Fv&&a.w.u.ne){if(!a.o.O&&!d.info.A){d=null;break b}}else if(isNaN(a.o.C)){d=null;break b}e=a.o;l=d.info.o.info;if(e.F.length){e.O=
!1;f=0;m=g.q(e.F);for(k=m.next();!k.done;k=m.next())f+=k.value.byteLength;if(!e.G||e.G.length-e.U<f)e.G=new Uint8Array(Math.max(f,e.policy.ty+Math.round(l.o*e.policy.sy))),e.U=0;m=l=e.U;var n=g.q(e.F);for(k=n.next();!k.done;k=n.next())k=k.value,e.G.set(new Uint8Array(k.buffer,k.byteOffset,k.byteLength),l),l+=k.byteLength;e.F.length=0;e.U=l;e=new DataView(e.G.buffer,m,f)}else e=null;(f=e)?(k=d.info.w+d.info.Na-a.o.B.length-f.byteLength,e=Uu(d.info,k,f.byteLength,d.info.A),d=d.w&&!k,f=new Uint8Array(f.buffer,
f.byteOffset,f.byteLength),d=new Xu(e,f,d)):d=null}else a.w.G?e=a.V(cv(d),1):e=isNaN(a.C)?isNaN(a.G)?d.info.startTime:a.G:a.C,a.C=NaN,dv(d,e)?a.G=e+ev(d):(e=Ru(d.info),e.smst="1",yF(a,e));if(!d)return[];c.w&&c.info.isVideo()&&qy(c.info.o,Yu(c));c=d;zF(a,c)&&(a.o&&fv(c),hv(c),c.u&&(a.S=c?c.u:null,a.U=!!a.o,Vu(c.info,c.u),Vu(a.O,c.u),!c.info.o.o&&c.w&&c.u.A&&(c.info.o.o=Js(c.o,0,c.u.A))));c.w&&(wF(c),xF(c));f=c;if(d=a.S)if(f.info.A){a.U=!1;a.P=null;a.o?(f=jF(a.o),a.o.Wm(),e=f.startTime,f=f.duration):
(e=cv(f),f=ev(f));f=AF(d,e,f,!1);a.R("segmentinfo",f);if(k=Et(d))k.startSecs+=e,a.R("cuepoint",k,d.u);d=f}else a.U&&a.o&&!isNaN(a.o.C)?(d=AF(d,jF(a.o).startTime,d.ke,!0),a.P=d,a.R("placeholderinfo",d),a.U=!1):d=null;else d=null;e=c;if(a.w.PB)if(d)for(Wu(e.info,d),b=g.q(b.info.o),e=b.next();!e.done;e=b.next())Wu(e.value,d);else a.P&&Wu(e.info,a.P);c.info.A&&(a.S=null);a.w.Oa?BF(a,c):CF(a,c)}if(a.w.vv&&!a.B.Ac()&&DF(a,c)&&Nu(c.info)&&c.info.duration&&!a.w.S&&(b=c,a.F+=1E3*(ev(b)-b.info.duration),a.J&&
Math.abs(a.F-a.J.F)>=a.w.xC))return b=(a.J.F-a.F)/1E3,d=ev(c)+b,e=Yu(c),f=(f=g.Nt(e,0,1936286840))?Zt(f):NaN,isNaN(f)&&(f=c.info.o.o,f=(e=g.Nt(e,0,1836476516))?Rt(e):f?St(f):NaN),e=d*f,(f=EF(a,c))?(e=mfa(f,e))?(f=au(f),a.u&&(f-=a.u.o.getLength(),a.u=null),f=$u(c,f),f[0].o=new As([new Uint8Array(e)]),f[0].w=!!Mt(Yu(f[0]),0,1836019574),e=f):e=null:e=null,e&&e.length&&(f=Ru(c.info),f.fds=d.toFixed(3),f.com=a.F.toFixed(3),a.R("timestamprewrite",f),a.G+=b,a.F+=1E3*b),e?e:FF(a,c);b=c;a.ca&&a.B.Ac()&&b.info.u==
b.info.o.index.kb()&&DF(a,b)?((b=EF(a,c))?(Ot(b),b=[],a.u&&a.u!=c&&(b.push(a.u),a.u=null),b.push(c)):b=null,a=b?b:FF(a,c)):(b=c,a.J&&a.J.Cr()&&b.info.isVideo()&&!(a.getDuration()>=a.J.getDuration())&&a.B.Ac()&&b.info.u==b.info.o.index.kb()&&DF(a,b)?(b=a.J.getDuration()-a.getDuration(),(d=EF(a,c))?(Pt(d,1+b/c.info.duration),b=[],a.u&&a.u!=c&&(b.push(a.u),a.u=null),b.push(c)):b=null,a=b?b:FF(a,c)):a=[c]);return a};
GF=function(a){var b=null;2==a.info.o.info.wc?(a=Au(new gu(Yu(a))))&&(b={type:"webm",key:a}):(a.info.J=TE(Yu(a)),a=UE(a.info.J),0<a.length&&(b={type:"cenc",key:a}));return b};
BF=function(a,b){if(a.B.info.Nc){var c=GF(b);c&&(c=new VE(c.key,c.type),b.u&&b.u.cryptoPeriodIndex&&(c.cryptoPeriodIndex=b.u.cryptoPeriodIndex,c.o=!0,c.u=!!a.B.info.audio),a.R("needkeyinfo",c))}};
CF=function(a,b){if(a.B.info.Nc){var c=GF(b);c&&(b.info.o.H=c)}};
AF=function(a,b,c,d){Jt(a)&&(Gt(a),Ht(a),It(a));return new lt(a.u,b,c,a.ingestionTime,"sq/"+a.u,void 0,void 0,d)};
yF=function(a,b){a.R("error",b||{})};
zF=function(a,b){return!a.B.Ac()&&0==b.info.w&&(g.bv(b.info.o.info)||2==b.info.o.info.wc)};
DF=function(a,b){return!(0!=b.info.w&&!a.u)&&g.bv(b.info.o.info)};
FF=function(a,b){if(a.u&&a.u!=b){var c=[a.u,b];a.u=null;return c}return[]};
EF=function(a,b){if(a.u){var c=a.u,d=c.o.getLength()+b.o.getLength();d=new Uint8Array(d);d.set(Is(c.o));d.set(Is(b.o),c.o.getLength());c=new DataView(d.buffer);au(c);return c}c=Yu(b);if((d=au(c))&&d<c.byteLength)return c;a.u=b;return null};
HF=function(a,b,c){this.U=a;this.o=b;this.A=[];this.w=a.ld?new $E(a,b,c):new vF(a,b,c);this.u=this.F=null;this.S=0;this.P=b.info.o;this.O=0;this.G=b.Tk();this.C=-1;this.J=this.G?0:NaN;this.B=this.G;this.H=!1};
IF=function(a){return a.F&&a.F.kr()};
KF=function(a){for(;a.A.length&&6==a.A[0].state;){var b=a.A.shift();JF(a,b);b=b.timing;a.S=(b.C-b.o)/1E3}a.A.length&&NE(a.A[0])&&!a.A[0].info.ff()&&JF(a,a.A[0])};
JF=function(a,b){if(NE(b)){b.J=!0;var c=b.w,d=c.o;c.o=[];c.A=g.Wa(d).info;c=g.q(d);for(d=c.next();!d.done;d=c.next())LF(a,b,d.value)}};
LF=function(a,b,c){switch(c.info.type){case 1:case 2:a.w.so(c);break;case 4:var d=c.info.o.Ry(c);c=c.info;var e=a.u;e&&e.o==c.o&&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.u==c.u&&e.w==c.w&&e.Na==c.Na&&(a.u=g.Wa(d).info);d=g.q(d);for(c=d.next();!c.done;c=d.next())LF(a,b,c.value);break;case 3:a.w.Wt(b,c);break;case 6:a.w.Wt(b,c),a.u=c.info}};
MF=function(a){return a.w.Ot()};
NF=function(a,b){var c=b.info;c.o.info.o>=a.P&&(a.P=c.o.info.o)};
RF=function(a,b,c){c=void 0===c?!1:c;if(a.F){var d=a.F.nd(),e=Xv(d,b),f=NaN,k=IF(a);k&&(f=Xv(d,k.o.index.Yc(k.u)));if(e==f&&a.u&&a.u.Na&&OF(PF(a),0))return b}a=QF(a,b,c);return 0<=a?a:NaN};
TF=function(a,b){a.o.Dc();var c=QF(a,b);if(0<=c)return c;b=Math.min(b,a.w.hz());a.u=a.o.Vf(b).o[0];SF(a)&&a.F&&a.F.abort();a.O=0;return a.u.startTime};
UF=function(a,b){a.G=!0;a.B=!0;a.C=-1;TF(a,Infinity);a.w.Ks(b);a.J=b};
VF=function(a){var b=0;(0,g.y)(a.A,function(c){var d=b;c=c.w&&c.w.length?fia(c.w):oy(c.info);b=d+c},a);
return b+=a.w.gz()};
WF=function(a,b){if(!a.F)return 0;var c=IF(a);return c&&c.C?c.B:Zv(a.F.nd(),b)};
YF=function(a){XF(a);a.w.fz()};
ZF=function(a,b){var c;for(c=0;c<a.A.length&&b!==a.A[c];c++);if(c==a.A.length)b.J&&a.w.uo(b),b.dispose();else{for(;c<a.A.length;){var d=a.A.pop();d.J&&a.w.uo(d);d.dispose()}Nu(b.info.o[0])?(b.w&&b.w.A?(c=b.w.A,c=new Lu(c.type,c.o,c.range,"getEmptyStubAfter_"+c.G,c.u,c.startTime+c.duration,0,c.w+c.Na,0,!1)):(c=b.info.o[0],c=new Lu(c.type,c.o,c.range,"getEmptyStubBefore_"+c.G,c.u,c.startTime,0,c.w,0,!1)),a.u=c):a.u=null}};
SF=function(a){if(!a.U.ym&&"f"==a.o.info.u||a.U.V&&a.w.ly())return!0;a=IF(a);return!!a&&a.C};
PF=function(a){var b=[],c=IF(a);c&&b.push(c);b=g.ib(b,a.w.An());(0,g.y)(a.A,function(d){(0,g.y)(d.info.o,function(e){d.J&&(b=(0,g.ae)(b,function(f){return!(f.o!=e.o?0:f.range&&e.range?f.range.start+f.w>=e.range.start+e.w&&f.range.start+f.w+f.Na<=e.range.start+e.w+e.Na:f.u==e.u&&f.w>=e.w&&(f.w+f.Na<=e.w+e.Na||e.A))}));
(Nu(e)||4==e.type)&&b.push(e)})});
a.u&&!sfa(a.u,g.Wa(b),a.u.o.Ac())&&b.push(a.u);return b};
OF=function(a,b){if(!a.length)return!1;for(var c=b+1;c<a.length;c++)if(!Pu(a[c-1],a[c]))return!1;return!0};
QF=function(a,b,c){c=void 0===c?!1:c;if(!a.u||!a.u.Na)return NaN;a=PF(a);a:{var d=c;d=void 0===d?!1:d;for(var e=-1,f=0;f<a.length;++f){var k=a[f];if(k.F<=b)if(d)e=f;else if(k.startTime+k.duration>=b){b=f;break a}}b=e}return 0>b?NaN:OF(a,c?b:0)?a[b].startTime:NaN};
$F=function(a){return jj(a.A,function(b){return 4<=b.state})};
aG=function(a){return!(!a.u||a.u.o==a.o)};
bG=function(a){return aG(a)&&a.o.Dc()&&a.u.o.info.o<a.o.info.o};
cG=function(a,b,c){var d=a.w.rl();return(a=d?d.info:IF(a))&&!a.C?a.B>b&&a.B<b+c:!1};
XF=function(a){(0,g.y)(a.A,function(b){b.J&&this.w.uo(b);b.dispose()},a);
a.A=[];a.u=null};
dG=function(a){return!!a.u&&-1!=a.u.u&&a.u.u<a.o.index.Le()};
eG=function(a){var b=a.u;b&&-1==b.u&&(a=a.w.rl())&&Nu(a.info)&&(a=a.info.u,b.G="updateLastSliceRequested",b.u=a)};
fG=function(a){return jj(a.A,function(b){return b.H})};
gG=function(a,b){return a.F?Wv(a.F.nd(),b):!0};
hG=function(a,b){this.u=a;this.o=b;this.w=1};
jG=function(a,b,c,d,e){e=void 0===e?!1:e;a.o.kc&&(d=Math.abs(d));d/=a.w;var f=1/ix(a.u);var k=.9*(d-a.o.yb);k=Math.max(k,fx(a.u)+a.u.o.o*f);c=k/f*a.o.kv/(b+c);a.o.Cm&&(d-=a.o.yb);c=Math.min(c,d);a.o.Kc&&e&&(c=Math.max(c,a.o.Kc));return iG(a,c,b)};
iG=function(a,b,c){return Math.ceil(Math.max(Math.max(65536,a.o.jv*c),Math.min(Math.min(a.o.da,31*c),Math.ceil(b*c))))};
nia=function(a,b){var c=iG(a,b.video?a.o.Rv:a.o.zm,b.o);return a.o.ak&&b.video?Math.max(c,a.o.ak):c};
kG=function(a){var b=ix(a.u);if(a.o.Yx)return b;var c=a.o.hv,d=1E-9+fx(a.u);b*=Math.min(1,c/(b*d));a.o.Zj&&(c=(($w(a.u.A,.98)||0)-1)/2,c=Math.max(0,Math.min(1,c)),b*=1-a.o.Zj*c);return b};
lG=function(a){return kG(a)/a.w};
mG=function(){var a=this;this.o=this.u=iaa;this.w=new cf(function(b,c){a.u=b;a.o=c})};
nG=function(a,b,c,d){g.Q.call(this);this.A=0;this.o=b;this.u=c;this.B=a;this.C=d;this.F=0;this.G=this.B.u&&!this.B.ze;this.w=!1;this.H=null};
oG=function(a,b){var c=a.o.index,d=a.u.u;vy(c,d)||b&&b.u==d?(a.B=!vy(c,d),a.H=!vy(c,d)):(a.B=!0,a.H=!0)};
pG=function(a,b,c){if(!a.o.Dc())return 0!=b&&XF(a),b;var d=RF(a,b);if(!isNaN(d))return d;YF(a);return c&&(c=Xv(c.nd(),b),!isNaN(c))?(TF(a,c+oia),b):TF(a,b)};
qia=function(a,b,c,d){if(a.w&&a.A){var e=pia(a,b,c);if(-1!=e){a.o.B=!1;a.u.B=!1;a.G=!0;g.Ye(function(){qG(a,"seekreason","behindMinSq");rG(a,e)});
return}}c?a.o.H=!1:a.u.H=!1;0<=RF(a.o,a.A)&&0<=RF(a.u,a.A)?(a.o.B=!1,a.u.B=!1):d&&g.Ye(function(){if(a.G||!a.C.U)a.C.Nv?sG(a):c&&rG(a,b.startTime);else{var f=b.startTime,k=b.duration,l=c?a.o.B:a.u.B,m=-1!=a.o.C&&-1!=a.u.C,n=a.C.wv?0:.1,p=!a.o.H&&!a.u.H;!a.la()&&a.C.ea&&l&&m&&p&&(a.A>=f&&a.A<f+k+n?((c?a.o:a.u).B=!1,a.o.B||a.u.B||(qG(a,"iterativeSeeking","done;count."+a.F,!1),a.F=0)):8>a.F?(a.F++,qG(a,"iterativeSeeking","inprogress;count."+a.F+";target."+a.A+";actual."+f+";duration."+k+";isVideo."+
c,!1),a.seek(a.A)):(qG(a,"iterativeSeeking","incomplete;count."+a.F+";target."+a.A+";actual."+f,!1),a.F=0,a.o.B=!1,a.u.B=!1,a.R("seekplayerrequired",f+.1,!0)))}})};
pia=function(a,b,c){if(!a.w)return-1;c=(c?a.o:a.u).o.index;var d=c.Me(a.A);return(vy(c,a.B.Md)||b.Ma==a.B.Md)&&d<a.B.Md?a.B.Ab():-1};
rG=function(a,b){!a.la()&&a.C.ea&&a.G&&-1!=a.o.C&&-1!=a.u.C&&(a.G=!1,a.R("seekplayerrequired",b+.1,!0))};
sG=function(a){var b=-1!=a.o.C,c=-1!=a.u.C;if(!b||!c)if(b=!b&&MF(a.o),c=!c&&MF(a.u),b||c){c=b?a.o:a.u;b=b?a.u:a.o;var d=MF(c).info.u;if(-1!=b.C&&b.C!=d&&(a.R("error",!1,"qoe.avsync",{start:"1",target:String(b.C),actual:String(d)}),!a.C.Lm)){dz(a.B,d,c==a.o);ria(c,b.C);return}c.C=d;c.J=NaN;if(-1!=b.C){var e=Math.max(b.o.index.Yc(b.C),c.o.index.Yc(c.C));qG(a,"seekreason","initManifestlessSync");g.Ye(function(){return rG(a,e)});
a.H&&(a.H.resolve(e+.1),a.H=null)}}};
ria=function(a,b){YF(a);TF(a,Infinity);var c=a.J;a.w.Ks(c);a.J=c;c=a.u;c.G="correctTrack_";c.u=b-1};
qG=function(a,b,c,d){a.R("ctmp",b,c,void 0===d?!1:d)};
tG=function(){this.u=this.w=0;this.B={}};
sia=function(a,b,c,d){this.U=a;this.F=b;this.C=c;this.G=d;this.A=Jw;this.B=this.J=null;this.O=-1;this.u=this.w=null;this.o=[];this.S={};this.H=0;this.P=this.Z=!1;this.V=0};
via=function(a,b,c){uG(a,b);tia(a,c);a.J=a.w;uia(a);a.B=a.u;return vG(a)};
wia=function(a,b){if(Gw(a.A,b))return null;if("m"==b.reason&&b.isLocked())return uG(a,b),a.H=a.o.length-1,wG(a),xG(a),a.P=a.P||a.B!=a.u,a.B=a.u,new gE(a.w,a.B,b.reason);"r"==b.reason&&(a.O=-1);uG(a,b);xG(a);if("r"==b.reason&&a.u==a.B)return new gE(a.w,a.u,b.reason);if(a.B&&a.u&&yG(a,a.B.info)<yG(a,a.u.info)){var c=a.A.reason;a.Z=a.Z||"r"==c||"u"==c||"v"==c}return null};
xia=function(a,b){if(b.info.video){if(a.B!=b)return a.B=b,vG(a)}else a.J=b;return null};
zG=function(a,b){b.P=(0,g.O)();a.O=-1;uG(a,a.A)};
AG=function(a){for(var b=(0,g.O)()-6E4,c=g.q(a.G.videoInfos),d=c.next();!d.done;d=c.next())if(a.C.o[d.value.id].P>b)return!0;return!1};
yia=function(a){return new gE(a.J,a.B,a.A.reason)};
BG=function(a){return a.A.isLocked()};
zia=function(a){return 0<a.o.length&&0==a.H};
vG=function(a){a.O=(0,g.O)();a.Z=!1;return new gE(a.J,a.B,a.A.reason)};
uG=function(a,b){a.A=b;var c=a.G.videoInfos;if(!BG(a)){var d=(0,g.O)()-6E4;c=(0,g.ae)(c,function(l){if(l.o>this.F.J)return!1;l=this.C.o[l.id];return l.P>d?!1:4<l.B.o||4<l.J||l.C?!1:!0},a);
if(AG(a)){var e=(0,g.ae)(c,function(l){l=Tu(l);return"140"==l||"134"==l||"243"==l});
e.length&&(c=e)}}c.length||(c=a.G.videoInfos);e=(0,g.ae)(c,b.A,b);e.length||(e=[c[0]]);e.sort((0,g.x)(function(l,m){return yG(this,l)-yG(this,m)},a));
for(c=1;c<e.length;c++){var f=e[c-1],k=e[c];f.video.width>k.video.width?(g.eb(e,c),c--):yG(a,f)*a.F.o>yG(a,k)&&(g.eb(e,c-1),c--)}c=e[e.length-1];a.o=e;Sfa(a.F,c)};
tia=function(a,b){if(b)a.w=a.C.o[b];else{var c=g.Za(a.G.o,function(d){return!!d.sb&&d.sb.isDefault});
c=c||a.G.o[0];a.w=a.C.o[c.id]}wG(a)};
wG=function(a){if(!a.w||!a.F.A)if(!a.w||!a.w.info.sb)if(a.w=a.C.o[a.G.o[0].id],1<a.G.o.length){if(a.F.jh)var b=!0;else if(a.A.isLocked())b=240>a.A.o;else{for(b=0;b+1<a.o.length&&"tiny"==a.o[b].wa().quality;)b++;var c=lG(a.U)/a.F.o;b=yG(a,a.w.info)+yG(a,a.o[b])>c}b&&(a.w=a.C.o[a.G.o[1].id])}};
xG=function(a){if(!a.u||!a.F.A)if(BG(a))a.u=a.C.o[a.o[a.o.length-1].id];else{for(var b=Math.min(a.H,a.o.length-1),c=lG(a.U),d=yG(a,a.w.info),e=c/a.F.w-d;0<b&&!(yG(a,a.o[b])<=e);b--);for(c=c/a.F.o-d;b<a.o.length-1&&!(yG(a,a.o[b+1])>=c);b++);a.u=a.C.o[a.o[b].id];a.H=b}};
uia=function(a){var b=a.F.w,c=lG(a.U)/b-yG(a,a.w.info);b=g.$a(a.o,function(d){return yG(this,d)<c},a);
0>b&&(b=0);a.H=b;a.u=a.C.o[a.o[b].id]};
yG=function(a,b){if(!a.S[b.id]){var c=a.C.o[b.id].index.vx(a.V,15);c=b.A&&a.B&&a.B.index.Pb()?c||b.A:c||b.o;a.S[b.id]=c}return a.S[b.id]};
Aia=function(a,b){var c=$b(a.C.o,function(d){return Tu(d.info)==b});
if(!c)throw Error("Itag "+b+" from server not known.");return c};
Bia=function(a){var b=[];if("m"==a.A.reason||"s"==a.A.reason&&!a.F.pe)return b;var c=!1;if(jga(a.C)){for(var d=Math.max(0,a.H-2);d<a.H;d++){var e=Tu(a.o[d]);rv(a.o[d].wa())||(c=!0);b.push(e)}b.reverse();if(!c&&a.F.Wu)for(d=Math.max(0,a.H-3);0<=d&&!c;d--)rv(a.o[d].wa())||(c=!0,b.push(Tu(a.o[d])))}return b};
CG=function(a,b,c,d){this.u=a;this.C=b;this.B=d;this.A=c;this.o=0};
DG=function(a,b,c,d){g.Q.call(this);this.o=a;this.U=b;this.S=c;this.P=d;this.O=NaN;this.w=this.H=this.B=null;this.u=this.F=this.G=this.C=NaN;this.A=!1;this.J=NaN};
Cia=function(a,b,c,d){return a.na&&a.ga&&3==sy(a)?new DG(a,b,c,d):null};
EG=function(a,b){if(a.o.Hv){var c=b.info.o;if(0>=c)a.J=NaN;else{var d=ix(a.U),e=b.index.o;c=Math.max(1,d/c);a.J=Math.round(1E3*Math.max(((c-1)*e+a.o.O)/c,e-a.o.Wb))}}};
Dia=function(a,b){var c=(0,g.I)()/1E3,d=c-a.C,e=c-a.G,f=e>=a.o.wh,k=!1;if(f){var l=0;!isNaN(b)&&b>a.F&&(l=b-a.F,a.F=b);l/e<a.o.Jv&&(k=!0);a.G=c}c=d>=a.o.Wb&&!a.A;if(!f&&!c&&FG(a,b))return NaN;c&&(a.A=!0);a:{d=k;c=(0,g.I)()/1E3-(a.S.o()||0)-a.H.w-a.o.O;f=a.w.startTime;c=f+c;if(d){if(isNaN(b)){GG(a,NaN,"n",b);f=NaN;break a}d=b-a.o.Rb;d<c&&(c=d)}else a.A&&(d=c+a.o.O-a.O+a.o.Lv,isNaN(b)||(d=Math.max(d,Math.min(c,b-a.o.Rb))),c=d);f=c=Math.max(c,f)}a.u=f;if(isNaN(a.u))return HG(a),NaN;if(!k&&FG(a,b))return IG(a,
b),NaN;if(a.u<=a.w.startTime)return GG(a,NaN,"y",b),HG(a),NaN;if(!a.P(a.u,!1))return!IG(a,b)&&k&&(GG(a,NaN,"t",b),HG(a)),NaN;k=a.u;GG(a,k,"s",b);HG(a);return k};
IG=function(a,b){return a.P(a.u,!0)?!1:(GG(a,NaN,"ns",b),HG(a),!0)};
FG=function(a,b){return isNaN(b)?!0:isNaN(a.u)?!1:b<a.u+(a.A?a.o.Rb:a.o.Iv)};
HG=function(a){a.B=null;a.H=null;a.w=null;a.C=NaN;a.G=NaN;a.F=NaN;a.u=NaN;a.A=!1};
GG=function(a,b,c,d){var e=CE(a.B);e.ssr_sk=(1E3*b).toFixed(0);e.ssr_t=(1E3*a.u).toFixed(0);e.ssr_r=c;e.ssr_st=(1E3*a.C).toFixed(0);e.ssr_n=(0,g.I)().toFixed(0);e.ssr_f=(1E3*a.H.w).toFixed(0);e.ssr_fa=a.A?"1":"0";e.ssr_o=(1E3*a.S.o()||0).toFixed(0);e.ssr_v=(1E3*d).toFixed(0);b=a.w.o.index;vy(b,a.w.u,!0)&&(e.ssr_ist=(1E3*b.Yc(a.w.u)).toFixed(0),e.ssr_id=(1E3*b.getDuration(a.w.u)).toFixed(0));e=Qv(e);a.R("ctmp","ssr",e,!1)};
Eia=function(){this.o=[];this.u=g.UD};
Fia=function(a,b,c){var d=[];for(b=JG(a,b);b<a.o.length;++b){var e=a.o[b];(e.end<=c||e.contains(c))&&d.push(e);if(e.start>c)break}return d};
KG=function(a,b){for(var c=[],d=g.q(a.o),e=d.next();!e.done&&!(e=e.value,e.contains(b)&&c.push(e),e.start>b);e=d.next());return c};
Gia=function(a){return a.o.slice(JG(a,0x7ffffffffffff),a.o.length)};
JG=function(a,b){var c=rb(a.o,function(d){return b-d.start||1});
return 0>c?-(c+1):c};
LG=function(a,b){for(var c=NaN,d=g.q(a.o),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};
MG=function(a,b){if(1<b.length&&b.length>a.o.length)a.o=a.o.concat(b),a.o.sort(a.u);else for(var c=g.q(b),d=c.next();!d.done;d=c.next())d=d.value,!a.o.length||0<a.u(d,a.o[a.o.length-1])?a.o.push(d):g.vb(a.o,d,a.u)};
NG=function(a,b,c,d){g.B.call(this);this.A=NaN;this.C=this.F=this.started=!1;this.O=a;this.P=b;this.G=c;this.H=d;this.J=new g.J(this.u,250,this);g.H(this,this.J);this.B=new g.J(this.u,0,this);g.H(this,this.B);this.w=[];this.o=new Eia};
OG=function(a,b){if(!a.la()){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){var e=d.value;if(e){g.fb(a.w,e);var f=a.o;d=f.o;e=g.qb(d,e,f.u);0<=e&&g.eb(d,e)}}a.u()}};
PG=function(a){return a.la()?[]:a.o.o};
QG=function(a,b){var c=(0,g.ae)(PG(a),function(d){return d.namespace==b});
OG(a,c);return c};
RG=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.w.indexOf(e)&&(a.w.push(e),c.push([1,e]))}return c};
SG=function(a,b){var c=[];if(!b.length)return c;b.sort(g.UD);for(var d=0;d<b.length;d++){var e=b[d];a.w.splice(a.w.indexOf(e),1);c.push([2,e])}return c};
Jia=function(a){if(a.started&&!a.la()){a.B.stop();var b=a.G();g.W(b,32)&&a.J.start();for(var c=Hia(a),d=g.W(b,2),e=[],f=[],k=0;k<a.w.length;k++){var l=a.w[k];l.active&&(d?0x8000000000000>l.end:!l.contains(c))&&f.push(l)}e=e.concat(SG(a,f));if(d){b=KG(a.o,0x7ffffffffffff);var m=b.filter(function(p){return 0x8000000000000>p.end});
var n=Gia(a.o)}else b=a.A<=c&&yD(b)?Fia(a.o,a.A,c):KG(a.o,c);e=e.concat(RG(a,b));m&&(e=e.concat(SG(a,m)));n&&(e=e.concat(RG(a,n)));a.A=c;Iia(a,e)}};
Iia=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=d[1];1==d[0]?(e.u&&e.u.R("onEnter",e),a.H(g.VD(e.namespace),e)):(e.u&&e.u.R("onExit",e),a.H("crx_"+e.namespace,e))}};
Hia=function(a){return g.W(a.G(),2)?0x8000000000000:1E3*a.O()};
VG=function(a,b,c,d,e,f,k){g.Q.call(this);var l=this;this.V=a;this.o=b;this.B=c;this.ga=new tG;this.Ua=k||null;this.O=new hG(a,b);this.F=new sia(this.O,b,this.B,d);a=via(this.F,e,f&&f.id);this.A=new HF(this.o,a.audio,(0,g.x)(this.bw,this));this.u=new HF(this.o,a.video,(0,g.x)(this.bw,this));TG(this,this.A);TG(this,this.u);this.u.w.iz(this.A.w);this.w=null;this.za={updateend:this.nH,error:this.kK};this.ca=new g.J(this.tf,0,this);g.H(this,this.ca);this.xa=new g.J(this.tf,1E3,this);g.H(this,this.xa);
this.yb=new g.J(this.tf,void 0,this);g.H(this,this.yb);this.Oa=new g.J(this.tf,1E4,this);g.H(this,this.Oa);this.U=this.C=NaN;this.Ea=0;this.da=this.Aa=this.ea=!1;this.sa="";this.ya=new Xw(5);this.na={};this.Ha=NaN;(this.G=Cia(this.o,this.V,this.ya,function(m,n){return UG(l,m,n)}))&&this.G.subscribe("ctmp",this.xc,this);
this.P=new nG(this.B,this.u,this.A,this.o);Kia(this,this.P);this.gb=NaN;this.Ia=null;this.S=NaN;this.Hb=this.ob=!1;this.Qa=0;this.Z=!1;this.J=this.H=null;this.ra=!1};
Lia=function(a){var b=a.u.o.index;a.Ia=new Xha({Ih:a.o.Ih,ne:a.o.u.ne,OO:b.o,kb:function(){return b.kb()},
jr:function(){return b.jr()}})};
WG=function(a,b){b=b||a.u&&a.u.u&&a.u.u.startTime||a.C;var c=a.u;var d=a.F;var e=d.u&&d.u.index.Me(b)||0;d.V!=e&&(d.S={},d.V=e,uG(d,d.A));e=!BG(d)&&-1<d.O&&8E3>(0,g.O)()-d.O;var f=d.u&&3*yG(d,d.u.info)<lG(d.U);if(!e||f)wG(d),xG(d),d.P=d.P||d.u!=d.B;d.u&&!d.u.index.Pb()&&(d.V=-1);d=d.u;c.o!=d&&(c.o=d);c=a.A;d=a.F.w;c.o!=d&&(c.o=d)};
XG=function(a,b){a.Aa=b;a.Z||(a.ea=!0)};
YG=function(a){a.w&&a.w.o&&a.w.u&&(xr(a.w.o,a.za,a),xr(a.w.u,a.za,a));a.A.F=null;a.u.F=null;a.w=null};
$G=function(a,b){b=void 0===b?!1:b;YG(a);b?a.Z=!0:a.o.qe?XG(a,a.ob):XG(a,!1);ZG(a)};
bH=function(a){a.w&&hw(a.w)&&($G(a),a.o.ov&&aH(a,!0,"fmt.unplayable",{unexpected:1}))};
dH=function(a,b,c){if(a.ea&&(!kx(a.V)||a.Aa)||a.o.V&&!kx(a.V))return!1;if(a.B.u){if(0<b.A.length&&b.u&&-1==b.u.u||b.A.length>=a.o.kC&&!a.o.Hb||!a.o.Xu&&0<b.A.length&&!a.o.u.ne)return!1;if(b.G)return!a.B.isLive||!isNaN(a.Ha)}if(fG(b))return!1;if(!(b.u||a.B.u&&a.o.Hb&&b.G)){if(!b.o.Dc())return!1;TF(b,a.C)}var d=b.A.length+c.A.length;($F(b)||$F(c)||a.B.isLive&&(!a.o.Hb||!b.A.length))&&--d;if(d+1>=a.o.NC)return!1;d=b.u;if(!d)return!0;if(!iy(d.o.B))return!1;4==d.type&&d.o.Dc()&&(b.u=g.Wa(d.o.fp(d)),d=
b.u);if(!d.C&&!d.o.ng(d)||d.o.info.audio&&4==d.type)return!1;if(bG(b)&&!a.o.ra)return!0;if(d.C||VF(b)&&VF(b)+VF(c)>a.o.ya)return!1;var e=!b.B&&!c.B,f=b==a.u&&a.Z;!(c=!!(c.u&&!c.u.C&&c.u.B<d.B)&&(!a.B.u||c.u&&c.u.B&&d.B)&&e&&!f||a.o.U&&!b.B&&c.B)&&(c=Nu(d))&&(d=d.B,a.Z&&a.H?c=a.H.Rc.startSecs+a.H.Rc.durationSecs:(c=cH(a,b,!0),!BG(a.F)&&0<a.o.Z&&(e=((0,g.O)()-a.Ea)/1E3,c=Math.min(c,a.o.Z+a.o.pc*e)),c=a.C+c,a.o.Ef&&(e=Mia(a)+a.o.Ef,e<c&&(a.xc("mrl","ori."+c+";mod."+e,!0),a.o.gA&&(a.Ea=(0,g.O)()),c=e))),
c=d>c);return c||a.o.YC&&(a=b.F)&&a.isLocked()?!1:!0};
eH=function(a,b,c){if((!a.w||ew(a.w)||jw(a.w))&&!a.P.w&&a.F.Z){var d=a.C;a=a.O;c=jG(a,b.o.info.o,c.o.info.o,0);var e=fx(a.u)+c/ix(a.u);d+=Math.max(e,e+a.o.kd-c/b.o.info.o);a:{if(b.A.length){if(b.A[0].info.o[0].startTime<=d)break a;XF(b)}b.w.ez(d);b.A.length?b.u=g.Wa(g.Wa(b.A).info.o):b.w.Rx()?b.u=b.w.rl().info:b.u=IF(b);b.u&&d<b.u.startTime&&(b.O=0,b.u=b.o.Vf(d,!0).o[0])}}};
gH=function(a,b,c){if(dH(a,b,c))if(c=Nia(a,b,c),a.o.yv&&a.B.u&&!b.G&&0>c.o[0].u)a.xc("invalidsq",Su(c.o[0]));else{if(a.Fb){var d=Oia(a.Fb.o,c.o[0].F,c.o[0].o.info.id);d&&(c.B=d)}a.o.Bm&&-1!=c.o[0].u&&c.o[0].u<a.B.Md&&(c=b.o.di(a.B.Md,!1));a=fH(a,c);b.A.push(a);b.u=g.Wa(a.info.o)}};
Nia=function(a,b,c){if(b.G){if(a.B.isLive){var d=a.B.Md&&a.B.Z?b.o.di(a.B.Md,!1):b.o.Vf(Infinity);d.de=a.Ha}else d=b.o.di(0,!1);a.G?0==d.de&&(d.A=a.G.J):d.A=a.gb;return d}d=b.u;if(!d.o.Dc())return d.o.Ac()?(a=jG(a.O,b.o.info.o,c.o.info.o,0),a=d.o.bi(d,a)):a=d.o.pj(d),a;!bG(b)||a.o.ra||a.B.u||(eH(a,b,c),b.u||TF(b,a.C));d=b.u;var e=d.B-a.C,f=!d.range||0==d.Na&&0==d.w?0:d.range.length-(d.w+d.Na),k=d.o;Pia(a,b,e)&&0==f&&(a.B.u?k=b.o:(k=d.startTime+hH,d.Na&&(k+=d.duration),TF(b,k),d=b.u,k=d.o));k.Ac()?
(c=jG(a.O,k.info.o,c.o.info.o,e,zia(a.F)&&a.da),b=a.o.wm?aG(b):aG(b)&&b.o.Dc(),d=Qia(d,c,b)):(0>d.u&&(c=Ru(d),c.pr=""+b.A.length,a.P.w&&(c.sk="1"),a.xc("nosq",d.G+";"+Qv(c))),d=k.pj(d));a.Z&&d.o.forEach(function(l){l.type=6});
return d};
Pia=function(a,b,c){if(!aG(b)||!b.o.Dc())return!1;a=Math.min(15,.5*cH(a,b,!0));return bG(b)||c<=a};
Qia=function(a,b,c){b=a.o.bi(a,b);if(b.range&&1<b.o.length)if(c||b.u.o||b.o[0].o!=a.o)b=a.o.bi(a,b.o[0].Na);else{c=b.o[b.o.length-1];var d=c.Na/b.range.length;!c.A&&.4>d&&(b=a.o.bi(a,b.range.length-c.Na))}return b};
Ria=function(a,b){var c=oy(b),d=a.O;var e=Math.min(2.5,fx(d.u));d=kG(d);e=c-e*d;d=Mu(b.o[0]);var f=et(b.u.u),k=a.o.V,l;a.Ia?l={ff:d,Rr:f,Lr:k,lG:a.Ia,Ma:b.o[0].u,de:b.de}:l={ff:d,Rr:f,Lr:k};return new bia(a.V,c,e,l)};
fH=function(a,b){Nu(b.o[b.o.length-1])&&iH(a,xia(a.F,b.o[0].o));var c=Ria(a,b);a.o.CB&&(c.G=[]);var d=new BE(a.o,b,c,a.na);c.Aa=function(){return jia(d)?d.A.pn&&window.performance&&window.performance.now&&d.o&&d.o.aj()&&ME(d)&&zE(d.o)?d.info.o[0].o.info.video?3:4:2:1};
gia(d,(0,g.x)(a.GM,a));3==b.o.length&&1==b.o[0].type&&2==b.o[1].type&&4==b.o[2].type&&b.o[0].o.info.video&&(d.ca=Bia(a.F));a.Z&&(d.da=!0);d.start(Math.max(0,b.o[0].F-a.C));return d};
iH=function(a,b){b&&a.R("videoformatchange",b)};
jH=function(a,b){var c=b.info.o[0].o,d=c.info.video?a.u:a.A;Sia(a,d,b);b.info.ff()&&!ly(b.info)&&((0,g.y)(b.w.o,function(e){d.w.so(e)}),a.o.cn||a.R("metadata",c));
a.o.Id&&KF(d);return!!MF(d)};
Sia=function(a,b,c){if(a.B.u&&b&&(b.G&&(5<=c.state||ME(c),b.G=!1),c.S&&a.ya.w(1,c.S),c.o&&(c.V=parseInt(c.o.Xc("X-Head-Seqnum"),10)),b=c.V)){a=a.B;for(var d in a.o)c=a.o[d].index,c.u&&(c.w=Math.max(c.w,b))}};
kH=function(a,b,c){a:{b=b.info;var d=a.o.fv,e=null,f=b.o[0];if(b.range)e=Ju(b.range.start,Math.min(4096,b.range.length));else if(d){if(b.w&&0<=b.w.indexOf("/range/")||"1"==b.u.A.get("defrag")||"1"==b.u.A.get("otf")){c=null;break a}e=Ju(0,4096)}else if(f.o.info.video){c=null;break a}b=new Lu(5,f.o,e,"createProbeRequestInfo_"+f.G,f.u);b=new ky([b]);b.C=c;c=b}c&&fH(a,c)};
oH=function(a){var b=a.w.o,c=a.w.u;a.A.o.F&&lH(b,a.A.o.F);if(Tia(a)){if(a.o.xm){if(!b.Nh()){var d=MF(a.A);d&&mH(a,b,d)}c.Nh()||(b=MF(a.u))&&mH(a,c,b)}}else{if(a.G){d=a.G;var e=a.A,f=Yv(a.w.u.nd());if(d.B)d=Dia(d,f);else{if(f=MF(e)){var k=f.u;k&&k.B&&k.w&&(e=e.A.length?e.A[0]:null)&&3<=e.state&&7!=e.state&&0==e.info.de&&ME(e)&&(d.B=e,d.H=k,d.w=f.info,d.C=(0,g.I)()/1E3,d.G=d.C,d.F=d.w.startTime)}d=NaN}d&&a.R("seekplayerrequired",d,!0)}d=!1;nH(a,a.u,c)&&(d=!0,c=a.ga,c.w||(c.w=(0,g.I)(),c.dd("vda"),ZA("vda"),
c.u&&Np(4)));c=MF(a.u);a.o.xa&&!d&&c&&(a.Hb||a.xc("sbp",a.w.u.Va({ns:Su(c.info)})),a.Hb=!0);a.w&&!hw(a.w)&&(nH(a,a.A,b)&&(b=a.ga,b.u||(b.u=(0,g.I)(),b.dd("ada"),ZA("ada"),b.w&&Np(4)),d=!0),!a.la()&&a.w&&(!a.o.Fb&&SF(a.u)&&SF(a.A)&&ew(a.w)&&!a.w.fe()&&(b=IF(a.A).o,b==a.B.o[b.info.id]&&(b=a.w,ew(b)&&b.w.endOfStream(),b=a.V,Ow(jx(b)),b.B=ax()),a.o.Am&&(b=(0,g.O)(),c=new Uint8Array(524288),e=new Uint8Array((new Uint8Array(524288)).buffer,1),(new Uint8Array(c.buffer,1)).set(e),a.xc("arrayBench","dur."+
((0,g.O)()-b)))),d&&!jw(a.w)&&g.zn(a.ca)))}};
Tia=function(a){if(a.o.Ha)return!1;var b;if(!(b=fG(a.u))&&(b=a.P.w)){b=a.O;var c=a.u,d=a.A;if(0==c.A.length&&0==d.A.length)b=!0;else{var e=0,f=c.w.An().concat(d.w.An());f=g.q(f);for(var k=f.next();!k.done;k=f.next())e+=k.value.Na;c=c.o.info.o+d.o.info.o;e/=c;b=10<e?!0:10>c*(10-e)/lG(b)}(b=!b)||(b=a.u,b=0<b.A.length&&1==b.w.Ax()&&b.w.Ot().info.H<b.S)}if(b)return!0;if(!a.da||!a.o.Aa||10>a.C||360<a.u.o.info.wa().dc)return!1;b=cG(a.u,a.C,a.o.Aa)||cG(a.A,a.C,a.o.Aa);return(0<a.u.A.length||0<a.A.A.length||
dH(a,a.u,a.A)||dH(a,a.A,a.u))&&b};
nH=function(a,b,c){if(c.fe())return!0;if(!c.wq())return!1;var d=MF(b);if(!d||6==d.info.type)return!1;var e=d.info,f=IF(b);!f||f.A||Ou(f,e)||c.abort();c.Ju(e.o.info.wc,e.o.info.mimeType);if(e=a.o.ob&&a.B.w&&0==d.info.w&&(g.bv(d.info.o.info)||a.o.Gw)){if(null==c.Nh()){e=IF(b);if(!(f=!e||e.o!=d.info.o)){b:if(e=e.J,f=d.info.J,e.length!=f.length)e=!1;else{for(var k=0;k<e.length;k++)if(!g.ub(e[k],f[k])){e=!1;break b}e=!0}f=!e}e=f}else e=c.Nh(),f=d.info.o.o,e=e!==f&&!g.ub(e,f);e=!e}e&&(g.bv(d.info.o.info)?
(bu(Yu(d),1836019574),bu(Yu(d),1718909296)):(e=new gu(Yu(d)),Gu(e),ku(e,524531317,!0),d.o=d.o.split(lu(e)).tp),d.w=!1);a.o.zg&&d.w&&(d.w=!1);f=a.G&&!!a.G.B&&b.o.info.audio;e=a.B.u||d.w;if(!(a.B.w&&0!=d.info.w||e&&!f)&&mH(a,c,d))return!0;if(f)return!1;f=a.C+cH(a,b,!1);if(!(f=d.info.F>f)){a:if(a.o.xa&&a.xc("sba",c.Va({as:Su(d.info)})),f=d.w?d.info.o.o:null,k=Is(d.o),d.w&&(k=new Uint8Array(k.buffer,0,k.byteOffset+k.length)),f=pH(a,c,k,d.info,f),"s"==f)c=!0;else{a.o.lv||(c.abort(),YF(b));if("i"==f||"x"==
f)qH(a,"checked",f,d.info);else{if("q"==f&&(d.info.isVideo()?(f=a.o,f.C=Math.floor(.8*f.C),f.ca=Math.floor(.8*f.ca),f.B=Math.floor(.8*f.B)):(f=a.o,f.F=Math.floor(.8*f.F),f.za=Math.floor(.8*f.za),f.B=Math.floor(.8*f.B)),c.supports(2)&&!c.fe()&&!a.w.isView())){f=!1;k=c.nd();for(var l=0;!f&&l<k.length;l++)k.start(l)>d.info.B&&(c.remove(k.start(l),k.end(k.length-1)),f=!0);k=Math.max(0,Math.min(a.C,d.info.startTime)-5);!f&&k&&c.remove(0,k);c=!1;break a}a.R("reattachrequired")}c=!1}f=!c}if(f)return!1;b.w.vo();
NF(b,d);e&&(b=d.info.o.H)&&a.R("newDrmInfo",b.type,b.key);return!0};
qH=function(a,b,c,d){var e="fmt.unplayable",f=!0;"x"==c||"m"==c?(e="fmt.unparseable",d.o.C=e,d.o.info.video&&!AG(a.F)&&zG(a.F,d.o)):"i"==c&&(15>a.Qa?(a.Qa++,e="html5.invalidstate",f=!1):e="fmt.unplayable");d=Ru(d);d.mrs=a.w.w.readyState;d.origin=b;d.reason=c;aH(a,f,e,d)};
sH=function(a,b,c){if(c&&a.o.gb){var d=a.H&&a.J&&a.H.Ma==a.J.Ma-1;d=a.H&&d&&"stop"!=a.H.Rc.event&&"predictStart"!=a.H.Rc.event;a.J&&a.J.Ma<b.Ma&&(d?rH(a,a.J):a.ra=!0);a.J=b}d=a.B;var e=!1,f;for(f in d.o){var k=Cv(d.o[f].info.mimeType)||d.o[f].info.isVideo();c==k&&(k=d.o[f].index,vy(k,b.Ma)||(k.jz(b),e=!0))}qia(a.P,b,c,e)};
mH=function(a,b,c){c.info.o.Dc();var d=c.info.o.o;if(null==d||b.Nh()==d)return!1;var e=d,f=b.sn();if(a.o.zg&&f&&b.isView()&&g.bv(c.info.o.info)){var k=new DataView(d.buffer,d.byteOffset,d.byteLength);(f=ofa(k,f))?e=new Uint8Array(f.buffer,f.byteOffset,f.byteLength):a.xc("fenc","1")}d=pH(a,b,e,null,d);if("s"!=d)return qH(a,"sepInit",d,c.info),!0;(c=c.info.o.H)&&a.R("newDrmInfo",c.type,c.key);return b.fe()};
pH=function(a,b,c,d,e){try{b.appendBuffer(c,d,e)}catch(f){if(11==f.code)return"i";if(12==f.code)return"x";if(22!=f.code&&0!=f.message.indexOf("Not enough storage"))return g.N(f),"u";a.o.fd&&(b=Uv(b.nd()).replace(/,/g,"_"),a.xc("quex","br."+b+";e."+f));return"q"}return hw(a.w)?"m":"s"};
TG=function(a,b){b.w.subscribe("needkeyinfo",a.QJ,a);b.w.subscribe("error",a.zL,a);b.w.subscribe("timestamprewrite",a.EL,a);var c=(0,g.x)(a.BL,a,b);b.w.subscribe("placeholderinfo",c,void 0);c=(0,g.x)(a.CL,a,b);b.w.subscribe("placeholderrollback",c,void 0);c=(0,g.x)(a.DL,a,b);b.w.subscribe("segmentinfo",c,void 0);c=a.AL.bind(a);b.w.subscribe("gaplessinfo",c,void 0);b==a.u&&b.w.subscribe("cuepoint",a.FA,a)};
Kia=function(a,b){b.subscribe("seekplayerrequired",function(c){a.Z||a.R("seekplayerrequired",c)});
b.subscribe("ctmp",function(c,d){a.xc(c,d,!1)});
b.subscribe("error",function(c,d,e){aH(a,c,d,e)});
b.subscribe("setcurrenttime",function(c){a.C=c})};
lH=function(a,b){var c=0+b.duration,d=-b.o;0==a.qn()&&c==a.dr()||a.iu(0,c);d!=a.Bb()&&a.kp(d)};
rH=function(a,b){if(a.H){a.J=null;a.ra=!1;var c=b.startTime+a.S-a.H.Rc.startSecs;0>=c||(c=new At(a.H.Rc.startSecs-(a.o.Xb&&!isNaN(a.S)?a.S:0),c,a.H.Rc.context,a.H.Rc.identifier,"stop",a.H.Rc.o+1E3*b.duration),a.xc("cuepointdiscontinuity","segNum."+b.Ma),a.FA(c,b.Ma))}};
cH=function(a,b,c){if(a.ea)return 1;var d=b.o.info.audio?a.o.F:a.o.C;!a.o.ra&&BG(a.F)&&(d=Math.max(d,b.o.info.audio?a.o.za:a.o.ca));c&&(d+=a.o.ya);var e=BG(a.F)?b.u?b.u.o.info.o:b.o.info.o:b.P;d/=e;0<a.o.Ea&&a.w&&ew(a.w)&&(b=b.o.info.video?a.w.u:a.w.o)&&!b.fe()&&(b=b.nd(),e=Vv(b,a.C),0<=e&&(b=a.C-b.start(e),d+=Math.max(0,Math.min(b-a.o.Ea,a.o.OC))));0<a.o.B&&(d=Math.min(d,a.o.B));a.o.jd&&c&&!BG(a.F)&&(c=a.F,c=yG(c,g.Wa(c.o))+yG(c,c.G.o[0]),c=a.o.jd*(c/kG(a.O)),c<d&&15>c&&a.xc("bwcapped","1",!0),c=
Math.max(c,15),d=Math.min(d,c));return d};
Mia=function(a){if(!a.Ua)return Infinity;var b=(0,g.ae)(PG(a.Ua),function(d){return"ad"==d.namespace});
b=g.q(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,c.start/1E3>a.C)return c.start/1E3;return Infinity};
Uia=function(a,b){var c=PF(a.u).find(function(d){return d.startTime>=b&&UG(a,d.startTime,!1)});
return c&&c.startTime<b+1.5*c.duration?c.startTime:0};
UG=function(a,b,c){if(!(a.u.o.Dc()&&a.A.o.Dc()&&a.w&&a.w.u&&a.w.o))return!1;if(c&&a.B.u&&(-1==a.u.C||-1==a.A.C))return!0;var d=RF(a.u,b,c);if(isNaN(d))return!1;a=RF(a.A,a.o.ga?b:d,c);return isNaN(a)?!1:!0};
tH=function(a,b,c,d){c.Dc()||c.A||!iy(c.B)||(d=c.Ti(d?nia(a.O,c.info):0),(0,g.y)(d,function(e){if("f"!=e.o[0].o.info.u){var f=fH(this,e);ly(e)&&(b.A.push(f),b.u=g.Wa(f.info.o))}},a),c.A=!0)};
aH=function(a,b,c,d){a.la()||(d=new Pv(c,b,d),g.Qa(a),Qv(d.details),a.R("error",d),"html5.invalidstate"!=c&&"fmt.unplayable"!=d.errorCode&&"fmt.unparseable"!=c&&b&&a.dispose())};
ZG=function(a){YF(a.A);YF(a.u)};
Via=function(a,b){var c=b.info.video?a.u:a.A;null!=c&&tH(a,c,b,!1)};
Wia=function(a){this.o=a};
Xia=function(a,b,c){this.url=a;this.interval=b;this.o=c};
uH=function(){g.Q.apply(this,arguments)};
vH=function(a,b,c,d){uH.call(this);var e=this;this.w=-1;this.o={};this.A=new g.J(this.B,0,this);g.H(this,this.A);this.u=new g.J(function(){e.la()||(e.A.start(Math.random()*c),e.u.start(b))},a,this);
g.H(this,this.u);d.subscribe("fairplay_next_need_key_info",this.C,this)};
Yia=function(a,b,c){a=a.match(Ug);for(var d=[],e=g.q(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="+bd(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};
wH=function(a){a=a.subarray(4);return String.fromCharCode.apply(null,new Uint16Array(a.buffer,a.byteOffset,a.byteLength/2))};
xH=function(a,b){this.statusCode=a;this.errorMessage=null;this.message=b;this.w=this.u=this.o=this.heartbeatParams=null};
yH=function(a){var b=fu(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="string"===typeof e?/^\s*-?0x/i.test(e)?parseInt(e,16):parseInt(e,10):NaN;b=Lt(b.slice(d+2));if(null==b)return null;a=new xH(e,a.subarray(c+4));0!=a.statusCode&&(a.errorMessage=g.mD(a.statusCode));if(c=b["Heartbeat-Url"])a.heartbeatParams=new Xia(c,parseInt(b["Heartbeat-Interval-Secs"],
10)||60,parseInt(b["Heartbeat-Num-Retries"],10)||4);if(c=b["Authorized-Format-Types"])a.o=c.split(",");if(c=b["Key-Ids"])a.u=Zia(c);a.w=b["Next-Key-Id"];return a};
Zia=function(a){if(!a)return{};a=a.split(";");var b={};(0,g.y)(a,function(c){c=c.split(",");2==c.length&&(b[c[1]]=c[0])});
return b};
zH=function(a,b,c,d){g.B.call(this);this.message=a;this.number=b;this.w=c;this.o=d;this.u=new g.Tn(5E3,2E4,.2)};
AH=function(a,b,c,d,e){g.B.call(this);this.F=a;this.P=b;this.J=c;this.o=d;this.u=e;this.sessionId="";this.H=this.G=this.A=this.C=null;this.B=new g.P(this);g.H(this,this.B);this.o?(this.B.L(this.o,"message",this.uH),this.B.L(this.o,"keystatuseschange",this.vH),this.o.closed&&this.o.closed.then(Fo((0,g.x)(this.HK,this)),null)):this.u&&(ur(this.B,this.u,["mskeymessage","webkitkeymessage"],this.OA),ur(this.B,this.u,["mskeyerror","webkitkeyerror"],this.NA),ur(this.B,this.u,["mskeyadded","webkitkeyadded"],
this.MA))};
BH=function(a,b,c,d,e,f){a.C=b;a.A=c;a.G=d;a.H=e;a.w=f};
CH=function(a,b){g.B.call(this);this.u=a;this.o=b;this.F={};this.A=null;this.B=new g.P(this);g.H(this,this.B);this.w=this.C=null};
DH=function(a){if(a.o.keySystemAccess)return a.o.keySystemAccess.createMediaKeys().then(Fo(function(b){a.la()||(a.C=b,a.u.setMediaKeys(b))}));
hz(a.o)?a.w=new (gz())(a.o.o):kz(a.o)?(a.w=new (gz())(a.o.o),a.u.webkitSetMediaKeys(a.w)):$ia(a);return null};
$ia=function(a){ur(a.B,a.u,["keymessage","webkitkeymessage"],a.yH);ur(a.B,a.u,["keyerror","webkitkeyerror"],a.xH);ur(a.B,a.u,["keyadded","webkitkeyadded"],a.wH)};
aja=function(a){return"widevine"==a.o.flavor&&a.o.lm&&a.C.setServerCertificate?a.C.setServerCertificate(a.o.lm):null};
EH=function(a,b){var c=a.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=d;d=new ArrayBuffer(2*c.length);e=new Uint16Array(d);for(var f=0;f<c.length;f++)e[f]=c.charCodeAt(f);c=new Uint8Array(d);d=0;f=new ArrayBuffer(a.byteLength+4+c.byteLength+4+b.byteLength);e=new Uint8Array(f);f=new DataView(f);e.set(a);d+=a.byteLength;f.setUint32(d,
c.length,!0);d+=4;e.set(c,d);d+=c.length;f.setUint32(d,b.byteLength,!0);e.set(b,d+4);return e};
FH=function(a,b){var c=a.F[b.sessionId];!c&&a.A&&(c=a.A,a.A=null,c.sessionId=b.sessionId,a.F[b.sessionId]=c);return c};
IH=function(a,b,c,d,e,f){g.B.call(this);this.T=a;this.u=a.sd;this.jc=e;this.w=b;this.cryptoPeriodIndex=d.cryptoPeriodIndex||NaN;this.ca=f;this.B=bja(this);this.B.session_id=f;this.G=!0;"widevine"==this.u.flavor&&g.R(b.experiments,"html5_hdr_separate_keys_support")&&(this.B.hdr="1");"playready"==this.u.flavor&&(a=parseInt(g.lv(b.experiments,"playready_first_play_expiration"),10),!isNaN(a)&&0<=a&&(this.B.mfpe=""+a),g.R(b.experiments,"html5_playready_keystatuses_killswitch")||(this.G=!1),g.R(b.experiments,
"html5_playready_enable_non_persist_license")&&(this.B.pst="0"));a="fairplay"==this.u.flavor?wH(d.initData).replace("skd://","https://"):this.u.w;g.R(this.w.experiments,"enable_shadow_yttv_channels")&&(a=new g.Qm(a),document.location.origin&&document.location.origin.includes("green")?g.Sm(a,"web-green-qa.youtube.com"):g.Sm(a,"www.youtube.com"),a=a.toString());e=a=this.H=a;var k=void 0===k?!1:k;Qs(Ss(e,cja,null),e,k,"Drm Licensor URL")||GH(this,"drm.net",!0,"t.x");for(var l in this.B)k=l,e=this.B[l],
a=fh(jh(a,k),k,e);this.V=a;this.U=g.R(b.experiments,"html5_use_drm_retry");this.S=0;this.F=this.J=!1;XA("drm_gk_s");try{var m=c.createSession(d)}catch(n){b="t.g",n instanceof DOMException&&(b+=";c."+n.code),this.jc.R("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"),m=null}if(this.A=m)BH(this.A,this.sH,this.rH,this.qH,this.tH,this),g.H(this,this.A);this.Z=d.A;this.C=[];this.P=!1;this.o={};this.O=NaN;HH(this,"lcsct"+d.cryptoPeriodIndex)};
bja=function(a){var b={};g.gc(b,a.w.deviceParams);b.cpn=a.T.clientPlaybackNonce;var c=["23775802"].filter(function(d){return a.w.experiments.experiments[d]});
0<c.length&&(b.fexp=c.join());a.T.Df&&(b.vvt=a.T.Df,a.T.mdxEnvironment&&(b.mdx_environment=a.T.mdxEnvironment));a.w.Lc&&(b.authuser=a.w.Lc);a.w.pageId&&(b.pageid=a.w.pageId);isNaN(a.cryptoPeriodIndex)||(b.cpi=a.cryptoPeriodIndex);g.R(a.w.experiments,"html5_send_device_type_in_drm_license_request")&&(c=Qca())&&(b.cdt=c);return b};
dja=function(a){var b={};g.gc(b,a.B);return b};
JH=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(lba(a.childNodes[0].data)):null:null};
eja=function(a,b){HH(a,"sdpvrq");if("widevine"!=a.u.flavor)GH(a,"drm.provision",!0,"e.flavor;f."+a.u.flavor+";l."+b.byteLength);else{var c={cpn:a.T.clientPlaybackNonce};g.gc(c,a.w.deviceParams);c=g.eh("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:fu(b)}),responseType:"arraybuffer"};g.Wp(c,d,3,500).then(Fo(function(e){if(!a.la()){e=
new Uint8Array(e.response);var f=fu(e);try{var k=JSON.parse(f)}catch(l){}k&&k.signedResponse?(a.jc.R("ctmp","provisioning",""),a.A&&a.A.update(e)):(k=k&&k.error&&k.error.message,e="e.parse",k&&(e+=";m."+k),GH(a,"drm.provision",!0,e))}}),Fo(function(e){a.la()||GH(a,"drm.provision",!0,"e."+e.errorCode+";c."+(e.Zh&&e.Zh.status))}))}};
KH=function(a){var b;if(b=a.G&&null!=a.A)a=a.A,b=!(!a.o||!a.o.keyStatuses);return b};
LH=function(a,b){XA("drm_net_s");if(a.T.useInnertubeDrmService()){var c=new g.gr(a.w.Rg),d=g.qq(c.o||g.rq());d.drmSystem=fja[a.u.flavor];d.videoId=a.T.videoId;d.cpn=a.T.clientPlaybackNonce;d.sessionId=a.ca;d.licenseRequest=g.Jf(b.message);d.drmParams=a.T.drmParams;isNaN(a.cryptoPeriodIndex)||(d.isKeyRotated=!0,d.cryptoPeriodIndex=a.cryptoPeriodIndex);var e={onSuccess:(0,g.x)(b.F,b),onError:(0,g.x)(b.C,b)};g.wq(c,"player/get_drm_license",d,e)}else c=a.V,d=a.T.oauthToken,e={format:"RAW",method:"POST",
postBody:b.message,responseType:"arraybuffer",withCredentials:!0,timeout:3E4,onSuccess:(0,g.x)(b.B,b),onError:(0,g.x)(b.A,b)},d&&(c=fh(jh(c,"access_token"),"access_token",d)),g.wp(c,e)};
GH=function(a,b,c,d,e){a.la()||a.jc.R("licenseerror",b,c,d,e);c&&a.dispose()};
gja=function(a,b){var c=b.u.getValue();c=new g.J(function(){return LH(a,b)},c);
g.H(a,c);c.start();g.Un(b.u);HH(a,"rtyrq")};
MH=function(a){return g.bb(a,"UHD2")?"highres":g.bb(a,"UHD1")?"hd2160":g.bb(a,"HD")?"hd1080":g.bb(a,"HD720")?"hd720":"large"};
NH=function(a,b){if(!KH(a)&&jz(a.u)&&!b)return"large";var c=[],d=!0;if(KH(a))for(var e in a.o)"usable"==a.o[e].status&&c.push(a.o[e].type),"unknown"!=a.o[e].status&&(d=!1);if(!KH(a)||d)c=a.C;return MH(c)};
OH=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};
hja=function(a){if(KH(a)){var b=[],c;for(c in a.o)b.push.apply(b,[c,a.o[c].type,a.o[c].status]);a=b.join(";")}else a=a.C.join(";");return a};
PH=function(a,b,c,d,e){var f;"playready"===e?f=JH(a):"fairplay"==e&&(f=eu(g.Jf(a)));f&&(a={format:"RAW",method:"POST",postBody:f,responseType:"arraybuffer",withCredentials:!0,timeout:3E4},c=pba(c,d),g.Wp(c,a,3,500).then(function(k){k=new Uint8Array(k.response);(k=yH(k))&&k.message&&b.update(k.message)}))};
QH=function(a,b,c){a:{var d="";switch(b){case "highres":case "hd2880":d="UHD2";break;case "hd2160":case "hd1440":d="UHD1";break;case "hd1080":case "hd720":d="HD";break;case "large":case "medium":case "small":case "light":case "tiny":d="SD";break;default:b=d;break a}g.R(a.w.experiments,"html5_hdr_separate_keys_support")&&c&&(d+="HDR");b=d}for(var e in a.o)if("output-restricted"==a.o[e].status&&(c=a.o[e].type,""==b||"AUDIO"==c||b==c))return!0;return!1};
RH=function(a,b){for(var c in a.o)if("usable"==a.o[c].status&&a.o[c].type==b)return!0;return!1};
HH=function(a,b){VB(a.T)&&a.jc.R("ctmp","drmlog",b)};
SH=function(a,b){g.B.call(this);this.o=g.Vd("video");this.u=null;this.w=new fz("fairplay","com.youtube.fairplay","",b);this.w.Ke=a;this.A=[];this.B=new g.P(this);g.H(this,this.B);ija(this)};
ija=function(a){var b,c;Ca(function(d){if(1==d.o){if(!a.o)return d["return"]();g.th(a.o,{position:"absolute",width:"1px",height:"1px",display:"block"});a.o.src=a.w.A;document.body.appendChild(a.o);a.B.L(a.o,"encrypted",a.C);b=[{initDataTypes:["keyids","cenc"],audioCapabilities:[{contentType:'audio/mp4; codecs="mp4a"'}],videoCapabilities:[{contentType:'video/mp4; codecs="avc1"'}]}];return ta(d,navigator.requestMediaKeySystemAccess("com.youtube.fairplay",b),2)}c=d.u;a.w.keySystemAccess=c;a.u=new CH(a.o,
a.w);g.H(a,a.u);DH(a.u);d.o=0})};
TH=function(){this.keys=[];this.values=[]};
UH=function(a,b,c){uH.call(this);var d=this;this.A=a;this.w=b;this.o=[];this.u=new g.J(function(){var e=d.o.shift().info;a:{var f=e.cryptoPeriodIndex;if(isNaN(f)&&0<d.w.values.length)f=!0;else{for(var k=g.q(d.w.values),l=k.next();!l.done;l=k.next())if(l.value.cryptoPeriodIndex==f){f=!0;break a}f=!1}}f||d.R("rotated_need_key_info_ready",e);0<d.o.length&&(e=d.o[0].time-(0,g.I)(),d.u.start(Math.max(0,e)))},0);
g.H(this,this.u);c.subscribe("widevine_set_need_key_info",this.B,this)};
XH=function(a,b,c){g.Q.call(this);a&&(a.addKey||a.webkitAddKey)||gz()||lz(c.experiments);this.J=a;this.T=b;this.o=b.sd;this.u=c;this.subscribe("newlicense",this.SL,this);this.subscribe("newsession",this.UL,this);this.subscribe("sessionready",this.WM,this);this.subscribe("keystatuseschange",this.BH,this);this.subscribe("hdentitled",this.eL,this);this.sa=b.drmSessionId||g.Mr();this.w=new TH;this.da=null;this.F=new TH;this.B=new TH;this.A=[];b=g.R(this.u.experiments,"html5_drm_initial_constraint_from_config")?
this.T.rk:g.R(this.u.experiments,"html5_drm_start_from_null_constraint");this.H="fairplay"==this.o.flavor?Jw:b?Jw:VH;this.S=null;this.P=new CH(a,this.o);g.H(this,this.P);this.C=null;hz(this.o)&&(this.C=new CH(a,this.o),g.H(this,this.C));this.ra=2;this.V=new g.P(this);g.H(this,this.V);this.na=this.ea=!1;this.ga=null;this.U=!1;a=this.J;this.o.keySystemAccess?this.V.L(a,"encrypted",this.zH):ur(this.V,a,hz(this.o)?["msneedkey"]:["needkey","webkitneedkey"],this.QL);(a=DH(this.P))?a.then(Fo((0,g.x)(this.yL,
this)),Fo((0,g.x)(this.nK,this))):(WH(this,"mdkrdy"),this.U=!0);this.C&&DH(this.C);this.O=this.ca=this.Z=!1;a:{a=this.o;b=this.u.experiments;c=this.w;switch(a.flavor){case "fairplay":19.2999<bl()?(b=a.hn,a=a.gn,a>=b&&(a=.75*b),c=.5*(b-a),a=new vH(c,b,b-c-a,this)):a=null;break a;case "widevine":a=new UH(g.R(b,"disable_license_delay"),c,this);break a}a=null}if(this.G=a)g.H(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.Wv,this);WH(this,"cks"+this.o.be());a=this.o;"com.youtube.widevine.forcehdcp"===
a.o&&a.A&&(this.xa=new SH(this.T.Ke,this.u.experiments),g.H(this,this.xa))};
$H=function(a,b,c){a.na=!0;c=new VE(b,c);g.R(a.u.experiments,"html5_eme_loader_sync")?(a.F.get(b)||a.F.set(b,c),YH(a,c)):0!=a.A.length&&a.T.va&&a.T.va.o?ZH(a):YH(a,c)};
aI=function(a,b,c){WH(a,"onndrminf");b=new VE(c,b);g.R(a.u.experiments,"html5_eme_loader_sync")&&(a.B.get(c)||a.B.set(c,b));YH(a,b)};
bI=function(a,b){g.R(a.u.experiments,"html5_eme_loader_sync")&&(a.B.get(b.initData)||a.B.set(b.initData,b));YH(a,b)};
kja=function(a,b){if(hz(a.o)&&!a.Z){var c=lia(b);if(0!=c.length){var d=new VE(c);a.Z=!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){jja(a,f,d)})},null)}}};
jja=function(a,b,c){var d=b.createSession(),e=a.w.values[0],f=dja(e);d.addEventListener("message",function(k){k=new Uint8Array(k.message);PH(k,d,a.o.w,f,"playready")});
d.addEventListener("keystatuseschange",function(){d.keyStatuses.forEach(function(k,l){"usable"==l&&(a.ca=!0,cI(a,NH(e,a.ca)))})});
d.generateRequest("cenc",c.initData)};
YH=function(a,b){if(!a.la()){if(g.R(a.u.experiments,"html5_eme_loader_sync")&&a.T.va&&a.T.va.o){var c=a.B.get(b.initData),d=a.F.get(b.initData);if(!c||!d)return;b=c;c=b.initData;a.F.remove(c);a.B.remove(c)}WH(a,"initd"+b.initData.length+"ct"+b.contentType);"widevine"==a.o.flavor?a.ea&&!a.T.ua||g.R(a.u.experiments,"vp9_drm_live")&&a.T.ua&&!b.u||(a.ea=!0,WE(b),a.R("widevine_set_need_key_info",b)):a.Wv(b)}};
dI=function(a){a.la()||(a.U=!0,WH(a,"onmdkrdy"),ZH(a))};
ZH=function(a){if(a.na&&a.U&&!a.O){for(;a.A.length;){var b=a.A[0];if(a.w.get(b.initData))if("fairplay"==a.o.flavor)a.w.remove(b.initData);else{a.A.shift();continue}WE(b);break}if(a.A.length){b=a.A[0];a.w.get(b.initData);a.O=!0;var c=new IH(a.T,a.u,a.P,b,a,a.sa);a.w.set(b.initData,c)}}};
cI=function(a,b){var c=Hw("auto",b,!1,"l");if(g.R(a.u.experiments,"html5_drm_initial_constraint_from_config")?a.T.rk:g.R(a.u.experiments,"html5_drm_start_from_null_constraint")){if(Gw(a.H,c))return}else if(Mw(a.H,b))return;a.H=c;a.R("qualitychange");WH(a,"updtlq"+b)};
WH=function(a,b){VB(a.T)&&a.jc.R("ctmp","drmlog",b)};
eI=function(a,b,c,d){this.videoData=a;this.o=b;this.reason=c;this.u=d};
lja=function(a,b){this.videoData=a;this.va=b};
mja=function(a,b,c){return b.Mm(c).then(function(){return(a.fa("disable_index_range_auth")||!b.Gn||!b.va.o||b.Ne()||b.Uk()?0:/(&|,|^)init=0-0(&|,|$)/.test(b.adaptiveFormats))?Yp(new Pv("auth",!0,{init:"1"})):Zp(new lja(b,b.va))},function(d){d instanceof Error&&g.Go(d);
d=b.ua&&!g.Aw(a.w)?"html5.unsupportedlive":"fmt.noneavailable";var e={buildRej:"1",a:""+ +!!b.adaptiveFormats,d:""+ +!!b.Zd,f18:""+ +(0<=b.Sj.indexOf("itag=18")),c18:""+ +Fv('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f43:""+ +(0<=b.Sj.indexOf("itag=43")),c43:""+ +Fv('video/webm; codecs="vp8.0, vorbis"')};b.ma&&(e.f133=""+ +!!b.ma.o["133"],e.f140=""+ +!!b.ma.o["140"],e.c140=""+ +Hv('audio/mp4; codecs="mp4a.40.2"'),e.f242=""+ +!!b.ma.o["242"],e.c242=""+ +Hv('video/webm; codecs="vp9"'));return new Pv(d,
!0,e)})};
fI=function(a,b){g.Q.call(this);this.o=a;this.P=b;this.J=this.C=this.F=this.w=this.u=this.B=this.H=this.A=0;this.G=1};
hI=function(a,b,c){!g.R(a.o.experiments,"html5_tv_ignore_capable_constraint")&&g.Ix(a.o)&&(c=Kw(c,gI(a,b)));return c};
gI=function(a,b){if(g.Ix(a.o)&&mw(a.o.w,qw))var c=b.va.videoInfos[0].wa().dc;else{var d=!!b.va.o;zx(a.o)&&(c=window.screen&&window.screen.width?new g.yd(window.screen.width,window.screen.height):null);c||(c=a.o.Hf?a.o.Hf.clone():a.P.getPlayerSize());if(Bx||iI||d){d=c;var e=g.Rx();d.width*=e;d.height*=e}iB(b.videoData)||TB(b.videoData);var f=b.va.videoInfos;if(f.length){d=.85;e=f[0].wa();4!=e.projectionType&&2!=e.projectionType&&3!=e.projectionType||xx||(d=.45);e=f[0];var k=e.wa();f=g.q(f);for(var l=
f.next();!l.done&&!(e=k=l.value,k=k.wa(),null===c||k.width*d<c.width&&k.height*d<c.height);l=f.next());c="93"==Tu(e)?ov(k.width,k.height):k.quality;c=Hw("auto",c,!1,"r")}else c=Jw;c=c.o}c&&(c=Math.max(c,360));return new Fw(0,c,!1,"r")};
jI=function(a,b){var c;a:if((c=b.va)&&c.videoInfos.length){for(var d=g.q(c.videoInfos),e=d.next();!e.done;e=d.next())if(e=e.value,e.w){c=e.wa().dc;break a}c=c.videoInfos[0].wa().dc}else c=0;el()&&!g.Ix(a.o)&&yv(b.va.videoInfos[0])&&(c=Math.min(c,g.pv.large));return new Fw(0,c,!1,"o")};
nja=function(a){var b,c,d,e;return Ca(function(f){if(1==f.o){if(!a.va.o)return f["return"]();b=a.va.videoInfos;return ta(f,$z(b),2)}c=g.q(b);for(d=c.next();!d.done;d=c.next())e=d.value,e.w||Sw(e.u,e.wa().fps,e.wa().dc-1);f.o=0})};
oja=function(a,b,c,d){if(!b||!c||!b.videoData.Ba)return!1;var e=g.S(a.o.experiments,"html5_df_downgrade_thresh"),f=g.R(a.o.experiments,"html5_log_media_perf_info"),k=g.S(a.o.experiments,"hfr_dropped_framerate_fallback_threshold");if(!(5E3>(0,g.O)()-a.B?0:f||0<e||0<k))return!1;a.B=(0,g.O)();c=c.pl();if(!c)return!1;var l=c.droppedVideoFrames-a.C,m=c.totalVideoFrames-a.J;a.C=c.droppedVideoFrames;a.J=c.totalVideoFrames;f&&b.videoData.dg&&a.R("ctmp","ddf","dr."+c.droppedVideoFrames+";de."+c.totalVideoFrames);
if(g.R(a.o.experiments,"html5_ignore_background_dfd")&&d)return a.u=0,a.w=0,!1;d=60<m?l/m:0;0<d&&(a.F=d);a.w=0<k&&60*d>k?a.w+1:0;if(!e||g.Ix(a.o)||!kI(a,b))return!1;a.u=d>e?a.u+1:0;if(3!=a.u)return!1;lI(a,b.videoData.Ba);a.R("ctmp","dfd",mI());return!0};
kI=function(a,b){if(g.R(a.o.experiments,"html5_restore_perf_cap"))return!0;if(!b.videoData.Ba)return!1;if("1"==b.videoData.Ba.u)return!0;var c=a.o.o?240:360;return b.videoData.Ba.wa().dc>c};
lI=function(a,b){var c=b.wa().dc-1;Sw(b.u,b.wa().fps,c);a.o.pe=new Fw(0,c,!1,"b")};
nI=function(a,b){if(g.R(a.o.experiments,"html5_restore_perf_cap")){for(var c=0,d=a.o.o?240:360,e=g.q(b.va.videoInfos),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.u,l=f.wa().fps;k=+Rw()[Qw(k,l)]||0;f=f.wa().dc;if(!k||Math.max(k,d)>=f){c=f;break}}return new Fw(0,c,!1,"b")}return a.o.pe};
oI=function(a,b){g.R(a.o.experiments,"html5_log_media_perf_info")&&(a.R("ctmp","perfdb",mI()),a.R("ctmp","hwc",""+navigator.hardwareConcurrency,!0),b&&a.R("ctmp","mcdb",b.va.videoInfos.filter(function(c){return!1===c.w}).map(function(c){return Tu(c)}).join("-")))};
mI=function(){var a=Qb(Rw(),function(b){return""+b});
return Qv(a)};
pI=function(a,b){g.B.call(this);this.o=a;this.V=b;this.w=-1;this.O=!1;this.A=-1;this.u=new g.pD;this.P=this.U=this.S=this.G=this.F=this.J=0;this.B=new g.J(this.C,6E4,this);g.H(this,this.B);this.H=!1};
qI=function(a){0<=a.w||(3==a.o.getVisibilityState()?a.O=!0:(a.w=g.jD(a.o),a.B.start()))};
rI=function(a){if(!(0>a.A)){var b=g.jD(a.o),c=b-a.J;a.J=b;8==a.u.o?a.F+=c:g.zD(a.u)&&!g.W(a.u,16)&&(a.G+=c)}};
sI=function(a){var b=g.lv(a.fb.experiments,"web_player_ipp_canary_type_for_logging");if("control"==b)return"HTML5_PLAYER_CANARY_TYPE_CONTROL";if("experiment"==b)return"HTML5_PLAYER_CANARY_TYPE_EXPERIMENT";a=a.fb.experiments.experimentIds;return a.includes("21561000")?"HTML5_PLAYER_CANARY_TYPE_SMALL_EXPERIMENT":a.includes("21561001")?"HTML5_PLAYER_CANARY_TYPE_SMALL_CONTROL":"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"};
pja=function(a){return(!a.fa("html5_health_to_gel")||a.fb.ra+36E5<(0,g.O)())&&(a.fa("html5_health_to_gel_canary_killswitch")||a.fb.ra+36E5<(0,g.O)()||"HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"==sI(a))?a.fa("html5_health_to_qoe"):!0};
uI=function(a){g.B.call(this);var b=this;this.o=a;this.u={};this.U=1;this.ra=NaN;this.w="N";this.F=this.za=this.sa=this.ea=this.C=0;this.V=this.Aa="";this.na=0;this.Ea=-1;this.ya=1;this.O=this.S=0;this.ca=this.P=!1;this.Ia=[];this.G=null;this.H=this.Z=this.A=!1;this.B=-1;this.ga=!1;this.Ha=new g.J(this.tF,750,this);g.H(this,this.Ha);(a=navigator.getBattery?navigator.getBattery():null)&&a.then&&a.then(function(c){b.G=c});
g.tI(this,0,"vps",["N"]);this.Oa=g.S(this.o.fb.experiments,"html5_qoe_length")||1E3};
g.tI=function(a,b,c,d){var e=a.u[c];e||(e=[],a.u[c]=e);e.push(b.toFixed(3)+":"+d.join(":"))};
wI=function(a,b){var c=a.o.o();g.tI(a,b,"cmt",[c.toFixed(3)]);if(a.o.fa("html5_gllat")&&a.J&&1E3*c>a.J.lA+100){var d=a.J;a.da=1E3*b-d.uO-(1E3*c-d.lA)-d.kO;vI(a,"gllat","l."+a.da.toFixed());delete a.J}};
yI=function(a,b){b=0<=b?b:g.jD(a.o);var c=a.o.w();if(!isNaN(a.xa)&&!isNaN(c.w)){var d=c.w-a.xa;0<d&&g.tI(a,b,"bwm",[d,(c.B-a.Qa).toFixed(3)])}a.xa=c.w;a.Qa=c.B;isNaN(c.bandwidthEstimate)||g.tI(a,b,"bwe",[c.bandwidthEstimate.toFixed(0)]);a.o.videoData.dg&&c.o&&vI(a,"bwinfo",c.o);a.G&&g.tI(a,b,"bat",[a.G.level,a.G.charging?"1":"0"]);d=a.o.getVisibilityState();a.Ea!=d&&(g.tI(a,b,"vis",[d]),a.Ea=d);wI(a,b);(d=lD(a.o))&&d!=a.na&&(g.tI(a,b,"conn",[d]),a.na=d);xI(a,b,c)};
xI=function(a,b,c){if(!isNaN(c.u)){var d=c.u;c.A<d&&(d=c.A);g.tI(a,b,"bh",[d.toFixed(3)])}};
zI=function(a){var b=0,c;for(c in a.u)b+=c.length+(0,g.ti)(a.u[c],function(d,e){return d+e.length},0);
b>a.Oa&&(new g.J(a.Fj,0,a)).start()};
AI=function(a,b,c,d){var e=a.o.o();c=[c,e.toFixed(3)];d&&c.push(d);g.tI(a,b,"error",c);a.H=!0};
BI=function(a){!a.o.fa("html5_qoe_user_intent_match_health")||0<=a.B||(a.o.fb.Aa||3!=a.o.getVisibilityState()?a.B=g.jD(a.o):a.ga=!0)};
rja=function(a,b){if(g.W(b,128))return"ER";if(g.W(b,512))return"SU";if(g.W(b,16)||g.W(b,32))return"S";var c=qja[AD(b)];g.Ix(a.o.fb)&&"B"==c&&3==a.o.getVisibilityState()&&(c="SU");"B"==c&&g.W(b,4)&&(c="PB");return c};
CI=function(a,b){var c=a.u.cat||[];c.push(b);a.u.cat=c};
vI=function(a,b,c,d){var e=a.u.ctmp||[],f=-1!=a.Ia.indexOf(b);f||a.Ia.push(b);if(!d||!f){!a.o.fa("html5_censor_ctmp_killswitch")&&/[^a-zA-Z0-9;.!_-]/.test(c)&&(c=c.replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"));if(!d){var k=1E3*g.jD(a.o);c="t."+k.toFixed()+";"+c}sja(b,c);e.push(b+":"+c);a.u.ctmp=e;zI(a);return k}};
DI=function(a){g.B.call(this);var b=this;this.A=a;this.w=this.o=this.u=null;this.A.videoData.isValid()&&!this.A.videoData.Lj&&(this.u=new GD(a),g.H(this,this.u),this.o=new uI(a),g.H(this,this.o));pja(a)&&(this.w=new pI(a,function(c){b.o&&vI(b.o,"h5h",c,void 0)}),g.H(this,this.w))};
g.EI=function(a){a.u&&$C(a.u.u)};
FI=function(a){return a.u?Rha(a.u):function(){}};
tja=function(a){this.A=new nC(50);this.o=null;this.w=this.u=0;this.B=a};
HI=function(a,b,c){g.Q.call(this);var d=new uja;"ULTRALOW"==a.latencyClass&&(d.A=!1);a.cg?d.u=3:g.JB(a)&&(d.u=2);g.R(b,"html5_adaptive_seek_to_head_killswitch")||"NORMAL"!=a.latencyClass||(d.C=!0);var e=uB(a);d.B=2==e||-1==e;d.B&&(d.J++,21530001==rB(a)&&(d.F=g.S(b,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN));if(cl("trident/")||cl("edge/"))e=g.S(b,"html5_platform_minimum_readahead_seconds")||3,d.w=Math.max(d.w,e);g.S(b,"html5_minimum_readahead_seconds")&&(d.w=g.S(b,"html5_minimum_readahead_seconds"));
g.S(b,"html5_maximum_readahead_seconds")&&(d.G=g.S(b,"html5_maximum_readahead_seconds"));g.R(b,"html5_force_adaptive_readahead")&&(d.A=!0);g.S(b,"html5_allowable_liveness_drift_chunks")&&(d.o=g.S(b,"html5_allowable_liveness_drift_chunks"));g.S(b,"html5_readahead_ratelimit")&&(d.H=g.S(b,"html5_readahead_ratelimit"));switch(rB(a)){case 21530001:d.o=(d.o+1)/5,"LOW"==a.latencyClass&&(d.o*=2),d.P=g.R(b,"html5_live_smoothly_extend_max_seekable_time")}this.o=d;this.T=a;this.H=c;this.w=[];this.B=0;this.A=
!0;this.C=1!=this.o.u;this.F=!1;this.G=0;b=isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead;a.cg&&b--;a.isLowLatencyLiveStream&&"NORMAL"!=a.latencyClass||b++;switch(rB(a)){case 21530001:b=1;break;case 2153E4:b=2}this.o.B&&b++;this.u=GI(this,b)};
JI=function(a,b){var c=a.u;(void 0===b?0:b)&&a.o.P&&3==uB(a.T)&&--c;return II(a)*c};
LI=function(a,b){var c=KI(a);var d=a.o.o;a.F||(d=Math.max(d-1,0));d*=II(a);return b>=c-d};
KI=function(a){return Math.max(a.H()-JI(a,!0),a.T.Ab())};
MI=function(a,b,c){b=LI(a,b);c||b?b&&(a.A=!0):a.A=!1;a.C=2==a.o.u||3==a.o.u&&a.A};
PI=function(a,b){var c=LI(a,b);a.F!=c&&a.R("livestatusshift",c);a.F=c};
II=function(a){return a.T.ma?bz(a.T.ma)||5:5};
GI=function(a,b){b=Math.max(Math.max(a.o.J,Math.ceil(a.o.w/II(a))),b);return Math.min(Math.min(8,Math.floor(a.o.G/II(a))),b)};
uja=function(){this.J=1;this.w=0;this.G=Infinity;this.H=0;this.A=!0;this.o=2;this.u=1;this.B=!1;this.F=NaN;this.P=this.C=!1};
SI=function(a,b){g.B.call(this);this.A=a;this.F=b;this.C=new g.pD;this.B=this.u=null;this.H=this.J=this.o=0;this.G=new g.J(this.O,1001,this);g.H(this,this.G);this.V=new QI({delayMs:g.S(this.A.experiments,"html5_seek_timeout_delay_ms")});this.Z=RI(this,"html5_seek_set_cmt");this.S=RI(this,"html5_seek_jiggle_cmt");this.U=RI(this,"html5_seek_new_elem");this.P=RI(this,"html5_decoder_freeze_timeout");this.w={}};
RI=function(a,b){var c=g.S(a.A.experiments,b+"_delay_ms"),d=g.R(a.A.experiments,b+"_cfl");return new QI({delayMs:c,Aw:d})};
UI=function(a,b,c,d,e,f,k){vja(b,c)?(d=TI(a,b),d.wn=k,d.wdup=a.w[e]?"1":"0",a.F("qoeerror",e,d),a.w[e]=!0,b.F||f()):(b.B&&b.u&&!b.C?(f=(0,g.O)(),d?b.o||(b.o=f):b.o=0,c=!d&&f-b.u>b.B,f=b.o&&f-b.o>b.G||c?b.C=!0:!1):f=!1,f&&(f=TI(a,b),f.wn=k,f.we=e,f.wsuc=""+ +d,k=Qv(f),a.F("ctmp","workaroundReport",k),d&&(b.reset(),a.w[e]=!1)))};
TI=function(a,b){var c=b.Va();a.o&&(c.stt=a.o.toFixed(3));a.B&&Object.assign(c,a.B.Va());a.u&&Object.assign(c,a.u.Va());return c};
QI=function(a){a=void 0===a?{}:a;var b=void 0===a.nO?1E3:a.nO,c=void 0===a.oO?3E4:a.oO,d=void 0===a.Aw?!1:a.Aw;this.A=void 0===a.delayMs?0:a.delayMs;this.G=b;this.B=c;this.F=d;this.reset()};
vja=function(a,b){if(!a.A||a.u)return!1;if(!b)return a.reset(),!1;var c=(0,g.O)();if(!a.w)a.w=c;else if(c-a.w>a.A)return a.u=c,!0;return!1};
ZI=function(a,b){g.Q.call(this);var c=this;this.U=b;this.T=a;this.J=new wja(b);this.P=new SI(this.U,this.R.bind(this));var d={};this.Z=(d.seekplayerrequired=this.zO,d.videoformatchange=this.oI,d);VI(this,"html5_unrewrite_timestamps")?this.Z.timestamp=this.HO:this.Z.timestamp=this.GO;this.xa=null;this.na=new g.P;g.H(this,this.na);this.H=this.w=this.B=this.o=null;this.u=NaN;this.F=0;this.C=null;this.ca=NaN;this.G=this.O=null;this.ga=this.S=!1;this.V=new g.J(function(){return WI(c,!1)},this.J.u);
g.H(this,this.V);this.ra=new g.J(function(){var e=c.Va();e.at=c.J.o/1E3;if(c.o&&c.B){var f=c.o.getCurrentTime(),k=c.B;f+=5;if(k.u&&k.A?gG(k.u,f)&&gG(k.A,f):1)if(VI(c,"html5_reload_element_long_rebuffer")&&c.R("newmediaelementrequired"),VI(c,"html5_reload_element_long_rebuffer")||VI(c,"html5_reload_element_long_rebuffer_cfl"))e.nnr_reload="1"}c.R("qoeerror","qoe.longrebuffer",e);c.za=!0},this.J.o);
g.H(this,this.ra);this.za=!1;this.ea=new g.J(function(){c.S=!0;XI(c)});
g.H(this,this.ea);this.Ea=new g.J(function(){return YI(c)});
g.H(this,this.Ea);this.sa=this.A=0;this.da=!0;this.ya=0;this.Aa=NaN};
xja=function(a,b){a.xa=b;a.T.ua&&(a.H=new tja(function(){a:{if(a.xa&&a.xa.va.o){if(qB(a.T)&&a.B){var c=a.B.ya.o()||0;break a}if(a.T.ma){c=a.T.ma.G;break a}}c=0}return c}),a.w=new HI(a.T,a.U.experiments,function(){return a.tc(!0)}));
a.T.startSeconds&&isFinite(a.T.startSeconds)&&1E9<a.T.startSeconds||(a.F=a.F||a.T.startSeconds||0)};
aJ=function(a,b){g.vr(a.na);(a.o=b)?(yja(a),YI(a)):$I(a);var c=a.P;(c.u=b)&&g.zn(c.G)};
cJ=function(a,b){a.B&&xr(a.B,a.Z,a);(a.B=b)?(wr(b,a.Z,a),bJ(a,!0)):$I(a);a.P.B=b};
dJ=function(a){return a.getCurrentTime()-a.Bb()};
eJ=function(a){return!!a.w&&a.w.C};
WI=function(a,b){if(a.w){var c=a.w;var d=a.getCurrentTime();!LI(c,d)&&c.C?(c.o.C&&(c.o.o=Math.max(c.o.o+1,10)),c=Infinity):c=d<c.T.Ab()?Math.min(c.T.Ab()+10,KI(c)):NaN;if(!isNaN(c)){if(VI(a,"html5_in_buffer_ptl")&&a.B&&b){d=a.V.isActive();var e=KI(a.w);if((e=Uia(a.B,e-a.Bb()))&&!d){a.J.u&&a.V.start();a.R("ctmp","inBufferPtl","cmt."+a.getCurrentTime()+";seekTo"+(e+a.Bb()));a.seekTo(e+a.Bb());return}}VI(a,"html5_peg_to_live_logging")&&a.R("ctmp","ptl","cmt."+a.getCurrentTime()+";seekTo"+(c+a.Bb()));
a.seekTo(c)}}};
bJ=function(a,b){if(a.w&&a.B){var c=!1;if(b)c=!0;else if(a.T.isLowLatencyLiveStream||"LOW"==a.T.latencyClass||"ULTRALOW"==a.T.latencyClass)if(c=a.w,c.w.length){var d=c.u;b:{if(c.w.length){if(1<Math.min.apply(null,c.w)){var e=GI(c,c.u-1);break b}if(c.o.A){e=GI(c,c.u+1);break b}}e=c.u}c.u=e;if(d=d!=c.u)c.w=[],c.B=0;c=d}else c=!1;c&&a.R("livereadaheadchanged",JI(a.w));c=a.B;d=a.w.u;e=a.w;e=(e.u-1+e.o.o)*II(e);var f=a.w.o.F;c.Ha=Math.max(d-1,0);c.G&&(c.G.O=e);c.gb=f}};
fJ=function(a){return a.T.ua&&!!a.T.va&&!a.T.va.o};
XI=function(a){zja(a).then(void 0,function(){$I(a)});
gJ(a).then(function(b){a.G&&(a.G.resolve(b),a.R("seekend"));$I(a)},function(){$I(a)});
a.R("seekstart")};
zja=function(a){if(!a.O)if(a.B)if(isFinite(a.u))a.O=a.B.seek(a.u-a.A);else{var b=a.B;ZG(b);b.G&&EG(b.G,b.u.o);g.zn(b.ca);b=b.P;var c=Math.max(b.o.w.Js(),b.u.w.Js());UF(b.o,c);UF(b.u,c);var d=b.B,e;for(e in d.o)nt(d.o[e].index,Infinity);b.C.ea&&(b.G=!0);b.R("setcurrenttime",c);b.w=!0;b.H=new mG;a.O=b.H;a.u=a.B.getCurrentTime()+a.A}else a.O=kf(a.u-a.A);return a.O};
gJ=function(a){var b=a.C;b||(a.C=new mG,b=a.C,YI(a));return b};
hJ=function(a,b,c){return isNaN(b)?NaN:g.sd(b,a.Ab(),a.tc(c))};
YI=function(a){if(a.C)if(!VI(a,"html5_nondash_live_seek_killswitch")&&fJ(a)&&a.o&&0<a.o.he()&&0<eC(a.o)&&(a.u=hJ(a,a.u,!1)),!a.o||!iJ(a))a.Ea.start(750);else if(!isNaN(a.u)&&isFinite(a.u)&&a.ca!=a.u-a.A){var b=a.o.getCurrentTime()-a.u;if(Math.abs(b)<=a.ya)a.C&&a.C.resolve(a.o.getCurrentTime());else if(!a.T.ua&&a.u>=a.tc()-.1)a.u=a.tc(),a.C.resolve(a.tc()),a.R("ended");else try{var c=a.u-a.A;a.o.seekTo(c);a.P.o=c;a.ca=c;a.F=a.u}catch(d){}}};
iJ=function(a){if(!a.o||0==a.o.he()||0<a.o.Qe())return!1;var b=0<a.o.getCurrentTime();if(0<=a.u){var c=a.o.Dk();if(c.length||!b)return Wv(c,a.u-a.A)}return b};
$I=function(a){a.u=NaN;a.ca=NaN;a.C=null;a.O=null;a.G=null;a.S=!1;a.ga=!1;a.ya=0;a.V.stop();a.ea.stop()};
yja=function(a){if(a.o){for(var b=g.q(["loadedmetadata","progress","seeked","seeking"]),c=b.next();!c.done;c=b.next())a.na.L(a.o,c.value,function(d){switch(d.type){case "seeking":d=a.o.getCurrentTime()+a.A;if(!a.C||a.ga&&d!=a.u){a.C=new mG;a.ca=d;var e=a.o.getCurrentTime();a.P.o=e;a.seekTo(d);a.ga=!0}break;case "seeked":a.C&&a.C.resolve(a.o.getCurrentTime());break;case "loadedmetadata":if(a.da){d="ss.";e=0;if((KB(a.T)||a.T.liveUtcStartSeconds)&&(a.T.liveUtcStartSeconds||a.T.startSeconds&&isFinite(a.T.startSeconds)&&
1E9<a.T.startSeconds)&&a.T.ma){e=a.T.liveUtcStartSeconds||a.T.Qg;d="utc.";var f=a.tc();var k=a.tc();k=cz(a.T.ma,k-a.A);e=f-k+e}else a.T.ma&&a.T.ma.u&&a.T.Qg?(d="mss.",e=a.T.Qg+a.Bb()):VI(a,"html5_unrewrite_timestamps")&&a.T.qp&&(d="stss.",e=a.T.qp);e?(a.seekTo(e),a.R("ctmp","startSeconds",d+e),a.da=!1):a.T.Qg&&a.R("ctmp","startSeconds",d+(a.T.Qg+a.Bb()));d=!!e}else d=!1;VI(a,"html5_nondash_live_seek_killswitch")&&!d&&fJ(a)&&(a.u=isFinite(a.u)?g.sd(a.u,a.Ab(),a.tc()):a.tc());case "progress":YI(a)}});
a.G||a.F||a.J.A||!a.o.cp()||a.seekTo(.01)}};
Aja=function(a){if(!a.o)return 0;if(KB(a.T)){var b=iC(a.o)+a.A-a.Ab();a=a.tc()-a.Ab();return Math.max(0,Math.min(1,b/a))}return jC(a.o)};
VI=function(a,b){return a.U&&g.R(a.U.experiments,b)};
wja=function(a){this.u=g.S(a.experiments,"html5_in_buffer_ptl_timeout_ms");this.o=g.S(a.experiments,"html5_long_rebuffer_threshold_ms");this.w=g.R(a.experiments,"html5_live_smoothly_extend_max_seekable_time");this.B=a.fa("html5_seek_over_discontinuities");this.A=a.fa("html5_requires_seek_for_playback_at_zero_killswitch")};
jJ=function(){var a=yq();return!(!a||"visible"==a)};
lJ=function(a){var b=kJ();b&&document.addEventListener(b,a,!1)};
mJ=function(a){var b=kJ();b&&document.removeEventListener(b,a,!1)};
kJ=function(){if(document.visibilityState)var a="visibilitychange";else{if(!document[xq+"VisibilityState"])return"";a=xq+"visibilitychange"}return a};
nJ=function(){g.Q.call(this);this.w=0;this.A=this.u=this.o=this.B=!1;this.C=(0,g.x)(this.wj,this);lJ(this.C);this.F=this.getVisibilityState(this.u,this.isFullscreen(),this.o,this.isInline(),this.A)};
Bja=function(a,b){a.u!=b&&(a.u=b,a.wj())};
oJ=function(a,b){a.A!=b&&(a.A=b,a.wj())};
pJ=function(){this.o=this.started=!1};
Cja=function(a,b,c){var d,e,f,k,l,m;return Ca(function(n){if(1==n.o)return d=window.crypto.subtle,e={name:"HMAC",hash:{name:"SHA-256"}},f=["sign"],ta(n,d.importKey("raw",a,e,!1,f),2);if(3!=n.o)return k=n.u,l=new Uint8Array(b.length+c.length),l.set(b),l.set(c,b.length),ta(n,d.sign("HMAC",k,l),3);m=n.u;return n["return"](new Uint8Array(m))})};
qJ=function(a,b,c){var d,e,f,k,l,m;return Ca(function(n){if(1==n.o)return d=window.crypto.subtle,e={name:"AES-CTR"},f=["encrypt"],ta(n,d.importKey("raw",a,e,!1,f),2);if(3!=n.o)return k=n.u,l={name:"AES-CTR",counter:c,length:128},ta(n,d.encrypt(l,k,b),3);m=n.u;return n["return"](new Uint8Array(m))})};
rJ=function(a){this.o=a;a=new Uint8Array(16);window.crypto.getRandomValues(a);this.u=a};
Dja=function(a,b){return Ca(function(c){return c["return"](Cja(a.o.u,b,a.u))})};
sJ=function(){this.u=new Uint8Array(4096);this.w=new DataView(this.u.buffer);this.o=0;this.A=null};
tJ=function(a,b){var c=a.o+b;if(!(a.u.length>=c)){for(var d=2*a.u.length;d<c;)d*=2;c=new Uint8Array(d);c.set(a.u);a.u=c;a.w=new DataView(a.u.buffer)}};
uJ=function(a,b){if(268435455<b){tJ(a,4);for(var c=b&1073741823,d=0;4>d;d++)a.w.setUint8(a.o,c&127|128),c>>=7,a.o+=1;b=Math.floor(b/268435456)}for(tJ(a,4);127<b;)a.w.setUint8(a.o,b&127|128),b>>=7,a.o+=1;a.w.setUint8(a.o,b);a.o+=1};
vJ=function(a,b,c){uJ(a,b<<3|2);b=c.length;uJ(a,b);tJ(a,b);a.u.set(c,a.o);a.o+=b};
wJ=function(a,b,c){a.A||(a.A=new TextEncoder);c=a.A.encode(c);vJ(a,b,c)};
xJ=function(a){return new Uint8Array(a.u.buffer,0,a.o)};
yJ=function(a){var b=a.gl,c=a.deviceId,d=a.userAgent,e=a.clientName,f=a.clientVersion;this.u=a.hl;this.C=b;this.B=c;this.F=d;this.w=e;this.A=f};
zJ=function(a){var b=a.encryptedClientKey,c=a.iv,d=a.hmac;this.w=a.encryptedOnesiePlayerRequest;this.u=b;this.B=c;this.A=d};
AJ=function(){};
BJ=function(a){this.u=a.client};
CJ=function(a){this.u=a;this.A=this.o=0;this.w=-1};
DJ=function(a){var b=Ks(a.u,a.o);++a.o;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=Ks(a.u,a.o),++a.o,d*=128,c+=(b&127)*d;return c};
EJ=function(a,b){for(a.A=b;a.o+1<=a.u.A;){var c=a.w;0>c&&(c=DJ(a));var d=c>>3,e=c&7;if(d==b)return!0;if(d>b){a.w=c;break}switch(e){case 0:DJ(a);break;case 1:a.o+=8;break;case 2:c=DJ(a);a.o+=c;break;case 5:a.o+=4}}return!1};
FJ=function(a,b){var c=void 0===c?null:c;if(!EJ(a,b))return c;c=DJ(a);var d=Is(a.u,a.o,c);a.o+=c;return d};
Eja=function(a){this.iv=FJ(new CJ(a),5)};
Fja=function(a){a=new CJ(a);var b=-1;b=void 0===b?0:b;this.o=EJ(a,1)?DJ(a):b;0===this.o&&(a=FJ(a,4),this.u=new Eja(new As([a])))};
GJ=function(a){var b=a.videoId;this.u=a.PF;this.w=b};
HJ=function(a){var b=a.httpHeaders,c=a.postBody;this.w=a.url;this.u=b;this.A=c};
Gja=function(a){this.body=FJ(new CJ(a),4)};
IJ=function(a){this.u=a.tE};
JJ=function(a,b){if(b+1<=a.A){var c=Ks(a,b);c=128>c?1:192>c?2:224>c?3:240>c?4:5}else c=0;if(1>c||!(b+c<=a.A))return[-1,b];if(1===c)c=Ks(a,b++);else if(2===c){c=Ks(a,b++);var d=Ks(a,b++);c=(c&63)+64*d}else if(3===c){c=Ks(a,b++);d=Ks(a,b++);var e=Ks(a,b++);c=(c&31)+32*(d+256*e)}else if(4===c){c=Ks(a,b++);d=Ks(a,b++);e=Ks(a,b++);var f=Ks(a,b++);c=(c&15)+16*(d+256*(e+256*f))}else c=b+1,Fs(a,c),c-a.w+4<=a.o[a.u].length?c=Gs(a).getUint32(c-a.w,!0):(d=Ks(a,c+2)+256*Ks(a,c+3),c=Ks(a,c)+256*(Ks(a,c+1)+256*
d)),b+=5;return[c,b]};
KJ=function(a){this.o=new As;this.u=a};
LJ=function(a){var b=g.q(JJ(a.o,0));var c=b.next().value;var d=b.next().value;d=g.q(JJ(a.o,d));b=d.next().value;d=d.next().value;!(0>c||0>b)&&d+b<=a.o.A&&(d=a.o.split(d).tp.split(b),b=d.Sx,d=d.tp,a.u(c,b),a.o=d,LJ(a))};
MJ=function(a){var b=this;this.T=a;this.o=new rJ(this.T.Jt);this.C=new KJ(function(c,d){switch(c){case 10:var e=new Fja(d);switch(e.o){case 0:b.B=e.u.iv}b.u=e.o;break;case 11:switch(b.u){case 0:Hja(b,d)}b.u=null}});
this.w=new mG};
NJ=function(a){for(;a.A.eg();){var b=a.A.ro();a.C.feed(b)}};
Hja=function(a,b){var c,d,e,f;Ca(function(k){if(1==k.o)return c=Is(b),ta(k,a.o.decrypt(c,a.B),2);d=k.u;e=new Gja(new As([d]));f=e.body;a.Ja=(new TextDecoder).decode(f);a.w.resolve(a.Ja);k.o=0})};
Ija=function(a){if(!a.T.Kt.length)return"";var b=new at(a.T.Kt);b.set("ack","1");b.set("cpn",a.T.clientPlaybackNonce);b.set("opr","1");b.set("pvi","135");b.set("pai","140");return bt(b)};
Kja=function(a){var b,c;return Ca(function(d){if(1==d.o)return ta(d,Jja(a),2);b=d.u;c={tE:b};return d["return"](new IJ(c))})};
Jja=function(a){var b,c,d,e,f;return Ca(function(k){if(1==k.o)return ta(k,Lja(a),2);if(3!=k.o)return b=k.u,c=a.o.o.encryptedClientKey,d=a.o.u,ta(k,Dja(a.o,b),3);e=k.u;f={encryptedOnesiePlayerRequest:b,encryptedClientKey:c,iv:d,hmac:e};return k["return"](new zJ(f))})};
Lja=function(a){var b,c,d;return Ca(function(e){switch(e.o){case 1:var f=a.T.N().Rg;f="https://youtubei.googleapis.com/youtubei/"+f.innertubeApiVersion+"/player?key="+f.innertubeApiKey;var k=[];k.push(new AJ);var l=a.T.N().Rg;b=new HJ({url:f,httpHeaders:k,postBody:new GJ({PF:new BJ({client:new yJ({hl:l.Pk,gl:l.Ok,deviceId:"Rory",userAgent:g.Mb,clientName:56,clientVersion:l.innertubeContextClientVersion})}),videoId:a.T.videoId})});e.B=2;return ta(e,a.o.encrypt(b.o()),4);case 4:c=e.u;ua(e,3);break;
case 2:return va(e),d=new Pv("onesie.request.encrypt",!1),e["return"](Promise.reject(d));case 3:return e["return"](c)}})};
Pja=function(a,b,c){return Ca(function(d){a.Dd=!0;return Mja(a.N())?d["return"](Nja(a).then(function(){return Oja(a)})["catch"](function(e){e=Sv(e);
if(e.o)return Promise.reject(e);c(e);return OJ(a,b,c)})):d["return"](OJ(a,b,c))})};
Mja=function(a){return g.R(a.experiments,"html5_onesie")&&g.R(a.experiments,"html5_onesie_player_config")&&"WEB_EMBEDDED_PLAYER"==a.deviceParams.c};
Nja=function(a){var b=null;a.Jt||(b=new Pv("onesie.unavailable.hotconfig",!1,{key:"0"}));return b?Promise.reject(b):Promise.resolve()};
Oja=function(a){var b,c,d;return Ca(function(e){if(1==e.o)return b=new MJ(a),ta(e,b.fetch(),2);c=e.u;d={player_response:c};a.Dd=!1;a.me(d,!0);return a.errorCode||!IB(a)?e["return"](!1):e["return"](!0)})};
OJ=function(a,b,c){var d,e,f,k,l,m,n;return Ca(function(p){switch(p.o){case 1:d=function(){return!0},e=function(t){t=Sv(t);
if(t.o)return Promise.reject(t);c(t);return!1},f=a.isAd()?1:3,k=0;
case 2:if(!(k<f)){p.o=4;break}l=b;if(!(0<k)){p.o=5;break}return ta(p,Cf(5E3),6);case 6:l=hp(b,{playerretry:k});case 5:return ta(p,Qja(a,l).then(d,e),7);case 7:if(m=p.u)return p["return"]();k++;p.o=2;break;case 4:return n=a.isAd()?"auth":"manifest.net.retryexhausted",p["return"](Promise.reject(new Pv(n,!0,{backend:"gvi"})))}})};
Qja=function(a,b){var c,d,e,f,k,l,m,n,p,t,u,z;return Ca(function(C){if(1==C.o)return c=a.N(),d={format:"RAW",method:"GET",withCredentials:!0,timeout:3E4},e={},c.sendVisitorIdHeader&&a.visitorData&&(e["X-Goog-Visitor-Id"]=a.visitorData),(f=g.lv(c.experiments,"debug_dapper_trace_id"))&&(e["X-Google-DapperTraceInfo"]=f),(k=g.lv(c.experiments,"debug_sherlog_username"))&&(e["X-Youtube-Sherlog-Username"]=k),0<Object.keys(e).length&&(d.headers=e),l=(0,g.O)(),m=function(D){if(!a.la()){D=D?D.status:-1;var E=
400==D||429==D,G=((0,g.O)()-l).toFixed();G={backend:"gvi",rc:""+D,rt:G};var F="manifest.net.connect";429==D?F="auth":200<D&&(F="manifest.net.badstatus");return Promise.reject(new Pv(F,E,G))}},n=function(D){return m(D.Zh)},ta(C,Ky(Vp,b,d).then(void 0,n),2);
p=C.u;if(!p||!p.responseText)return C["return"](m(p));a.Dd=!1;t=cp(p.responseText);a.me(t,!0);if(a.errorCode)return u={ec:a.errorCode,ed:a.errorDetail,es:a.Kh},C["return"](Promise.reject(new Pv("auth",!0,u)));if(!a.Dd&&!IB(a))return z=a.isAd()?"auth":"manifest.net.retryexhausted",C["return"](Promise.reject(new Pv(z,!0,{successButUnplayable:"1"})));C.o=0})};
Rja=function(a,b,c){function d(){XA("virc");ZA("virc")}
XA("vir");ZA("vir");a=Pja(a,b,c);a.then(d,d);return a};
TJ=function(a,b,c,d,e,f,k){g.Q.call(this);var l=this;this.A=a;this.za=new Nha;this.O=c;this.ob=d;this.Ef=f;this.J=k;c=(0,g.x)(function(m,n){m!=g.VD("endcr")||g.W(this.u,32)||PJ(this);e(m,n)},this);
this.P=new NG((0,g.x)(this.getCurrentTime,this),(0,g.x)(this.getPlaybackRate,this),(0,g.x)(this.getPlayerState,this),c,a);g.H(this,this.P);this.F=null;this.yb=[];this.Fb=[];this.V=null;this.S=new fI(a,this.ob);g.H(this,this.S);this.S.subscribe("ctmp",this.Ra,this);this.lc=!0;this.G=this.w=null;this.U=[];this.Z=new pJ;this.H=this.sa=null;this.ca=new pJ;this.Ea=null;this.Ff=this.ra=!1;this.Hb=NaN;this.ld=new g.J(this.qN,500,this);g.H(this,this.ld);this.u=new g.pD;this.Rb=[];this.gb=b;this.xa=new g.P;
g.H(this,this.xa);this.T=new g.cB(a);QJ(this,function(){return{}});
this.o=null;this.na=new g.J((0,g.x)(this.qL,this),15E3);g.H(this,this.na);a=g.S(this.A.experiments,"html5_source_buffer_attach_delay_time")||15E3;this.kd=new g.J((0,g.x)(this.hN,this),a);g.H(this,this.kd);this.If=0;this.hd=this.Aa=!1;this.ga=NaN;this.Ia=!1;this.ya=0;this.Xb=new g.J(this.gu,4500,this);g.H(this,this.Xb);this.pc=this.Ha=!1;this.Oa=NaN;this.da=new pC;g.H(this,this.da);rC(this.da,"bufferhealth",function(){var m=l.C;return m.o?gC(m.o):0});
rC(this.da,"bandwidth",(0,g.x)(this.JE,this));rC(this.da,"networkactivity",(0,g.x)(this.RE,this),!0);rC(this.da,"livelatency",(0,g.x)(this.tx,this));rC(this.da,"rawlivelatency",(0,g.x)(this.yx,this));this.da.start();this.jd=!1;this.kc=!0;this.Ic=NaN;this.Kc=this.wh=!1;this.Ua=1;this.Qa=(0,g.x)(this.BG,this);lJ(this.Qa);this.J.subscribe("visibilitystatechange",this.Qa);this.Gf=this.qe=this.pe=0;Sja(this);RJ(this,"html5_playback_timeline_register_disposable")&&g.H(this,this.C);this.ea=null;this.Id=
!1;this.fd=[];this.Hc=this.Hf=0;this.gd=this.zg=!1;this.Wb=new g.J(function(){g.SJ(l,"ad.rebuftimeout","RETRYABLE_ERROR","vps."+l.u.o.toString(16))});
g.H(this,this.Wb)};
cK=function(a,b,c,d){d=void 0===d?!0:d;a.U.length=0;a.sa=null;a.Z.reset();a.ca.reset();a.Aa=!1;a.Ic=NaN;a.lc=!0;a.Ea=null;a.o&&a.o.stopVideo();UJ(a);VJ(a);WJ(a);g.Mp(a.ga);a.da.clear();g.me(a.T);if(2==a.gb||a.A.Bm)b.oy=!0;var e=a.A.u;var f=a.A.Eb,k;(k=b.Ml)||(k=(k=b.Nu)&&XJ.hasOwnProperty(k)&&YJ.hasOwnProperty(k)?YJ[k]+"_"+XJ[k]:void 0);if(k){var l=k.match(ZJ);if(l&&5===l.length){if(l=k.match(ZJ)){var m=Number(l[3]),n=[7,8,10,5,6];l=!(1===Number(l[1])&&8===m)&&0<=n.indexOf(m)}else l=!1;e=e||f||l?
k:null}else e=null}else e=null;e&&(b.adFormat=e);2==a.gb&&(b.hh=!0);if(a.J.isFullscreen()||a.A.u)e=g.os("yt-player-autonavstate"),b.autonavState=e||(a.A.u?2:a.T.autonavState);a.kc=d;a.T=b;a.T.subscribe("dataupdated",a.CN,a);a.T.subscribe("dataloaded",a.Fq,a);a.T.subscribe("dataloaderror",a.ai,a);$J(a,b);QJ(a,c);a.Ia=!1;a.ya=0;aK(a,"newdata");bK(a,new g.pD);c=a.C;d=a.T;$I(c);c.T=d;c.w=null;c.H=null;c.A=0;c.sa=0;c.F=0;c.da=!0;c.P.dispose();c.P=new SI(c.U,c.R.bind(c));UB(b)&&(b=a.T.errorDetail,c=a.T.Qq,
g.SJ(a,"auth",unescape(c.reason),b,b,c.subreason||void 0))};
QJ=function(a,b){var c=new hD(a.T,a.A,b,(0,g.x)(a.getDuration,a),(0,g.x)(a.getCurrentTime,a),(0,g.x)(a.UE,a),(0,g.x)(a.ob.getPlayerSize,a.ob),(0,g.x)(a.getAudioTrack,a),(0,g.x)(a.getPlaybackRate,a),(0,g.x)(a.sr,a),a.Ef,(0,g.x)(a.iF,a),function(){return a.O.tick("qoes")});
a.B=new DI(c)};
VJ=function(a){var b=a.B;b.w&&b.w.C();if(b.u){var c=b.u;if(!c.la()&&c.w){c.B="paused";var d=KD(c);d.isFinal=!0;d.send();g.Jo(c.A);c.dispose()}}b.o&&(c=b.o,c.o.fa("html5_stopVideo_ping_block_killswitch")||c.H)&&("PL"==c.w&&(c.w="N"),d=g.jD(c.o),g.tI(c,d,"vps",[c.w]),c.o.fa("html5_qoe_user_intent_match_health")&&!c.A&&(0<=c.B&&(c.u.user_intent=[c.B.toString()]),c.A=!0),c.Fj(d));b.dispose();g.me(a.B)};
dK=function(a){return a.o&&a.o.ah()?a.o.ib():null};
eK=function(a){if(a.T.isValid())return!0;g.SJ(a,"api.invalidparam",void 0,"invalidVideodata.1");return!1};
hK=function(a,b){a.ra=void 0===b?!1:b;if(!eK(a)||a.Z.started)fK(a)&&a.Z.started&&!a.Z.isFinished()&&!a.ra&&a.Fq();else{a.Z.start();var c=a.B;g.jD(c.A);if(c.o){c=c.o;c.o.videoData.Ll&&CI(c,c.o.videoData.Ll);c.o.videoData.oi?CI(c,"prefetch"):c.o.fa("html5_qoe_user_intent_match_health")||(c.u.user_intent=["0"],c.A=!0);c.o.videoData.vf&&vI(c,"reload","r."+c.o.videoData.reloadReason+";ct."+c.o.videoData.vf);c.o.videoData.cg&&CI(c,"monitor");c.o.videoData.ua&&CI(c,"live");c.o.videoData.wf&&vI(c,"ctrl",
c.o.videoData.wf,!0);if(c.o.videoData.xf){var d=c.o.videoData.xf.replace(/,/g,"_");vI(c,"ytp",d,!0)}c.o.videoData.IB&&(d=c.o.videoData.IB.replace(/,/g,"."),vI(c,"ytrexp",d,!0));if(!g.R(c.o.fb.experiments,"html5_disable_gpu_reporting")){var e=c.o.fb.experiments;d=c.o.videoData;e=g.R(e,"enable_white_noise")||g.R(e,"enable_webgl_noop")||g.R(e,"enable_gpu_logging");var f=d.ej()||d.fg()||d.gg()||d.Yf(),k=d.va&&"1"==g.Wa(d.va.videoInfos).u&&/^g/.test(d.clientPlaybackNonce);d=/^gp/.test(d.clientPlaybackNonce);
(e||f||d||k)&&(d=(0,g.gK)())&&(c.u.gpu=[d])}c.ra=Io((0,g.x)(c.Fj,c),1E4)}a.Fq()}};
fK=function(a){return g.R(a.A.experiments,"tvhtml5_disable_live_prefetch")&&g.Ix(a.A)&&a.T.ua};
Tja=function(a){var b=a.T,c=Qha(a.A,a.T,a.ob.getPlayerSize(),a.Ef(),a.J.isFullscreen());Rja(a.T,c,function(d){return a.ai(d)}).then(void 0,function(d){a.T!=b||b.la()||(d=Sv(d),"auth"==d.errorCode&&a.T.errorDetail?g.SJ(a,"auth",unescape(a.T.errorReason),Qv(d.details),a.T.errorDetail,a.T.Kh||void 0):a.ai(d))})};
Uja=function(a,b){a.w&&(a.w.Fb=new Wia(b))};
Wja=function(a){g.W(a.u,128)||(a.T.Pb(),a.kc=!0,4!=a.gb&&(a.U=g.jb(a.T.Qc)),HB(a.T)?(iK(a).then(function(){a.la()||(a.ra&&jK(a),$J(a,a.T),a.Z.o=!0,aK(a,"dataloaded"),a.ca.started?kK(a):a.ra&&bK(a,sD(sD(a.u,512),1)),oI(a.S,a.H))}),a.Ra("loudness",""+a.T.Ql.toFixed(3),!0),Vja(a)):aK(a,"dataloaded"))};
iK=function(a){WJ(a);a.H=null;var b=mja(a.A,a.T,a.J.u);a.sa=b;a.sa.then((0,g.x)(a.fM,a),(0,g.x)(a.gM,a));return b};
lK=function(a){a.o&&a.o.qj();hK(a);eK(a)&&!g.W(a.u,128)&&(a.ca.started||(a.ca.start(),bK(a,sD(sD(a.u,8),1))),kK(a))};
kK=function(a){if(!a.ca.isFinished()&&a.Z.isFinished()&&!g.W(a.u,128)&&!a.U.length){if(!a.P.started){var b=a.P;b.started=!0;b.u()}if(!mK(a)){a.w&&(b=a.w.ga,a.Ff=!!b.o&&!!b.A);a.ca.isFinished()||(a.ca.o=!0);!a.T.ua||0<a.T.Qg&&!qB(a.T)||(a.seekTo(Infinity),nK(a,"readying"),a.J.isBackground()&&(a.hd=!0));b=a.B;if(b.u){var c=b.u;c.o.videoData.tk&&c.o.videoData.en&&(c.F("connected"),OD(c))}b.o&&(b=b.o,b.o.videoData.ua&&(c=b.o.videoData.ma,qB(b.o.videoData)&&CI(b,"manifestless"),c&&bz(c)&&CI(b,"live-segment-"+
bz(c).toFixed(1))));a.R("playbackready",a);OA("pbr","")||(a.O.tick("pbr"),ZA("pbr"))}}};
PJ=function(a,b,c){b=void 0===b?!0:b;(void 0===c||c)&&a.o&&a.o.pause();b=b?new g.pD(14):new g.pD;bK(a,b)};
$J=function(a,b){if(b.endSeconds&&b.endSeconds>b.startSeconds){var c=b.endSeconds;a.V&&(a.removeCueRange(a.V),a.V=null);a.V=new g.SD(1E3*c,0x7ffffffffffff);a.V.namespace="endcr";a.addCueRange(a.V)}};
pK=function(a,b,c,d){a.T.Ba=c;d&&oK(a,b,d);var e=(d=g.wC(a))?Tu(d):"";d=a.B;e=new eI(a.T,c,b,e);if(d.o){c=d.o;d=g.jD(c.o);g.tI(c,d,"vfs",[e.o.id,e.u,c.Aa,e.reason]);c.Aa=e.o.id;e=c.o.F();if(0<e.width&&0<e.height){e=[Math.round(e.width),Math.round(e.height)];var f=g.Rx();1<f&&e.push(f);g.tI(c,d,"view",e)}c.Z||(c.o.videoData.dg&&CI(c,"rqs"),c.o.videoData.ma&&Oy(c.o.videoData.ma)&&(c.u.preload=["1"]));c.Z=!0;c.H=!0;g.tI(c,d,"vps",[c.w]);c.Fj(d)}c=a.S;c.A=0;c.u=0;a.R("internalvideoformatchange",a.T,"m"==
b)};
g.wC=function(a){var b=qK(a);return Iw(b)||!a.H?null:g.Za(a.H.va.videoInfos,(0,g.x)(b.A,b))};
oK=function(a,b,c){if(c!=a.T.sc){var d=!a.T.sc;a.T.sc=c;"m"!=b&&(b=d?"i":"a");var e=a.B;c=new eI(a.T,c,b,"");if(e.o){e=e.o;var f=g.jD(e.o);c.o.id!=e.V&&(g.tI(e,f,"afs",[c.o.id,e.V,c.reason]),e.V=c.o.id)}d||a.R("internalaudioformatchange",a.T,"m"==b)}};
g.SJ=function(a,b,c,d,e,f){var k,l;g.Yb(Xja,c)?k=c:c?l=c:k="GENERIC_WITHOUT_LINK";b={errorCode:b,errorDetail:e,errorMessage:l||g.rK[k]||"",Tq:k,Kh:f||"",DB:d};aK(a,"dataloaderror");bK(a,rD(a.u,128,b));g.Mp(a.ga);WJ(a);g.sK(a)};
tK=function(a,b){a.U=a.U.filter(function(c){return b!=c});
a.ca.started&&kK(a)};
mK=function(a){var b;(b=!!a.U.length)||(a=a.P.o.o[0],b=!!a&&-0x8000000000000>=a.start);return b};
wK=function(a,b){if(a.o&&b.ib()==a.o.ib()&&(b.isView()||a.o.isView())){if(b.isView()||!a.o.isView())g.vr(a.xa),a.o=b,uK(a),aJ(a.C,a.o)}else{a.o&&vK(a);if(!a.u.isError()){var c=tD(a.u,512);g.W(c,8)&&!g.W(c,2)&&(c=sD(c,1));b.isView()&&(c=tD(c,64));bK(a,c)}a.o=b;a.o.setLoop(a.Kc);a.o.setPlaybackRate(a.Ua);uK(a);aJ(a.C,a.o)}};
vK=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;if(a.o){var d=a.getCurrentTime();0<d&&(a.C.F=d);aJ(a.C,null);xK(a);a.w&&(g.zn(a.w.ca),yK(a,c));a.na.stop();if(a.o){!a.ca.started||a.u.isError()||g.W(a.u,2)||bK(a,sD(a.u,512));g.vr(a.xa);if(b||!a.o.isView())a.o.stopVideo(),UJ(a);a.o=null}}};
zK=function(a){if(!a.H)return[];var b=hI(a.S,a.H,uC(a,!0));b=b||Jw;a=(0,g.ae)(a.H.va.videoInfos,(0,g.x)(b.A,b));b=[];for(var c={},d=0;d<a.length;d++){var e=a[d].wa();c[e.quality]||(b.push(e),c[e.quality]=!0)}return b};
qK=function(a){if(a.H){var b=a.S;var c=a.H,d=uC(a);a=a.J.isBackground();var e=Hw("auto",Pw(),!1,"s"),f=g.R(b.o.experiments,"html5_break_sticky")&&/^i/.test(c.videoData.clientPlaybackNonce);if(Iw(e)||f){e=Kw(gI(b,c),jI(b,c));f=0;!b.o.o||g.Ax(b.o)||ll()||g.R(b.o.experiments,"mweb_uniplayer_auto_quality")||g.R(b.o.experiments,"hls_for_vod")||(f=g.pv.medium);var k=g.S(b.o.experiments,"html5_default_quality_cap");if(k){var l=!!c.va.o&&!c.videoData.wf,m=g.S(b.o.experiments,"html5_quality_cap_min_age_secs");
l&&m&&(l=b.o.schedule.F,l=(0,g.O)()-l>1E3*m);l&&(f=f?Math.min(f,k):k)}if(m=k=g.S(b.o.experiments,"html5_hfr_quality_cap"))a:{m=c.va;if(m.o)for(m=g.q(m.videoInfos),l=m.next();!l.done;l=m.next())if(32<l.value.wa().fps){m=!0;break a}m=!1}m&&(f=f?Math.min(f,k):k);(k=g.S(b.o.experiments,"html5_live_quality_cap"))&&c.videoData.ua&&(f=f?Math.min(f,k):k);f=new Fw(0,f,!1,"d");e=Kw(e,f);f=g.S(b.o.experiments,"html5_background_quality_cap");k=g.S(b.o.experiments,"html5_background_cap_idle_secs");a=!f||"auto"!=
Pw()||Wq()/1E3<k?Jw:a?new Fw(0,f,!1,"v"):Jw;a=Kw(e,a);e=(e=g.S(b.o.experiments,"html5_autonav_quality_cap"))&&c.videoData.fj?new Fw(0,e,!1,"e"):Jw;a=Kw(Kw(Kw(a,e),nI(b,c)),c.videoData.Mu);e=new Fw(0,0,!1,"o");1<b.G&&(e=new Fw(0,480,!0,"o"));e=Kw(a,e)}else b.o.fa("html5_peak_shave_on_sticky")&&(e=Kw(e,c.videoData.Mu));g.R(b.o.experiments,"html5_ignore_sticky_for_medcap")&&(e=Kw(e,jI(b,c)));b=Kw(Kw(Kw(c.videoData.Ep,e),c.videoData.iw),d)}else b=Jw;return b};
uC=function(a,b){if(a.F){var c=a.F;var d=void 0===b?!1:b;d=void 0===d?!1:d;c=!g.R(c.u.experiments,"html5_drm_entitled_qualitycap_on_edge_killswitch")&&d&&c.S?c.S:c.H}else c=a.T.Gn()&&a.T.ma&&Ny(a.T.ma)?(g.R(a.A.experiments,"html5_drm_initial_constraint_from_config")?a.T.rk:g.R(a.A.experiments,"html5_drm_start_from_null_constraint"))?Jw:VH:Jw;a.gd&&(c=Kw(c,AK));return c};
CK=function(a){if(!a.la()&&!g.W(a.u,128)&&a.T.va){if(a.T.va.o)BK(a);else{var b=qK(a),c=a.T;a:{var d=a.T.rg;if(b.o){for(var e=g.q(d),f=e.next();!f.done;f=e.next()){f=f.value;var k=f.be(),l=g.pv[k.wa().quality];if((!b.w||"auto"!=k.wa().quality)&&l<=b.o){d=f;break a}}d=d[d.length-1]}else d=d[0]}c.je=d;pK(a,b.reason,a.T.je.be())}g.wD(a.u)&&(a.C.da=!1,a.playVideo())}};
BK=function(a){if(a.T.va&&a.T.va.o){var b=qK(a),c=a.T.Ba;if(c&&"1"==c.u){var d=ez(a.A);if(d&&d<c.wa().dc){iK(a);return}}if(a.w&&(a=a.w,!a.la()&&!Gw(a.F.A,b)&&a.u)){var e=a.F.A;iH(a,wia(a.F,b));WG(a);c=BG(a.F)&&"m"==b.reason&&a.F.P;d=a.o.lc&&"l"==b.reason&&aG(a.u);b=("b"==b.reason||"o"==b.reason)&&e.o>b.o;c||d||b?a.R("reattachrequired"):(bG(a.u)&&eH(a,a.u,a.A),g.zn(a.ca))}}};
DK=function(a){RJ(a,"html5_nonblocking_media_capabilities")?BK(a):CK(a)};
FK=function(a){uga(a.T.ma,{cpn:a.T.clientPlaybackNonce,c:a.A.deviceParams.c,cver:a.A.deviceParams.cver});var b=a.A,c=a.T,d=new g.ey,e=dy(b,{hasSubfragmentedFmp4:c.hasSubfragmentedFmp4,bj:c.bj});d.u=e;d.Nv=b.fa("html5_unify_sqless_flow");d.U=b.fa("html5_accurate_seeking_redux");d.Oa=b.fa("html5_emsg_crypto_period_index");d.wv=b.fa("html5_seek_accuracy_allowance_killswitch");d.Xb=b.fa("html5_unrewrite_timestamps");b.fa("html5_streaming_xhr")&&(d.H=!0);b.fa("html5_streaming_debug")&&(d.H=!0,d.S=!0);
g.S(b.experiments,"html5_max_av_sync_drift")&&(d.xC=g.S(b.experiments,"html5_max_av_sync_drift"));d.Hb=b.fa("html5_stop_overlapping_requests");d.Ea=g.S(b.experiments,"html5_min_readbehind_secs");d.OC=g.S(b.experiments,"html5_min_readbehind_cap_secs");g.Ix(b)&&(d.Ea=g.S(b.experiments,"tvhtml5_min_readbehind_secs"));d.xm=b.fa("html5_append_init_while_paused");d.jd=g.S(b.experiments,"html5_max_readahead_bandwidth_cap");d.Dm=b.fa("html5_disable_non_contiguous");d.Ef=g.S(b.experiments,"html5_post_interrupt_readahead");
d.fd=b.fa("html5_log_quota_exceeded");d.O=g.S(b.experiments,"html5_subsegment_readahead_target_buffer_health_secs");d.Wb=g.S(b.experiments,"html5_subsegment_readahead_timeout_secs");d.Iv=g.S(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs");d.Rb=g.S(b.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");d.Jv=g.S(b.experiments,"html5_subsegment_readahead_min_load_speed");d.wh=g.S(b.experiments,"html5_subsegment_readahead_load_speed_check_interval");d.Lv=g.S(b.experiments,
"html5_subsegment_readahead_seek_latency_fudge");d.Qa=b.fa("html5_peak_shave");d.Wu=b.fa("html5_peak_shave_always_include_sd");d.pe=b.fa("html5_peak_shave_on_sticky");d.tv=b.fa("html5_restrict_streaming_xhr_on_sqless_requests");d.KC=g.S(b.experiments,"html5_max_headm_for_streaming_xhr");d.Xu=b.fa("html5_pipeline_manifestless_allow_nonstreaming");d.ev=b.fa("html5_prefer_server_bwe3");d.ak=1024*g.S(b.experiments,"html5_video_tbd_min_kb");d.fv=b.fa("html5_probe_live_using_range");d.Fv=b.fa("html5_streaming_xhr_buffer_mdat");
d.mA=b.fa("html5_last_slice_transition");d.Em=b.fa("html5_disable_incomplete_incremental_parse_error");d.zv=b.fa("html5_store_xhr_headers_readable");d.sy=g.S(b.experiments,"html5_incremental_parser_buffer_duration_secs");d.ty=g.S(b.experiments,"html5_incremental_parser_buffer_extra_bytes");d.pn=b.fa("html5_enable_packet_train_response_rate");if(e=g.S(b.experiments,"html5_probe_secondary_during_timeout_miss_count"))d.Gf=e,d.Mv=1;d.Ua=g.S(b.experiments,"html5_probe_primary_delay_base_ms")||d.Ua;d.Ia=
b.fa("html5_no_placeholder_rollbacks");d.Hv=b.fa("html5_subsegment_readahead_enable_mffa");b.fa("html5_allow_video_keyframe_without_audio")&&(d.ga=!0);d.Hf=b.fa("html5_reattach_on_stuck");d.Gw=b.fa("html5_webm_init_skipping");d.wm=b.fa("html5_adaptation_fix");d.yb=g.S(b.experiments,"html5_request_size_padding_secs")||d.yb;d.Cm=b.fa("html5_clamp_with_padding");d.FB=b.fa("html5_log_timestamp_offset");d.jn=b.fa("html5_disable_new_live_flags");d.Fm=b.fa("html5_disable_incremental_traf_timescale");d.Lm=
b.fa("html5_disable_manifestless_sqless_sync");d.kc=b.fa("html5_abs_buffer_health");d.gA=b.fa("html5_interruption_resets_seeked_time");d.hd=g.S(b.experiments,"html5_max_live_dvr_window_plus_margin_secs")||d.hd;d.Ic=b.fa("html5_explicitly_dispose_xhr");d.YC=b.fa("html5_gapless_no_requests_after_lock");d.Ff=g.S(b.experiments,"html5_probe_primary_failure_factor");d.yv=b.fa("html5_skip_invalid_sq");d.Id=b.fa("html5_optimized_polling");d.ld=b.fa("html5_new_mediastream");d.ov=b.fa("html5_restart_on_unexpected_detach");
d.Am=b.fa("html5_benchmark_array_copies");b.fa("html5_media_common_config_killswitch")||(d.B=c.maxReadAheadMediaTimeMs/1E3||d.B,e=b.schedule,e.u.o()==e.policy.w?d.Z=10:d.Z=c.minReadAheadMediaTimeMs/1E3||d.Z,d.pc=c.readAheadGrowthRateMs/1E3||d.pc);vh&&(d.ca=41943040);d.ra=!iw();g.Ix(b)||!iw()?(e=b.experiments,d.C=8388608,d.F=524288,d.zm=5,d.ya=2097152,d.da=1048576,d.jv=1.5,d.Vu=!1,d.J=4587520,hl()&&(d.J=786432),d.o*=1.1,d.w*=1.1,d.ob=!0,d.ca=d.C,d.za=d.F,d.qe=g.R(e,"persist_disable_player_preload_on_tv")||
g.R(e,"persist_disable_player_preload_on_tv_for_living_room")||!1):b.o&&(d.o*=1.3,d.w*=1.3);g.Gv&&cl("crkey")&&(e="CHROMECAST/ANCHOVY"==b.deviceParams.cmodel,d.C=20971520,d.F=1572864,e&&(d.J=812500,d.P=1E3,d.Rv=5,d.da=2097152));!b.fa("html5_disable_firefox_init_skipping")&&g.ow&&(d.ob=!0);b.supportsGaplessAudio()||(d.Hc=!1);sx&&(d.jh=!0);if(qB(c)){d.Yx=!0;d.vv=!1;d.G=b.fa("html5_shrink_live_timestamps");d.ea=d.G||b.fa("html5_manifestless_synchronized");if("ULTRALOW"==c.latencyClass||"LOW"==c.latencyClass&&
!b.fa("html5_disable_low_pipeline"))d.kC=2,d.NC=4;d.Ih=c.defraggedFromSubfragments;c.Ob&&(d.gb=!0);g.JB(c)&&(d.U=!1);d.Bm=g.Ux(b)}c.isAd()&&(d.Aa=0,d.Kc=0);sB(c)&&(d.S=!0);tB(c)&&(d.S=!0,d.H=!0);d.na=b.fa("html5_enable_subsegment_readahead_v3")||b.fa("html5_ultra_low_latency_subsegment_readahead")&&"ULTRALOW"==c.latencyClass;d.PB=qB(c);b.fa("html5_new_mediastream_for_live")&&c.Ne()&&(d.ld=!0);d.sa=c.dg;d.CB=d.sa&&(/^rq[a-f]/.test(c.clientPlaybackNonce)||VB(c));/^pp/.test(c.clientPlaybackNonce)&&(d.IF=
!0,d.gv=!0);ol()&&/(K\d{3}|KS\d{3}|KU\d{3})/.test(b.deviceParams.cmodel)&&!b.fa("html5_disable_move_pssh_to_moov")&&Ny(c.ma)&&(d.ob=!1);Ny(c.ma)&&(d.Hf=!1);if(c.ua){e=bz(c.ma);var f=g.S(b.experiments,"html5_live_abr_head_miss_fraction"),k=g.S(b.experiments,"html5_live_abr_repredict_fraction");f&&e&&(d.gd=Math.min(e*f,d.gd));k&&e&&(d.P=Math.min(1E3*e*k,d.P))}f=0;b.fa("html5_live_use_alternate_bandwidth_window_sizes")&&(f=b.schedule.policy.o,c.ua&&(f=g.S(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.o.u=qB(c)?.5:0;if(!e.policy.u&&f&&(e=e.u,f=Math.round(f*e.P),f!=e.u)){k=Array(f);var l=Math.min(f,e.C?e.u:e.A),m=e.A-l;0>m&&(m+=e.u);for(var n=0;n<l;++n)k[n]=e.B[(m+n)%e.u];for(;n<f;++n)k[n]=Infinity;e.u=f;e.B=k;e.A=l%f;e.C=l==f;e.G=!0;e.J=Yw(e)}d.Ha=b.fa("html5_disable_new_live_flags")?c.ma.w:c.ua;switch(rB(c)){case 21530001:d.QC=b.fa("html5_live_smoothly_extend_max_seekable_time");
d.na=!0;"LOW"==c.latencyClass?d.O=g.S(b.experiments,"html5_jumbo_mobile_subsegment_readahead_target"):"ULTRALOW"==c.latencyClass&&(d.O=g.S(b.experiments,"html5_jumbo_ull_subsegment_readahead_target"));d.Ia=!0;break;case 2153E4:d.na=!1}d.jh=d.jh||c.jh;d.Fb=c.sf;VB(c)&&(d.xa=!0,d.fd=!0);c.sf&&!Ny(c.ma)&&b.fa("html5_hack_gapless_init")&&(d.zg=!0);(e=g.S(b.experiments,"html5_gapless_ad_byterate_multiplier"))&&c.sf&&c.isAd()&&(d.o*=e,d.w*=e);TB(c)&&(d.A=c.videoId,d.kc=!0,TB(c)&&c.Oq&&(d.V=!0));b.fa("html5_drm_initial_constraint_from_config")?
d.lc=c.rk:d.lc=b.fa("html5_drm_start_from_null_constraint");c=g.S(b.experiments,"html5_deadzone_multiplier")||1;(e=g.S(b.experiments,"html5_sticky_reduces_discount_by"))&&"auto"!=Pw()&&(c-=e);d.o*=c;d.w*=c;if(c=g.S(b.experiments,"html5_request_sizing_multiplier"))d.kv=c;d.kd=g.S(b.experiments,"html5_min_upgrade_health")||d.kd;mw(b.w,tw)&&(d.J=NaN);d.cn=b.fa("killswitch_metadata_events");"auto"!=Pw()&&(d.Zj=0);d.If=b.fa("html5_rec_2020_matrix_correction_killswitch");c=d.Ha&&!b.fa("html5_pause_appends_killswitch");
d.Ha=c||b.fa("html5_never_pause_appends");b=b.experiments;g.R(b,"html5_validate_lengthless_slices_killswitch")&&(d.Ov=!1);g.R(b,"html5_reset_on_append_error_killswitch")&&(d.lv=!0);g.R(b,"html5_audio_only_eos_fix_killswitch")&&(d.ym=!0);b=a.getAudioTrack();b=b.sb.isDefault?void 0:b;a.w=new VG(a.A.schedule,d,a.T.ma,a.T.va,qK(a),b,a.P);a.w.subscribe("needkeyinfo",a.TL,a);a.w.subscribe("newDrmInfo",a.RL,a);a.w.subscribe("videoformatchange",a.zG,a);a.w.subscribe("audioformatchange",a.sL,a);a.w.subscribe("error",
a.ai,a);a.w.subscribe("ctmp",a.Ra,a);a.w.subscribe("reattachrequired",a.sO,a);a.w.subscribe("metadata",a.GA,a);a.w.subscribe("constraint",a.AN,a);a.w.subscribe("timestamp",a.kG,a);a.w.subscribe("localmediafetchcomplete",a.tL,a);d=EK(a)?!0:a.ra&&fK(a);a.w.initialize(a.getCurrentTime(),qK(a),d);a.T.probeUrl&&(a.w.sa=a.T.probeUrl);(a.U.length||a.ra)&&yK(a,!1);cJ(a.C,a.w);a.yb=[];a.Fb=[]};
Sja=function(a){a.C=new ZI(a.T,a.A);a.C.subscribe("seekto",function(b,c){a.C.F=b;var d=a.za;d.o=b;d.u=!0;c||GK(a);a.V&&b>a.T.endSeconds&&isFinite(b)&&(a.removeCueRange(a.V),a.V=null);b<HK(a)-.01&&(d=tD(a.u,2),g.W(d,8)&&(d=tD(d,4)),bK(a,d));a.R("SEEK_TO",a,b)});
a.C.subscribe("seekstart",function(){return IK(a)});
a.C.subscribe("seekend",function(){return a.R("SEEK_COMPLETE")});
a.C.subscribe("newmediaelementrequired",function(){return JK(a)});
a.C.subscribe("ended",function(){return PJ(a)});
a.C.subscribe("ctmp",a.Ra,a);a.C.subscribe("qoeerror",a.hO,a);a.C.subscribe("livereadaheadchanged",function(b){var c=a.B;c.o&&(c=c.o,g.tI(c,g.jD(c.o),"lra",[b]),vI(c,"live-readahead-seconds",b.toString()))})};
WJ=function(a){a.w&&(a.w.dispose(),a.w=null,cJ(a.C,null));xK(a)};
xK=function(a){if(a.G){if(a.w){var b=qB(a.T)&&a.T.Ob&&!a.T.isAd();$G(a.w,b)}a.G.dispose();a.G=null}};
LK=function(a){if(a.G)return a.G.dl;RJ(a,"html5_disable_loader_reorder")&&KK(a);Yja(a);return a.G?a.G.dl:null};
Yja=function(a){if(RJ(a,"html5_application_media_source"))a.R("requestmediasource",a);else{var b=g.S(a.A.experiments,"html5_source_buffer_attach_retry_limit")||0;a.If<b&&a.kd.start();try{var c=a.o.lo()}catch(d){if(MK(a,"html5.missingapi",{updateMs:"1"}))return;Dp(d);d.message="window.URL object overwritten by external code";window.setTimeout(function(){throw d;},0);
g.SJ(a,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","updateMs.1")}NK(a,c)}};
NK=function(a,b){RJ(a,"html5_disable_loader_reorder")||KK(a);a.G=b;Dfa(a.G,function(c){try{if(a.G&&(!c||a.G==c)){var d=a.getDuration();!d&&qB(a.T)&&(d=g.S(a.A.experiments,"html5_manifestless_media_source_duration")||3600);a.G.isView()?(c=d,c>a.G.getDuration()&&fw(a.G,c)):fw(a.G,d);var e=a.w,f=a.G;e.Z&&(ZG(e),e.Z=!1);YG(e);if(!gw(f)){var k=e.u.o.info.mimeType,l=e.A.o.info.mimeType,m=new aw("fakesb"==l?new Ov:f.w.addSourceBuffer(l),wv(l)),n=new aw("fakesb"==k?new Ov:f.w.addSourceBuffer(k),wv(k));f.o=
m;f.u=n;g.H(f,m);g.H(f,n)}e.u.F=f.u;e.A.F=f.o;e.w=f;e.resume();wr(f.o,e.za,e);wr(f.u,e.za,e);e.o.FB&&e.xc("toff",""+f.o.supports(1),!0);e.tf();a.R("mediasourceattached");a.kd.stop()}}catch(p){Dp(p),a.ai(new Pv("fmt.unplayable",!0,{msi:"1",ename:p.name}))}})};
KK=function(a){a.w?a.w.seek(a.getCurrentTime()-a.Bb()):FK(a)};
Zja=function(a){return 403==a.details.rc?(a=a.errorCode,"net.badstatus"==a||"manifest.net.retryexhausted"==a):!1};
OK=function(a){return a.Ha||"yt"!=a.A.Z?!1:a.T.se?25>a.T.vf:!a.T.vf};
PK=function(a){a.Ha||(a.Ha=!0,a.R("signatureexpired"))};
RK=function(a,b){try{window.location.reload(!0);a.B.onError("qoe.restart",Qv({detail:"pr."+b}));return}catch(c){}RJ(a,"tvhtml5_retire_old_players")&&g.Ix(a.A)&&QK(a)};
SK=function(a){return"net.retryexhausted"==a.errorCode||"net.badstatus"==a.errorCode&&!!a.details.fmt_unav};
$ja=function(a,b){if(a.o&&("fmt.unplayable"==b.errorCode||"html5.invalidstate"==b.errorCode)){var c=a.o.Qe();b.details.merr=c?c.toString():"0";b.details.msg=a.o.ol()}};
MK=function(a,b,c){var d=g.S(a.A.experiments,"html5_error_cooldown_in_ms")||3E4;if(a.Ic+d>(0,g.I)())return!a.T.se&&(a.A.da+=1,10<a.A.da)?(c.exiled=""+a.A.da,a.B.onError("qoe.start15s",Qv(c)),a.R("playbackstalledatstart"),!0):!1;a.Ic=(0,g.I)();d=a.T;d=d.je?d.je.lx()<Date.now()/1E3+1800:!1;c.e=b;a.G&&(c.msopened=""+ +!!a.G.o);d&&(c.staleprog="1");a.B.onError("qoe.restart",Qv(c));if(d&&OK(a))return PK(a),!0;cl("philips")&&QK(a);b=!1;(c=a.T.Ba)&&"1"==c.u?b=a.A.w.F=!0:a.w?(c=a.w,d=(d=IF(c.u)||c.u.u)?d.o:
c.u.o,d.J+=1,zG(c.F,d)):a.T.je&&a.T.je.fu();JK(a,b);return!0};
JK=function(a,b){b=void 0===b?!1:b;return Ca(function(c){if(1==c.o)return a.w&&a.w.la()&&WJ(a),a.R("newelementrequired"),b?c=ta(c,iK(a),2):(c.o=2,c=void 0),c;g.W(a.u,8)&&a.playVideo();c.o=0})};
QK=function(a){if("GAME_CONSOLE"!=a.A.deviceParams.cplatform)try{window.close()}catch(b){}};
g.sK=function(a,b){b=void 0===b?!1:b;a.o&&(a.o.stopVideo(),UJ(a),WJ(a),g.W(a.u,128)||(b?bK(a,uD(a.u,4,8)):bK(a,rD(a.u))),a.A.F.remove(a.T.videoId))};
GK=function(a){g.W(a.u,32)||(bK(a,sD(a.u,32)),g.W(a.u,8)&&a.pauseVideo(!0),a.R("beginseeking",a));TK(a)};
IK=function(a){g.W(a.u,32)?(bK(a,uD(a.u,16,32)),a.R("endseeking",a)):RJ(a,"html5_sync_seeking_state")&&!g.W(a.u,2)&&bK(a,sD(a.u,16))};
UK=function(a){if(a.T.ma)return cz(a.T.ma,a.getCurrentTime()-a.Bb());if((!RJ(a,"html5_disable_limit_ingestion_tvos")||gl())&&a.o){var b=a.o.no();if(b&&(b=b.getTime(),!isNaN(b)))return b/1E3+a.getCurrentTime()}return NaN};
aK=function(a,b){a.R("internalvideodatachange",void 0===b?"dataupdated":b,a,a.T)};
uK=function(a){(0,g.y)("loadstart loadeddata loadedmetadata play playing progress pause ended suspend seeking seeked timeupdate durationchange ratechange error waiting resize".split(" "),function(b){this.xa.L(this.o,b,this.AG,this)},a);
a.A.qe&&a.o.ah()&&(a.xa.L(a.o,"webkitplaybacktargetavailabilitychanged",a.dK,a),a.xa.L(a.o,"webkitcurrentplaybacktargetiswirelesschanged",a.eK,a))};
WK=function(a){RJ(a,"html5_enable_timeupdate_timeout")&&!a.T.ua&&VK(a)&&a.ld.start()};
VK=function(a){if(!a.o)return!1;var b=a.o.getCurrentTime();a=a.o.getDuration();return!!(1<b&&b>a-.3)};
YK=function(a){window.clearInterval(a.Hb);a.na.stop();a.T.se=!0;a.A.se=!0;a.A.da=0;XK(a);g.W(a.u,8)&&bK(a,tD(a.u,65));var b=a.B;if(b.u){var c=b.u;if(!c.w){g.R(c.o.fb.experiments,"disable_embedpage_playback_logging")||16623!=c.o.videoData.gp||g.Go(Error("Playback for EmbedPage"));var d=ID(c,"playback");c.H=[10+c.o.videoData.dj,10,10,40+c.o.videoData.bl-c.o.videoData.dj,40];var e=c.u;window.clearInterval(e.G);e.G=NaN;e.G=Io((0,g.x)(e.update,e),100);e.F=g.jD(e.u);e.B=YC(e.u);d.u=HD(c,!0);d.send();c.o.videoData.Ro&&
(d=c.o.fb,e=c.o.videoData,e={html5:"1",video_id:e.videoId,cpn:e.clientPlaybackNonce,ei:e.eventId,ptk:e.Ro,oid:e.gB,ptchn:e.fB,pltype:e.hB,content_v:e.Lh()},d=g.eh(d.C+"ptracking",e),LD(c,d));c.o.videoData.tk&&(c.F("playback"),c.A||OD(c));c.o.videoData.Je||ND(c);c.w=!0;c=c.u;c.o=c.u.o();c.F=g.jD(c.u);!(0==c.w&&5>c.o)&&2<c.o-c.w&&(c.w=c.o);c.J=!0}}b.w&&(b=b.w,c=g.jD(b.o),0>b.w&&(b.w=c,b.B.start()),b.A=c,b.J=c);g.zn(a.Xb);a.R("playbackstarted");g.Lp()&&((a=g.w("yt.scheduler.instance.clearPriorityThreshold"))?
a():Np(0))};
XK=function(a){var b=a.getCurrentTime(),c=a.T;!OA("pbs","")&&WA.measure&&WA.getEntriesByName&&(WA.getEntriesByName("mark_nr")[0]?YA("mark_nr"):YA());c.videoId&&a.O.info("docid",c.videoId);c.eventId&&a.O.info("ei",c.eventId);c.clientPlaybackNonce&&a.O.info("cpn",c.clientPlaybackNonce);0<c.startSeconds&&a.O.info("start",c.startSeconds.toString());a.o&&a.o.bh()&&a.O.info("paused",1);c.Ba?a.O.info("fmt",Tu(c.Ba)):a.O.info("fmt","-1");c.oi&&a.O.info("yt_pre",a.Ff?"2":"1");a.J.isFullscreen()&&a.O.info("yt_fs",
"1");a.O.info("cmt",b.toFixed(3));if(a.w){b=a.w.ga;window&&window.performance&&window.performance.getEntriesByName&&(c=window.performance.getEntriesByName(b.A),c.length&&(c=c[0],b.dd("vri",c.fetchStart),b.dd("vdns",c.domainLookupEnd),b.dd("vreq",c.requestStart),b.dd("fvb",c.responseStart),b.dd("vrc",c.responseEnd)),c=window.performance.getEntriesByName(b.o),c.length&&(c=c[0],b.dd("ari",c.fetchStart),b.dd("adns",c.domainLookupEnd),b.dd("areq",c.requestStart),b.dd("avb",c.responseStart),b.dd("arc",
c.responseEnd)));b=b.B;for(var d in b)a.O.tick(d,b[d])}};
TK=function(a,b){b=void 0===b?!1:b;if(a.o&&a.T){var c=a.C,d=g.wD(a.u),e=c.getCurrentTime(),f=c.isAtLiveHead(e);if(c.H&&f){var k=c.H;if(k.o&&!(e>=k.u&&e<k.w)){var l=k.o.Me(e);-1!=l&&(k.u=k.o.Yc(l),k.w=k.u+k.o.getDuration(l),l=(0,g.I)()/1E3-k.o.Ls(l),l-=k.B(),k.A.add(l))}}c.w&&(f&&(f=c.w,k=c.o?gC(c.o):0,f.B++,3>f.B||(0,g.I)()-f.G<f.o.H||(f.G=(0,g.I)(),f.w.push(k),50<f.w.length&&f.w.shift())),f=c.w,MI(f,e,void 0===d?!0:d),PI(f,e),d&&WI(c,!0));c=a.getCurrentTime();!a.w||g.W(a.u,4)&&g.JB(a.T)||(d=a.w,
e=c,d.w&&d.w.u&&(e-=!isNaN(d.S)&&d.o.Xb?d.S:0,d.C!=e&&d.resume(),d.P.w&&!hw(d.w)&&(f=d.C<=e&&e<d.C+10,k=Wv(d.w.u.nd(),d.C+hH),f&&k&&(d.P.w=!1)),d.P.w||(d.C=e),g.zn(d.xa)));5<c&&(a.C.F=c);(d=g.Lp())?g.Mp(a.ga):g.Jo(a.ga);!g.zD(a.u)&&a.o.bh()||g.W(a.u,128)||(e=(0,g.x)(a.sF,a),0==a.o.Vi().length?a.ga=d?g.Jp(e,100):g.Ho(e,100):a.ga=d?g.Jp(e,500):g.Ho(e,500));a.T.Hg=c;if(!b&&g.wD(a.u)&&(c=a.B,c.u&&(c=c.u,c.u.update(),c.o.videoData.Pb()&&c.o.videoData.Je&&c.w&&!c.O&&aD(c.u)>=c.o.videoData.Je&&(c.w&&c.o.videoData.Je&&
(d=ID(c,"delayplay"),d.Aa=!0,d.send(),c.O=!0),ND(c))),a.T.ua&&(0,g.I)()>a.Gf+6283&&(!a.isAtLiveHead()||a.T.ma&&$y(a.T.ma)||(c=a.B,c.o&&(c=c.o,e=c.o.w(),d=g.jD(c.o),xI(c,d,e),e=e.C,isNaN(e)||g.tI(c,d,"e2el",[e.toFixed(3)]))),g.Ux(a.A)&&a.Ra("rawlat","l."+tC(a.da,"rawlivelatency").toFixed(3)),a.Gf=(0,g.I)()),a.T.Ba&&Av(a.T.Ba)&&(c=dK(a))&&c.videoHeight!=a.Hc&&(a.Hc=c.videoHeight,RJ(a,"html5_log_hls_video_height_change_as_format_change")&&a.T.je&&"auto"==a.T.je.Uf.wa().quality&&a.T.rg)))for(c=g.q(a.T.rg),
d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()==a.Hc&&"auto"!=d.Uf.wa().quality){pK(a,"a",d.be());break}oja(a.S,a.H,a.o,a.J.isBackground())&&DK(a);c=a.S;d=a.T.Ba;0>=g.S(c.o.experiments,"hfr_dropped_framerate_fallback_threshold")||!(d&&d.wa()&&32<d.wa().fps)?c=!1:3<=c.w?(c.w=0,c=!0):c=!1;c&&aka(a);a.R("progresssync",a,b)}};
aka=function(a){a.B.onError("qoe.restart","droprate."+a.S.F);a.A.w.C=!1;iK(a).then(function(){return jK(a)})};
bK=function(a,b){if(!g.vD(a.u,b)){var c=new g.BD(b,a.u);a.u=b;var d=!a.Rb.length;a.Rb.push(c);var e=a.o&&a.o.ql();if(g.DD(c,1)&&!g.W(c.o,16)&&!e&&g.W(a.u,8)&&!g.W(a.u,64)&&a.w&&(a.w.da=!0,ZK(a),a.o&&5<=gC(a.o))){e=a.S;var f=a.H;kI(e,f)&&f.videoData.Ba?(6E4<(0,g.I)()-e.H&&(e.A=0),e.A++,e.H=(0,g.I)(),4!=e.A?e=!1:(lI(e,f.videoData.Ba),e=!0)):e=!1;e&&DK(a)}(e=g.S(a.A.experiments,"html5_ad_timeout_ms"))&&a.T.isAd()&&g.W(b,1)&&(g.W(b,8)||g.W(b,16))?a.Wb.start(e):a.Wb.stop();(0>CD(c,8)||g.DD(c,1024))&&a.na.stop();
!g.DD(c,8)||a.T.se||g.W(c.state,1024)||a.na.start();g.W(c.state,8)&&0>CD(c,16)&&!g.W(c.state,32)&&!g.W(c.state,2)&&a.playVideo();g.W(c.state,2)&&KB(a.T)&&(e=a.getCurrentTime(),a.T.lengthSeconds!=e&&(a.T.lengthSeconds=e,aK(a)),TK(a,!0));g.DD(c,2)&&(a.gu(!RJ(a,"web_player_botguard_no_fallback_on_ended")),ZK(a));a.T.ma&&a.T.ua&&!a.zg&&(0>CD(c,8)?(e=a.T.ma,e.A&&e.A.stop()):g.DD(c,8)&&a.T.ma.resume());e=a.C;e.P.C=c.state;if(e.o)if(8==c.o.o&&yD(c.state)&&g.zD(c.state)){if(0<e.J.o&&!e.za&&e.ra.start(),e.J.B){f=
e.o.getCurrentTime();var k=e.o.Ad();var l=VI(e,"manifestless_post_live_ufph")||VI(e,"manifestless_post_live")?Vv(k,Math.max(f-3.5,0)):Vv(k,f-3.5);0<=l&&f>k.end(l)-1.1&&l+1<k.length&&11>k.start(l+1)-k.end(l)&&(l=k.start(l+1)+.2,.2>Math.abs(e.Aa-l)||(e.R("ctmp","seekover","b."+Uv(k,"_")+";cmt."+f),e.Aa=l,e.seekTo(l,{Nk:!0})))}}else 0>CD(c,1)&&e.ra.stop();e=a.B;if(g.DD(c,1024)||g.DD(c,2048)||g.DD(c,512)||g.DD(c,4))e.w&&(f=e.w,0<=f.A||(f.w=-1,f.B.stop())),e.o&&(f=e.o,f.o.fa("html5_qoe_user_intent_match_health")&&
!f.A&&(f.B=-1));e.u&&(f=e.u,f.la()||(g.W(c.state,2)?(f.B="paused",g.DD(c,2)&&f.w&&KD(f).send()):g.W(c.state,8)?(f.B="playing",f.w&&isNaN(f.C)&&HD(f,!1)):f.B="paused",f.A&&g.W(c.state,128)&&(f.F("error-100"),g.Jo(f.A))));if(e.o){f=e.o;k=c.state;l=g.jD(f.o);var m=rja(f,c.state);if(m!=f.w){if(!(l<f.C)){if("PL"==f.w)f.O+=l-f.C;else if("B"==f.w&&f.P){f.P=!1;var n=g.S(f.o.fb.experiments,"html5_disable_last_state_change")?f.C:f.ea;f.S+=l-n;!f.ca&&10<=f.S&&180>=f.O&&(f.o.C(),f.u.qoealert=["1"],f.ca=!0)}"B"!=
m||"PL"!=f.w&&"PB"!=f.w||(f.P=!0);f.C=l}"B"==m&&"PL"==f.w||f.o.videoData.dg?yI(f,l):wI(f,l);f.o.fa("html5_gllat")&&"PL"===m&&g.zn(f.Ha);g.tI(f,l,"vps",[m]);f.w=m;f.ea=l;f.C=l;f.H=!0}m=k.u;g.W(k,128)&&m&&AI(f,l,m.errorCode,m.DB);(g.W(k,2)||g.W(k,128))&&f.Fj(l);f.o.fa("html5_qoe_user_intent_match_health")?g.wD(k)&&!f.A&&(0<=f.B&&(f.u.user_intent=[f.B.toString()]),f.A=!0):g.W(k,8)&&f.o.videoData.oi&&!f.A&&(f.u.user_intent=[l.toString()],f.A=!0);zI(f)}e.w&&(e=e.w,rI(e),e.u=c.state,0<=e.A&&g.DD(c,16)&&
e.P++,c.state.isError()&&e.C());if(d&&!a.la())try{for(var p=g.q(a.Rb),t=p.next();!t.done;t=p.next()){var u=t.value,z=a.P;c=u;if(z.started&&(z.u(),g.W(c.o,16))){c=z;var C=LG(c.o,Math.max(c.A-2E3,0));!isNaN(C)&&0x7ffffffffffff>C&&c.B.start()}a.R("statechange",u)}}finally{a.Rb.length=0}}};
$K=function(a,b){g.W(a.u,128)||(bK(a,uD(a.u,1028,9)),a.Ra("dompaused",b),a.R("onDompaused"))};
jK=function(a){if(!a.o||!a.T.va)return!1;var b=null;a.T.va.o?(b=LK(a),a.w.resume()):(WJ(a),a.T.je&&(b=a.T.je.sl()));var c=b;var d=a.o.mo();b=!1;d&&null!==c&&c.o===d.o||(a.O.tick("vta"),ZA("vta"),0<a.getCurrentTime()&&(b=a.getCurrentTime(),a.C.F=b),a.o.qj(c),a.G&&Np(4),!a.T.se&&g.xD(a.u)&&a.na.start(),b=!0);g.W(a.u,2)||(c=a.C,c.G||!(0<c.F)||c.o&&0<c.o.getCurrentTime()||c.seekTo(c.F));a:if(c=b,g.CB(a.T)&&a.o)if((d=a.T.sd)&&a.o.ah()){var e=a.o.ib();if(a.F)if(e!=a.F.J)UJ(a);else if(c&&"fairplay"==d.flavor&&
!gl())UJ(a);else break a;a.F=new XH(e,a.T,a.A);a.F.subscribe("licenseerror",a.iL,a);a.F.subscribe("qualitychange",a.kL,a);a.F.subscribe("heartbeatparams",a.xG,a);a.F.subscribe("keystatuseschange",a.yG,a);a.F.subscribe("hdproberequired",a.jL,a);a.F.subscribe("ctmp",a.Ra,a);c=g.q(a.yb);for(d=c.next();!d.done;d=c.next())d=d.value,aI(a.F,d.type,d.info);c=g.q(a.Fb);for(d=c.next();!d.done;d=c.next())bI(a.F,d.value);a.yb=[];a.Fb=[]}else g.SJ(a,"fmt.unplayable","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","drm.1");
return b};
UJ=function(a){a.F&&(a.F.dispose(),a.F=null)};
bka=function(a){a.A.w.w=!1;a.B.onError("qoe.restart",Qv({e:"fmt.noneavailable",detail:"hdr"}));iK(a).then(function(){return jK(a)})};
aL=function(a,b){b=void 0===b?!1:b;return a.T.ua&&(a.isAtLiveHead()&&(RJ(a,"html5_videoplayer_getmaxseekabletimeforux_check_pause_killswitch")||!g.W(a.u,4))||eJ(a.C)||g.JB(a.T))?a.getCurrentTime():HK(a,b)};
HK=function(a,b){return a.C.tc(void 0===b?!1:b)};
g.bL=function(a,b){(a.lc=b)||a.na.stop();if(a.T.ma)if(b)a.T.ma.resume();else{var c=a.T.ma;c.A&&c.A.stop()}g.R(a.A.experiments,"html5_suspend_loader")&&a.w&&(b?a.w.resume():yK(a,!0));g.R(a.A.experiments,"html5_fludd_suspend")&&(g.W(a.u,2)||b?g.W(a.u,512)&&b&&bK(a,tD(a.u,512)):bK(a,sD(a.u,512)));c=a.B;c.o&&(c=c.o,g.tI(c,g.jD(c.o),"stream",[b?"A":"I"]))};
cL=function(a){return a.o?a.o.ko():a.Kc};
dL=function(a){a.o&&(a.G?(UJ(a),xK(a),LK(a)):(a.T.je&&a.T.je.fu(),a.o.stopVideo()),a.playVideo())};
eL=function(a,b){g.R(a.A.experiments,"html5_log_rebuffer_reason")&&a.Ra("bufreason","r."+b+";lact."+Wq())};
fL=function(a,b){if(a.T.dg){var c=g.S(a.A.experiments,"html5_log_rebuffer_events");if(c&&a.o){var d=a.o.Va();d.rt=g.jD(a.B.A).toFixed(3);d.e=b.substr(0,3);a.fd[a.Hf++%c]=Qv(d)}}};
ZK=function(a){if(a.T.dg){for(var b=g.q(a.fd),c=b.next();!c.done;c=b.next())a.Ra("vpe",c.value);a.fd=[];a.Hf=0}};
nK=function(a,b){a.Ra("seekreason",b)};
gL=function(a){if(cl("cobalt")&&cl("nintendo switch")){var b=!window.matchMedia("screen and (max-height: 720px) and (min-resolution: 200dpi)").matches;a.Ra("nxdock",""+ +b)}};
RJ=function(a,b){return g.R(a.A.experiments,b)};
yK=function(a,b){XG(a.w,b||EK(a))};
EK=function(a){var b=RJ(a,"disable_prefetch_when_ad_pending_for_living_room")&&g.Ix(a.A),c=RJ(a,"disable_prefetch_when_ad_pending_for_web");return(b||c)&&g.bb(a.U,"ad")};
Vja=function(a){if(jB(a.T,"html5_set_debugging_opt_in")&&(a=kr.getInstance(),!mr(0,183))){var b="f"+(Math.floor(183/31)+1),c=lr(b)||0;c|=268435456;0==c?delete jr[b]:(c=c.toString(16),jr[b]=c.toString());a.save()}};
hL=function(a,b){var c=void 0;c=void 0===c?{}:c;this.o=a;this.u=b;this.w=c};
jL=function(a,b){a:{if(b.signalServiceEndpoint&&b.signalServiceEndpoint.signal){var c=a.w[b.signalServiceEndpoint.signal];if(c){var d=new c;break a}}for(d in b)if(a.o[d]&&(c=a.o[d])){d=new c;break a}d=void 0}if(!d)return Cp(new Bp("Error: No request builder found for command.",b)),kf({});c=b.clickTrackingParams;var e=g.M("INNERTUBE_CONTEXT");if(e){e=g.ec(e);e.client||(e.client={});var f=e.client;f.screenWidthPoints=window.innerWidth;f.screenHeightPoints=window.innerHeight;f.screenPixelDensity=Math.round(window.devicePixelRatio)||
1;f.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var k=void 0===k?!1:k;kr.getInstance();var l=mr(0,165)?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT";g.Xo("kevlar_apply_prefers_color_theme")&&(l=mr(0,165)?"USER_INTERFACE_THEME_DARK":mr(0,174)?"USER_INTERFACE_THEME_LIGHT":window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&window.matchMedia("(prefers-color-scheme: dark)").matches?"USER_INTERFACE_THEME_DARK":"USER_INTERFACE_THEME_LIGHT");k=k?l:Sea()||l;
f.userInterfaceTheme=k;(k=cr("EXPERIMENTS_DEBUG"))?f.experimentsToken="ZERO"===k?"GgIQAQ%3D%3D":k:delete f.experimentsToken;k=Yo();iL.o||(iL.o=new iL);e.request={internalExperimentFlags:k,consistencyTokenJars:g.Ub(iL.o.o)};k=mr(kr.getInstance(),58);e.user={};k&&(e.user.enableSafetyMode=k);if(k=g.M("DELEGATED_SESSION_ID"))e.user.onBehalfOfUser=k;if(k=g.Sr())e.clientScreenNonce=k;c&&(e.clickTracking={clickTrackingParams:c});c=e}else g.N(Error("Error: No InnerTubeContext shell provided in ytconfig.")),
c={};c={context:c};(e=d.u(b))?(d.o(c,e),d=c):(Cp(new Bp("Error: Failed to create Request from Command.",b)),d=void 0);if(!d)return Cp(new Bp("Error: Failed to build request for command.",b)),kf({});(c=b.commandMetadata&&b.commandMetadata.webCommandMetadata&&b.commandMetadata.webCommandMetadata.apiUrl||void 0)&&(c=hp(c,{key:g.M("INNERTUBE_API_KEY")}));return c?cka(a,d,c):(Cp(new Bp("Error: No API URL provided for command (yaqs/6180475663155200).",b)),kf({}))};
cka=function(a,b,c){var d=JSON.stringify(b);return dka().then(function(e){return a.u.fetch(c,{method:"POST",mode:"same-origin",headers:e,body:d})}).then(function(e){return kf(e)})};
dka=function(){return eka().then(function(a){a=new Headers(Object.assign({"Content-Type":"application/json","X-Goog-Visitor-Id":g.M("VISITOR_DATA")},a));return kf(a)})};
kL=function(a){PD.call(this,a);this.J=null};
g.lL=function(a){return a.app.A};
g.mL=function(a){a=g.lL(a).u.get("endscreen");return!!a&&a.bz()};
nL=function(a){a=g.lL(a);var b=a.u.get("endscreen");return b&&b.cz()?!0:a.Vl()||g.Dx(a.o.N())};
g.oL=function(a,b){3==a.getPresentingPlayerType()?a.R("mdxautoplaycancel"):a.R("autonavcancel",b)};
g.qL=function(a){return g.pL(a).element};
g.sL=function(a,b){return rL(a.app,b)};
g.pL=function(a){return a.app.G};
g.uL=function(a){var b=g.tL(g.lL(a));return a.app.Z&&!a.isFullscreen()||3==a.getPresentingPlayerType()&&b&&b.hasNext()&&b.lf()||!!a.getPlaylist()};
g.vL=function(a,b,c){a.app.w.ai(new Pv(b,!1,c))};
g.wL=function(a){var b={};a=zK(g.U(a.app));a=g.q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,b[c.quality]=c;return b};
g.vC=function(a){return(a=g.xL(g.lL(a)))?a.QG():{}};
g.zL=function(a){a=g.yL(g.lL(a));return!!a&&a.nl()};
g.AL=function(a){a=g.yL(g.lL(a));return!!a&&a.Sy()};
g.BL=function(a,b,c){var d=g.WC(a);if(d)return d.Ps(b,c);a=a.app.G.getPlayerSize();return new g.qh(0,0,a.width,a.height)};
DL=function(a){a=CL(g.lL(a));return!!a&&a.GG()};
EL=function(a){a=g.lL(a).u.get("heartbeat");return!!a&&a.IG()};
g.GL=function(a,b,c){FL(a.app,b,c)};
g.HL=function(a,b,c){(a=g.U(a.app,c))&&tK(a,b)};
g.IL=function(a){a=(a=a.getVideoData())&&a.Ba;return!!a&&!(!a.audio||!a.video)&&"application/x-mpegURL"!=a.mimeType};
g.JL=function(a){a=a.getVideoData();return!!a&&!!(a.adaptiveFormats||a.hlsFormats||a.Zd)};
g.KL=function(a,b,c){a=g.pL(a).element;var d=rb(a.children,function(e){e=parseInt(e.getAttribute("data-layer"),10);return c-e||1});
0>d&&(d=-(d+1));g.Zd(a,b,d);b.setAttribute("data-layer",c)};
g.LL=function(a){var b=a.N();if(!b.Ua)return!1;var c=a.getVideoData();if(!c||3==a.getPresentingPlayerType())return!1;var d=!c.isLiveDefaultBroadcast||g.R(b.experiments,"allow_poltergust_autoplay");d=c.ua&&(!g.R(b.experiments,"allow_live_autoplay")||!d);var e=!!a.getPlaylist();g.R(b.experiments,"player_allow_autonav_after_playlist")&&(e=(a=a.getPlaylist())&&a.hasNext());return!c.ypcPreview&&!d&&!g.bb(c.Qc,"ypc")&&!e};
g.ML=function(a,b,c,d){a.N().S&&fka(a.app.ra,b,c,d)};
g.NL=function(a,b,c){a.N().S&&gka(a.app.ra,b,c)};
g.OL=function(a,b,c){a.N().S&&(a.app.ra.o.has(b),c&&(b.visualElement=g.Hr(c)))};
g.PL=function(a,b){a.N().S&&a.app.ra.click(b)};
g.QL=function(a,b,c){if(a.N().S&&(a=a.app.ra,a.o.has(b),c?a.u.add(b):a.u["delete"](b),c&&!a.A.has(b))){c=g.Sr();var d=b.visualElement;c&&d&&g.hs(c,d);a.A.add(b)}};
RL=function(a,b){return a.N().S?a.app.ra.o.has(b):!1};
g.UL=function(a,b){if(a.app.getPresentingPlayerType()==b){var c=a.app,d=g.U(c,b);d&&(d!=c.w?SL(c,c.w):TL(c))}};
XL=function(a,b,c){c=void 0===c?Infinity:c;a=a.app;b=void 0===b?-1:b;b=void 0===b?-1:b;c=void 0===c?Infinity:c;a.S?VL(a.S,b,c):WL(a.xa,b,c)};
hka=function(a){if(!a.fa("html5_inline_video_quality_survey"))return!1;var b=g.U(a.app);if(!b)return!1;var c=b.getVideoData();if(!c.Ba||!c.Ba.video||1080>c.Ba.video.dc||c.ay)return!1;var d=/^qsa/.test(c.clientPlaybackNonce),e="r";0<=c.Ba.id.indexOf(";")&&(d=/^[a-p]/.test(c.clientPlaybackNonce),e="x");a.fa("html5_inline_video_quality_survey_always")&&(d=!0,e="a");return d?(b.Ra("iqss",e,!0),!0):!1};
YL=function(a,b){document.requestStorageAccess().then(a,b)};
ZL=function(a){if(a){var b=[],c;for(c in a)ika.has(c)||b.push(c);b.length&&(b.sort(),Dp(new Bp("Unknown house brand player vars:",b)))}};
g.$L=function(a,b){var c=Math.abs(Math.floor(a)),d=Math.floor(c/86400),e=Math.floor(c%86400/3600),f=Math.floor(c%3600/60);c=Math.floor(c%60);if(b){var k="";0<d&&(k+=" "+d+" G\u00fcn");if(0<d||0<e)k+=" "+e+" Saat";d=(k+(" "+f+" Dakika ")+(c+" Saniye")).trim()}else{k="";0<d&&(k+=d+":",10>e&&(k+="0"));if(0<d||0<e)k+=e+":",10>f&&(k+="0");k+=f+":";10>c&&(k+="0");d=k+c}return 0<=a?d:"-"+d};
g.aM=function(a){return(!("button"in a)||"number"!==typeof a.button||0===a.button)&&!("shiftKey"in a&&a.shiftKey)&&!("altKey"in a&&a.altKey)&&!("metaKey"in a&&a.metaKey)&&!("ctrlKey"in a&&a.ctrlKey)};
bM=function(a,b,c,d){g.Q.call(this);this.w=a;this.S=(0,g.x)(b,null);this.u=0;this.F=!1;this.B=new g.wd(NaN,NaN);this.o=new g.P(this);g.H(this,this.o);b=d?4E3:3E3;this.H=new g.J(g.Ra(this.Qb,1,!1),b,this);g.H(this,this.H);this.J=new g.J(g.Ra(this.Qb,2,!1),b,this);g.H(this,this.J);this.O=new g.J(g.Ra(this.Qb,512,!1),0,this);g.H(this,this.O);this.V=c&&0<c.yh.length?5E3:3E3;d||(this.A=this.o.L(a,"mouseover",this.ht),this.o.L(a,"mousemove",this.zI),this.o.L(a,"mouseleave",this.KJ));vh?this.o.L(a,"keypress",
this.aG):this.o.L(a,"focusin",this.BE);this.C=this.o.L(a,"mousedown",this.Gz);this.G=this.o.L(a,"touchstart",this.Iz,void 0,!0);this.U=null;this.Qb(640,!0)};
cM=function(a){a.Qb(4,!1);a.P&&(a.o.Wa(a.P),a.P=null,a.A=a.o.L(a.w,"mouseover",a.ht));a.A&&(a.o.Wa(a.A),a.A=a.o.L(a.w,"mouseover",a.ht))};
g.dM=function(a,b,c,d,e,f){g.B.call(this);this.element=a;this.state=null;c||a.hide();this.w=b;this.A=void 0===d?b:d;this.o=f;this.u=e;this.delay=new g.J(this.Bp,0,this);g.H(this,this.delay)};
eM=function(a,b){var c=a.element.element;b?c.setAttribute("aria-hidden","true"):c.removeAttribute("aria-hidden")};
g.fM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-cast-desktop-on"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M25,13 L11,13 L11,14.63 C14.96,15.91 18.09,19.04 19.37,23 L25,23 L25,13 L25,13 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",
fill:"#fff"}}]}};
gM=function(){return{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",M:{d:"m 14.8,21.9 -4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4 -10.6,10.6 z",fill:"#fff"}}]}};
g.hM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-chevron-back"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},K:[{D:"path",M:{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.iM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-chevron-forward"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 32 32",width:"100%"},K:[{D:"path",M:{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"}}]}};
jM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-clip-clear"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",M:{d:"M14,14 L14,0 L0,0 L0,14 L14,14 Z"}},{D:"path",M:{d:"M7.15,8.35 L9.25,10.45 L10.65,9.05 L8.55,6.95 L10.7,4.8 L9.3,3.4 L7.15,5.55 L5,3.4 L3.6,4.8 L5.75,6.95 L3.65,9.05 L5.05,10.45 L7.15,8.35 Z",fill:"#fff"}}]}};
kM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-clip-end"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M2,14 L5,11 L5,3 L2,0 L9,0 L9,14 L2,14 L2,14 Z",fill:"#eaeaea"}}]}};
lM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-clip-start"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M12,14 L9,11 L9,3 L12,0 L5,0 L5,14 L12,14 Z",fill:"#eaeaea"}}]}};
g.mM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-close"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{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"}}]}};
nM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-code"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",M:{d:"M14.1 24.9L7.2 18.0l6.9-6.9L12.0 9.0l-9.0 9.0 9.0 9.0 2.1-2.1zm7.8 .0l6.9-6.9-6.9-6.9L24.0 9.0l9.0 9.0-9.0 9.0-2.1-2.1z",fill:"#fff"}}]}};
oM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-dislike"]}:{D:"svg",M:{viewBox:"0 0 24 24"},K:[{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",M:{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"}}]}};
g.pM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-error-exclamation"]}:{D:"svg",M:{fill:"#fff",viewBox:"0 0 48 48"},K:[{D:"path",M:{d:"M0 0h48v48H0V0z",fill:"none"}},{D:"path",M:{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"}}]}};
qM=function(){return{D:"svg",M:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},K:[{D:"path",M:{d:"M0 0h48v48H0z",fill:"none"}},{D:"path",M:{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"}}]}};
g.rM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-like"]}:{D:"svg",M:{viewBox:"0 0 24 24"},K:[{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",M:{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"}}]}};
sM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-link"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",M:{d:"M5.85 18.0c0.0-2.56 2.08-4.65 4.65-4.65h6.0V10.5H10.5c-4.14 .0-7.5 3.36-7.5 7.5s3.36 7.5 7.5 7.5h6.0v-2.85H10.5c-2.56 .0-4.65-2.08-4.65-4.65zM12.0 19.5h12.0v-3.0H12.0v3.0zm13.5-9.0h-6.0v2.85h6.0c2.56 .0 4.65 2.08 4.65 4.65s-2.08 4.65-4.65 4.65h-6.0V25.5h6.0c4.14 .0 7.5-3.36 7.5-7.5s-3.36-7.5-7.5-7.5z",fill:"#fff"}}]}};
tM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-loop-range"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 14 14",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M5,0 L9,0 L9,14 L5,14 L5,0 Z",fill:"#eaeaea"}}]}};
uM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-next"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 12,24 20.5,18 12,12 V 24 z M 22,12 v 12 h 2 V 12 h -2 z"}}]}};
g.vM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-notifications-active"]}:{D:"svg",M:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},K:[{D:"path",M:{d:"M7.58 4.08L6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42zm12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42zM18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}};
wM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-pause"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 12,26 16,26 16,10 12,10 z M 21,26 25,26 25,10 21,10 z"}}]}};
xM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-pip"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M25,17 L17,17 L17,23 L25,23 L25,17 L25,17 Z M29,25 L29,10.98 C29,9.88 28.1,9 27,9 L9,9 C7.9,9 7,9.88 7,10.98 L7,25 C7,26.1 7.9,27 9,27 L27,27 C28.1,27 29,26.1 29,25 L29,25 Z M27,25.02 L9,25.02 L9,10.97 L27,10.97 L27,25.02 L27,25.02 Z",fill:"#fff"}}]}};
yM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-play"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 12,26 18.5,22 18.5,14 12,10 z M 18.5,22 25,18 25,18 18.5,14 z"}}]}};
zM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-prev"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 12,12 h 2 v 12 h -2 z m 3.5,6 8.5,6 V 12 z"}}]}};
g.AM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-replay"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z"}}]}};
g.BM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-settings"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"m 23.94,18.78 c .03,-0.25 .05,-0.51 .05,-0.78 0,-0.27 -0.02,-0.52 -0.05,-0.78 l 1.68,-1.32 c .15,-0.12 .19,-0.33 .09,-0.51 l -1.6,-2.76 c -0.09,-0.17 -0.31,-0.24 -0.48,-0.17 l -1.99,.8 c -0.41,-0.32 -0.86,-0.58 -1.35,-0.78 l -0.30,-2.12 c -0.02,-0.19 -0.19,-0.33 -0.39,-0.33 l -3.2,0 c -0.2,0 -0.36,.14 -0.39,.33 l -0.30,2.12 c -0.48,.2 -0.93,.47 -1.35,.78 l -1.99,-0.8 c -0.18,-0.07 -0.39,0 -0.48,.17 l -1.6,2.76 c -0.10,.17 -0.05,.39 .09,.51 l 1.68,1.32 c -0.03,.25 -0.05,.52 -0.05,.78 0,.26 .02,.52 .05,.78 l -1.68,1.32 c -0.15,.12 -0.19,.33 -0.09,.51 l 1.6,2.76 c .09,.17 .31,.24 .48,.17 l 1.99,-0.8 c .41,.32 .86,.58 1.35,.78 l .30,2.12 c .02,.19 .19,.33 .39,.33 l 3.2,0 c .2,0 .36,-0.14 .39,-0.33 l .30,-2.12 c .48,-0.2 .93,-0.47 1.35,-0.78 l 1.99,.8 c .18,.07 .39,0 .48,-0.17 l 1.6,-2.76 c .09,-0.17 .05,-0.39 -0.09,-0.51 l -1.68,-1.32 0,0 z m -5.94,2.01 c -1.54,0 -2.8,-1.25 -2.8,-2.8 0,-1.54 1.25,-2.8 2.8,-2.8 1.54,0 2.8,1.25 2.8,2.8 0,1.54 -1.25,2.8 -2.8,2.8 l 0,0 z",
fill:"#fff"}}]}};
CM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-stop"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 12,25 19,25 19,11 12,11 z M 19,25 26,25 26,11 19,11 z"}}]}};
DM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-subtitles"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M11,11 C9.9,11 9,11.9 9,13 L9,23 C9,24.1 9.9,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M11,17 L14,17 L14,19 L11,19 L11,17 L11,17 Z M20,23 L11,23 L11,21 L20,21 L20,23 L20,23 Z M25,23 L22,23 L22,21 L25,21 L25,23 L25,23 Z M25,19 L16,19 L16,17 L25,17 L25,19 L25,19 Z",fill:"#fff"}}]}};
EM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-volume-high"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z M19,11.29 C21.89,12.15 24,14.83 24,18 C24,21.17 21.89,23.85 19,24.71 L19,26.77 C23.01,25.86 26,22.28 26,18 C26,13.72 23.01,10.14 19,9.23 L19,11.29 Z",fill:"#fff"}}]}};
FM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-volume-low"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",fill:"#fff"}}]}};
GM=function(){return g.Y?{D:"div",X:["ytp-icon","ytp-icon-volume-muted"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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"}}]}};
g.HM=function(a){g.V.call(this,{D:"button",X:["ytp-large-play-button","ytp-button"],M:{"aria-label":"Oynat"},K:["{{largePlayButtonChildren}}"]});this.u=a;this.L(a,"videodatachange",this.w);this.w()};
IM=function(a){var b=a.N(),c=["ytp-cued-thumbnail-overlay"];(g.R(b.experiments,"web_player_contain_thumbnail")||b.Zb)&&c.push("ytp-exp-contain-thumbnail");g.V.call(this,{D:"div",X:c,K:[{D:"div",I:"ytp-cued-thumbnail-overlay-image"}]});b=this.o["ytp-cued-thumbnail-overlay"];c=new g.HM(a);g.H(this,c);c.ba(b);this.B=new g.P(this);g.H(this,this.B);this.u=a;this.F=this.o["ytp-cued-thumbnail-overlay-image"];this.C=c;this.A=new g.dM(this,250);g.H(this,this.A);this.w=new g.J(this.Kz,0,this);g.H(this,this.w);
this.Kz();this.L(a,"appresize",this.MI);this.L(a,"presentingplayerstatechange",this.NI);this.L(a,"ypcStateChanged",this.PN);wx(a.N())&&this.L(a,"videoplayerreset",this.LI)};
g.JM=function(a,b){var c={},d;for(d in b)c.Rp=b[d],a=a.replace(new RegExp("\\$"+d,"gi"),function(e){return function(){return e.Rp}}(c)),c={Rp:c.Rp};
return a};
KM=function(a,b){var c=void 0===c?!0:c;var d=g.M("VALID_SESSION_TEMPDATA_DOMAINS",[]),e=g.Wg(window.location.href);e&&d.push(e);e=g.Wg(a);if(g.bb(d,e)||!e&&xb(a,"/"))if(g.Xo("autoescape_tempdata_url")&&(d=document.createElement("a"),g.Zc(d,a),a=d.href),a&&(d=a.match(Ug),d=Sg(null,null,null,null,d[5],d[6],d[7]),e=d.indexOf("#"),d=0>e?d:d.substr(0,e)))if(c&&!b.csn&&(b.itct||b.ved)&&(b=Object.assign({csn:g.Sr()},b)),f){var f=parseInt(f,10);isFinite(f)&&0<f&&(c=b,d="ST-"+gd(d).toString(36),c=c?g.ch(c):
"",g.br(d,c,f||5))}else f=b,c="ST-"+gd(d).toString(36),f=f?g.ch(f):"",g.br(c,f,5)};
g.LM=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;d=d.location;a=g.eh(a,b)+c;a=a instanceof g.Bc?a:g.Fc(a);d.href=g.Cc(a)};
g.MM=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.M("EVENT_ID");d&&(b.ei||(b.ei=d));b&&KM(a,b);c||((window.ytspf||{}).enabled?spf.navigate(a):g.LM(a))};
g.NM=function(a,b,c){c&&KM(a,c);c=g.Ec(a);c=g.Cc(c);a!=c&&g.Go(Error("Unsafe window.open URL: "+a));a=c;window.open(a,b||gd(a).toString(36))};
OM=function(a){var b=!a.N().Wb&&3!=a.getPresentingPlayerType();return a.isFullscreen()||b};
g.PM=function(a,b,c,d){if((void 0===c||!c)&&g.aM(a))return g.Lq(a),!0;b.pauseVideo();a=a.currentTarget.getAttribute("href");g.MM(a,d,!0);return!1};
g.QM=function(a,b,c){if(Qx(b.N())&&2!=b.getPresentingPlayerType()){if(g.aM(c))return b.isFullscreen()&&!b.N().externalFullscreen&&b.toggleFullscreen(),g.Lq(c),!0}else{var d=g.aM(c);d&&b.pauseVideo();g.MM(a,void 0,!0);d&&(g.NM(a),g.Lq(c))}return!1};
RM=function(){return{D:"div",I:"ytp-spinner-container",K:[{D:"div",I:"ytp-spinner-rotator",K:[{D:"div",I:"ytp-spinner-left",K:[{D:"div",I:"ytp-spinner-circle"}]},{D:"div",I:"ytp-spinner-right",K:[{D:"div",I:"ytp-spinner-circle"}]}]}]}};
SM=function(a){if(document.createRange){var b=document.createRange();b&&(b.selectNodeContents(a),a=window.getSelection())&&(a.removeAllRanges(),a.addRange(b))}};
g.TM=function(a,b,c){a=a.N();return g.R(a.experiments,"desktop_player_button_tooltip_with_shortcut")&&!a.Fb?g.JM("$DESCRIPTION ($SHORTCUT)",{DESCRIPTION:b,SHORTCUT:c}):b};
g.UM=function(a){g.V.call(this,{D:"div",X:["ytp-error"],M:{role:"alert"},K:[{D:"div",I:"ytp-error-content",K:[{D:"div",I:"ytp-error-icon-container",K:[g.pM()]},{D:"div",I:"ytp-error-content-wrap",K:[{D:"div",I:"ytp-error-content-wrap-reason",W:"{{content}}"},{D:"div",I:"ytp-error-content-wrap-subreason",W:"{{subreason}}"}]}]}]});this.api=a;this.A=[]};
g.VM=function(a){a=a.split(jka);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({D:"br"}),b.push(d[e]);c<a.length&&b.push({D:"a",M:{href:a[c],target:a[c+1]},W:a[c+2]})}return{D:"span",K:b}};
WM=function(a,b,c,d,e,f,k){k=void 0===k?!0:k;e||(e=a.api.N().u);a=a.api.getVideoData();b=g.JM(g.rK[b]||"",d?{CPN:a.clientPlaybackNonce}:{}).split(/\$(BEGIN|END)_LINK/);d=[];f&&d.push({D:"h2",W:f});d.push(b[0]);k&&d.push({D:"br"});d.push({D:"a",M:{href:c,target:e?"_blank":null},W:b[2]});d.push(b[4]);return{D:"span",K:d}};
YM=function(a){g.P.call(this);this.o=a;this.w=new Set;this.u=navigator.mediaSession;XM(this,"play",function(){a.playVideo()});
XM(this,"pause",function(){a.pauseVideo()});
XM(this,"seekbackward",function(){a.seekBy(-5*a.getPlaybackRate())});
XM(this,"seekforward",function(){a.seekBy(5*a.getPlaybackRate())});
this.L(a,"videodatachange",this.B);this.L(a,"presentingplayerstatechange",this.A);this.B()};
XM=function(a,b,c){a.u.setActionHandler(b,c?(0,g.x)(c,a):null);a.w.add(b)};
ZM=function(a){g.V.call(this,{D:"div",I:"ytp-paid-content-overlay",M:{"aria-live":"assertive","aria-atomic":"true"}});this.H=new g.V({D:"div",X:["ytp-button","ytp-paid-content-overlay-text"]});g.H(this,this.H);this.H.ba(this.element);this.J=a;this.w=null;this.F=!1;this.B=new g.dM(this.H,250,!1,100);g.H(this,this.B);this.C=this.u=null;this.A={};this.G=0;this.L(a,"videodatachange",this.U);this.L(a,"presentingplayerstatechange",this.S)};
$M=function(a,b){var c=DB(b),d=EB(b);a.u?b.videoId&&b.videoId!=a.w&&(g.Bn(a.u),a.w=b.videoId,c=a.A[b.videoId]||0,a.F=!!d&&3E3>c):c&&d&&(a.u=new g.J(a.O,d,a),g.H(a,a.u),g.de(g.Jd("ytp-paid-content-overlay-text",a.element),c))};
aN=function(a,b){a.u&&g.W(b,8)&&a.F&&(a.F=!1,a.B.show(),a.G=(0,g.I)(),a.u.start())};
cN=function(a){g.V.call(this,{D:"div",I:"ytp-spinner",K:[RM(),{D:"div",I:"ytp-spinner-message",W:"Oynatma k\u0131sa bir s\u00fcre i\u00e7inde ba\u015flamazsa cihaz\u0131n\u0131z\u0131 yeniden ba\u015flatmay\u0131 deneyin."}]});this.A=this.o["ytp-spinner-message"];this.w=a;this.u=new g.J(this.show,500,this);g.H(this,this.u);this.L(a,"presentingplayerstatechange",this.B);this.L(a,"onFrescaStateChange",this.C);this.L(a,"playbackstalledatstart",this.F);bN(this,g.sL(a))};
bN=function(a,b){if(g.W(b,128))var c=0;else!(c=g.W(b,16))&&(c=g.W(b,1))&&(c=CL(g.lL(a.w)),c=!(c&&c.loaded));c?a.u.start():a.hide()};
eN=function(a,b){g.V.call(this,{D:"button",X:["ytp-airplay-button","ytp-button"],M:{title:"AirPlay"},W:"{{icon}}"});this.u=a;this.ia("click",this.A);this.L(a,"airplayactivechange",this.w);this.L(a,"airplayavailabilitychange",this.w);this.w();g.le(this,g.dN(b.Ya(),this.element))};
g.gN=function(a){g.V.call(this,{D:"div",I:"ytp-gradient-bottom"});this.w=g.Vd("CANVAS");this.w.width=1;this.u=this.w.getContext("2d");this.A=NaN;this.B=g.Dx(a.N());g.fN(this,g.pL(a).getPlayerSize().height)};
g.fN=function(a,b){if(a.u){var c=Math.floor(b*(a.B?1:.4));c=Math.max(c,47);var d=c+2;if(a.A!=d){a.A=d;a.w.height=d;a.u.clearRect(0,0,1,d);var e=a.u.createLinearGradient(0,2,0,2+c);if(a.B)e.addColorStop(.133,"rgba(0, 0, 0, 0.2)"),e.addColorStop(.44,"rgba(0, 0, 0, 0.243867)"),e.addColorStop(1,"rgba(0, 0, 0, 0.8)");else{var f=c-42;e.addColorStop(0,"rgba(0, 0, 0, 0)");e.addColorStop(f/c,"rgba(0, 0, 0, 0.3)");e.addColorStop(1,"rgba(0, 0, 0, 0.68)")}a.u.fillStyle=e;a.u.fillRect(0,2,1,c);a.element.style.height=
d+"px";a.element.style.backgroundImage="url("+a.w.toDataURL()+")"}}};
hN=function(a,b){this.u=a;this.o=b};
iN=function(a,b){return a.u+b*a.getLength()};
jN=function(a,b,c){if(!a.getLength())return null!=c?c:Infinity;a=(b-a.u)/a.getLength();return g.sd(a,0,1)};
kN=function(){g.V.call(this,{D:"div",I:"ytp-chapter-hover-container",K:[{D:"div",I:"ytp-progress-bar-padding"},{D:"div",I:"ytp-progress-list",K:[{D:"div",X:["ytp-play-progress","ytp-swatch-background-color"]},{D:"div",I:"ytp-load-progress"},{D:"div",I:"ytp-hover-progress"},{D:"div",I:"ytp-ad-progress-list"}]}]});this.startTime=NaN;this.title=null;this.width=0;this.C=this.o["ytp-ad-progress-list"];this.A=this.o["ytp-load-progress"];this.B=this.o["ytp-play-progress"];this.w=this.o["ytp-hover-progress"];
this.u=this.o["ytp-chapter-hover-container"]};
lN=function(a,b){return"PLAY_PROGRESS"===b?a.B:"LOAD_PROGRESS"===b?a.A:a.w};
mN=function(){this.u=this.position=this.A=this.o=this.B=this.w=this.width=NaN};
g.pN=function(a,b){g.GC.call(this,{D:"div",I:"ytp-progress-bar-container",M:{"aria-disabled":"true"},K:[{D:"div",X:["ytp-progress-bar",a.N().o?"ytp-mobile":""],M:{tabindex:"0",role:"slider","aria-label":"Arama kayd\u0131rma \u00e7ubu\u011fu","aria-valuemin":"{{ariamin}}","aria-valuemax":"{{ariamax}}","aria-valuenow":"{{arianow}}","aria-valuetext":"{{arianowtext}}"},K:[{D:"div",I:"ytp-chapters-container"},{D:"div",I:"ytp-marker-crenellation-list"},{D:"div",I:"ytp-clip-start-exclude"},{D:"div",I:"ytp-clip-end-exclude"},
{D:"div",I:"ytp-scrubber-container",K:[{D:"div",X:["ytp-scrubber-button","ytp-swatch-background-color"],K:[{D:"div",I:"ytp-scrubber-pull-indicator"}]}]}]},{D:"div",I:"ytp-bound-time-left",W:"{{boundTimeLeft}}"},{D:"div",I:"ytp-bound-time-right",W:"{{boundTimeRight}}"},{D:"div",I:"ytp-clip-start",M:{title:"{{clipstarttitle}}"},W:"{{clipstarticon}}"},{D:"div",I:"ytp-clip-end",M:{title:"{{clipendtitle}}"},W:"{{clipendicon}}"}]});this.w=a;this.O=b.Ya();this.ob=!1;this.C=this.Aa=0;this.da=1;this.Xb=this.S=
0;this.F=null;this.U=this.Ea=0;this.Fb=this.o["ytp-marker-crenellation-list"];this.Z={};this.za={};this.ea=Infinity;var c=b.Ya();this.xa=this.o["ytp-clip-end"];g.le(this,g.dN(c,this.xa));this.Ia=new g.zr(this.xa,!0);g.H(this,this.Ia);this.Ia.subscribe("hoverstart",this.vA,this);this.Ia.subscribe("hoverend",this.uA,this);this.L(this.xa,"click",this.Yo);this.yb=this.o["ytp-clip-end-exclude"];this.kc=this.o["ytp-clip-start-exclude"];this.ga=0;this.ya=this.o["ytp-clip-start"];g.le(this,g.dN(c,this.ya));
this.Oa=new g.zr(this.ya,!0);g.H(this,this.Oa);this.Oa.subscribe("hoverstart",this.vA,this);this.Oa.subscribe("hoverend",this.uA,this);this.L(this.ya,"click",this.Yo);this.G=this.na=0;this.Wb=this.o["ytp-progress-bar"];this.Ha=this.o["ytp-chapters-container"];this.u=[];nN(this);this.sa=this.V=0;this.H=null;this.lc=this.o["ytp-scrubber-button"];this.pc=this.o["ytp-scrubber-container"];this.Qa=new g.wd;this.Hb=new mN;this.A=new hN(0,0);this.J=null;this.B=this.gb=!1;this.Rb=null;g.R(this.w.N().experiments,
"web_wn_macro_markers")&&this.L(a,"resize",this.Iu);this.L(a,"presentingplayerstatechange",this.XI);this.L(a,"videodatachange",this.Nz);this.L(a,"videoplayerreset",this.pF);this.L(a,"cuerangesadded",this.FC);this.L(a,"cuerangesremoved",this.lO);this.L(a,"cuerangemarkersupdated",this.FC);this.L(a,"onLoopRangeChange",this.EC);oN(this,a.getVideoData(),!0);this.EC(a.getLoopRange())};
nN=function(a){if(0===a.u.length){var b=new kN;a.u.push(b);g.H(a,b);b.ba(a.Ha,0)}for(;1<a.u.length;)a.u.pop().dispose();g.th(a.u[0].u,"width","100%");a.u[0].startTime=0;a.u[0].title=""};
qN=function(a){var b=[];a.playerOverlays&&(a=a.playerOverlays.playerOverlayRenderer)&&(a=a.decoratedPlayerBarRenderer)&&(a=a.decoratedPlayerBarRenderer)&&(a=a.playerBar)&&(a=a.chapteredPlayerBarRenderer)&&a.chapters&&(b=a.chapters);return b};
rN=function(a,b){var c=0,d=!1,e=a.u.length,f=1E3*a.A.o;0===f&&(f=1E3*a.w.getProgressState().seekableEnd);if(0<f&&0<a.C){for(var k=a.C-(a.B?3:2)*a.V,l=0===a.sa?a.B?3:2:k*a.sa,m=g.q(a.u),n=m.next();!n.done;n=m.next())n.value.width=0;for(;c<e;){m=f-a.u[c].startTime;c<e-1&&(m=a.u[c+1].startTime-a.u[c].startTime,g.th(a.u[c].u,"margin-right",(a.B?3:2)+"px"));g.R(a.w.N().experiments,"web_wn_macro_markers")&&g.L(a.u[c].u,"ytp-exp-chapter-hover-container",1<a.u.length);n=(0===f?0:m/f*k)+a.u[c].width;if(n>
l)a.u[c].width=n,g.th(a.u[c].u,"width",n+"px");else{a.u[c].width=0;g.th(a.u[c].u,"width","0");var p=a,t=c,u=p.u[t-1];void 0!==u&&0<u.width?u.width+=n:t<p.u.length-1&&(p.u[t+1].width+=n);g.th(p.u[t].u,"margin-right","0px");b&&(a.V--,m/f>a.sa&&(a.sa=m/f),d=!0)}c++}}return d};
g.tN=function(a){sN(a);var b=a.w.getCurrentTime();(b<a.ga||b>a.ea)&&a.Yo()};
sN=function(a){if(a.C){var b=a.w.getProgressState(),c=new hN(b.seekableStart,b.seekableEnd),d=jN(c,b.loaded,0);b=jN(c,b.current,0);var e=a.A.u!=c.u||a.A.o!=c.o;a.A=c;uN(a,b,d);e&&g.vN(a);wN(a)}};
oN=function(a,b,c){c=void 0===c?!1:c;var d=!!b&&b.isValid();a.gb=d&&b.allowLiveDvr;xN(a,a.w.Pc());c&&(d?(c=b.clipEnd,a.ga=b.clipStart,a.ea=c,yN(a),uN(a,a.G,a.na)):a.Yo(),g.zN(a.O));if(g.R(a.w.N().experiments,"web_wn_macro_markers")&&b)if((c=b.xg)&&0<qN(c).length){b=0;c=g.q(qN(c));for(d=c.next();!d.done;d=c.next()){d=d.value;if(d.chapterRenderer){var e=d.chapterRenderer;d={startTime:NaN,title:null};var f=e.title;f&&f.simpleText&&(d.title=f.simpleText);e=e.timeRangeStartMillis;null!=e&&(d.startTime=
e);0===b&&0!==d.startTime&&(a.u[b].startTime=0,a.u[b].title="",b++);a.u.length<=b&&(e=new kN,a.u.push(e),g.H(a,e),e.ba(a.Ha,a.Ha.children.length));a.u[b].startTime=d.startTime;a.u[b].title=d.title}b++}for(;b<a.u.length;)a.u.pop().dispose();a.Iu()}else nN(a);sN(a)};
AN=function(a,b,c,d){b=g.sd(b,0,a.B?60:40);a.S=b;var e=a.da,f=Math.max(a.A.getLength()/a.C,1);a.da=b/(a.B?60:40)*(f-1)+1;b=a.C*a.da;a.U=g.sd(d*b-c,0,b-a.C);e!=a.da&&g.vN(a)};
g.vN=function(a){var b=BN(a),c=-b.w/b.o,d=(-b.w+b.width)/b.o,e=Uaa(a.Fb),f=0;if(a.S>.2*(a.B?60:40)){var k=c*(a.A.getLength()/60),l=d*(a.A.getLength()/60);for(k=Math.ceil(k);k<l;k++){var m=e[f];m||(m=g.Vd("DIV"),a.Fb.appendChild(m));f++;0==k%60?Hn(m,"ytp-60m-progress"):0==k%30?Hn(m,"ytp-30m-progress"):0==k%15?Hn(m,"ytp-15m-progress"):Hn(m,"ytp-1m-progress");var n=(60*k/a.A.getLength()-c)*b.o;m.style.left=n+"px"}}b=a.gb?a.A.o:0;a.update({boundTimeLeft:g.$L(iN(a.A,c)-b),boundTimeRight:g.$L(iN(a.A,d)-
b)});for(c=e.length-1;c>=f;c--)g.$d(e[c]);a.element.style.height=a.S+(a.B?8:5)+"px";a.R("height-change",a.S);a.lc.style.height=a.S+(a.B?20:13)+"px";for(var p in a.Z)CN(a,p);yN(a);uN(a,a.G,a.na)};
BN=function(a){var b=a.Qa.x,c=a.C*a.da;b=g.sd(b,0,a.C);a.Hb.update(b,a.C,-a.U,-(c-a.U-a.C));return a.Hb};
uN=function(a,b,c){a.G=b;a.na=c;var d=BN(a),e=a.A.o,f=iN(a.A,a.G);a.update({ariamin:Math.floor(a.A.u),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:g.JM("$PLAY_PROGRESS / $DURATION",{PLAY_PROGRESS:g.$L(f,!0),DURATION:g.$L(e,!0)})});e=a.ga;f=a.ea;a.J&&2!=a.w.getPresentingPlayerType()&&(e=a.J.startTimeMs/1E3,f=a.J.endTimeMs/1E3);e=jN(a.A,e,0);var k=jN(a.A,f,1);f=g.sd(b,e,k);c=g.sd(c,e,k);k=b*d.o+d.w;if(g.R(a.w.N().experiments,"web_wn_macro_markers")){k=b*a.A.o*1E3;for(var l=-1,m=g.q(a.u),
n=m.next();!n.done;n=m.next())n=n.value,k>n.startTime&&0<n.width&&l++;k=b*(d.o-(a.B?3:2)*a.V)+(a.B?3:2)*(0>l?0:l)+d.w}g.th(a.pc,"transform","translateX("+k+"px)");g.R(a.w.N().experiments,"web_wn_macro_markers")?(DN(a,d,e,f,"PLAY_PROGRESS"),DN(a,d,e,c,"LOAD_PROGRESS")):(EN(a,a.u[0].B,d,e,f),EN(a,a.u[0].A,d,e,c))};
DN=function(a,b,c,d,e){var f=a.u.length;b=b.o-a.V*(a.B?3:2);var k=c*b;b*=d;d=FN(a,k);c=FN(a,b);k=Math.max(k-GN(a,d),0);for(var l=d;l<f;l++)lN(a.u[l],e).style.left=d===l?k+"px":"0";for(f=d;f<c;f++)l=a.u[f].width,HN(a,lN(a.u[f],e),f===d?l-k:l,l);f=a.u[c].width;b=g.sd(b-GN(a,c),0,f);d===c&&(b-=k);HN(a,lN(a.u[c],e),b,f);f=a.u.length;for(c+=1;c<f;c++)HN(a,lN(a.u[c],e),0,a.u[c].width);for(c=0;c<d;c++)HN(a,lN(a.u[c],e),0,a.u[c].width)};
GN=function(a,b){if(b>=a.u.length)return a.C;for(var c=0,d=0;d<b;)c+=a.u[d].width,d++;return c};
HN=function(a,b,c,d,e){e||a.w.N().o?b.style.width=c+"px":g.th(b,"transform","scalex("+(d?c/d:0)+")")};
FN=function(a,b){for(var c=0,d=g.q(a.u),e=d.next();!e.done;e=d.next()){e=e.value;if(b>e.width)b-=e.width;else break;c++}return c===a.u.length?c-1:c};
IN=function(a,b){for(var c=0,d=g.q(a.u),e=d.next();!(e.done||e.value.startTime>b);e=d.next())c++;return c-1};
EN=function(a,b,c,d,e,f){b.style.left=Math.max(d*c.o+c.w,0)+"px";HN(a,b,g.sd((e-d)*c.o+c.w,0,c.width),c.width,void 0===f?!1:f)};
yN=function(a){var b=!!a.J&&2!=a.w.getPresentingPlayerType(),c=a.ga,d=a.ea,e=!0,f=!0;b&&a.J?(c=a.J.startTimeMs/1E3,d=a.J.endTimeMs/1E3):(e=c>a.A.u,f=0<a.A.o&&d<a.A.o);g.L(a.element,"ytp-loop-range-enabled",b);g.L(a.element,"ytp-clip-start-enabled",e);g.L(a.element,"ytp-clip-end-enabled",f);b=e?jN(a.A,c,0):0;d=f?jN(a.A,d,1):1;a.ya.style.left=Math.round(1E3*b)/10+"%";a.xa.style.left=Math.round(1E3*d)/10+"%";a.kc.style.width=Math.round(1E3*b)/10+"%";a.yb.style.left=Math.round(1E3*d)/10+"%";a.yb.style.width=
Math.round(1E3*(1-d))/10+"%"};
wN=function(a){var b=BN(a);if(g.R(a.w.N().experiments,"web_wn_macro_markers")){DN(a,b,a.G,b.u,"HOVER_PROGRESS");var c=b.o-(a.B?3:2)*a.V,d=FN(a,a.G*c);for(c=FN(a,b.u*c);d<=c;)g.L(a.u[d].w,"ytp-hover-progress-light",b.u>a.G),d++}else EN(a,a.u[0].w,b,a.G,b.u),g.L(a.u[0].w,"ytp-hover-progress-light",b.u>a.G)};
CN=function(a,b){var c=a.Z[b],d=a.za[b],e=BN(a),f=jN(a.A,c.start/1E3,0),k=Tha(c,a.B)/e.width;var l=jN(a.A,c.end/1E3,1);k!=Number.POSITIVE_INFINITY&&(f=g.sd(f,0,l-k));l=Math.min(l,f+k);c.color&&(d.style.background=c.color);EN(a,d,e,f,l,!0)};
JN=function(a,b){var c=b.getId();a.Z[c]==b&&(g.$d(a.za[c]),delete a.Z[c],delete a.za[c])};
xN=function(a,b){b?a.H||(a.element.removeAttribute("aria-disabled"),a.H=new g.zr(a.Wb,!0),a.H.subscribe("hovermove",a.pM,a),a.H.subscribe("hoverend",a.oM,a),a.H.subscribe("dragstart",a.nM,a),a.H.subscribe("dragmove",a.rM,a),a.H.subscribe("dragend",a.qM,a),a.Rb=a.ia("keydown",a.YI)):a.H&&(a.element.setAttribute("aria-disabled",!0),a.Wa(a.Rb),a.H.cancel(),a.H.dispose(),a.H=null)};
g.KN=function(a){var b=2*a.C*g.Rx();return 1E3*a.A.getLength()/a.w.getPlaybackRate()/b};
LN=function(a,b,c){g.V.call(this,{D:"div",X:["ytp-chapter-container"],K:[{D:"div",I:"ytp-chapter-title",W:"{{title}}"}]});this.A=a;this.w=c;this.u=""};
MN=function(a,b,c,d,e){var f=b.Io/b.rows,k=Math.min(c/(b.Jo/b.columns),d/f),l=b.Jo*k,m=b.Io*k;l=Math.floor(l/b.columns)*b.columns;m=Math.floor(m/b.rows)*b.rows;var n=l/b.columns,p=m/b.rows,t=-b.column*n,u=-b.row*p;e&&45>=f&&(p-=1/k);n-=2/k;a=a.style;a.width=n+"px";a.height=p+"px";e||(d=(d-p)/2,c=(c-n)/2,a.marginTop=Math.floor(d)+"px",a.marginBottom=Math.ceil(d)+"px",a.marginLeft=Math.floor(c)+"px",a.marginRight=Math.ceil(c)+"px");a.background="url("+b.url+") "+t+"px "+u+"px/"+l+"px "+m+"px"};
g.NN=function(a){g.V.call(this,{D:"div",I:"ytp-storyboard-framepreview",K:[{D:"div",I:"ytp-storyboard-framepreview-img"}]});this.F=this.o["ytp-storyboard-framepreview-img"];this.u=a;this.Hd=null;this.B=NaN;this.w=new g.P(this);g.H(this,this.w);this.A=new g.dM(this,100);g.H(this,this.A);this.L(this.u,"presentingplayerstatechange",this.G)};
ON=function(a,b){var c=!!a.Hd;a.Hd=b;a.Hd?(c||(a.w.L(a.u,"videodatachange",function(){ON(a,a.u.ue())}),a.w.L(a.u,"progresssync",a.H),a.w.L(a.u,"appresize",a.C)),a.B=NaN,PN(a),a.A.show(200)):(c&&g.vr(a.w),a.A.hide(),a.A.stop())};
PN=function(a){var b=a.u.getCurrentTime(),c=g.pL(a.u).getPlayerSize(),d=Rz(a.Hd,c.width);b=Wz(a.Hd,d,b);b!=a.B&&(a.B=b,Uz(a.Hd,b,c.width),b=Sz(a.Hd,b,c.width),MN(a.F,b,c.width,c.height))};
QN=function(a,b){g.V.call(this,{D:"button",X:["ytp-fullerscreen-edu-button","ytp-button"],K:[{D:"div",X:["ytp-fullerscreen-edu-text"],W:"Ayr\u0131nt\u0131lar i\u00e7in kayd\u0131r\u0131n"},{D:"div",X:["ytp-fullerscreen-edu-chevron"],K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-chevron-down"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}]});g.ML(a,this.element,this,61214);this.u=a;this.F=b;this.B=
new g.dM(this,250,void 0,100);g.H(this,this.B);this.C=this.A=!1;this.L(a,"fullscreentoggled",this.w);this.L(a,"presentingplayerstatechange",this.w);this.ia("click",this.G);this.w()};
RN=function(a,b,c,d){d=void 0===d?!1:d;g.GC.call(this,b);this.V=a;this.da=d;this.J=null;this.H=new g.P(this);g.H(this,this.H);this.U=new g.dM(this,c,!0,void 0,void 0,(0,g.x)(this.EE,this));g.H(this,this.U);this.u=null};
SN=function(a){a.u&&(document.activeElement&&g.ce(a.element,document.activeElement)&&(ge(a.u),a.u.focus()),a.u.removeAttribute("aria-expanded"),a.u=null);g.vr(a.H);a.J=null};
TN=function(a){return a.Fa()&&4!==a.U.state};
g.VN=function(a,b){g.V.call(this,{D:"button",X:["ytp-fullscreen-button","ytp-button"],M:{title:"{{title}}"},W:"{{icon}}"});this.w=a;this.C=b;this.u=null;this.A=g.dN(b.Ya(),this.element);this.B=new g.J(this.aE,2E3,this);g.H(this,this.B);this.L(a,"fullscreentoggled",this.UB);this.L(a,"presentingplayerstatechange",this.Lz);this.ia("click",this.OI);if(qr()){var c=g.pL(this.w);this.L(c,Vea(),this.CA);this.L(c,tr(document),this.QI)}a.N().ca||UN(this);this.Lz();this.UB(a.isFullscreen())};
UN=function(a){if(!a.u){var b=(null!=zq(["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"],document.body)?"Tam ekran kullan\u0131lam\u0131yor. $BEGIN_LINKDaha Fazla Bilgi Edinin$END_LINK":"Taray\u0131c\u0131n\u0131z tam ekran\u0131 desteklemiyor. $BEGIN_LINKDaha Fazla Bilgi Edinin$END_LINK").split(/\$(BEGIN|END)_LINK/);a.u=new RN(a.w,{D:"div",X:["ytp-popup","ytp-generic-popup"],M:{role:"alert",tabindex:"0"},K:[b[0],{D:"a",M:{href:"https://support.google.com/youtube/answer/6276924",
target:a.w.N().A},W:b[2]},b[4]]},100,!0);a.u.hide();g.H(a,a.u);a.u.subscribe("show",(0,g.x)(a.C.uk,a.C,a.u));g.KL(a.w,a.u.element,4);a.element.setAttribute("aria-disabled",!0);a.element.setAttribute("aria-haspopup",!0);(0,a.A)();a.A=null}};
WN=function(a,b){g.V.call(this,{D:"button",X:["ytp-miniplayer-button","ytp-button"],M:{title:"{{title}}","data-tooltip-target-id":"ytp-miniplayer-button"},K:[xM()]});this.u=a;this.w=!1;this.ia("click",this.B);this.L(a,"fullscreentoggled",this.A);this.ha("title",g.TM(a,"Mini oynat\u0131c\u0131","i"));g.le(this,g.dN(b.Ya(),this.element));g.ML(a,this.element,this,62946);this.A()};
XN=function(a){var b={D:"div",I:"ytp-multicam-menu",M:{role:"dialog"},K:[{D:"div",I:"ytp-multicam-menu-header",K:[{D:"div",I:"ytp-multicam-menu-title",K:["Kameray\u0131 de\u011fi\u015ftir",{D:"button",X:["ytp-multicam-menu-close","ytp-button"],M:{"aria-label":"Kapat"},K:[g.mM()]}]}]},{D:"div",I:"ytp-multicam-menu-items"}]};RN.call(this,a,b,250);this.B=new g.P(this);g.H(this,this.B);this.L(this.o["ytp-multicam-menu-close"],"click",this.nb);this.w=a;this.Ga=this.o["ytp-multicam-menu-items"];this.A=
[];this.hide()};
YN=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-multicam-button","ytp-button"],M:{title:"Kameray\u0131 de\u011fi\u015ftir","aria-haspopup":"true","data-preview":"{{preview}}","data-tooltip-text":"{{text}}"},K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-switch-camera"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M 26,10 22.83,10 21,8 15,8 13.17,10 10,10 c -1.1,0 -2,.9 -2,2 l 0,12 c 0,1.1 .9,2 2,2 l 16,0 c 1.1,0 2,-0.9 2,-2 l 0,-12 c 0,-1.1 -0.9,-2 -2,-2 l 0,0 z m -5,11.5 0,-2.5 -6,0 0,2.5 -3.5,-3.5 3.5,-3.5 0,2.5 6,0 0,-2.5 3.5,3.5 -3.5,3.5 0,0 z",
fill:"#fff"}}]}]});this.C=a;this.A=!1;this.u=b.Ya();this.B=new g.J(this.G,400,this);g.H(this,this.B);this.ia("click",(0,g.x)(c.Xe,c,this.element,!1));this.L(a,"presentingplayerstatechange",g.Ra(this.w,!1));this.L(a,"videodatachange",this.F);this.w(!0);g.le(this,g.dN(this.u,this.element))};
ZN=function(){g.B.call(this);this.B=null;this.A=this.o=0;this.w=new g.vn(this.u,null,this);g.H(this,this.w)};
$N=function(a,b){if("path"==b.D)return b.M.d;if(b.K)for(var c=0;c<b.K.length;c++){var d=b.K[c];if(d&&"string"!==typeof d&&(d=$N(a,d)))return d}};
dO=function(a,b,c){c=$N(a,c);var d=b.getElementsByTagName("path")[0],e=d.getAttribute("d");if(d.getAttribute("id")){var f=AC();b=b.getElementsByTagName("use");for(var k=0;k<b.length;k++)b[k].setAttributeNS("http://www.w3.org/1999/xlink","href","#"+f);d.setAttribute("id",f)}var l=aO(e),m=aO(c);bO(a,function(n){d.setAttribute("d",cO(l,m,n))},200)};
bO=function(a,b,c){a.B=b;a.A=(0,g.O)();a.o=c;a.u()};
aO=function(a){var b=[];a=a.match(kka);for(var c=0;c<a.length;c++){var d=parseFloat(a[c]);b.push(isNaN(d)?a[c]:d)}return b};
cO=function(a,b,c){for(var d="",e=0;e<a.length;e++){var f=a[e];d="number"===typeof f?d+(f+(b[e]-f)*c):d+f}return d};
fO=function(a,b){var c=a.N();g.V.call(this,{D:"button",X:["ytp-mute-button","ytp-button"],M:c.J?{title:"{{title}}","aria-label":"{{label}}"}:{"aria-disabled":"true","aria-haspopup":"true"},W:"{{icon}}"});this.ha("icon",GM());this.u=a;this.ca=b.Ya();this.G=this.J=this.H=this.S=NaN;this.F=[];this.C=[];this.B=!1;this.u.N().B||(this.w=new g.BC({D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"defs",K:[{D:"clipPath",M:{id:"ytp-svg-volume-animation-mask"},K:[{D:"path",M:{d:"m 14.35,-0.14 -5.86,5.86 20.73,20.78 5.86,-5.91 z"}},
{D:"path",M:{d:"M 7.07,6.87 -1.11,15.33 19.61,36.11 27.80,27.60 z"}},{D:"path",I:"ytp-svg-volume-animation-mover",M:{d:"M 9.09,5.20 6.47,7.88 26.82,28.77 29.66,25.99 z"}}]},{D:"clipPath",M:{id:"ytp-svg-volume-animation-slash-mask"},K:[{D:"path",I:"ytp-svg-volume-animation-mover",M:{d:"m -11.45,-15.55 -4.44,4.51 20.45,20.94 4.55,-4.66 z"}}]}]},{D:"path",Ka:!0,X:["ytp-svg-fill","ytp-svg-volume-animation-speaker"],M:{"clip-path":"url(#ytp-svg-volume-animation-mask)",d:"M8,21 L12,21 L17,26 L17,10 L12,15 L8,15 L8,21 Z M19,14 L19,22 C20.48,21.32 21.5,19.77 21.5,18 C21.5,16.26 20.48,14.74 19,14 Z",
fill:"#fff"}},{D:"path",Ka:!0,X:["ytp-svg-fill","ytp-svg-volume-animation-hider"],M:{"clip-path":"url(#ytp-svg-volume-animation-slash-mask)",d:"M 9.25,9 7.98,10.27 24.71,27 l 1.27,-1.27 Z",fill:"#fff"}}]}),g.H(this,this.w),this.U=this.w.o["ytp-svg-volume-animation-speaker"],this.ga=this.U.getAttribute("d"),this.F=g.Id("ytp-svg-volume-animation-mover",this.w.element),this.C=g.Id("ytp-svg-volume-animation-hider",this.w.element));this.A=null;this.V=new ZN;g.H(this,this.V);this.O=new ZN;g.H(this,this.O);
this.ia("click",this.da);this.L(a,"appresize",this.oc);this.L(a,"onVolumeChange",this.ea);var d=null;c.J?g.le(this,g.dN(b.Ya(),this.element)):(d="Taray\u0131c\u0131n\u0131z ses d\u00fczeyi de\u011fi\u015ftirme i\u015flevini desteklemiyor. $BEGIN_LINKDaha Fazla Bilgi Edinin$END_LINK".split(/\$(BEGIN|END)_LINK/),d=new RN(a,{D:"span",X:["ytp-popup","ytp-generic-popup"],M:{tabindex:"0"},K:[d[0],{D:"a",M:{href:"https://support.google.com/youtube/?p=noaudio",target:c.A},W:d[2]},d[4]]},100,!0),g.H(this,
d),d.hide(),d.subscribe("show",(0,g.x)(b.uk,b,d)),g.KL(a,d.element,4));this.Z=d;g.ML(a,this.element,this,28662);this.oc(g.pL(a).getPlayerSize());eO(this,a.getVolume(),a.isMuted())};
eO=function(a,b,c){var d=c?0:b/100,e=a.u.N();if(e.B)d=0==d?GM():0<d&&.5>d?FM():EM(),d!=a.A&&(a.ha("icon",d),a.A=d);else{b=0==d?1:50<b?1:0;if(a.H!=b){var f=a.S;isNaN(f)?gO(a,b):bO(a.V,(0,g.x)(function(l){gO(this,f+(this.H-f)*l)},a),250);
a.H=b}d=0==d?1:0;if(a.G!=d){var k=a.J;isNaN(k)?hO(a,d):bO(a.O,(0,g.x)(function(l){hO(this,k+(this.G-k)*l)},a),250);
a.G=d}}e.J&&(e=g.TM(a.u,"Sessiz","m"),d=g.TM(a.u,"Sesi a\u00e7","m"),c=c?d:e,a.ha("title",c),a.ha("label",c),iO(a.ca))};
gO=function(a,b){a.S=b;var c=a.ga;b&&(c+=cO(lka,mka,b));a.U.setAttribute("d",c)};
hO=function(a,b){a.J=b;for(var c=20*b,d=0;d<a.F.length;d++)a.F[d].setAttribute("transform","translate("+c+", "+c+")");var e;1==b?e=GM():e=a.w;for(c=0;c<a.C.length;c++)a.C[c].style.display=0==b?"none":"";e!=a.A&&(a.ha("icon",e),a.A=e)};
jO=function(a,b){g.V.call(this,{D:"button",X:["ytp-pip-button","ytp-button"],M:{title:"{{title}}","data-tooltip-target-id":"ytp-pip-button"},K:[xM()]});this.u=a;this.ha("title","Resim \u0130\u00e7inde Resim");this.ia("click",this.w);g.le(this,g.dN(b.Ya(),this.element))};
g.lO=function(a,b){g.V.call(this,{D:"button",X:["ytp-play-button","ytp-button"],M:{title:"{{title}}","aria-label":"{{label}}"},W:"{{icon}}"});this.u=a;this.w=null;this.C=b.Ya();this.A=new ZN;g.H(this,this.A);this.L(a,"fullscreentoggled",this.B);this.L(a,"presentingplayerstatechange",this.F);this.L(a,"videodatachange",this.B);kO(this,g.sL(a));this.ia("click",this.G,this);g.le(this,g.dN(b.Ya(),this.element))};
mO=function(a){switch(a){case 1:return yM();case 2:return wM();case 3:return g.AM();case 4:return CM();default:return null}};
kO=function(a,b){var c=g.JB(a.u.getVideoData()),d=!1;if(g.xD(b))var e=c?4:2;else g.W(b,2)?(e=3,d=c):e=1;a.element.disabled=d;if(a.w!=e){c=null;switch(e){case 2:c=g.TM(a.u,"Duraklat","k");break;case 3:c="Tekrar Oynat";break;case 1:c=g.TM(a.u,"Oynat","k");break;case 4:c="Canl\u0131 oynatmay\u0131 durdur"}3==e?a.update({title:c,label:null,icon:mO(e)}):(a.update({title:c,label:c}),(c=mO(e))&&a.w&&3!=a.w&&!a.u.N().B?dO(a.A,a.element,c):a.ha("icon",c));iO(a.C);a.w=e}};
g.nO=function(a,b){return ZD(b)?(b.fetch=0,new g.YD(a,b)):new g.cB(a,b)};
g.pO=function(a,b,c){if(c){var d="ytp-next-button";var e=uM()}else d="ytp-prev-button",e=zM();g.V.call(this,{D:"a",X:[d,"ytp-button"],M:{role:"button",title:"{{title}}",href:"{{url}}","data-preview":"{{preview}}","data-tooltip-text":"{{text}}","data-duration":"{{duration}}","aria-disabled":"{{disabled}}","data-next":"{{next}}","data-prev":"{{prev}}"},K:[e]});this.u=a;this.J=b.Ya();this.A=c;this.w=this.T=null;this.H=!1;this.F=this.G=this.B=null;this.C=!1;this.L(a,"fullscreentoggled",this.yj);this.L(a,
"videodatachange",this.yj);this.L(a,"onPlaylistUpdate",this.yj);this.A||this.L(a,"appresize",this.oc);this.L(a,"mdxpreviousnextchange",function(){oO(this);this.oc()});
this.yj()};
qO=function(a){a.w&&a.w.unsubscribe("shuffle",a.yj,a)};
rO=function(a){return!!a.w&&!a.A&&!!a.T&&!a.T.ua&&3<=a.u.getCurrentTime()&&2!=a.u.getPresentingPlayerType()};
sO=function(a){var b=g.tL(g.lL(a.u));return b?a.A?b.hasNext():b.lf():!1};
oO=function(a){var b={duration:null,preview:null,text:null,title:null,url:null},c=a.u.N(),d=!0;g.R(c.experiments,"player_allow_autonav_after_playlist")&&(d=a.w&&a.w.hasNext());d=g.uL(a.u)&&(!a.A||d);var e=a.A&&g.LL(a.u),f=sO(a),k=a.A&&5==a.u.getPresentingPlayerType(),l=g.TM(a.u,"Sonraki","SHIFT+n"),m=g.TM(a.u,"\u00d6nceki","SHIFT+p");if(k)b.title="Videoyu ba\u015flat";else if(a.C)b.title="Tekrar Oynat";else if(d){var n=null;a.w&&(n=a.w.wa(a.A?$D(a.w):aE(a.w)));if(n){if(n.videoId){var p=a.w.listId;
b.url=c.getVideoUrl(n.videoId,p?p.toString():void 0)}b.text=n.title;b.duration=n.lengthSeconds?g.$L(n.lengthSeconds):null;b.preview=n.Bc("mqdefault.jpg")}b.title=a.A?l:m}else e&&(a.T&&a.T.suggestions&&a.T.suggestions.length&&(c=g.nO(c,a.T.suggestions[0]),b.url=c.Rh(),b.text=c.title,b.duration=c instanceof g.cB?g.$L(c.lengthSeconds):null,b.preview=c.Bc("mqdefault.jpg")),b.title=l);b.disabled=!e&&!d&&!f&&!k;a.update(b);a.H=!!b.url;e||d||a.C||f||k?a.B||(a.B=g.dN(a.J,a.element),a.G=a.ia("click",a.VI,
a)):a.B&&(a.B(),a.B=null,a.Wa(a.G),a.G=null);iO(a.J)};
g.tO=function(a,b){var c=g.JC({role:"menuitemcheckbox","aria-checked":"false"});g.IC.call(this,c,b,a,{D:"div",I:"ytp-menuitem-toggle-checkbox"});this.w=!1;this.ia("click",this.J)};
uO=function(a,b){g.tO.call(this,"Ek A\u00e7\u0131klamalar",5);this.B=b;this.A=a;this.u=!1;this.L(a,"videodatachange",this.C);this.L(a,"onApiChange",this.C);this.subscribe("select",this.F,this);this.C()};
vO=function(a){a=g.yL(g.lL(a.A));return!!a&&a.loaded};
wO=function(a,b,c,d,e){var f={D:"div",I:"ytp-panel"};if(c){var k="ytp-panel-title";var l={D:"div",I:"ytp-panel-header",K:[{D:"button",X:["ytp-button",k],K:[c]}]};if(e){var m="ytp-panel-options";l.K.unshift({D:"button",X:["ytp-button",m],K:[d]})}f.K=[l]}g.GC.call(this,f);this.V=b;b.ba(this.element);this.ea=!1;c&&(this.L(this.o[k],"click",this.sa),this.ea=!0,e&&this.L(this.o[m],"click",e));b.subscribe("size-change",this.ga,this);this.L(a,"fullscreentoggled",this.ga)};
g.xO=function(a,b,c,d,e){b=void 0===b?null:b;var f={role:"menu"};b&&(f.id=b);b=new g.GC({D:"div",I:"ytp-panel-menu",M:f});wO.call(this,a,b,c,d,e);this.F=b;g.H(this,this.F);this.Ga=[]};
g.yO=function(a,b,c){if(void 0===c?0:c)a.Ga.push(b),a.F.element.appendChild(b.element);else{c=g.qb(a.Ga,b,nka);if(0<=c)return;c=~c;g.nb(a.Ga,c,0,b);g.Zd(a.F.element,b.element,c)}b.subscribe("size-change",a.Z,a);a.F.R("size-change")};
g.zO=function(a,b){b.unsubscribe("size-change",a.Z,a);a.la()||(g.fb(a.Ga,b),a.F.element.removeChild(b.element),a.F.R("size-change"))};
g.AO=function(a){for(var b=g.q(a.Ga),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.Z,a);a.Ga=[];g.Yd(a.F.element);a.F.R("size-change")};
nka=function(a,b){return b.priority-a.priority};
g.BO=function(a,b,c,d,e,f){var k=g.JC({"aria-haspopup":"true"});g.IC.call(this,k,b,a);this.w=d;this.H=!1;this.F=null;this.A={};this.G=new g.xO(c,void 0,a,e,f);g.H(this,this.G);this.ia("keydown",this.ZI);this.ia("click",this.open)};
CO=function(a){if(a.F){var b=a.A[a.F];b.element.getAttribute("aria-checked");b.element.removeAttribute("aria-checked");a.F=null}};
g.DO=function(a,b){g.AO(a.G);for(var c={},d=!1,e=0;e<b.length;e++){var f=b[e],k=a.A[f],l=f==a.F;l&&(d=!0);k&&k.priority==-e?(l=a,g.HC(l.A[f],l.Re(f,!0)),delete a.A[f]):k=a.tq(f,-e,l);c[f]=k;g.yO(a.G,k,!0)}d||(a.F=null);for(var m in a.A)a.A[m].dispose();a.A=c};
EO=function(a,b){g.BO.call(this,"Ses par\u00e7as\u0131",2,a,b);this.u=a;this.J=new g.V({D:"div",K:[{D:"span",W:"Ses par\u00e7as\u0131"},{D:"span",I:"ytp-menuitem-label-count",W:"{{content}}"}]});g.HC(this,this.J);this.O={};this.L(a,"videodatachange",this.C);this.L(a,"onPlaybackAudioChange",this.C);this.C()};
FO=function(a,b){g.tO.call(this,"Otomatik oynat",6);this.F=b;this.u=a;this.B=!1;this.A=[];this.L(a,"presentingplayerstatechange",this.C);this.subscribe("select",this.H,this);this.C()};
g.GO=function(a,b){RN.call(this,a,{D:"div",X:["ytp-popup",b||null]},100,!0);this.A=[];this.size=new g.yd(0,0);this.C=this.F=null;this.O=this.S=0;this.ia("keydown",this.TI)};
IO=function(a){g.Mh(a.element,a.S||"100%",a.O||"100%");var b=HO(a);b.element.style.minWidth="250px";b.element.style.width="";b.element.style.height="";b.element.style.maxWidth="100%";b.element.style.maxHeight="100%";b.V.element.style.height="";var c=g.Nh(b.element);c.width+=1;c.height+=1;b.element.style.width=c.width+"px";b.element.style.height=c.height+"px";b.element.style.maxWidth="";b.element.style.maxHeight="";var d=0;b.ea&&(d=g.Nh(b.o["ytp-panel-header"]).height);b.V.element.style.height=c.height-
d+"px";d=b.element;var e=d.scrollWidth-d.clientWidth;0<d.offsetWidth-d.clientWidth&&0<e&&(c.width+=e,b.element.style.width=c.width+"px");a.size=c};
g.KO=function(a,b){var c=a.A[a.A.length-1];a.A.push(b);JO(a,c,b)};
g.LO=function(a){var b=a.A.pop(),c=a.A[0];a.A=[c];JO(a,b,c,!0)};
JO=function(a,b,c,d){MO(a);HO(a);g.In(c.element,"ytp-panel-animate-back")||g.In(c.element,"ytp-panel-animate-forward");b&&(b.unsubscribe("size-change",a.Qj,a),b.unsubscribe("back",a.Pd,a));c.subscribe("size-change",a.Qj,a);c.subscribe("back",a.Pd,a);if(a.Fa()){g.K(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.ba(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;IO(a);g.Mh(a.element,e);a.F=new g.J(g.Ra(a.LO,b,c,d),20,a);a.F.start()}else c.ba(a.element),
b&&g.CC(b)};
HO=function(a){return a.A[a.A.length-1]};
MO=function(a){a.F&&g.An(a.F);a.C&&g.An(a.C)};
NO=function(a,b){g.BO.call(this,"Kalite",1,a,b);g.K(this.G.element,"ytp-quality-menu");this.u=a;this.C={};this.B="unknown";this.L(a,"videodatachange",this.Al);this.L(a,"videoplayerreset",this.Al);this.L(a,"onPlaybackQualityChange",this.Oz);this.Al()};
OO=function(a,b,c){a=a.C[b];var d=g.pv[b];c={D:"span",X:c,K:[]};c.K.push(a?a.qualityLabel:d?d+"p":"Otomatik");var e;"highres"==b?e="8K":"hd2880"==b?e="5K":"hd2160"==b?e="4K":0==b.indexOf("hd")&&(e="HD");e&&(c.K.push(" "),c.K.push({D:"sup",I:"ytp-swatch-color",W:e}));return c};
PO=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-button","ytp-settings-button"],M:{"aria-haspopup":"true","aria-owns":AC(),title:"Ayarlar","data-tooltip-target-id":"ytp-settings-button"},K:[g.BM()]});this.A=c;this.u=a;this.B=!0;this.ia("click",this.C);this.L(a,"onPlaybackQualityChange",this.w);this.L(a,"videodatachange",this.w);this.L(a,"webglsettingschanged",this.w);this.L(a,"appresize",this.oc);g.le(this,g.dN(b.Ya(),this.element));this.w();this.oc(g.pL(a).getPlayerSize())};
QO=function(a,b){a.B=!!b;a.oc(g.pL(a.u).getPlayerSize())};
RO=function(a,b,c,d,e,f,k){g.V.call(this,{D:"div",I:"ytp-slider-section",M:{role:"slider","aria-valuemin":"{{minvalue}}","aria-valuemax":"{{maxvalue}}","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},K:[{D:"div",I:"ytp-slider",K:[{D:"div",I:"ytp-slider-handle"}]}]});this.minimumValue=c;this.maximumValue=d;this.C=this.maximumValue-this.minimumValue;this.J=e;this.O=f;this.S=this.o["ytp-slider-section"];this.w=this.o["ytp-slider"];this.U=this.o["ytp-slider-handle"];this.H=
a;this.F=b;this.u=k?k:c;this.G=new g.zr(this.w,!0);g.H(this,this.G);this.G.subscribe("dragmove",this.cN,this);this.L(this.element,"keydown",this.fN);this.L(this.element,"wheel",this.NL);this.ti(this.u);this.ha("minvalue",this.minimumValue);this.ha("maxvalue",this.maximumValue)};
TO=function(a){var b=a.getAvailablePlaybackRates(),c=a.getPlaybackRate();RO.call(this,.05,.05,b[0],b[b.length-1],150,20,c);g.K(this.w,"ytp-speedslider");this.B=a;this.A=g.Vd("P");g.K(this.A,"ytp-speedslider-text");a=this.A;b=this.w;b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling);this.V=taa(this.Z,this);SO(this);this.L(this.B,"onPlaybackRateChange",this.ca)};
SO=function(a){a.A.textContent=UO(a,a.u)+"x"};
UO=function(a,b){var c=parseFloat(g.sd(b,a.minimumValue,a.maximumValue).toFixed(2)),d=Math.floor(100*(c+.001)%5+2E-15),e=c;0!=d&&(e=c-.01*d);return parseFloat(e.toFixed(2))};
VO=function(a){g.GC.call(this,{D:"div",I:"ytp-speedslider-component"});this.u=new TO(a);this.element.appendChild(this.u.element)};
WO=function(a){wO.call(this,a,new VO(a),"\u00d6zel")};
XO=function(a,b){g.BO.call(this,"\u00c7alma h\u0131z\u0131",4,a,b,"\u00d6zel",function(){return g.KO(b,new WO(a))});
this.u=a;this.O=null;this.J=this.u.getAvailablePlaybackRates();this.C=this.B=null;this.L(a,"presentingplayerstatechange",this.Pz);this.Pz()};
ZO=function(a,b){var c=YO(b);a.A[c]?a.Ce(c):b==a.C&&a.B&&(a.Ce(a.B),a.ub(b.toString()))};
aP=function(a){g.DO(a,a.J.map(YO));a.B=null;a.C=null;var b=a.u.getPlaybackRate();a.J.includes(b)||($O(a,b),g.BO.prototype.Zc.call(a,a.B))};
$O=function(a,b){a.C=b;a.B=g.JM("\u00d6zel ($CURRENT_CUSTOM_SPEED)",{CURRENT_CUSTOM_SPEED:b.toString()});var c=a.J.map(YO);c.unshift(a.B);g.DO(a,c)};
YO=function(a){return a.toString()};
bP=function(a){var b=null;try{b=a.toLocaleString("tr",{style:"percent"})}catch(c){b=a.toLocaleString(void 0,{style:"percent"})}return b};
cP=function(a,b,c,d){var e=new g.xO(b,void 0,"Video Ge\u00e7ersiz K\u0131lma");g.BO.call(this,d.text||"",a,b,c,"Video Ge\u00e7ersiz K\u0131lma",function(){return g.KO(c,e)});
g.K(this.element,"ytp-subtitles-options-menu-item");this.J=d.option.toString();a=d.options;this.O=g.wb(a,this.Tz,this);this.C=e;g.H(this,this.C);b=new g.IC({D:"div",I:"ytp-menuitemtitle",W:"Videoda belirtilenden farkl\u0131 bir stile izin verin."},0);g.H(this,b);g.yO(this.C,b,!0);this.B=new g.IC({D:"div",I:"ytp-menuitem",M:{role:"menuitemradio",tabindex:"0"},K:[{D:"div",I:"ytp-menuitem-label",W:"A\u00e7\u0131k"}]},-1);g.H(this,this.B);g.yO(this.C,this.B,!0);this.L(this.B.element,"click",g.Ra(this.Uz,
!0));this.u=new g.IC({D:"div",I:"ytp-menuitem",M:{role:"menuitemradio",tabindex:"0"},K:[{D:"div",I:"ytp-menuitem-label",W:"Kapal\u0131"}]},-2);g.H(this,this.u);g.yO(this.C,this.u,!0);this.L(this.u.element,"click",g.Ra(this.Uz,!1));g.DO(this,(0,g.A)(a,this.Tz))};
eP=function(a,b){g.xO.call(this,a,void 0,"Se\u00e7enekler");this.u={};for(var c=0;c<g.dP.length;c++){var d=g.dP[c],e=new cP(-c,a,b,d);g.H(this,e);e.subscribe("settingChange",this.w,this);this.u[d.option.toString()]=e;g.yO(this,e,!0)}c=new g.IC(g.JC(),-g.dP.length,"S\u0131f\u0131rla");g.H(this,c);c.ia("click",(0,g.x)(this.w,this,"reset",!0));g.yO(this,c,!0)};
fP=function(a,b){for(var c in b){var d=a.u[c];if(d){var e=b[c].toString(),f=!!b[c+"Override"];d.A[e]&&(d.Ce(e),d.B.element.setAttribute("aria-checked",!f),d.u.element.setAttribute("aria-checked",f))}}};
gP=function(a,b){g.BO.call(this,"Otomatik \u00e7evir",0,a,b);this.u={}};
oka=function(a,b){a.u=g.wb(b,a.B,a);g.DO(a,(0,g.A)(b,a.B))};
hP=function(a,b){var c=new eP(a,b);g.BO.call(this,"Altyaz\u0131lar",3,a,b,"Se\u00e7enekler",function(){return g.KO(b,c)});
this.u=a;this.C={};this.O=new g.J(g.Ra(this.Sz,!1),3E3,this);g.H(this,this.O);this.S=new g.V({D:"div",K:[{D:"span",W:"Altyaz\u0131lar"},{D:"span",I:"ytp-menuitem-label-count",W:"{{content}}"}]});g.H(this,this.S);g.HC(this,this.S);this.B=new gP(a,b);g.H(this,this.B);this.B.subscribe("select",this.lJ,this);this.J=c;g.H(this,this.J);this.J.subscribe("settingChange",this.kJ,this);b.subscribe("show",this.YM,this);this.L(a,"videodatachange",this.Bl);this.L(a,"onApiChange",this.Bl);this.L(a,"onCaptionsTrackListChanged",
this.Bl);this.L(a,"captionschanged",this.Bl);this.Bl()};
iP=function(a){g.GO.call(this,a,"ytp-settings-menu");this.w=a;this.B=new g.xO(a);g.H(this,this.B);this.G=null;this.Z=!1;this.hide();g.KO(this,this.B)};
jP=function(a){if(!a.Z){a.Z=!0;var b=new NO(a.w,a);g.H(a,b);b=new hP(a.w,a);g.H(a,b);b=new uO(a.w,a);g.H(a,b);a.w.N().ya&&(b=new XO(a.w,a),g.H(a,b));a.w.N().Ua&&(b=new FO(a.w,a),g.H(a,b));b=new EO(a.w,a);g.H(a,b);QO(a.G,a.B.Ga.length)}};
g.kP=function(a,b){jP(a);g.yO(a.B,b);QO(a.G,a.B.Ga.length)};
g.lP=function(a,b){a.Fa()&&1>=a.B.Ga.length&&a.hide();g.zO(a.B,b);QO(a.G,a.B.Ga.length)};
pka=function(a,b){a.G=b;a.element.id=b.element.getAttribute("aria-owns")};
mP=function(a,b,c){g.V.call(this,{D:"button",I:"ytp-button",M:{title:"TV'de oynat","aria-haspopup":"true"},W:"{{icon}}"});this.u=a;this.B=c;this.A=null;this.L(a,"onMdxReceiversChange",this.w);this.L(a,"presentingplayerstatechange",this.w);this.L(a,"appresize",this.w);this.w();this.ia("click",this.C,this);g.le(this,g.dN(b.Ya(),this.element))};
nP=function(a,b){g.V.call(this,{D:"button",X:["ytp-size-button","ytp-button"],M:{title:"{{title}}"},W:"{{icon}}"});this.u=a;this.B=b.Ya();this.A=null;this.C=new ZN;g.H(this,this.C);this.L(a,"sizestylechange",this.w);this.L(a,"fullscreentoggled",this.w);this.L(a,"presentingplayerstatechange",this.w);this.w();this.ia("click",this.F);g.le(this,g.dN(this.B,this.element))};
oP=function(a,b){g.V.call(this,{D:"button",X:["ytp-subtitles-button","ytp-button"],M:{"aria-pressed":"{{pressed}}",title:g.TM(a,"Altyaz\u0131lar","c")},K:[DM()]});this.w=a;this.L(a,"videodatachange",this.u);this.L(a,"appresize",this.u);this.L(a,"onApiChange",this.u);this.L(a,"onCaptionsTrackListChanged",this.u);this.L(a,"captionschanged",this.u);this.u();this.ia("click",this.A);g.le(this,g.dN(b.Ya(),this.element))};
g.qP=function(a,b,c){c=void 0===c?350:c;g.V.call(this,{D:"div",X:["ytp-time-display","notranslate"],K:[{D:"span",I:"ytp-time-current",W:"{{currenttime}}"},{D:"span",I:"ytp-time-separator",W:" / "},{D:"span",I:"ytp-time-duration",W:"{{duration}}"}]});this.A=new g.V({D:"button",X:["ytp-live-badge","ytp-button"],M:{disabled:"true"},W:"{{content}}"});this.A.ub("Canl\u0131");g.H(this,this.A);this.A.ba(this.element);this.u=a;this.O=c;this.S=b.Ya();this.B=null;this.C=!1;this.H=null;this.J=!1;this.G=this.F=
null;this.ia("click",this.U);this.L(a,"presentingplayerstatechange",this.w);this.L(a,"appresize",this.w);this.L(a,"videodatachange",this.V);(a=a.getVideoData())&&pP(this,a);this.w()};
pP=function(a,b){a.C=b.ua&&!b.cg;a.J=b.isPremiere;g.L(a.element,"ytp-live",a.C)};
sP=function(a,b,c){g.V.call(this,{D:"div",I:"ytp-volume-panel",M:{role:"slider","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":"{{valuenow}}","aria-valuetext":"{{valuetext}}",tabindex:"0"},K:[{D:"div",I:"ytp-volume-slider",K:[{D:"div",I:"ytp-volume-slider-handle"}]}]});this.u=a;this.F=b;this.S=c;this.J=!1;this.G=b.hc();this.V=this.B=0;this.U=this.o["ytp-volume-slider"];this.Z=this.o["ytp-volume-slider-handle"];this.H=new g.zr(this.U,!0);g.H(this,this.H);this.H.subscribe("dragstart",this.eN,
this);this.H.subscribe("dragmove",this.dN,this);this.H.subscribe("dragend",this.bN,this);this.O=null;this.w=this.A=this.C=!1;this.L(a,"onVolumeChange",this.oJ);this.L(a,"appresize",this.oc);this.L(a,"fullscreentoggled",this.mJ);this.L(a,"onShowControls",this.xw);this.L(a,"onHideControls",this.xw);this.L(this.element,"keydown",this.gN);this.L(this.element,"focus",g.Ra(this.Vz,!0));this.L(this.element,"blur",g.Ra(this.Vz,!1));this.oc(g.pL(a).getPlayerSize());rP(this,a.getVolume(),a.isMuted())};
rP=function(a,b,c){var d=Math.floor(b),e=d+"% ses d\u00fczeyi"+(c?" sessiz":"");c=c?0:b/100;a.ha("valuenow",d);a.ha("valuetext",e);a.Z.style.left=(a.G?60:40)*c+"px";a.B=b};
tP=function(a,b,c,d,e){var f=a.A||a.C||a.w||a.J;a.A=b;a.C=c;a.w=d;a.J=e;b=a.A||a.C||a.w||a.J;f!=b&&(b?a.O=a.L(a.element,"wheel",a.nJ):(a.Wa(a.O),a.O=null),g.L(a.S,"ytp-volume-slider-active",b))};
g.uP=function(a,b){var c=a.N(),d=g.Ox(c);0==d.indexOf("www.")&&(d=d.substring(4));var e=["ytp-youtube-button","ytp-button","yt-uix-sessionlink"],f=g.Dx(c);f&&e.push("ytp-youtube-music-button");g.V.call(this,{D:"a",X:e,M:{href:"{{url}}",target:c.A,title:g.JM("$WEBSITE sitesinde izle",{WEBSITE:d}),"data-sessionlink":"feature=player-button"},K:[f?g.Y?{D:"div",X:["ytp-icon","ytp-icon-youtube-music-logo"]}:{D:"svg",M:{viewBox:"0 0 77 20"},K:[{D:"g",M:{fill:"none"},K:[{D:"path",M:{d:"M27.71 3.30a3.53 3.53 0 0 0-2.49-2.49c-2.19-.59-11.00-.59-11.00-.59s-8.81 0-11.00.59A3.53 3.53 0 0 0 .71 3.30c-.59 2.20-.59 6.8-.59 6.8s0 4.59.59 6.8a3.53 3.53 0 0 0 2.49 2.49c2.19.59 11.00.59 11.00.59s8.81 0 11.00-.59a3.53 3.53 0 0 0 2.49-2.49c.59-2.20.59-6.8.59-6.8s-.00-4.59-.59-6.8z",
fill:"red"}},{D:"path",M:{d:"M11.39 14.34l7.32-4.23-7.32-4.24zM40.69 7.88c-.50 2.56-.88 5.69-1.08 6.98h-.14c-.16-1.33-.54-4.44-1.06-6.97l-1.29-6.28h-3.92v16.95h2.43V4.60l.24 1.30 2.47 12.66h2.43L43.21 5.91l.26-1.31v13.97h2.43V1.62h-3.96L40.7 7.88zm11.80 8.14c-.22.46-.70.78-1.19.78-.56 0-.78-.44-.78-1.53V6.19h-2.78v9.25c0 2.28.74 3.33 2.39 3.33 1.12 0 2.03-.50 2.66-1.71h.06l.24 1.51h2.17V6.19h-2.78v9.84h.00zm8.15-4.94c-.90-.66-1.47-1.11-1.47-2.08 0-.68.32-1.07 1.08-1.07.78 0 1.04.54 1.06 2.40l2.33-.1c.18-3.01-.80-4.26-3.36-4.26-2.37 0-3.54 1.07-3.54 3.27 0 2 .96 2.91 2.53 4.1 1.35 1.05 2.13 1.63 2.13 2.48 0 .64-.40 1.09-1.10 1.09-.82 0-1.31-.78-1.18-2.16l-2.35.04c-.36 2.56.66 4.06 3.40 4.06 2.39 0 3.64-1.11 3.64-3.33.00-2.02-1.00-2.82-3.18-4.44zm4.71-4.88h2.66v12.38h-2.66zm1.35-4.88c-1.02 0-1.51.38-1.51 1.71 0 1.37.48 1.71 1.51 1.71 1.04 0 1.51-.34 1.51-1.71 0-1.27-.46-1.71-1.51-1.71zm10.25 12.80l-2.43-.12c0 2.18-.24 2.88-1.06 2.88s-.96-.78-.96-3.35V11.12c0-2.48.16-3.27.98-3.27.76 0 .96.74.96 3.05l2.41-.16c.16-1.92-.08-3.23-.82-3.98-.54-.54-1.37-.80-2.51-.80-2.7 0-3.80 1.45-3.80 5.53v1.73c0 4.20.94 5.55 3.70 5.55 1.17 0 1.97-.24 2.51-.76.78-.73 1.08-1.98 1.02-3.90z",
fill:"#fff"}}]}]}:g.Y?{D:"div",X:["ytp-icon","ytp-icon-logo"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 45.09 10 L 45.09 25.82 L 47.16 25.82 L 47.41 24.76 L 47.47 24.76 C 47.66 25.14 47.94 25.44 48.33 25.66 C 48.72 25.88 49.16 25.99 49.63 25.99 C 50.48 25.99 51.1 25.60 51.5 24.82 C 51.9 24.04 52.09 22.82 52.09 21.16 L 52.09 19.40 C 52.12 18.13 52.05 17.15 51.90 16.44 C 51.75 15.74 51.50 15.23 51.16 14.91 C 50.82 14.59 50.34 14.44 49.75 14.44 C 49.29 14.44 48.87 14.57 48.47 14.83 C 48.27 14.96 48.09 15.11 47.93 15.29 C 47.78 15.46 47.64 15.65 47.53 15.86 L 47.51 15.86 L 47.51 10 L 45.09 10 z M 8.10 10.56 L 10.96 20.86 L 10.96 25.82 L 13.42 25.82 L 13.42 20.86 L 16.32 10.56 L 13.83 10.56 L 12.78 15.25 C 12.49 16.62 12.31 17.59 12.23 18.17 L 12.16 18.17 C 12.04 17.35 11.84 16.38 11.59 15.23 L 10.59 10.56 L 8.10 10.56 z M 30.10 10.56 L 30.10 12.58 L 32.59 12.58 L 32.59 25.82 L 35.06 25.82 L 35.06 12.58 L 37.55 12.58 L 37.55 10.56 L 30.10 10.56 z M 19.21 14.46 C 18.37 14.46 17.69 14.63 17.17 14.96 C 16.65 15.29 16.27 15.82 16.03 16.55 C 15.79 17.28 15.67 18.23 15.67 19.43 L 15.67 21.06 C 15.67 22.24 15.79 23.19 16 23.91 C 16.21 24.62 16.57 25.15 17.07 25.49 C 17.58 25.83 18.27 26 19.15 26 C 20.02 26 20.69 25.83 21.19 25.5 C 21.69 25.17 22.06 24.63 22.28 23.91 C 22.51 23.19 22.63 22.25 22.63 21.06 L 22.63 19.43 C 22.63 18.23 22.50 17.28 22.27 16.56 C 22.04 15.84 21.68 15.31 21.18 14.97 C 20.68 14.63 20.03 14.46 19.21 14.46 z M 56.64 14.47 C 55.39 14.47 54.51 14.84 53.99 15.61 C 53.48 16.38 53.22 17.60 53.22 19.27 L 53.22 21.23 C 53.22 22.85 53.47 24.05 53.97 24.83 C 54.34 25.40 54.92 25.77 55.71 25.91 C 55.97 25.96 56.26 25.99 56.57 25.99 C 57.60 25.99 58.40 25.74 58.96 25.23 C 59.53 24.72 59.81 23.94 59.81 22.91 C 59.81 22.74 59.79 22.61 59.78 22.51 L 57.63 22.39 C 57.62 23.06 57.54 23.54 57.40 23.83 C 57.26 24.12 57.01 24.27 56.63 24.27 C 56.35 24.27 56.13 24.18 56.00 24.02 C 55.87 23.86 55.79 23.61 55.75 23.25 C 55.71 22.89 55.68 22.36 55.68 21.64 L 55.68 21.08 L 59.86 21.08 L 59.86 19.16 C 59.86 17.99 59.77 17.08 59.58 16.41 C 59.39 15.75 59.07 15.25 58.61 14.93 C 58.15 14.62 57.50 14.47 56.64 14.47 z M 23.92 14.67 L 23.92 23.00 C 23.92 24.03 24.11 24.79 24.46 25.27 C 24.82 25.76 25.35 26.00 26.09 26.00 C 27.16 26.00 27.97 25.49 28.5 24.46 L 28.55 24.46 L 28.76 25.82 L 30.73 25.82 L 30.73 14.67 L 28.23 14.67 L 28.23 23.52 C 28.13 23.73 27.97 23.90 27.77 24.03 C 27.57 24.16 27.37 24.24 27.15 24.24 C 26.89 24.24 26.70 24.12 26.59 23.91 C 26.48 23.70 26.43 23.35 26.43 22.85 L 26.43 14.67 L 23.92 14.67 z M 36.80 14.67 L 36.80 23.00 C 36.80 24.03 36.98 24.79 37.33 25.27 C 37.60 25.64 37.97 25.87 38.45 25.96 C 38.61 25.99 38.78 26.00 38.97 26.00 C 40.04 26.00 40.83 25.49 41.36 24.46 L 41.41 24.46 L 41.64 25.82 L 43.59 25.82 L 43.59 14.67 L 41.09 14.67 L 41.09 23.52 C 40.99 23.73 40.85 23.90 40.65 24.03 C 40.45 24.16 40.23 24.24 40.01 24.24 C 39.75 24.24 39.58 24.12 39.47 23.91 C 39.36 23.70 39.31 23.35 39.31 22.85 L 39.31 14.67 L 36.80 14.67 z M 56.61 16.15 C 56.88 16.15 57.08 16.23 57.21 16.38 C 57.33 16.53 57.42 16.79 57.47 17.16 C 57.52 17.53 57.53 18.06 57.53 18.78 L 57.53 19.58 L 55.69 19.58 L 55.69 18.78 C 55.69 18.05 55.71 17.52 55.75 17.16 C 55.79 16.81 55.87 16.55 56.00 16.39 C 56.13 16.23 56.32 16.15 56.61 16.15 z M 19.15 16.19 C 19.50 16.19 19.75 16.38 19.89 16.75 C 20.03 17.12 20.09 17.7 20.09 18.5 L 20.09 21.97 C 20.09 22.79 20.03 23.39 19.89 23.75 C 19.75 24.11 19.51 24.29 19.15 24.30 C 18.80 24.30 18.54 24.11 18.41 23.75 C 18.28 23.39 18.22 22.79 18.22 21.97 L 18.22 18.5 C 18.22 17.7 18.28 17.12 18.42 16.75 C 18.56 16.38 18.81 16.19 19.15 16.19 z M 48.63 16.22 C 48.88 16.22 49.08 16.31 49.22 16.51 C 49.36 16.71 49.45 17.05 49.50 17.52 C 49.55 17.99 49.58 18.68 49.58 19.55 L 49.58 21 L 49.59 21 C 49.59 21.81 49.57 22.45 49.5 22.91 C 49.43 23.37 49.32 23.70 49.16 23.89 C 49.00 24.08 48.78 24.17 48.51 24.17 C 48.30 24.17 48.11 24.12 47.94 24.02 C 47.76 23.92 47.62 23.78 47.51 23.58 L 47.51 17.25 C 47.59 16.95 47.75 16.70 47.96 16.50 C 48.17 16.31 48.39 16.22 48.63 16.22 z "}}]}]});
this.u=a;this.w=!1;g.ML(a,this.element,this,28666);this.ia("click",this.B);this.L(a,"videodatachange",this.A);this.L(a,"onLoopRangeChange",this.A);this.A();g.le(this,g.dN(b.Ya(),this.element))};
vP=function(a,b,c){g.P.call(this);var d=this,e=a.N();this.w=a;this.A=b;this.na=NaN;this.ra=null;this.V=c;this.V.subscribe("autohideupdate",this.Rz,this);c=!g.sL(a).isCued();var f;g.Dx(e)||g.R(a.N().experiments,"html5_player_dynamic_bottom_gradient")?this.sa=f=new g.gN(a):f=new g.V({D:"div",I:"ytp-gradient-bottom"});g.H(this,f);g.KL(a,f.element,8);this.da=new g.dM(f,250,c,100);g.H(this,this.da);this.u=new g.V({D:"div",I:"ytp-chrome-bottom",K:[{D:"div",I:"ytp-chrome-controls"}]});g.H(this,this.u);g.KL(a,
this.u.element,8);this.ca=new g.dM(this.u,250,c,100);g.H(this,this.ca);this.O=this.u.element.children[0];this.o=new iP(a);g.le(this.o,function(){a.J==d.o&&(a.J=null)});
g.H(this,this.o);a.J=this.o;g.KL(a,this.o.element,6);this.o.subscribe("show",this.fP,this);this.o.subscribe("show",(0,g.x)(b.pu,b,this.o));this.B=new g.pN(a,b);g.H(this,this.B);this.B.ba(this.u.element,0);c=new g.NN(a);g.H(this,c);g.KL(a,c.element,4);c=new g.BC({D:"div",I:"ytp-left-controls"});g.H(this,c);c.ba(this.O);f=new g.pO(a,b,!1);g.H(this,f);f.ba(c.element);e.H||(f=new g.lO(a,b),g.H(this,f),f.ba(c.element));f=new g.pO(a,b,!0);g.H(this,f);f.ba(c.element);var k=new g.V({D:"span"});g.H(this,k);
k.ba(c.element);if(!e.na&&(this.F=new fO(a,b),g.H(this,this.F),this.F.ba(k.element),e.J)){f=new sP(a,b,this.u.element);g.H(this,f);f.ba(k.element);k=new g.zr(k.element);g.H(this,k);var l=(0,g.x)(f.VB,f,!0);k.subscribe("hoverstart",l);k=new g.zr(c.element);g.H(this,k);f=(0,g.x)(f.VB,f,!1);k.subscribe("hoverend",f)}this.ea=new g.qP(a,b);g.H(this,this.ea);this.ea.ba(c.element);c=new g.BC({D:"div",I:"ytp-right-controls"});g.H(this,c);c.ba(this.O);g.R(a.N().experiments,"web_wn_macro_markers")&&(this.U=
new LN(a,b,this.B),g.H(this,this.U),this.U.ba(this.O));this.P=null;g.R(e.experiments,"external_fullscreen_with_edu")&&e.externalFullscreen&&Qx(e)&&(this.P=new QN(a,b),g.H(this,this.P),this.P.ba(c.element));f=new oP(a,b);g.H(this,f);f.ba(c.element);f=new PO(a,b,this.o);g.H(this,f);pka(this.o,f);f.ba(c.element);f=new XN(a);g.H(this,f);g.KL(a,f.element,5);f.subscribe("show",(0,g.x)(b.Jh,b,f));f=new YN(a,b,f);g.H(this,f);f.ba(c.element);f=a.getVideoData();if(e.Ff||f.uc&&"1"==e.controlsType)this.G=new g.uP(a,
b),g.H(this,this.G),this.G.ba(c.element);e.showMiniplayerButton&&!g.R(a.N().experiments,"web_player_pip")&&(this.C=new WN(a,b),g.H(this,this.C),this.C.ba(c.element));this.S=new jO(a,b);g.H(this,this.S);this.S.ba(c.element);f.ru||this.S.hide();e.Xb||(f=new nP(a,b),g.H(this,f),f.ba(c.element));e.Rb&&(f=new mP(a,b,this.o),g.H(this,f),f.ba(c.element));e.qe&&(e=new eN(a,b),g.H(this,e),e.ba(c.element));this.ga=new g.VN(a,b);g.H(this,this.ga);this.ga.ba(c.element);this.H=new g.vn(this.iJ,null,this);g.H(this,
this.H);this.J=null;this.L(a,"appresize",this.vt);this.L(a,"fullscreentoggled",this.vt);this.L(a,"presentingplayerstatechange",this.wt);this.L(a,"videodatachange",this.jJ);this.vt()};
wP=function(a,b){g.sL(a.w).isCued()||b?b&&(a.ca.hide(),a.da.hide(),a.F&&a.F.Ta(!1),a.G&&a.G.Ta(!1),a.C&&a.C.Ta(!1),a.A.Ya().bf(a.u.element)):b||(a.ca.show(),a.da.show(),a.F&&a.F.Ta(!0),a.G&&a.G.Ta(!0),a.C&&a.C.Ta(!0),a.Rz())};
yP=function(a){var b=g.pL(a.w).getPlayerSize().width;return Math.max(b-2*xP(a),100)};
xP=function(a){var b=a.A.hc();return 12*(a.w.getVideoData().uc?0:b?2:1)};
AP=function(a){var b=g.lv(a.N().experiments,"mweb_muted_autoplay_animation"),c=[],d=[];"none"!=b&&(c.push("ytp-unmute-animated"),d.push({D:"div",X:["ytp-unmute-box"]}),"expand"==b?c.push("ytp-unmute-expand"):"shrink"==b&&c.push("ytp-unmute-shrink"));RN.call(this,a,{D:"button",X:["ytp-unmute","ytp-popup","ytp-button"].concat(c),K:[{D:"div",I:"ytp-unmute-inner",K:[{D:"div",X:["ytp-unmute-icon"],K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-volume-muted-dark"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",
width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{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"}}]}]},
{D:"div",X:["ytp-unmute-text"],W:"Sesi a\u00e7"}].concat(d)}]},100);this.w=a;this.A=this.B=!1;g.ML(this.w,this.element,this,51663);this.L(a,"onMutedAutoplayChange",this.F,this);this.L(a,"presentingplayerstatechange",this.G);this.ia("click",this.onClick,this);a=a.isMutedByMutedAutoplay()&&!g.ux(this.w.N());g.FC(this,a);a&&zP(this);this.C=a};
BP=function(a){a.B||(a.B=!0,g.PL(a.w,a.element))};
zP=function(a){a.A||(a.A=!0,g.QL(a.w,a.element,!0))};
g.CP=function(a){g.P.call(this);var b=this,c=a.N(),d=g.pL(a);this.api=a;this.ld=!1;this.F=null;this.Hb=!1;this.gd=new g.J(this.qK,0,this);g.H(this,this.gd);g.Dx(c)||(this.V=new IM(a),g.H(this,this.V),g.KL(a,this.V.element,4));if(qka()){var e=new cN(a);g.H(this,e);e=e.element;g.KL(a,e,4)}var f=a.getVideoData();this.u=new bM(d,(0,g.x)(this.CI,this),f,c.Qa);g.H(this,this.u);this.u.subscribe("autohideupdate",this.Dl,this);var k=new ZM(a);g.H(this,k);g.KL(a,k.element,4);this.Qa=new AP(a);g.H(this,this.Qa);
g.KL(this.api,this.Qa.element,2);this.Wb=this.api.isMutedByMutedAutoplay();this.L(a,"onMutedAutoplayChange",this.DI);this.Oa=new g.J(this.Go,200,this);g.H(this,this.Oa);this.Xb=f.videoId;this.B=null;this.Ic=!1;this.Kc=this.fd=null;this.jd=NaN;this.Hc=this.ea=!1;this.sa=0;this.kd=new g.J(function(){b.sa=0},350);
g.H(this,this.kd);this.Aa=new g.J(this.jF.bind(this),350,this);g.H(this,this.Aa);this.Ua=[];f=g.qL(a);f.setAttribute("aria-label","YouTube Video Oynat\u0131c\u0131s\u0131");switch(c.color){case "white":g.K(f,"ytp-color-white")}g.Dx(c)&&g.K(f,"ytp-music-player");!g.R(a.N().experiments,"disable_mediasession2")&&navigator.mediaSession&&!navigator.mediaSession.metadata&&navigator.mediaSession.setActionHandler&&(f=new YM(a),g.H(this,f));this.L(a,"appresize",this.ii);this.L(a,"presentingplayerstatechange",
this.kM);this.L(a,"videodatachange",this.Jz);this.L(a,"videoplayerreset",this.iM);this.L(a,"autonavvisibility",this.vg,this);this.L(a,"sizestylechange",this.vg,this);g.R(a.N().experiments,"player_minimized_controls_killswitch")&&this.L(a,"minimized",this.Vd,this);this.L(a,"onFrescaStateChange",this.Vd,this);this.L(d,"click",this.KM,this);this.L(d,"dblclick",this.LM,this);c.ca&&(this.L(d,"gesturechange",this.MM,this),this.L(d,"gestureend",this.OM,this));this.P=[d.A];this.V&&this.P.push(this.V.element);
e&&this.P.push(e)};
DP=function(a){return g.R(a.api.N().experiments,"player_minimized_controls_killswitch")?a.api.app.H.o:!1};
EP=function(a,b){if(!b)return!1;var c=a.api.app.B;if(c.ah()&&(c=c.ib())&&g.ce(c,b))return c.controls;for(c=0;c<a.P.length;c++)if(g.ce(a.P[c],b))return!1;return g.In(b,"ytp-player-content")||g.In(b,"html5-endscreen")||b==g.qL(a.api)?!1:!0};
GP=function(a){return 2==a.api.getPresentingPlayerType()&&(g.pL(a.api).C||!1)&&a.api.N().o&&FP&&11<=XB};
HP=function(a,b){return!EP(a,Iq(b))&&g.aM(b)};
IP=function(a){a.u.Qb(2,!0);if(!a.api.N().H&&!a.Rf()){var b=g.sL(a.api);g.W(b,2)&&nL(a.api)||a.jt(b);if(!a.api.N().ca||b.isCued()||g.W(b,1024)){var c=a.api.app.Aa;hr("embedsShouldRequestStorageAccessResult",{result:!!c,returnsUndefined:void 0===c});var d=g.W(b,2048);c&&(b.isCued()||d)?(hr("embedsRequestStorageAccessState",{isCued:b.isCued(),isAutoplayBlocked:d}),rka(a)):(!c||b.isCued()&&d||hr("embedsRequestStorageAccessFailedState",{state:b.o}),a.Go())}else a.Oa.isActive()?(a.Hn(),a.Oa.stop()):a.Oa.start()}};
rka=function(a){YL(function(){hr("embedsRequestStorageAccessResult",{resolved:!0});Vw(!0);nq();window.location.reload()},function(){hr("embedsRequestStorageAccessResult",{resolved:!1});
a.Go()})};
JP=function(a,b){if(g.aM(b)&&a.api.isMutedByMutedAutoplay()){a.api.unMute();2==a.api.getPresentingPlayerType()&&a.api.playVideo();var c=g.sL(a.api);!g.W(c,4)||g.W(c,8)||g.W(c,2)||a.Go();return!0}return!1};
KP=function(a,b,c){a.api.isFullscreen()?c<1-b&&a.api.toggleFullscreen():c>1+b&&a.api.toggleFullscreen()};
qka=function(){var a=dl()&&67<=al();return!cl("tizen")&&!sx&&!a&&!0};
g.LP=function(a){g.Q.call(this);this.player=a;this.loaded=!1};
g.MP=function(a,b){return Cv(a.info.mimeType)?b?Tu(a.info)==b:!0:!1};
g.NP=function(a,b){if(null!=a.ma&&g.Ux(b.N())&&!a.ma.u&&null!=a.ma.o.rawcc)return!0;if(!a.Ne())return!1;var c=!!a.ma&&a.ma.u&&Object.values(a.ma.o).some(function(e){return g.MP(e,"386")}),d=!!a.ma&&!a.ma.u&&iga(a.ma);
return c||d};
OP=function(a,b){g.B.call(this);this.F=b;this.u=new Map;this.w={};this.A={};this.C=null;this.o=a;this.B=g.R(a.N().experiments,"web_player_defer_modules")};
g.PP=function(a){return a.u.get("captions")};
tka=function(a,b){switch(b){case "ad":return QP(a);case "annotations_module":var c=a.o.N(),d=a.o.getVideoData();return d.ny||"3"==c.controlsType?!1:c.F.isEmpty()&&"annotation-editor"!=c.playerStyle&&"live-dashboard"!=c.playerStyle?!!d.Xd||!!g.NB(d)||!!g.OB(d):!0;case "attribution":return c=a.o.N(),g.R(c.experiments,"web_player_show_music_in_this_video")&&"desktop-polymer"==c.playerStyle;case "creatorendscreen":return c=a.o.N(),"3"==c.controlsType?c=!1:"creator-endscreen-editor"==c.playerStyle?c=!0:
(c=a.o.getVideoData(),c=!!c&&(!!g.LB(c)||!!g.MB(c))),c;case "embed":return g.ux(a.o.N());case "endscreen":return g.RP(a);case "fresca":return a.o.getVideoData().on;case "heartbeat":return a.o.getVideoData().pm;case "kids":return Kx(a.o.N());case "remote":return a.o.N().Rb;case "miniplayer":return a.o.N().showMiniplayerUiWhenMinimized;case "music":return g.Dx(a.o.N());case "captions":return"lb3"==a.o.N().playerStyle?c=!1:(c=a.o.getVideoData(),c=!!c.ik||!!c.captionTracks.length||g.NP(c,a.o)),c;case "unplugged":return g.Jx(a.o.N());
case "ux":return a.o.N().sa;case "visualizer":return g.SP(a);case "webgl":return ska(a);case "ypc":return a.Vl();case "ypc_clickwrap":return c=a.o.getVideoData(),c.Vj&&!c.Or;case "yto":return!!a.o.getVideoData().Qc.includes("yto");default:return g.N(Error("Module descriptor "+b+" does not match")),!1}};
TP=function(a){a.B&&(a.md("endscreen"),a.Jq(),a.md("creatorendscreen",void 0,!0))};
g.RP=function(a){var b=a.o.N();if(g.$x(b)||b.Zb||!b.Ha&&!b.Ia)return!1;var c=a.o.getPresentingPlayerType();if(2==c)return!1;if(3==c)return g.R(b.experiments,"desktop_enable_autoplay");a=a.o.getVideoData();if(!a)return!1;c=!a.isLiveDefaultBroadcast||g.R(b.experiments,"allow_poltergust_autoplay");return!(a.ua&&(!g.R(b.experiments,"allow_live_autoplay")||!c))};
g.xL=function(a){return a.u.get("webgl")};
ska=function(a){var b=a.o.getVideoData(),c=a.o.N().experiments,d=g.jl(),e=g.R(c,"enable_spherical_kabuki");a=g.Yx(a.o.N());if(b.Yf())return d||e||a||g.R(c,"html5_enable_spherical");if(b.fg())return a||d||e||g.R(c,"html5_enable_spherical");if(b.gg())return a||d||g.R(c,"html5_enable_spherical3d");if(b.ej())return a||g.R(c,"html5_enable_anaglyph3d")||!1;d=b.Ba&&b.Ba.video&&tv(b.Ba.video);return a&&!g.CB(b)&&!b.isVisualizerEligible&&!d&&(g.R(c,"enable_webgl_noop")||g.R(c,"html5_enable_bicubicsharp")||
g.R(c,"html5_enable_smartsharp"))};
UP=function(a){g.R(a.o.N().experiments,"web_player_ux_module_wait")&&a.u.get("ux")&&g.HL(a.o,"ux")};
uka=function(a){UP(a);a.md("ux",void 0,!0)};
QP=function(a){if(a=a.o.getVideoData(1).getPlayerResponse())if(a=a.adPlacements)for(var b=0;b<a.length;b++)if(a[b].adPlacementRenderer)return!0;return!1};
g.SP=function(a){var b=a.o.N();return a.o.getVideoData().isVisualizerEligible&&Zx(b)&&g.R(b.experiments,"web_player_music_visualizer")&&"desktop-polymer"==b.playerStyle&&g.Yx(b)&&!(g.Cw&&!g.qd(42))};
VP=function(a,b,c){for(var d=g.q(a.u),e=d.next();!e.done;e=d.next()){var f=g.q(e.value);e=f.next().value;(f=f.next().value)&&(c||f.Bf(b))&&(g.me(f),a.u["delete"](e))}};
WP=function(a){return a.u.get("ad")};
XP=function(a){return Kx(a.o.N())?a.u.get("kids"):null};
g.tL=function(a){return a.o.N().Rb?a.u.get("remote"):null};
YP=function(a){return g.Jx(a.o.N())?a.u.get("unplugged"):null};
UC=function(a){return a.o.N().sa?a.u.get("ux"):null};
g.yL=function(a){return a.u.get("annotations_module")};
ZP=function(a){return a.u.get("creatorendscreen")};
CL=function(a){return a.u.get("fresca")};
aQ=function(a,b,c){if(a.F){for(var d=a.F+b+".js",e=document.getElementsByTagName("SCRIPT"),f=!1,k,l=0;l<e.length;l++){var m=e[l];if(m.src==d||m.getAttribute("data-original-src")==d)k=m}k||(k=g.Vd("SCRIPT"),k.setAttribute("data-original-src",d),f=!0);var n=function(){a.la()||c.call(a)},p=function(){a.la()||g.HL(a.o,b)};
k.onload=g.Ra(function(t){Se(n);t&&t()},k.onload);
k.onerror=g.Ra(function(t){if(.01>Math.random()){var u=Error("Unable to load player module");u.params=b+".js from "+d+" on "+(document.location&&document.location.origin)+".";g.N(u)}Se(p);t&&t()},k.onerror);
k.onreadystatechange=g.Ra(function(t){switch(k.readyState){case "loaded":case "complete":Se(n,this)}t&&t()},k.onreadystatechange);
f&&((e=a.o.N().ea)&&k.setAttribute("nonce",e),ad(k,Rg(d)),e=document.getElementsByTagName("HEAD")[0]||document.body,e.insertBefore(k,e.firstChild),g.le(a,function(){k.parentNode&&k.parentNode.removeChild(k);g.$P[b]=null;"annotations_module"==b&&(g.$P.creatorendscreen=null)}))}};
bQ=function(a,b){g.GC.call(this,{D:"div",I:"ytp-ad-persistent-progress-bar-container",K:[{D:"div",I:"ytp-ad-persistent-progress-bar"}]});this.A=a;this.w=b;g.H(this,this.w);this.F=this.o["ytp-ad-persistent-progress-bar"];this.u=-1;this.L(a,"presentingplayerstatechange",this.C);this.hide();this.C()};
cQ=function(a,b){b=void 0===b?2:b;g.Q.call(this);this.o=a;this.u=new g.P(this);g.H(this,this.u);this.B=vka;this.A=null;this.u.L(this.o,"presentingplayerstatechange",this.sJ);this.A=this.u.L(this.o,"progresssync",this.Yz);this.w=b;1===this.w&&this.Yz()};
dQ=function(a){g.V.call(this,{D:"button",X:["ytp-button","ytp-back-button"],K:[{D:"div",I:"ytp-arrow-back-icon",K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-arrow-back"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},K:[{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",Ka:!0,M:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.u=a;g.FC(this,a.N().showBackButton);this.ia("click",this.w)};
g.eQ=function(a){g.V.call(this,{D:"div",K:[{D:"div",I:"ytp-bezel-text-wrapper",K:[{D:"div",I:"ytp-bezel-text",W:"{{title}}"}]},{D:"div",I:"ytp-bezel",M:{role:"status","aria-label":"{{label}}"},K:[{D:"div",I:"ytp-bezel-icon",W:"{{icon}}"}]}]});this.A=new g.J(this.show,10,this);g.H(this,this.A);this.u=new g.J(this.hide,500,this);g.H(this,this.u);this.w=a;this.hide()};
g.gQ=function(a,b){if(b)g.W(g.sL(a.w),64)||fQ(a,yM(),"Oynat");else{var c=a.w.getVideoData();c.ua&&!c.allowLiveDvr?fQ(a,CM(),"Canl\u0131 oynatmay\u0131 durdur"):fQ(a,wM(),"Duraklat")}};
hQ=function(a,b,c){if(0>=b){c=GM();b="sessiz";var d=0}else c=c?FM():EM(),d=Math.floor(b),b=d+"ses d\u00fczeyi";fQ(a,c,b,d+"%")};
iQ=function(a,b){var c=b?g.Y?{D:"div",X:["ytp-icon","ytp-icon-fast-rewind"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 17,24 V 12 l -8.5,6 8.5,6 z m .5,-6 8.5,6 V 12 l -8.5,6 z"}}]}:g.Y?{D:"div",X:["ytp-icon","ytp-icon-fast-forward"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 10,24 18.5,18 10,12 V 24 z M 19,12 V 24 L 27.5,18 19,12 z"}}]},d=a.w.getPlaybackRate(),
e=g.JM("H\u0131z: $RATE",{RATE:String(d)});fQ(a,c,e,d+"x")};
fQ=function(a,b,c,d){d=void 0===d?"":d;a.ha("label",void 0===c?"":c);a.ha("icon",b);g.Bn(a.u);a.A.start();a.ha("title",d);g.L(a.element,"ytp-bezel-text-hide",!d)};
kQ=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-button","ytp-cards-button"],M:{"aria-label":"Kartlar\u0131 g\u00f6ster","aria-owns":"iv-drawer","aria-haspopup":"true","data-tooltip-opaque":String(g.ux(a.N()))},K:[{D:"span",I:"ytp-cards-button-icon-default",K:[{D:"div",I:"ytp-cards-button-icon",K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-info-card"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M17,16 L19,16 L19,24 L17,24 L17,16 Z M17,12 L19,12 L19,14 L17,14 L17,12 Z"}}]}]},
{D:"div",I:"ytp-cards-button-title",W:"Bilgi"}]},{D:"span",I:"ytp-cards-button-icon-shopping",K:[{D:"div",I:"ytp-cards-button-icon",K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-shopping-card"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",I:"ytp-svg-shadow",M:{d:"M 27.99,18 A 9.99,9.99 0 1 1 8.00,18 9.99,9.99 0 1 1 27.99,18 z"}},{D:"path",I:"ytp-svg-fill",M:{d:"M 18,8 C 12.47,8 8,12.47 8,18 8,23.52 12.47,28 18,28 23.52,28 28,23.52 28,18 28,12.47 23.52,8 18,8 z m -4.68,4 4.53,0 c .35,0 .70,.14 .93,.37 l 5.84,5.84 c .23,.23 .37,.58 .37,.93 0,.35 -0.13,.67 -0.37,.90 L 20.06,24.62 C 19.82,24.86 19.51,25 19.15,25 c -0.35,0 -0.70,-0.14 -0.93,-0.37 L 12.37,18.78 C 12.13,18.54 12,18.20 12,17.84 L 12,13.31 C 12,12.59 12.59,12 13.31,12 z m .96,1.31 c -0.53,0 -0.96,.42 -0.96,.96 0,.53 .42,.96 .96,.96 .53,0 .96,-0.42 .96,-0.96 0,-0.53 -0.42,-0.96 -0.96,-0.96 z",
"fill-opacity":"1"}},{D:"path",I:"ytp-svg-shadow-fill",M:{d:"M 24.61,18.22 18.76,12.37 C 18.53,12.14 18.20,12 17.85,12 H 13.30 C 12.58,12 12,12.58 12,13.30 V 17.85 c 0,.35 .14,.68 .38,.92 l 5.84,5.85 c .23,.23 .55,.37 .91,.37 .35,0 .68,-0.14 .91,-0.38 L 24.61,20.06 C 24.85,19.83 25,19.50 25,19.15 25,18.79 24.85,18.46 24.61,18.22 z M 14.27,15.25 c -0.53,0 -0.97,-0.43 -0.97,-0.97 0,-0.53 .43,-0.97 .97,-0.97 .53,0 .97,.43 .97,.97 0,.53 -0.43,.97 -0.97,.97 z",fill:"#000","fill-opacity":"0.15"}}]}]},{D:"div",
I:"ytp-cards-button-title",W:"Al\u0131\u015fveri\u015f"}]}]});this.w=a;this.B=b;this.u=null;this.A=new g.dM(this,250,!0,100);g.H(this,this.A);g.L(c,"ytp-show-cards-title",g.ux(a.N()));this.hide();this.ia("click",this.C);this.ia("mouseover",this.F);jQ(this,!0)};
jQ=function(a,b){b?a.u=g.dN(a.B.Ya(),a.element):(a.u(),a.u=null)};
lQ=function(a,b,c){g.V.call(this,{D:"div",I:"ytp-cards-teaser",K:[{D:"div",I:"ytp-cards-teaser-box"},{D:"div",I:"ytp-cards-teaser-text",K:[{D:"span",I:"ytp-cards-teaser-label",W:"{{text}}"}]}]});var d=this;this.w=a;this.S=b;this.F=new g.dM(this,250,!1,250);g.H(this,this.F);this.C=c;this.u=null;this.J=new g.J(this.ML,300,this);g.H(this,this.J);this.H=new g.J(this.JL,2E3,this);g.H(this,this.H);this.G=[];this.A=null;this.O=new g.J(function(){d.element.style.margin=0},250);
g.H(this,this.O);this.B=null;this.L(c.element,"mouseover",this.IA);this.L(c.element,"mouseout",this.HA);this.L(a,"cardsteasershow",this.nN);this.L(a,"cardsteaserhide",this.zl);this.L(a,"cardstatechange",this.DC);this.L(a,"presentingplayerstatechange",this.DC);this.L(a,"appresize",this.kt);this.L(a,"onShowControls",this.kt);this.L(a,"onHideControls",this.cE);this.ia("click",this.QO);this.ia("mouseenter",this.FI)};
wka=function(a,b){a.ha("text",b.teaserText);a.element.setAttribute("dir",g.gn(b.teaserText));a.F.show();a.A=new g.J(function(){g.K(g.qL(this.w),"ytp-cards-teaser-shown");this.kt()},0,a);
a.A.start();jQ(a.C,!1);a.u=new g.J(a.zl,580+b.durationMs,a);a.u.start();a.G.push(a.ia("mouseover",a.IA,a));a.G.push(a.ia("mouseout",a.HA,a))};
mQ=function(a,b){g.V.call(this,{D:"button",X:["ytp-button","ytp-title-notifications"],M:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},K:[{D:"div",I:"ytp-title-notifications-on",M:{title:"Her yeni videoyla ilgili bildirim almay\u0131 durdurun","aria-label":"Abone oldu\u011funuz kanaldan bildirim al\u0131n"},K:[g.vM()]},{D:"div",I:"ytp-title-notifications-off",M:{title:"Her yeni videoyla ilgili bildirim al\u0131n","aria-label":"Abone oldu\u011funuz kanaldan bildirim al\u0131n"},K:[g.Y?{D:"div",
X:["ytp-icon","ytp-icon-notifications-inactive"]}:{D:"svg",M:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},K:[{D:"path",M:{d:"M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2v-5zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2z"}}]}]}]});this.w=a;g.ML(a,this.element,this,36927);this.A=b;this.u=!1;this.ia("click",this.B,this);this.ha("pressed",!1);this.ha("label","Her yeni videoyla ilgili bildirim al\u0131n")};
nQ=function(a,b){a.u=b;a.element.classList.toggle("ytp-notifications-enabled",a.u);g.wp("/subscription_ajax?action_update_subscription_preferences=1",{method:"POST",zb:{channel_id:a.A,receive_all_updates:!a.u}})};
oQ=function(a,b,c){return b?a.C+"subscription_ajax":c?"/subscription_service":""};
g.rQ=function(a,b,c,d,e,f,k,l,m,n,p,t,u){u=void 0===u?null:u;f&&(a=a.charAt(0)+a.substring(1).toLowerCase(),c=c.charAt(0)+c.substring(1).toLowerCase());if("0"===b||"-1"===b)b=null;if("0"===d||"-1"===d)d=null;var z=t.N();if(p){c={href:p,"aria-label":"Kanala abone ol"};if(g.Ax(z)||g.Cx(z))c.target=z.A;g.V.call(this,{D:"div",X:["ytp-button","ytp-sb"],K:[{D:"a",I:"ytp-sb-subscribe",M:c,K:[{D:"div",I:"ytp-sb-text",K:[{D:"div",I:"ytp-sb-icon"},a]},b?{D:"div",I:"ytp-sb-count",W:b}:""]}]});f&&g.K(this.element,
"ytp-sb-classic")}else{p=z.V&&g.Ax(z)&&!g.R(z.experiments,"subscribe_tooltip_killswitch");g.V.call(this,{D:"div",X:["ytp-button","ytp-sb"],K:[{D:"div",I:"ytp-sb-subscribe",M:p?{title:g.JM("$USER_NAME olarak abone olun",{USER_NAME:z.V}),"aria-label":"Kanala abone ol","data-tooltip-image":ay(z),"data-tooltip-opaque":String(g.ux(z)),tabindex:"0",role:"button"}:{"aria-label":"Kanala abone ol"},K:[{D:"div",I:"ytp-sb-text",K:[{D:"div",I:"ytp-sb-icon"},a]},b?{D:"div",I:"ytp-sb-count",W:b}:""]},{D:"div",
I:"ytp-sb-unsubscribe",M:p?{title:g.JM("$USER_NAME hesab\u0131yla abone oldunuz",{USER_NAME:z.V}),"aria-label":"Kanal aboneli\u011finden \u00e7\u0131k","data-tooltip-image":ay(z),"data-tooltip-opaque":String(g.ux(z)),tabindex:"0",role:"button"}:{"aria-label":"Kanal aboneli\u011finden \u00e7\u0131k"},K:[{D:"div",I:"ytp-sb-text",K:[{D:"div",I:"ytp-sb-icon"},c]},d?{D:"div",I:"ytp-sb-count",W:d}:""]}]});var C=this;this.u=k;this.A=u;var D=this.o["ytp-sb-subscribe"],E=this.o["ytp-sb-unsubscribe"];f&&g.K(this.element,
"ytp-sb-classic");if(e){l&&g.K(this.element,"ytp-sb-subscribed");var G=function(){var ka=C.u;if(m||n){var X=t.N();var Cb={c:ka};if(g.R(X.experiments,"embeds_botguard_with_subscribe_killswitch"))Cb="";else{var Hc="",tb=null;if(g.R(X.experiments,"web_player_inline_botguard"))xs.o&&(tb=zs);else{var Ya=g.w("yt.abuse.player.botguardInitialized");Ya&&Ya()&&(tb=g.w("yt.abuse.player.invokeBotguard"))}tb&&(Hc=tb(Cb));Cb=Hc}g.R(X.experiments,"web_player_innertube_subscription_update")?(X=t.getVideoData(),jL(pQ(t.app),
X.subscribeCommand)):g.wp(oQ(X,!!m,!!n),m?{method:"POST",Wd:{action_create_subscription_to_channel:1,c:ka},zb:{feature:m,silo_name:null,r2b:Cb},withCredentials:!0}:n?{method:"POST",Wd:{action_subscribe:1},zb:{channel_ids:ka,itct:n}}:{});t.ka("SUBSCRIBE",ka)}E.focus();E.removeAttribute("aria-hidden");D.setAttribute("aria-hidden",!0)},F=function(){var ka=C.u;
if(m||n){var X=t.N();g.R(X.experiments,"web_player_innertube_subscription_update")?(X=t.getVideoData(),jL(pQ(t.app),X.unsubscribeCommand)):g.wp(oQ(X,!!m,!!n),m?{method:"POST",Wd:{action_remove_subscriptions:1},zb:{c:ka,silo_name:null,feature:m},withCredentials:!0}:n?{method:"POST",Wd:{action_unsubscribe:1},zb:{channel_ids:ka,itct:n}}:{});t.ka("UNSUBSCRIBE",ka)}D.focus();D.removeAttribute("aria-hidden");E.setAttribute("aria-hidden",!0)};
this.L(D,"click",G);this.L(E,"click",F);this.L(D,"keypress",function(ka){13==ka.keyCode&&G(ka)});
this.L(E,"keypress",function(ka){13==ka.keyCode&&F(ka)});
this.L(t,"SUBSCRIBE",this.B);this.L(t,"UNSUBSCRIBE",this.C);this.A&&p&&(this.w=this.A.Ya(),qQ(this.w),g.le(this,g.dN(this.w,D)),g.le(this,g.dN(this.w,E)))}else g.K(D,"ytp-sb-disabled"),g.K(E,"ytp-sb-disabled")}};
g.tQ=function(a,b,c){b=sQ(null,b,c);if(b=window.open(b,"loginPopup","width=800,height=600,resizable=yes,scrollbars=yes",!0))c=g.Oo("LOGGED_IN",function(d){g.Po(g.M("LOGGED_IN_PUBSUB_KEY",void 0));Co("LOGGED_IN",!0);a(d)}),Co("LOGGED_IN_PUBSUB_KEY",c),b.moveTo((screen.width-800)/2,(screen.height-600)/2)};
sQ=function(a,b,c){var d="/signin?context=popup";c&&(d=document.location.protocol+"//"+c+d);c=document.location.protocol+"//"+document.domain+"/post_login";a&&(c=dh(c,"mode",a));a=dh(d,"next",c);b&&(a=dh(a,"feature",b));return a};
uQ=function(a,b){var c=a.N();g.V.call(this,{D:"div",I:"ytp-title-channel",K:[{D:"div",I:"ytp-title-beacon"},{D:"a",I:"ytp-title-channel-logo",M:{href:"{{channelLink}}",target:c.A,"aria-label":"{{channelLogoLabel}}"}},{D:"div",I:"ytp-title-expanded-overlay",K:[{D:"div",I:"ytp-title-expanded-heading",K:[{D:"h2",I:"ytp-title-expanded-title",K:[{D:"a",W:"{{expandedTitle}}",M:{href:"{{channelTitleLink}}",target:c.A,tabIndex:"{{channelTitleFocusable}}"}}]},{D:"h3",I:"ytp-title-expanded-subtitle",W:"{{expandedSubtitle}}"}]}]}]});
this.u=a;this.V=b;this.w=this.o["ytp-title-channel"];this.B=this.o["ytp-title-channel-logo"];this.S=this.o["ytp-title-expanded-overlay"];this.F=this.C=this.A=null;this.U=g.ux(c);g.ML(a,this.B,this,36925);this.U&&xka(this);this.L(a,"videodatachange",this.J);this.L(a,"videoplayerreset",this.J);this.J()};
xka=function(a){var b=a.u.N(),c=a.u.getVideoData();if(!b.U){var d=b.Lc?null:sQ(),e=new g.rQ("Abone Ol",null,"Abone olundu",null,!0,!1,c.wg,c.subscribed,"channel_avatar",null,d,a.u,a.V);a.A=e;g.H(a,e);e.ba(a.S);g.ML(a.u,e.element,a,36926);e.hide();a.L(e.element,"click",function(){g.PL(a.u,e.element)});
var f=new mQ(a.u,c.wg);a.C=f;g.H(a,f);f.ba(a.S);f.hide();a.L(a.u,"SUBSCRIBE",function(){c.Kj&&f.show()});
a.L(a.u,"UNSUBSCRIBE",function(){c.Kj&&(f.hide(),nQ(f,!1))})}a.ha("channelTitleFocusable","-1");
b.o?a.L(a.B,"click",function(k){vQ(a)&&(k.preventDefault(),wQ(a)?a.G():a.H());g.PL(a.u,a.B)}):(a.L(a.w,"mouseenter",a.H),a.L(a.w,"mouseleave",a.G),a.L(a.w,"focusin",a.H),a.L(a.w,"focusout",function(k){a.w.contains(k.relatedTarget)||a.G()}),a.L(a.B,"click",function(){g.PL(a.u,a.B)}));
a.F=new g.J(function(){wQ(a)&&(a.A&&(a.A.hide(),g.QL(a.u,a.A.element,!1)),a.C&&(a.C.hide(),g.QL(a.u,a.C.element,!1)),a.w.classList.remove("ytp-title-expanded"),a.w.classList.add("ytp-title-show-collapsed"))},500);
g.H(a,a.F);a.L(a.w,xQ,function(){yQ(a)});
a.L(a.u,"onHideControls",a.O);a.L(a.u,"appresize",a.O);a.L(a.u,"fullscreentoggled",a.O)};
yQ=function(a){a.w.classList.remove("ytp-title-show-collapsed");a.w.classList.remove("ytp-title-show-expanded")};
vQ=function(a){var b=a.u.getPlayerSize();return a.U&&524<=b.width};
wQ=function(a){return a.w.classList.contains("ytp-title-expanded")};
zQ=function(a){var b=g.JC({"aria-haspopup":"true"});g.IC.call(this,b,a);this.ia("keydown",this.u)};
AQ=function(a,b){a.element.setAttribute("aria-haspopup",b)};
BQ=function(a,b,c){var d={};b&&(d.v=b);c&&(d.list=c);a={name:a,locale:void 0,feature:void 0};for(var e in d)a[e]=d[e];d=g.eh("/sharing_services",a);g.Qp(d)};
EQ=function(a,b,c,d){g.xO.call(this,a);this.u=a;this.O=c;this.U=d;this.C=new g.tO("D\u00f6ng\u00fc",7);g.H(this,this.C);g.yO(this,this.C,!0);this.C.ia("click",this.vL,this);g.ML(a,this.C.element,this.C,28661);this.B=new zQ(6);g.H(this,this.B);g.yO(this,this.B,!0);this.B.ia("click",this.cL,this);g.ML(a,this.B.element,this.B,28659);this.A=new zQ(5);g.H(this,this.A);g.yO(this,this.A,!0);this.A.ia("click",this.bL,this);g.ML(a,this.A.element,this.A,28660);this.w=new zQ(4);g.H(this,this.w);g.yO(this,this.w,
!0);this.w.ia("click",this.aL,this);g.ML(a,this.w.element,this.w,28658);this.J=new zQ(3);g.H(this,this.J);g.yO(this,this.J,!0);this.J.ia("click",this.ZK,this);this.S=new g.IC(g.JC({href:"{{href}}",target:a.N().A},void 0,!0),2,"Oynatma sorununu gider");g.H(this,this.S);g.yO(this,this.S,!0);this.S.ia("click",this.DM,this);b=new g.IC(g.JC(),1,"Merakl\u0131s\u0131 i\u00e7in istatistikler");g.H(this,b);g.yO(this,b,!0);b.ia("click",this.ZM,this);this.H=new g.GC({D:"div",X:["ytp-copytext","ytp-no-contextmenu"],
M:{draggable:"false",tabindex:"1"},W:"{{text}}"});g.H(this,this.H);this.H.ia("click",this.LK,this);this.da=new wO(a,this.H);g.H(this,this.da);this.G=null;c=document.queryCommandSupported&&document.queryCommandSupported("copy");g.Gv&&g.qd(43)&&(c=!0);g.ow&&!g.qd(41)&&(c=!1);c&&(this.G=new g.V({D:"textarea",I:"ytp-html5-clipboard",M:{readonly:""}}),g.H(this,this.G),this.G.ba(this.element));if(this.na=g.R(a.N().experiments,"web_player_icons"))KC(this.C,g.Y?{D:"div",X:["ytp-icon","ytp-icon-repeat"]}:
{D:"svg",M:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",M:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z",fill:"white"}}]}),KC(this.J,g.Y?{D:"div",X:["ytp-icon","ytp-icon-bug-report"]}:{D:"svg",M:{height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",M:{"clip-rule":"evenodd",d:"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z",
fill:"white","fill-rule":"evenodd"}}]}),KC(this.S,g.Y?{D:"div",X:["ytp-icon","ytp-icon-help-outline"]}:{D:"svg",M:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},K:[{D:"path",M:{"clip-rule":"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM13 16V18H11V16H13ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM8 10C8 7.79 9.79 6 12 6C14.21 6 16 7.79 16 10C16 11.28 15.21 11.97 14.44 12.64C13.71 13.28 13 13.90 13 15H11C11 13.17 11.94 12.45 12.77 11.82C13.42 11.32 14 10.87 14 10C14 8.9 13.1 8 12 8C10.9 8 10 8.9 10 10H8Z",
fill:"white","fill-rule":"evenodd"}}]}),KC(b,qM());this.L(a,"loopchange",this.EA);this.L(a,"videodatachange",this.JI);CQ(this);DQ(this,this.u.getVideoData())};
FQ=function(a,b){if(a.G){var c=a.G.element;c.value=b;c.select();try{var d=document.execCommand("copy")}catch(e){}}d?a.O.nb():(a.H.ub(b,"text"),g.KO(a.O,a.da),SM(a.H.element),a.G&&(a.G=null,CQ(a)));return d};
DQ=function(a,b){var c=a.u.N(),d=2==a.u.getPresentingPlayerType(),e=!d||b.isListed;e=!c.G&&!!b.videoId&&e;"play"!=c.playerStyle?c="https://support.google.com/youtube/?p=report_playback":(c={contact_type:"playbackissue",html5:1,ei:b.eventId,v:b.videoId,p:"movies_playback"},b.Ba&&(c.fmt=Tu(b.Ba)),b.clientPlaybackNonce&&(c.cpn=b.clientPlaybackNonce),b.Ee&&(c.partnerid=b.Ee),c=g.eh("//support.google.com/googleplay/",c));g.FC(a.w,e&&b.allowEmbed);g.FC(a.B,e);g.FC(a.A,e&&!b.ua);a.S.ub(c,"href");g.FC(a.C,
!b.ua&&!d)};
CQ=function(a){var b=!!a.G;g.HC(a.J,b?"Hata ay\u0131klama bilgilerini kopyala":"Hata ay\u0131klama bilgilerini al");AQ(a.J,!b);g.HC(a.w,b?"Yerle\u015ftirme kodunu kopyala":"Yerle\u015ftirme kodunu al");AQ(a.w,!b);g.HC(a.B,b?"Video URL'sini kopyala":"Video URL'sini al");AQ(a.B,!b);g.HC(a.A,b?"Ge\u00e7erli zamana ait video URL'sini kopyala":"Ge\u00e7erli zamandaki video URL'sini al");AQ(a.A,!b);a.na&&(KC(a.w,b?nM():null),KC(a.B,b?sM():null),KC(a.A,b?sM():null))};
g.HQ=function(a,b,c){g.GO.call(this,a);this.w=a;this.ea=b;this.Z=c;this.G=new g.P(this);g.H(this,this.G);this.B=null;g.ML(a,this.element,this,28656);g.K(this.element,"ytp-contextmenu");a.fa("web_player_icons")&&g.K(this.element,"ytp-exp-contextmenu-icons");GQ(this);this.hide()};
GQ=function(a){g.vr(a.G);"gvn"!=a.w.N().playerStyle&&a.G.L(g.pL(a.w),"contextmenu",a.KK)};
IQ=function(a){a.w.isFullscreen()?g.KL(a.w,a.element,9):a.ba(document.body)};
JQ=function(a,b){var c=a.N();g.V.call(this,{D:"button",X:["ytp-button","ytp-copylink-button"],M:{title:"{{title-attr}}","data-tooltip-opaque":String(g.ux(c))},K:[{D:"div",I:"ytp-copylink-icon",W:"{{icon}}"},{D:"div",I:"ytp-copylink-title",W:"Ba\u011flant\u0131y\u0131 kopyala",M:{"aria-hidden":"true"}}]});this.u=a;this.C=b;this.w=!1;this.B=b.Ya();g.L(this.element,"ytp-show-copylink-title",g.ux(c)&&!g.Dx(c));g.ML(a,this.element,this,86570);this.ia("click",this.F);this.L(a,"videodatachange",this.A);
this.L(a,"videoplayerreset",this.A);this.L(a,"appresize",this.A);this.A();g.le(this,g.dN(this.B,this.element))};
yka=function(a){a.ha("icon",gM());KQ(a.B,a.element,"Ba\u011flant\u0131 panoya kopyaland\u0131");var b=a.ia("mouseleave",function(){a.Wa(b);a.A();a.B.bf()})};
LQ=function(a){g.V.call(this,{D:"div",I:"ytp-doubletap-ui",K:[{D:"div",I:"ytp-doubletap-static-circle",K:[{D:"div",I:"ytp-doubletap-ripple"}]},{D:"div",I:"ytp-doubletap-overlay-a11y"},{D:"div",I:"ytp-doubletap-seek-info-container",K:[{D:"div",I:"ytp-doubletap-arrows-container",K:[{D:"span",I:"ytp-doubletap-base-arrow"},{D:"span",I:"ytp-doubletap-base-arrow"},{D:"span",I:"ytp-doubletap-base-arrow"}]},{D:"div",I:"ytp-doubletap-tooltip",K:[{D:"div",I:"ytp-doubletap-tooltip-label",W:"{{seekTime}}"}]}]}]});
this.w=a;this.A=new g.J(this.show,10,this);g.H(this,this.A);this.u=new g.J(this.hide,700,this);g.H(this,this.u);this.hide()};
g.MQ=function(a,b,c,d,e,f){g.P.call(this);this.o=a;this.F=c;this.B=d;this.u=e;this.C=f;this.A=new g.J(g.Ra(this.Mz,!1),1E3,this);g.H(this,this.A);this.w="";a=g.Ra(this.lu,!1);this.L(b,"mousedown",a);this.L(c.element,"mousedown",a);this.L(b,"keydown",this.Ox);this.L(c.element,"keydown",this.Ox);this.L(b,"keyup",this.Px);this.L(c.element,"keyup",this.Px)};
NQ=function(a,b,c,d){var e=g.PP(g.lL(a.o));if(e&&e.loaded){e=a.o.getSubtitlesUserSettings();for(var f,k=0;k<g.dP.length;k++){var l=g.dP[k];if(l.option==b){f=l.options;break}}var m;for(k=0;k<f.length;k++)f[k].option==e[b]&&(m=k);if(d)if(c){if(0==m)return}else if(m==f.length-1)return;d={};d[b]=f[(m+(c?f.length-1:1))%f.length].option;a.o.updateSubtitlesUserSettings(d);a.Mz(!0);a.A.start()}};
OQ=function(a,b){a.o.Pc();if(g.W(g.sL(a.o),4)){var c=a.o.getVideoData().Ba;c&&(c=c.video)&&a.o.seekBy(b/(c.fps||30))}};
PQ=function(a,b){var c={D:"div",I:"ytp-overflow-panel",M:{id:AC(),role:"dialog"},K:[{D:"div",I:"ytp-overflow-panel-content",K:[{D:"div",I:"ytp-overflow-panel-action-buttons",W:"{{buttons}}"}]},{D:"button",X:["ytp-overflow-panel-close","ytp-button"],M:{title:"Kapat"},K:[g.mM()]}]};RN.call(this,a,c,250);this.C=a;this.B=b.Ya();this.w=[];this.F=this.o["ytp-overflow-panel-content"];this.A=this.o["ytp-overflow-panel-close"];this.L(this.A,"click",this.nb);g.le(this,g.dN(this.B,this.A));this.ia("click",this.SI);
this.L(a,"videoplayerreset",this.hide);this.L(a,"fullscreentoggled",this.RI);this.hide()};
QQ=function(a,b){a.w.includes(b)||(a.w.push(b),a.ha("buttons",a.w))};
RQ=function(a,b){for(var c=g.q(a.w),d=c.next();!d.done;d=c.next())d.value.Ta(b)};
SQ=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-button","ytp-overflow-button"],M:{title:"Daha fazla","aria-haspopup":"true","aria-owns":c.element.id},K:[{D:"div",I:"ytp-overflow-icon",K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-more-vert"]}:{D:"svg",M:{height:"100%",viewBox:"-5 -5 36 36",width:"100%"},K:[{D:"path",M:{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"#fff"}}]}]}]});var d=this;
this.u=a;this.C=b;this.w=!1;this.B=b.Ya();g.ML(a,this.element,this,16499);this.L(a,"appresize",this.A);this.L(a,"fullscreentoggled",this.A);this.L(a,"presentingplayerstatechange",this.A);this.A();g.le(this,g.dN(this.B,this.element));this.ia("click",function(){g.PL(a,d.element);c.Xe(d.element,!1)})};
TQ=function(a,b,c){var d=b.wa(c),e=a.N(),f=d.Bc("default.jpg");g.V.call(this,{D:"a",X:["ytp-video-menu-item","ytp-button"],M:{role:"menuitemradio","aria-label":d.title,href:e.getVideoUrl(d.videoId,b.listId?b.listId.toString():null)},K:[{D:"div",I:"ytp-video-menu-item-index",W:String(c+1)},{D:"div",I:"ytp-video-menu-item-now-playing",W:"\u25b6"},{D:"div",I:"ytp-video-menu-item-thumbnail",M:{style:f?"background-image: url("+f+");":null}},{D:"div",I:"ytp-video-menu-item-title",W:d.title},{D:"div",I:"ytp-video-menu-item-author",
W:d.author}]});this.u=a;this.Xa=c;this.ia("click",this.w)};
UQ=function(a){RN.call(this,a,{D:"div",I:"ytp-playlist-menu",M:{role:"dialog",id:AC()},K:[{D:"div",I:"ytp-playlist-menu-header",K:[{D:"div",I:"ytp-playlist-menu-title",K:[{D:"a",I:"ytp-playlist-menu-title-name",M:{href:"{{playlisturl}}"},W:"{{title}}"},{D:"button",X:["ytp-playlist-menu-close","ytp-button"],M:{"aria-label":"Kapat"},K:[g.mM()]}]},{D:"div",I:"ytp-playlist-menu-subtitle",W:"{{subtitle}}"}]},{D:"div",I:"ytp-playlist-menu-items",M:{role:"menu"}}]},250);this.L(this.o["ytp-playlist-menu-close"],
"click",this.nb);this.L(this.o["ytp-playlist-menu-title-name"],"click",this.rN);this.A=a;this.B=this.G=this.w=null;this.Ga=this.o["ytp-playlist-menu-items"];this.F=new g.P(this);g.H(this,this.F);this.C=[];this.hide()};
VQ=function(a,b){if(a.w!=b)if(a.w&&a.w.unsubscribe("shuffle",a.ep,a),a.w=b,a.G=null,b){b.subscribe("shuffle",a.ep,a);var c=b.author,d=c?"haz\u0131rlayan: $AUTHOR \u2022 $CURRENT_POSITION/$PLAYLIST_LENGTH":"$CURRENT_POSITION/$PLAYLIST_LENGTH",e={CURRENT_POSITION:String(b.Xa+1),PLAYLIST_LENGTH:String(b.getLength())};c&&(e.AUTHOR=c);a.update({title:b.title,subtitle:g.JM(d,e),playlisturl:a.A.getVideoUrl(!0)});a.ep()}else a.Fa()&&a.hide();else a.w&&a.ep()};
WQ=function(a,b,c){g.V.call(this,{D:"button",X:["ytp-playlist-menu-button","ytp-button"],M:{title:"{{title}}","aria-owns":String(c.element.id),"aria-haspopup":"true","aria-label":"Oynatma Listesi"},K:[{D:"div",I:"ytp-playlist-menu-button-icon",K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-playlist"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"m 22.53,21.42 0,6.85 5.66,-3.42 -5.66,-3.42 0,0 z m -11.33,0 9.06,0 0,2.28 -9.06,0 0,-2.28 0,0 z m 0,-9.14 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z m 0,4.57 13.6,0 0,2.28 -13.6,0 0,-2.28 0,0 z",
fill:"#fff"}}]}]},{D:"div",I:"ytp-playlist-menu-button-text",W:"{{text}}"}]});var d=this;this.w=a;this.u=null;this.B=b.Ya();this.F=!1;g.ML(a,this.element,this,70344);this.L(a,"videodatachange",this.C);this.L(a,"onPlaylistUpdate",this.C);this.L(a,"presentingplayerstatechange",this.A);this.L(a,"appresize",this.A);this.hide();this.C();g.le(this,g.dN(this.B,this.element));this.ia("click",function(){g.PL(a,d.element);c.Xe(d.element,!1)})};
XQ=function(a,b,c){g.V.call(this,{D:"div",I:"ytp-promotooltip-wrapper",K:[{D:"div",I:"ytp-promotooltip-container",K:[{D:"div",I:"ytp-promotooltip-content",K:[{D:"div",I:"ytp-promotooltip-title",W:"{{title}}"},{D:"div",I:"ytp-promotooltip-details",W:"{{details}}"}]},{D:"div",I:"ytp-promotooltip-buttons",K:[{D:"div",I:"ytp-promotooltip-dismiss-button",W:"{{dismissButtonText}}"},{D:"div",I:"ytp-promotooltip-accept-button",W:"{{acceptButtonText}}"}]}]},{D:"div",I:"ytp-promotooltip-pointer"}]});this.u=
a;this.O=b;this.F=c;this.A=null;this.S=this.o["ytp-promotooltip-title"];this.H=this.o["ytp-promotooltip-details"];this.G=this.o["ytp-promotooltip-accept-button"];this.J=this.o["ytp-promotooltip-dismiss-button"];this.w=!1;g.FC(this,this.w);this.L(c,"onShowControls",this.C);this.L(c,"onHideControls",this.B)};
YQ=function(a,b){g.V.call(this,{D:"button",X:["ytp-replay-button","ytp-button"],M:{title:"Tekrar Oynat"},K:[g.AM()]});this.u=a;this.L(a,"presentingplayerstatechange",this.A);this.ia("click",this.w,this);var c=g.sL(a);g.FC(this,g.W(c,2));g.dN(b.Ya(),this.element)};
g.ZQ=function(a,b){var c=AC(),d=a.N();c={D:"div",I:"ytp-share-panel",M:{id:AC(),role:"dialog","aria-labelledby":c},K:[{D:"div",I:"ytp-share-panel-inner-content",K:[{D:"div",I:"ytp-share-panel-title",M:{id:c},W:"Payla\u015f"},{D:"a",X:["ytp-share-panel-link","ytp-no-contextmenu"],M:{href:"{{link}}",target:d.A,title:"Ba\u011flant\u0131y\u0131 payla\u015f","aria-label":"{{shareLinkWithUrl}}"},W:"{{linkText}}"},{D:"label",I:"ytp-share-panel-include-playlist",K:[{D:"input",I:"ytp-share-panel-include-playlist-checkbox",
M:{type:"checkbox",checked:!0}},"Oynatma listesini dahil et"]},{D:"div",I:"ytp-share-panel-loading-spinner",K:[RM()]},{D:"div",I:"ytp-share-panel-service-buttons",W:"{{buttons}}"},{D:"div",I:"ytp-share-panel-error",W:"Payla\u015f\u0131m bilgileri al\u0131n\u0131rken bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin."}]},{D:"button",X:["ytp-share-panel-close","ytp-button"],M:{title:"Kapat"},K:[g.mM()]}]};RN.call(this,a,c,250);this.w=a;this.A=b.Ya();this.B=[];this.O=this.o["ytp-share-panel-inner-content"];
this.F=this.o["ytp-share-panel-close"];this.L(this.F,"click",this.nb);g.le(this,g.dN(this.A,this.F));this.G=this.o["ytp-share-panel-include-playlist-checkbox"];this.L(this.G,"click",this.nt);this.C=this.o["ytp-share-panel-link"];g.le(this,g.dN(this.A,this.C));this.ia("click",this.cJ);this.L(a,"videoplayerreset",this.hide);this.L(a,"fullscreentoggled",this.bJ);this.L(a,"onLoopRangeChange",this.nt);this.hide()};
$Q=function(a){for(var b=g.q(a.B),c=b.next();!c.done;c=b.next())c=c.value,g.CC(c),g.me(c);a.B=[]};
g.aR=function(a,b,c,d){d=void 0===d?300:d;var e=a.N();g.V.call(this,{D:"button",X:["ytp-button","ytp-share-button"],M:{title:"Payla\u015f","aria-haspopup":"true","aria-owns":c.element.id,"data-tooltip-opaque":String(g.ux(e))},K:[{D:"div",I:"ytp-share-icon",W:"{{icon}}"},{D:"div",I:"ytp-share-title",W:"Payla\u015f"}]});this.u=a;this.B=b;this.H=c;this.F=d;this.w=!1;this.C=b.Ya();g.ML(a,this.element,this,28664);this.ia("click",this.G);this.L(a,"videodatachange",this.A);this.L(a,"videoplayerreset",this.A);
this.L(a,"appresize",this.A);this.L(a,"presentingplayerstatechange",this.A);this.A();g.L(this.element,"ytp-show-share-title",g.ux(e)&&!g.Dx(e));g.le(this,g.dN(this.C,this.element))};
cR=function(a){RN.call(this,a,{D:"button",X:["ytp-skip-intro-button","ytp-popup","ytp-button"],K:[{D:"div",I:"ytp-skip-intro-button-text",W:"Tan\u0131t\u0131m\u0131 Atla"}]},100);var b=this;this.w=a;this.F=!1;this.C=new g.J(function(){return b.hide()},5E3);
g.H(this,this.C);this.A=this.B=NaN;this.S=function(){return b.show()};
this.O=function(){return b.hide()};
this.G=this.Z.bind(this);this.L(this.w,"videodatachange",function(c,d){if("dataloaded"==c)if(b.B=d.ey,b.A=d.dy,isNaN(b.B)||isNaN(b.A))b.F&&(g.bR(b.w.app,"intro",void 0),b.w.removeEventListener(g.VD("intro"),b.S),b.w.removeEventListener("crx_intro",b.O),b.w.removeEventListener("onShowControls",b.G),b.hide(),b.F=!1);else{b.w.addEventListener(g.VD("intro"),b.S);b.w.addEventListener("crx_intro",b.O);b.w.addEventListener("onShowControls",b.G);var e=new g.SD(b.B,b.A,{priority:7,namespace:"intro"});g.GL(b.w,
[e]);b.F=!0}});
this.L(this.element,"click",function(){b.w.seekTo(b.A/1E3)});
this.hide()};
dR=function(a){g.V.call(this,{D:"div",I:"ytp-title",K:[{D:"div",I:"ytp-title-text",K:[{D:"a",X:["ytp-title-link","yt-uix-sessionlink"],M:{target:a.N().A,href:"{{url}}","data-sessionlink":"feature=player-title"},W:"{{title}}"},{D:"div",I:"ytp-title-subtext",K:[{D:"a",I:"ytp-title-channel-name",M:{href:"{{channelLink}}",target:"_blank"},W:"{{channelName}}"}]}]}]});this.u=a;this.w=null;this.B=this.o["ytp-title-link"];g.ML(a,this.element,this,23851);this.L(a,"videodatachange",this.A);this.L(a,"videoplayerreset",
this.A);this.A()};
eR=function(a){a.ha("channelLink","");a.ha("channelName","")};
g.fR=function(a,b){var c=g.pL(a).getPlayerSize();g.V.call(this,{D:"div",K:[{D:"div",I:"ytp-tooltip-text-wrapper",K:[{D:"div",I:"ytp-tooltip-image"},{D:"div",I:"ytp-tooltip-title",W:"{{title}}"},{D:"span",I:"ytp-tooltip-text",W:"{{text}}"}]},{D:"div",I:"ytp-tooltip-bg",K:[{D:"div",I:"ytp-tooltip-duration",W:"{{duration}}"}]}]});this.S=a;this.sa=b;this.O=a.N();this.na=this.O.o;this.H=this.o["ytp-tooltip-bg"];this.xa=this.o["ytp-tooltip-image"];this.ya=this.o["ytp-tooltip-text"];this.Z=(0,g.x)(this.IL,
this);this.F=(0,g.x)(this.LL,this);this.ca=(0,g.x)(this.mf,this);this.u=null;this.J=new g.dM(this,100);g.H(this,this.J);this.w=null;this.V=!1;this.A=null;this.C=NaN;this.G="";this.ea=c.width;this.U=!0;this.B=1;this.da=new g.J(this.eG,250,this);g.H(this,this.da);this.ga=new g.J(this.mf,5E3,this);g.H(this,this.ga);qx&&(c=this.o["ytp-tooltip-text"],c.setAttribute("role","text"),c.setAttribute("aria-live","polite"))};
qQ=function(a){a.element.setAttribute("aria-live","polite")};
iR=function(a,b,c,d,e,f,k){a.na||(3==a.w&&a.mf(),1!=a.w&&(Hn(a.element,"ytp-tooltip ytp-bottom"),a.w=1,a.U&&a.J.show(),a.A=a.S.ue(),a.A&&a.A.subscribe("l",a.BA,a)),a.update({text:d,title:k?k:""}),g.R(a.S.N().experiments,"web_wn_macro_markers")&&g.L(a.ya,"ytp-tooltip-text-no-title",1===a.w&&!k),g.L(a.element,"ytp-text-detail",!!e),d=-1,a.A&&(d=Rz(a.A,160*a.B),g.R(a.O.experiments,"web_l3_storyboard")&&4==a.A.levels.length&&(d=a.A.levels.length-1),d=Wz(a.A,d,c)),gR(a,d),hR(a,!!e,b,f))};
g.zN=function(a){1==a.w&&a.mf()};
g.dN=function(a,b){if(a.na)return g.Ia;b.addEventListener("mouseover",a.F);g.R(a.O.experiments,"show_tooltip_on_tab_killswitch")||b.addEventListener("focus",a.F);var c=b.getAttribute("title");c&&!b.hasAttribute("aria-label")&&b.setAttribute("aria-label",c);return(0,g.x)(function(){this.u==b&&this.mf();b.removeEventListener("mouseover",this.F);g.R(this.O.experiments,"show_tooltip_on_tab_killswitch")||b.removeEventListener("focus",this.F)},a)};
KQ=function(a,b,c){if(a.w)if(3==a.w)a.mf();else return;jR(a,b,3,c)};
jR=function(a,b,c,d){if(b&&!b.hasAttribute)a=Error("showElementTooltip_ called with non-element."),a.params=b.toString(),g.N(a);else{isNaN(a.C)||(a.C=NaN,a.H.style.background="");a.u=b;a.V=!!d;d?a.G=d:(a.G=b.getAttribute("title"),b.removeAttribute("title"));Hn(a.element,"ytp-tooltip");if(d=b.getAttribute("data-tooltip-image"))a.xa.style.backgroundImage="url("+d+")";g.L(a.element,"ytp-tooltip-image-enabled",!!d);b=b.getAttribute("data-tooltip-opaque");g.L(a.element,"ytp-tooltip-opaque",!!b);a.w=c;
a.S.addEventListener("appresize",a.ca);a.U&&(kR(a),a.J.show(0))}};
kR=function(a){var b;a.u&&(b=a.u.getAttribute("data-tooltip-text"));if(b&&!a.V){a.ha("text",b);var c=a.u.getAttribute("data-duration");a.update({title:a.G,duration:c});var d=a.u.getAttribute("data-preview"),e=160*a.B,f=90*a.B,k=160*a.B,l=90*a.B;a.H.style.width=e+"px";a.H.style.height=f+"px";a.H.style.backgroundImage=d?"url("+d+")":"";a.H.style.backgroundPosition=(e-k)/2+"px "+(f-l)/2+"px";a.H.style.backgroundSize=k+"px "+l+"px";g.Jn(a.element,["ytp-text-detail","ytp-preview"]);g.L(a.element,"ytp-has-duration",
!!c)}else a.ha("text",a.G),g.Ln(a.element,["ytp-text-detail","ytp-preview","ytp-has-duration"]);3==a.w?a.element.setAttribute("role","status"):a.element.removeAttribute("role");hR(a,!!b)};
hR=function(a,b,c,d){a.element.style.maxWidth=b?"":Math.min(a.ea,300*a.B)+"px";a.sa.Cj(a.element,a.u,c,1==a.w,d);a.element.style.top?g.K(a.element,"ytp-bottom"):a.element.style.bottom&&g.K(a.element,"ytp-top");3==a.w&&a.ga.start()};
iO=function(a){a.u&&!a.V&&a.u.hasAttribute("title")&&(a.G=a.u.getAttribute("title"),a.u.removeAttribute("title"),a.U&&kR(a))};
gR=function(a,b){g.L(a.element,"ytp-preview",0<=b);if(!(0>b||b==a.C)){a.C=b;var c=160*a.B,d=160*a.B,e=Sz(a.A,a.C,c);MN(a.H,e,c,d,!0);a.da.start()}};
zka=function(a,b,c){lR("add_to_watch_later_list",a,b,c)};
Aka=function(a,b,c){lR("delete_from_watch_later_list",a,b,c)};
lR=function(a,b,c,d){g.wp(c?c+"playlist_video_ajax?action_"+a+"=1":"/playlist_video_ajax?action_"+a+"=1",{method:"POST",Wd:{feature:b.feature||null,authuser:b.Lc||null,pageid:b.pageId||null},zb:{video_ids:b.videoIds||null,source_playlist_id:b.sourcePlaylistId||null,full_list_id:b.fullListId||null,delete_from_playlists:b.IT||null,add_to_playlists:b.rT||null,plid:g.M("PLAYBACK_ID")||null},context:b.context,onError:b.onError,onSuccess:function(e,f){b.onSuccess.call(this,e,f)},
wd:b.wd,withCredentials:!!d})};
g.oR=function(a,b){g.V.call(this,{D:"button",X:["ytp-watch-later-button","ytp-button"],M:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.ux(a.N()))},K:[{D:"div",I:"ytp-watch-later-icon",W:"{{icon}}"},{D:"div",I:"ytp-watch-later-title",W:"Daha sonra izle"}]});this.u=a;this.H=b;this.F=b.Ya();qQ(this.F);this.B=null;this.C=this.A=this.w=!1;g.ML(a,this.element,this,28665);this.ia("click",this.pJ,this);this.L(a,"videoplayerreset",this.qJ);this.L(a,"appresize",this.oc);
this.L(a,"videodatachange",this.oc);this.L(a,"presentingplayerstatechange",this.oc);this.oc();var c=this.u.N(),d=g.os("yt-player-watch-later-pending");c.u&&d?(Tw(),mR(this,d.videoId)):nR(this,2);g.L(this.element,"ytp-show-watch-later-title",g.ux(c));g.le(this,g.dN(b.Ya(),this.element))};
pR=function(a,b){g.tQ(function(){Tw({videoId:b});window.location.reload()},"wl_button",g.Nx(a.u.N()))};
mR=function(a,b){if(!a.A)if(a.A=!0,nR(a,4),g.R(a.u.N().experiments,"web_player_innertube_playlist_update")){var c=a.u.getVideoData();c=a.w?c.removeFromWatchLaterCommand:c.addToWatchLaterCommand;var d=pQ(a.u.app),e=a.w?a.dB.bind(a):a.cB.bind(a);jL(d,c).then(e,a.IN.bind(a))}else c=a.u.N(),(a.w?Aka:zka)({videoIds:b,Lc:c.Lc,pageId:c.pageId,onError:a.HN,onSuccess:a.w?a.dB:a.cB,context:a},c.C,!0)};
qR=function(a,b){nR(a,5,b);a.u.N().Eb&&a.u.ka("WATCH_LATER_ERROR",b)};
rR=function(a,b){var c=a.u.N(),d=a.H.ee()&&g.ux(c);!c.B||2!=b&&3!=b||(b=d?3:2);if(b!=a.B){switch(b){case 4:var e=RM();break;case 1:e=gM();break;case 2:e=g.Y?{D:"div",X:["ytp-icon","ytp-icon-watch-later"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M18,8 C12.47,8 8,12.47 8,18 C8,23.52 12.47,28 18,28 C23.52,28 28,23.52 28,18 C28,12.47 23.52,8 18,8 L18,8 Z M16,19.02 L16,12.00 L18,12.00 L18,17.86 L23.10,20.81 L22.10,22.54 L16,19.02 Z"}}]};
break;case 3:e={D:"div",X:["ytp-icon","ytp-icon-watch-later-large"]};break;case 5:e=g.R(c.experiments,"watch_later_icon_change_killswitch")?g.Y?{D:"div",X:["ytp-icon","ytp-icon-alert"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M21,7.91 L19.60,20.91 L16.39,20.91 L15,7.91 L21,7.91 Z M18,27.91 C16.61,27.91 15.5,26.79 15.5,25.41 C15.5,24.03 16.61,22.91 18,22.91 C19.38,22.91 20.5,24.03 20.5,25.41 C20.5,26.79 19.38,27.91 18,27.91 Z"}}]}:
g.Y?{D:"div",X:["ytp-icon","ytp-icon-warning"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.ha("icon",e);a.B=b}};
nR=function(a,b,c){var d=a.u.N();rR(a,b);c?a.update({title:c,image:null}):d.V?(b={USER_NAME:d.V},a.update({title:a.w?g.JM("$USER_NAME olarak eklendi",b):g.JM("Daha sonra $USER_NAME olarak izleyin",b),image:ay(d)})):a.update({title:"Daha sonra izle",image:null});iO(a.F)};
sR=function(a){g.CP.call(this,a);var b=this,c=g.pL(a),d=a.N(),e=a.getVideoData();this.ga=g.ux(d);this.Fb=48;this.yb=69;this.ga&&(g.K(g.qL(a),"ytp-embed"),g.K(g.qL(a),"ytp-embed-playlist"),this.Fb=60,this.yb=89);var f=d.experiments;g.R(f,"embeds_action_buttons_min_width")&&g.K(g.qL(a),"button-min-width");g.R(f,"embeds_action_buttons_max_width")&&g.K(g.qL(a),"button-max-width");this.gf=e&&e.gf;this.na=null;this.O=[];this.S=new g.eQ(a);g.H(this,this.S);g.KL(a,this.S.element,4);this.Rb=new LQ(a);g.H(this,
this.Rb);g.KL(a,this.Rb.element,4);e=new g.V({D:"div",I:"ytp-gradient-top"});g.H(this,e);g.KL(a,e.element,1);this.pc=new g.dM(e,250,!0,100);g.H(this,this.pc);this.A=new g.V({D:"div",I:"ytp-chrome-top"});g.H(this,this.A);g.KL(a,this.A.element,1);this.lc=new g.dM(this.A,250,!0,100);g.H(this,this.lc);this.za=[];this.J=new g.fR(a,this);g.H(this,this.J);g.KL(a,this.J.element,4);e=new UQ(a);g.H(this,e);g.KL(a,e.element,5);e.subscribe("show",(0,g.x)(this.Jh,this,e));this.za.push(e);this.xa=new WQ(a,this,
e);g.H(this,this.xa);d.showBackButton&&(this.hd=new dQ(a),g.H(this,this.hd),this.hd.ba(this.A.element));this.ga||this.xa.ba(this.A.element);this.ob=new uQ(a,this);this.ob.ba(this.A.element);g.H(this,this.ob);this.kc=new dR(a,this);g.H(this,this.kc);this.kc.ba(this.A.element);e=new g.BC({D:"div",I:"ytp-chrome-top-buttons"});g.H(this,e);e.ba(this.A.element);this.da=e;this.H=new g.oR(a,this);g.H(this,this.H);this.H.ba(e.element);f=new g.ZQ(a,this);g.H(this,f);g.KL(a,f.element,5);f.subscribe("show",(0,g.x)(this.Jh,
this,f));this.za.push(f);this.G=new g.aR(a,this,f);g.H(this,this.G);this.G.ba(e.element);this.C=new JQ(a,this);g.H(this,this.C);this.C.ba(e.element);d.xm&&(f=new cR(a),g.H(this,f),g.KL(a,f.element,4));this.ga&&this.xa.ba(e.element);this.ra=new kQ(a,this,this.A.element);g.H(this,this.ra);this.ra.ba(e.element);f=new lQ(a,this,this.ra);g.H(this,f);f.ba(e.element);this.w=new PQ(a,this);g.H(this,this.w);g.KL(a,this.w.element,5);this.w.subscribe("show",function(){b.Jh(b.w,TN(b.w))});
this.za.push(this.w);this.Ia=new SQ(a,this,this.w);g.H(this,this.Ia);this.Ia.ba(e.element);(this.o="1"==d.controlsType?new vP(a,this,this.u):null)&&g.H(this,this.o);"3"==d.controlsType&&(e=new YQ(a,this),g.H(this,e),g.KL(a,e.element,8));this.U=new g.HQ(a,this,this.S);g.H(this,this.U);this.U.subscribe("show",this.BC,this);this.gb=!1;e=new bQ(a,new cQ(a));g.H(this,e);g.KL(a,e.element,4);this.Ha=new g.V({D:"div",M:{tabindex:"0"}});this.Ha.ia("focus",this.CE,this);g.H(this,this.Ha);this.Ea=new g.V({D:"div",
M:{tabindex:"0"}});this.Ea.ia("focus",this.DE,this);g.H(this,this.Ea);(this.ca=d.Qa?null:new g.MQ(a,c,this.U,this.u,this.S,(0,g.x)(this.Rf,this)))&&g.H(this,this.ca);this.P.push(this.S.element);this.ya=null;this.L(a,"fullscreentoggled",this.GI);this.L(a,"offlineslatestatechange",this.XL,this);this.L(a,"cardstatechange",this.Vd,this)};
tR=function(a){var b=a.api.N(),c=g.W(g.sL(a.api),128);return b.u&&c&&!a.api.isFullscreen()};
uR=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!=yh(b,"display")&&"true"!=b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=uR(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndex<d.tabIndex&&(d=e):d=e)}b=c?b.previousElementSibling:b.nextElementSibling}return d};
g.vR=function(a){g.LP.call(this,a);this.load()};
wR=function(){this.o=[];this.u=[];this.w=[]};
yR=function(a,b,c){c=g.Vd(c?"AUDIO":"VIDEO");g.Sa(c,Bka);g.Fq(c,"loadeddata",(0,g.x)(c.u,c));Bx&&6<=XB&&g.Fq(c,"webkitbeginfullscreen",(0,g.x)(c.play,c));a.u.push(c);b?a.w.push(c):xR(a,c);return c};
xR=function(a,b){g.bb(a.u,b)&&!g.bb(a.o,b)&&(b.src||b.load(),g.fb(a.w,b)||a.o.push(b))};
Cka=function(){this.u=200;this.o=12};
Dka=function(a){var b=new Cka;b.u=g.S(a.experiments,"html5_gapless_ended_transition_buffer_ms");b.o=g.S(a.experiments,"html5_gapless_max_played_ranges");return b};
g.zR=function(a,b,c,d){d=void 0===d?!1:d;g.dC.call(this);this.o=a;this.u=b;this.A=c;this.G=d};
Eka=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(c.getPlayerState().isError())return"player-error";if(dJ(b.C)>d/1E3+1)return"in-the-past";if(f.ua&&!isFinite(d))return"live-infinite";if(a.o&&((b=b.o)&&b.isView()&&(b=b.o),b&&b.Vi().length>a.o&&g.CB(e)))return"played-ranges";if(!e.va)return null;if(!e.va.o||!f.va.o)return"non-dash";if(e.va.videoInfos[0].wc!=f.va.videoInfos[0].wc)return"container";if(g.CB(f)&&g.CB(e))return"content-protection";a=f.va.o[0].audio;e=e.va.o[0].audio;return a.sampleRate==
e.sampleRate||g.Gv?(a.o||2)!=(e.o||2)?"channel-count":null:"sample-rate"};
BR=function(a,b,c,d){g.B.call(this);var e=this;this.O=a;this.u=b;this.o=c;this.B=this.w=null;this.F=d-1E3*b.Bb();this.G=-1;this.H=!1;this.C=new mG;this.C.then(void 0,function(){});
this.J=new g.J(function(){return AR(e,"timeout")},1E4);
g.H(this,this.J);this.P=isFinite(d);this.A={status:0,error:null}};
Fka=function(a){var b,c,d,e,f,k;return Ca(function(l){if(1==l.o)return a.J.start(),ta(l,a.C,2);b=a.u.o;if(b.rf())return AR(a,"ended_in_finishTransition"),l["return"](Promise.reject());if(a.o.G!=a.B)return AR(a,"next_reloaded"),l["return"](Promise.reject());c=CR(a);d=c.kA;e=c.jA;vK(a.u,!1,!0);f=DR(b,d,e,!a.o.getVideoData().isAd());wK(a.o,f);a.P&&(a.o.seekTo(a.o.getCurrentTime()+.001,{Nk:!0,Du:3}),f.play());k=b.Va();k.cpn=a.u.getVideoData().clientPlaybackNonce;k.st=""+d;k.et=""+e;a.o.Ra("gapless",Qv(k));
a.u.Ra("gaplessTo",a.o.getVideoData().clientPlaybackNonce);g.Ye(function(){!a.o.getVideoData().se&&g.xD(a.o.getPlayerState())&&YK(a.o)});
ER(a,6);a.dispose();return l["return"](Promise.resolve())})};
HR=function(a){if(a.o.getVideoData().va){NK(a.o,a.B);ER(a,3);FR(a);var b=GR(a),c=b.YB;b=b.IO;c.subscribe("updateend",a.vj,a);b.subscribe("updateend",a.vj,a);a.vj(c);a.vj(b)}};
FR=function(a){a.u.unsubscribe("internalvideodatachange",a.zh,a);a.o.unsubscribe("internalvideodatachange",a.zh,a);a.u.unsubscribe("mediasourceattached",a.zh,a);a.o.unsubscribe("statechange",a.Cz,a)};
DR=function(a,b,c,d){return new g.zR(a.isView()?a.o:a,b,c,d)};
ER=function(a,b){b<=a.A.status||(a.A={status:b,error:null},5==b&&a.C.resolve(void 0))};
AR=function(a,b){if(!a.la()&&!a.isFinished()){var c=4<=a.A.status;a.A={status:Infinity,error:b};if(a.u&&a.o){var d=a.o.getVideoData().clientPlaybackNonce;a.u.Ra("gaplessError","cpn."+d+";msg."+b);d=a.u;d.T.sf=!1;c&&JK(d);d.w&&(c=d.w,c.o.Fb=!1,c.w&&oH(c))}a.C.reject(void 0);a.dispose()}};
CR=function(a){var b=a.u.o;b=b.isView()?b.u:0;var c=a.u.getVideoData().ua?Infinity:aL(a.u,!0);c=Math.min(a.F/1E3,c)+b;var d=a.P?100:0;a=c-dJ(a.o.C)+d;return{nE:b,kA:a,mE:c,jA:Infinity}};
GR=function(a){return{YB:a.w.o.o,IO:a.w.u.o}};
IR=function(a){g.B.call(this);var b=this;this.w=a;this.C=this.u=this.o=null;this.G=!1;this.B=null;this.H=Dka(this.w.N());this.A=null;this.F=function(){return g.Ye(function(){return Gka(b)})}};
Hka=function(a,b,c,d){d=void 0===d?0:d;a.o&&JR(a);a.B=new mG;a.o=b;var e=c,f=a.w.rb(),k=f.getVideoData().ua?Infinity:1E3*aL(f,!0);e>k&&(e=k-a.H.u,a.G=!0);f.getCurrentTime()>=e/1E3?a.F():(a.u=f,a.w.addEventListener(g.VD("vqueued"),a.F),e=isFinite(e)||e/1E3>a.u.getDuration()?e:0x8000000000000,a.C=new g.SD(e,0x8000000000000,{namespace:"vqueued"}),a.u.addCueRange(a.C));f=d/=1E3;e=b.getVideoData().ma;if(d&&e&&a.u){k=d;var l=0;b.getVideoData().ua&&(f=Math.min(c/1E3,aL(a.u,!0)),l=Math.max(0,f-a.u.getCurrentTime()),
k=Math.min(d,aL(b)+l));f=tga(e,k)||d;f!=d&&a.o.Ra("qvaln","st."+d+";at."+f+";rm."+(l+";ct."+k))}b=f;a.o.getVideoData().oi=!0;a.o.getVideoData().sf=!0;hK(a.o,!0);d="";a.u&&(d=g.jD(a.u.B.A),e=a.u.getVideoData().clientPlaybackNonce,d="crt."+(1E3*d).toFixed()+";cpn."+e);a.o.Ra("queued",d);0!=b&&a.o.seekTo(b+.01,{Nk:!0,Du:3});a.A=new BR(a.H,a.w.rb(),a.o,c);c=a.A;Infinity!=c.A.status&&(ER(c,1),c.u.subscribe("internalvideodatachange",c.zh,c),c.o.subscribe("internalvideodatachange",c.zh,c),c.u.subscribe("mediasourceattached",
c.zh,c),c.o.subscribe("statechange",c.Cz,c),c.zh());return a.B};
Gka=function(a){var b;return Ca(function(c){switch(c.o){case 1:if(a.la()||!a.B||!a.o)return c["return"]();a.G&&PJ(a.w.rb(),!0,!1);if(!a.A){c.o=2;break}c.B=3;return ta(c,Fka(a.A),5);case 5:ua(c,2);break;case 3:va(c);case 2:KR(a.w.app,a.o);var d=a.o.getPlayerType();g.LR(a.w.app,d);a.w.playVideo();b=a.B;JR(a);return c["return"](b.resolve(void 0))}})};
JR=function(a){a.u&&(a.w.removeEventListener(g.VD("vqueued"),a.F),a.u.removeCueRange(a.C),a.C.dispose(),a.u=null,a.C=null);if(a.A){if(!a.A.isFinished()){var b=a.A;Infinity!=b.A.status&&AR(b,"Canceled")}a.A=null}a.B=null;a.o=null;a.G=!1};
NR=function(a,b,c){g.B.call(this);var d=this;this.A=a;this.J=b;c.getPlayerType();this.u=c;Uja(this.u,this);this.F=new Map;this.o=[];this.G=NaN;this.B=this.w=null;this.C=new g.J(function(){MR(d,d.G)});
g.H(this,this.C);this.H=new g.P(this);g.H(this,this.H);this.H.L(this.A,g.VD("childplayback"),this.P)};
Jka=function(a,b,c,d,e){var f=a.u;e=void 0==e?d+c:e;if(d>e)return"";var k=1E3*f.Ab();if(d<k)return"";k=1E3*f.getDuration();if(e>k)return"";var l;k=g.q(a.o);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.Jb&&d<m.Lb||e<=m.Lb&&e>m.Jb||e==m.Jb)return"";d==m.Lb&&(l=m)}k="childplayback_"+Ika++;m={Ib:OR(c,!0),Fe:Infinity,target:null};var n=b.raw_player_response;if(!n&&!g.R(a.J.experiments,"web_player_parse_ad_response_killswitch")){var p=b.player_response;p&&(n=JSON.parse(p))}b={Cb:k,playerVars:b,
playerType:2,durationMs:c,Jb:d,Lb:e,ae:m,playerResponse:n};a.o=a.o.concat(b).sort(function(t,u){return t.Jb-u.Jb});
l?PR(l,{Ib:OR(l.durationMs,!0),Fe:Infinity,target:b}):(d={Ib:OR(d,!1),Fe:d,target:b},a.F.set(d.Ib,d),f.addCueRange(d.Ib));return k};
OR=function(a,b){return new g.SD(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"childplayback",priority:7})};
PR=function(a,b){var c=a.ae;a.ae=b;c.Ib.dispose()};
QR=function(a,b){for(var c=0,d=g.q(a.o),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Jb/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Eh:e,ki:b-f};c=k-e.Lb/1E3}return{Eh:null,ki:b-c}};
MR=function(a,b){var c=a.B||a.A.rb().getPlayerState();RR(a,!0);var d=QR(a,b).ki;a.u.seekTo(d);d=a.A.rb();var e=d.getPlayerState();g.xD(c)&&!g.xD(e)?d.playVideo():g.W(c,4)&&!g.W(e,4)&&d.pauseVideo()};
RR=function(a,b){a.G=NaN;a.C.stop();a.w&&b&&IK(a.w);a.B=null;a.w=null};
VL=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.q(a.F),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Fe>=d&&l.target&&l.target.Lb<=e&&(a.u.removeCueRange(k),l.Ib.dispose(),a.F["delete"](k))}d=b;e=c;f=[];k=g.q(a.o);for(l=k.next();!l.done;l=k.next())l=l.value,l.Jb>=d&&l.Lb<=e?l.ae.Ib.dispose():f.push(l);a.o=f;d=QR(a,b/1E3);b=d.Eh;d=d.ki;b&&(d*=1E3,SR(b,d,b.Jb+d));QR(a,c/1E3)};
SR=function(a,b,c){a.durationMs=b;a.Lb=c;b={Ib:OR(b,!0),Fe:b,target:null};PR(a,b)};
Oia=function(a,b,c){return(a=QR(a,b).Eh)&&a.playerResponse&&a.playerResponse.streamingData&&(a=a.playerResponse.streamingData.adaptiveFormats)&&(a=a.find(function(d){return d.itag==c}))&&a.url?a.url:null};
UR=function(a,b,c){g.B.call(this);var d=this;this.o=a;this.P=b;c.getPlayerType();this.w=c;this.F=new Map;this.u=[];this.A=this.H=null;this.S=NaN;this.G=this.B=null;this.O=new g.J(function(){TR(d,d.S)});
g.H(this,this.O);this.J=[];this.U=new g.J(function(){var e=d.J.pop();if(e){var f=e.Cb,k=e.playerVars;e=e.playerType;k.prefer_gapless=!0;d.o.preloadVideoByPlayerVars(k,e,NaN,"",f);d.J.length&&g.zn(d.U,4500)}});
g.H(this,this.U);this.C=new g.P(this);g.H(this,this.C);this.C.L(this.o,g.VD("childplayback"),this.xI);this.C.L(this.o,"onQueuedVideoLoaded",this.uM);this.C.L(this.o,"presentingplayerstatechange",this.yI)};
Lka=function(a,b,c,d,e){var f=a.w;e=void 0==e?d+c:e;if(d>e)return VR(a,"e.enterAfterReturn enterTimeMs="+d+" is greater than parentReturnTimeMs="+e),"";var k=1E3*f.Ab();if(d<k)return VR(a,"e.enterBeforeMinSeekable enterTimeMs="+d+"is less than parentMinSeekableTimeMs="+k),"";k=1E3*f.getDuration();if(e>k)return VR(a,"e.returnAfterDuration parentReturnTimeMs="+e+" is greater than parentDurationMs="+k),"";var l;k=g.q(a.u);for(var m=k.next();!m.done;m=k.next()){m=m.value;if(d>=m.Jb&&d<m.Lb)return VR(a,
"e.overlappingEnter"),"";if(e<=m.Lb&&e>m.Jb)return VR(a,"e.overlappingReturn"),"";if(e==m.Jb)return VR(a,"e.outOfOrder"),"";d==m.Lb&&(l=m)}k="childplayback_"+Kka++;m={Ib:WR(c,!0),Fe:Infinity,target:null};var n={Cb:k,playerVars:b,playerType:2,durationMs:c,Jb:d,Lb:e,ae:m};a.u=a.u.concat(n).sort(function(u,z){return u.Jb-z.Jb});
l?YR(a,l,{Ib:WR(l.durationMs,!0),Fe:a.P.fa("timeline_manager_transition_killswitch")?Infinity:l.ae.Fe,target:n}):(b={Ib:WR(d,!1),Fe:d,target:n},a.F.set(b.Ib,b),f.addCueRange(b.Ib));b=g.R(a.P.experiments,"html5_gapless_preloading");if(a.w==a.o.rb()&&(f=1E3*f.getCurrentTime(),f>=n.Jb&&f<n.Lb)){var p=a.o.rb().getPlayerState(),t=f-n.Jb;Se(function(){ZR(a,n,t/1E3,p)});
b=!1}b&&(a.J.unshift(n),g.zn(a.U,0));return k};
WR=function(a,b){return new g.SD(Math.max(0,a-5E3),b?0x8000000000000:a-1,{namespace:"childplayback",priority:7})};
Mka=function(a,b,c,d){a.A=d;$R(a.o.app,a.w,c,void 0===b?0:b)};
aS=function(a,b,c,d){a.A=d;d=b.Cb;var e=b.playerVars,f=b.playerType;a.H=b;a.o.enqueueVideoByPlayerVars(e,f,c,d)};
YR=function(a,b,c){var d=b.ae;b.ae=c;bS(a,b)&&(c=a.o.rb(),d.Ib==a.A&&cS(a),c.removeCueRange(d.Ib),c.addCueRange(b.ae.Ib));d.Ib.dispose()};
cS=function(a){a.H=null;a.A=null;!a.o.app.Ea.o||a.o.clearQueue()};
dS=function(a,b){bS(a,b)||VR(a,"e.childPlaybackIsNotPresenting");return b.Lb==b.Jb+b.durationMs?b.Jb+1E3*a.o.rb().getCurrentTime():b.Lb};
eS=function(a,b){for(var c=0,d=g.q(a.u),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Jb/1E3+c,k=f+e.durationMs/1E3;if(f>b)break;if(k>b)return{Eh:e,ki:b-f};c=k-e.Lb/1E3}return{Eh:null,ki:b-c}};
TR=function(a,b){var c=a.G||a.o.rb().getPlayerState();fS(a,!0);var d=eS(a,b),e=d.Eh;d=d.ki;var f=e&&!bS(a,e)||!e&&a.w!=a.o.rb(),k=1E3*d;k=a.A&&a.A.start<=k&&k<=a.A.end;!f&&k||cS(a);e?ZR(a,e,d,c):gS(a,d,c)};
gS=function(a,b,c){var d=a.w;if(d!=a.o.rb()){var e=d.getPlayerType();g.LR(a.o.app,e)}d.seekTo(b);hS(a,c)};
ZR=function(a,b,c,d){var e=bS(a,b);if(!e){g.LR(a.o.app,b.playerType);b.playerVars.prefer_gapless=!0;var f=new g.cB(a.P,b.playerVars);f.Cb=b.Cb;iS(a.o.app,f,b.playerType,void 0)}f=a.o.rb();e||f.addCueRange(b.ae.Ib);f.seekTo(c);hS(a,d)};
hS=function(a,b){var c=a.o.rb(),d=c.getPlayerState();g.xD(b)&&!g.xD(d)?c.playVideo():g.W(b,4)&&!g.W(d,4)&&c.pauseVideo()};
fS=function(a,b){a.S=NaN;a.O.stop();a.B&&b&&IK(a.B);a.G=null;a.B=null};
bS=function(a,b){var c=a.o.rb();return!!c&&c.getVideoData().Cb==b.Cb};
WL=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.q(a.F),k=f.next();!k.done;k=f.next()){var l=g.q(k.value);k=l.next().value;l=l.next().value;l.Fe>=d&&l.target&&l.target.Lb<=e&&(a.w.removeCueRange(k),l.Ib.dispose(),a.F["delete"](k))}d=b;e=c;f=[];k=g.q(a.u);for(l=k.next();!l.done;l=k.next())if(l=l.value,l.Jb>=d&&l.Lb<=e){var m=a;m.H==l&&cS(m);bS(m,l)&&g.UL(m.o,l.playerType);l.ae.Ib.dispose()}else f.push(l);a.u=f;d=eS(a,b/1E3);b=d.Eh;d=d.ki;b&&(d*=1E3,jS(a,b,d,b.Lb==b.Jb+
b.durationMs?b.Jb+d:b.Lb));eS(a,c/1E3)};
jS=function(a,b,c,d){b.durationMs=c;b.Lb=d;d={Ib:WR(c,!0),Fe:c,target:null};YR(a,b,d);bS(a,b)&&1E3*a.o.rb().getCurrentTime()>c&&(b=dS(a,b)/1E3,c=a.o.rb().getPlayerState(),gS(a,b,c))};
VR=function(a,b){a.w.Ra("timelineerror",b)};
mS=function(a,b){g.B.call(this);var c=this;this.data=[];this.w=a||NaN;this.u=b||null;this.o=new g.J(function(){kS(c);lS(c)});
g.H(this,this.o)};
kS=function(a){var b=(0,g.O)();a.data.forEach(function(c){c.expire<b&&nS(a,c,!0)});
a.data=(0,g.ae)(a.data,function(c){return!(c.expire<b)})};
nS=function(a,b,c){c&&a.u&&a.u(b.value)};
lS=function(a){a.o.stop();var b=Infinity;for(var c=g.q(a.data),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.I)(),0),a.o.start(b))};
oS=function(a,b,c){this.w=a;this.u=b;this.u.subscribe("localmediafetchcomplete",this.B,this);this.A=c;this.o=[]};
pS=function(a,b){var c=new g.cB(a.u.N(),{videoId:b,download_media:!0,download_media_in_bg:!0,start:Infinity});cK(a.u,c,a.A);hK(a.u,!1)};
qS=function(a){g.B.call(this);this.u=null;for(var b=[],c=0;100>=c;c++)b.push(c/100);b={threshold:b};(this.o=window.IntersectionObserver?new IntersectionObserver((0,g.x)(this.w,this),b):null)&&this.o.observe(a)};
Oka=function(a,b){if(g.fl())return null;var c=Nka();if(!c)return g.vL(a,"html5.webaudio",{name:"null context"}),null;if("string"===typeof c)return g.vL(a,"html5.webaudio",{name:c}),null;if(!c.createMediaElementSource)return g.vL(a,"html5.webaudio",{name:"missing createMediaElementSource"}),null;if("suspended"==c.state){var d=function(e){"suspended"==c.state&&g.xD(e.state)&&c.resume().then(function(){a.removeEventListener("presentingplayerstatechange",d);rS=!1},null)};
rS||(a.addEventListener("presentingplayerstatechange",d),rS=!0)}return new dE(c,b)};
Pka=function(a,b){yo(a,"version",b)};
tS=function(a){var b=a.N();g.V.call(this,{D:"div",X:["html5-video-player"],M:{tabindex:"-1",id:a.Fb?a.Fb.rootElementId:a.sa.attrs.id},K:[{D:"div",I:"html5-video-container",M:{"data-layer":"0"}}]});b.transparentBackground&&this.Ho("ytp-transparent");b.fa("web_player_icons")&&g.K(this.element,"ytp-exp-contextmenu-icons");b.fa("web_wn_macro_markers")&&g.K(this.element,"ytp-exp-marker-tooltip");Pka(this.element,sS(a));this.app=a;this.A=this.o["html5-video-container"];this.w=new g.qh(0,0,0,0);this.u=null;
this.G=new g.qh(0,0,0,0);this.J=this.U=this.S=NaN;this.C=!1;this.H=NaN;this.O=!1;this.F=null;this.addEventListener=(0,g.x)(this.element.addEventListener,this.element);this.removeEventListener=(0,g.x)(this.element.removeEventListener,this.element);this.dispatchEvent=function(){};
this.V=(0,g.x)(function(){this.element.focus()},this);
Qx(b)&&"blazer"!=b.playerStyle&&window.matchMedia&&(this.ca="desktop-polymer"==b.playerStyle?[{query:window.matchMedia("(max-width: 656px)"),size:new g.yd(426,240)},{query:window.matchMedia("(max-width: 856px)"),size:new g.yd(640,360)},{query:window.matchMedia("(max-width: 999px)"),size:new g.yd(854,480)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.yd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.yd(854,480)},{query:window.matchMedia("(min-width: 1000px)"),
size:new g.yd(640,360)}]:[{query:window.matchMedia("(max-width: 656px)"),size:new g.yd(426,240)},{query:window.matchMedia("(min-width: 1720px) and (min-height: 980px)"),size:new g.yd(1280,720)},{query:window.matchMedia("(min-width: 1294px) and (min-height: 630px)"),size:new g.yd(854,480)},{query:window.matchMedia("(min-width: 657px)"),size:new g.yd(640,360)}]);this.Z=b.useFastSizingOnWatchDefault;this.B=new g.yd(NaN,NaN);Qka(this);this.L(a.u,"onMutedAutoplayChange",this.II)};
Qka=function(a){var b=a.app.u,c=(0,g.x)(a.FF,a),d=(0,g.x)(a.GF,a),e=(0,g.x)(a.HI,a),f=(0,g.x)(a.rF,a);b.addEventListener("initializingmode",c);b.addEventListener("videoplayerreset",d);b.addEventListener("videodatachange",e);b.addEventListener("presentingplayerstatechange",f);g.le(a,function(){b.removeEventListener("initializingmode",c);b.removeEventListener("videoplayerreset",d);b.removeEventListener("videodatachange",e);b.removeEventListener("presentingplayerstatechange",f)})};
uS=function(a){a.u&&(a.u.removeEventListener("focus",a.V),g.$d(a.u),a.u=null)};
wS=function(a){var b=g.R(a.app.N().experiments,"html5_aspect_from_adaptive_format"),c=g.U(a.app);if(c=c?c.getVideoData():null){if(c.fg()||c.gg()||c.Yf())return 16/9;if(b&&c.Gn()&&c.va.o)return b=c.va.videoInfos[0].video,vS(b.width,b.height)}return(a=a.u)?vS(a.videoWidth,a.videoHeight):b?16/9:NaN};
xS=function(a,b,c,d){var e=c;isNaN(a.J)?isNaN(a.U)||(e=a.U):e=a.J;a=vS(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};
vS=function(a,b){return 1>Math.abs(yS*b-a)||1>Math.abs(yS/a-b)?yS:a/b};
zS=function(a){if(1==a.app.U)return!1;if(6==a.app.U)return!0;var b=g.U(a.app);if(!b||mK(b))return!1;var c=g.sL(a.app.u);a=!g.W(c,2)||!g.R(a.app.N().experiments,"html5_leanback_gapless_elem_display_killswitch")&&b&&b.getVideoData().sf;b=g.W(c,1024);return c&&a&&!b&&!c.isCued()};
AS=function(a){var b="3"==a.app.N().controlsType&&!a.C&&zS(a)&&!a.app.Oa||!1;a.u.controls=b;a.u.tabIndex=b?0:-1;b?a.u.removeEventListener("focus",a.V):g.R(a.app.N().experiments,"disable_focus_redirect")||a.u.addEventListener("focus",a.V)};
BS=function(a){var b=a.getPlayerSize(),c=1,d=!1,e=xS(a,b,a.getVideoAspectRatio()),f=ll();if(zS(a)){var k=wS(a);var l=isNaN(k)||g.Cw||iI&&g.Xx;ml&&!g.qd(601)?k=e.aspectRatio:l=l||"3"==a.app.N().controlsType;l?l=new g.qh(0,0,b.width,b.height):(c=e.aspectRatio/k,l=new g.qh((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1==c&&g.Xx&&(k=l.width-b.height*k,0<k&&(l.width+=k,l.height+=k)));f&&(a.u.style.display="");a.O=!0}else l=-b.height,ml?l*=window.devicePixelRatio:g.Wx&&(l-=window.screen.height),
l=new g.qh(0,l,b.width,b.height),f&&(a.u.style.display="none"),a.O=!1;rh(a.G,l)||(a.G=l,g.Jx(a.app.N())?(a.u.style.setProperty("width",l.width+"px","important"),a.u.style.setProperty("height",l.height+"px","important")):g.Mh(a.u,new g.yd(l.width,l.height)),g.Bh(a.u,new g.wd(l.left,l.top)),d=!0);b=new g.qh((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);rh(a.w,b)||(a.w=b,d=!0);g.th(a.u,"transform",1==c?"":"scaleX("+c+")");return d};
CS=function(){this.w=g.Sr();this.o=new Set;this.A=new Set;this.u=new Set};
fka=function(a,b,c,d){a.o.has(b);a.o.add(b);d=Zea(d);b.visualElement=d;var e=g.Sr(),f=g.Qr();e&&f&&g.gs(e,f,[d]);g.le(c,function(){DS(a,b)})};
gka=function(a,b,c){a.o.has(b);a.o.add(b);g.le(c,function(){DS(a,b)})};
DS=function(a,b){a.o.has(b);a.o["delete"](b);a.A["delete"](b);a.u["delete"](b)};
ES=function(a){if(a.w!=g.Sr())if("UNDEFINED_CSN"==a.w)a.w=g.Sr();else{var b=g.Sr(),c=g.Qr();if(b&&c){a.w=b;for(var d=g.q(a.o),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&!e.Gd.trackingParams&&e.Gd.veType&&g.gs(b,c,[e])}if(b)for(a=g.q(a.u),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&!c.Gd.trackingParams&&c.Gd.veType&&g.hs(b,c)}};
FS=function(a,b,c,d,e){g.V.call(this,{D:"div",I:"ytp-horizonchart"});this.w=Math.round(a/c);this.H=b;this.C=c;this.F=d;this.G=e;this.Xa=0;this.element.style.width=this.w*this.C+"px";this.element.style.height=this.H+"em";this.u=-1;this.B=this.A=null};
GS=function(a,b){if(-1==a.u){try{var c=g.Vd("CANVAS");a.A=c.getContext("2d")}catch(m){}if(a.A){var d=a.w*a.C;a.B=c;a.B.width=d;a.B.style.width=d+"px";a.element.appendChild(a.B)}else for(a.C=Math.floor(a.C/4),a.w*=4,c=0;c<a.C;c++)d=g.Vd("SPAN"),d.style.width=a.w+"px",d.style.left=a.w*c+"px",a.element.appendChild(d)}c=a.element.clientHeight||24;c!=a.u&&(a.u=c,a.A&&(c=1<(window.devicePixelRatio||1)?2:1,a.B.height=a.u*c,a.B.style.height=a.u+"px",a.A.scale(1,c)));c=g.q(b);for(var e=c.next();!e.done;e=
c.next()){d=a;var f=a.Xa,k=e.value;for(e=0;e+2<d.F.length&&d.F[e+1]<k;)e++;k=Math.min(1,(k-d.F[e])/(d.F[e+1]-d.F[e]));if(d.A)d.A.fillStyle=d.G[e],d.A.fillRect(f*d.w,0,d.w,d.u),d.A.fillStyle=d.G[e+1],d.A.fillRect(f*d.w,d.u*(1-k),d.w,d.u);else{f=d.element.children[f];var l=window.devicePixelRatio||1;k=Math.min(d.u,Math.round(d.u*k*l)/l)||0;f.style.height=k+"px";f.style.backgroundColor=d.G[e+1];f.style.borderTop="solid "+(d.u-k)+"px "+d.G[e]}a.Xa=(a.Xa+1)%a.C}c=a.Xa;a.A?a.A.clearRect(c*a.w,0,a.w,a.u):
(c=a.element.children[c],c.style.height="0px",c.style.borderTop="")};
HS=function(a){var b=null;b={D:"button",X:["html5-video-info-panel-close","ytp-button"],M:{title:"close"},W:"[x]"};g.V.call(this,{D:"div",I:"html5-video-info-panel",K:[b,{D:"div",I:"html5-video-info-panel-content",K:[{D:"div",K:[{D:"div",W:"Video ID / sCPN"},{D:"span",W:"{{video_id_and_cpn}}"}]},{D:"div",K:[{D:"div",W:"Viewport / Frames"},{D:"span",W:"{{dims_and_frames}}"}]},{D:"div",K:[{D:"div",W:"Current / Optimal Res"},{D:"span",W:"{{resolution}}"}]},{D:"div",K:[{D:"div",W:"Volume / Normalized"},
{D:"span",W:"{{volume}}"}]},{D:"div",K:[{D:"div",W:"Codecs"},{D:"span",W:"{{codecs}}"}]},{D:"div",M:{style:"{{shader_info_style}}"},K:[{D:"div",W:"Shader Info"},{D:"span",W:"{{shader_info}}"}]},{D:"div",M:{style:"{{color_style}}"},K:[{D:"div",W:"Color"},{D:"span",W:"{{color}}"}]},{D:"div",M:{style:"{{drm_style}}"},K:[{D:"div",W:"Protected"},{D:"span",W:"{{drm}}"}]},{D:"div",M:{style:"{{bandwidth_style}}"},K:[{D:"div",W:"Connection Speed"},{D:"span",K:[{D:"span",W:"{{bandwidth_chart}}"},{D:"span",
W:"{{bandwidth_kbps}}"}]}]},{D:"div",M:{style:"{{network_activity_style}}"},K:[{D:"div",W:"Network Activity"},{D:"span",K:[{D:"span",W:"{{network_activity_chart}}"},{D:"span",W:"{{network_activity_bytes}}"}]}]},{D:"div",K:[{D:"div",W:"Buffer Health"},{D:"span",K:[{D:"span",W:"{{buffer_health_chart}}"},{D:"span",W:"{{buffer_health_seconds}}"}]}]},{D:"div",M:{style:"{{live_latency_style}}"},K:[{D:"div",W:"Live Latency"},{D:"span",K:[{D:"span",W:"{{live_latency_chart}}"},{D:"span",W:"{{live_latency_secs}}"}]}]},
{D:"div",M:{style:"{{live_mode_style}}"},K:[{D:"div",W:"Live Mode"},{D:"span",W:"{{live_mode}}"}]},{D:"div",M:{style:"{{playback_categories_style}}"},K:[{D:"div",W:"Playback Categories"},{D:"span",W:"{{playback_categories}}"}]},{D:"div",K:[{D:"div",W:"Mystery Text"},{D:"span",W:"{{debug_info}}"}]},{D:"div",M:{style:"{{release_style}}"},K:[{D:"div",W:"Player Release"},{D:"span",W:"{{release_name}}"}]}]}]});b&&this.L(this.o["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.w=new FS(300,1,150,b,c);g.H(this,this.w);this.ha("bandwidth_chart",this.w);this.B=new FS(300,1,150,[0,3,10,15,30,60,90],"#000 #66c2a5 #abdda4 #e6f598 #fdae61 #f46d43 #a8330f".split(" "));g.H(this,this.B);this.ha("live_latency_chart",this.B);this.A=new FS(300,1,150,[0,15,30,60,90,120],"#000 #fdae61 #e6f598 #66c2a5 #3288bd #fff".split(" "));g.H(this,this.A);this.ha("buffer_health_chart",this.A);this.C=new FS(300,1,150,d,c);g.H(this,this.C);this.ha("network_activity_chart",this.C);this.u=new g.J(this.zt,
500,this);g.H(this,this.u);this.F=a};
IS=function(){};
eka=function(){var a={},b=g.Mm();b&&(a.Authorization=b,a["X-Goog-AuthUser"]=g.M("SESSION_INDEX",0));return kf(a)};
iL=function(){this.o={};var a=cr("CONSISTENCY");a&&JS(this,{encryptedTokenJarContents:a})};
JS=function(a,b){if(b.encryptedTokenJarContents&&(a.o[b.encryptedTokenJarContents]=b,"string"===typeof b.expirationSeconds)){var c=1E3*Number(b.expirationSeconds);setTimeout(function(){delete a.o[b.encryptedTokenJarContents]},c);
g.br("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}};
KS=function(){};
LS=function(){};
MS=function(){};
NS=function(){};
US=function(a,b,c){g.B.call(this);var d=this;this.sa=Wea(b||{});this.Fb=c;b=this.sa.args||{};this.o=new Lx(b,c);g.H(this,this.o);g.R(this.o.experiments,"html5_vp9_new_mime")&&void 0!=navigator.mediaCapabilities&&(Ty=!0);Uy=OS(this,"html5_vp9_mime_full_range_flag");g.R(this.o.experiments,"html5_disable_subtract_cuepoint_offset")&&(Dt=!0);g.R(this.o.experiments,"html5_log_opus_oboe_killswitch")&&(Cu=!1);fr=g.R(this.o.experiments,"delay_gel_until_config_ready");g.R(this.o.experiments,"html5_skip_empty_load")&&
(PS=!0);g.R(this.o.experiments,"html5_set_exception_to_nonfatal")&&(Rv=!0);QS=g.R(this.o.experiments,"html5_ios_force_seek_to_zero_on_stop");RS=g.R(this.o.experiments,"html5_ios7_force_play_on_stall");SS=g.R(this.o.experiments,"html5_ios4_seek_above_zero");g.R(this.o.experiments,"html5_use_alternate_playback_redirect_host")&&(gt=!0);this.pe=T(wx(this.o)&&!0,b.enablesizebutton);this.pc=T(!1,b.player_wide);this.H=new nJ;g.H(this,this.H);this.Z=!1;this.Z=T(!1,b.external_list);this.V=new g.P(this);g.H(this,
this.V);this.ca=null;this.da=new g.Xn;g.H(this,this.da);this.ga=new g.Xn;g.H(this,this.ga);this.ra=new CS;this.kc=null;this.u=new kL(this);g.H(this,this.u);this.G=new tS(this);g.H(this,this.G);this.U=1;this.Hb={};this.P=this.o.Hc?Ifa():{volume:100,muted:this.o.mute};this.kd=this.o.Eb?new PD(this,1):new NC(this,1);g.H(this,this.kd);this.B=null;this.Ic={};c={};this.Rb=(c.internalvideodatachange=this.jK,c.playbackready=this.lK,c.playbackstarted=this.mK,c.statechange=this.rG,c.signatureexpired=this.aN,
c);this.A=Rka(this);this.Hc=new g.P(this);g.H(this,this.Hc);this.O=new QD(this.o,this.A);this.w=Ska(this);c={};this.ld=(c.airplayactivechange=this.bK,c.airplayavailabilitychange=this.cK,c.beginseeking=this.tK,c.endseeking=this.UK,c.internalAbandon=this.fL,c.internalaudioformatchange=this.oK,c.internalvideodatachange=this.As,c.internalvideoformatchange=this.DN,c.liveviewshift=this.oL,c.playbackstalledatstart=this.kN,c.progresssync=this.sM,c.onLoadProgress=this.pL,c.SEEK_COMPLETE=this.uG,c.SEEK_TO=
this.UM,c.onVideoProgress=this.wG,c.onLoadedMetadata=this.rL,c.onDompaused=this.SK,c.playbackready=this.hM,c.statechange=this.bB,c.connectionissue=this.JK,c.newelementrequired=this.KA,c.heartbeatparams=this.sG,c.videoelementevent=this.vG,c.drmoutputrestricted=this.TK,c.requestmediasource=this.FM,c);this.na=new g.P(this);g.H(this,this.na);this.C=null;c=10;g.Ix(this.o)&&(c=3);Tx(this.o)&&(c=g.S(this.o.experiments,"tvhtml5_unplugged_preload_cache_size"));this.Ua=new mS(c,function(e){e!=g.U(d,e.getPlayerType())&&
(QA("prefetch_"+e.getVideoData().videoId),e.dispose())});
g.H(this,this.Ua);this.Wb=this.Xb=-1;this.yb=new g.J(this.G.Be,16,this.G);g.H(this,this.yb);this.ob=!1;this.za=!0;this.Ha=this.gb=this.F=null;this.fd=!1;this.lc=this.hd=null;this.ya=0;this.Oa=this.Qa=!1;this.ea=null;this.gd=!1;this.jd=!0;this.Aa=void 0;Tka(this);this.xa=new UR(this.u,this.o,this.w);this.S=g.R(this.o.experiments,"web_player_halftime_dai")?new NR(this.u,this.o,this.w):null;this.Id=null;this.Ea=new IR(this.u);g.H(this,this.Ea);this.V.L(this.u,g.VD("appapi"),this.hK);this.V.L(this.u,
"crx_appapi",this.iK);this.V.L(this.u,g.VD("appad"),this.oA);this.V.L(this.u,"crx_appad",this.oA);this.V.L(this.u,"crx_applooprange",this.du);this.V.L(this.u,"presentingplayerstatechange",this.tG);this.V.L(this.u,"resize",this.HM);this.G.ba(Gd(a));this.V.L(this.u,"offlineslatestatechange",this.WL);this.Kc=Uka(this,this.G.element);g.H(this,this.Kc);this.J=null;g.Y=this.o.B;this.o.sa&&(g.$P.ux=g.vR);Vka(this);this.O.tick("fs");Wka(this);this.o.sa&&uka(this.A);g.Dx(this.A.o.N())&&this.A.md("music");
g.ux(this.A.o.N())&&this.A.md("embed");OS(this,"web_player_sentinel_is_uniplayer")||g.Go(Error("Player flag missing: web_player_sentinel_is_uniplayer"));OS(this,"html5_log_non_fatal")&&(this.qe=Xka(this));this.Ia=null;OS(this,"mweb_hoffline")&&(this.Ia=new oS(this.u,TS(this,1),function(){return d.Tc()}))};
Xka=function(a){function b(c){if(-1!==c.stack.indexOf("player"))(a.C||a.w).B.onError("player.exception",Qv({n:c.name,m:c.message}))}
Eo.push(b);return function(){var c=Eo.indexOf(b);-1!==c&&Eo.splice(c,1)}};
WS=function(a,b,c){var d=this;try{var e="string"===typeof a?a:"player"+g.Qa(a),f=VS[e];if(f){try{f.dispose()}catch(l){g.N(l)}VS[e]=null}var k=new US(a,b,c);g.le(k,function(){VS[e]=null;d.qe&&d.qe()});
return VS[e]=k}catch(l){throw g.N(l),l.stack;}};
Ska=function(a){var b=new TJ(a.o,1,a.O,a.G,(0,g.x)(a.da.R,a.da),(0,g.x)(a.u.getVisibilityState,a.u),a.H);b.setPlaybackRate(a.o.u?1:XS(a,parseFloat(g.os("yt-player-playback-rate"))||1));wr(b,a.Rb,a);return b};
pQ=function(a){if(!a.kc){var b={subscribeEndpoint:LS,unsubscribeEndpoint:MS};NS.o||(NS.o=new NS);var c=NS.o;IS.o||(IS.o=new IS);hL.o?Cp(Error("Error: InnerTubeTransportService was initialized more than once.")):hL.o=new hL(b,c);a.kc=hL.o}return a.kc};
Rka=function(a){var b="",c=sS(a);0==c.indexOf("//")&&(c=a.o.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.Go(Error("Player module URL mismatch: "+(c+" vs "+b+".")));b=new OP(a.u,b);c={};a=(c.destroyed=(0,g.x)(a.gK,a),c);b.C=a;return b};
ZS=function(a,b){var c=a.isVideoInfoVisible();a.ca||(a.ca=new HS(a),g.H(a,a.ca),g.KL(a.u,a.ca.element,4));g.FC(a.ca,b);YS(a)&&c!=b&&g.tL(a.A).FH();c=a.C;b&&c&&c.Ra("sfn","1",!0)};
aT=function(a){var b=$S.getTag(!0,!a.o.deviceHasDisplay);a.B=new g.mC(b);g.H(a,a.B);a.C&&wK(a.C,a.B);try{a.o.na?(a.Ha&&a.V.Wa(a.Ha),a.Ha=a.V.L(a.B,"volumechange",a.FL)):OS(a,"web_player_mute_then_volume_killswitch")?(a.B.setVolume(a.P.volume/100),a.B.oh(a.P.muted)):(a.B.oh(a.P.muted),a.B.setVolume(a.P.volume/100))}catch(d){var c="setvolume.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_"));g.SJ(a.w,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0);return}g.vr(a.na);Yka(a);c=a.G;c.u=b;c.C=!1;c.u.parentNode||
g.Zd(c.A,c.u,0);c.G=new g.qh(0,0,0,0);BS(c);AS(c);g.K(c.u,"video-stream");g.K(c.u,"html5-main-video");b=c.app.N();b.Wb&&c.u.setAttribute("data-no-fullscreen",!0);b.Id&&(c.u.setAttribute("webkit-playsinline",""),c.u.setAttribute("playsinline",""));b.Em&&c.u&&c.L(c.u,"click",c.u.play,c.u);try{a.B.qj()}catch(d){c="activate.1;emsg."+(d.message&&d.message.replace(/[;:,]/g,"_")),g.SJ(a.w,"html5.missingapi","UNSUPPORTED_DEVICE",c,void 0)}};
bT=function(a){if(a.B){a.Ha&&(a.V.Wa(a.Ha),a.Ha=null);g.vr(a.na);a.C&&vK(a.C,!0);uS(a.G);a.B.ah()&&$S.releaseTag(a.B.ib());if(!OS(a,"html5_unset_src_on_remove_killswitch"))try{a.B.Zo()}catch(b){}a.B=null}};
g.LR=function(a,b){var c=g.U(a,b);c||(c=TS(a,b),cT(a,c));SL(a,c)};
SL=function(a,b){if(a.C!=b){var c=null;a.C&&(c=a.C.getPlayerState(),VP(a.A,3),dT(a,"cuerangesremoved",PG(a.C.P)||[]),a.Ea&&!b.isGapless()&&a.C.isGapless()&&a.B&&a.B.stopVideo(),TL(a));cT(a,b);a.C=b;a.B&&wK(b,a.B);wr(b,a.ld,a);a.As("newdata",b,b.getVideoData());c&&!g.vD(c,b.getPlayerState())&&a.bB(new g.BD(b.getPlayerState(),c));b.Z.isFinished()&&a.As("dataloaded",b,b.getVideoData());(c=(c=b.getVideoData().Ba)&&c.video)&&a.u.ka("onPlaybackQualityChange",c.quality);dT(a,"cuerangesadded",PG(a.C.P)||
[]);c=b.getPlayerState();g.W(c,2)?eT(a):g.W(c,8)&&b.playVideo()}};
eT=function(a){if(a.F&&g.Ax(a.o)&&g.fT(a)){var b=g.R(a.o.experiments,"html5_player_autonav_logging");a.nextVideo(!1,b);b=!0}else b=!1;b||((b=a.w.o)&&b.vk(),gT(a,AD(rL(a))))};
Yka=function(a){var b=a.B;Iv()?a.na.L(b,"webkitpresentationmodechanged",a.RM):Jv()&&(a.na.L(b,"enterpictureinpicture",function(){oJ(a.H,!0)}),a.na.L(b,"leavepictureinpicture",function(){oJ(a.H,!1)}));
Bx&&(a.na.L(b,"webkitbeginfullscreen",function(){hT(a,3)}),a.na.L(b,"webkitendfullscreen",function(){hT(a,0)}))};
cT=function(a,b){if(b!=a.w){var c=b.getPlayerType();a.Ic[c]=b}};
TL=function(a){var b;if(b=a.ea)b=a.B,b=!!b&&b===a.ea.w;b&&(bT(a),aT(a));a.C&&(vK(a.C),xr(a.C,a.ld,a));a.C=null};
g.U=function(a,b){return b?1==b?a.w:a.Ic[b]||null:a.C};
TS=function(a,b){var c=a.O;2==b&&(c=new QD(a.o));return new TJ(a.o,b,c,a.G,(0,g.x)(a.da.R,a.da),(0,g.x)(a.u.getVisibilityState,a.u),a.H)};
iT=function(a,b){return a.Ob(b)?a.w:b};
jT=function(a,b){var c=a.C;return c&&b==a.w&&a.Ob(b)&&a.Ob(c)?c:b};
lT=function(a){var b=a.getVideoData(),c=10<b.lengthSeconds,d=a.A,e;for(e in kT){var f=kT[e];switch(f){case "embed":case "kids":case "remote":case "miniplayer":case "music":case "unplugged":d.md(f);break;case "attribution":case "fresca":case "ypc":case "ypc_clickwrap":case "yto":case "visualizer":case "webgl":d.md(f,void 0,!1,!0);break;case "captions":d.md(f,void 0,!0)}}d.Bw();d.B&&c?g.HL(d.o,"endscreen"):d.md("endscreen");d.B&&c?(g.HL(d.o,"annotations_module"),g.HL(d.o,"creatorendscreen")):(d.Jq(),
d.md("creatorendscreen",void 0,!0));d.Dw();UP(d);c&&QB(b)?a.Hc.L(a.u,"presentingplayerstatechange",a.lM):TP(a.A);a.u.R("videoready",b)};
mT=function(a){return a.w.getVideoData()};
g.nT=function(a,b){var c=g.U(a,1);c&&PJ(c,b)};
oT=function(a){a=mT(a);a.isValid();return QB(a)};
Vka=function(a){var b=new g.cB(a.o,a.sa.args);g.ps()&&b.Qc.push("remote");b.isValid()&&(cK(a.w,b,(0,g.x)(a.Tc,a)),!g.R(a.o.experiments,"html5_delay_initial_loading")&&oT(a)&&(a.o.Ic||a.o.Kc)&&hK(a.w))};
Wka=function(a){Zka(a);var b=a.sa.args;aT(a);var c=mT(a);a.u.ka("onVolumeChange",a.P);if(b&&ZD(b)){var d=Qx(a.o);d&&!a.Z&&(b.fetch=0);pT(a,b);if(d&&!a.Z)qT(a);else if(!c.isValid())a.F.onReady((0,g.x)(a.Mo,a))}SL(a,a.w);g.W(a.w.getPlayerState(),128)||(b=Bfa(a.o.deviceHasDisplay),"fmt.noneavailable"==b?g.SJ(a.w,"html5.missingapi","HTML5_NO_AVAILABLE_FORMATS_FALLBACK","nocodecs.1",void 0):"html5.missingapi"==b?g.SJ(a.w,b,"UNSUPPORTED_DEVICE","nocanplaymedia.1",void 0):c&&c.isValid()&&oT(a)&&(a.o.Ic||
a.o.Kc)?rT(a):g.os("yt-player-playback-on-reload")?(hr("embedsItpPlayedOnReload",{playedOnReload:!0,isLoggedIn:!!a.o.Lc}),Vw(!1),rT(a)):g.$x(a.o)||sT(a),OS(a,"web_player_inline_botguard")&&(g.Sx(a.o)&&!OS(a,"web_player_botguard_scheduler_killswitch")||OS(a,"web_player_botguard_use_scheduler")?(Ip(function(){ys(a.o.ea)}),Ip(function(){Pp()})):(ys(a.o.ea),Pp())))};
sT=function(a){a.u.R("initializingmode");g.tT(a,2);a.A.md("remote");g.R(a.o.experiments,"player_cued_miniplayer_module_killswitch")||a.A.md("miniplayer")};
rT=function(a){if(g.W(a.w.getPlayerState(),128))return!1;oT(a)&&a.o.Kc&&($S.hasTags(void 0)&&a.Oa?(QC(a,{muted:!1,volume:a.P.volume},!1),uT(a,!1)):$S.hasTags(void 0)||a.P.muted||(QC(a,{muted:!0,volume:a.P.volume},!1),uT(a,!0)));vT(a,1,a.w.getVideoData(),!1);a.u.R("initializingmode");SL(a,a.w);g.tT(a,3);var b;if(!(b=!a.o.Gf)){if(b=a.ea)b=a.B,b=!!b&&b===a.ea.w;b=b&&a.fd}b&&(bT(a),aT(a),wK(a.w,a.B));lK(a.w);if(g.W(a.w.getPlayerState(),128))return!1;gT(a,3);return a.fd=!0};
YS=function(a){a=g.tL(a.A);return!!a&&a.loaded};
wT=function(a,b){a.C==a.w&&cL(a.C)!=b&&(a.C.setLoop(b),a.u.R("loopchange",b))};
xT=function(a,b){if(!a.J)return!1;var c=.001*a.J.startTimeMs,d=.001*a.J.endTimeMs;return vd(b,c)||vd(b,d)||b>=c&&b<=d};
XS=function(a,b){var c=a.u.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};
yT=function(a,b){var c=g.U(a,b);return c?a.Ob(c)?(c=iT(a,c),UK(c)-c.getCurrentTime()+a.getCurrentTime(b)):UK(c):0};
zT=function(a,b,c){if(a.Ob(c)){c=c.getVideoData();if(a.S){a=a.S;for(var d=g.q(a.o),e=d.next();!e.done;e=d.next())if(e=e.value,c.Cb==e.Cb){b+=e.Jb/1E3;break}d=b;a=g.q(a.o);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Cb==e.Cb)break;var f=e.Jb/1E3;if(f<b)d+=e.durationMs/1E3+f-e.Lb/1E3;else break}c=d}else{a=a.xa;d=g.q(a.u);for(e=d.next();!e.done;e=d.next())if(e=e.value,c.Cb==e.Cb){b+=e.Jb/1E3;break}d=b;a=g.q(a.u);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Cb==e.Cb)break;f=e.Jb/1E3;if(f<b)d+=
e.durationMs/1E3+f-e.Lb/1E3;else break}c=d}return c}return b};
Zka=function(a){var b=a.G,c=b.app.N();c.Gf||b.Ho("tag-pool-enabled");c.Zb&&b.Ho("house-brand");"gvn"==c.playerStyle&&(b.Ho("ytp-gvn"),b.element.style.backgroundColor="transparent");c.ga&&(b.H=g.Oo("yt-dom-content-change",b.Be,b));g.R(c.experiments,"web_player_ios_mweb_resizing")&&b.L(window,"orientationchange",b.Be,b);b.L(window,"resize",b.Be,b);b=a.kd;b.A=a.G.element;for(var d in b.w)b.A[d]=b.w[d];(d=tr(a.G.element))&&a.V.L(a.G,d,a.YK);a.V.L(window,"resize",a.IM)};
rL=function(a,b){return 3==a.getPresentingPlayerType()?g.tL(a.A).F:g.U(a,b).getPlayerState()};
AT=function(a,b){return 3==a.getPresentingPlayerType()?AD(g.tL(a.A).F):2!=b||a.Ob()?a.Xb:a.Wb};
CT=function(a){BT(a);wT(a,!1);a.setLoopRange(null);a.Hb={};var b=a.O;if(b.o){var c=b.o;c.A={};c.w={}}b.u=!1;a.S?(b=a.S,a=a.w,a.getPlayerType(),RR(b,!1),VL(b),b.u=a):(b=a.xa,a=a.w,1!=a.getPlayerType()&&VR(b,"e.invalidParentVideoPlayerType"),fS(b,!1),WL(b),b.w=a)};
qT=function(a){var b=DT();if(b)if(b.list){if(a.F&&a.F.getPlaylistId()==b.list)if(0<=b.index){var c=b.video;a.u.isFullscreen()&&((c=c[a.F.Xa])&&c.encrypted_id!=a.F.wa().videoId||(b.index=a.F.Xa));cE(a.F,b);a.gb&&ET(a,a.gb)}else a.gb=null}else a.Vm()};
pT=function(a,b){a.F&&(a.F.unsubscribe("error",a.Vm,a),g.me(a.F),a.F=null);b&&(a.Z&&(b.fetch=0),a.F=new g.YD(a.o,b),a.F.subscribe("error",a.Vm,a))};
FT=function(a,b,c,d){b in a.Hb||(c=new g.SD(c,d,{id:b,priority:1,namespace:"appad"}),a.w.addCueRange(c),a.Hb[b]=c)};
GT=function(a,b){if(!(b in a))return!1;var c=a[b];g.La(c)||(c=[c]);c.forEach(function(d){var e=void 0===e?!1:e;if(!(e=Qs(Ss(d,$ka,null),d,e,"Active View 3rd Party Integration URL"))){var f=void 0===f?!1:f;e=Qs(Ss(d,ala,null),d,f,"Google/YouTube Brand Lift URL")}if(!(f=e)){var k=void 0===k?!1:k;f=Qs(Ss(d,bla,null),d,k,"Nielsen OCR URL")}g.Qp(d,void 0,f)});
return!0};
g.tT=function(a,b){b!=a.U&&(2==b&&1==a.getPresentingPlayerType()&&(gT(a,-1),gT(a,5)),a.U=b,a.u.R("appstatechange",b))};
gT=function(a,b){if(a.C){var c=a.C.getPlayerType();if(2==c&&!a.Ob()){a.Wb!=b&&(a.Wb=b,a.u.ka("onAdStateChange",b));return}if(2==c&&a.Ob()||5==c||6==c||7==c)if(-1==b||0==b||5==b)return}a.Xb!=b&&(a.Xb=b,a.u.ka("onStateChange",b))};
HT=function(a){var b=g.U(a,void 0);if(b){a=iT(a,b);b=HK(a);var c=a.getCurrentTime(),d;(d=!a.T.ua)||(d=a.C,d=!(d.w&&d.w.A));a=d||eJ(a.C)||isNaN(b)||isNaN(c)?0:Math.max(0,b-c)}else a=0;return a};
$R=function(a,b,c,d){d=void 0===d?0:d;var e=g.U(a);e&&(iT(a,e).zg=!0);Hka(a.Ea,b,c,d).then(function(){a.u.ka("onQueuedVideoLoaded")},function(){})};
vT=function(a,b,c,d){if(!f){var e=b+"_"+c.videoId+"_"+c.Cb;var f=a.Ua.get(e);if(!f)return null;a.Ua.remove(e);if(g.W(f.getPlayerState(),128))return f.dispose(),null}if(f==g.U(a,b))return f;if((f.getVideoData().oauthToken||c.oauthToken)&&f.getVideoData().oauthToken!=c.oauthToken)return null;d||KR(a,f);return f};
KR=function(a,b){var c=b.getPlayerType();b!=g.U(a,c)&&(1==b.getPlayerType()?(b.getVideoData().autonavState=a.w.getVideoData().autonavState,xr(a.w,a.Rb,a),c=a.w.getPlaybackRate(),a.w.dispose(),a.w=b,a.w.setPlaybackRate(c),wr(b,a.Rb,a),CT(a)):(c=g.U(a,c))&&c.dispose(),a.C.getPlayerType()==b.getPlayerType()?SL(a,b):cT(a,b))};
iS=function(a,b,c,d){OA("_start","")||(RA("p",""),a.O.info("srt",0));var e=vT(a,c||a.C.getPlayerType(),b,!1);e&&XA("pfp",void 0,"prefetch_"+b.videoId);if(!e){e=g.U(a,c);if(!e)return!1;a.yb.stop();IT(a,4,c);cK(e,b,(0,g.x)(a.Tc,a),d)}e==a.w&&(a.o.ob=b.oauthToken);if(!eK(e))return!1;a.ob&&(e.Ha=!1,a.ob=!1);if(e==a.w)return g.tT(a,1),rT(a);lK(e);return!0};
JT=function(a,b,c){c=g.U(a,c);b&&c==a.w&&(c.getVideoData().Sg=!0)};
KT=function(a,b,c){var d=g.U(a,c);if(d){IT(a,4,c);cK(d,b,(0,g.x)(a.Tc,a));if(2==c&&a.w&&(c=a.w.B,c.o)){c=c.o;var e=b.clientPlaybackNonce,f=b.Ml||"";b=b.breakType||0;g.tI(c,g.jD(c.o),"ad_playback",[e,f,b])}d==a.w&&(g.tT(a,1),sT(a))}};
g.LT=function(a,b,c,d,e,f){if(!b&&!d)throw Error("Playback source is invalid");if(wx(a.o)||g.Ux(a.o))return c=c||{},c.lact=Wq(),c.vis=a.u.getVisibilityState(),a.u.ka("onPlayVideo",{videoId:b,watchEndpoint:f,sessionData:c,listId:d}),!1;c=a.O;c.o&&(f=c.o,f.A={},f.w={});c.u=!1;a.O.reset();b={video_id:b};e&&(b.autoplay="1");e&&(b.autonav="1");d?(b.list=d,a.loadPlaylist(b)):a.loadVideoByPlayerVars(b,1);return!0};
g.fT=function(a){if(a.u.isMutedByMutedAutoplay())return!1;if(3==a.getPresentingPlayerType())return!0;Qx(a.o)&&!a.Z&&qT(a);return!(!a.F||!a.F.hasNext())};
ET=function(a,b){var c=g.w(b);if(c){var d=DT();d&&d.list&&c();a.gb=null}else a.gb=b};
DT=function(){var a=g.w("yt.www.watch.lists.getState");return a?a():null};
g.MT=function(a){if(!a.B||!a.B.ah())return null;var b=a.B;if(a.ea){var c=a.ea;c.w?c.w!==b&&(g.fE(c),c.w=b,c.u=null):c.w=b}else a.ea=Oka(a.u,b),a.ea&&g.H(a,a.ea);return a.ea};
NT=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);FL(a,[new g.SD(1E3*c,1E3*d,b)],1);return!0};
FL=function(a,b,c){var d=g.U(a,c);d&&(d=d.P,d.u(),MG(d.o,b),d.A=NaN,d.u(),c&&a.getPresentingPlayerType()!=c||dT(a,"cuerangesadded",b))};
g.OT=function(a,b,c){var d=g.U(a,c);d&&(OG(d.P,b),c&&a.getPresentingPlayerType()!=c||dT(a,"cuerangesremoved",b))};
g.bR=function(a,b,c){var d=g.U(a,c);d&&(b=QG(d.P,b),c&&a.getPresentingPlayerType()!=c||dT(a,"cuerangesremoved",b))};
PT=function(a){var b=(0,g.O)(),c=a.getCurrentTime();a=a.getVideoData();return b-Math.max(1E3*(c-a.startSeconds),0)};
QC=function(a,b,c){a.o.J&&(a.P=b,b.muted||uT(a,!1),c&&a.o.Hc&&!a.o.na&&(c={volume:Math.floor(b.volume),muted:b.muted},c.unstorable||(g.ns("yt-player-volume",c),g.ns("yt-player-volume",c,2592E3))),QT(a),c=g.Gv&&a.B&&!a.B.Uc(),!a.o.na||c)&&(b=g.dc(b),a.o.Hc||(b.unstorable=!0),a.u.ka("onVolumeChange",b))};
QT=function(a){var b=a.getVideoData();if(!b.Bh){b=a.o.na?1:SB(b);var c=a.B;OS(a,"web_player_mute_then_volume_killswitch")?(c.setVolume(a.P.volume*b/100),c.oh(a.P.muted)):(c.oh(a.P.muted),c.setVolume(a.P.volume*b/100))}};
uT=function(a,b){b!=a.Oa&&(a.Oa=b,a.u.ka("onMutedAutoplayChange",b))};
RT=function(a){var b=rr(!OS(a,"web_player_fullscreen_shadow_killswitch"));return b&&(b==a.G.element||a.B&&b==a.B.ib())?b:null};
TT=function(a,b){var c=window.screen&&window.screen.orientation;if(g.R(a.o.experiments,"lock_fullscreen2")&&c&&c.lock&&(!g.Gv||!ST))if(b){var d=0==c.type.indexOf("portrait"),e=a.G.getVideoAspectRatio(),f=d;1>e?f=!0:1<e&&(f=!1);if(!a.Qa||f!=d){if(c=c.lock(f?"portrait":"landscape"))c["catch"](g.Ia);a.Qa=!0}}else a.Qa&&(a.Qa=!1,c.unlock())};
hT=function(a,b){var c=!!b,d=!!a.H.w!=c,e=a.H;e.w!=b&&(e.w=b,e.wj());OS(a,"html5_media_fullscreen")&&!c&&a.B&&RT(a)==a.B.ib()&&a.B.vk();a.G.Be();d&&a.O.tick("fsc");d&&(a.u.R("fullscreentoggled",c),d=mT(a),c={fullscreen:c,videoId:d.Tu||d.videoId,time:a.getCurrentTime()},a.u.getPlaylistId()&&(c.listId=a.u.getPlaylistId()),a.u.ka("onFullscreenChange",c))};
dT=function(a,b,c){a.u.R(b,c);var d=g.Ix(a.o)||g.Jx(a.o)||Vx(a.o);if(c&&d){switch(b){case "cuerangemarkersupdated":var e="onCueRangeMarkersUpdated";break;case "cuerangesadded":e="onCueRangesAdded";break;case "cuerangesremoved":e="onCueRangesRemoved"}e&&a.u.ka(e,c)}};
IT=function(a,b,c){cs(a.ya);a.ya=0;var d=g.U(a,c);d&&1!=a.U&&2!=a.U&&(d==a.C&&VP(a.A,b),1==c&&(g.R(a.o.experiments,"html5_stop_video_in_cancel_playback")&&d.stopVideo(),BT(a)),g.sK(d),dT(a,"cuerangesremoved",PG(d.P)||[]),d.P.reset(),a.Ea&&d.isGapless()&&(vK(d,!0),wK(d,a.B)))};
UT=function(a,b,c,d,e,f){c=void 0===c?!0:c;f=void 0===f?!1:f;var k=g.U(a,e);if(!k||(2!=k.getPlayerType()||a.Ob(k)||f)&&!g.JB(k.getVideoData()))3==a.getPresentingPlayerType()?g.tL(a.A).tl("control_seek",b,c):(k==a.w&&a.J&&!xT(a,b)&&a.setLoopRange(null),a.seekTo(b,c,d,e))};
VT=function(a,b,c,d){if(!a.ob){c&&(bT(a),aT(a));a.ob=!0;c=g.U(a);c.Ha=!0;c.Ra("reloading","reason."+b);var e=a.getVideoData(),f={};f.video_id=e.videoId;f.adformat=e.adFormat;e.ua?qB(e)&&g.Ux(a.o)&&(f.live_utc_start=UK(c),f.resume="1"):(f.start=c.getCurrentTime(),f.resume="1");e.Df&&(f.vvt=e.Df);e.Ei&&(f.vss_credentials_token=e.Ei,f.vss_credentials_token_type=e.Fi);e.oauthToken&&(f.oauth_token=e.oauthToken);f.autoplay=1;f.reload_count=e.vf+1;f.reload_reason=b;e.Oj&&(f.unplugged_partner_opt_out=e.Oj);
a.loadVideoByPlayerVars(f,void 0,d)}};
WT=function(a,b){mT(a).autonavState=b;g.ns("yt-player-autonavstate",b);a.u.R("autonavchange",b)};
XT=function(a){var b=a.getVideoData().Bh,c=a.o.Cg,d=a.B;b||c?d.Nq():(d.Rq(),QC(a,a.P))};
Uka=function(a,b){return g.R(a.o.experiments,"html5_enable_embedded_player_visibility_signals")&&a.o.u?new qS(b):null};
BT=function(a){(a=WP(a.A))&&a.created&&a.destroy()};
OS=function(a,b){return g.R(a.o.experiments,b)};
ZT=function(a,b){b.bounds=a.getBoundingClientRect();for(var c=g.q(["display","opacity","visibility","zIndex"]),d=c.next();!d.done;d=c.next())d=d.value,b[d]=yh(a,d);b.hidden=!!a.hidden};
Tka=function(a){var b=a.o,c=document.requestStorageAccess&&document.hasStorageAccess;g.R(b.experiments,"embeds_enable_request_storage_access_safari_itp")&&g.Xx&&c&&b.u?nl()||b.U?(hr("embedsStorageAccessNotChecked",{isIosWebview:nl(),isPemPlayer:b.U}),a.Aa=!1):document.hasStorageAccess().then(function(d){hr("embedsHasStorageAccessResult",{hasCookieAccess:d,resultedInError:!1});a.Aa=!d},function(d){hr("embedsHasStorageAccessResult",{hasCookieAccess:!1,
resultedInError:!0});g.Go(Error("Embeds ITP Error: "+d));a.Aa=!1}):a.Aa=!1};
$T=function(a,b){var c=void 0;if(g.Ix(a.o)&&kp(b)&&jp(b)){var d=a.getVideoData().hf();d&&(c={Authorization:"Bearer "+d})}g.Qp(b,void 0,void 0,c)};
sS=function(a){return a.Fb?a.Fb.jsUrl:a.sa.assets&&a.sa.assets.js?a.sa.assets.js:""};
aU=function(a,b,c){for(var d in b)a[c+d]=b[d];return a};
bU=function(a){return a.isTimeout?"NO_BID":"ERR_BID"};
dla=function(){var a=null;gq().then(function(b){return a=b},function(b){return a=bU(b)});
return a};
ela=function(){var a=Cf(1E3,"NO_BID");return qf(sf(of([gq(),a]),bU),function(){return a.cancel()})};
cU=function(a){this.o=a;this.A=g.S(a.N().experiments,"bulleit_get_midroll_info_timeout_ms")||8E3;this.w=this.u=1};
dU=function(a,b,c,d){c=void 0===c?{}:c;var e=c.mk,f=c.Ib,k=void 0===c.Au?0:c.Au;d=void 0===d?"":d;c=a.o.getVideoData(1);var l=a.o.N().Zj,m={AD_BLOCK:a.u++,AD_BREAK_LENGTH:e?e.durationSecs:0,AUTONAV_STATE:a.o.N().Ua?mr(kr.getInstance(),140)?3:2:1,CA_TYPE:"image",CPN:c.clientPlaybackNonce,DRIFT_FROM_HEAD_MS:1E3*HT(a.o.app),LACT:Wq(),LIVE_INDEX:e?a.w++: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.o.getVisibilityState(),
TSLA:k,P_H:g.pL(a.o).getPlayerSize().height,P_W:g.pL(a.o).getPlayerSize().width,YT_REMOTE:l?l.join(","):""},n=mp(lp);Object.keys(n).forEach(function(p){null!=n[p]&&(m[p.toUpperCase()]=n[p].toString())});
""!==d&&(m.BISCOTTI_ID=d);d={};(e=a.o.N().za)&&kp(b)&&(d.forced_experiments=e);b=hp(g.en(b,m),d);d=b.split("?");if(2!=d.length)return lf(Error("Invalid AdBreakInfo URL"));e=g.q(d);d=e.next().value;f=e.next().value;e={};c.oauthToken&&jp()&&(e.Authorization="Bearer "+c.oauthToken);if(f=(c=cp(f))&&c.post_data)k=cp(c.post_data),Object.assign(c,k),delete c.post_data;return f?Vp(d,{Qw:!0,format:"RAW",headers:e,method:"POST",zb:c,timeout:a.A,withCredentials:!0}):Vp(b,{Qw:!0,format:"RAW",headers:e,method:"GET",
timeout:a.A,withCredentials:!0})};
eU=function(a,b,c,d){this.w=a;this.Rc=null;this.u=b;this.o=0;this.Tb=void 0===c?!1:c;this.visible=!0;this.A=void 0===d?!1:d};
fU=function(a,b,c,d,e){g.SD.call(this,b.start,b.end,{id:d,namespace:"ad",priority:e,visible:c});this.w=a.kind||"AD_PLACEMENT_KIND_UNKNOWN";this.o=!1;this.A=null};
gU=function(a){return"AD_PLACEMENT_KIND_START"==a.w};
hU=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.w};
fla=function(a){return a.end-a.start};
iU=function(a,b,c){c=void 0===c?!1:c;switch(a.kind){case "AD_PLACEMENT_KIND_START":return new Fi(-0x8000000000000,-0x8000000000000);case "AD_PLACEMENT_KIND_END":return c?new Fi(Math.max(0,b.w-b.o),0x7ffffffffffff):new Fi(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.w);if(c&&(d=a,a=Math.max(0,a-b.o),a==d))break;return new Fi(a,d);case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return a=
b.Rc,d=1E3*a.startSecs,c?d<b.u?new Fi(d-4E3,d):new Fi(Math.floor(b.u+Math.random()*Math.max(0,d-b.u-1E4)),d):new Fi(d,d+(0<a.durationSecs?1E3*a.durationSecs:5E3))}return null};
kU=function(a,b,c){b=void 0===b?null:b;c=void 0===c?{}:c;this.id=jU(a);this.componentType=a;this.macros=c;this.renderer=b};
jU=function(a){return a+(":"+(hn.getInstance().o++).toString(36))};
lU=function(a,b,c){this.id=c;this.content=a;this.actionType=b};
nU=function(){g.B.call(this);var a=this;this.o={};mU(this,"commandExecutorCommand",function(b,c,d){b.commands&&gla(a,b.commands,c,d)});
mU(this,"clickTrackingParams",function(){})};
hla=function(a,b){return mU(a,b.o(),function(c,d,e){b.Ca(c,d,e)})};
mU=function(a,b,c){if(a.o[b])return g.N(Error("Extension name "+b+" already registered")),function(){};
a.o[b]=c;return function(){delete a.o[b]}};
gla=function(a,b,c,d){d=void 0===d?{}:d;b.forEach(function(e){return a.executeCommand(e,c,d)})};
oU=function(a,b,c,d,e){e=void 0===e?{}:e;if(a=a.o[b])try{a(c[b],d,e)}catch(f){g.N(f)}else c=Error("Unhandled field"),c.params=b,g.N(c)};
pU=function(a,b,c){this.u=a;this.A=b;this.w=c};
qU=function(a){this.u=a};
rU=function(a){this.u=a};
sU=function(a){this.aa=a};
tU=function(a){this.u=a};
uU=function(a){this.o=a;jp()};
vU=function(a){this.u=a};
wU=function(a){this.u=a};
xU=function(){};
yU=function(){};
zU=function(a){g.B.call(this);this.o=a;this.u=ila(this)};
ila=function(a){var b=new nU;g.H(a,b);[new pU(a.o.OD,a.o.PD,a.o.Yb),new qU(a.o.QD),new rU(a.o.RD),new sU(a.o.aa),new vU(a.o.gh),new wU(a.o.NJ),new tU(a.o.bE),new xU,new yU].forEach(function(c){return hla(b,c)});
["adInfoDialogEndpoint","adFeedbackEndpoint"].forEach(function(c){return mU(b,c,function(){})});
return b};
AU=function(a){this.u=a;this.o=null};
jla=function(a){return BU(a).then(function(){return new cf(function(b,c){var d=CU();(d=d?DU(d):null)&&"adSizes"in d[0]?b((0,g.A)(d[0].adSizes,function(e){return new g.yd(e.adWidth,e.adHeight)})):c(Error("No slots registered with GPT services"))})})};
kla=function(a){!EU()&&a.o?a.o.cancel():BU(a).then(function(){return FU(null,300,60)})};
BU=function(a){if(null==a.o){var b=a.u/200,c=function(d){if(!EU()){if(0>=d)throw Error("Timed out while waiting for GPT services");return Cf(200).then(function(){return c(d-1)})}};
a.o=kf().then(function(){return c(b)})}return a.o};
FU=function(a,b,c){var d=Cf(5E3).then(function(){throw Error("Timed out while waiting for GPT set companion");}),e=new cf(function(f,k){var l=CU();
if(l){var m=DU(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){if(void 0!==p.firstElementChild)var t=p.firstElementChild;else for(t=p.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;t||(t=g.Vd("div"),p.appendChild(t));a&&t.appendChild(a);f()};
(l=l.googleSetCompanionAdContents)?l([n]):k(Error("Missing googleSetCompanionAdContents API"))}else k(Error("No slots registered with GPT services"))}else k(Error("Failed to find GPT services"))});
return of([e,d])};
EU=function(){var a=CU();if(!a)return!1;a=DU(a);return g.La(a)&&0!=a.length?null!=Gd("google_companion_ad_div"):!1};
CU=function(){var a=Rd();return g.w("googletag.cmd",a)?a:null};
DU=function(a){a=void 0!==a.googleGetCompanionAdSlots?Fo(a.googleGetCompanionAdSlots)():void 0;return void 0!==a&&0<a.length?a:null};
lla=function(){this.url=null;this.height=this.width=0;this.adInfoRenderer=this.impressionTrackingUrls=this.clickTrackingUrls=null};
GU=function(){this.contentVideoId=null;this.macros={};this.imageCompanionAdRenderer=this.iframeCompanionRenderer=null};
HU=function(a,b){this.u=a;this.o=b};
mla=function(a){return a.o?jla(a.o):lf("GPT is not enalbed")};
nla=function(a){var b=new HU(a.aa,Gx(a.aa.N())&&!a.XF?new AU(a.dF):null);return{LE:function(){return b}}};
IU=function(a,b){this.o=a;this.ca=b||{};this.H=String(Math.floor(1E9*Math.random()));this.G={};this.O=0};
ola=function(a){this.w=a;this.u={};this.o=Jg()?500:g.Ix(a.N())?1E3:2500};
qla=function(a,b){if(!b.length)return null;var c=b.filter(function(d){if(!d.mimeType)return!1;d.mimeType in a.u||(a.u[d.mimeType]=a.w.canPlayType(d.mimeType));return a.u[d.mimeType]?!!d.mimeType&&"application/x-mpegurl"==d.mimeType.toLowerCase()||!!d.mimeType&&"application/dash+xml"==d.mimeType.toLowerCase()||"PROGRESSIVE"==d.delivery:!1});
return pla(a,c)};
pla=function(a,b){for(var c=null,d=g.q(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.minBitrate,k=e.maxBitrate;f>a.o||k<a.o||c&&!(f<c.minBitrate)||(c=e)}if(!c)for(c=null,d=g.q(b),e=d.next();!e.done;e=d.next())e=e.value,f=e.maxBitrate,k=e.minBitrate,f>a.o||(!c||f>c.maxBitrate?c=e:c&&f==c.maxBitrate&&k<c.minBitrate&&(c=e));if(!c)for(c=null,d=g.q(b),e=d.next();!e.done;e=d.next())e=e.value,f=e.minBitrate,k=e.maxBitrate,f<a.o||(!c||f<c.minBitrate?c=e:c&&f==c.minBitrate&&k>c.maxBitrate&&(c=e));return c};
JU=function(a,b){this.o=a;this.u=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;this.w=null};
rla=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};
KU=function(a,b,c){IU.call(this,a,rla(a));(a=c&&c.kind)||(a="AD_PLACEMENT_KIND_UNKNOWN");this.C=c;this.isPostroll="AD_PLACEMENT_KIND_END"===a;this.w=new JU(0,[]);this.F=this.V=null;this.da=b;this.U=[];this.A={};this.Z=null;this.u=0;this.J=this.P=this.B=null;b=this.o.skipOffsetMilliseconds||0;0<b&&(this.Z=b);this.A=cp(this.o.playerVars||"");if(b=this.o.external)this.U=b.mediaFiles||[],b=b.durationMilliseconds,"number"===typeof b&&(this.u=b/1E3,this.A.length_seconds=this.u.toString()),(b=qla(this.da,
this.U))?(this.P=b.uri,b=b.mimeType,this.A.url_encoded_third_party_media="url="+encodeURIComponent(this.P)+"&type="+encodeURIComponent(b)):this.J=Error("Nonplayable third party ad media file.");else if(this.B=this.A.video_id,this.V=this.A.ucid||null,this.u=mx(this.u,this.A.length_seconds),this.A.cta_conversion_urls)try{this.A.cta_conversion_urls=JSON.parse(this.A.cta_conversion_urls)}catch(d){g.N(d)}this.F=this.o.clickthroughEndpoint||null;this.w=new JU(0,[this.u])};
LU=function(a){var b=a.A||{};1<a.w.u&&(b.slot_pos=a.w.o);b.autoplay="1";return b};
MU=function(a){return 0<a.u&&7.05>=a.u};
NU=function(){IU.apply(this,arguments)};
OU=function(){this.o=[];this.w=null;this.u=0};
PU=function(a,b){b&&a.o.push(b)};
QU=function(a){if(!a)return[];var b=[];a=g.q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.loggingUrls){c=g.q(c.loggingUrls);for(var d=c.next();!d.done;d=c.next())b.push({baseUrl:d.value.baseUrl})}return b};
RU=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};
SU=function(a){return a&&a.adVideoOffset&&a.adVideoOffset.percent||0};
TU=function(a){return"AD_VIDEO_PROGRESS_KIND_PERCENT"==a.adVideoOffset.kind};
sla=function(a){a=a.playbackCommands;if(!a)return{};var b={};b.impression=QU(a.impressionCommands)||[];b.error=QU(a.errorCommands)||[];b.mute=QU(a.muteCommands)||[];b.unmute=QU(a.unmuteCommands)||[];b.pause=QU(a.pauseCommands)||[];b.rewind=QU(a.rewindCommands)||[];b.resume=QU(a.resumeCommands)||[];b.skip=QU(a.skipCommands)||[];b.close=QU(a.closeCommands)||[];b.clickthrough=QU(a.clickthroughCommands)||[];b.fullscreen=QU(a.fullscreenCommands)||[];b.active_view_viewable=QU(a.activeViewViewableCommands)||
[];b.active_view_measurable=QU(a.activeViewMeasurableCommands)||[];b.active_view_fully_viewable_audible_half_duration=QU(a.activeViewFullyViewableAudibleHalfDurationCommands)||[];b.end_fullscreen=QU(a.endFullscreenCommands)||[];b.channel_clickthrough=QU(a.channelClickthroughCommands)||[];b.abandon=QU(a.abandonCommands)||[];b.progress=RU(a.progressCommands.filter(function(c){return"AD_VIDEO_PROGRESS_KIND_MILLISECONDS"==c.adVideoOffset.kind}));
b.start=RU(a.progressCommands.filter(function(c){return TU(c)&&vd(SU(c),0)}));
b.first_quartile=RU(a.progressCommands.filter(function(c){return TU(c)&&vd(SU(c),.25)}));
b.midpoint=RU(a.progressCommands.filter(function(c){return TU(c)&&vd(SU(c),.5)}));
b.third_quartile=RU(a.progressCommands.filter(function(c){return TU(c)&&vd(SU(c),.75)}));
b.complete=RU(a.progressCommands.filter(function(c){return TU(c)&&vd(SU(c),1)}));
return b};
UU=function(a){IU.call(this,a,sla(a));this.u=a.questions?a.questions.reduce(function(b,c){var d=c.instreamSurveyAdSingleSelectQuestionRenderer||c.instreamSurveyAdMultiSelectQuestionRenderer;return d?b+(d.surveyAdQuestionCommon.durationMilliseconds||0)/1E3:b},0):0};
VU=function(a,b,c,d){this.id=b;this.J=a.placementStartPings||[];this.H=a.placementEndPings||[];this.u=d.Rc;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.w=(this.C=e.getAdBreakUrl||"")?0:2;d.o=parseInt(e.prefetchMilliseconds,10)||0;d.visible=!b.hideCueRangeMarker;var f=iU(b,d);if(null==f)d=new fU(b,new Fi(-1,-1),!1,"adcuerange:invalid",
2),d.o=!0,d=[null,d];else{e=":"+(hn.getInstance().o++).toString(36);var k=d.Tb||d.Rc;f=new fU(b,f,d.visible&&!k,"adcuerange:"+e,2);k=null;if(d.Rc||0<d.o){var l=iU(b,d,!0);l&&(k=new fU(b,l,!1,"prefetch:"+e,d.A?3:2),f.A=k,k.A=f)}d=[k,f]}this.O=d[0];this.P=d[1];this.o=c;this.F=!1;this.B={};this.G={};this.A=void 0===a.driftRecoveryMs?null:parseInt(a.driftRecoveryMs,10)};
WU=function(a){return"AD_PLACEMENT_KIND_MILLISECONDS"==a.xb().w||"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"==a.xb().w};
XU=function(a){return"AD_PLACEMENT_KIND_START"==a.xb().w};
ZU=function(a){var b={};tla(a,b);ula(b);b.LACT=YU(function(){return Wq().toString()});
b.VIS=YU(function(){return a.getVisibilityState().toString()});
b.SDKV="h.3.0";b.VOL=YU(function(){return a.isMuted()?"0":Math.round(a.getVolume()).toString()});
b.VED="";return b};
$U=function(a){var b=Object.assign({},{});b.MIDROLL_POS=WU(a)?YU(mc(Math.round(a.xb().start/1E3).toString())):YU(mc("0"));return b};
aV=function(){var a=Object.assign({},{});a.FINAL=YU(mc("1"));a.SLOT_POS=YU(mc("0"));return a};
vla=function(a){var b={};b.SLOT_POS=YU(mc(a.w.o.toString()));return b};
bV=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};
YU=function(a){return{toString:function(){return a()}}};
cV=function(a){for(var b={},c=g.q(wla),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d];e&&(b[d]=e.toString())}return b};
dV=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];c={};Object.assign.apply(Object,[c].concat(g.na(b)));return c};
xla=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]=k(n))}
if(!b||g.ac(b))return a;var f=Object.assign({},a),k=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};
tla=function(a,b){b.CPN=YU(function(){var c;(c=a.getVideoData(1))?c=c.clientPlaybackNonce:(Dp(Error("Video data is null.")),c=null);return c});
b.AD_MT=YU(function(){return eV(a,2)});
b.MT=YU(function(){return eV(a,1)});
b.P_H=YU(function(){return g.pL(a).getPlayerSize().height.toString()});
b.P_W=YU(function(){return g.pL(a).getPlayerSize().width.toString()});
b.PV_H=YU(function(){return g.pL(a).getVideoContentRect().height.toString()});
b.PV_W=YU(function(){return g.pL(a).getVideoContentRect().width.toString()})};
eV=function(a,b){var c=1E3*a.getCurrentTime(b,!1);return Math.round(Math.max(0,c)).toString()};
ula=function(a){a.CONN=YU(mc("0"));a.WT=YU(function(){return Date.now().toString()})};
yla=function(a){switch(a){case "fully_viewable_audible_half_duration_impression":return"j";case "measurable_impression":return"e";case "overlay_unmeasurable_impression":return"k";case "overlay_unviewable_impression":return"l";case "overlay_viewable_end_of_session_impression":return"m";case "overlay_viewable_immediate_impression":return"n";case "viewable_impression":return"s";default:return null}};
fV=function(){g.Q.call(this);var a=this;this.o={};g.le(this,function(){return Object.keys(a.o).forEach(function(b){return delete a.o[b]})})};
hV=function(){if(null===gV){gV=new fV;Cm.getInstance().o="b";var a=Cm.getInstance(),b="h"==jm(a)||"b"==jm(a),c=!(Ci.getInstance(),!1);b&&c&&(a.B=!0,a.C=new Bca)}return gV};
zla=function(a,b){Object.keys(a.o).forEach(function(c){a.o[c]===b&&delete a.o[c]})};
iV=function(){};
jV=function(a){this.o=a};
kV=function(a){g.B.call(this);var b=this;this.u=a;this.o=null;g.le(this,function(){return b.o=null})};
mV=function(a){return lV(a)&&1==a.getPlayerState(2)};
lV=function(a){a=a.rb();return void 0!==a&&2==a.getPlayerType()};
nV=function(a){a=a.N();return Gx(a)&&!g.Ux(a)&&"desktop-polymer"==a.playerStyle};
oV=function(a,b){var c=a.N();zx(c)||"3"!=c.controlsType||(c=g.pL(a),zx(c.app.N()),c.C=!b,AS(c))};
Ala=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};
Bla=function(a){this.o=a;var b=Cm.getInstance();a=a.Ob();b.A!==a&&((b.A=a)||jda(b))};
pV=function(a,b,c,d,e,f,k){f=void 0===f?new uU(new jV(d.getVideoData(1))):f;k=void 0===k?!1:k;g.B.call(this);this.u=a;this.H=b;this.w=c;this.o=d;this.G=e;this.C=f;this.F=Array.from(this.u.ca.progress||[]);this.F.sort(function(l,m){return l.offsetMilliseconds-m.offsetMilliseconds});
this.A={dv:.25,Av:.5,Gv:.75};this.B=null;this.J=k};
vV=function(a,b,c){!qV(a)&&0<c&&(rV(a,b),sV(a)?tV(a,b,c):uV(a,b,c))};
zV=function(a){if(sV(a)){var b=a.o.getCurrentTime(2,!1);wV(a,"impression",b,0)}else xV(a,"impression");xV(a,"start");qV(a)||a.o.isFullscreen()&&yV(a,"fullscreen")};
AV=function(a,b){qV(a)||(sV(a)?(rV(a,0,!0),tV(a,b,b)):(rV(a,0,!0),uV(a,0,0,!0)),xV(a,"complete"))};
Cla=function(a,b){b&&b.forEach(function(c){c.baseUrl&&a.C.send(c.baseUrl,BV(a),{})})};
rV=function(a,b,c){for(c=void 0===c?!1:c;a.u.O<a.F.length;){var d=CV(a,"progress"),e=a.F[a.u.O];if(e.offsetMilliseconds<=1E3*b||c)(e=e.baseUrl)&&a.C.send(e,BV(a),d),a.u.O++;else break}};
uV=function(a,b,c,d){d=void 0===d?!1:d;(b>=c*a.A.dv||d)&&xV(a,"first_quartile");(b>=c*a.A.Av||d)&&xV(a,"midpoint");(b>=c*a.A.Gv||d)&&xV(a,"third_quartile")};
wV=function(a,b,c,d){if(null==a.B){if(c<d||1<c-d)return}else if(a.B>d||d>c)return;xV(a,b)};
tV=function(a,b,c){if(0<c&&0<b){var d=g.sL(a.o,a.o.getPresentingPlayerType());g.W(d,16)||g.W(d,32)||(wV(a,"first_quartile",b,c*a.A.dv),wV(a,"midpoint",b,c*a.A.Av),wV(a,"third_quartile",b,c*a.A.Gv))}a.B=b};
yV=function(a,b){for(var c=CV(a,b),d=g.q(a.u.ca[b]||[]),e=d.next();!e.done;e=d.next())(e=e.value.baseUrl)&&a.C.send(e,BV(a),c);a.u.G[b]=!0};
xV=function(a,b){a.u.G.hasOwnProperty(b)||yV(a,b)};
DV=function(a,b){return a.u.G.hasOwnProperty(b)};
BV=function(a){for(var b={},c=ZU(a.o),d=g.q(Object.keys(c)),e=d.next();!e.done;e=d.next())e=e.value,b[e]=c[e].toString();return Object.assign(b,a.w)};
CV=function(a,b){var c=a.H;var d=a.u;if(d.Sk()){var e=Ala(b);if(null==e)d={};else{var f;(f=d.S()())||(f=(f=c.o)&&f.rb?(f=f.rb())&&2==f.getPlayerType()?dK(f):null:null);f?(c={opt_adElement:f,opt_fullscreen:c.o.isFullscreen()},d=Jm(e,d.H,c)):d={}}}else d={};return d?Object.assign({},d):{}};
EV=function(a,b){switch(b){case "action-companion":case "shopping-companion":case "image-companion":case "videowall-companion":case "ads-engagement-panel":if(2==a.o.getPresentingPlayerType())a.o.sendVideoStatsEngageEvent(1,void 0,2);else if(a.G){var c=a.G.o;c&&c()}else g.N(Error("trackCompanionEngagement is called butcompanionEngagementHandler is null"),"ERROR")}};
sV=function(a){return!g.R(a.o.N().experiments,"html5_bulleit_dai_logging_policy_upg_livestream_killswitch")&&a.J};
qV=function(a){return sV(a)&&!DV(a,"impression")};
FV=function(a){return sV(a)&&DV(a,"seek")};
Dla=function(a){this.o=a};
GV=function(a,b,c,d,e,f){f=void 0===f?0:f;g.Q.call(this);this.aa=a;this.wb=d;this.u=e;this.u.o[b.H]=this;this.u.subscribe("e",this.vB,this);this.u.subscribe("j",this.wB,this);this.u.subscribe("k",this.xB,this);this.u.subscribe("l",this.yB,this);this.u.subscribe("m",this.zB,this);this.u.subscribe("n",this.AB,this);this.u.subscribe("s",this.BB,this);this.C=b;this.O=[];this.macros=c;this.F=!1;a=new Dla(this.aa.N());0==f||1==f&&(a.o.o||g.Ux(a.o)||g.Ix(a.o)||Kx(a.o)||!g.Xx)?f=!0:(f=g.Jd("video-ads"),f=
null!=f&&"none"!=yh(f,"display"));this.S=!f};
HV=function(a){a.S?a.Ub("ui_unstable"):a.ac()};
JV=function(a,b){kb(a.O,b);IV(a,b,1)};
KV=function(a){a=a.wb;a.w=dV(a.w,bV(0,"No playable media files can be selected"));xV(a,"error")};
IV=function(a,b,c){0!=b.length&&(b=(0,g.A)(b,function(d){return new lU(d,c,d.id)}),a.R("onAdUxUpdate",b))};
LV=function(a){return(a=a.aa.getVideoData(2))&&a.clientPlaybackNonce||""};
MV=function(){IU.apply(this,arguments)};
NV=function(a,b){kU.call(this,"action-companion",a,b)};
OV=function(a,b,c,d,e){GV.call(this,a,b,c,d,e);this.o=null};
PV=function(a,b){var c=b.renderer;return c&&c.adVideoId==a.videoId};
QV=function(a,b,c){if(!g.R(a.aa.N().experiments,"populate_companion_metadata_from_vms_html5")){if(!c.renderer.actionButton&&!b.isListed)return;var d=c.renderer,e=d.iconImage&&d.iconImage.thumbnail&&d.iconImage.thumbnail.thumbnails||null;e&&e.length&&g.zb(g.fd(e[0].url))&&(e[0].url=b.Qd);(e=d.bannerImage&&d.bannerImage.thumbnail&&d.bannerImage.thumbnail.thumbnails||null)&&e.length&&g.zb(g.fd(e[0].url))&&(e[0].url=b.channelBanner);e=d.headline;null!=e&&g.zb(g.fd(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.Nf))}JV(a,[c])};
Ela=function(a){var b={};b.abandon=a.abandonCommands&&QU(a.abandonCommands.commands)||[];return b};
RV=function(a){IU.call(this,a,Ela(a))};
SV=function(a,b){kU.call(this,"ad-action-interstitial",a,b)};
TV=function(a,b,c,d,e,f){GV.call(this,a,b,c,d,e,1);this.w=b;this.o=b.o.durationMilliseconds||0;this.Da=null;this.A=f};
UV=function(a,b){kU.call(this,"ad-choice-interstitial",a,b)};
VV=function(a,b,c,d,e){GV.call(this,a,b,c,d,e,1);this.o=b};
WV=function(a){IU.call(this,a);this.u=cp(this.o.playerVars||"")};
XV=function(){IU.apply(this,arguments)};
YV=function(){IU.apply(this,arguments)};
Fla=function(a){a=a.impressionUrls;var b={};a&&(b.impression=a);return b};
ZV=function(a){IU.call(this,a,Fla(a))};
$V=function(){IU.apply(this,arguments)};
aW=function(){IU.apply(this,arguments)};
bW=function(){IU.apply(this,arguments)};
cW=function(){IU.apply(this,arguments)};
dW=function(){IU.apply(this,arguments)};
eW=function(){IU.apply(this,arguments)};
fW=function(a,b,c,d,e,f,k,l,m,n,p,t,u,z,C){this.V=a;this.G=b;this.F=c;this.P=d;this.O=e;this.J=f;this.u=k;this.H=l;this.o=m;this.U=n;this.S=p;this.w=t;this.B=u;this.A=z;this.C=C};
gW=function(a,b,c,d,e,f){GV.call(this,a,b,c,d,e);var k=this;this.A=b;this.o=new g.J(function(){k.Ub("load_timeout")},1E4);
g.H(this,this.o);this.B=f;this.w=new g.P(this);g.H(this,this.w)};
hW=function(a){kU.call(this,"ad-message",a)};
iW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e);var f=this;this.A=b;this.B=b.o.durationMs||0;this.w=this.o=0;this.G=function(){var k=f.aa.getProgressState().current;k<f.o?f.Cc():k>f.w&&f.Vc()}};
jW=function(a,b){kU.call(this,"ads-engagement-panel",a,b)};
kW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e)};
lW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e)};
mW=function(a,b){kU.call(this,"invideo-overlay",a,b)};
nW=function(a,b){kU.call(this,"invideo-overlay-as-cta",a,b)};
oW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e);this.o=b};
pW=function(a,b){kU.call(this,"persisting-overlay",a,b)};
qW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e);this.o=b};
rW=function(a){return a?g.gA(a):null};
sW=function(a){if(!a)return[];a=a.loggingUrls;if(!a)return[];a=a.map(function(b){return b.baseUrl});
return 0===a.length?[]:a};
Hla=function(a){return a.cancelRenderer&&a.cancelRenderer.buttonRenderer?(a=a.cancelRenderer.buttonRenderer.serviceEndpoint)&&a.muteAdEndpoint?a:null:null};
tW=function(a){var b={};b.baseUrl=a;return{loggingUrls:[b],pingingEndpoint:{hack:!0}}};
uW=function(a,b,c,d,e){this.u=a;this.w=b;this.o=ZU(d);this.A=c;this.C=d;this.B=e};
wW=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?vW(a,e):a.A.Og()};
b.skipShown=function(){vW(a,d.adRendererCommands&&d.adRendererCommands.impressionCommand)}}};
xW=function(a,b,c){if(c.button&&c.button.buttonRenderer&&(!c.button.buttonRenderer.command||!c.button.buttonRenderer.command.adInfoDialogChoiceEndpoint)&&c.button.buttonRenderer.serviceEndpoint&&c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint){var d=c.button.buttonRenderer.serviceEndpoint.adInfoDialogEndpoint.dialog;d&&d.adInfoDialogRenderer&&(Ila(a,b,d.adInfoDialogRenderer),b.whyThisAdInfo.menuTitle=rW(c.hoverText)||"",d.adInfoDialogRenderer.muteAdRenderer&&(c=d.adInfoDialogRenderer.muteAdRenderer.buttonRenderer)&&
Jla(a,b,c))}};
vW=function(a,b){if(b){var c=yW(a);g.La(b)?b.forEach(function(d){return a.u.executeCommand(d,c)}):a.u.executeCommand(b,c)}};
Ila=function(a,b,c){var d=rW(c.confirmLabel)||"",e=rW(c.title)||"",f=c.adReasons?c.adReasons.map(function(k){return rW(k)||""}):[];
b.whyThisAdInfo={closeButton:d,menuTitle:"",targetingReasonHeader:e,targetingReasons:f,adSettingsLink:null,cancelButton:null,continueButton:null,controlText:null};b.whyThisAdClicked=function(){vW(a,c.impressionEndpoints)};
b.whyThisAdClosed=function(){vW(a,c.confirmServiceEndpoint)}};
Jla=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:rW(c.text)||"",surveyOptions:[]};b.muteAdInfo=e;c=sW(c.navigationEndpoint);var f=tW(c[1]),k=[tW(c[0])];(c=Hla(d))&&k.push(c);var l=!1;b.muteAdClicked=function(){l=!0;vW(a,f)};
b.muteAd=function(){l||vW(a,f);l=!1;vW(a,k)};
Kla(b,d)}}};
Kla=function(a,b){a.muteAdInfo.goneText=rW(b.title)||"";a.muteAdInfo.questionText=rW(b.reasonsTitle)||"";b.undoRenderer&&(a.muteAdInfo.undoText=rW(b.undoRenderer.buttonRenderer.text)||"");for(var c=a.muteAdInfo.surveyOptions,d=g.q(b.reasons||[]),e=d.next();!e.done;e=d.next()){var f=e.value;e=rW(f.reason)||"";f=sW(f.endpoint);c.push({label:e,url:f[0]})}};
yW=function(a){if(g.R(a.C.N().experiments,"dynamic_command_macro_resolution_on_tvhtml5_killswitch"))return a.w;for(var b={},c=g.q(Object.keys(a.o)),d=c.next();!d.done;d=c.next())d=d.value,b[d]=a.o[d].toString();return Object.assign(b,a.w)};
zW=function(){return{adNextParams:"",adSystem:0,attributionInfo:null,clickThroughUrl:"",executeCommand:function(){},
instreamAdPlayerOverlayRenderer:null,instreamSurveyAdRenderer: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(){}}};
Lla=function(a,b,c,d,e,f){this.o=c;this.u=new uW(a,b,d,e,f)};
Mla=function(a,b,c){var d=zW();d.instreamAdPlayerOverlayRenderer=b;c&&(d.adNextParams=c);d.executeCommand=function(e){vW(a.u,e)};
if(b.skipOrPreviewRenderer)switch(Object.keys(b.skipOrPreviewRenderer)[0]){case "skipAdRenderer":wW(a.u,d,b.skipOrPreviewRenderer.skipAdRenderer)}if(b.adInfoRenderer)switch(Object.keys(b.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":xW(a.u,d,b.adInfoRenderer.adHoverTextButtonRenderer)}d.isBumper=MU(a.o)&&!d.isSkippable;d.isPostroll=a.o.isPostroll;a.o.isSkippable();b=a.o.B;c=a.o.getVideoUrl();b?d.videoId=b:c&&(d.videoUrl=c);if(b=(b=a.o.F)&&b.urlEndpoint)d.clickThroughUrl=b.url||"";d.sendAdsPing=
function(e){a.u.sendAdsPing(e)};
return d};
AW=function(a,b){kU.call(this,"pla-shelf",a,b)};
BW=function(a,b,c,d,e){GV.call(this,a,b,dV(c,{TRIGGER_TYPE:"YOUTUBE_SHELF_SHOW"}),d,e);this.o=b};
CW=function(a,b){kU.call(this,"shopping-companion",a,b)};
DW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e)};
Nla=function(a,b,c,d,e){this.o=new uW(a,b,c,d,e)};
Pla=function(a,b){var c=zW();c.instreamSurveyAdRenderer=b;c.executeCommand=function(e){vW(a.o,e)};
var d=Ola(b);if(d.skipOrPreviewRenderer)switch(Object.keys(d.skipOrPreviewRenderer)[0]){case "skipAdRenderer":wW(a.o,c,d.skipOrPreviewRenderer.skipAdRenderer)}if(d.adInfoRenderer)switch(Object.keys(d.adInfoRenderer)[0]){case "adHoverTextButtonRenderer":xW(a.o,c,d.adInfoRenderer.adHoverTextButtonRenderer)}c.sendAdsPing=function(e){a.o.sendAdsPing(e)};
return c};
Ola=function(a){var b={};if(!a.questions||0===a.questions.length)return b;a=(a.questions[0].instreamSurveyAdSingleSelectQuestionRenderer||a.questions[0].instreamSurveyAdMultiSelectQuestionRenderer).surveyAdQuestionCommon;return(a=a.instreamAdPlayerOverlay&&a.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)?a:b};
GW=function(a,b,c){g.Q.call(this,!0);var d=this;this.C=b;this.B=c;this.u=a;this.Da=new g.Af(200);this.Da.ia("tick",function(){var e=Date.now(),f=e-d.A;d.A=e;d.o+=f;d.o>=d.u&&(d.o=d.u,d.Da.stop());e=d.o/1E3;d.B&&EW(d.B,e);FW(d,{current:e,duration:d.u/1E3})});
g.H(this,this.Da);this.o=0;this.w=null;g.le(this,function(){d.w=null});
this.A=0};
FW=function(a,b){a.C.ka("onAdPlaybackProgress",b);a.w=b};
HW=function(a){kU.call(this,"survey",a)};
Qla=function(a,b,c){return g.R(b.N().experiments,"enable_external_player_ad_playback_progress_html5")?new GW(1E3*a.u,b,c):null};
IW=function(a,b,c,d,e,f,k){GV.call(this,a,b,c,d,e,1);var l=this;this.A=b;this.w=new g.P;g.H(this,this.w);this.w.L(this.aa,"resize",function(){450>g.pL(l.aa).getPlayerSize().width&&(g.vr(l.w),l.Cc())});
this.G=f;this.B=k(this);if(this.o=Qla(b,a,f))g.H(this,this.o),this.w.L(a,"onAdPlaybackProgress",function(m){m.current===m.duration&&(m=l.A.o,(m=m.questions&&m.questions[0])?(m=(m=m.instreamSurveyAdMultiSelectQuestionRenderer||m.instreamSurveyAdSingleSelectQuestionRenderer)&&m.surveyAdQuestionCommon,vW(l.B.o,m&&m.timeoutCommands)):Cp(Error("Expected a survey question in InstreamSurveyAdRenderer.")))})};
JW=function(a,b){kU.call(this,"survey-interstitial",a,b)};
KW=function(a,b,c,d,e){GV.call(this,a,b,c,d,e,1);this.o=b};
LW=function(a){kU.call(this,"ad-text-interstitial",a)};
MW=function(a,b,c,d,e,f){GV.call(this,a,b,c,d,e);this.w=b;this.o=b.o.durationMilliseconds||0;this.Da=null;this.A=f};
NW=function(a,b){g.B.call(this);this.A=Math.max(0,a);this.w=this.u=0;this.B=b;this.o=null};
OW=function(a){a.o&&(a.o.stop(),a.o.dispose(),a.o=null)};
PW=function(){kU.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=this.o=null};
QW=function(a){a=void 0===a?null:a;kU.call(this,"ad-channel-thumbnail");this.channelIconThumbnailUrl=a};
RW=function(a){a=void 0===a?null:a;kU.call(this,"ad-title");this.videoTitle=a};
SW=function(a){a=void 0===a?null:a;kU.call(this,"advertiser-name");this.channelName=a};
TW=function(a){kU.call(this,"player-overlay",a)};
UW=function(a){kU.call(this,"skip-button",a)};
VW=function(a){kU.call(this,"visit-advertiser",a);var b={};var c=a.text;a=a.navigationEndpoint;null!=c&&null!=c.runs&&null!=a?(b.runs=[g.dc(c.runs[0])],b.runs[0].navigationEndpoint=a):(b={text:"Reklamverenin sitesini ziyaret et"},a&&(b.navigationEndpoint=a),b={runs:[b]});this.visitAdvertiserLabel=b};
WW=function(a,b,c,d,e,f,k,l,m,n,p){GV.call(this,a,b,c,d,e,1);var t=this;this.U=n;this.o=b;this.A=k;this.V=new g.P(this);g.H(this,this.V);this.G=new g.J(function(){t.Ub("load_timeout")},g.R(a.N().experiments,"use_variable_load_timeout")?g.S(a.N().experiments,"variable_load_timeout_ms"):1E4);
g.H(this,this.G);this.w=null;g.R(a.N().experiments,"enable_bulleit_buffer_timer")&&(this.w=new NW(g.R(a.N().experiments,"use_variable_buffer_timeout")?g.S(a.N().experiments,"variable_buffer_timeout_ms"):15E3,function(){t.Ub("buffer_timeout")}),g.H(this,this.w));
this.ea=!g.R(a.N().experiments,"bulleit_unstarted_event_killswitch");this.J=!1;this.da=m(this);this.ca=f;this.H=l;this.B=p;this.P=this.Z=!1};
ZW=function(a,b){if(XW(a)&&a.P){a.P=!1;var c=a.o.C,d=a.o.w;Rla(a.U,YW(a),b,c?c.kind:void 0,d.o,d.u)}};
XW=function(a){return $W(a.B)||aX(a.B)||bX(a.B)||cX(a.B)};
dX=function(a){return(a=a.aa.getVideoData(2))?a.clientPlaybackNonce:""};
YW=function(a){if(a=a.o.o.elementId)return a;Cp(Error("No elementId on VideoAd InstreamVideoAdRenderer"));return""};
eX=function(a){var b=new PW;b.adBadgeText="Reklam";var c=a.o.w;1<c.u&&(b.adPodPositionInfoString=g.JM("$AD_INDEX / $ADS_COUNT",{AD_INDEX:String(c.o+1),ADS_COUNT:String(c.u)}));b.adBreakLengthSeconds=c.adBreakLengthSeconds;b.adBreakRemainingLengthSeconds=c.adBreakRemainingLengthSeconds;b.adPodPosition=c.o+1;b.adPodLength=c.u;null!==c.w&&(b.o=c.w/1E3);if(a=a.o.B)b.adVideoId=a;return b};
hX=function(a){var b=a.o.o,c=b.playerOverlay&&b.playerOverlay.instreamAdPlayerOverlayRenderer;c||(c={});var d=a.aa.N();if(g.Ux(d)&&!c.skipOrPreviewRenderer){var e=a.aa.getDuration(2);isFinite(e)&&33<e&&!a.o.isSkippable()&&!g.Ux(d)&&Cp(new Bp("Instream ad is skippable by length, but was was marked nonskippable.",{adLengthSecs:e,IVAR:b}));d={};a.o.isSkippable()&&!MU(a.o)?d.skipAdRenderer=fX(a):d.adPreviewRenderer=gX(a,!1,MU(a.o));c.skipOrPreviewRenderer=d}c.skipOrPreviewRenderer&&g.ac(c.skipOrPreviewRenderer)&&
Cp(new Bp("IAPOR.skipOrPreview was filled, but empty.",b));return c};
fX=function(a){var b={preskipRenderer:{}};b.preskipRenderer.adPreviewRenderer=gX(a,!0,!1);b.skippableRenderer={};a=b.skippableRenderer;var c={message:{}};c.message.text="Reklam\u0131 Atla";a.skipButtonRenderer=c;return b};
gX=function(a,b,c){var d=a.aa.getVideoData(1),e={};if(b||c){var f={},k={};c=c?g.JM("Videonuz $TIME_REMAINING saniye i\u00e7inde ba\u015flayacak",{NEW_LINE:"\n",TIME_REMAINING:"{TIME_REMAINING}"}):g.JM("$TIME_REMAINING saniye i\u00e7inde videoya atlayabilirsiniz",{NEW_LINE:"\n",TIME_REMAINING:"{TIME_REMAINING}"});k.text=c;k.isTemplated=!0;f.templatedAdText=k;e.templatedCountdown=f}else f={},k=g.JM("Video reklamdan sonra oynat\u0131lacak",{NEW_LINE:"\n"}),f.text=k,f.isTemplated=!1,e.staticPreview=f;
b&&(e.durationMilliseconds=5E3);e.thumbnail={};b=e.thumbnail;f={};f.url=Px(a.aa.N(),d.videoId,"mqdefault.jpg");f.width=320;f.height=180;b.thumbnail={thumbnails:[f]};return e};
Sla=function(a){function b(E,G){return dV(a.YN,cV(aV()),G)}
function c(E){return null==E?{create:function(){return null}}:{create:function(G,F){var ka=b(G,F),X=a.im(G,ka);
ka=E(G,ka,X);g.H(ka,X);return ka}}}
var d=c(function(E,G,F){return new oW(a.aa,E,G,F,a.Sc)}),e=c(function(E,G,F){return new lW(a.aa,E,G,F,a.Sc)}),f=c(function(E,G,F){return new DW(a.aa,E,G,F,a.Sc)}),k=c(function(E,G,F){return new BW(a.aa,E,G,F,a.Sc)}),l=c(function(E,G,F){return new TV(a.aa,E,G,F,a.Sc,a.oa)}),m=c(function(E,G,F){return new qW(a.aa,E,G,F,a.Sc)}),n=aX(a.Yb)?c(null):c(function(E,G,F){return new OV(a.aa,E,G,F,a.Sc)}),p=c(function(E,G,F){return new MW(a.aa,E,G,F,a.Sc,a.oa)}),t=c(function(E,G,F){return new KW(a.aa,E,G,F,a.Sc)}),
u=c(function(E,G,F){return new VV(a.aa,E,G,F,a.Sc)}),z=c(function(E,G,F){return new iW(a.aa,E,G,F,a.Sc,a.oa)}),C=c(function(E,G,F){return new gW(a.aa,E,G,F,a.Sc,a.oa)}),D=c(function(E,G,F){return new kW(a.aa,E,G,F,a.Sc)});
this.o=new fW({create:function(E,G){var F=dV(b(E,G),cV(vla(E))),ka=a.im(E,F),X=new WW(a.aa,E,F,ka,a.Sc,a.eE,a.oa,a.Tb,function(Cb){return new Lla(a.oa,F,E,Cb,a.aa,a.gh)},a.mg,a.Yb);
g.H(X,ka);return X}},d,e,f,{create:function(E,G){var F=a.im(E,G),ka=new IW(a.aa,E,G,F,a.Sc,a.oa,function(X){return new Nla(a.oa,G,X,a.aa,a.gh)});
g.H(ka,F);return ka}},k,l,m,n,p,t,u,z,C,D)};
iX=function(a){this.u=a;this.o={}};
jX=function(a){a=void 0===a?null:a;g.Q.call(this,!0);this.u=a;this.A=-Infinity;this.w={};this.o=null};
lX=function(a){null!==a.o&&(kX(a,a.o),a.o=null);a.u=null};
kX=function(a,b){b>=a.u.end||(a.u.end=b,a.R("Shortened the latest cuerange",b))};
mX=function(a){g.B.call(this);this.o=[];var b=a.subscribe("Shortened the latest cuerange",this.u,this);g.le(this,function(){a.og(b)})};
nX=function(a){g.B.call(this);this.o=new mX(a.QN);g.H(this,this.o);this.u=new iX(a.lE)};
oX=function(){IU.apply(this,arguments)};
Tla=function(a,b,c){this.w=a;this.o=b;this.u=c;this.A=a.getCurrentTime()};
Vla=function(a,b){var c=void 0===c?Date.now():c;if(a.u)for(var d=a.o.clientPlaybackNonce,e=g.q(b),f=e.next();!f.done;f=e.next()){f=f.value;var k=c;pX({cuepointTrigger:{type:"CUEPOINT_TYPE_AD",event:Ula(f.event),cuepointId:f.identifier,totalCueDurationMs:1E3*f.durationSecs,playheadTimeMs:f.o,cueStartTimeMs:1E3*f.startSecs,cuepointReceivedTimeMs:k,contentCpn:d}});"unknown"===f.event&&qX("DAI_ERROR_TYPE_CUEPOINT_WITH_INVALID_EVENT",d);f=f.startSecs+f.o/1E3;f>a.A&&a.w.getCurrentTime()>f&&qX("DAI_ERROR_TYPE_LATE_CUEPOINT",
d)}};
Wla=function(a,b,c){a.u&&pX({daiStateTrigger:{totalCueDurationMs:b,filledAdsDurationMs:c,contentCpn:a.o.clientPlaybackNonce}})};
rX=function(a,b){a.u&&pX({driftRecoveryInfo:{contentCpn:a.o.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,driftRecoveryMs:b.driftRecoveryMs.toString(),breakDurationMs:Math.round(b.Cy-b.iB).toString(),driftFromHeadMs:Math.round(1E3*HT(a.w.app)).toString()}})};
Xla=function(a,b){a.u&&pX({adTrimmingInfo:{contentCpn:a.o.clientPlaybackNonce,cueIdentifier:b.cueIdentifier||void 0,adMediaInfo:b.UD}})};
qX=function(a,b){pX({daiStateTrigger:{errorType:a,contentCpn:b}})};
pX=function(a){hr("adsClientStateChange",a)};
Ula=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"}};
sX=function(a){this.u=a;this.Z=(a=!g.R(this.u.N().experiments,"html5_ad_csi_tracker_initialization_killswitch"))?this.u.N().deviceParams.c:g.M("INNERTUBE_CLIENT_NAME",void 0);this.ca=a?this.u.N().deviceParams.cver:g.M("INNERTUBE_CLIENT_VERSION",void 0);this.U=a?this.u.N().deviceParams.cbrand:"";this.V=a?this.u.N().deviceParams.cmodel:"";this.J="AD_PLACEMENT_KIND_UNKNOWN";this.B=this.H=this.F=this.C=null;this.o="unknown_type";this.P=!0;this.O=this.w=this.G=!1;this.S="vod";this.A=null};
tX=function(a){a.C=null;a.F=null;a.H=null;a.B=null;a.A=null;a.J="AD_PLACEMENT_KIND_UNKNOWN";a.o="unknown_type";a.G=!1;a.w=!1};
uX=function(a){a.w=!1;UA("ad_to_video",["pbresume"],void 0)};
Yla=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"}};
vX=function(a){this.o=a};
wX=function(a){a=[a,a.A].filter(function(d){return!!d});
for(var b=g.q(a),c=b.next();!c.done;c=b.next())c.value.o=!0;return a};
yX=function(a,b){var c=a.o;g.Ye(function(){return xX(c,b,1)})};
zX=function(a,b,c,d,e,f,k,l){g.Q.call(this);this.yc=a;this.aa=b;this.o=d;this.B=this.o.o instanceof IU?this.o.o:null;this.u=null;this.P=!1;this.F=c;this.J=(a=b.getVideoData(1))&&a.ua||!1;this.S=0;this.U=!1;this.V=g.R(b.N().experiments,"abort_ad_on_browser_autoplay_blocked");this.Ie=e;this.Oi=f;this.Ag=k;this.O=!1;this.Tb=l};
AX=function(a){if(lV(a.aa)){var b=a.aa.getVideoData(2);(b=a.o.G[b.Cb]||null)?(!a.u||a.u&&a.u.C!==b)&&a.ac(b):a.Eo()}else 1===a.aa.getPresentingPlayerType()&&a.u&&a.Eo()};
BX=function(a){(a=a.baseUrl)&&g.Qp(a,void 0,dn(a))};
CX=function(a,b){var c=a.F,d=a.o.xb().w,e=a.dx(),f=a.fx();var k=a.isLiveStream()?"live":"vod";tX(c);var l=c.u.getVideoData(1),m=c.u.getVideoData(2);l&&(c.C=l.clientPlaybackNonce,c.H=l.videoId);m&&(c.F=m.clientPlaybackNonce,c.B=m.videoId,c.A=m.adFormat);c.J=d;0>=f?tX(c):(c.o=c.P?b?"unknown_type":"video_to_ad":b?"ad_to_video":"ad_to_ad",c.S=k,c.O=e+1==f,c.G=!0,c.G&&($A("c",c.Z,c.o),$A("cver",c.ca,c.o),g.R(c.u.N().experiments,"html5_ad_csi_tracker_initialization_killswitch")||($A("cbrand",c.U,c.o),$A("cmodel",
c.V,c.o)),$A("yt_pt","html5",c.o),$A("yt_pre","2",c.o),$A("yt_abt",Yla(c.J),c.o),c.C&&$A("cpn",c.C,c.o),c.H&&$A("docid",c.H,c.o),c.F&&$A("ad_cpn",c.F,c.o),c.B&&$A("ad_docid",c.B,c.o),$A("yt_vst",c.S,c.o),c.A&&$A("ad_at",c.A,c.o)))};
EX=function(a,b){b=void 0===b?!1:b;DX(a.yc,a.o.xb(),a);b||ir("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED");a.Tb&&!a.o.F&&(Zla(a,a.gx()),a.o.F=!0)};
Zla=function(a,b){for(var c=FX(a),d=a.o.xb().start,e=[],f=g.q(b),k=f.next();!k.done;k=f.next()){k=k.value;if(c<=d)break;var l=GX(k);e.push({externalVideoId:k.B,originalMediaDurationMs:(1E3*k.u).toString(),trimmedMediaDurationMs:(parseInt(k.o.trimmedMaxNonSkippableAdDurationMs,10)||0).toString()});l=d+l;var m=Math.min(l,c);k.w.w=c;if(!$la(a,k,d,m)||l!==m)break;d=l}c=b.reduce(function(n,p){return n+GX(p)},0);
Wla(a.Ie,fla(a.o.xb()),c);Xla(a.Ie,{cueIdentifier:a.o.u&&a.o.u.identifier,UD:e})};
GX=function(a){var b=1E3*a.u;return 0<parseInt(a.o.trimmedMaxNonSkippableAdDurationMs,10)&&parseInt(a.o.trimmedMaxNonSkippableAdDurationMs,10)<b?parseInt(a.o.trimmedMaxNonSkippableAdDurationMs,10):b};
FX=function(a){var b=a.o.xb().end;var c=a.Oi;a=a.o.xb().start;var d=g.qb(c.o,a);0<=d?c=a:(a=-d-1,c=a>=c.o.length||c.o[a]>b?null:c.o[a]);return Math.min(b,null===c?Infinity:c)};
$la=function(a,b,c,d){var e=a.Ag.create(b,cV($U(a.o)));c=e.Ow(c,d);g.me(e);if(!c)return!1;a.o.G[c]=b;return!0};
ama=function(a){if(a.U)return function(c){c.seekTo(Infinity,!0,void 0,1)};
var b=Math.floor((0,g.I)()/1E3)-a.S;return function(c){c.seekTo(c.getCurrentTime()+b,!0,void 0,1)}};
HX=function(a,b,c,d){this.o=a;this.u=b;this.w=c;this.A=d};
IX=function(a,b,c,d,e){g.Q.call(this);this.u=a;this.A=b;this.B=c;this.o=d;this.w=e;bma(this)};
cma=function(a,b){var c=null,d={isEmpty:!0,my:!1,Ii:[]};try{c=JSON.parse(b.response)}catch(f){return b.response&&(c=b.response,c.startsWith("GIF89")||(f.params=c.substr(0,256),g.Go(f))),d}if(!c)return d;if(c&&c.adThrottled)return d.my=!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.cb(c))return d;if(0<a.o.xb().end){var e=a.o.xb().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.Ii=c;
d.isEmpty=!1;return d};
bma=function(a){[a.o.O,a.o.xb()].filter(function(b){return null!=b}).forEach(function(b){DX(a.u,b,a)});
ir("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED")};
JX=function(a,b,c){g.V.call(this,a);this.aa=b;this.A=c;this.B=dma(this)};
KX=function(a,b){if(b=void 0===b?null:b){var c=a.B;b.forEach(function(d){return a.A.executeCommand(d,c)})}};
dma=function(a){var b=a.aa;if(b){a=function(d){return{toString:function(){return d()}}};
var c={};c.AD_MT=a(function(){return Math.round(Math.max(0,1E3*b.getCurrentTime(2))).toString()});
c.MT=a(function(){return Math.round(Math.max(0,1E3*b.getCurrentTime(1))).toString()});
c.P_H=a(function(){return b.getPlayerSize().height.toString()});
c.PV_H=c.P_H;c.P_W=a(function(){return b.getPlayerSize().width.toString()});
c.PV_W=c.P_W;c.CONN="0";c.WT=a(function(){return(0,g.I)().toString()});
c.LACT=a(function(){return Wq().toString()});
c.VIS=a(function(){return b.getVisibilityState().toString()});
c.VOL=a(function(){return b.getVolume().toString()});
return c}return{}};
LX=function(a){g.B.call(this);this.G=a};
MX=function(a){LX.call(this,!0);this.o=a};
NX=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.ga});
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 Wq().toString()});
d.VIS=c(function(){return a.getVisibilityState().toString()});
d.VOL=c(function(){return a.getVolume().toString()});
return d};
OX=function(a,b){g.B.call(this);var c=this;this.w=[];this.F=!1;this.u=0;this.B=this.C=this.A=!1;this.J=null;var d=(0,g.x)(a,b);this.o=new g.J(function(){return d(c.J)},300);
g.H(this,this.o);this.H=this.G=Infinity};
PX=function(a,b){if(!b)return!1;for(var c=0;c<b.length;c++){var d=b.item(c);if(d&&a.w.includes(d.identifier))return!0}return!1};
Z=function(a,b,c,d,e){e=void 0===e?null:e;g.GC.call(this,c);this.api=a;this.oa=b;this.macros={};this.componentType=d;this.F=null;this.xa=e;this.da=null;this.za=new MX(this.element);g.H(this,this.za);this.sa=this.L(this.element,"click",this.onClick);this.S=[];this.O=new OX(this.onClick,this);g.H(this,this.O);this.Ea=!1;this.G=null};
QX=function(a,b){a=void 0===a?null:a;b=void 0===b?null:b;if(null==a)return g.Go(Error("Got null or undefined adText object")),"";var c=g.fd(a.text);if(!a.isTemplated)return c;if(null==b)return g.Go(Error("Missing required parameters for a templated message")),c;for(var d=g.q(Object.entries(b)),e=d.next();!e.done;e=d.next()){var f=g.q(e.value);e=f.next().value;f=f.next().value;c=c.replace("{"+e+"}",f)}return c};
RX=function(a){a=void 0===a?null:a;return null==a||(a=a.thumbnail,null==a||null==a.thumbnails||g.cb(a.thumbnails)||null==a.thumbnails[0].url)?"":g.fd(a.thumbnails[0].url)};
ema=function(a){a=void 0===a?null:a;return null==a||(a=a.thumbnail,null==a||null==a.thumbnails||g.cb(a.thumbnails)||null==a.thumbnails[0].width||null==a.thumbnails[0].height)?new g.yd(0,0):new g.yd(a.thumbnails[0].width||0,a.thumbnails[0].height||0)};
SX=function(a,b,c){g.NL(a.api,b,a);g.OL(a.api,b,c)};
TX=function(a,b,c){RL(a.api,b)&&g.QL(a.api,b,c)};
UX=function(a,b){b=void 0===b?null:b;var c=a.api.N();!(0<a.S.length)&&c.o&&g.R(a.api.N().experiments,"use_touch_events_for_bulleit_mweb")&&(sx?0:"ontouchstart"in document.documentElement&&(Jg()||Ig()))&&(a.Wa(a.sa),b&&a.Wa(b),a.S=[a.L(a.element,"touchstart",a.vJ,a),a.L(a.element,"touchmove",a.uJ,a),a.L(a.element,"touchend",a.tJ,a)])};
VX=function(){g.B.call(this);var a=this;this.o=new Map;this.u=g.Oq(document.body,"click",function(b){if(b.target&&(b=a.o.get(b.target))&&b)for(var c=0;c<b.length;c++)g.Qp(b[c],void 0,void 0)},"ytp-ad-has-logging-urls")};
XX=function(){null==WX&&(WX=new VX);return WX};
ZX=function(a,b){if(a.simpleText){a:{var c=a.simpleText;if(b){var d=YX(c);if(d){c=g.Ud("SPAN",null,d);break a}}c=g.Wd(c)}return c}c=[];if(a.runs)for(d=0;d<a.runs.length;d++){var e=a.runs[d];e.text&&c.push(fma(e,b))}return 1==c.length?c[0]:g.Ud("SPAN",null,c)};
fma=function(a,b){var c=null,d=a.text;b&&(d=YX(d)||d);a.bold&&(c=g.Ud("B",null,c||d));a.italics&&(c=g.Ud("I",null,c||d));a.strikethrough&&(c=g.Ud("STRIKE",null,c||d));if(a.navigationEndpoint&&a.navigationEndpoint.urlEndpoint){var e=a.navigationEndpoint.urlEndpoint;c=g.Ud("A",null,c||d);g.Zc(c,e.url);"TARGET_NEW_WINDOW"==e.target&&(c.target="_blank");if(e=a.navigationEndpoint.loggingUrls)e=e.map(function(f){return f.baseUrl}),XX().register(c,e),g.K(c,"ytp-ad-has-logging-urls")}return c||g.Ud("SPAN",
null,d)};
YX=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.Ud("BR")),b.push(a[c]);return b}return null};
$X=function(a){LX.call(this,a);this.C=new g.Q;g.H(this,this.C)};
aY=function(a,b,c){g.B.call(this);this.o=a;this.A=b;this.view=c();g.H(this,this.view);this.J=null;this.H=[];this.macros={};this.O=!1;this.hide()};
cY=function(a,b){var c=bY(a);b.forEach(function(d){return a.A.executeCommand(d,c)})};
bY=function(a){for(var b={},c=g.q(Object.entries(NX(a.o,a.A))),d=c.next();!d.done;d=c.next()){var e=g.q(d.value);d=e.next().value;e=e.next().value;b[d]=e.toString()}Object.assign(b,a.macros);return b};
dY=function(a){g.Q.call(this);this.A=a;this.u=new g.V({D:"div",I:"ytp-ad-info-dialog-confirm-container",K:[{D:"button",I:"ytp-ad-info-dialog-confirm-button",W:"{{content}}"}]});g.H(this,this.u);this.u.hide();this.w=new g.V({D:"div",I:"ytp-ad-info-dialog-title",W:"{{content}}"});g.H(this,this.w);this.w.hide();this.o=new g.V({D:"div",I:"ytp-ad-info-dialog-relative-container",K:[{D:"div",I:"ytp-ad-info-dialog-form",K:[this.w,{D:"ul",I:"ytp-ad-info-dialog-ad-reasons"},{D:"div",I:"ytp-ad-info-dialog-message",
W:"{{content}}"},this.u]}]});g.H(this,this.o);this.o.hide();this.B=new g.P(this);g.H(this,this.B)};
eY=function(a){return a.o.o["ytp-ad-info-dialog-ad-reasons"]};
fY=function(a){return a?ZX(a):null};
gY=function(a){$X.call(this,!1);var b=this;this.o=new dY(a.ib());g.H(this,this.o);a={};for(var c=g.q(Object.values(gma)),d=c.next();!d.done;a={rm:a.rm},d=c.next())a.rm=d.value,this.o.subscribe(a.rm,function(e){return function(){return b.dispatchEvent({type:e.rm})}}(a))};
hY=function(a,b,c){aY.call(this,a,b,function(){return new hma.bD(c)});
this.w=new g.P(this);g.H(this,this.w);this.u=null;ima(this)};
ima=function(a){function b(e){return a.onClick(e)}
for(var c=g.q(jma),d=c.next();!d.done;d=c.next())a.w.L(a.view,d.value,b)};
iY=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-out-of-player-ad-info",K:[{D:"div",I:"ytp-out-of-player-hover-container"},{D:"div",I:"ytp-out-of-player-ad-info-button-container",K:[{D:"button",X:["ytp-out-of-player-ad-info-button"],K:[{D:"span",I:"ad-info-icon"}]}]}]},"watch-ad-info-hover-button");this.u=this.o["ytp-out-of-player-hover-container"];this.B=this.o["ytp-out-of-player-ad-info-button-container"];this.C=this.o["ytp-out-of-player-ad-info-button"];this.w=new hY(this.api,this.oa,new MX(this.B));
g.H(this,this.w);this.A=new g.P(this);g.H(this,this.A);this.Dr();(new MX(this.element)).append(this.w.view);this.A.L(this.C,"mouseenter",this.cH);this.A.L(this.C,"mouseleave",this.Dr);this.A.L(this.B,"click",this.bH);this.hide()};
jY=function(a,b,c){JX.call(this,{D:"div",I:"videowall-companion-container",K:[{D:"iframe",I:"videowall-companion",M:{marginwidth:"0",marginheight:"0",hspace:"0",vspace:"0",frameborder:"0",scrolling:"no",src:c.iframeUrl}}]},a,b);var d=this;this.w=c;var e=this.o["videowall-companion"];g.Mh(e,c.iframeWidth||300,c.iframeHeight||250);this.u=new iY(a,b);g.H(this,this.u);this.u.ba(this.element,0);this.w.adInfoRenderer&&this.w.adInfoRenderer.adHoverTextButtonRenderer?this.u.init(jU("watch-ad-info-hover-button"),
this.w.adInfoRenderer.adHoverTextButtonRenderer,{}):g.N(Error("VideowallIframeCompanionAdRenderer has no ad info renderer."));e&&this.L(e,"load",function(){KX(d,c.impressionCommands);var f=kma(e);f&&d.L(f,"click",function(k){g.ce(d.u.element,k.target)||(KX(d,d.w.onClickCommands),d.aa.onAdUxClicked("videowall-companion"))})})};
kma=function(a){try{var b=a.contentDocument||a.contentWindow.document;return b&&b.body}catch(c){return g.N(c),null}};
kY=function(){oX.apply(this,arguments)};
lY=function(a){return a.length?(0,g.A)(a[0].loggingUrls||[],function(b){return b.baseUrl}):[]};
mY=function(a,b,c,d,e,f,k){GV.call(this,b,d.o,e,f,k);this.H=c;this.A=d;this.o=d.o;this.G=a;this.w=this.B=null;a=this.A.xb();a.visible=!1;DX(this.G,a,this);ir("ADS_CLIENT_EVENT_TYPE_ADPLACEMENT_SCHEDULED")};
oY=function(a,b,c,d,e,f,k,l){zX.call(this,a,b,c,d,e,f,k,l);this.A=d.o;this.C=-1;this.G=this.w=null;this.H=nY(this.zn())};
pY=function(a){a.C++;var b=a.zn();b?a.ac(b):a.Ig()};
nY=function(a){return a?lma.some(function(b){return a instanceof b}):!1};
mma=function(a){this.o=new HX(function(b){b=new zX(a.yc,a.aa,a.Fw(),b,a.Ie,a.Oi,a.Ag,a.Tb);EX(b);return b},function(b){return new IX(a.yc,a.aa,a.jq,b,a.Ie)},function(b){var c=a.im(b.o);
b=new mY(a.yc,a.aa,a.fE,b,a.dm,c,a.Sc);g.H(b,c);return b},function(b){b=new oY(a.yc,a.aa,a.Fw(),b,a.Ie,a.Oi,a.Ag,a.Tb);
EX(b);return b})};
qY=function(a,b,c,d){d=nma(c,d);var e={D:"div"};d&&(e={D:"div",I:"image-companion",K:[{D:"img",M:{src:d.url,border:"0",style:"cursor:pointer;"}}]});JX.call(this,e,a,b);this.u=c;this.w=new iY(a,b);g.H(this,this.w);this.w.ba(this.element,0);this.u.adInfoRenderer&&this.u.adInfoRenderer.adHoverTextButtonRenderer?this.w.init(jU("watch-ad-info-hover-button"),this.u.adInfoRenderer.adHoverTextButtonRenderer,{}):g.N(Error("ImageCompanionAdRenderer has no ad info renderer."));if(a=this.o["image-companion"])void 0!==
d.width&&void 0!==d.height&&g.Mh(a,d.width,d.height),this.ia("click",this.C,this),KX(this,c.impressionCommands)};
nma=function(a,b){if(!a.image||!a.image.thumbnail)return null;var c=a.image.thumbnail;return null==c.thumbnails?null:g.Za(c.thumbnails||[],function(d){return d.width==b.width&&d.height==b.height})};
rY=function(a){oX.call(this,a);this.u=(0,g.A)((a.image&&a.image.thumbnail?a.image.thumbnail.thumbnails:null)||[],function(b){return new g.yd(b.width,b.height)})};
sY=function(a,b){OU.call(this);a.adStart&&a.adStart.adMessageRenderer&&(hr("adNotifyFilled",{notifyCompositeType:"COMPOSITE_AD_TYPE_LINEAR_AD_SEQUENCE"}),PU(this,new XV(a.adStart.adMessageRenderer)));if(a.linearAds)for(var c=[],d=g.q(a.linearAds),e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer?(e=b(e.instreamVideoAdRenderer),PU(this,e),c.push(e.u)):e.adActionInterstitialRenderer?(e=new RV(e.adActionInterstitialRenderer),PU(this,e)):e.adIntroRenderer&&(e=new WV(e.adIntroRenderer),
PU(this,e),this.u=1),this.o.filter(function(f){return f instanceof KU}).forEach(function(f,k){if(f instanceof KU){var l=new JU(k,c);
f.w=l}})};
tY=function(a,b){OU.call(this);if(a.renderers){for(var c=[],d=g.q(a.renderers),e=d.next();!e.done;e=d.next())e=e.value,e.instreamVideoAdRenderer&&(e=b(e.instreamVideoAdRenderer),PU(this,e),c.push(e.u));this.o.forEach(function(f,k){if(f instanceof KU){var l=new JU(k,c);f.w=l}})}};
uY=function(a,b){OU.call(this);var c=a.persistingOverlay;this.w=c&&c.persistingAdOverlayRenderer?new aW(c.persistingAdOverlayRenderer):null;PU(this,oma(this,a.adVideoStart));a:{if(c=a.linearAd){if(c.instreamVideoAdRenderer){c=b(c.instreamVideoAdRenderer);break a}if(c.instreamSurveyAdRenderer){c=new UU(c.instreamSurveyAdRenderer);break a}}c=null}PU(this,c);(c=a.adVideoEnd)?c.adActionInterstitialRenderer?(this.u=1,c=new RV(c.adActionInterstitialRenderer)):c=null:c=null;PU(this,c)};
oma=function(a,b){return null==b?null:b.adActionInterstitialRenderer?(a.u=1,new RV(b.adActionInterstitialRenderer)):b.adTextInterstitialRenderer?new eW(b.adTextInterstitialRenderer):b.adMessageRenderer?(hr("adNotifyFilled",{notifyCompositeType:"COMPOSITE_AD_TYPE_SANDWICHED_LINEAR_AD"}),new XV(b.adMessageRenderer)):b.surveyTextInterstitialRenderer?new dW(b.surveyTextInterstitialRenderer):null};
vY=function(a,b){this.u=a;this.o=b};
pma=function(a){var b=new jV(a.Iq),c=new uU(b);return{GE:function(){return b},
mr:function(){return c}}};
wY=function(a,b){this.u=a;this.o=b};
xY=function(a,b,c,d){try{var e=b.renderer,f=b.config&&b.config.adPlacementConfig,k=e?a.u.create(e,f):null;return new VU(b,c,k,d)}catch(l){g.N(l)}};
qma=function(a){var b=new wY(a.MD,a.Yb);return{bx:function(){return b}}};
yY=function(a){g.B.call(this);this.o=a;this.w=new Bla(a.aa);this.u=new kV(a.aa);g.H(this,this.u)};
rma=function(a){return function(){return new sX(a.o.aa)}};
zY=function(a){return function(b,c){return new pV(b,a.w,c,a.o.aa,a.u,a.o.gh,a.o.Tb)}};
AY=function(a){g.B.call(this);var b=this;this.u=a;this.o=null;g.le(this,function(){return b.o=null});
var c=tr(a);if(c){var d=function(){b.o&&b.o(!!rr())};
this.u.addEventListener(c,d);g.le(this,function(){b.u.removeEventListener(c,d)})}};
BY=function(a){g.B.call(this);this.o=a};
sma=function(a){var b=window.document;return g.Ux(a.N())?new AY(b):new BY(a)};
CY=function(a){g.B.call(this);this.o=new Tla(a.aa,a.Iq,a.Tb)};
DY=function(a){this.u=a;this.o=-1};
EY=function(a){g.R(a.u.N().experiments,"stop_use_time_since_last_ad_service")||(a.o=(0,g.I)()/1E3,g.Qp(a.u.N().C+"mac_204?action_fcts=1"))};
FY=function(a){return g.R(a.u.N().experiments,"stop_use_time_since_last_ad_service")?0:0<a.o?Math.ceil((0,g.I)()/1E3-a.o):0};
HY=function(a){GY=a&&a.data};
JY=function(a){IY=a&&a.data};
LY=function(a){KY=a&&a.data};
NY=function(a){MY=a&&a.data};
OY=function(){MY=KY=GY=null};
QY=function(a,b,c,d){g.Q.call(this);var e=this;this.o=a;this.ga=null;this.Ia=b;this.Ha=d.dk;this.Ea=d.ND;this.G=d.Yb;b=this.o.getVideoData(1).getPlayerResponse()||{};this.w=b.playerConfig&&b.playerConfig.daiConfig&&b.playerConfig.daiConfig.enableDai||!1;this.za=nla({dF:3E4,XF:nV(a),aa:a}).LE();this.A=null;this.U=saa(function(){e.o.la()||g.HL(e.o,"ad",1)});
this.u=null;this.B=new Map;b=this.o.N().experiments;var f=pma({Iq:a.getVideoData(1)}),k=new yY({gh:f.mr(),aa:a,Tb:this.w});g.H(this,k);this.C=new Set;this.Z=-1;this.V=[];this.P=null;this.J=new Map;this.ca=c;this.O=new Set;this.F=new g.P(this);g.H(this,this.F);this.H=new g.P(this);g.H(this,this.H);this.da=this.ya=this.ea=!1;this.S=g.Ux(a.N());c=new zU({experiments:b,OD:this,PD:this.Ea,QD:f.GE(),RD:this,bE:this,NJ:this,gh:f.mr(),aa:this.o,Yb:this.G});g.H(this,c);this.Qa=c.u;c=new CY({Iq:PY(this),uT:this,
fb:this.o.N(),Tb:this.w,aa:this.o});g.H(this,c);this.Aa=c.o;c=new jX;c.subscribe("Identified a new cuerange",this.JA,this);c.subscribe("Shortened the latest cuerange",this.hL,this);g.H(this,c);var l=new nX({QN:c,lE:this});g.H(this,l);this.na=g.R(b,"html5_dai_assume_unordered_cuepoints")?l.u:c;this.sa=l.o;var m=hc(cV(ZU(this.o)));d=new Sla({oa:this,eE:k.u,Sc:hV(),gh:f.mr(),aa:this.o,YN:m,im:zY(k),Tb:this.w,mg:d.mg,Yb:this.G});this.Oa=(new mma({jq:this.Ia,Ag:d.o,yc:this,fE:this.za,Sc:hV(),Fw:rma(k),
Ie:this.Aa,Oi:this.sa,aa:this.o,dm:m,im:function(n){return zY(k)(n,m)},
Tb:this.w})).o;this.ra=qma({MD:new vY(new ola(a),b),Yb:this.G}).bx();this.xa=sma(this.o);g.H(this,this.xa);this.Ua=g.$x(this.o.N())?g.R(this.o.N().experiments,"align_ad_to_video_player_lifecycle_for_bulleit_living_room"):g.R(this.o.N().experiments,"align_ad_to_video_player_lifecycle_for_bulleit")};
tma=function(a){return a&&a.adPlacements?a.adPlacements.map(function(b){return b.adPlacementRenderer}).filter(function(b){return b&&null!=b.renderer}):[]};
uma=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.w&&g.Ux(a.o.N())&&PY(a).Ne()||(a.P=c),!1):!0})};
RY=function(a,b){a.J=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.J.set(c.elementId,c),!1):!0})};
vma=function(a,b){return b.every(function(c){c=a.B.get(c);return null==c?(g.N(Error("AdCueRange without a corresponding AdPlacement.")),!0):c instanceof IX?!1:c instanceof zX?!c.hi():!0})};
TY=function(a){var b=wma(a);if(0<b.length){vma(a,b)&&a.U();var c=g.S(a.o.N().experiments,"delay_ads_gvi_call_on_bulleit_living_room_ms");0<c&&!a.S&&g.Ix(a.o.N())?(c=new g.J(function(){SY(a,b)},c),g.H(a,c),c.start()):g.Ye(function(){SY(a,b)})}else a.U()};
xma=function(a,b){if(!b)return{};var c=!!a.u&&a.u||null;c?(c=c.u,c=c.C.Sk()?CV(c.wb,b):{}):c={};return c};
wma=function(a){for(var b=[],c=g.q(a.C),d=c.next();!d.done;d=c.next())d=d.value,gU(d)&&b.push(d);c=g.q(b);for(d=c.next();!d.done;d=c.next())a.C["delete"](d.value);return b};
WY=function(a,b,c){0!=b.length&&(aX(a.G)||bX(a.G)||cX(a.G)||UY(a.G))&&(b={Ii:b,contentCpn:null!==PY(a)?PY(a).clientPlaybackNonce:"",fy:c},VY(a.Ha,b))};
zma=function(a,b,c){c=void 0===c?null:c;b=a.ra.create(b,yma(a),a.V.length,c);a.V=a.V.concat(b);return b};
SY=function(a,b){if(!a.la())for(var c=g.q(b),d=c.next();!d.done;d=c.next())a.Co(d.value)};
XY=function(a,b,c){c=void 0===c?null:c;Ama(b);b=zma(a,b,c);return 0==b.length?null:b.map(function(d){return a.Oa.create(d)})};
$Y=function(a,b){b.gj()?(g.me(a.A),a.A=b):((b.Vk()||b.Zs())&&a.A&&a.A.xb().start<b.xb().start&&YY(a),b.ky()&&ZY(a,b))};
YY=function(a){var b=a.za;if(b.o)b.o&&kla(b.o);else{var c=b.u.getVideoData(1);b.u.ka("updateKevlarOrC3Companion",{contentVideoId:c&&c.videoId})}g.me(a.A);a.A=null};
ZY=function(a,b){a.u&&aZ(a,a.w);a.u=b;b.hi()&&bZ(a)};
bZ=function(a){a.ea||(a.H.L(a.o,"presentingplayerstatechange",a.sI),a.H.L(a.o,"internalAbandon",a.SJ),a.H.L(a.o,"progresssync",a.FN),a.H.L(a.o,"onVolumeChange",a.uI),a.H.L(a.xa,"fullscreentoggled",a.rI),a.ea=!0);g.K(g.qL(a.o),"ad-showing");a.w||(g.K(g.qL(a.o),"ad-interrupting"),g.R(a.o.N().experiments,"enable_html5_teal_ad_badge")&&nV(a.o)&&g.K(g.qL(a.o),"ad-teal-design"),g.LR(a.o.app,2))};
aZ=function(a,b,c){var d=!!a.u&&a.u||null,e=d&&d.hi()&&(lV(a.o)||a.w);d=b&&d&&d.reset()||null;a.u&&cZ(a,a.u);a.u=null;a.Z=-1;e&&dZ(a,c);a.da||a.U();b&&d&&(d.xb().o=!1,EX(d,!0))};
dZ=function(a,b){g.vr(a.H);a.ea=!1;g.Kn(g.qL(a.o),"ad-showing");a.w||(a.Ua?(a.da||a.U(),eZ(a),a.o.cueVideoByPlayerVars({},2)):(a.o.cueVideoByPlayerVars({},2),eZ(a)),g.Kn(g.qL(a.o),"ad-interrupting"),g.R(a.o.N().experiments,"enable_html5_teal_ad_badge")&&g.Kn(g.qL(a.o),"ad-teal-design"));b&&b(a.o)};
eZ=function(a){if(a.ya)!a.S&&g.Ix(a.o.N())&&(g.R(a.o.N().experiments,"release_player_on_abandon_for_bulleit_living_room")||g.R(a.o.N().experiments,"release_player_on_abandon_for_bulleit_lr_ads_frontend"))&&g.UL(a.o,2);else if(g.UL(a.o,2),!a.S){var b=g.sL(a.o,1);g.W(b,4)&&!g.W(b,2)&&a.o.playVideo()}};
DX=function(a,b,c){if(b instanceof fU){if(a.S&&hU(b)&&g.W(g.sL(a.o,1),64)&&!a.w){var d=fZ(a);d!=b.start&&b.contains(d)&&(b.o=!0)}a.B.has(b)?g.N(Error(b.toString()+" has already been seen")):(a.C.add(b),a.B.set(b,c),gU(b)||g.GL(a.o,[b],1))}else g.N(Error("Should use AdCueRange instead of CueRange"))};
yma=function(a){var b=1E3*a.o.getDuration(1);return new eU(b,fZ(a),g.R(a.o.N().experiments,"enable_upg_processed_dvr_dai")?a.w:PY(a).Ne(),g.R(a.o.N().experiments,"enforce_cuerange_priority_on_web"))};
fZ=function(a){return 1E3*a.o.getCurrentTime(g.R(a.o.N().experiments,"bulleit_explicitly_use_content_video_ms_for_cue_range")?1:void 0)||0};
xX=function(a,b,c){g.OT(a.o.app,b,c);b=g.q(b);for(c=b.next();!c.done;c=b.next())c=c.value,a.C["delete"](c),a.B["delete"](c)};
PY=function(a){return a.o.getVideoData(1)};
cZ=function(a,b){for(var c=a.B,d=g.q(c),e=d.next();!e.done;e=d.next()){e=g.q(e.value);var f=e.next().value;if(e.next().value==b){c["delete"](f);break}}g.me(b)};
gZ=function(a,b){var c=a.o.app;1==b&&(c.O.tick("vr"),c.ya||(c.ya=ds(bB,c.xA,c)),XK(c.C),RD(c.O,c.C.getVideoData(),PT(c)));var d=c.o;(g.$x(d)&&d.Eb||g.Jx(d))&&(c.Ob()||c.u.ka("onAdStateChange",b));switch(b){case 1:a.Z=1;break;case 0:a.Z=0}};
EW=function(a,b){if(a.u){var c=a.u;c.u&&(c=c.u,c.F&&vV(c.wb,b,c.getDuration()))}};
hZ=function(a){return lV(a.o)&&a.u.Vk()};
Ama=function(a){for(var b=0;b<a.length;b++)ir("ADS_CLIENT_EVENT_TYPE_ADPLACEMENTRENDERER_RECEIVED")};
iZ=function(a){return a&&a.thumbnails&&!g.cb(a.thumbnails||null)&&a.thumbnails[0].url?g.fd(a.thumbnails[0].url):""};
jZ=function(a,b,c,d){d=void 0===d?!1:d;Z.call(this,a,b,{D:"img",I:"ytp-ad-image"},"ad-image",void 0===c?null:c);this.u=d;this.hide()};
kZ=function(a){if(!a)return null;switch(a.iconType){case "OPEN_IN_NEW":return{D:"svg",M:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 48 48",width:"100%"},K:[{D:"path",M:{d:"M0 0h48v48H0z",fill:"none"}},{D:"path",M:{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.Y?{D:"div",X:["ytp-icon","ytp-icon-check-box"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 24 24",width:"100%"},
K:[{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",M:{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.Y?{D:"div",X:["ytp-icon","ytp-icon-check-box-outline-blank"]}:{D:"svg",M:{height:"100%",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{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"}},
{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}}]};case "CLOSE":return g.mM();case "INFO_OUTLINE":return qM();case "REMOVE_CIRCLE":return{D:"svg",M:{fill:"#fff",height:"100%",version:"1.1",viewBox:"0 0 24 24",width:"100%"},K:[{D:"path",M:{d:"M0 0h24v24H0z",fill:"none"}},{D:"path",M:{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 uM();case "LIKE":return g.rM();case "DISLIKE":return oM();default:return Dp(new Bp("Unexpected icon:",
a)),null}};
lZ=function(a,b,c,d,e){c=void 0===c?[]:c;e=void 0===e?!1:e;Z.call(this,a,b,{D:"button",X:["ytp-ad-button"].concat(c)},void 0===d?"button":d);this.u=this.w=this.B=null;this.C=e;this.hide()};
Bma=function(a){var b=null;null!=a.u&&(b=[a.u.serviceEndpoint,a.u.navigationEndpoint].filter(function(c){return null!=c}),a.u.command&&(b=b.concat(a.u.command)));
return b||[]};
mZ=function(a,b,c,d,e){Z.call(this,a,b,c,d);this.u=e;g.H(this,this.u);this.V=this.B=-1};
nZ=function(a){a.u&&-1===a.B&&(a.B=a.u.subscribe("b",a.kh,a),a.V=a.u.subscribe("a",a.ri,a),a.kh())};
oZ=function(a){null!=a.u&&-1!==a.B&&(a.u.og(a.B),a.u.og(a.V),a.V=-1,a.B=-1)};
pZ=function(a,b,c,d){d=void 0===d?!1:d;mZ.call(this,a,b,{D:"div",I:"ytp-ad-timed-pie-countdown-container",K:[{D:"svg",I:"ytp-ad-timed-pie-countdown",M:{viewBox:"0 0 20 20"},K:[{D:"circle",I:"ytp-ad-timed-pie-countdown-background",M:{r:10,cx:"10",cy:"10"}},{D:"circle",I:"ytp-ad-timed-pie-countdown-inner",M:{r:5,cx:"10",cy:"10"}},{D:"circle",I:"ytp-ad-timed-pie-countdown-outer",M:{r:10,cx:"10",cy:"10"}}]}]},"timed-pie-countdown",c);this.A=this.o["ytp-ad-timed-pie-countdown-inner"];this.w=Math.ceil(10*
Math.PI);this.C=d;this.hide()};
qZ=function(a,b,c,d){Z.call(this,a,b,{D:"div",I:"ytp-ad-text"},void 0===d?"ad-text":d,void 0===c?null:c);this.u=null;this.hide()};
rZ=function(a,b){b&&g.de(a.element,QX(a.u,b))};
sZ=function(a,b,c,d){mZ.call(this,a,b,{D:"div",I:"ytp-ad-preview-slot"},"ad-preview",c);var e=this;this.ea=-1;this.w=new g.GC({D:"span",I:"ytp-ad-preview-container"});g.H(this,this.w);this.A=new qZ(this.api,this.oa,"ytp-ad-preview-text");g.H(this,this.A);this.A.ba(this.w.element);this.H=new g.GC({D:"span",I:"ytp-ad-preview-image"});g.H(this,this.H);this.C=new jZ(this.api,this.oa);g.H(this,this.C);this.C.ba(this.H.element);this.H.ba(this.w.element);this.w.ba(this.element);this.J=new g.dM(this.w,400,
!1,100,function(){return e.hide()});
g.H(this,this.J);this.U=0;this.Z=!1;this.ga=d;this.hide()};
tZ=function(a){a.J.show(100);a.show()};
uZ=function(a,b,c,d,e){e=void 0===e?0:e;g.B.call(this);this.w=a;this.u=!1;this.H=d;this.C=!1;this.o=null;0<b&&(this.o=new g.J(this.cw,b,this),g.H(this,this.o));this.A=new g.J(this.cw,c,this);g.H(this,this.A);this.G=On(this.w,e,1,d);g.H(this,this.G);this.F=On(this.w,0,d,1);g.H(this,this.F);this.B=new g.P;g.H(this,this.B)};
Dma=function(){this.o=Cma};
Ema=function(){this.o=new Dma};
Gma=function(a,b,c,d){d=void 0===d?0:d;var e=!1;Wda({measure:function(){if(!e){var f=[];b.hidden&&f.push("hidden");"none"===yh(b,"display")&&f.push("display:none");var k=yh(b,"visibility");"hidden"!==k&&"collapse"!==k||f.push("visibility:"+k);k=b.getBoundingClientRect();k.width||k.height||f.push("boundingClientRect:0");k=0;for(var l=b;l;){if("0"===yh(l,"opacity")){f.push("opacity:0@level"+k);break}if(g.In(l,"video-ads")||g.In(l,"ytp-ad-module"))break;k+=1;l=l.parentElement}if(0<f.length&&(k=d,f=f.join(","),
a.o.o().o.G("/client_streamz/youtube/video_ads/visibility_error",c,f),0<k&&Math.random()<k)){k=["id","class","style","hidden","aria-hidden"];l=[];for(var m=b;m;){for(var n={tagName:m.tagName},p={},t=g.q(k),u=t.next();!u.done;u=t.next())u=u.value,m.hasAttribute(u)&&(p[u]=m.getAttribute(u));g.ac(p)||(n.attributes=p);l.push(n);m=m.parentElement}k=Fma(l);g.N(Error("vis_check_error_reason: "+f+", dump: "+k))}}}})();
return function(){return e=!0}};
Fma=function(a){return JSON.stringify(a.map(function(b){var c=[b.tagName];b.attributes&&c.push(b.attributes);return c}))};
vZ=function(a,b,c){c=void 0===c?0:c;return Gma(Hma(),a,b,c)};
wZ=function(a,b,c){mZ.call(this,a,b,{D:"div",I:"ytp-ad-skip-button-slot"},"skip-button",c);var d=this;this.H=null;this.ea=!1;this.A=new g.GC({D:"span",X:["ytp-ad-skip-button-container"]});g.H(this,this.A);this.A.ba(this.element);this.w=this.C=null;this.ga=new g.dM(this.A,500,!1,100,function(){return d.hide()});
g.H(this,this.ga);this.U=new uZ(this.A.element,15E3,5E3,.5,.5);g.H(this,this.U);this.Z=new g.J(function(){var e=d.api.N().experiments;g.R(e,"enable_visibility_check_for_skip_button_in_bulleit")&&(d.J=vZ(d.w.element,"skip-button-ad-text",g.S(e,"visibility_error_html_dump_sample_rate")))},3E3);
g.H(this,this.Z);this.J=null;this.hide()};
Ima=function(a){a=a.H&&a.H.adRendererCommands;return(a&&a.clickCommand&&a.clickCommand.commandExecutorCommand&&a.clickCommand.commandExecutorCommand.commands||[]).some(function(b){return b.adLifecycleCommand||b.adPlayerControlsCommand})};
xZ=function(a,b){g.Q.call(this);this.B=b;this.C=new g.P(this);g.H(this,this.C);this.u=a;this.Da=new g.Af(100);g.H(this,this.Da);this.C.L(this.Da,"tick",this.rJ);this.A={seekableStart:0,seekableEnd:a/1E3,current:0};this.w=!1;this.o=0;this.start()};
yZ=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-action-interstitial",M:{tabindex:"0"},K:[{D:"div",I:"ytp-ad-action-interstitial-background-container"},{D:"div",I:"ytp-ad-action-interstitial-slot",K:[{D:"div",I:"ytp-ad-action-interstitial-card",K:[{D:"div",I:"ytp-ad-action-interstitial-image-container"},{D:"div",I:"ytp-ad-action-interstitial-headline-container"},{D:"div",I:"ytp-ad-action-interstitial-description-container"},{D:"div",I:"ytp-ad-action-interstitial-action-button-container"}]}]}]},
"ad-action-interstitial");this.na=this.o["ytp-ad-action-interstitial-image-container"];this.H=new jZ(this.api,this.oa,"ytp-ad-action-interstitial-image");g.H(this,this.H);this.H.ba(this.na);this.ga=this.o["ytp-ad-action-interstitial-headline-container"];this.V=new qZ(this.api,this.oa,"ytp-ad-action-interstitial-headline");g.H(this,this.V);this.V.ba(this.ga);this.ea=this.o["ytp-ad-action-interstitial-description-container"];this.U=new qZ(this.api,this.oa,"ytp-ad-action-interstitial-description");g.H(this,
this.U);this.U.ba(this.ea);this.Aa=this.o["ytp-ad-action-interstitial-background-container"];this.J=new jZ(this.api,this.oa,"ytp-ad-action-interstitial-background",!0);g.H(this,this.J);this.J.ba(this.Aa);this.ya=this.o["ytp-ad-action-interstitial-action-button-container"];this.w=this.B=this.A=this.u=null;this.C=new g.P;g.H(this,this.C);this.Z=null;this.hide()};
zZ=function(a){var b=g.Jd("html5-video-player");b&&g.L(b,"ytp-ad-display-override",a)};
AZ=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-choice-interstitial",K:[{D:"div",I:"ytp-ad-choice-interstitial-main-content",K:[{D:"div",I:"ytp-ad-choice-interstitial-head-title"},{D:"div",I:"ytp-ad-choice-interstitial-button-container"}]}]},"ad-choice-interstitial");this.w=this.C=this.A=this.u=null;this.B=new g.dM(this,0,!1,0);g.H(this,this.B);this.hide()};
BZ=function(a,b,c){var d=a.o["ytp-ad-choice-interstitial-button-container"],e=new lZ(a.api,a.oa,["ytp-ad-choice-interstitial-button"]);g.H(a,e);e.init(jU("button"),b,a.macros);e.ba(d);e.element.style.width=8*c+32+"px";return e};
Jma=function(a,b,c,d){a.u=new xZ(d);a.u.subscribe("a",function(){a.B.hide();for(var e=g.q(b),f=e.next();!f.done;f=e.next())a.oa.executeCommand(f.value,c)});
g.H(a,a.u)};
CZ=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-text-interstitial"},"ad-text-interstitial");this.w=this.o["ytp-ad-text-interstitial"];this.u=new qZ(this.api,this.oa,"ytp-ad-text-interstitial-message");g.H(this,this.u);this.u.ba(this.w);this.hide()};
DZ=function(a){var b=g.Jd("html5-video-player");b&&g.L(b,"ytp-ad-display-override",a)};
EZ=function(a,b,c,d,e,f){d=void 0===d?!1:d;e=void 0===e?[]:e;Z.call(this,a,b,{D:"span",X:["ytp-ad-hover-text-button"].concat(e)},void 0===f?"ad-hover-text-button":f);this.button=this.w=null;this.C=d;this.B=c;this.hide()};
FZ=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-feedback-dialog-background",K:[{D:"div",I:"ytp-ad-feedback-dialog-container",K:[{D:"div",I:"ytp-ad-feedback-dialog-form",M:{role:"dialog",tabindex:"-1"},K:[{D:"div",I:"ytp-ad-feedback-dialog-title",K:[{D:"span",W:"{{title}}"}]},{D:"span",I:"ytp-ad-info-dialog-feedback-options-title",W:"{{reasonsTitle}}"},{D:"div",I:"ytp-ad-info-dialog-feedback-options"},{D:"div",I:"ytp-ad-feedback-dialog-confirm-container",K:[{D:"button",I:"ytp-ad-feedback-dialog-cancel-button",
W:"{{cancelLabel}}"},{D:"button",I:"ytp-ad-feedback-dialog-confirm-button",W:"{{confirmLabel}}"}]}]}]}]},"ad-info-dialog");this.A=[];this.u=null;this.B=this.o["ytp-ad-feedback-dialog-cancel-button"];this.H=this.o["ytp-ad-feedback-dialog-confirm-button"];this.J=this.o["ytp-ad-info-dialog-feedback-options"];this.U=this.o["ytp-ad-feedback-dialog-title"];this.C=this.w=null;this.hide()};
Nma=function(a,b){var c=b.cancelRenderer&&b.cancelRenderer.buttonRenderer||null;c&&(a.u=new lZ(a.api,a.oa,["ytp-ad-feedback-dialog-close-button"],"button"),g.H(a,a.u),a.u.init(jU("button"),c,a.macros),a.u.ia("click",a.bA,a),a.u.ba(a.element));b.title&&(c=g.gA(b.title),a.ha("title",c));b.reasonsTitle&&(c=g.gA(b.reasonsTitle),a.ha("reasonsTitle",c));b.reasons&&Kma(a,b.reasons);b.cancelLabel&&(c=g.gA(b.cancelLabel),a.ha("cancelLabel",c),g.Fq(a.B,"click",function(){return a.bA()}));
b.confirmLabel&&(c=g.gA(b.confirmLabel),a.ha("confirmLabel",c),g.Fq(a.H,"click",function(){return Lma(a)}));
b.undoRenderer&&Mma(a,b.undoRenderer)};
Kma=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){var e=d.value;d=e.reason;null==d?g.Go(Error("AdFeedbackReason.reason was not set.")):(e=e.endpoint,null==e?g.Go(Error("AdFeedbackReason.endpoint was not set.")):(d=new GZ(d,e),g.H(a,d),a.J.appendChild(d.o.element),a.A.push(d)))}};
Mma=function(a,b){var c=b&&b.buttonRenderer||null;c&&(c.serviceEndpoint?(a.w=new lZ(a.api,a.oa,["ytp-ad-feedback-dialog-undo-mute-button"],"ad-feedback-undo-mute-button"),g.H(a,a.w),a.w.init(jU("ad-feedback-undo-mute-button"),c,a.macros),a.w.ia("click",a.zN,a),a.w.ba(a.U)):g.Go(Error("AdFeedbackRenderer.undoRenderer.undoButtonRenderer was specified but did not contain a service endpoint.")))};
Lma=function(a){var b=a.A.filter(function(c){return c.isChecked()});
0!==b.length&&(a.oa.executeCommand(b[0].u,a.macros),a.api.onAdUxClicked("ad-feedback-dialog-confirm-button"),a.R("w"),a.hide())};
GZ=function(a,b){this.u=b;this.o=new g.GC({D:"label",I:"ytp-ad-feedback-dialog-reason-label",K:[{D:"input",I:"ytp-ad-feedback-dialog-reason-input",M:{type:"radio",name:"feedback-reason-group"}},{D:"span",I:"ytp-ad-feedback-dialog-reason-text",W:g.gA(a)}]});this.w=this.o.o["ytp-ad-feedback-dialog-reason-input"]};
HZ=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"confirm-dialog":d;Z.call(this,a,b,{D:"div",X:["ytp-ad-confirm-dialog-background"],K:[{D:"div",I:"ytp-ad-confirm-dialog-container",K:[{D:"div",X:["ytp-ad-confirm-dialog"].concat(c),M:{role:"dialog",tabindex:"-1"},K:[{D:"div",I:"ytp-ad-confirm-dialog-title",W:"{{title}}"},{D:"div",I:"ytp-ad-confirm-dialog-messages"},{D:"div",I:"ytp-ad-confirm-dialog-confirm-container",K:[{D:"button",I:"ytp-ad-confirm-dialog-cancel-button",W:"{{cancelLabel}}"},{D:"button",
I:"ytp-ad-confirm-dialog-confirm-button",W:"{{confirmLabel}}"}]}]}]},{D:"button",X:["ytp-ad-confirm-dialog-close-overlay-button","ytp-ad-button","ytp-ad-button-link"],K:[{D:"span",I:"ytp-ad-button-icon",K:[g.mM()]}]}]},d);this.C=this.o["ytp-ad-confirm-dialog-close-overlay-button"];this.B=this.o["ytp-ad-confirm-dialog-cancel-button"];this.J=this.o["ytp-ad-confirm-dialog-confirm-button"];this.H=this.o["ytp-ad-confirm-dialog-messages"];this.A=null;this.u=new g.P;g.H(this,this.u);this.w=null;this.hide()};
Oma=function(a,b){if(b.title){var c=g.gA(b.title);a.ha("title",c)}if(b.dialogMessages){c=g.q(b.dialogMessages);for(var d=c.next();!d.done;d=c.next())d=ZX(d.value),a.H.appendChild(d)}b.cancelLabel&&(c=g.gA(b.cancelLabel),a.ha("cancelLabel",c),a.u.L(a.B,"click",function(e){return a.Et(e)}));
b.confirmLabel&&(c=g.gA(b.confirmLabel),a.ha("confirmLabel",c),a.u.L(a.J,"click",function(e){return a.Gt(e)}));
a.u.L(a.C,"click",function(e){return a.Ft(e)})};
IZ=function(a,b){HZ.call(this,a,b,[],"ad-mute-confirm-dialog")};
JZ=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-info-dialog-background",K:[{D:"div",I:"ytp-ad-info-dialog-container",K:[{D:"div",I:"ytp-ad-info-dialog-form",M:{role:"dialog",tabindex:"-1"},K:[{D:"div",I:"ytp-ad-info-dialog-title",W:"{{title}}"},{D:"ul",I:"ytp-ad-info-dialog-ad-reasons"},{D:"div",I:"ytp-ad-info-dialog-message"},{D:"div",I:"ytp-ad-info-dialog-mute-container"},{D:"div",I:"ytp-ad-info-dialog-confirm-container",K:[{D:"button",I:"ytp-ad-info-dialog-confirm-button",W:"{{confirmLabel}}"}]}]}]}]},
"ad-info-dialog");this.u=this.w=null;this.H=this.o["ytp-ad-info-dialog-confirm-button"];this.ga=this.o["ytp-ad-info-dialog-mute-container"];this.ea=this.o["ytp-ad-info-dialog-message"];this.U=this.o["ytp-ad-info-dialog-ad-reasons"];this.B=this.A=null;this.Z=c;this.C=null;this.V=!1;this.J=null;this.hide()};
Pma=function(a){(a.C&&a.C.impressionEndpoints||[]).forEach(function(b){return a.oa.executeCommand(b,a.macros)})};
Qma=function(a,b){var c=b.content&&b.content.adFeedbackRenderer||null;c&&(a.w=new FZ(a.api,a.oa),g.H(a,a.w),a.w.init(jU("ad-feedback-dialog"),c,a.macros),a.w.ba(a.Z),a.w.subscribe("w",function(){return a.R("y")}))};
Rma=function(a,b){var c=b.content&&b.content.confirmDialogRenderer||null;c&&(a.B=new IZ(a.api,a.oa),g.H(a,a.B),a.B.init(jU("ad-mute-confirm-dialog"),c,a.macros),a.B.ba(a.Z),a.B.subscribe("x",function(){return a.R("y")}))};
Sma=function(a){a.u&&a.u.ia("click",a.cA,a);g.Fq(a.H,"click",function(){return a.cA()})};
KZ=function(a,b,c,d){EZ.call(this,a,b,void 0===d?!0:d,!0,["ytp-ad-info-hover-text-button"],"ad-info-hover-text-button");this.u=null;this.A=c;this.hide()};
Tma=function(a,b,c){b=b.dialog&&b.dialog.adInfoDialogRenderer||null;null==b?g.N(Error("AdInfoDialogEndpoint did not contain an AdInfoDialogRenderer.")):(a.u=new JZ(a.api,a.oa,a.A),g.H(a,a.u),a.u.init(jU("ad-info-dialog"),b,c),a.u.ba(a.A),a.u.subscribe("z",function(){return a.R("B")}),a.u.subscribe("y",function(){return a.R("A")}))};
Uma=function(a,b,c){null==a.button?g.N(Error("AdInfoHoverTextButton.button was expected but it was not created.")):(b=b&&b.serviceEndpoint&&b.serviceEndpoint.adInfoDialogEndpoint||null,null==b?a.w&&g.K(a.w.element,"ytp-ad-info-hover-text-long"):(Tma(a,b,c),a.w&&g.K(a.w.element,"ytp-ad-info-hover-text-short"),a.button.ia("click",function(){a.u&&!a.u.Fa()&&(a.u.show(),a.api.onAdUxClicked("ad-info-icon-button"))})))};
LZ=function(a,b){Z.call(this,a,b,{D:"div",X:["ytp-ad-player-overlay-flyout-cta","ytp-ad-overlay-as-flyout-cta"],K:[{D:"div",X:["ytp-flyout-cta","ytp-flyout-cta-inactive"],K:[{D:"div",I:"ytp-flyout-cta-icon-container"},{D:"div",I:"ytp-flyout-cta-body",K:[{D:"div",I:"ytp-flyout-cta-text-container",K:[{D:"div",I:"ytp-flyout-cta-headline-container"},{D:"div",I:"ytp-flyout-cta-description-container"},{D:"div",I:"ytp-flyout-cta-url-container"}]},{D:"div",I:"ytp-flyout-cta-action-container",K:[{D:"div",
I:"ytp-flyout-cta-ad-controls-container",K:[{D:"div",I:"ytp-ad-overlay-ad-info-button-container"},{D:"div",I:"ytp-ad-overlay-close-container",K:[{M:{title:"Close"},D:"button",I:"ytp-ad-overlay-close-button",K:[kZ(Vma)]}]}]},{D:"div",I:"ytp-ad-overlay-as-flyout-cta-action-button-container"}]}]}]}]},"invideo-overlay-as-cta");var c=this;(this.U="tall"===g.lv(this.api.N().experiments,"render_enhanced_overlays_as_ctas_for_desktop_style"))&&g.K(this.element,"ytp-flyout-cta-body-tall");this.A=null;this.u=
g.Jd("ytp-flyout-cta",this.element);this.ea=new jZ(this.api,this.oa,"ytp-flyout-cta-icon");g.H(this,this.ea);this.ea.ba(this.o["ytp-flyout-cta-icon-container"]);this.Z=new qZ(this.api,this.oa,"ytp-flyout-cta-headline");g.H(this,this.Z);this.Z.ba(this.o["ytp-flyout-cta-headline-container"]);this.C=null;this.U&&(this.C=new qZ(this.api,this.oa,"ytp-flyout-cta-description"),g.H(this,this.C),this.C.ba(this.o["ytp-flyout-cta-description-container"]));this.na=new qZ(this.api,this.oa,"ytp-flyout-cta-description");
g.H(this,this.na);this.na.ba(this.o["ytp-flyout-cta-url-container"]);this.w=new lZ(this.api,this.oa,["ytp-flyout-cta-action-button"]);g.H(this,this.w);this.w.ba(this.o["ytp-ad-overlay-as-flyout-cta-action-button-container"]);this.Ha=g.Jd("ytp-flyout-cta-ad-controls-container",this.element);this.J=this.H=null;this.V=!1;this.B=null;this.Ia=g.Jd("ytp-ad-overlay-close-container",this.u);this.ya=new g.J(function(){g.Kn(c.u,"ytp-flyout-cta-inactive")},1E3);
this.ga=0;this.Aa=[];this.hide()};
Xma=function(a,b,c){if(!b.image||!b.image.thumbnail)return g.N(Error("InvideoOverlayAdRenderer has no image.")),!1;var d=QX(b.title);if(!b.title||g.zb(d))return g.N(Error("InvideoOverlayAdRenderer has no title AdText.")),!1;if(a.U&&!b.description)return g.N(Error("Tall InvideoOverlayAdRenderer has no description AdText.")),!1;if(!b.displayUrl)return g.N(Error("InvideoOverlayAdRenderer has no displayUrl AdText.")),!1;d=b.navigationEndpoint||b.imageNavigationEndpoint;if(!d)return g.N(Error("InvideoOverlayAdRenderer has no valid navigation endpoint.")),
!1;a.Aa=g.jb([d].concat(a.A&&a.A.onClickCommands||[]));a.B=g.Jd("ytp-ad-overlay-ad-info-button-container",a.u);Wma(a,c);a.ea.init(jU("ad-image"),b.image,a.macros);a.Z.init(jU("ad-text"),b.title,a.macros);a.U&&a.C&&b.description&&a.C.init(jU("ad-text"),b.description,a.macros);a.na.init(jU("ad-text"),b.displayUrl,a.macros);a.w.init(jU("button"),{text:{simpleText:"VISIT SITE"}},a.macros);a.L(a.u,"mouseover",function(){a.ga++});
a.L(a.Ia,"click",a.zJ);SX(a,a.u,b.trackingParams||null);TX(a,a.u,!0);return!0};
Wma=function(a,b){if(b){var c=b.adHoverTextButtonRenderer||null;if(null==c)g.N(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else{var d=g.Jd("video-ads ytp-ad-module")||null;if(null==d)g.N(Error("Could not locate the root ads container element to attach the ad info dialog."));else if(a.H=new g.GC({D:"div",I:"ytp-ad-overlay-ad-info-dialog-container"}),g.H(a,a.H),a.H.ba(d),d=new KZ(a.api,a.oa,a.H.element,!1),g.H(a,d),d.init(jU("ad-info-hover-text-button"),c,a.macros),a.B){d.ba(a.B,
0);d.subscribe("B",a.xJ,a);d.subscribe("A",a.AJ,a);a.L(a.B,"click",a.yJ);var e=g.Jd("ytp-ad-button",d.element);a.L(e,"click",a.wJ);a.J=d;c.hoverText&&(c=g.gA(c.hoverText),Ld(a.J.element,{title:c}))}else g.N(Error("Ad info button container within overlay ad was not present."))}}else g.Go(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))};
Yma=function(a){return a.A&&a.A.closeButton&&a.A.closeButton.buttonRenderer&&(a=a.A.closeButton.buttonRenderer,a.serviceEndpoint)?[a.serviceEndpoint]:[]};
MZ=function(a,b){var c=g.qL(a.api);g.L(c,"ytp-ad-overlay-open",b);g.L(c,"ytp-ad-overlay-closed",!b)};
NZ=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-overlay-slot",K:[{D:"div",I:"ytp-ad-overlay-container"}]},"invideo-overlay");this.H=[];this.B=this.ga=null;var c=this.o["ytp-ad-overlay-container"];this.Z=new uZ(c,45E3,6E3,.3,.4);g.H(this,this.Z);this.U=new g.J(this.clear,45E3,this);g.H(this,this.U);this.A=Zma(this);g.H(this,this.A);this.A.ba(c);this.w=$ma(this);g.H(this,this.w);this.w.ba(c);this.u=ana(this);g.H(this,this.u);this.u.ba(c);this.na=this.V=null;this.ea=!1;this.C=null;this.J=0;this.hide()};
Zma=function(a){var b=new g.GC({D:"div",I:"ytp-ad-text-overlay",K:[{D:"div",I:"ytp-ad-overlay-ad-info-button-container"},{D:"div",I:"ytp-ad-overlay-close-container",K:[{D:"button",I:"ytp-ad-overlay-close-button",K:[kZ(OZ)]}]},{D:"div",I:"ytp-ad-overlay-title",W:"{{title}}"},{D:"div",I:"ytp-ad-overlay-desc",W:"{{description}}"},{D:"div",X:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],W:"{{displayUrl}}"}]});a.L(b.o["ytp-ad-overlay-title"],"click",function(c){return PZ(a,b.element,c)});
a.L(b.o["ytp-ad-overlay-link"],"click",function(c){return PZ(a,b.element,c)});
a.L(b.o["ytp-ad-overlay-close-container"],"click",a.At);b.hide();return b};
$ma=function(a){var b=new g.GC({D:"div",X:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],K:[{D:"div",I:"ytp-ad-overlay-ad-info-button-container"},{D:"div",I:"ytp-ad-overlay-close-container",K:[{D:"button",I:"ytp-ad-overlay-close-button",K:[kZ(OZ)]}]},{D:"div",I:"ytp-ad-overlay-text-image",K:[{D:"img",M:{src:"{{imageUrl}}"}}]},{D:"div",I:"ytp-ad-overlay-title",W:"{{title}}"},{D:"div",I:"ytp-ad-overlay-desc",W:"{{description}}"},{D:"div",X:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],
W:"{{displayUrl}}"}]});a.L(b.o["ytp-ad-overlay-title"],"click",function(c){return PZ(a,b.element,c)});
a.L(b.o["ytp-ad-overlay-link"],"click",function(c){return PZ(a,b.element,c)});
a.L(b.o["ytp-ad-overlay-close-container"],"click",a.At);a.L(b.o["ytp-ad-overlay-text-image"],"click",a.oN);b.hide();return b};
ana=function(a){var b=new g.GC({D:"div",I:"ytp-ad-image-overlay",K:[{D:"div",I:"ytp-ad-overlay-ad-info-button-container"},{D:"div",I:"ytp-ad-overlay-close-container",K:[{D:"button",I:"ytp-ad-overlay-close-button",K:[kZ(OZ)]}]},{D:"div",I:"ytp-ad-overlay-image",K:[{D:"img",M:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});a.L(b.o["ytp-ad-overlay-image"],"click",function(c){return PZ(a,b.element,c)});
a.L(b.o["ytp-ad-overlay-close-container"],"click",a.At);b.hide();return b};
QZ=function(a,b){if(b){var c=b.adHoverTextButtonRenderer||null;if(null==c)g.N(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else{var d=g.Jd("video-ads ytp-ad-module")||null;null==d?g.N(Error("Could not locate the root ads container element to attach the ad info dialog.")):(a.V=new g.GC({D:"div",I:"ytp-ad-overlay-ad-info-dialog-container"}),g.H(a,a.V),a.V.ba(d),d=new KZ(a.api,a.oa,a.V.element,!1),g.H(a,d),d.init(jU("ad-info-hover-text-button"),c,a.macros),a.C?(d.ba(a.C,0),
d.subscribe("B",a.CJ,a),d.subscribe("A",a.FJ,a),a.L(a.C,"click",a.DJ),c=g.Jd("ytp-ad-button",d.element),a.L(c,"click",a.BJ),a.na=d):g.N(Error("Ad info button container within overlay ad was not present.")))}}else g.Go(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))};
bna=function(a){return a.B&&a.B.closeButton&&a.B.closeButton.buttonRenderer&&(a=a.B.closeButton.buttonRenderer,a.serviceEndpoint)?[a.serviceEndpoint]:[]};
cna=function(a,b){if(RZ(a,SZ)||a.api.app.H.o)return!1;var c=QX(b.title),d=QX(b.description);if(g.zb(c)||g.zb(d))return!1;SX(a,a.A.element,b.trackingParams||null);a.A.ha("title",QX(b.title));a.A.ha("description",QX(b.description));a.A.ha("displayUrl",QX(b.displayUrl));b.navigationEndpoint&&kb(a.H,b.navigationEndpoint);a.A.show();a.Z.start();TX(a,a.A.element,!0);a.L(a.api,"resize",function(){RZ(a,SZ)&&a.clear()});
a.L(a.api,"minimized",a.EJ);a.L(a.A.element,"mouseover",function(){a.J++});
return!0};
dna=function(a,b){if(RZ(a,SZ)||a.api.app.H.o)return!1;var c=QX(b.title),d=QX(b.description);if(g.zb(c)||g.zb(d))return!1;SX(a,a.w.element,b.trackingParams||null);a.w.ha("title",QX(b.title));a.w.ha("description",QX(b.description));a.w.ha("displayUrl",QX(b.displayUrl));a.w.ha("imageUrl",RX(b.image));b.navigationEndpoint&&kb(a.H,b.navigationEndpoint);a.ga=b.imageNavigationEndpoint||null;a.w.show();a.Z.start();TX(a,a.w.element,!0);a.L(a.api,"resize",function(){RZ(a,SZ)&&a.clear()});
a.L(a.w.element,"mouseover",function(){a.J++});
return!0};
ena=function(a,b){if(a.api.app.H.o)return!1;var c=ema(b.image),d=c;c.width<SZ.width&&(d=SZ);if(0==c.width||0==c.height||RZ(a,d))return!1;SX(a,a.u.element,b.trackingParams||null);a.u.ha("imageUrl",RX(b.image));a.u.ha("width",c.width);a.u.ha("height",c.height);b.navigationEndpoint&&kb(a.H,b.navigationEndpoint);g.th(a.u.o["ytp-ad-image-overlay"],"max-width",c.width+"px");a.u.show();TX(a,a.u.element,!0);a.U.start();a.L(a.api,"resize",function(){RZ(a,c)&&a.clear()});
a.L(a.u.element,"mouseover",function(){a.J++;a.U.stop()});
a.L(a.u.element,"mouseout",function(){a.U.start()});
return!0};
RZ=function(a,b){var c=g.pL(a.api).getPlayerSize();return b.width>c.width||b.height>c.height};
PZ=function(a,b,c){var d=g.dc(a.macros),e=g.Nh(b);d.AW={toString:function(){return e.width.toString()}};
d.AH={toString:function(){return e.height.toString()}};
var f=g.Kh(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.J.toString()}};
a.H.forEach(function(k){return a.oa.executeCommand(k,d)});
a.api.pauseVideo()};
TZ=function(a,b){var c=g.qL(a.api);g.L(c,"ytp-ad-overlay-open",b);g.L(c,"ytp-ad-overlay-closed",!b)};
UZ=function(a,b,c){mZ.call(this,a,b,{D:"div",I:"ytp-ad-message-overlay",K:[{D:"div",I:"ytp-ad-message-slot"}]},"ad-message",c);var d=this;this.U=-1;this.Z=this.o["ytp-ad-message-slot"];this.A=new g.GC({D:"span",I:"ytp-ad-message-container"});this.A.ba(this.Z);g.H(this,this.A);this.w=new qZ(this.api,this.oa,"ytp-ad-message-text");g.H(this,this.w);this.w.ba(this.A.element);this.H=new g.dM(this.A,400,!1,100,function(){return d.hide()});
g.H(this,this.H);this.C=0;this.J=!1;this.hide()};
VZ=function(a,b){var c=g.qL(a.api);g.L(c,"ytp-ad-overlay-open",b);g.L(c,"ytp-ad-overlay-closed",!b)};
WZ=function(a,b,c){mZ.call(this,a,b,{D:"div",I:"ytp-ad-skip-ad-slot"},"skip-ad",c);this.H=!1;this.C=0;this.A=this.w=null;this.hide()};
XZ=function(a,b){if(!a.H)if(a.H=!0,a.w&&(b?a.w.J.hide():a.w.hide()),b){var c=a.A;c.ga.show();c.show()}else a.A.show()};
YZ=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-persisting-overlay",K:[{D:"div",I:"ytp-ad-persisting-overlay-skip"}]},"persisting-overlay");this.w=this.o["ytp-ad-persisting-overlay-skip"];this.u=c;g.H(this,this.u);this.hide()};
ZZ=function(a,b,c){mZ.call(this,a,b,{D:"span",I:"ytp-ad-duration-remaining"},"ad-duration-remaining",c);this.w=null;this.hide()};
$Z=function(a,b){qZ.call(this,a,b,"ytp-video-ad-top-bar-title","ad-title")};
a_=function(a,b,c){mZ.call(this,a,b,{D:"div",X:["ytp-flyout-cta","ytp-flyout-cta-inactive"],K:[{D:"div",I:"ytp-flyout-cta-icon-container"},{D:"div",I:"ytp-flyout-cta-body",K:[{D:"div",I:"ytp-flyout-cta-text-container",K:[{D:"div",I:"ytp-flyout-cta-headline-container"},{D:"div",I:"ytp-flyout-cta-description-container"}]},{D:"div",I:"ytp-flyout-cta-action-button-container"}]}]},"flyout-cta",c);this.H=new jZ(this.api,this.oa,"ytp-flyout-cta-icon");g.H(this,this.H);this.H.ba(this.o["ytp-flyout-cta-icon-container"]);
this.C=new qZ(this.api,this.oa,"ytp-flyout-cta-headline");g.H(this,this.C);this.C.ba(this.o["ytp-flyout-cta-headline-container"]);this.A=new qZ(this.api,this.oa,"ytp-flyout-cta-description");g.H(this,this.A);this.A.ba(this.o["ytp-flyout-cta-description-container"]);this.w=new lZ(this.api,this.oa,["ytp-flyout-cta-action-button"]);g.H(this,this.w);this.w.ba(this.o["ytp-flyout-cta-action-button-container"]);this.J=null;this.U=0;this.hide()};
b_=function(a,b,c,d){c=void 0===c?[]:c;d=void 0===d?"toggle-button":d;var e=jU("ytp-ad-toggle-button-input");Z.call(this,a,b,{D:"div",X:["ytp-ad-toggle-button"].concat(c),K:[{D:"label",I:"ytp-ad-toggle-button-label",M:{"for":e},K:[{D:"span",I:"ytp-ad-toggle-button-icon",M:{role:"button","aria-label":"{{tooltipText}}"},K:[{D:"span",I:"ytp-ad-toggle-button-untoggled-icon",W:"{{untoggledIconTemplateSpec}}"},{D:"span",I:"ytp-ad-toggle-button-toggled-icon",W:"{{toggledIconTemplateSpec}}"}]},{D:"input",
I:"ytp-ad-toggle-button-input",M:{id:e,type:"checkbox"}},{D:"span",I:"ytp-ad-toggle-button-text",W:"{{buttonText}}"},{D:"span",I:"ytp-ad-toggle-button-tooltip",W:"{{tooltipText}}"}]}]},d);this.A=this.o["ytp-ad-toggle-button"];this.u=this.o["ytp-ad-toggle-button-input"];this.U=this.o["ytp-ad-toggle-button-icon"];this.C=this.o["ytp-ad-toggle-button-untoggled-icon"];this.B=this.o["ytp-ad-toggle-button-toggled-icon"];this.V=this.o["ytp-ad-toggle-button-text"];this.w=null;this.H=!1;this.J=null;this.hide()};
c_=function(a){a.H&&(a.isToggled()?(g.Oh(a.C,!1),g.Oh(a.B,!0)):(g.Oh(a.C,!0),g.Oh(a.B,!1)))};
fna=function(a,b){var c=null;a.w&&(c=(b?[a.w.defaultServiceEndpoint,a.w.defaultNavigationEndpoint]:[a.w.toggledServiceEndpoint]).filter(function(d){return null!=d}));
return c||[]};
d_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-instream-user-sentiment-container"},"instream-user-sentiment",void 0===c?null:c);var d=this;this.u=null;this.A=new b_(this.api,this.oa,["ytp-ad-instream-user-sentiment-like-button"]);g.H(this,this.A);this.A.ba(this.element);this.w=new b_(this.api,this.oa,["ytp-ad-instream-user-sentiment-dislike-button"]);g.H(this,this.w);this.w.ba(this.element);this.B=new g.dM(this,400,!1,500,function(){return d.hide()});
g.H(this,this.B);this.C=null;this.hide()};
gna=function(a,b){a.A.init(jU("toggle-button"),a.u.likeButton.toggleButtonRenderer,b);a.w.init(jU("toggle-button"),a.u.dislikeButton.toggleButtonRenderer,b);a.C=a.L(a.element,"change",a.aA)};
e_=function(a,b){lZ.call(this,a,b,["ytp-ad-visit-advertiser-button"],"visit-advertiser");this.A=null};
f_=function(a,b,c){c=void 0===c?!1:c;Z.call(this,a,b,{D:"span",I:"ytp-ad-simple-ad-badge"},"simple-ad-badge");this.u=c;this.hide()};
h_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-player-overlay",K:[{D:"div",I:"ytp-ad-player-overlay-flyout-cta"},{D:"div",I:"ytp-ad-player-overlay-instream-info"},{D:"div",I:"ytp-ad-player-overlay-skip-or-preview"},{D:"div",I:"ytp-ad-player-overlay-progress-bar"},{D:"div",I:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay");this.C=this.o["ytp-ad-player-overlay-flyout-cta"];this.w=this.o["ytp-ad-player-overlay-instream-info"];this.A=null;if(g_(this)){a=g.Ud("div");g.K(a,"ytp-ad-player-overlay-top-bar-gradients");
b=this.w;b.parentNode&&b.parentNode.insertBefore(a,b);if((b=this.api.getVideoData(2))&&b.isListed&&b.title){var d=new $Z(this.api,this.oa);d.ba(a);d.init(jU("ad-title"),{text:b.title},this.macros);g.H(this,d)}this.A=a}this.B=this.o["ytp-ad-player-overlay-skip-or-preview"];this.J=this.o["ytp-ad-player-overlay-progress-bar"];this.H=this.o["ytp-ad-player-overlay-instream-user-sentiment"];this.u=c;g.H(this,this.u);this.hide()};
g_=function(a){a=a.api.N();return Vx(a)&&a.o};
i_=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-answer"},"survey-answer");this.w=this.o["ytp-ad-survey-answer"];this.u=null;this.A="";this.hide()};
j_=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-none-of-the-above"},"survey-none-of-the-above");this.w=this.o["ytp-ad-survey-none-of-the-above"];this.u=null;this.hide()};
k_=function(a,b){lZ.call(this,a,b,["ytp-ad-survey-submit-button"],"survey-submit")};
l_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-player-overlay",K:[{D:"div",I:"ytp-ad-survey-player-overlay-instream-info"},{D:"div",I:"ytp-ad-survey-player-overlay-skip-preview-submit",K:[{D:"div",I:"ytp-ad-survey-player-overlay-skip-or-preview"},{D:"div",I:"ytp-ad-survey-player-overlay-submit"}]},{D:"div",I:"ytp-ad-survey-player-overlay-instream-user-sentiment"}]},"survey-player-overlay");this.C=this.o["ytp-ad-survey-player-overlay-instream-info"];this.w={};this.H=this.o["ytp-ad-survey-player-overlay-skip-or-preview"];
this.u=null;this.J=this.o["ytp-ad-survey-player-overlay-submit"];this.A=null;this.B=c;g.H(this,this.B);this.hide()};
m_=function(a,b,c){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-question",K:[{D:"div",X:["ytp-ad-survey-question-text","ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-answers","ytp-ad-survey-question-foreground"]},{D:"div",X:["ytp-ad-survey-question-player-overlay","ytp-ad-survey-question-foreground"]},{D:"div",I:"ytp-ad-survey-question-background"}]},c);this.question=this.o["ytp-ad-survey-question"];this.Z=this.o["ytp-ad-survey-question-background"];this.U=this.o["ytp-ad-survey-question-text"];
this.answers=this.o["ytp-ad-survey-answers"];this.J=this.o["ytp-ad-survey-question-player-overlay"];this.C=null;this.A=[];this.u=null;this.B=(0,g.I)()};
n_=function(a,b,c){var d=new i_(a.api,a.oa);d.ba(a.answers);d.init(jU("survey-answer"),b,c);a.A.push(d)};
o_=function(a,b){if(b){var c=b.background;c&&c.instreamSurveyAdBackgroundImageRenderer&&(c=(c=c.instreamSurveyAdBackgroundImageRenderer.image)&&iZ(c)||"",g.zb(c)?g.Go(Error("Found ThumbnailDetails without valid image URL")):g.th(a.Z,"backgroundImage","url("+c+")"));hna(a,b)}else g.N(Error("addCommonComponents() needs to be called before starting countdown."))};
hna=function(a,b){if(null==b.durationMilliseconds||void 0==b.durationMilliseconds||0==b.durationMilliseconds)g.N(Error("durationMilliseconds unset or 0 for SurveyAdQuestionCommon: "+JSON.stringify(b)));else{a.B=(0,g.I)();a.u=new xZ(b.durationMilliseconds,a.oa);g.H(a,a.u);if(b.timeoutCommands){var c=b.timeoutCommands;a.u.subscribe("a",function(){c.forEach(function(e){return a.oa.executeCommand(e,a.macros)})})}if(a.u&&b.instreamAdPlayerOverlay&&b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer)try{var d=
new l_(a.api,a.oa,a.u);
d.ba(a.J);d.init(jU("survey-player-overlay"),b.instreamAdPlayerOverlay.instreamSurveyAdPlayerOverlayRenderer,a.macros);a.C=d;g.H(a,d);a.HB()}catch(e){g.N(Error("ISAPOR had an error when initializing. Error: "+(e+" SurveyAdQuestionCommon: "+JSON.stringify(b))))}else g.N(Error("ISAPOR was not present in renderer. SurveyAdQuestionCommon: "+JSON.stringify(b)));a.u&&b.durationMilliseconds&&0<b.durationMilliseconds?(d=new bQ(a.api,a.u),d.ba(a.J),g.H(a,d)):g.N(Error("Survey progress bar was not added. SurveyAdQuestionCommon: "+
JSON.stringify(b)))}};
ina=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.I)()-a.B})};
p_=function(a,b){m_.call(this,a,b,"survey-question-multi-select");this.w=null;this.V=[];this.H=null;this.hide()};
jna=function(a,b,c){a.w=new j_(a.api,a.oa);a.w.ba(a.answers);a.w.init(jU("survey-none-of-the-above"),b,c)};
kna=function(a){a.A.forEach(function(b){b.u.toggleButton(!1)});
q_(a,!0)};
q_=function(a,b){var c=a.C,d=lna(a),e=b;e=void 0===e?!1:e;c.u&&(d?c.u.hide():c.u.show(),e&&c.u instanceof WZ&&!c.u.H&&XZ(c.u,!1));c.A&&(d?c.A.show():c.A.hide())};
lna=function(a){return a.A.some(function(b){return b.u.isToggled()})||a.w.u.isToggled()};
r_=function(a,b){m_.call(this,a,b,"survey-question-single-select");this.hide()};
s_=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey",K:[{D:"div",I:"ytp-ad-survey-questions"}]},"survey");this.u=this.o["ytp-ad-survey-questions"];this.w=[];this.hide()};
t_=function(a,b){Z.call(this,a,b,{D:"div",I:"ytp-ad-survey-interstitial",K:[{D:"div",I:"ytp-ad-survey-interstitial-contents",K:[{D:"div",I:"ytp-ad-survey-interstitial-logo",K:[{D:"div",I:"ytp-ad-survey-interstitial-logo-image"}]},{D:"div",I:"ytp-ad-survey-interstitial-text"}]}]},"survey-interstitial");this.B=this.o["ytp-ad-survey-interstitial"];this.C=this.o["ytp-ad-survey-interstitial-contents"];this.u=null;this.J=this.o["ytp-ad-survey-interstitial-text"];this.H=this.o["ytp-ad-survey-interstitial-logo-image"];
this.A=null;this.w=new g.dM(this,500,!1,300);g.H(this,this.w)};
mna=function(a,b,c){c=c.dismissCommands;var d=b.target==a.B;b=a.u.element.contains(b.target);if(d||b)a.w.hide(),d&&c.forEach(function(e){return a.oa.executeCommand(e,a.macros)})};
u_=function(a,b){var c=b&&iZ(b)||"";if(g.zb(c))g.Go(Error("Found ThumbnailDetails without valid image URL"));else{var d=a.style.cssText;if(g.Od&&10>document.documentMode)d=new Ic;else{var e=document;"function"===typeof HTMLTemplateElement&&(e=g.Vd("TEMPLATE").content.ownerDocument);e=e.implementation.createHTMLDocument("").createElement("DIV");e.style.cssText=d;d=dea(e.style)}c=Eaa(d,Nc({"background-image":'url("'+c+'")'}));a.style.cssText=Jc(c)}};
v_=function(a){var b=g.Jd("html5-video-player");b&&g.L(b,"ytp-ad-display-override",a)};
w_=function(a,b){Z.call(this,a,b,{D:"div",I:"iv-website-companion",K:[{D:"div",I:"iv-website-companion-block",K:[{D:"div",I:"iv-website-companion-icon"},{D:"div",I:"iv-website-companion-text",K:[{D:"div",I:"iv-website-companion-desc",K:[{D:"span",X:["yt-badge","yt-badge-ad"],W:"{{adBadgeText}}"}]}]}]}]},"action-companion");this.V=this.o["iv-website-companion"];this.A=new jZ(this.api,this.oa,"iv-website-companion-banner");g.H(this,this.A);this.A.ba(this.V,0);this.ea=new jZ(this.api,this.oa);g.H(this,
this.A);this.ea.ba(this.o["iv-website-companion-icon"]);this.J=new qZ(this.api,this.oa,"iv-website-companion-header");g.H(this,this.J);this.J.ba(this.o["iv-website-companion-text"],0);this.C=new qZ(this.api,this.oa,"iv-website-companion-domain");g.H(this,this.C);this.C.ba(this.o["iv-website-companion-desc"]);this.w=new lZ(this.api,this.oa,["iv-website-companion-action","yt-uix-button-size-default","yt-uix-button-primary"]);g.H(this,this.w);this.w.ba(this.o["iv-website-companion-block"]);this.B=new iY(this.api,
this.oa);g.H(this,this.B);this.B.ba(this.V,0);this.U=null;this.Z=[];this.H=new g.P;g.H(this,this.H);this.ga=new AU(3E4);this.u=null;this.hide()};
x_=function(){g.V.call(this,{D:"div",I:"ad-carousel",K:[{D:"div",I:"ad-carousel-clip",K:[{D:"ul",X:["ad-carousel-list","ad-carousel-list-animation"]}]}]});var a=this.o["ad-carousel"];this.A=new g.V({D:"button",X:["ad-carousel-nav-button","ad-carousel-nav-prev"],M:{type:"button",onclick:"return false;"},K:[{D:"span",X:["ad-carousel-prev-icon","yt-uix-tooltip","yt-sprite"],M:{"data-tooltip-text":"Prev",title:"Prev"}}]});g.H(this,this.A);this.A.ia("click",this.F,this);this.A.ba(a);this.w=new g.V({D:"button",
X:["ad-carousel-nav-button","ad-carousel-nav-next"],M:{type:"button",onclick:"return false;"},K:[{D:"span",X:["ad-carousel-next-icon","yt-uix-tooltip","yt-sprite"],M:{"data-tooltip-text":"Next",title:"Next"}}]});g.H(this,this.w);this.w.ia("click",this.C,this);this.w.ba(a);this.B=this.o["ad-carousel-list"];this.u=0;this.Ga=[]};
z_=function(a){a.B&&g.th(a.B,"left",(2>a.Ga.length?0:-a.u*a.Ga[1].element.clientWidth)+"px");g.FC(a.A,0<a.u);g.FC(a.w,a.u<a.Ga.length-y_(a))};
y_=function(a){return 2>a.Ga.length?1:Math.round((a.element.clientWidth-a.Ga[0].element.clientWidth)/a.Ga[1].element.clientWidth)+1};
A_=function(){$X.call(this,!0);this.o=new x_};
B_=function(){$X.call(this,!1);this.u=new g.V({D:"div",I:"iv-btp-card",K:[{D:"a",I:"iv-btp-card-content",K:[{D:"div",W:"{{cards}}"}]}]});g.H(this,this.u);var a={D:"div",I:"iv-btp-card-merchant",K:[{D:"span",I:"iv-btp-card-merchant-text",W:"{{merchant}}"}]};this.A=new g.BC({D:"div",X:["iv-btp-small-card","yt-uix-hovercard-target"],M:{"data-position":"bottomright","data-orientation":"vertical"},K:[{D:"div",X:["iv-btp-card-image","yt-uix-hovercard-anchor"],W:"{{image}}"},{D:"div",I:"iv-btp-card-info",
K:[{D:"span",I:"iv-btp-card-action",W:"{{price}}"},a]},{D:"div",X:["yt-uix-hovercard-content","iv-btp-hovercard"],W:"{{hovercard}}"}]});g.H(this,this.A);this.o=new g.BC({D:"div",I:"iv-btp-large-card",K:[{D:"div",I:"iv-btp-card-image",K:[{D:"span"},{D:"div",I:"iv-btp-card-image-aligned",W:"{{image}}"}]},{D:"div",I:"iv-btp-card-info",K:[{D:"div",I:"iv-btp-card-text-box",K:[{D:"div",I:"iv-btp-card-text-valign",K:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-card-headline"],W:"{{headline}}"}]}]},
{D:"span",I:"iv-btp-card-action",W:"{{price}}"},a,{D:"div",W:"{{review}}"}]}]});g.H(this,this.o);this.w=new g.BC({D:"div",I:"iv-btp-hovercard-text-box",K:[{D:"a",K:[{D:"div",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-btp-hovercard-headline"],W:"{{headline}}"}]},{D:"div",I:"iv-btp-hovercard-info",K:[{D:"span",I:"iv-btp-hovercard-action",W:"{{price}}"},a]},{D:"div",W:"{{review}}"}]});g.H(this,this.w);this.B=new g.BC({D:"div",I:"iv-btp-card-review",K:[{D:"div",I:"iv-btp-card-rating",K:[{D:"span",I:"iv-btp-card-rating-bg",
K:[{D:"span",I:"iv-btp-card-rating-fg"}]}]},{D:"span",I:"iv-btp-card-reviews",W:"{{reviewText}}"}]});g.H(this,this.B);this.A.ha("hovercard",this.w);this.u.ha("cards",[this.A,this.o]);nna(this)};
nna=function(a){a.u.ia("click",function(){a.dispatchEvent({type:"offerclick"})});
for(var b=g.q((a.u.element||document).getElementsByTagName("A")),c=b.next();!c.done;c=b.next())a.u.L(c.value,"click",function(){a.dispatchEvent({type:"offernavclick"})})};
C_=function(a,b,c){c=c?ZX(c):null;a.ha(b,c)};
D_=function(a,b){aY.call(this,a,b,function(){return new ona.Xp});
this.u=null;pna(this)};
pna=function(a){for(var b=g.q(Object.values(qna)),c=b.next();!c.done;c=b.next())a.view.addEventListener(c.value,function(d){return a.onClick(d)})};
E_=function(){g.B.call(this);this.w=this.A=this.u=this.B=this.o=null};
rna=function(a,b){return F_(a).then(function(c){c&&g.Na(c.promotionShelfShow)&&c.promotionShelfShow(b)})};
sna=function(a){F_(a).then(function(b){b&&g.Na(b.promotionShelfClear)&&b.promotionShelfClear()})};
G_=function(){return g.w("yt.www.watch.ads")};
F_=function(a){if(a.la())throw Error("Object is disposed");if(!a.o){var b=G_();a.o=b?kf(b):(new cf(function(c){a.B=mea(c)})).then(G_)}return a.o};
H_=function(){$X.call(this,!0);this.o=new g.V({D:"div",I:"iv-btp-companion",K:[{D:"div",I:"iv-btp-block-clicks"},{D:"div",I:"iv-btp-attribution",K:[{D:"span",I:"iv-btp-title",W:"{{shopText}}"},{D:"div",I:"ad-info-container",K:[{D:"span",I:"iv-btp-sponsored",W:"{{sponsoredText}}"},{D:"button",I:"ad-info-icon"}]}]}]});g.H(this,this.o);this.w=this.o.o["iv-btp-block-clicks"];this.u=new E_;g.H(this,this.u);this.A=rna(this.u,this.o.element);tna(this)};
tna=function(a){a.o.ia("click",function(b){g.ce(a.o.o["ad-info-icon"],b.target)&&a.dispatchEvent({type:"adinfoclick"})})};
J_=function(a,b){aY.call(this,a,b,function(){return new I_.CD});
this.P=new g.P(this);g.H(this,this.P);this.F=[];this.u=null;this.w=new I_.Tp;g.H(this,this.w);this.view.append(this.w);this.C=new I_.aD(a,b,new MX(this.view.o.o["ad-info-icon"]));g.H(this,this.C);this.view.append(this.C.view);una(this)};
una=function(a){a.P.L(a.o,"appresize",a.S);a.P.L(a.view,"adinfoclick",function(b){return a.onClick(b)})};
vna=function(a){var b=a.view;g.Oh(b.w,!0);of([a.u,Cf(1E3)]).then(function(){g.Oh(b.w,!1)})};
K_=function(){$X.call(this,!0);var a=this;this.A=this.u=0;this.o=new g.V({D:"div",I:"iv-cards-slider",K:[{D:"div",I:"iv-cards-slider-body",K:[{D:"ul",I:"iv-cards-slider-list"}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-prev"],M:{type:"button",onclick:";return false;"},K:[{D:"span",X:["iv-cards-slider-prev-icon","yt-sprite"]}]},{D:"button",X:["iv-cards-slider-button","iv-cards-slider-next"],M:{type:"button",onclick:";return false;"},K:[{D:"span",X:["iv-cards-slider-next-icon","yt-sprite"]}]}]});
this.F=g.Jd("iv-cards-slider-list",this.o.element);if(this.w=g.Jd("iv-cards-slider-prev",this.o.element))this.o.L(this.w,"click",function(){a.dispatchEvent({type:"prevbuttonclick"})}),g.Oh(this.w,!1);
(this.B=g.Jd("iv-cards-slider-next",this.o.element))&&this.o.L(this.B,"click",function(){a.dispatchEvent({type:"nextbuttonclick"})});
g.H(this,this.o)};
L_=function(a){a.F.style.left=125*-a.u+"px";a.w&&g.Oh(a.w,0<a.u);a.B&&g.Oh(a.B,a.u<a.A-3)};
M_=function(){$X.call(this,!0);this.o=new g.V({D:"div",I:"iv-cards-companion",K:[{D:"div",I:"iv-cards-attribution",K:[{D:"span",X:["yt-badge","yt-badge-ad"],W:"{{adBadgeText}}"},{D:"a",I:"ad-companion-clickthrough",M:{target:"_blank"},W:"{{shopText}}"}]},{D:"div",W:"{{content}}"}]});g.H(this,this.o);this.u=new AU(3E4);this.w=this.u.showCompanion(this.o.element,300,250);wna(this)};
wna=function(a){a.o.ia("click",function(){a.dispatchEvent({type:"companionclick"})});
var b=g.Jd("ad-companion-clickthrough",a.o.element);b&&a.o.L(b,"click",function(){a.dispatchEvent({type:"shoptextclick"})})};
N_=function(){$X.call(this,!1);this.o=new g.V({D:"li",I:"iv-cards-slider-item",K:[{D:"div",I:"iv-cards-slider-unit",K:[{D:"a",K:[{D:"div",I:"iv-cards-slider-image",W:"{{image}}"},{D:"span",X:["yt-ui-ellipsis","yt-ui-ellipsis-4","iv-cards-slider-text"],W:"{{headline}}"},{D:"span",I:"iv-cards-slider-action",W:"{{price}}"}]}]}]});g.H(this,this.o);xna(this)};
xna=function(a){a.o.ia("click",function(){a.dispatchEvent({type:"offerclick"})})};
O_=function(a,b){aY.call(this,a,b,function(){return new yna.Xp});
var c=this;this.u=null;this.view.addEventListener("offerclick",function(){return c.onClick()})};
Q_=function(a,b){aY.call(this,a,b,function(){return new P_.jD});
this.U=new g.P(this);g.H(this,this.U);this.S=[];this.P=null;this.C=[];this.w=null;this.u=new P_.Tp;g.H(this,this.u);this.view.append(this.u);this.F=new iY(a,b);g.H(this,this.F);g.Zd(this.view.ib(),this.F.element,0);zna(this)};
zna=function(a){function b(c){return a.onClick(c)}
a.view.addEventListener("shoptextclick",b);a.view.addEventListener("companionclick",b);a.u.addEventListener("nextbuttonclick",b);a.u.addEventListener("prevbuttonclick",b)};
R_=function(a,b,c){switch(a){case "invideo-overlay":a=new NZ(b,c);break;case "invideo-overlay-as-cta":a=new LZ(b,c);break;case "persisting-overlay":a=new YZ(b,c,new cQ(b));break;case "player-overlay":a=new h_(b,c,new cQ(b));break;case "pla-shelf":a=new J_(b,c);break;case "shopping-companion":a=new Q_(b,c);break;case "survey":a=new s_(b,c);break;case "ad-action-interstitial":a=new yZ(b,c);break;case "action-companion":a=new w_(b,c);break;case "ad-text-interstitial":a=new CZ(b,c);break;case "survey-interstitial":a=
new t_(b,c);break;case "ad-choice-interstitial":a=new AZ(b,c);break;case "ad-message":a=new UZ(b,c,new cQ(b,1));break;default:return null}return a};
S_=function(a){g.P.call(this);this.o=a;this.L(this.o,"onAdUxUpdate",this.F)};
T_=function(a,b){S_.call(this,a);this.A=b;this.u=new Map;g.H(this,XX())};
U_=function(a,b){kU.call(this,"image-companion",a,b)};
V_=function(a){S_.call(this,a)};
W_=function(a,b){S_.call(this,a);this.A=a;this.C=b;this.u={};var c=new g.V({D:"div",X:["video-ads","ytp-ad-module"]});g.H(this,c);sx&&g.K(c.element,"ytp-ads-tiny-mode");this.B=new MX(c.element);g.H(this,this.B);g.KL(this.A,c.element,4);g.H(this,XX())};
X_=function(a,b){var c=a.u;var d=b.id;c=null!==c&&d in c?c[d]:null;null==c&&g.Go(Error("Component not found for element id: "+b.id));return c||null};
Y_=function(a,b,c){if(c&&c!==a.layoutType)return!1;b=g.q(b);for(c=b.next();!c.done;c=b.next())if(!a.Za.o.has(c.value))return!1;return!0};
Ana=function(a){switch(a){case "trigger_category_layout_exit_normal":return!0;case "trigger_category_layout_exit_skip":return!1;case "trigger_category_layout_exit_mute":return!1;default:return!1}};
Z_=function(a){g.B.call(this);this.Yb=a;this.o=.1>Math.random();this.eventCount=0};
a0=function(a){var b;return(null===(b=$_.get(a))||void 0===b?void 0:b.rp)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"};
c0=function(a,b,c){b0(a,b,void 0,void 0,c)};
d0=function(a,b,c,d){b0(a,b,void 0,void 0,c,d?d:void 0)};
b0=function(a,b,c,d,e,f,k){if(g.R(a.Yb.aa.N().experiments,"html5_enable_ads_client_monitoring_log")&&!g.R(a.Yb.aa.N().experiments,"html5_disable_client_tmp_logs")&&"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"!==b){var l=a.o||g.R(a.Yb.aa.N().experiments,"html5_force_debug_data_for_client_tmp_logs");b={eventType:b,eventOrder:++a.eventCount};var m=g.S(a.Yb.aa.N().experiments,"html5_experiment_id_label");m=0<m?{html5ExperimentContext:{ytExperimentId:m}}:void 0;if(c||e||f||m){var n={};e&&(n.slotData=e0(l,e));f&&
(e={type:Bna.get(f.layoutType)||"LAYOUT_TYPE_UNSPECIFIED",controlFlowManagerLayer:f0.get(f.ge)||"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"},l&&(e.debugData={layoutId:f.layoutId}),n.layoutData=e);k&&(f={type:Cna.get(k.trigger.triggerType)||"TRIGGER_TYPE_UNSPECIFIED",category:Dna.get(k.category)||"TRIGGER_CATEGORY_UNSPECIFIED"},n.triggerData=f);c&&(n.opportunityData=Ena(a,l,c,d));m&&(n.externalContext=m);b.adClientData=n}hr("adsClientStateChange",{adsClientEvent:b})}};
e0=function(a,b){var c={type:Fna.get(b.bb)||"SLOT_TYPE_UNSPECIFIED",controlFlowManagerLayer:f0.get(b.ge)||"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"};if(a){c.debugData={slotId:b.slotId};c.debugData.entryTriggerData=[];for(var d=g.q(b.qh),e=d.next();!e.done;e=d.next()){e=e.value;var f={type:Cna.get(e.triggerType)||"TRIGGER_TYPE_UNSPECIFIED"};"trigger_type_layout_id_entered"===e.triggerType&&(f.layoutIdEnteredTriggerData={enteredLayoutId:e.u});c.debugData.entryTriggerData.push(f)}}return c};
Ena=function(a,b,c,d){c={opportunityType:c};b&&d&&(c.debugData={slots:(0,g.A)(d,function(e){return e0(b,e)},a)});
return c};
h0=function(a,b,c){g.N(Error("[H5 Ads Control Flow] "+a.concat(b?", slot: "+(g0.debug>=g0[Gna.debug.sD]?b.slotId+" |":"")+" "+b.bb:"",c?", layout: "+(g0.debug>=g0[Gna.debug.sD]?c.layoutId+" |":"")+" "+c.layoutType:"")))};
Hna=function(a,b,c){g.B.call(this);this.u=b;this.jb=c;this.o=a(this,this,this,this,this);g.H(this,this.o);a=g.q(b);for(b=a.next();!b.done;b=a.next())g.H(this,b.value)};
Ina=function(a,b){a.u=a.u.filter(function(c){return c!==b})};
q0=function(a,b,c){if(i0(a.o,b))if(j0(a.o,b).A=c?"filled":"not_filled",null===c)d0(a.jb,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_EMPTY",b),k0(a,b,!1);else if(d0(a.jb,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLED_NON_EMPTY",b,c),j0(a.o,b).B)k0(a,b,!1);else{d0(a.jb,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_LAYOUT_REQUESTED",b,c);try{var d=a.o;if(!j0(d,b))throw new l0("Unknown slotState for onLayout");if(!d.o.yy.get(b.bb))throw new l0("No LayoutRenderingAdapterFactory registered for slot of type: "+b.bb);if(g.cb(c.jg)&&
g.cb(c.kg)&&g.cb(c.hg))throw new l0("Layout has no exit triggers.");m0(d,"trigger_category_layout_exit_normal",c.jg);m0(d,"trigger_category_layout_exit_skip",c.kg);m0(d,"trigger_category_layout_exit_mute",c.hg)}catch(l){n0(a,b,c,l);k0(a,b,!0);return}a.o.Li(b);try{var e=a.o,f=j0(e,b),k=e.o.yy.get(b.bb).af(e.A,e.Wq,b,c);k.init();f.layout=c;if(f.u)throw new l0("Already had LayoutRenderingAdapter registered for slot");f.u=k;o0(e,f,"trigger_category_layout_exit_normal",c.jg);o0(e,f,"trigger_category_layout_exit_skip",
c.kg);o0(e,f,"trigger_category_layout_exit_mute",c.hg)}catch(l){p0(a,b);k0(a,b,!0);n0(a,b,c,l);return}d0(a.jb,"ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",b,c);d=g.q(a.u);for(e=d.next();!e.done;e=d.next())e.value.Aj(c);p0(a,b);Jna(a,b)}};
Kna=function(a,b,c){if(i0(a.o,b)){d0(a.jb,"ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",b,c);a=g.q(a.u);for(var d=a.next();!d.done;d=a.next())d.value.nj(b,c)}};
Mna=function(a,b,c,d){if(i0(a.o,b)){d0(a.jb,a0(d),b,c);d=j0(a.o,b);null!=d.layout&&d.layout.layoutId===c.layoutId&&("rendering_stop_requested"!==d.o&&r0(d.slot,d.o,"onLayoutExited"),d.o="entered");d=g.q(a.u);for(var e=d.next();!e.done;e=d.next())e.value.oj(b,c);(d=s0(a.o,b))&&c.layoutId===d.layoutId&&Lna(a,b,!1)}};
n0=function(a,b,c,d){h0(d.toString(),b,c);k0(a,b,!0)};
p0=function(a,b){if(i0(a.o,b)){j0(a.o,b).Li=!1;var c=j0(a.o,b),d=[].concat(g.na(c.F));db(c.F);t0(a,d)}};
t0=function(a,b){for(var c=new Map,d=g.q(b),e=d.next();!e.done;e=d.next())if(e=e.value,i0(a.o,e.slot))if(j0(a.o,e.slot).Li)j0(a.o,e.slot).F.push(e);else{var f=a.jb,k=e.slot,l=e.layout;g.R(f.Yb.aa.N().experiments,"html5_control_flow_include_trigger_logging_in_tmp_logs")&&b0(f,"ADS_CLIENT_EVENT_TYPE_TRIGGER_ACTIVATED",void 0,void 0,k,l?l:void 0,e);(f=c.get(e.category))||(f=[]);f.push(e);c.set(e.category,f)}d=g.q((new Map([["trigger_category_layout_exit_normal","normal"],["trigger_category_layout_exit_skip",
"skipped"],["trigger_category_layout_exit_mute","muted"]])).entries());for(e=d.next();!e.done;e=d.next())if(e=g.q(e.value),f=e.next().value,e=e.next().value,k=c.get(f))for(f=a,k=g.q(k),l=k.next();!l.done;l=k.next())l=l.value,l.layout&&u0(f.o,l.slot)&&Nna(f,l.slot,l.layout,e);if(d=c.get("trigger_category_slot_expiration"))for(d=g.q(d),e=d.next();!e.done;e=d.next())k0(a,e.value.slot,!1);if(d=c.get("trigger_category_slot_fulfillment"))for(d=g.q(d),e=d.next();!e.done;e=d.next()){e=e.value;a:switch(j0(a.o,
e.slot).A){case "not_filled":f=!0;break a;default:f=!1}f&&(c0(a.jb,"ADS_CLIENT_EVENT_TYPE_FULFILL_SLOT_REQUESTED",e.slot),a.o.xk(e.slot))}if(c=c.get("trigger_category_slot_entry"))for(c=g.q(c),d=c.next();!d.done;d=c.next()){d=d.value;c0(a.jb,"ADS_CLIENT_EVENT_TYPE_ENTER_SLOT_REQUESTED",d.slot);try{var m=a.o,n=d.slot,p=j0(m,n);if(!p)throw new v0("Got enter request for unknown slot");if(!p.w)throw new v0("Tried to enter slot with no assigned slotAdapter");if("scheduled"!==p.o)throw new v0("Tried to enter a slot from stage: "+
p.o);if(w0(p))throw new v0("Got enter request for already active slot");for(var t=g.q(x0(m,n.bb).values()),u=t.next();!u.done;u=t.next()){var z=u.value;if(p!==z&&w0(z))throw new v0("Trying to enter a slot when a slot of same type is already active. Its status: "+z.o);}}catch(C){h0(C.toString(),d.slot,d.layout);k0(a,d.slot,!0);continue}d=j0(a.o,d.slot);"scheduled"!==d.o&&r0(d.slot,d.o,"enterSlot");d.o="enter_requested";e=d.w;d=e.ab;e=e.slot;if(i0(d.o,e)){c0(d.jb,"ADS_CLIENT_EVENT_TYPE_SLOT_ENTERED",
e);f=j0(d.o,e);"enter_requested"!==f.o&&r0(f.slot,f.o,"onSlotEntered");f.o="entered";f=g.q(d.u);for(k=f.next();!k.done;k=f.next())k.value.jl(e);Jna(d,e)}}};
Jna=function(a,b){var c;if(i0(a.o,b)&&w0(j0(a.o,b))&&s0(a.o,b)&&!u0(a.o,b)){d0(a.jb,"ADS_CLIENT_EVENT_TYPE_ENTER_LAYOUT_REQUESTED",b,(c=s0(a.o,b),null!==c&&void 0!==c?c:void 0));var d=j0(a.o,b);"entered"!==d.o&&r0(d.slot,d.o,"enterLayoutForSlot");d.o="rendering";d.u.startRendering(d.layout)}};
Nna=function(a,b,c,d){if(i0(a.o,b)){var e=a.jb,f;var k=(null===(f=$_.get(d))||void 0===f?void 0:f.bp)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED";d0(e,k,b,c);a=j0(a.o,b);"rendering"!==a.o&&r0(a.slot,a.o,"exitLayout");a.o="rendering_stop_requested";a.u.tu(c,d)}};
k0=function(a,b,c){if(i0(a.o,b)){if(a.o.Tr(b)||a.o.Pr(b))if(j0(a.o,b).B=!0,!c)return;if(w0(j0(a.o,b)))j0(a.o,b).B=!0,Lna(a,b,c);else{if(a.o.Ur(b)&&(j0(a.o,b).B=!0,i0(a.o,b)&&(c0(a.jb,"ADS_CLIENT_EVENT_TYPE_CANCEL_SLOT_FULFILLMENT_REQUESTED",b),j0(a.o,b).C.o()),!c))return;c=s0(a.o,b);c0(a.jb,"ADS_CLIENT_EVENT_TYPE_UNSCHEDULE_SLOT_REQUESTED",b);for(var d=j0(a.o,b),e=g.q(b.qh),f=e.next();!f.done;f=e.next()){f=f.value;var k=d.P.get(f.o);k&&(k.sh(f),d.P["delete"](f.o))}e=g.q(b.zi);for(f=e.next();!f.done;f=
e.next())if(f=f.value,k=d.H.get(f.o))k.sh(f),d.H["delete"](f.o);e=g.q(b.yi);for(f=e.next();!f.done;f=e.next())if(f=f.value,k=d.G.get(f.o))k.sh(f),d.G["delete"](f.o);void 0!==d.layout&&(e=d.layout,y0(d,e.jg),y0(d,e.kg),y0(d,e.hg));d.C=void 0;d.w=void 0;void 0!==d.u&&(d.u.xs(),d.u=void 0);d=a.o;j0(d,b)&&(d=x0(d,b.bb))&&d["delete"](b.slotId);c0(a.jb,"ADS_CLIENT_EVENT_TYPE_SLOT_UNSCHEDULED",b);a=g.q(a.u);for(d=a.next();!d.done;d=a.next())d=d.value,d.Jl(b),c&&d.Hl(b,c)}}};
Lna=function(a,b,c){if(i0(a.o,b)&&w0(j0(a.o,b))){var d=s0(a.o,b);if(d&&u0(a.o,b))Nna(a,b,d,c?"error":"abandoned");else{c0(a.jb,"ADS_CLIENT_EVENT_TYPE_EXIT_SLOT_REQUESTED",b);try{var e=j0(a.o,b);if(!e)throw new v0("Cannot exit slot it is unregistered");"enter_requested"!==e.o&&"entered"!==e.o&&"rendering"!==e.o&&r0(e.slot,e.o,"exitSlot");e.o="exit_requested";if(void 0===e.w)throw e.o="scheduled",new v0("Cannot exit slot because adapter is not defined");var f=e.w,k=f.ab,l=f.slot;if(i0(k.o,l)){c0(k.jb,
"ADS_CLIENT_EVENT_TYPE_SLOT_EXITED",l);var m=j0(k.o,l);"exit_requested"!==m.o&&r0(m.slot,m.o,"onSlotExited");m.o="scheduled";for(var n=g.q(k.u),p=n.next();!p.done;p=n.next())p.value.kl(l);i0(k.o,l)&&j0(k.o,l).B&&k0(k,l,!1)}}catch(t){h0(t.toString(),b)}}}};
z0=function(a){this.slot=a;this.P=new Map;this.H=new Map;this.G=new Map;this.J=new Map;this.u=this.layout=this.w=this.C=void 0;this.Li=this.B=!1;this.F=[];this.o="not_scheduled";this.A="not_filled"};
w0=function(a){return"enter_requested"===a.o||a.isActive()};
l0=function(a){Ua.call(this,"Layout error: "+a)};
v0=function(a){Ua.call(this,"Slot error: "+a)};
A0=function(a,b,c,d,e){g.B.call(this);this.o=a;this.w=b;this.B=c;this.A=d;this.Wq=e;this.u=new Map};
x0=function(a,b){var c=a.u.get(b);return c?c:new Map};
j0=function(a,b){return x0(a,b.bb).get(b.slotId)};
i0=function(a,b){return null!=j0(a,b)};
u0=function(a,b){var c=j0(a,b),d;if(d=void 0!==c.layout)a:switch(c.o){case "rendering":case "rendering_stop_requested":d=!0;break a;default:d=!1}return d};
s0=function(a,b){var c=j0(a,b);return void 0!==c.layout?c.layout:null};
B0=function(a,b,c){if(g.cb(c))throw new v0("No "+b+" triggers found for slot.");c=g.q(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!a.o.Mj.get(d.triggerType))throw new v0("No trigger adapter registered for "+b+" trigger of type: "+d.triggerType);};
m0=function(a,b,c){c=g.q(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,!a.o.Mj.get(d.triggerType))throw new l0("No trigger adapter registered for "+b+" trigger of type: "+d.triggerType);};
o0=function(a,b,c,d){d=g.q(d);for(var e=d.next();!e.done;e=d.next()){e=e.value;var f=a.o.Mj.get(e.triggerType);f.lh(c,e,b.slot,b.layout?b.layout:null);b.J.set(e.o,f)}};
y0=function(a,b){for(var c=g.q(b),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.J.get(d.o);e&&(e.sh(d),a.J["delete"](d.o))}};
r0=function(a,b,c){h0("Slot stage was "+b+" when calling method "+c,a)};
C0=function(a){this.value=a};
D0=function(a){this.value=a};
E0=function(a){this.value=a};
F0=function(a){this.value=a};
G0=function(a){this.value=a};
H0=function(){C0.apply(this,arguments)};
I0=function(a){this.value=a};
J0=function(a){this.value=a};
K0=function(a){this.value=a};
L0=function(a){this.value=a};
M0=function(a){this.value=a};
N0=function(a){this.value=a};
O0=function(a){this.value=a};
P0=function(a){this.value=a};
Q0=function(a){this.value=a};
R0=function(a){this.value=a};
S0=function(a){this.value=a};
T0=function(a){this.value=a};
U0=function(a,b){this.ab=a;this.slot=b};
V0=function(a,b){var c;a:if((c=b.bb)&&c!==a.bb)c=!1;else{c=g.q(b.cf);for(var d=c.next();!d.done;d=c.next())if(!a.Za.o.has(d.value)){c=!1;break a}c=!0}return c?!0:!1};
W0=function(){};
X0=function(){};
Y0=function(a,b,c){this.ab=a;this.slot=b;this.lg=c};
Z0=function(a){this.lg=a};
$0=function(a,b,c,d){this.ab=a;this.slot=b;this.lg=c;this.ck=d};
Ona=function(a){var b=1E3*a.startSecs;return new g.SD(b,b+1E3*a.durationSecs)};
Qna=function(a){var b,c,d,e,f;if(!a.length)throw new TypeError("Expected ad placement renderer");a=g.q(a).next().value;var k=((null===(b=a)||void 0===b?void 0:b.config)||{}).adPlacementConfig;if("AD_PLACEMENT_KIND_MILLISECONDS"!==(null===(c=k)||void 0===c?void 0:c.kind))throw new TypeError("Expected ad placement renderer kind to be milliseconds");k=(k.adTimeOffset||{}).offsetStartMilliseconds;if(void 0===k)throw new TypeError("Expected start offset");k=Number(k);if(isNaN(k))throw new TypeError("Expected valid start offset");
a=((null===(e=null===(d=a)||void 0===d?void 0:d.renderer)||void 0===e?void 0:e.linearAdSequenceRenderer)||{}).linearAds;if(null===(f=a)||void 0===f||!f.length)throw new TypeError("Expected linear ads");a=a.map(function(l){l=l.instreamVideoAdRenderer;if(!l)throw new TypeError("Expected instream video ad renderer");if(!l.playerVars)throw new TypeError("Expected player vars in url encoded string");l=cp(l.playerVars);var m=Number(l.length_seconds);if(isNaN(m))throw new TypeError("Expected valid length seconds in player vars");
return{layoutId:Lr(),layoutType:"layout_type_media",jg:[],kg:[],hg:[],ge:"adapter",Za:new a1([new P0(m),new Q0(l)])}});
return Pna(k,a)};
b1=function(a,b){this.lg=a;this.ck=b};
Rna=function(a,b){this.ab=a;this.slot=b};
Sna=function(){};
Una=function(a){g.B.call(this);this.o=a;this.u=Tna(this)};
Tna=function(a){var b=a.o.Nj,c=b.u,d=new Hna(function(e,f,k,l,m){m=a.o.ZN(m);var n=new Sna,p=new X0;return new A0({ax:new Map([["slot_type_in_player",new Z0(a.o.lg)],["slot_type_above_feed",p],["slot_type_below_player",p],["slot_type_forecasting",p],["slot_type_player_bytes",new b1(a.o.lg,a.o.ck)]]),Mj:new Map([["trigger_type_on_layout_self_exit_requested",b.o],["trigger_type_on_element_self_enter_requested",b.o],["trigger_type_on_new_playback_after_content_video_id",m.u],["trigger_type_slot_id_entered",
c],["trigger_type_slot_id_exited",c],["trigger_type_slot_id_scheduled",c],["trigger_type_layout_id_entered",c],["trigger_type_layout_id_exited",c],["trigger_type_on_different_layout_id_entered",c],["trigger_type_media_time_range",m.o],["trigger_type_after_content_video_id_ended",m.o],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",b.w],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",b.w]]),fC:new Map([["slot_type_in_player",n],["slot_type_above_feed",n],["slot_type_below_player",n],["slot_type_forecasting",n]]),
yy:new Map([["slot_type_in_player",a.o.Tn.A],["slot_type_above_feed",a.o.Tn.o],["slot_type_below_player",a.o.Tn.u],["slot_type_forecasting",a.o.Tn.w]])},e,f,k,l)},[c,
b.o,a.o.To,a.o.Wk],a.o.jb);g.H(a,d);return d};
c1=function(a,b,c,d){g.Q.call(this);this.ab=a;this.slot=b;this.layout=c;this.o=d;this.u=[]};
Vna=function(a){this.adPlacementConfig=a};
Wna=function(a,b,c){this.o=a;this.Vb=b;this.adPlacementConfig=c;this.u=new Set};
d1=function(){return["metadata_type_ad_placement_config"]};
Yna=function(a){a.o.has("impression")&&a.o.get("impression")&&a.o.get("impression").forEach(function(b){if(b=b.baseUrl){var c=a.Vb;c.dm=Xna((new Vna(a.adPlacementConfig)).adPlacementConfig,c.dm);c.gh.send(b,c.dm,{})}});
a.u.add("impression")};
f1=function(a,b,c,d,e,f,k,l,m){c1.call(this,a,b,c,d);this.Vb=e;this.A=f;this.Cd=k;this.C=l;this.F=m;this.w=null;this.G=e1(this.layout.Za,"metadata_type_ad_video_id");a=this.A;a.u.push(this);g.H(a,this);a=e1(this.layout.Za,"metadata_type_ad_placement_config");this.B=new Wna(new Map,e,a)};
Zna=function(a,b){return Y_(b,["metadata_type_ad_video_id"],"layout_type_media")&&a.G===e1(b.Za,"metadata_type_ad_video_id")?!0:!1};
g1=function(a,b,c,d,e,f,k){f1.call(this,a,b,c,d,e,f,k,"metadata_type_action_companion_ad_renderer",function(l,m){return new NV(l,m)})};
$na=function(){var a=["metadata_type_action_companion_ad_renderer","metadata_type_ad_video_id"];d1().forEach(function(b){a.push(b)});
return{cf:a,layoutType:"layout_type_companion_with_action_button"}};
aoa=function(a,b,c,d,e,f,k){f1.call(this,a,b,c,d,e,f,k,"metadata_type_image_companion_ad_renderer",function(l,m){return new U_(l,m)})};
boa=function(){var a=["metadata_type_image_companion_ad_renderer","metadata_type_ad_video_id"];d1().forEach(function(b){a.push(b)});
return{cf:a,layoutType:"layout_type_companion_with_image"}};
coa=function(a,b,c,d,e,f,k){f1.call(this,a,b,c,d,e,f,k,"metadata_type_shopping_companion_carousel_renderer",function(l,m){return new CW(l,m)})};
doa=function(){var a=["metadata_type_shopping_companion_carousel_renderer","metadata_type_ad_video_id"];d1().forEach(function(b){a.push(b)});
return{cf:a,layoutType:"layout_type_companion_with_shopping"}};
h1=function(a,b){return Y_(a,b.cf,b.layoutType)?!0:!1};
eoa=function(a,b,c,d){this.Ge=a;this.Vb=b;this.o=c;this.Cd=d};
foa=function(a,b,c,d){this.Ge=a;this.Vb=b;this.o=c;this.Cd=d};
goa=function(a,b,c,d,e){this.ab=a;this.slot=b;this.layout=c;this.Vb=d;this.Gl=e;a=e1(this.layout.Za,"metadata_type_ad_placement_config");b=new Map;(c=e1(this.layout.Za,"metadata_type_client_forecasting_ad_renderer").impressionUrls)&&b.set("impression",c);this.o=new Wna(b,this.Vb,a)};
hoa=function(){var a=["metadata_type_client_forecasting_ad_renderer"];d1().forEach(function(b){a.push(b)});
return{cf:a,layoutType:"layout_type_forecasting"}};
ioa=function(a,b){this.Vb=a;this.Gl=b};
joa=function(a,b){this.slot=a;this.layout=b};
koa=function(){var a=["metadata_type_instream_ad_player_overlay_renderer","metadata_type_player_bytes_callback"];d1().forEach(function(b){a.push(b)});
return{cf:a,layoutType:"layout_type_media_layout_player_overlay"}};
i1=function(a,b,c,d,e,f,k){c1.call(this,a,b,c,d);this.ih=e;this.Vb=f;this.Cd=k;this.w=!1;this.A=e1(this.layout.Za,"metadata_type_linked_player_bytes_layout_id")};
loa=function(a,b,c,d,e){this.Vr=a;this.Ge=b;this.ih=c;this.Vb=d;this.Cd=e};
moa=function(a){this.A=new loa(a.Vr,a.Ge,a.ih,a.Vb,a.Cd);this.o=new eoa(a.Ge,a.Vb,a.Xv,a.Cd);this.u=new foa(a.Ge,a.Vb,a.Xv,a.Cd);this.w=new ioa(a.Vb,a.Gl)};
j1=function(a,b,c,d){g.B.call(this);this.w=a;this.u=b;this.opportunityType=c;this.jb=d};
VY=function(a,b){b0(a.jb,"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_RECEIVED",a.opportunityType,void 0);var c=a.w.u(b);b0(a.jb,"ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",a.opportunityType,c);if(c.length){var d=a.u();c=g.q(c);for(var e=c.next();!e.done;e=c.next())a:{var f=d;e=e.value;c0(f.jb,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",e);try{var k=f.o;if(g.zb(e.slotId))throw new v0("Slot ID was empty");if(j0(k,e))throw new v0("Duplicate registration for slot.");if(!k.o.ax.has(e.bb))throw new v0("No fulfillment adapter factory registered for slot of type: "+
e.bb);if(!k.o.fC.has(e.bb))throw new v0("No SlotAdapterFactory registered for slot of type: "+e.bb);B0(k,"trigger_category_slot_entry",e.qh);B0(k,"trigger_category_slot_fulfillment",e.zi);B0(k,"trigger_category_slot_expiration",e.yi);var l=f.o,m=x0(l,e.bb);if(j0(l,e))throw new v0("Duplicate slots not supported");m.set(e.slotId,new z0(e));l.u.set(e.bb,m)}catch(gf){h0(gf.toString(),e);break a}f.o.Li(e);try{for(var n=f.o,p=j0(n,e),t=g.q(e.qh),u=t.next();!u.done;u=t.next()){var z=u.value,C=n.o.Mj.get(z.triggerType);
C&&(C.lh("trigger_category_slot_entry",z,e,null),p.P.set(z.o,C))}for(var D=g.q(e.zi),E=D.next();!E.done;E=D.next()){var G=E.value,F=n.o.Mj.get(G.triggerType);F&&(F.lh("trigger_category_slot_fulfillment",G,e,null),p.H.set(G.o,F))}for(var ka=g.q(e.yi),X=ka.next();!X.done;X=ka.next()){var Cb=X.value,Hc=n.o.Mj.get(Cb.triggerType);Hc&&(Hc.lh("trigger_category_slot_expiration",Cb,e,null),p.G.set(Cb.o,Hc))}var tb=n.o.ax.get(e.bb).af(n.w,e);p.C=tb;var Ya=n.o.fC.get(e.bb).af(n.B,e);p.w=Ya}catch(gf){h0(gf.toString(),
e);k0(f,e,!0);break a}c0(f.jb,"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",e);var uc=j0(f.o,e);"not_scheduled"!==uc.o&&r0(uc.slot,uc.o,"onSlotScheduled");uc.o="scheduled";uc=g.q(f.u);for(var ff=uc.next();!ff.done;ff=uc.next())ff.value.ll(e);p0(f,e)}}};
k1=function(a,b,c){j1.call(this,new noa,a,"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",c);this.o=null};
ooa=function(a,b){a.o?h0("Unexpected multiple fetch instructions for the current content"):a.o=b};
noa=function(){};
l1=function(a,b,c,d){this.ab=a;this.lg=b;this.Yb=c;this.w=d;this.o=new Map};
m1=function(a,b,c,d,e,f){a=poa(a,d);a.kq=b;a.xh=c;a.Gm=e;a.kk=f};
poa=function(a,b){a.o.has(b)||a.o.set(b,{instreamVideoAdRenderer:void 0,Ln:void 0,xh:void 0,adVideoId:b,Gm:void 0,kq:void 0,kk:void 0});return a.o.get(b)};
qoa=function(a,b){return void 0===a.instreamVideoAdRenderer||void 0===a.kk?!1:void 0===a.instreamVideoAdRenderer&&void 0!==a.kk?(h0("AdPlacementSupportedRenderers without matching InstreamVideoAdRenderer"),!1):void 0===a.Gm?(h0("AdPlacementConfig for AdPlacementSupportedRenderers that matches an InstreamVideoAdRenderer is undefined"),!1):void 0===a.Ln||void 0===a.xh||a.Ln!==a.xh&&"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"!==a.xh?!1:void 0===a.instreamVideoAdRenderer.elementId?(h0("InstreamVideoAdRenderer has no elementId, kind: "+
(a.Ln+", matching APSR kind: "+a.xh+". APR count: "+b.Ii.length+". isAdBreakResponse: "+b.fy)),!1):"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"===a.xh&&void 0===a.kq?(h0("Command Triggered AdPlacementSupportedRenderer's AdPlacementRenderer does not have an element ID"),!1):!0};
roa=function(a){var b=[],c=a.sandwichedLinearAdRenderer&&a.sandwichedLinearAdRenderer.linearAd&&a.sandwichedLinearAdRenderer.linearAd.instreamVideoAdRenderer;return c?(b.push(c),b):a.instreamVideoAdRenderer?(b.push(a.instreamVideoAdRenderer),b):a.linearAdSequenceRenderer&&a.linearAdSequenceRenderer.linearAds?(a.linearAdSequenceRenderer.linearAds.forEach(function(d){d.instreamVideoAdRenderer&&b.push(d.instreamVideoAdRenderer)}),b):null};
soa=function(a,b,c,d,e,f){j1.call(this,new l1(b,d,f,"slot_type_above_feed"),a,"OPPORTUNITY_TYPE_AD_PLACEMENT_RENDERERS_RESPONSE_RECEIVED",e)};
toa=function(a,b,c,d,e,f){j1.call(this,new l1(b,d,f,"slot_type_below_player"),a,"OPPORTUNITY_TYPE_AD_PLACEMENT_RENDERERS_RESPONSE_RECEIVED",e)};
n1=function(a,b,c,d){j1.call(this,new uoa,a,"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",d);this.Yb=c};
uoa=function(){};
o1=function(){g.B.apply(this,arguments);this.o=new Map};
q1=function(a){g.B.call(this);this.u=a;this.listeners=[];a.addListener(this);this.o=p1(a);this.contentCpn=p1(a,1).clientPlaybackNonce};
r1=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_layout_id_entered"};
s1=function(a,b){this.o=a;this.B=b;this.triggerType="trigger_type_layout_id_exited"};
t1=function(a,b){this.o=a;this.B=b;this.bb="slot_type_player_bytes";this.layoutType="layout_type_media";this.triggerType="trigger_type_on_different_layout_id_entered"};
u1=function(a){this.o=Lr();this.w=a;this.triggerType="trigger_type_slot_id_entered"};
v1=function(a){this.o=Lr();this.B=a;this.triggerType="trigger_type_slot_id_exited"};
w1=function(a){this.o=Lr();this.A=a;this.triggerType="trigger_type_slot_id_scheduled"};
x1=function(a,b,c,d){this.category=a;this.trigger=b;this.slot=c;this.layout=d};
y1=function(a){g.B.call(this);this.o=a;this.u=new Map;this.B=new Set;this.A=new Set;this.C=new Set;this.w=new Set};
voa=function(){this.o=Lr();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED"};
woa=function(){this.o=Lr();this.triggerType="TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"};
z1=function(a,b){var c;this.A=a;this.u=new Map;this.w=new Map;this.o=(null===(c=b.o)||void 0===c?void 0:c.slotId)||null};
xoa=function(a,b){for(var c=[],d=g.q(a.values()),e=d.next();!e.done;e=d.next())e=e.value,e.slot.slotId===b&&c.push(e);return c};
A1=function(a){this.o=Lr();this.layoutId=a;this.triggerType="trigger_type_on_layout_self_exit_requested"};
B1=function(a,b){this.o=a;this.slotId=b;this.triggerType="trigger_type_on_element_self_enter_requested"};
C1=function(a){g.B.call(this);this.A=a;this.w=new Map;this.u=this.o=null};
yoa=function(a,b){for(var c=[],d=g.q(a.w.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger instanceof A1&&e.trigger.layoutId===b&&Ana(e.category)&&c.push(e);c.length&&t0(a.A(),c)};
zoa=function(a){g.B.call(this);this.u=new y1(a.Eu);g.H(this,this.u);this.o=new C1(a.Eu);g.H(this,this.o);this.w=new z1(a.Eu,a.WN)};
a1=function(a){var b=new Map;a.forEach(function(c){b.set(c.o(),c)});
this.o=b};
e1=function(a,b){var c=a.o.get(b);if(void 0!==c)return c.get()};
D1=function(a){return Array.from(a.o.keys())};
Aoa=function(){};
E1=function(a,b,c,d,e){var f=Lr();return{layoutId:f,layoutType:a,jg:[new A1(f),new t1(Lr(),d)],kg:[],hg:[],ge:"core",Za:new a1([b,new H0(c),new G0(e)])}};
Boa=function(a,b){var c=Lr();return{layoutId:c,layoutType:"layout_type_forecasting",jg:[new A1(c)],kg:[],hg:[],ge:"core",Za:new a1([new S0(a),new G0(b)])}};
Pna=function(a,b){b.every(function(c){return Y_(c,[],"layout_type_media")})||h0("Unexpect subLayout type for DAI composite layout");
return{layoutId:Lr(),layoutType:"layout_type_composite_player_bytes",jg:[new voa],kg:[],hg:[],ge:"core",Za:new a1([new R0(a),new N0(b)])}};
F1=function(){this.o=Lr();this.triggerType="trigger_type_after_content_video_id_ended"};
Coa=function(){this.o=Lr();this.triggerType="trigger_type_before_content_video_id_started"};
G1=function(a,b){this.o=a;this.u=b;this.triggerType="trigger_type_media_time_range"};
H1=function(a,b){this.o=a;this.contentVideoId=b;this.triggerType="trigger_type_on_new_playback_after_content_video_id"};
Doa=function(){};
Eoa=function(a,b,c,d,e){var f=Lr();return{slotId:f,bb:"slot_type_in_player",qh:[new r1(Lr(),b)],zi:[new u1(f)],yi:[new H1(Lr(),a),new v1(f)],ge:"core",Za:new a1([new K0(b),new J0(c),new L0(d),new G0(e)])}};
Goa=function(a,b,c,d){var e=Lr();return Foa(e,a,new r1(Lr(),c),b,d)};
Hoa=function(a,b,c,d){return Foa(b,a,new B1(Lr(),b),c,d)};
Ioa=function(a,b,c){var d=Lr();a:{var e,f;switch(a.kind){case "AD_PLACEMENT_KIND_START":a=new Coa;break a;case "AD_PLACEMENT_KIND_MILLISECONDS":if(null===(e=a.adTimeOffset)||void 0===e||!e.offsetStartMilliseconds){h0("AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds.");break}if(null===(f=a.adTimeOffset)||void 0===f||!f.offsetEndMilliseconds){h0("AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.");break}e=Number(a.adTimeOffset.offsetStartMilliseconds);a=Number(a.adTimeOffset.offsetEndMilliseconds);
if(isNaN(e)||isNaN(a)||e>=a){h0("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be > startMs.");break}a=new G1(Lr(),new Fi(e,a));break a;case "AD_PLACEMENT_KIND_END":a=new F1;break a;default:h0("Cannot construct entry trigger from AdPlacementKind: "+(a.kind+"."))}a=void 0}if(a)return{slotId:d,bb:"slot_type_forecasting",qh:[a],zi:[new u1(d)],yi:[new v1(d),new H1(Lr(),b)],ge:"core",Za:new a1([new T0(c)])}};
Foa=function(a,b,c,d,e){return{slotId:a,bb:b,qh:[c],zi:[new u1(a)],yi:[new H1(Lr(),d),new v1(a)],ge:"core",Za:new a1([new T0(e)])}};
Joa=function(){this.o=new Map};
I1=function(a,b){g.B.call(this);this.ab=a;this.mg=b;this.u=this.o=this.w=null;this.mg.addListener(this)};
Koa=function(a){g.B.call(this);this.o=new I1(a.Wq,a.cG);g.H(this,this.o)};
Loa=function(a,b){this.jq=a;this.o=b};
Moa=function(a,b){var c=null;try{c=JSON.parse(a.response)}catch(e){return a.response&&(c=a.response,c.startsWith("GIF89")||(e.params=c.substr(0,256),g.Go(e))),[]}if(!c||c.adThrottled)return[];c=c.playerAds;if(!c||!c.length)return[];c=c.map(function(e){return e.adPlacementRenderer}).filter(function(e){return!(!e||!e.renderer)});
if(!c.length)return[];if(0<b.end){var d=b.end.toString();c.forEach(function(e){(e=e.config&&e.config.adPlacementConfig)&&"AD_PLACEMENT_KIND_MILLISECONDS"===e.kind&&e.adTimeOffset&&"-1"===e.adTimeOffset.offsetEndMilliseconds&&e.adTimeOffset.offsetEndMilliseconds!==d&&(e.adTimeOffset.offsetEndMilliseconds=d)})}return c};
J1=function(a){g.B.call(this);this.aa=a;this.listeners=[];this.o=new g.P(this);g.H(this,this.o);this.o.L(this.aa,"aduxclicked",this.onAdUxClicked)};
Noa=function(a,b,c){b=(0,g.A)(b,function(d){return new lU(d,c,d.id)});
a.aa.ka("onAdUxUpdate",b)};
Ooa=function(a){this.aa=a};
aX=function(a){return(g.Sx(a.aa.N())||a.aa.N().o)&&g.R(a.aa.N().experiments,"html5_enable_companion_with_action_on_above_feed_slot")};
bX=function(a){return g.Sx(a.aa.N())&&nV(a.aa)&&g.R(a.aa.N().experiments,"html5_enable_companion_with_image_on_above_feed_slot")};
cX=function(a){return g.Sx(a.aa.N())&&g.R(a.aa.N().experiments,"html5_enable_companion_with_shopping_on_above_feed_slot")};
$W=function(a){return(g.Sx(a.aa.N())||a.aa.N().o)&&g.R(a.aa.N().experiments,"html5_enable_video_overlay_on_inplayer_slot")};
UY=function(a){return g.R(a.aa.N().experiments,"html5_enable_forecasting_in_pacf")};
K1=function(){this.listeners=[]};
Poa=function(a,b,c,d,e){a.listeners.forEach(function(f){var k;if(f.o){var l=f.o.layoutId;if(l===b)f="Received repeat AD_START event.";else{var m=f.u&&f.u.C&&(null===(k=f.u.C)||void 0===k?void 0:k.kind);f=f.u&&f.u.w;f="Received a new AD_START event before received AD_ENDED event. Previous layout info: kind: "+(m+", videoAdIndex: ")+((null===f||void 0===f?void 0:f.o)+", totalAdsInPod: ")+((null===f||void 0===f?void 0:f.u)+", layoutId ")+((""===l?"is":"is not")+" empty.")}h0(f)}else{f.w={slotId:Lr(),
bb:"slot_type_player_bytes",qh:[],zi:[],yi:[],ge:"surface",Za:new a1([])};l=[];(m=c.B||"")&&l.push(new H0(m));(m=(m=c.o)&&m.playerOverlay&&m.playerOverlay.instreamAdPlayerOverlayRenderer)&&l.push(new J0(m));l.push(new I0(d));l.push(new L0(e));l.push(new G0(c.C));f.o={layoutId:b,layoutType:"layout_type_media",jg:[],kg:[],hg:[],ge:"surface",Za:new a1(l)};f.u=c;m=f.ab;l=f.o;d0(m.jb,"ADS_CLIENT_EVENT_TYPE_LAYOUT_SCHEDULED",f.w,l);m=g.q(m.u);for(k=m.next();!k.done;k=m.next())k.value.Aj(l);m=f.ab;l=f.w;
f=f.o;d0(m.jb,"ADS_CLIENT_EVENT_TYPE_LAYOUT_ENTERED",l,f);m=g.q(m.u);for(k=m.next();!k.done;k=m.next())k.value.nj(l,f)}})};
Rla=function(a,b,c,d,e,f){a.listeners.forEach(function(k){var l,m;if(k.o&&k.o.layoutId===b){var n=k.ab;var p=k.w;var t=k.o;d0(n.jb,a0("c"===c?"abandoned":"normal"),p,t);n=g.q(n.u);for(l=n.next();!l.done;l=n.next())l.value.oj(p,t);k.w=null;k.o=null;k.u=null}else n=null===(t=k.o)||void 0===t?void 0:t.layoutId,t=null===(m=null===(l=k.u)||void 0===l?void 0:l.C)||void 0===m?void 0:m.kind,l=void 0!==k.o,n=n&&""===n,k=null===(p=k.u)||void 0===p?void 0:p.w,h0("Received AD_ENDED for unknown layout, reason: "+
(c.toString().split("_")[0]+", kind: "+d+", videoAdIndex: ")+(e+", totalPodLength: "+f+", elementId ")+((""===b?"is":"is not")+" empty. Previous layout info: isStillActive: ")+(l+", kind: ")+(t+", videoAdIndex: ")+((null===k||void 0===k?void 0:k.o)+", totalAdsInPod: ")+((null===k||void 0===k?void 0:k.u)+", layoutId ")+((n?"is":"is not")+" empty."))})};
L1=function(a){this.o=a};
Qoa=function(a){var b=void 0===b?new uU(new L1(function(){var c=a.getVideoData(1);return c?c.hf():""})):b;
this.aa=a;this.gh=b;this.dm=cV(ZU(a))};
Xna=function(a,b){if(a){var c={};a.kind?"AD_PLACEMENT_KIND_MILLISECONDS"===a.kind||"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===a.kind?a.adTimeOffset&&a.adTimeOffset.offsetStartMilliseconds?c.MIDROLL_POS=YU(mc(Math.round(g.hd(a.adTimeOffset.offsetStartMilliseconds)/1E3).toString())):Cp(Error("malformed AdPlacementConfig")):c.MIDROLL_POS=YU(mc("0")):Cp(Error("AdPlacementConfig without kind"));return dV(cV(c),b)}h0("Unable to merge Macros using adPlacementConfig data because it is null");return b};
Roa=function(a){if(a=a.aa.rb())if(a=FI(a.B))return a;return function(){}};
M1=function(a,b){g.B.call(this);this.aa=a;this.TO=b;this.listeners=[];var c=new g.P(this);g.H(this,c);c.L(a,"videodatachange",this.BN)};
p1=function(a,b){var c=a.aa.getVideoData(b);return c?a.Mm(c):null};
Soa=function(a){this.aa=a};
N1=function(a,b){g.B.call(this);this.ab=a;this.aa=b;this.o=new Map;this.u=new Map;this.w=new g.P(this);g.H(this,this.w);this.w.L(this.aa,g.VD("ad"),this.A,this)};
O1=function(a,b,c){g.SD.call(this,b,c,{id:"adtriggercuerange:"+a.o,namespace:"ad",priority:2,visible:!1});this.o=a.o};
P1=function(a,b){g.B.call(this);this.ab=a;this.aa=b;this.o=new Map;this.u=null;this.w=new g.P(this);g.H(this,this.w);this.w.L(this.aa,"videodatachange",this.A)};
Toa=function(a){var b=a.aa.getVideoData(1);b&&(a.u=b.clientPlaybackNonce)};
Uoa=function(a){g.B.call(this);this.u=new P1(a.sC,a.aa);g.H(this,this.u);this.o=new N1(a.sC,a.aa);g.H(this,this.o)};
Voa=function(a,b,c){function d(){return p}
g.B.call(this);var e=new J1(a);g.H(this,e);var f=new Soa(a),k=new Qoa(a);this.mg=new K1;this.o=new Ooa(a);var l=new M1(a,new Joa);g.H(this,l);this.jb=new Z_(this.o);g.H(this,this.jb);this.Wk=new o1;g.H(this,this.Wk);var m=new q1(l);g.H(this,m);l=new Aoa;var n=new Doa,p=null;this.Nj=new zoa({Eu:d,WN:m});g.H(this,this.Nj);m=new k1(d,n,this.jb);g.H(this,m);this.To=new n1(d,n,this.o,this.jb);g.H(this,this.To);this.u=new Una({ZN:function(t){return new Uoa({aa:a,sC:t})},
Tn:new moa({Vr:g.Ix(a.N()),Ge:e,ih:f,Vb:k,Xv:d,Cd:this.Wk,Gl:this.Nj.o}),Nj:this.Nj,To:this.To,jb:this.jb,Wk:this.Wk,lg:l,ck:new Loa(b,c)});g.H(this,this.u);p=this.u.u;b=new Koa({cG:this.mg,Wq:p});g.H(this,b);a.N().o?this.dk=new toa(d,m,n,l,this.jb,this.o):this.dk=new soa(d,m,n,l,this.jb,this.o);g.H(this,this.dk)};
Q1=function(a){g.LP.call(this,a);var b=this;this.o=null;this.u=new cU(this.player);this.w=new DY(this.player);this.A=new Voa(this.player,this.u,this.w);g.H(this,this.A);this.created=!1;var c=a.N();!Gx(c)||g.Jx(c)||Kx(c)||(c=function(){return b.o},g.H(this,new W_(a,c)),g.H(this,nV(a)?new V_(a,c):new T_(a,c)))};
Woa=function(a,b){if(null!==a.o){var c=a.o;switch(b){case "control_play":hZ(c)&&c.o.rb().playVideo();break;case "control_pause":hZ(c)&&(g.W(g.sL(c.o,2),64)||c.o.rb().pauseVideo())}}};
g.R1=function(a){if(!Xoa.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Yoa,"#$1$1$2$2$3$3"));a=a.toLowerCase();a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]};
Zoa=function(){if(!g.Od)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}};
g.S1=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;Qg();a=Wc(a,null);return b.parseFromString(g.Sc(a),"application/xml")}if($oa){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.T1=function(a){g.B.call(this);this.u=a;this.o={}};
apa=function(a,b,c,d,e,f){if(Array.isArray(c))for(var k=0;k<c.length;k++)apa(a,b,c[k],d,e,f);else{b=xe(b,c,d||a.handleEvent,e,f||a.u||a);if(!b)return a;a.o[b.key]=b}return a};
g.bpa=function(a){g.Ob(a.o,function(b,c){this.o.hasOwnProperty(c)&&He(b)},a);
a.o={}};
U1=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
V1=function(a){this.length=a.length||a;for(var b=0;b<this.length;b++)this[b]=a[b]||0};
aa=[];ha="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
fa=aaa(this);ia.prototype.toString=function(){return this.o};
var baa=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new ia("jscomp_symbol_"+(c||"")+"_"+b++,c)}
var b=0;return a}(),oa="function"==typeof Object.create?Object.create:function(a){function b(){}
b.prototype=a;return new b},W1;
if("function"==typeof Object.setPrototypeOf)W1=Object.setPrototypeOf;else{var X1;a:{var cpa={a:!0},dpa={};try{dpa.__proto__=cpa;X1=dpa.a;break a}catch(a){}X1=!1}W1=X1?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var pa=W1;
qa.prototype.F=function(a){this.u=a};
qa.prototype["return"]=function(a){this.A={"return":a};this.o=this.G};
Ba("Promise",function(a){function b(k){this.u=0;this.w=void 0;this.o=[];var l=this.A();try{k(l.resolve,l.reject)}catch(m){l.reject(m)}}
function c(){this.o=null}
function d(k){return k instanceof b?k:new b(function(l){l(k)})}
if(a)return a;c.prototype.u=function(k){if(null==this.o){this.o=[];var l=this;this.w(function(){l.B()})}this.o.push(k)};
var e=fa.setTimeout;c.prototype.w=function(k){e(k,0)};
c.prototype.B=function(){for(;this.o&&this.o.length;){var k=this.o;this.o=[];for(var l=0;l<k.length;++l){var m=k[l];k[l]=null;try{m()}catch(n){this.A(n)}}}this.o=null};
c.prototype.A=function(k){this.w(function(){throw k;})};
b.prototype.A=function(){function k(n){return function(p){m||(m=!0,n.call(l,p))}}
var l=this,m=!1;return{resolve:k(this.J),reject:k(this.B)}};
b.prototype.J=function(k){if(k===this)this.B(new TypeError("A Promise cannot resolve to itself"));else if(k instanceof b)this.P(k);else{a:switch(typeof k){case "object":var l=null!=k;break a;case "function":l=!0;break a;default:l=!1}l?this.H(k):this.C(k)}};
b.prototype.H=function(k){var l=void 0;try{l=k.then}catch(m){this.B(m);return}"function"==typeof l?this.O(l,k):this.C(k)};
b.prototype.B=function(k){this.F(2,k)};
b.prototype.C=function(k){this.F(1,k)};
b.prototype.F=function(k,l){if(0!=this.u)throw Error("Cannot settle("+k+", "+l+"): Promise already settled in state"+this.u);this.u=k;this.w=l;this.G()};
b.prototype.G=function(){if(null!=this.o){for(var k=0;k<this.o.length;++k)f.u(this.o[k]);this.o=null}};
var f=new c;b.prototype.P=function(k){var l=this.A();k.Rm(l.resolve,l.reject)};
b.prototype.O=function(k,l){var m=this.A();try{k.call(l,m.resolve,m.reject)}catch(n){m.reject(n)}};
b.prototype.then=function(k,l){function m(u,z){return"function"==typeof u?function(C){try{n(u(C))}catch(D){p(D)}}:z}
var n,p,t=new b(function(u,z){n=u;p=z});
this.Rm(m(k,n),m(l,p));return t};
b.prototype["catch"]=function(k){return this.then(void 0,k)};
b.prototype.Rm=function(k,l){function m(){switch(n.u){case 1:k(n.w);break;case 2:l(n.w);break;default:throw Error("Unexpected state: "+n.u);}}
var n=this;null==this.o?f.u(m):this.o.push(m)};
b.resolve=d;b.reject=function(k){return new b(function(l,m){m(k)})};
b.race=function(k){return new b(function(l,m){for(var n=g.q(k),p=n.next();!p.done;p=n.next())d(p.value).Rm(l,m)})};
b.all=function(k){var l=g.q(k),m=l.next();return m.done?d([]):new b(function(n,p){function t(C){return function(D){u[C]=D;z--;0==z&&n(u)}}
var u=[],z=0;do u.push(void 0),z++,d(m.value).Rm(t(u.length-1),p),m=l.next();while(!m.done)})};
return b});
Ba("Array.prototype.findIndex",function(a){return a?a:function(b,c){return Da(this,b,c).Xx}});
Ba("Array.prototype.find",function(a){return a?a:function(b,c){return Da(this,b,c).JC}});
Ba("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ea(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}});
Ba("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ea(this,b,"startsWith");b+="";for(var e=d.length,f=b.length,k=Math.max(0,Math.min(c|0,d.length)),l=0;l<f&&k<e;)if(d[k++]!=b[l++])return!1;return l>=f}});
Ba("String.prototype.repeat",function(a){return a?a:function(b){var c=Ea(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}});
Ba("WeakMap",function(a){function b(m){this.o=(l+=Math.random()+1).toString();if(m){m=g.q(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(!Fa(m,k)){var n=new c;ha(m,k,{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(t){return!1}}())return a;
var k="$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(!Fa(m,k))throw Error("WeakMap key fail: "+m);m[k][this.o]=n;return this};
b.prototype.get=function(m){return d(m)&&Fa(m,k)?m[k][this.o]:void 0};
b.prototype.has=function(m){return d(m)&&Fa(m,k)&&Fa(m[k],this.o)};
b.prototype["delete"]=function(m){return d(m)&&Fa(m,k)&&Fa(m[k],this.o)?delete m[k][this.o]:!1};
return b});
Ba("Map",function(a){function b(){var l={};return l.previous=l.next=l.head=l}
function c(l,m){var n=l.o;return la(function(){if(n){for(;n.head!=l.o;)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=""+ ++k,f.set(m,n)):n="p_"+m;var p=l.u[n];if(p&&Fa(l.u,n))for(var t=0;t<p.length;t++){var u=p[t];if(m!==m&&u.key!==u.key||m===u.key)return{id:n,list:p,index:t,zd:u}}return{id:n,list:p,index:-1,zd:void 0}}
function e(l){this.u={};this.o=b();this.size=0;if(l){l=g.q(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.q([[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(t){return!1}}())return a;
ma();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.u[n.id]=[]);n.zd?n.zd.value=m:(n.zd={next:this.o,previous:this.o.previous,head:this.o,key:l,value:m},n.list.push(n.zd),this.o.previous.next=n.zd,this.o.previous=n.zd,this.size++);return this};
e.prototype["delete"]=function(l){l=d(this,l);return l.zd&&l.list?(l.list.splice(l.index,1),l.list.length||delete this.u[l.id],l.zd.previous.next=l.zd.next,l.zd.next.previous=l.zd.previous,l.zd.head=null,this.size--,!0):!1};
e.prototype.clear=function(){this.u={};this.o=this.o.previous=b();this.size=0};
e.prototype.has=function(l){return!!d(this,l).zd};
e.prototype.get=function(l){return(l=d(this,l).zd)&&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 k=0;return e});
Ba("Array.prototype.keys",function(a){return a?a:function(){return Ga(this,function(b){return b})}});
Ba("Set",function(a){function b(c){this.o=new Map;if(c){c=g.q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.o.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.q([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(k){return!1}}())return a;
ma();b.prototype.add=function(c){c=0===c?0:c;this.o.set(c,c);this.size=this.o.size;return this};
b.prototype["delete"]=function(c){c=this.o["delete"](c);this.size=this.o.size;return c};
b.prototype.clear=function(){this.o.clear();this.size=0};
b.prototype.has=function(c){return this.o.has(c)};
b.prototype.entries=function(){return this.o.entries()};
b.prototype.values=function(){return this.o.values()};
b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.o.forEach(function(f){return c.call(d,f,f,e)})};
return b});
Ba("Array.prototype.values",function(a){return a?a:function(){return Ga(this,function(b,c){return c})}});
var epa="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)Fa(d,e)&&(a[e]=d[e])}return a};
Ba("Object.assign",function(a){return a||epa});
Ba("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}});
Ba("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}});
Ba("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 k=0;!(f=b.next()).done;)e.push(c.call(d,f.value,k++))}else for(f=b.length,k=0;k<f;k++)e.push(c.call(d,b[k],k));return e}});
Ba("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});
Ba("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 k=d[f];if(k===b||Object.is(k,b))return!0}return!1}});
Ba("String.prototype.includes",function(a){return a?a:function(b,c){return-1!==Ea(this,b,"includes").indexOf(b,c||0)}});
var fpa=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=oa(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}();
Ba("Reflect.construct",function(){return fpa});
Ba("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)Fa(b,d)&&c.push(b[d]);return c}});
Ba("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}});
Ba("WeakSet",function(a){function b(c){this.o=new WeakMap;if(c){c=g.q(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.o.set(c,!0);return this};
b.prototype.has=function(c){return this.o.has(c)};
b.prototype["delete"]=function(c){return this.o["delete"](c)};
return b});
Ba("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)Fa(b,d)&&c.push([d,b[d]]);return c}});
Ba("Number.parseInt",function(a){return a||parseInt});
Ba("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}});
g.Y1=g.Y1||{};g.v=this||self;Laa=/^[\w+/_-]+[=]{0,2}$/;$c=null;Pa="closure_uid_"+(1E9*Math.random()>>>0);eaa=0;g.I=Date.now||function(){return+new Date};g.Ta(Ua,Error);Ua.prototype.name="CustomError";var Ed;g.Ta(Va,Ua);Va.prototype.name="AssertionError";var ab,jj;ab=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);
for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};
g.gpa=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("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1};
g.y=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
g.ae=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,k="string"===typeof a?a.split(""):a,l=0;l<d;l++)if(l in k){var m=k[l];
b.call(c,m,l,a)&&(e[f++]=m)}return e};
g.A=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="string"===typeof a?a.split(""):a,k=0;k<d;k++)k in f&&(e[k]=b.call(c,f[k],k,a));
return e};
g.ti=Array.prototype.reduce?function(a,b,c){return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;
(0,g.y)(a,function(e,f){d=b.call(void 0,d,e,f,a)});
return d};
jj=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;
return!1};
g.si=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="string"===typeof 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 Jb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ab=/&/g,Bb=/</g,Db=/>/g,Eb=/"/g,Fb=/'/g,Gb=/\x00/g,qaa=/[\x00&<>"']/;a:{var hpa=g.v.navigator;if(hpa){var ipa=hpa.userAgent;if(ipa){g.Mb=ipa;break a}}g.Mb=""};var fc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");var Fda,Eda,Dda,Gda;Fda=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]");g.jpa=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.kpa=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.fn=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]");Eda=/^http:\/\/.*/;Dda=/\s+/;Gda=/[\d\u06f0-\u06f9]/;var lpa={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};rc.prototype.Zf=!0;rc.prototype.xe=function(){return this.o};
var qc={},pc={},Jaa=g.tc("");xc.prototype.Zf=!0;xc.prototype.xe=function(){return this.u.toString()};
xc.prototype.Fr=!0;xc.prototype.o=function(){return 1};
var vaa=/%{(\w+)}/g,uaa=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,wc={},vc={};g.Bc.prototype.Zf=!0;g.Bc.prototype.xe=function(){return this.u.toString()};
g.Bc.prototype.Fr=!0;g.Bc.prototype.o=function(){return 1};
var yaa=/^(?: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,xaa=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,Dc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Ac={},zc={};Ic.prototype.Zf=!0;var Gc={};Ic.prototype.xe=function(){return this.o};
var Mc=Kc(""),Aaa=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,Pc=RegExp("\\b(url\\([ \t\n]*)('[ -&(-\\[\\]-~]*'|\"[ !#-\\[\\]-~]*\"|[!#-&*-\\[\\]-~]*)([ \t\n]*\\))","g"),Oc=RegExp("\\b(calc|cubic-bezier|fit-content|hsl|hsla|linear-gradient|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\\([-+*/0-9a-z.%\\[\\], ]+\\)","g"),Baa=/\/\*/;Rc.prototype.Fr=!0;Rc.prototype.o=function(){return this.w};
Rc.prototype.Zf=!0;Rc.prototype.xe=function(){return this.u.toString()};
var mpa=/^[a-zA-Z0-9-]+$/,npa={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},opa={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Qc={};Wc("<!DOCTYPE html>",0);var Vc=Wc("",0);Wc("<br>",0);var Iaa=oc(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.Sc(Vc);return!b.parentElement});var Maa=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)};md[" "]=g.Ia;var vh,iI,ST,ppa,qpa,rpa,qx,sx,Z1;g.wh=Nb("Opera");g.Od=Nb("Trident")||Nb("MSIE");g.Cw=Nb("Edge");g.Wx=g.Cw||g.Od;vh=Nb("Gecko")&&!(Ib(g.Mb,"WebKit")&&!Nb("Edge"))&&!(Nb("Trident")||Nb("MSIE"))&&!Nb("Edge");g.Qd=Ib(g.Mb,"WebKit")&&!Nb("Edge");iI=Nb("Macintosh");ST=Nb("Windows");g.rx=Nb("Android");ppa=kd();qpa=Nb("iPad");rpa=Nb("iPod");qx=ld();sx=Ib(g.Mb,"KaiOS");
a:{var $1="",a2=function(){var a=g.Mb;if(vh)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.Cw)return/Edge\/([\d\.]+)/.exec(a);if(g.Od)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Qd)return/WebKit\/(\S+)/.exec(a);if(g.wh)return/(?:Version)[ \/]?(\S+)/.exec(a)}();
a2&&($1=a2?a2[1]:"");if(g.Od){var b2=od();if(null!=b2&&b2>parseFloat($1)){Z1=String(b2);break a}}Z1=$1}var pd=Z1,Oaa={},c2;if(g.v.document&&g.Od){var spa=od();c2=spa?spa:parseInt(pd,10)||void 0}else c2=void 0;var Qaa=c2;try{(new self.OffscreenCanvas(0,0)).getContext("2d")}catch(a){}var Raa=!g.Od||g.rd(9),Taa=!vh&&!g.Od||g.Od&&g.rd(9)||vh&&g.qd("1.9.1");g.Od&&g.qd("9");var Vaa=g.Od||g.wh||g.Qd;g.wd.prototype.clone=function(){return new g.wd(this.x,this.y)};
g.wd.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
g.wd.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};
g.wd.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.h=g.yd.prototype;g.h.clone=function(){return new g.yd(this.width,this.height)};
g.h.aspectRatio=function(){return this.width/this.height};
g.h.isEmpty=function(){return!Bd(this)};
g.h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
g.h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
g.h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Kd={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.h=Cd.prototype;g.h.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))};
g.h.createElement=function(a){return Sd(this.o,a)};
g.h.appendChild=g.Xd;g.h.append=function(a,b){Td(Dd(a),a,arguments,1)};
g.h.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.h.contains=g.ce;g.h=je.prototype;g.h.CO=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.Mi.set(this.Yy(c),[new Waa(a)])};
g.h.ix=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];b=this.Yy(b);return this.Mi.has(b)?this.Mi.get(b):void 0};
g.h.KE=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return(b=this.ix(b))&&b.length?b[0]:void 0};
g.h.clear=function(){this.Mi.clear()};
g.h.Yy=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];return b?b.join(","):"key"};g.r(ke,je);ke.prototype.w=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];d=0;var e=this.KE(c);e&&(d=e.qw);this.CO(d+a,c)};g.B.prototype.vb=!1;g.B.prototype.la=function(){return this.vb};
g.B.prototype.dispose=function(){this.vb||(this.vb=!0,this.Y())};
g.B.prototype.Y=function(){if(this.mi)for(;this.mi.length;)this.mi.shift()()};g.oe.prototype.stopPropagation=function(){this.o=!0};
g.oe.prototype.preventDefault=function(){this.defaultPrevented=!0};var pe={};var Fe=!g.Od||g.rd(9),tpa=g.Od&&!g.qd("9");!g.Qd||g.qd("528");vh&&g.qd("1.9b")||g.Od&&g.qd("8")||g.wh&&g.qd("9.5")||g.Qd&&g.qd("528");vh&&!g.qd("8")||g.Od&&g.qd("9");var aba=function(){if(!g.v.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});
try{g.v.addEventListener("test",g.Ia,b),g.v.removeEventListener("test",g.Ia,b)}catch(c){}return a}();var xQ;xQ=g.Qd?"webkitAnimationEnd":g.wh?"oanimationend":"animationend";g.Ta(qe,g.oe);var upa={2:"touch",3:"pen",4:"mouse"};
qe.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?vh&&(nd(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="string"===typeof a.pointerType?a.pointerType:upa[a.pointerType]||"";this.state=a.state;this.u=a;a.defaultPrevented&&this.preventDefault()};
qe.prototype.stopPropagation=function(){qe.Gb.stopPropagation.call(this);this.u.stopPropagation?this.u.stopPropagation():this.u.cancelBubble=!0};
qe.prototype.preventDefault=function(){qe.Gb.preventDefault.call(this);var a=this.u;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,tpa)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var re="closure_listenable_"+(1E6*Math.random()|0),Yaa=0;ue.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.o++);var k=we(a,b,d,e);-1<k?(b=a[k],c||(b.Qm=!1)):(b=new Zaa(b,this.src,f,!!d,e),b.Qm=c,a.push(b));return b};
ue.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=we(e,b,c,d);return-1<b?(te(e[b]),g.eb(e,b),0==e.length&&(delete this.listeners[a],this.o--),!0):!1};
ue.prototype.Bk=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=we(a,b,c,d));return-1<e?a[e]:null};var Ce="closure_lm_"+(1E6*Math.random()|0),Ie={},Ee=0,Le="__closure_events_fn_"+(1E9*Math.random()>>>0);g.Ta(g.Me,g.B);g.Me.prototype[re]=!0;g.h=g.Me.prototype;g.h.addEventListener=function(a,b,c,d){ye(this,a,b,c,d)};
g.h.removeEventListener=function(a,b,c,d){Ge(this,a,b,c,d)};
g.h.dispatchEvent=function(a){var b=this.ca;if(b){var c=[];for(var d=1;b;b=b.ca)c.push(b),++d}b=this.ga;d=a.type||a;if("string"===typeof a)a=new g.oe(a,b);else if(a instanceof g.oe)a.target=a.target||b;else{var e=a;a=new g.oe(d,b);g.gc(a,e)}e=!0;if(c)for(var f=c.length-1;!a.o&&0<=f;f--){var k=a.currentTarget=c[f];e=Ne(k,d,!0,a)&&e}a.o||(k=a.currentTarget=b,e=Ne(k,d,!0,a)&&e,a.o||(e=Ne(k,d,!1,a)&&e));if(c)for(f=0;!a.o&&f<c.length;f++)k=a.currentTarget=c[f],e=Ne(k,d,!1,a)&&e;return e};
g.h.Y=function(){g.Me.Gb.Y.call(this);if(this.u){var a=this.u,b=0,c;for(c in a.listeners){for(var d=a.listeners[c],e=0;e<d.length;e++)++b,te(d[e]);delete a.listeners[c];a.o--}}this.ca=null};
g.h.ia=function(a,b,c,d){return this.u.add(String(a),b,!1,c,d)};
g.h.hs=function(a,b,c,d){return this.u.add(String(a),b,!0,c,d)};
g.h.Wa=function(a,b,c,d){this.u.remove(String(a),b,c,d)};
g.h.Bk=function(a,b,c,d){return this.u.Bk(String(a),b,c,d)};Oe.prototype.get=function(){if(0<this.u){this.u--;var a=this.o;this.o=a.next;a.next=null}else a=this.w();return a};var Re,cba=g.nc;var $e=new Oe(function(){return new Ue},function(a){a.reset()});
Te.prototype.add=function(a,b){var c=$e.get();c.set(a,b);this.u?this.u.next=c:this.o=c;this.u=c};
Te.prototype.remove=function(){var a=null;this.o&&(a=this.o,this.o=this.o.next,this.o||(this.u=null),a.next=null);return a};
Ue.prototype.set=function(a,b){this.Tf=a;this.scope=b;this.next=null};
Ue.prototype.reset=function(){this.next=this.scope=this.Tf=null};var Ve,We=!1,Xe=new Te;df.prototype.reset=function(){this.context=this.onRejected=this.w=this.o=null;this.u=!1};
var ef=new Oe(function(){return new df},function(a){a.reset()});
cf.prototype.then=function(a,b,c){return rf(this,g.Na(a)?a:null,g.Na(b)?b:null,c)};
cf.prototype.$goog_Thenable=!0;cf.prototype.cancel=function(a){if(0==this.o){var b=new xf(a);g.Ye(function(){tf(this,b)},this)}};
cf.prototype.H=function(a){this.o=0;bf(this,2,a)};
cf.prototype.J=function(a){this.o=0;bf(this,3,a)};
cf.prototype.G=function(){for(var a;a=uf(this);)vf(this,a,this.o,this.F);this.C=!1};
var zf=Qe;g.Ta(xf,Ua);xf.prototype.name="cancel";g.Ta(g.Af,g.Me);g.h=g.Af.prototype;g.h.enabled=!1;g.h.Da=null;g.h.setInterval=function(a){this.rd=a;this.Da&&this.enabled?(this.stop(),this.start()):this.Da&&this.stop()};
g.h.dd=function(){if(this.enabled){var a=(0,g.I)()-this.vy;0<a&&a<.8*this.rd?this.Da=this.hm.setTimeout(this.hw,this.rd-a):(this.Da&&(this.hm.clearTimeout(this.Da),this.Da=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};
g.h.start=function(){this.enabled=!0;this.Da||(this.Da=this.hm.setTimeout(this.hw,this.rd),this.vy=(0,g.I)())};
g.h.stop=function(){this.enabled=!1;this.Da&&(this.hm.clearTimeout(this.Da),this.Da=null)};
g.h.Y=function(){g.Af.Gb.Y.call(this);this.stop();delete this.hm};Ef.prototype.B=function(){var a=this.u.values();a=[].concat(g.na(a)).filter(function(b){return b.Mi.size});
a.length&&this.J.flush(a);iba(a);this.w=0;this.o.enabled&&this.o.stop()};
Ef.prototype.C=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.u.has(a)||this.u.set(a,new ke(a,c))};
Ef.prototype.G=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];this.H.apply(this,[a,1].concat(g.na(c)))};
Ef.prototype.H=function(a,b,c){for(var d=[],e=2;e<arguments.length;++e)d[e-2]=arguments[e];(e=this.F.has(a)?void 0:this.u.get(a))&&e instanceof ke&&(e.w(b,d),this.o.enabled||this.o.start(),this.w++,this.w>=this.A&&this.B())};var Bx,WB;g.ow=ic();Bx=kd()||Nb("iPod");WB=Nb("iPad");g.tx=g.lc();g.Gv=jc();g.Xx=kc()&&!ld();var If={},Mf=null;var fg=0,gg=0;var Pf=[];Of.prototype.clone=function(){return Qf(this.u,this.A,this.w-this.A)};
Of.prototype.clear=function(){this.u=null;this.o=this.w=this.A=0;this.B=!1};
Of.prototype.reset=function(){this.o=this.A};Tf.prototype.reset=function(){this.o.reset();this.u=this.w=-1};Yf.prototype.length=function(){return this.o.length};
Yf.prototype.end=function(){var a=this.o;this.o=[];return a};ag.prototype.reset=function(){this.w=[];this.o.end();this.u=0};var pg="function"==typeof Uint8Array,qg=[];og.prototype.toString=function(){Eg(this);return this.u.toString()};
og.prototype.clone=function(){return new this.constructor(Fg(Cg(this)))};var Hj;Hj=["av.key","js","unreleased"].slice(-1)[0];var Rh=document,gi=window;g.h=Gg.prototype;g.h.isEnabled=function(){return navigator.cookieEnabled};
g.h.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.JT;d=c.yO||!1;var f=c.domain||void 0;var k=c.path||void 0;var l=c.Gy}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===l&&(l=-1);c=f?";domain="+f:"";k=k?";path="+k:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date((0,g.I)()+1E3*l)).toUTCString();this.o.cookie=a+"="+b+c+k+l+d+(null!=e?";samesite="+
e:"")};
g.h.get=function(a,b){for(var c=a+"=",d=(this.o.cookie||"").split(";"),e=0,f;e<d.length;e++){f=Jb(d[e]);if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};
g.h.remove=function(a,b,c){var d=void 0!==this.get(a);this.set(a,"",{Gy:0,path:b,domain:c});return d};
g.h.te=function(){return Hg(this).keys};
g.h.Bd=function(){return Hg(this).values};
g.h.isEmpty=function(){return!this.o.cookie};
g.h.clear=function(){for(var a=Hg(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};
var ar=new Gg("undefined"==typeof document?null:document);var nba=oc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
g.v.addEventListener("test",null,b)}catch(c){}return a});g.d2={bv:["BC","AD"],av:["Before Christ","Anno Domini"],qv:"JFMAMJJASOND".split(""),Cv:"JFMAMJJASOND".split(""),Vp:"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(" "),Yp:"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(" "),hq:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
fq:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Zp:"Sun Mon Tue Wed Thu Fri Sat".split(" "),eq:"Sun Mon Tue Wed Thu Fri Sat".split(" "),xD:"SMTWTFS".split(""),Dv:"SMTWTFS".split(""),Bv:["Q1","Q2","Q3","Q4"],xv:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Sp:["AM","PM"],tm:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],gq:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Yu:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Xj:6,Kv:[5,6],Yj:5};
g.d2={bv:["M\u00d6","MS"],av:["Milattan \u00d6nce","Milattan Sonra"],qv:"O\u015eMNMHTAEEKA".split(""),Cv:"O\u015eMNMHTAEEKA".split(""),Vp:"Ocak \u015eubat Mart Nisan May\u0131s Haziran Temmuz A\u011fustos Eyl\u00fcl Ekim Kas\u0131m Aral\u0131k".split(" "),bq:"Ocak \u015eubat Mart Nisan May\u0131s Haziran Temmuz A\u011fustos Eyl\u00fcl Ekim Kas\u0131m Aral\u0131k".split(" "),Yp:"Oca \u015eub Mar Nis May Haz Tem A\u011fu Eyl Eki Kas Ara".split(" "),cq:"Oca \u015eub Mar Nis May Haz Tem A\u011fu Eyl Eki Kas Ara".split(" "),
hq:"Pazar Pazartesi Sal\u0131 \u00c7ar\u015famba Per\u015fembe Cuma Cumartesi".split(" "),fq:"Pazar Pazartesi Sal\u0131 \u00c7ar\u015famba Per\u015fembe Cuma Cumartesi".split(" "),Zp:"Paz Pzt Sal \u00c7ar Per Cum Cmt".split(" "),eq:"Paz Pzt Sal \u00c7ar Per Cum Cmt".split(" "),xD:"PPS\u00c7PCC".split(""),Dv:"PPS\u00c7PCC".split(""),Bv:["\u00c71","\u00c72","\u00c73","\u00c74"],xv:["1. \u00e7eyrek","2. \u00e7eyrek","3. \u00e7eyrek","4. \u00e7eyrek"],Sp:["\u00d6\u00d6","\u00d6S"],tm:["d MMMM y EEEE",
"d MMMM y","d MMM y","d.MM.y"],gq:["HH:mm:ss zzzz","HH:mm:ss z","HH:mm:ss","HH:mm"],Yu:["{1} {0}","{1} {0}","{1} {0}","{1} {0}"],Xj:0,Kv:[5,6],Yj:6};g.h=g.Pg.prototype;g.h.Ww=g.d2.Xj;g.h.Yw=g.d2.Yj;g.h.clone=function(){var a=new g.Pg(this.date);a.Ww=this.Ww;a.Yw=this.Yw;return a};
g.h.getFullYear=function(){return this.date.getFullYear()};
g.h.getMonth=function(){return this.date.getMonth()};
g.h.getDate=function(){return this.date.getDate()};
g.h.getTime=function(){return this.date.getTime()};
g.h.getDay=function(){return this.date.getDay()};
g.h.getUTCFullYear=function(){return this.date.getUTCFullYear()};
g.h.getUTCMonth=function(){return this.date.getUTCMonth()};
g.h.getUTCDate=function(){return this.date.getUTCDate()};
g.h.getUTCHours=function(){return this.date.getUTCHours()};
g.h.getUTCMinutes=function(){return this.date.getUTCMinutes()};
g.h.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};
g.h.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};
g.h.add=function(a){if(a.o||a.months){var b=this.getMonth()+a.months+12*a.o,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()),Og(this,a.getDate()))};
g.h.toString=function(){return[this.getFullYear(),g.ed(this.getMonth()+1,2),g.ed(this.getDate(),2)].join("")+""};
g.h.valueOf=function(){return this.date.valueOf()};var Qg=g.Ia;var Ug=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,hh=/#|$/,oba=/[?&]($|#)/;var sba=/https?:\/\/[^\/]+/,qba={MP:"allow-forms",NP:"allow-modals",OP:"allow-orientation-lock",PP:"allow-pointer-lock",QP:"allow-popups",RP:"allow-popups-to-escape-sandbox",SP:"allow-presentation",TP:"allow-same-origin",UP:"allow-scripts",VP:"allow-top-navigation",WP:"allow-top-navigation-by-user-activation"},vba=oc(function(){return rba()});var Nba={rS:1,gT:2,RR:3};g.h=nh.prototype;g.h.getHeight=function(){return this.bottom-this.top};
g.h.clone=function(){return new nh(this.top,this.right,this.bottom,this.left)};
g.h.contains=function(a){return this&&a?a instanceof nh?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.h.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.h.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.h.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.h=g.qh.prototype;g.h.clone=function(){return new g.qh(this.left,this.top,this.width,this.height)};
g.h.contains=function(a){return a instanceof g.wd?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.h.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.h.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.h.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 uh={};var Ph=!!window.google_async_iframe_id,Qh=Ph&&window.parent||window;sc(g.tc("//fonts.googleapis.com/css"));var ica={NONE:0,JQ:1};Vh.prototype.isVisible=function(){return this.Uh?.3<=this.qb:.5<=this.qb};var Bi={gD:0,SQ:1},Oba={gD:0,qR:1,rR:2},Mba={NONE:0,AR:1,YQ:2};Wh.prototype.getValue=function(){return this.u};
g.r(Xh,Wh);Xh.prototype.setValue=function(a){if(null!==this.u||!g.Yb(this.w,a))return!1;this.u=a;return!0};
g.r(Yh,Wh);Yh.prototype.setValue=function(a){if(null!==this.u||"string"!==typeof a)return!1;this.u=a;return!0};Zh.prototype.disable=function(){this.w=!1};
Zh.prototype.enable=function(){this.w=!0};
Zh.prototype.isEnabled=function(){return this.w};
Zh.prototype.reset=function(){this.o={};this.w=!0;this.u={}};g.Zj=!g.Od&&!kc();di.prototype.now=function(){return 0};
di.prototype.u=function(){return 0};
di.prototype.w=function(){return 0};
di.prototype.o=function(){return 0};g.r(fi,di);fi.prototype.now=function(){return ei()&&gi.performance.now?gi.performance.now():di.prototype.now.call(this)};
fi.prototype.u=function(){return ei()&&gi.performance.memory?gi.performance.memory.totalJSHeapSize||0:di.prototype.u.call(this)};
fi.prototype.w=function(){return ei()&&gi.performance.memory?gi.performance.memory.usedJSHeapSize||0:di.prototype.w.call(this)};
fi.prototype.o=function(){return ei()&&gi.performance.memory?gi.performance.memory.jsHeapSizeLimit||0:di.prototype.o.call(this)};ii.prototype.isVisible=function(){return 1===hi(Rh)};var Cba=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/;ui.prototype.setInterval=function(a,b){return gi.setInterval(a,b)};
ui.prototype.clearInterval=function(a){gi.clearInterval(a)};
ui.prototype.setTimeout=function(a,b){return gi.setTimeout(a,b)};
ui.prototype.clearTimeout=function(a){gi.clearTimeout(a)};
Ja(ui);yi.prototype.getContext=function(){if(!this.o){if(!gi)throw Error("Context has not been set and window is undefined.");this.o=ui.getInstance()}return this.o};
Ja(yi);g.Ta(zi,og);Ci.prototype.Rt=function(a){if("string"===typeof a&&0!=a.length){var b=this.Pa;if(b.w){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.o[e])&&e.setValue(d)}}}};
Ja(Ci);Fi.prototype.clone=function(){return new Fi(this.start,this.end)};
Fi.prototype.getLength=function(){return this.end-this.start};var e2=null;var Ki=g.v.performance,vpa=!!(Ki&&Ki.mark&&Ki.measure&&Ki.clearMarks),Ii=oc(function(){var a;if(a=vpa){var b;if(null===e2){e2="";try{a="";try{a=g.v.top.location.hash}catch(c){a=g.v.location.hash}a&&(e2=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=e2;a=!!b.indexOf&&0<=b.indexOf("1337")}return a});
Ji.prototype.disable=function(){this.o=!1;this.events!=this.u.google_js_reporting_queue&&(Ii()&&(0,g.y)(this.events,Li),this.events.length=0)};
Ji.prototype.start=function(a,b){if(!this.o)return null;var c=Hi()||Gi();c=new Qba(a,b,c);var d="goog_"+c.label+"_"+c.uniqueId+"_start";Ki&&Ii()&&Ki.mark(d);return c};
Ji.prototype.end=function(a){if(this.o&&"number"===typeof a.value){var b=Hi()||Gi();a.duration=b-a.value;b="goog_"+a.label+"_"+a.uniqueId+"_end";Ki&&Ii()&&Ki.mark(b);!this.o||2048<this.events.length||this.events.push(a)}};Oi.prototype.u=function(a,b,c,d,e){e=e||this.A;try{var f=new mi;f.A=!0;qi(f,1,"context",a);b.error&&b.meta&&b.id||(b=new Pi(Qi(b)));b.msg&&qi(f,2,"msg",b.msg.substring(0,512));var k=b.meta||{};if(this.o)try{this.o(k)}catch(m){}if(d)try{d(k)}catch(m){}b=[k];f.o.push(3);f.u[3]=b;var l=li();l.u&&qi(f,4,"top",l.u.url||"");qi(f,5,"url",l.o.url||"");Di(this.B,e,f,c)}catch(m){try{Di(this.B,e,{context:"ecmserr",rctx:a,msg:Qi(m),url:l&&l.o.url},c)}catch(n){}}return this.w};
g.r(Pi,Ei);var Ni,Si,Mi=new Ji;(function(){Ni=new Pba;Si=new Oi;var a=Sh();a&&a.document&&("complete"==a.document.readyState?Ui():Mi.o&&Lg(a,"load",function(){Ui()}))})();var Sba=Date.now(),aj=-1,Zi=-1,Hk,bj=-1,$i=!1;var om={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Dk={AD:"start",nD:"firstquartile",vD:"midpoint",DD:"thirdquartile",fD:"complete",uD:"metric",PAUSE:"pause",yD:"resume",zD:"skip",GD:"viewable_impression",wD:"mute",ED:"unmute",oD:"fullscreen",mD:"exitfullscreen",eD:"bufferstart",dD:"bufferfinish",pD:"fully_viewable_audible_half_duration_impression",tD:"measurable_impression",ZC:"abandon",lD:"engagedview",qD:"impression",hD:"creativeview",rD:"loaded",uS:"progress",CLOSE:"close",
wQ:"collapse",bS:"overlay_resize",cS:"overlay_unmeasurable_impression",dS:"overlay_unviewable_impression",fS:"overlay_viewable_immediate_impression",eS:"overlay_viewable_end_of_session_impression",iD:"custom_metric_viewable"},uda="start firstquartile midpoint thirdquartile resume loaded".split(" "),vda=["start","firstquartile","midpoint","thirdquartile"],zca=["abandon"],Hl={UNKNOWN:-1,AD:0,nD:1,vD:2,DD:3,fD:4,uD:5,PAUSE:6,yD:7,zD:8,GD:9,wD:10,ED:11,oD:12,mD:13,pD:14,tD:15,ZC:16,lD:17,qD:18,hD:19,
rD:20,iD:21,eD:22,dD:23};var Uba={JP:"addEventListener",aR:"getMaxSize",bR:"getScreenSize",cR:"getState",dR:"getVersion",zS:"removeEventListener",DR:"isViewable"};if(Rh&&Rh.URL){var wpa,mh=Rh.URL;wpa=!!mh&&0<uba().length;Si.w=!wpa};kj.prototype.update=function(a){a&&a.document&&(this.G=Uh(!1,a,this.F),this.o=Uh(!0,a,this.F),mj(this,a),lj(this,a))};
Ja(kj);var xpa=new nh(0,0,0,0);sj.prototype.cancel=function(){vi().clearTimeout(this.o);this.o=null};
sj.prototype.schedule=function(){var a=this;this.o=vi().setTimeout(Ai(Ci.getInstance().o.o,Wi(143,function(){a.u++;a.w.OB()})),Tba())};g.h=tj.prototype;g.h.Xy=function(){return this.oo()};
g.h.oo=function(){return!1};
g.h.initialize=function(){return this.H=!0};
g.h.Si=function(){return this.o.S};
g.h.Mk=function(){return this.o.J};
g.h.getName=function(){return this.o.ca};
g.h.Kg=function(){return this.o.qx()};
g.h.qx=function(){return{}};
g.h.Wf=function(){return this.o.F};
g.h.Vy=function(){var a=kj.getInstance();a.o=Uh(!0,this.yd,a.F)};
g.h.Wy=function(){lj(kj.getInstance(),this.yd)};
g.h.dH=function(){mj(kj.getInstance(),this.yd)};
g.h.Cx=function(){return this.w.o};
g.h.OB=function(){};
g.h.isActive=function(){return this.o.C};
g.h.Zi=function(a){var b=this.o,c=a.Wf();this.o=c>=this.F?a:this;b!==this.o?(this.C=this.o.C,uj(this)):this.C!==this.o.C&&(this.C=this.o.C,uj(this))};
g.h.Pg=function(a){if(a.u===this.o){var b;if(!(b=this.Z)){b=this.w;var c=this.G;if(c=a&&(void 0===c||!c||b.volume==a.volume)&&b.w==a.w)b=b.o,c=a.o,c=b==c?!0:b&&c?b.top==c.top&&b.right==c.right&&b.bottom==c.bottom&&b.left==c.left:!1;b=!c}this.w=a;b&&zj(this)}};
g.h.yf=function(){return this.G};
g.h.dispose=function(){this.vb=!0};
g.h.la=function(){return this.vb};g.h=Aj.prototype;g.h.ws=function(){return!0};
g.h.il=function(){};
g.h.Om=function(){if(this.element){var a=this.element,b=this.u.o.yd;try{try{var c=gj(a.getBoundingClientRect())}catch(n){c=new nh(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Ih(a,b),k=f.x,l=f.y;var m=new nh(Math.round(l),Math.round(k+d),Math.round(l+e),Math.round(k))}catch(n){m=xpa.clone()}this.o=m}};
g.h.jw=function(){this.B=this.u.w.o};
g.h.Mf=function(){this.Om();this.A=new rj(this.u.w,this.o,this.A.B,this.A.o,this.A.A,Yi(),this.A.w)};
g.h.dispose=function(){if(!this.la()){var a=this.u;g.fb(a.A,this);a.G&&this.yf()&&yj(a);this.il();this.vb=!0}};
g.h.la=function(){return this.vb};
g.h.Kg=function(){return this.u.Kg()};
g.h.Wf=function(){return this.u.Wf()};
g.h.Si=function(){return this.u.Si()};
g.h.Mk=function(){return this.u.Mk()};
g.h.Zi=function(){};
g.h.Pg=function(){this.Mf()};
g.h.yf=function(){return this.J};g.h=Bj.prototype;g.h.Wf=function(){return this.o.Wf()};
g.h.Si=function(){return this.o.Si()};
g.h.Mk=function(){return this.o.Mk()};
g.h.create=function(a,b,c){var d=null;this.o&&(d=this.ho(a,b,c),wj(this.o,d));return d};
g.h.Ky=function(){return this.fl()};
g.h.fl=function(){return!1};
g.h.init=function(a){return this.o.initialize()?(wj(this.o,this),this.A=a,!0):!1};
g.h.Zi=function(a){0==a.Wf()&&this.A(a.Si(),this)};
g.h.Pg=function(){};
g.h.yf=function(){return!1};
g.h.dispose=function(){this.vb=!0};
g.h.la=function(){return this.vb};
g.h.Kg=function(){return{}};Ej.prototype.add=function(a,b,c){++this.w;var d=this.w/4096;this.o.push(aca(new Cj(a,b,c),d));this.u=!0;return this};Ij.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=Gj(this.o);0<b.length&&(a+="?"+b);return a};Ja(Lj);Mj.prototype.update=function(a,b,c){a&&(this.o+=b,this.u+=b,this.A+=b,this.w=Math.max(this.w,this.A));if(void 0===c?!a:c)this.A=0};var fca=[1,.75,.5,.3,0];Nj.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.u.length;e++){var k=this.u[e],l=0<b&&b>=k;k=!(0<a&&a>=k)||c;this.o[e].update(f&&l,d,!f||k)}};Xj.prototype.update=function(a,b,c,d){this.F=-1!=this.F?Math.min(this.F,b.qb):b.qb;this.P=Math.max(this.P,b.qb);this.O=-1!=this.O?Math.min(this.O,b.Fd):b.Fd;this.U=Math.max(this.U,b.Fd);this.ra.update(b.Fd,c.Fd,b.o,a,d);this.u.update(b.qb,c.qb,b.o,a,d);c=d||c.Uh!=b.Uh?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.o;this.ca.update(c,a,b)};
Xj.prototype.Wh=function(){return this.ca.w>=this.ga};var hca=new nh(0,0,0,0);g.r(ak,g.B);g.h=ak.prototype;g.h.Y=function(){this.Jd.o&&(this.Gh.Ct&&(Mg(this.Jd.o,"mouseover",this.Gh.Ct),this.Gh.Ct=null),this.Gh.Bt&&(Mg(this.Jd.o,"mouseout",this.Gh.Bt),this.Gh.Bt=null));this.em&&this.em.dispose();this.tb&&this.tb.dispose();delete this.bo;delete this.us;delete this.AC;delete this.Jd.Yg;delete this.Jd.o;delete this.Gh;delete this.em;delete this.tb;delete this.Pa;g.B.prototype.Y.call(this)};
g.h.Lg=function(){return this.tb?this.tb.o:this.position};
g.h.Rt=function(a){Ci.getInstance().Rt(a)};
g.h.yf=function(){return!1};
g.h.yn=function(){return new Xj};
g.h.Ld=function(){return this.bo};
g.h.wx=function(a){return ek(this,a,1E4)};
g.h.km=function(a,b,c,d,e,f,k){this.ij||(this.dn&&(a=this.rq(a,c,e,k),d=d&&this.td.qb>=(this.Uh()?.3:.5),this.Lu(f,a,d),this.gs=b,0<a.qb&&-1===this.nC&&(this.nC=b),-1==this.oC&&this.Wh()&&(this.oC=b),-2==this.qs&&(this.qs=oj(this.Lg())?a.qb:-1),this.td=a,c&&(this.td.qb=0)),this.us(this))};
g.h.Lu=function(a,b,c){this.Ld().update(a,b,this.td,c)};
g.h.lr=function(){return new Vh};
g.h.rq=function(a,b,c,d){c=this.lr();c.o=b;b=vi().u;b=0===hi(Rh)?-1:b.isVisible()?0:1;c.u=b;c.qb=this.Hq(a);c.Uh=this.Uh();c.Fd=d;return c};
g.h.Ex=function(a,b){if(-1==this.gs)return 0;var c=a-this.gs||1;return c>b?1:c};
g.h.Dn=function(a){return this.Ex(a,1E4)};
g.h.Hq=function(a){return 0===this.opacity&&1===bi(this.Pa,"opac")?0:a};
g.h.Uh=function(){return!1};
g.h.lp=function(){return!1};
g.h.jf=function(){return 0};
g.h.Wh=function(){return this.bo.Wh()};var gk="StopIteration"in g.v?g.v.StopIteration:{message:"StopIteration",stack:""};fk.prototype.next=function(){throw gk;};
fk.prototype.Jf=function(){return this};g.r(jk,Vh);nk.prototype.getValue=function(){return this.u};
nk.prototype.update=function(a,b){32<=a||(this.o&1<<a&&!b?this.u&=~(1<<a):this.o&1<<a||!b||(this.u|=1<<a),this.o|=1<<a)};g.r(ok,Xj);
ok.prototype.update=function(a,b,c,d){if(!b.paused){Xj.prototype.update.call(this,a,b,c,d);var e=kk(b)&&kk(c),f=.5<=(d?Math.min(b.qb,c.qb):c.qb);ij(b.volume)&&(this.A=-1!=this.A?Math.min(this.A,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.S+=a,this.H+=e?a:0);this.o.update(b.qb,c.qb,b.o,a,d,e);this.w.update(!0,a);this.B.update(e,a);this.J.update(c.fullscreen,a);this.na.update(e&&!f,a);a=Math.floor(b.w/1E3);this.V.update(a,b.isVisible());this.ea.update(a,1<=b.qb);this.da.update(a,kk(b))}};g.r(qk,tca);qk.prototype.w=function(){return!0};
qk.prototype.B=function(){return!1};
qk.prototype.getId=function(){var a=this,b=Zb(Dk,function(c){return c==a.A});
return Hl[b].toString()};
qk.prototype.toString=function(){var a="";this.B()&&(a+="c");this.o&&(a+="s");0<this.u&&(a+=":"+this.u);return this.getId()+a};g.r(tk,Aj);tk.prototype.iy=function(a){var b=1==bi(this.Pa,"od");return Zba(a,this.B,this.element,b)};
tk.prototype.kw=function(){var a=this.u.w;this.timestamp=-1===a.time?Yi():a.time};
tk.prototype.Mf=function(){this.kw();this.Om();this.jw();var a=this.o;var b=this.B;a=a.left<=b.right&&b.left<=a.right&&a.top<=b.bottom&&b.top<=a.bottom?new nh(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 nh(0,0,0,0);b=a.top>=a.bottom||a.left>=a.right?new nh(0,0,0,0):a;a=this.u.w;var c=0,d=0,e=0;0<(this.o.bottom-this.o.top)*(this.o.right-this.o.left)&&(this.iy(b)?b=new nh(0,0,0,0):(c=kj.getInstance().A,e=new nh(0,c.height,c.width,0),c=pj(b,
this.o),d=pj(b,kj.getInstance().o),e=pj(b,e)));b=b.top>=b.bottom||b.left>=b.right?new nh(0,0,0,0):ph(b,-this.o.left,-this.o.top);this.A=new rj(a,this.o,b,c,d,this.timestamp,e)};
tk.prototype.getName=function(){return this.u.getName()};var ypa=new nh(0,0,0,0);g.r(uk,tk);g.h=uk.prototype;g.h.ws=function(){this.w();return!0};
g.h.Pg=function(){tk.prototype.Mf.call(this)};
g.h.kw=function(){};
g.h.Om=function(){};
g.h.Mf=function(){this.w();tk.prototype.Mf.call(this)};
g.h.Zi=function(a){a=a.isActive();a!==this.F&&(a?this.w():(kj.getInstance().o=new nh(0,0,0,0),this.o=new nh(0,0,0,0),this.B=new nh(0,0,0,0),this.timestamp=-1));this.F=a};var f2={},yca=(f2.firstquartile=0,f2.midpoint=1,f2.thirdquartile=2,f2.complete=3,f2);g.r(vk,ak);g.h=vk.prototype;g.h.yf=function(){return!0};
g.h.wx=function(a){return ek(this,a,Math.max(1E4,this.w/3))};
g.h.Dn=function(a){return 2==this.Ec?0:ak.prototype.Ex.call(this,a,Math.max(1E4,this.w/3))};
g.h.km=function(a,b,c,d,e,f,k){var l=this,m=this.J(this)||{};g.gc(m,e);this.w=m.duration||this.w;this.G=m.isVpaid||this.G;this.Z=m.isYouTube||this.Z;e=uca(this,b);1===zk(this)&&(f=e);ak.prototype.km.call(this,a,b,c,d,m,f,k);this.Yh&&this.Yh.o&&(0,g.y)(this.C,function(n){n.o||(n.o=sk(n,l))})};
g.h.Lu=function(a,b,c){ak.prototype.Lu.call(this,a,b,c);yk(this).update(a,b,this.td,c);this.ga=kk(this.td)&&kk(b);-1==this.U&&this.ea&&(this.U=this.Ld().w.o);this.zc.w=0;a=this.Wh();b.isVisible()&&lk(this.zc,"vs");a&&lk(this.zc,"vw");ij(b.volume)&&lk(this.zc,"am");kk(b)&&lk(this.zc,"a");this.cj&&lk(this.zc,"f");-1!=b.u&&(lk(this.zc,"bm"),1==b.u&&lk(this.zc,"b"));kk(b)&&b.isVisible()&&lk(this.zc,"avs");this.ga&&a&&lk(this.zc,"avw");0<b.qb&&lk(this.zc,"pv");Ak(this,this.Ld().w.o,!0)&&lk(this.zc,"gdr");
2E3<=Uj(this.Ld().u,1)&&lk(this.zc,"pmx")};
g.h.yn=function(){return new ok};
g.h.Ld=function(){return this.bo};
g.h.lr=function(){return new jk};
g.h.rq=function(a,b,c,d){a=ak.prototype.rq.call(this,a,b,c,void 0===d?-1:d);a.fullscreen=this.cj;a.paused=2==this.Ec;a.volume=c.volume;ij(a.volume)||(this.ra++,b=this.td,ij(b.volume)&&(a.volume=b.volume));c=c.currentTime;a.w=void 0!==c&&0<=c?c:-1;return a};
g.h.Hq=function(a){return kj.getInstance(),this.cj?1:ak.prototype.Hq.call(this,a)};
g.h.jf=function(){return 1};
g.h.getDuration=function(){return this.w};var zpa=(0,g.I)();var Mk={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},Ica=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;Nk.prototype.reset=function(){this.o=[];this.u=[]};
Ja(Nk);var Qk=Nk.getInstance();Ja(Uk);g.r(Wk,Bj);g.h=Wk.prototype;g.h.getName=function(){return(this.u?this.u:this.o).getName()};
g.h.Kg=function(){return(this.u?this.u:this.o).Kg()};
g.h.Wf=function(){return(this.u?this.u:this.o).Wf()};
g.h.init=function(a){var b=!1;(0,g.y)(this.w,function(c){c.initialize()&&(b=!0)});
b&&(this.A=a,wj(this.o,this));return b};
g.h.dispose=function(){(0,g.y)(this.w,function(a){a.dispose()});
Bj.prototype.dispose.call(this)};
g.h.Ky=function(){return jj(this.w,function(a){return a.Xy()})};
g.h.fl=function(){return jj(this.w,function(a){return a.oo()})};
g.h.ho=function(a,b,c){return new tk(a,this.o,b,c)};
g.h.Pg=function(a){this.u=a.u};g.r(Xk,tk);g.h=Xk.prototype;g.h.ws=function(){var a=this;this.H||(this.H=Yi());if(Vi(298,function(){return Pca(a)}))return!0;
vj(this.u,"msf");return!1};
g.h.Om=function(){};
g.h.iy=function(){return!1};
g.h.jw=function(){};
g.h.Kg=function(){var a={};return Object.assign(this.u.Kg(),(a.niot_obs=this.H,a.niot_cbk=this.G,a))};var Oca={threshold:[0,.3,.5,.75,1]};g.r(Zk,Xk);Zk.prototype.getName=function(){return"nio"};
Zk.prototype.il=function(){if(this.w&&this.element)try{this.w.unobserve(this.element),this.F?(this.F.unobserve(this.element),this.F=null):this.C&&(this.C.disconnect(),this.C=null)}catch(a){}};
Zk.prototype.Mf=function(){var a=$k(this);0<a.length&&Yk(this,a);Xk.prototype.Mf.call(this)};var Gna={},ml=Bx||WB;g.r(pl,Bj);pl.prototype.getName=function(){return"nio"};
pl.prototype.fl=function(){return g.fl()?!1:"exc"!==Ci.getInstance().tb&&!kj.getInstance().u&&null!=this.o.o.yd.IntersectionObserver};
pl.prototype.ho=function(a,b,c){return new Zk(a,this.o,b,c)};g.r(rl,tj);rl.prototype.Cx=function(){return kj.getInstance().o};
rl.prototype.oo=function(){var a=ql();this.F!==a&&(this.o!=this&&a>this.o.F&&(this.o=this,uj(this)),this.F=a);return 2==a};
Ja(rl);Ja(sl);tl.prototype.OB=function(){wl(this,Rk(),!1)};
tl.prototype.A=function(){var a=nj(),b=Yi();a?($i||(aj=b,(0,g.y)(Qk.o,function(c){var d=c.Ld();d.Z=pk(d,b,1!=c.Ec)})),$i=!0):(this.F=yl(this,b),$i=!1,Hk=b,(0,g.y)(Qk.o,function(c){c.dn&&(c.Ld().G=b)}));
wl(this,Rk(),!a)};
Ja(tl);var ul=tl.getInstance();var zl=null,hm="",gm=!1;var g2=Fl([void 0,1,2,3,4,8,16]),h2=Fl([void 0,4,8,16]),Apa={sv:"sv",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:El("p0",h2),p1:El("p1",h2),p2:El("p2",h2),p3:El("p3",h2),tos:"tos",mtos:"mtos",mtos1:Dl("mtos1",[0,2,4],!1,h2),mtos2:Dl("mtos2",[0,2,4],!1,h2),mtos3:Dl("mtos3",[0,2,4],!1,h2),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:El("a0",h2),a1:El("a1",h2),a2:El("a2",h2),a3:El("a3",h2),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:El("c0",h2),c1:El("c1",h2),c2:El("c2",h2),c3:El("c3",h2),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:El("qmtos",g2),qnc:El("qnc",g2),qmv:El("qmv",g2),qnv:El("qnv",g2),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:El("ss0",h2),ss1:El("ss1",h2),ss2:El("ss2",h2),ss3:El("ss3",h2),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids"},Bpa={c:Al("c"),at:"at",atos:Dl("atos",[0,2,4]),ta:function(a,b){return function(c){if(void 0===
c[a])return b}}("tth","1"),
a:"a",dur:"dur",p:"p",tos:Cl(),j:"dom",mtos:Dl("mtos",[0,2,4]),gmm:"gmm",gdr:"gdr",ss:Al("ss"),vsv:mc("w2"),t:"t"},Cpa={atos:"atos",amtos:"amtos",avt:Dl("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:Al("ss"),t:"t"},Dpa={a:"a",tos:Cl(),at:"at",c:Al("c"),mtos:Dl("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:mc("ias_w2"),dom:"dom",gmm:"gmm",gdr:"gdr",t:"t"},Epa={tos:Cl(),at:"at",c:Al("c"),mtos:Dl("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:mc("dv_w4"),gmm:"gmm",gdr:"gdr",dom:"dom",t:"t",mv:"mv",
qmpt:Dl("qmtos",[0,2,4]),qvs:function(a,b){return function(c){var d=c[a];if("number"===typeof d)return(0,g.A)(b,function(e){return 0<d&&d>=e?1:0})}}("qnc",[1,
.5,0]),qmv:"qmv",qa:"qas",a:"a"};var Wca={TQ:"visible",bQ:"audible",SS:"time",US:"timetype"},Ll={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.r(Ml,qk);Ml.prototype.getId=function(){return this.F};
Ml.prototype.B=function(){return!0};
Ml.prototype.w=function(a){var b=a.Ld(),c=a.getDuration();return jj(this.C,function(d){if(void 0!=d.o)var e=Yca(d,b);else b:{switch(d.B){case "mtos":e=d.u?b.B.w:b.w.o;break b;case "tos":e=d.u?b.B.o:b.w.o;break b}e=0}0==e?d=!1:(d=-1!=d.w?d.w:void 0!==c&&0<c?d.A*c:-1,d=-1!=d&&e>=d);return d})};g.r(Nl,qk);Nl.prototype.w=function(a){var b=Sj(a.Ld().o,1);return Ak(a,b)};g.r(Ol,qk);Ol.prototype.w=function(a){return a.Ld().Wh()};g.r(Rl,Zca);Rl.prototype.o=function(a){var b=new Pl;b.o=Ql(a,Apa);b.w=Ql(a,Cpa);return b};g.r(Sl,uk);Sl.prototype.w=function(){var a=g.w("ima.admob.getViewability"),b=bi(this.Pa,"queryid");g.Na(a)&&b&&a(b)};
Sl.prototype.getName=function(){return"gsv"};g.r(Tl,Bj);Tl.prototype.getName=function(){return"gsv"};
Tl.prototype.fl=function(){var a=kj.getInstance();Ci.getInstance();return a.u&&!1};
Tl.prototype.ho=function(a,b,c){return new Sl(this.o,b,c)};g.r(Ul,uk);Ul.prototype.w=function(){var a=this,b=g.w("ima.bridge.getNativeViewability"),c=bi(this.Pa,"queryid");g.Na(b)&&c&&b(c,function(d){g.ac(d)&&a.C++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.o=hj(d.opt_nativeViewBounds||{});var k=a.u.w;k.o=f?ypa.clone():hj(e);a.timestamp=d.opt_nativeTime||-1;kj.getInstance().o=k.o;d=d.opt_nativeVolume;void 0!==d&&(k.volume=d)})};
Ul.prototype.getName=function(){return"nis"};g.r(Vl,Bj);Vl.prototype.getName=function(){return"nis"};
Vl.prototype.fl=function(){var a=kj.getInstance();Ci.getInstance();return a.u&&!1};
Vl.prototype.ho=function(a,b,c){return new Ul(this.o,b,c)};g.r(Wl,tj);g.h=Wl.prototype;g.h.oo=function(){return null!=this.u.Se};
g.h.qx=function(){var a={};this.U&&(a.mraid=this.U);this.O&&(a.mlc=1);a.mtop=this.u.eC;this.B&&(a.mse=this.B);this.V&&(a.msc=1);a.mcp=this.u.compatibility;return a};
g.h.nh=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];try{return this.u.Se[a].apply(this.u.Se,c)}catch(e){Xi(538,e,.01,function(f){f.method=a})}};
g.h.initialize=function(){var a=this;if(this.H)return!this.Mk();this.H=!0;if(2===this.u.compatibility)return this.B="ng",vj(this,"w"),!1;if(1===this.u.compatibility)return this.B="mm",vj(this,"w"),!1;var b;if(b=1!=bi(Ci.getInstance().Pa,"mxd")){a:switch(this.u.eC){case 0:case 3:b=!0;break a;default:b=!1}b=!b}if(b)return this.B="if",vj(this,"w"),!1;kj.getInstance().H=!0;this.yd.document.readyState&&"complete"==this.yd.document.readyState?$l(this):ej(this.yd,"load",function(){vi().setTimeout(Wi(292,
function(){return $l(a)}),100)},292);
return!0};
g.h.Vy=function(){var a=kj.getInstance(),b=cm(this,"getMaxSize");a.o=new nh(0,b.width,b.height,0)};
g.h.Wy=function(){kj.getInstance().A=cm(this,"getScreenSize")};
g.h.dispose=function(){am(this);tj.prototype.dispose.call(this)};
Ja(Wl);g.h=dm.prototype;g.h.qk=function(a){bk(a,!1);Kca(a)};
g.h.Cn=function(){};
g.h.Pl=function(a,b,c,d){var e=this;this.u||(this.u=this.Ew());b=c?b:-1;a=null==this.u?new vk(gi,a,b,7):new vk(gi,a,b,7,new qk("measurable_impression",this.u),eda(this));a.bd=d;zba(a.Pa);ai(a.Pa,"queryid",a.bd);a.Rt("");mca(a,function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];return e.Nx.apply(e,g.na(k))},function(f){for(var k=[],l=0;l<arguments.length;++l)k[l-0]=arguments[l];
return e.vF.apply(e,g.na(k))});
(d=Uk.getInstance().o)&&dk(a,d);a.Jd.Yg&&sl.getInstance();return a};
g.h.Zi=function(a){switch(a.Wf()){case 0:if(a=Uk.getInstance().o)a=a.o,g.fb(a.A,this),a.G&&this.yf()&&yj(a);fm();break;case 2:vl()}};
g.h.Pg=function(){};
g.h.yf=function(){return!1};
g.h.vF=function(a,b){a.ij=!0;switch(a.jf()){case 1:lm(this,a,b);break;case 2:this.Zt(a)}this.hu()};
g.h.DF=function(a){Ck(a,0);return Fk(a,"start",nj())};
g.h.Pj=function(a,b,c){wl(ul,[a],!nj());return this.Mg(a,b,c)};
g.h.Mg=function(a,b,c){return Fk(a,c,nj())};
g.h.yF=function(a){return mm(a,"firstquartile",1)};
g.h.AF=function(a){a.ea=!0;return mm(a,"midpoint",2)};
g.h.EF=function(a){return mm(a,"thirdquartile",3)};
g.h.wF=function(a){var b=mm(a,"complete",4);wk(a);return b};
g.h.NB=function(a,b,c){b=nj();2!=a.Ec||b||(a.Ld().G=Yi());wl(ul,[a],!b);2==a.Ec&&(a.Ec=1);return Fk(a,c,b)};
g.h.CF=function(a,b){var c=this.Pj(a,b||{},"skip");wk(a);return c};
g.h.zF=function(a,b){bk(a,!0);return this.Pj(a,b||{},"fullscreen")};
g.h.xF=function(a,b){bk(a,!1);return this.Pj(a,b||{},"exitfullscreen")};
g.h.Nt=function(a,b,c){b=a.Ld();b.Z=pk(b,Yi(),1!=a.Ec);wl(ul,[a],!nj());1==a.Ec&&(a.Ec=2);return Fk(a,c,nj())};
g.h.BF=function(a){wl(ul,[a],!nj());return a.u()};
g.h.Ar=function(a){wl(ul,[a],!nj());this.JB(a);wk(a);return a.u()};
g.h.Nx=function(){};
g.h.Zt=function(){};
g.h.JB=function(){};
g.h.Jy=function(){};
g.h.hu=function(){};
g.h.Ew=function(){};var rm=(0,g.I)(),tm=!1,um=!1,vm=!1,lda=[function(a){return!(!a.chrome||!a.chrome.webstore)},
function(a){return!!a.document.documentMode},
function(a){return!!a.document.fonts.ready},
function(){return sm(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 sm(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 sm(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 sm(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 sm(4)},
function(a){return"srcset"in a.document.createElement("img")},
function(){return um},
function(){return vm},
function(){return sm(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 sm(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]||qm(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 qm(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 sm(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 qm(a.CSS.supports)},
function(){return qm(Intl.Collator)},
function(a){return qm(a.document.createElement("dialog").show)},
function(){return sm(8)},
function(a){return qm(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 qm(a.document.createElement("div").animate)},
function(a){return qm(a.document.documentElement.webkitRequestFullScreen)},
function(a){return qm(a.navigator.getBattery)},
function(a){return qm(a.navigator.permissions.query)},
function(){return!1},
function(){return sm(9)},
function(){return qm(webkitRequestAnimationFrame)},
function(a){return qm(a.BroadcastChannel.call)},
function(a){return qm(a.FontFace)},
function(a){return qm(a.Gamepad)},
function(){return sm(10)},
function(a){return qm(a.MutationEvent)},
function(a){return qm(a.MutationObserver)},
function(a){return qm(a.crypto.getRandomValues)},
function(a){return qm(a.document.body.createShadowRoot)},
function(a){return qm(a.document.body.webkitCreateShadowRoot)},
function(a){return qm(a.fetch)},
function(){return sm(11)},
function(a){return qm(a.navigator.serviceWorker.register)},
function(a){return qm(a.navigator.webkitGetGamepads)},
function(a){return qm(a.speechSynthesis.speak)},
function(a){return qm(a.webkitRTCPeerConnection)},
function(a){return a.CSS.supports("--fake-var","0")},
function(){return sm(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 sm(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 sm(14)},
function(a){return"undefined"==typeof a.navigator.OT},
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")}],mda=[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}],nda=[function(a){return a.navigator.userAgent},
function(a){return a.navigator.platform},
function(a){return a.navigator.vendor}];g.Ta(wm,pda);wm.prototype.reset=function(){this.o[0]=1732584193;this.o[1]=4023233417;this.o[2]=2562383102;this.o[3]=271733878;this.A=this.w=0};
wm.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.u,d=this.B,e=this.w,f=0;f<b;){if(0==e)for(;f<=c;)xm(this,a,f),f+=this.u;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.u){xm(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.u){xm(this,d);e=0;break}}this.w=e;this.A+=b};
wm.prototype.digest=function(){var a=Array((56>this.w?this.u:2*this.u)-this.w);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.A;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.o[b]>>>d&255;return a};g.r(ym,Rl);ym.prototype.o=function(a){var b=Rl.prototype.o.call(this,a);var c=rm=(0,g.I)();var d=sm(5);c=(um?!d:d)?c|2:c&-3;d=sm(2);c=(vm?!d:d)?c|8:c&-9;c={s1:(c>>>0).toString(16)};this.u||(this.u=oda());b.B=this.u;b.C=Ql(a,Bpa,c,"h",zm("kArwaWEsTs"));b.A=Ql(a,Dpa,{},"h",zm("b96YPMzfnx"));b.u=Ql(a,Epa,{},"h",zm("yb8Wev6QDg"));return b};Am.prototype.o=function(){return g.w(this.u)};g.r(Bm,Am);Bm.prototype.o=function(a){if(!a.Bj)return Am.prototype.o.call(this,a);var b=this.A[a.Bj];if(b)return function(c,d,e){b.u(c,d,e)};
Xi(393,Error());return null};g.r(Cm,dm);g.h=Cm.prototype;g.h.Cn=function(a,b){var c=this,d=Ci.getInstance(),e=Uk.getInstance();if(null!=e.o)switch(e.o.getName()){case "nis":var f=Dm(this,a,b);break;case "gsv":f=sda(this,a,b);break;case "exc":f=Em(this,a)}else switch(d.tb){case "nis":f=Dm(this,a,b);break;case "exc":f=Em(this,a)}f||(b.opt_overlayAdElement?f=void 0:b.opt_adElement&&(f=hda(this,a,b.opt_adElement,b.opt_osdId)));f&&1==f.jf()&&(f.J==g.Ia&&(f.J=function(k){return c.Jy(k)}),rda(this,f,b));
return f};
g.h.Jy=function(a){a.u=0;a.S=0;if("h"==a.A||"n"==a.A){var b;Ci.getInstance();if(a.Bj&&Hm(this)){var c=this.G[a.Bj];c?b=function(e){return c.o(e)}:null!==c&&Xi(379,Error())}else b=g.w("ima.common.getVideoMetadata");
if(g.Na(b))try{var d=b(a.bd)}catch(e){a.u|=4}else a.u|=2}else if("b"==a.A)if(b=g.w("ytads.bulleit.getVideoMetadata"),g.Na(b))try{d=b(a.bd)}catch(e){a.u|=4}else a.u|=2;else if("ml"==a.A)if(b=g.w("ima.common.getVideoMetadata"),g.Na(b))try{d=b(a.bd)}catch(e){a.u|=4}else a.u|=2;else a.u|=1;a.u||(void 0===d?a.u|=8:null===d?a.u|=16:g.ac(d)?a.u|=32:null!=d.errorCode&&(a.S=d.errorCode,a.u|=64));null==d&&(d={});ida(d,a);ij(d.volume)&&ij(void 0)&&(d.volume*=NaN);return d};
g.h.Ew=function(){if(Hm(this))return new Bm("ima.common.triggerExternalActivityEvent",this.w,this.G);var a=tda(this);return null!=a?new Am(a,this.w):null};
g.h.Zt=function(a){!a.o&&a.ij&&km(this,a,"overlay_unmeasurable_impression")&&(a.o=!0)};
g.h.JB=function(a){a.ZB&&(a.Wh()?km(this,a,"overlay_viewable_end_of_session_impression"):km(this,a,"overlay_unviewable_impression"),a.ZB=!1)};
g.h.Nx=function(){};
g.h.hu=function(){};
g.h.Pl=function(a,b,c,d){a=dm.prototype.Pl.call(this,a,b,c,d);this.B&&(b=this.C,null==a.B&&(a.B=new oca),b.o[a.bd]=a.B,a.B.B=zpa);return a};
g.h.qk=function(a){a&&1==a.jf()&&this.B&&delete this.C.o[a.bd];return dm.prototype.qk.call(this,a)};
Ja(Cm);var Fm=new Pl;Fm.B="stopped";Fm.o="stopped";Fm.w="stopped";Fm.C="stopped";Fm.A="stopped";Fm.u="stopped";Object.freeze(Fm);var Fpa=Ti(193,Jm,nm);g.Ha("Goog_AdSense_Lidar_sendVastEvent",Fpa,void 0);var Gpa=Wi(194,function(a,b){b=void 0===b?{}:b;var c=Gm(Cm.getInstance(),a,b);return Im(c)});
g.Ha("Goog_AdSense_Lidar_getViewability",Gpa,void 0);var Hpa=Ti(195,function(){return xi()},void 0);
g.Ha("Goog_AdSense_Lidar_getUrlSignalsArray",Hpa,void 0);var Ipa=Wi(196,function(){return g.Kk(xi())});
g.Ha("Goog_AdSense_Lidar_getUrlSignalsList",Ipa,void 0);var sea=(new Date).getTime();g.h=g.Nm.prototype;g.h.Bd=function(){Pm(this);for(var a=[],b=0;b<this.o.length;b++)a.push(this.u[this.o[b]]);return a};
g.h.te=function(){Pm(this);return this.o.concat()};
g.h.isEmpty=function(){return 0==this.w};
g.h.clear=function(){this.u={};this.uh=this.w=this.o.length=0};
g.h.remove=function(a){return Om(this.u,a)?(delete this.u[a],this.w--,this.uh++,this.o.length>2*this.w&&Pm(this),!0):!1};
g.h.get=function(a,b){return Om(this.u,a)?this.u[a]:b};
g.h.set=function(a,b){Om(this.u,a)||(this.w++,this.o.push(a),this.uh++);this.u[a]=b};
g.h.forEach=function(a,b){for(var c=this.te(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
g.h.clone=function(){return new g.Nm(this)};
g.h.Jf=function(a){Pm(this);var b=0,c=this.uh,d=this,e=new fk;e.next=function(){if(c!=d.uh)throw Error("The map has changed since the iterator was created");if(b>=d.o.length)throw gk;var f=d.o[b++];return a?f:d.u[f]};
return e};g.Qm.prototype.toString=function(){var a=[],b=this.A;b&&a.push(Xm(b,Jpa,!0),":");var c=this.o;if(c||"file"==b)a.push("//"),(b=this.G)&&a.push(Xm(b,Jpa,!0),"@"),a.push(bd(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,null!=c&&a.push(":",String(c));if(c=this.u)this.o&&"/"!=c.charAt(0)&&a.push("/"),a.push(Xm(c,"/"==c.charAt(0)?Kpa:Lpa,!0));(c=this.w.toString())&&a.push("?",c);(c=this.C)&&a.push("#",Xm(c,Mpa));return a.join("")};
g.Qm.prototype.resolve=function(a){var b=this.clone(),c=!!a.A;c?g.Rm(b,a.A):c=!!a.G;c?b.G=a.G:c=!!a.o;c?g.Sm(b,a.o):c=null!=a.B;var d=a.u;if(c)g.Tm(b,a.B);else if(c=!!a.u){if("/"!=d.charAt(0))if(this.o&&!this.u)d="/"+d;else{var e=b.u.lastIndexOf("/");-1!=e&&(d=b.u.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){d=xb(e,"/");e=e.split("/");for(var f=[],k=0;k<e.length;){var l=e[k++];"."==l?d&&k==e.length&&f.push(""):".."==l?((1<f.length||1==f.length&&""!=
f[0])&&f.pop(),d&&k==e.length&&f.push("")):(f.push(l),d=!0)}d=f.join("/")}else d=e}c?b.u=d:c=""!==a.w.toString();c?Um(b,a.w.clone()):c=!!a.C;c&&(b.C=a.C);return b};
g.Qm.prototype.clone=function(){return new g.Qm(this)};
var Jpa=/[#\/\?@]/g,Lpa=/[#\?:]/g,Kpa=/[#\?]/g,zda=/[#\?@]/g,Mpa=/#/g;g.h=Wm.prototype;g.h.add=function(a,b){Zm(this);this.w=null;a=$m(this,a);var c=this.o.get(a);c||this.o.set(a,c=[]);c.push(b);this.u=this.u+1;return this};
g.h.remove=function(a){Zm(this);a=$m(this,a);return Om(this.o.u,a)?(this.w=null,this.u=this.u-this.o.get(a).length,this.o.remove(a)):!1};
g.h.clear=function(){this.o=this.w=null;this.u=0};
g.h.isEmpty=function(){Zm(this);return 0==this.u};
g.h.forEach=function(a,b){Zm(this);this.o.forEach(function(c,d){(0,g.y)(c,function(e){a.call(b,e,d,this)},this)},this)};
g.h.te=function(){Zm(this);for(var a=this.o.Bd(),b=this.o.te(),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.h.Bd=function(a){Zm(this);var b=[];if("string"===typeof a)an(this,a)&&(b=g.ib(b,this.o.get($m(this,a))));else{a=this.o.Bd();for(var c=0;c<a.length;c++)b=g.ib(b,a[c])}return b};
g.h.set=function(a,b){Zm(this);this.w=null;a=$m(this,a);an(this,a)&&(this.u=this.u-this.o.get(a).length);this.o.set(a,[b]);this.u=this.u+1;return this};
g.h.get=function(a,b){if(!a)return b;var c=this.Bd(a);return 0<c.length?String(c[0]):b};
g.h.toString=function(){if(this.w)return this.w;if(!this.o)return"";for(var a=[],b=this.o.te(),c=0;c<b.length;c++){var d=b[c],e=bd(d);d=this.Bd(d);for(var f=0;f<d.length;f++){var k=e;""!==d[f]&&(k+="="+bd(d[f]));a.push(k)}}return this.w=a.join("&")};
g.h.clone=function(){var a=new Wm;a.w=this.w;this.o&&(a.o=this.o.clone(),a.u=this.u);return a};var cn="://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(" "),Bda=/\bocr\b/;var Cda=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g;Ja(hn);hn.prototype.o=0;g.Ta(jn,og);g.Ta(kn,og);var Hda=[1];g.Ta(ln,og);g.Ta(mn,og);g.Ta(nn,og);g.Ta(on,og);g.Ta(pn,og);g.Ta(rn,og);g.Ta(tn,og);var Kda=[3,6,4],Lda=[[1,2]],Mda=[1],qn=[[1,2,3]],sn=[[1,2,3]];un.prototype.set=function(a,b){b=void 0===b?!0:b;0<=a&&52>a&&0===a%1&&this.u[a]!=b&&(this.u[a]=b,this.o=-1)};
un.prototype.get=function(a){return!!this.u[a]};g.Ta(g.vn,g.B);g.h=g.vn.prototype;g.h.start=function(){this.stop();this.A=!1;var a=xn(this),b=yn(this);a&&!b&&this.u.mozRequestAnimationFrame?(this.o=ye(this.u,"MozBeforePaint",this.w),this.u.mozRequestAnimationFrame(null),this.A=!0):this.o=a&&b?a.call(this.u,this.w):this.u.setTimeout(raa(this.w),20)};
g.h.stop=function(){if(this.isActive()){var a=xn(this),b=yn(this);a&&!b&&this.u.mozRequestAnimationFrame?He(this.o):a&&b?b.call(this.u,this.o):this.u.clearTimeout(this.o)}this.o=null};
g.h.isActive=function(){return null!=this.o};
g.h.ZE=function(){this.A&&this.o&&He(this.o);this.o=null;this.C.call(this.B,(0,g.I)())};
g.h.Y=function(){this.stop();g.vn.Gb.Y.call(this)};g.Ta(g.J,g.B);g.h=g.J.prototype;g.h.Gk=0;g.h.Y=function(){g.J.Gb.Y.call(this);this.stop();delete this.o;delete this.u};
g.h.start=function(a){this.stop();this.Gk=g.Bf(this.w,void 0!==a?a:this.rd)};
g.h.stop=function(){this.isActive()&&g.v.clearTimeout(this.Gk);this.Gk=0};
g.h.isActive=function(){return 0!=this.Gk};
g.h.Fx=function(){this.Gk=0;this.o&&this.o.call(this.u)};(function(){for(var a=["ms","moz","webkit","o"],b,c=0;b=a[c]&&!g.v.requestAnimationFrame;++c)g.v.requestAnimationFrame=g.v[b+"RequestAnimationFrame"],g.v.cancelAnimationFrame=g.v[b+"CancelAnimationFrame"]||g.v[b+"CancelRequestAnimationFrame"];if(!g.v.requestAnimationFrame){var d=0;g.v.requestAnimationFrame=function(e){var f=(new Date).getTime(),k=Math.max(0,16-(f-d));d=f+k;return g.v.setTimeout(function(){e(f+k)},k)};
g.v.cancelAnimationFrame||(g.v.cancelAnimationFrame=function(e){clearTimeout(e)})}})();
var Cn=[[],[]],Dn=0,En=!1,Uda=0;g.Ta(g.Mn,g.Me);g.Mn.prototype.B=function(){this.re("begin")};
g.Mn.prototype.A=function(){this.re("end")};
g.Mn.prototype.wd=function(){this.re("finish")};
g.Mn.prototype.re=function(a){this.dispatchEvent(a)};var Npa=oc(function(){if(g.Od)return g.qd("10.0");var a=g.Vd("DIV"),b=g.Qd?"-webkit":vh?"-moz":g.Od?"-ms":g.wh?"-o":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!mpa.test("div"))throw Error("");if("DIV"in opa)throw Error("");c=null;var d="";if(b)for(k in b){if(!mpa.test(k))throw Error("");var e=b[k];if(null!=e){var f=k;if(e instanceof rc)e=sc(e);else if("style"==f.toLowerCase()){if(!g.Oa(e))throw Error("");e instanceof Ic||(e=Nc(e));e=Jc(e)}else{if(/^on/i.test(f))throw Error("");
if(f.toLowerCase()in npa)if(e instanceof xc)e=yc(e).toString();else if(e instanceof g.Bc)e=g.Cc(e);else if("string"===typeof e)e=g.Ec(e).xe();else throw Error("");}e.Zf&&(e=e.xe());f=f+'="'+Hb(String(e))+'"';d+=" "+f}}var k="<div"+d;d=void 0;null==d?d=[]:Array.isArray(d)||(d=[d]);!0===lpa.div?k+=">":(c=Gaa(d),k+=">"+g.Sc(c).toString()+"</div>",c=c.o());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Wc(k,c);g.Yc(a,b);return""!=g.xh(a.firstChild,"transition")});g.Ta(Nn,g.Mn);g.h=Nn.prototype;g.h.play=function(){if(1==this.o)return!1;this.B();this.re("play");this.startTime=(0,g.I)();this.o=1;if(Npa())return g.th(this.w,this.J),this.F=g.Bf(this.VN,void 0,this),!0;this.tr(!1);return!1};
g.h.VN=function(){g.Nh(this.w);Xda(this.w,this.H);g.th(this.w,this.C);this.F=g.Bf((0,g.x)(this.tr,this,!1),1E3*this.G)};
g.h.stop=function(){1==this.o&&this.tr(!0)};
g.h.tr=function(a){g.th(this.w,"transition","");g.v.clearTimeout(this.F);g.th(this.w,this.C);this.endTime=(0,g.I)();this.o=0;a?this.re("stop"):this.wd();this.A()};
g.h.Y=function(){this.stop();Nn.Gb.Y.call(this)};
g.h.pause=function(){};var Yda={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0};var bea=Pn("getPropertyValue"),cea=Pn("setProperty");var aea={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};g.Rn.prototype.clone=function(){return new g.Rn(this.o,this.B,this.w,this.C,this.A,this.F,this.u,this.G)};g.Tn.prototype.u=0;g.Tn.prototype.reset=function(){this.o=this.w=this.A;this.u=0};
g.Tn.prototype.getValue=function(){return this.w};(function(){if(ST){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.Mb))?a[1]:"0"}return iI?(a=/10[_.][0-9_.]+/,(a=a.exec(g.Mb))?a[0].replace(/_/g,"."):"10"):g.rx?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.Mb))?a[1]:""):ppa||qpa||rpa?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.Mb))?a[1].replace(/_/g,"."):""):""})();var eea=function(){if(g.ow)return Vn(/Firefox\/([0-9.]+)/);if(g.Od||g.Cw||g.wh)return pd;if(g.Gv)return ld()?Vn(/CriOS\/([0-9.]+)/):Vn(/Chrome\/([0-9.]+)/);if(g.Xx&&!ld())return Vn(/Version\/([0-9.]+)/);if(Bx||WB){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.Mb);if(a)return a[1]+"."+a[2]}else if(g.tx)return(a=Vn(/Android\s+([0-9.]+)/))?a:Vn(/Version\/([0-9.]+)/);return""}();g.Ta(g.Xn,g.B);g.h=g.Xn.prototype;g.h.subscribe=function(a,b,c){var d=this.u[a];d||(d=this.u[a]=[]);var e=this.B;this.o[e]=a;this.o[e+1]=b;this.o[e+2]=c;this.B=e+3;d.push(e);return e};
g.h.unsubscribe=function(a,b,c){if(a=this.u[a]){var d=this.o;if(a=g.Za(a,function(e){return d[e+1]==b&&d[e+2]==c}))return this.Th(a)}return!1};
g.h.Th=function(a){var b=this.o[a];if(b){var c=this.u[b];0!=this.A?(this.w.push(a),this.o[a+1]=g.Ia):(c&&g.fb(c,a),delete this.o[a],delete this.o[a+1],delete this.o[a+2])}return!!b};
g.h.R=function(a,b){var c=this.u[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.C)for(e=0;e<c.length;e++){var k=c[e];fea(this.o[k+1],this.o[k+2],d)}else{this.A++;try{for(e=0,f=c.length;e<f;e++)k=c[e],this.o[k+1].apply(this.o[k+2],d)}finally{if(this.A--,0<this.w.length&&0==this.A)for(;c=this.w.pop();)this.Th(c)}}return 0!=e}return!1};
g.h.clear=function(a){if(a){var b=this.u[a];b&&((0,g.y)(b,this.Th,this),delete this.u[a])}else this.o.length=0,this.u={}};
g.h.Y=function(){g.Xn.Gb.Y.call(this);this.clear();this.w.length=0};g.Yn.prototype.set=function(a,b){void 0===b?this.o.remove(a):this.o.set(a,g.Kk(b))};
g.Yn.prototype.get=function(a){try{var b=this.o.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw"Storage: Invalid value was encountered";}};
g.Yn.prototype.remove=function(a){this.o.remove(a)};g.Ta(Zn,g.Yn);Zn.prototype.set=function(a,b){Zn.Gb.set.call(this,a,ao(b))};
Zn.prototype.u=function(a){a=Zn.Gb.get.call(this,a);if(void 0===a||a instanceof Object)return a;throw"Storage: Invalid value was encountered";};
Zn.prototype.get=function(a){if(a=this.u(a)){if(a=a.data,void 0===a)throw"Storage: Invalid value was encountered";}else a=void 0;return a};g.Ta(bo,Zn);bo.prototype.set=function(a,b,c){if(b=ao(b)){if(c){if(c<(0,g.I)()){bo.prototype.remove.call(this,a);return}b.expiration=c}b.creation=(0,g.I)()}bo.Gb.set.call(this,a,b)};
bo.prototype.u=function(a,b){var c=bo.Gb.u.call(this,a);if(c)if(!b&&g.co(c))bo.prototype.remove.call(this,a);else return c};g.Ta(g.eo,bo);g.Ta(fo,gea);fo.prototype.clear=function(){var a=nca(this.Jf(!0)),b=this;(0,g.y)(a,function(c){b.remove(c)})};g.Ta(go,fo);g.h=go.prototype;g.h.isAvailable=function(){if(!this.o)return!1;try{return this.o.setItem("__sak","1"),this.o.removeItem("__sak"),!0}catch(a){return!1}};
g.h.set=function(a,b){try{this.o.setItem(a,b)}catch(c){if(0==this.o.length)throw"Storage mechanism: Storage disabled";throw"Storage mechanism: Quota exceeded";}};
g.h.get=function(a){a=this.o.getItem(a);if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeItem(a)};
g.h.Jf=function(a){var b=0,c=this.o,d=new fk;d.next=function(){if(b>=c.length)throw gk;var e=c.key(b++);if(a)return e;e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};
return d};
g.h.clear=function(){this.o.clear()};
g.h.key=function(a){return this.o.key(a)};g.Ta(ho,go);g.Ta(io,go);g.Ta(lo,fo);var hea={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},jo=null;g.h=lo.prototype;g.h.isAvailable=function(){return!!this.o};
g.h.set=function(a,b){this.o.setAttribute(mo(a),b);no(this)};
g.h.get=function(a){a=this.o.getAttribute(mo(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a};
g.h.remove=function(a){this.o.removeAttribute(mo(a));no(this)};
g.h.Jf=function(a){var b=0,c=this.o.XMLDocument.documentElement.attributes,d=new fk;d.next=function(){if(b>=c.length)throw gk;var e=c[b++];if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return e};
return d};
g.h.clear=function(){for(var a=this.o.XMLDocument.documentElement,b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);no(this)};g.Ta(oo,fo);oo.prototype.set=function(a,b){this.u.set(this.o+a,b)};
oo.prototype.get=function(a){return this.u.get(this.o+a)};
oo.prototype.remove=function(a){this.u.remove(this.o+a)};
oo.prototype.Jf=function(a){var b=this.u.Jf(!0),c=this,d=new fk;d.next=function(){for(var e=b.next();e.substr(0,c.o.length)!=c.o;)e=b.next();return a?e.substr(c.o.length):c.u.get(e)};
return d};qo.prototype.getValue=function(){return this.u};
qo.prototype.clone=function(){return new qo(this.o,this.u)};g.h=ro.prototype;g.h.remove=function(){var a=this.o,b=a.length,c=a[0];if(!(0>=b)){if(1==b)db(a);else{a[0]=a.pop();a=0;b=this.o;for(var d=b.length,e=b[a];a<d>>1;){var f=2*a+1,k=2*a+2;f=k<d&&b[k].o<b[f].o?k:f;if(b[f].o>e.o)break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}};
g.h.Bd=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].getValue());return b};
g.h.te=function(){for(var a=this.o,b=[],c=a.length,d=0;d<c;d++)b.push(a[d].o);return b};
g.h.clone=function(){return new ro(this)};
g.h.isEmpty=function(){return g.cb(this.o)};
g.h.clear=function(){db(this.o)};g.Ta(g.to,ro);/*
 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.Ta(vo,og);g.Ta(wo,og);var iea=[2,13,14];var Ao={};var Bo=window.yt&&window.yt.config_||window.ytcfg&&window.ytcfg.data_||{};g.Ha("yt.config_",Bo,void 0);var Eo=[];var Opa=g.w("ytPubsubPubsubInstance")||new g.Xn;g.Xn.prototype.subscribe=g.Xn.prototype.subscribe;g.Xn.prototype.unsubscribeByKey=g.Xn.prototype.Th;g.Xn.prototype.publish=g.Xn.prototype.R;g.Xn.prototype.clear=g.Xn.prototype.clear;g.Ha("ytPubsubPubsubInstance",Opa,void 0);var Lo=g.w("ytPubsubPubsubSubscribedKeys")||{};g.Ha("ytPubsubPubsubSubscribedKeys",Lo,void 0);var No=g.w("ytPubsubPubsubTopicToKeys")||{};g.Ha("ytPubsubPubsubTopicToKeys",No,void 0);g.Mo=g.w("ytPubsubPubsubIsSynchronous")||{};
g.Ha("ytPubsubPubsubIsSynchronous",g.Mo,void 0);var nea=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,oea=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/,Vo={};var lp=new function(){var a=window.document;this.o=window;this.u=a};
g.Ha("yt.ads_.signals_.getAdSignalsString",function(a){return bp(np(a))},void 0);(0,g.I)();var g0={debug:1,info:2,warn:3,error:4,off:5};var op=void 0!==XMLHttpRequest?function(){return new XMLHttpRequest}:void 0!==ActiveXObject?function(){return new ActiveXObject("Microsoft.XMLHTTP")}:null;var rp={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-Device":"DEVICE","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"},vea="app debugcss debugjs expflag force_ad_params force_viral_ad_response_params forced_experiments innertube_snapshots innertube_goldens internalcountrycode internalipoverride absolute_experiments conditional_experiments sbb sr_bns_address".split(" "),
yp=!1;g.r(Bp,Error);var Fr=new Set,Er=0;Fp.prototype.initialize=function(a,b,c,d,e){var f=this;b?(this.Dd=!0,g.To(b,function(){f.Dd=!1;if(window.botguard)Gp(f,c,d);else{var k=Uo(b),l=document.getElementById(k);l&&(So(k),l.parentNode.removeChild(l));Dp(new Bp("Unable to load Botguard","from "+b))}},e)):a&&(eval(a),window.botguard?Gp(this,c,d):Dp(Error("Unable to load Botguard from JS")))};
Fp.prototype.dispose=function(){this.o=null};g.r(Kp,Aea);Kp.prototype.start=function(){var a=g.w("yt.scheduler.instance.start");a&&a()};
Kp.prototype.pause=function(){var a=g.w("yt.scheduler.instance.pause");a&&a()};
Ja(Kp);Kp.getInstance();var Bea=[],Op=!1;var Tp={},Eea=0;g.r(Up,Ua);Xp.prototype.then=function(a,b,c){return 1===this.u&&a?(a=a.call(c,this.o),af(a)?a:Zp(a)):2===this.u&&b?(a=b.call(c,this.o),af(a)?a:Yp(a)):this};
Xp.prototype.getValue=function(){return this.o};
Xp.prototype.$goog_Thenable=!0;g.r(aq,Ua);aq.prototype.name="BiscottiError";g.r($p,Ua);$p.prototype.name="BiscottiMissingError";var cq={format:"RAW",method:"GET",timeout:5E3,withCredentials:!0},bq=null;var Ppa={oS:"PLAYBACK_TYPE_UNKNOWN",iS:"PLAYBACK_TYPE_APPLICATION",hS:"PLAYBACK_TYPE_ADS",mS:"PLAYBACK_TYPE_REMOTE",nS:"PLAYBACK_TYPE_SECONDARY_CAMERA",lS:"PLAYBACK_TYPE_PREROLL_INTERSTITIAL",kS:"PLAYBACK_TYPE_POSTROLL_INTERSTITIAL",jS:"PLAYBACK_TYPE_MIDROLL_INTERSTITIAL"};var i2;i2=window;g.O=i2.ytcsi&&i2.ytcsi.now?i2.ytcsi.now:i2.performance&&i2.performance.timing&&i2.performance.now?function(){return i2.performance.timing.navigationStart+i2.performance.now()}:function(){return(new Date).getTime()};var Hea=Gf("initial_gel_batch_timeout",1E3),tq=Math.pow(2,16)-1,uq=null,vq=0,Iea={log_event:"events",log_interaction:"interactions"},Qpa=Object.create(null);Qpa.log_event="GENERIC_EVENT_LOGGING";Qpa.log_interaction="INTERACTION_LOGGING";var Jea=new Set(["log_event"]),kq={},hq=0,iq=0,Yq=0,lq=!0,jq=g.w("ytLoggingTransportLogPayloadsQueue_")||{};g.Ha("ytLoggingTransportLogPayloadsQueue_",jq,void 0);var sq=g.w("ytLoggingTransportTokensToCttTargetIds_")||{};
g.Ha("ytLoggingTransportTokensToCttTargetIds_",sq,void 0);var pq=g.w("ytLoggingTransportDispatchedStats_")||{};g.Ha("ytLoggingTransportDispatchedStats_",pq,void 0);var Rpa=g.w("ytLoggingTransportCapturedTime_")||{};g.Ha("ytytLoggingTransportCapturedTime_",Rpa,void 0);var Spa=0,xq=g.Qd?"webkit":vh?"moz":g.Od?"ms":g.wh?"o":"",Tpa=g.w("ytDomDomGetNextId")||function(){return++Spa};
g.Ha("ytDomDomGetNextId",Tpa,void 0);var Lea={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};Aq.prototype.preventDefault=function(){this.event&&(this.event.returnValue=!1,this.event.preventDefault&&this.event.preventDefault())};
Aq.prototype.hy=function(){return this.event?!1===this.event.returnValue:!1};
Aq.prototype.stopPropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopPropagation&&this.event.stopPropagation())};
Aq.prototype.stopImmediatePropagation=function(){this.event&&(this.event.cancelBubble=!0,this.event.stopImmediatePropagation&&this.event.stopImmediatePropagation())};var Cq=g.w("ytEventsEventsListeners")||{};g.Ha("ytEventsEventsListeners",Cq,void 0);var Dq=g.w("ytEventsEventsCounter")||{count:0};g.Ha("ytEventsEventsCounter",Dq,void 0);var Upa=oc(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a}),Eq=oc(function(){var a=!1;
try{var b=Object.defineProperty({},"capture",{get:function(){a=!0}});
window.addEventListener("test",null,b)}catch(c){}return a});var ax=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.Ta(Rq,g.B);Rq.prototype.J=function(a){void 0===a.o&&Bq(a);var b=a.o;void 0===a.u&&Bq(a);this.o=new g.wd(b,a.u)};
Rq.prototype.Lg=function(){return this.o||new g.wd};
Rq.prototype.C=function(){if(this.o){var a=ax();if(0!=this.A){var b=this.B,c=this.o,d=b.x-c.x;b=b.y-c.y;d=Math.sqrt(d*d+b*b)/(a-this.A);this.u[this.Xa]=.5<Math.abs((d-this.w)/this.w)?1:0;for(c=b=0;4>c;c++)b+=this.u[c]||0;3<=b&&this.G();this.w=d}this.A=a;this.B=this.o;this.Xa=(this.Xa+1)%4}};
Rq.prototype.Y=function(){window.clearInterval(this.H);g.Gq(this.F)};var Vq={};var Xq=g.w("ytLoggingGelSequenceIdObj_")||{};g.Ha("ytLoggingGelSequenceIdObj_",Xq,void 0);er.prototype.set=function(a,b,c,d){c=c||31104E3;this.remove(a);if(this.o)try{this.o.set(a,b,(0,g.I)()+1E3*c);return}catch(f){}var e="";if(d)try{e=escape(g.Kk(b))}catch(f){return}else e=escape(b);g.br(a,e,c,this.u)};
er.prototype.get=function(a,b){var c=void 0,d=!this.o;if(!d)try{c=this.o.get(a)}catch(e){d=!0}if(d&&(c=cr(a))&&(c=unescape(c),b))try{c=JSON.parse(c)}catch(e){this.remove(a),c=void 0}return c};
er.prototype.remove=function(a){this.o&&this.o.remove(a);g.dr(a,"/",this.u)};new er;var fr=!1;g.gr.prototype.isReady=function(){!this.o&&$q()&&(this.o=g.rq());return!!this.o};var Pea=g.Xo("html5_disable_client_tmp_logs");var jr=g.w("ytglobal.prefsUserPrefsPrefs_")||{};g.Ha("ytglobal.prefsUserPrefsPrefs_",jr,void 0);g.h=kr.prototype;g.h.get=function(a,b){or(a);nr(a);var c=void 0!==jr[a]?jr[a].toString():null;return null!=c?c:b?b:""};
g.h.set=function(a,b){or(a);nr(a);if(null==b)throw Error("ExpectedNotNull");jr[a]=b.toString()};
g.h.remove=function(a){or(a);nr(a);delete jr[a]};
g.h.save=function(){g.br(this.o,this.dump(),63072E3)};
g.h.clear=function(){g.bc(jr)};
g.h.dump=function(){var a=[],b;for(b in jr)a.push(b+"="+encodeURIComponent(String(jr[b])));return a.join("&")};
Ja(kr);var Rea=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]),Uea={"/youtuberedoriginals":!0,"/originals":!0},Tea=["/fashion","/channel/UCrpQ4p1Ql_hG8rKXIKM1MOQ","/channel/UCTApTkbpcqiLL39WUlne4ig","/channel/UCW5PCzG3KQvbOX4zc3KY0lQ"];g.r(g.P,g.B);g.P.prototype.L=function(a,b,c,d,e){c=Fo((0,g.x)(c,d||this.Id));c={target:a,name:b,ab:c};var f;e&&Upa()&&(f={passive:!0});a.addEventListener(b,c.ab,f);this.Z.push(c);return c};
g.P.prototype.Wa=function(a){for(var b=0;b<this.Z.length;b++)if(this.Z[b]==a){this.Z.splice(b,1);a.target.removeEventListener(a.name,a.ab);break}};
g.P.prototype.Y=function(){g.vr(this);g.B.prototype.Y.call(this)};g.Ta(g.Q,g.B);g.Q.prototype.subscribe=function(a,b,c){return this.la()?0:this.jc.subscribe(a,b,c)};
g.Q.prototype.unsubscribe=function(a,b,c){return this.la()?!1:this.jc.unsubscribe(a,b,c)};
g.Q.prototype.og=function(a){return this.la()?!1:this.jc.Th(a)};
g.Q.prototype.R=function(a,b){return this.la()?!1:this.jc.R.apply(this.jc,arguments)};g.r(g.zr,g.Q);g.h=g.zr.prototype;g.h.cancel=function(){this.A&&(this.A=!1,this.R("dragend",0,0,null));this.u&&(this.u=!1,this.R("hoverend",0,0,null),g.vr(this.o),yr(this))};
g.h.Oy=function(a){g.vr(this.o);Ar(this,Br("move"),this.My);Ar(this,Br("out"),this.Ny);Ar(this,"touchstart",this.zs);this.w&&Ar(this,Br("down"),this.ys);var b=g.Hq(a);a=Kq(a);this.u=!0;this.R("hoverstart",a.x,a.y,b);this.R("hovermove",a.x,a.y,b)};
g.h.My=function(a){var b=g.Hq(a);a=Kq(a);if(this.B){var c=this.B;this.B=null;if(Jq(c)==b&&xd(Kq(c),a))return}this.R("hovermove",a.x,a.y,b)};
g.h.Ny=function(a){var b=Kq(a),c=Jq(a);try{if(c&&g.ce(this.C,c)){this.B=a;this.R("hovermove",b.x,b.y,c);return}}catch(d){}g.vr(this.o);yr(this);this.u=!1;this.R("hoverend",b.x,b.y,c)};
g.h.JJ=function(a){this.Oy(a);this.ys(a)};
g.h.ys=function(a){if("number"!==typeof a.button||0==a.button){g.vr(this.o);this.o.L(document,Br("move"),this.IJ);this.o.L(document,Br("up"),this.qG);var b=g.Hq(a);if(g.Qd)Ar(this,"dragstart",this.pE);else if(g.Lq(a),(g.Wx||vh)&&b)a:{for(var c=b;c;){if(ge(c)||"-1"===c.getAttribute("tabindex")){c.focus();break a}c=c.parentElement}document.activeElement.blur()}this.A=!0;a=Kq(a);this.R("dragstart",a.x,a.y,b);this.R("dragmove",a.x,a.y,b)}};
g.h.pE=function(a){g.Lq(a)};
g.h.IJ=function(a){var b=g.Hq(a);b==document&&(b=null);a=Kq(a);this.R("hovermove",a.x,a.y,b);this.R("dragmove",a.x,a.y,b)};
g.h.qG=function(a){g.vr(this.o);this.A=!1;var b=Iq(a),c=g.Hq(a);a=Kq(a);b&&g.ce(this.C,b)?(Ar(this,Br("move"),this.My),Ar(this,Br("out"),this.Ny),Ar(this,Br("down"),this.ys),Ar(this,"touchstart",this.zs),this.R("dragend",a.x,a.y,c)):(yr(this),this.u=!1,this.R("dragend",a.x,a.y,c),this.R("hoverend",a.x,a.y,c))};
g.h.zs=function(a){var b=a.changedTouches[0];b&&(g.vr(this.o),Ar(this,"touchmove",this.VO),Ar(this,"touchend",this.Py),Ar(this,"touchcancel",this.Py),this.F=b.identifier,a=g.Hq(a),this.u||(this.u=!0,this.R("hoverstart",b.pageX,b.pageY,a)),this.R("hovermove",b.pageX,b.pageY,a),this.w&&(this.A=!0,this.R("dragstart",b.pageX,b.pageY,a),this.R("dragmove",b.pageX,b.pageY,a)))};
g.h.VO=function(a){var b=Cr(this,a);b&&(this.w&&g.Lq(a),a=g.Hq(a),this.R("hovermove",b.pageX,b.pageY,a),this.w&&this.R("dragmove",b.pageX,b.pageY,a))};
g.h.Py=function(a){var b=Cr(this,a);if(b){g.vr(this.o);yr(this);this.u=!1;var c=g.Hq(a);this.w&&(this.G||g.Lq(a),this.A=!1,this.R("dragend",b.pageX,b.pageY,c));this.R("hoverend",b.pageX,b.pageY,c)}};
g.h.Y=function(){this.w&&(g.Qd&&this.C.removeAttribute("draggable"),this.C.style.touchAction="");g.vr(this.o);g.Q.prototype.Y.call(this)};Dr.prototype.clone=function(){var a=new Dr,b;for(b in this)if(this.hasOwnProperty(b)){var c=this[b];"object"==Ka(c)?a[b]=g.dc(c):a[b]=c}return a};Df.prototype.flush=function(a){a=void 0===a?[]:a;if(g.Xo("enable_client_streamz_web")){a=g.q(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=new ln;c=wg(c,1,b.A);for(var d=b,e=[],f=0;f<d.o.length;f++)e.push(d.o[f].Sw);c=wg(c,3,e||[]);d=[];e=[];f=g.q(b.Mi.keys());for(var k=f.next();!k.done;k=f.next())e.push(k.value.split(","));for(f=0;f<e.length;f++){k=e[f];var l=b.u;for(var m=b.ix(k)||[],n=[],p=0;p<m.length;p++){var t=m[p];t=t&&t.qw;var u=new tn;switch(l){case 3:yg(u,1,sn[0],Number(t));
break;case 2:yg(u,2,sn[0],Number(t))}n.push(u)}l=n;for(m=0;m<l.length;m++){p=l[m];n=new pn;n.o||(n.o={});t=p?Cg(p):p;n.o[2]=p;n=wg(n,2,t);p=k;t=[];u=b;for(var z=[],C=0;C<u.o.length;C++)z.push(u.o[C].Tw);u=z;for(z=0;z<u.length;z++){C=u[z];var D=p[z],E=new rn;switch(C){case 3:yg(E,1,qn[0],String(D));break;case 2:yg(E,2,qn[0],Number(D));break;case 1:yg(E,3,qn[0],"true"==D)}t.push(E)}Dg(n,1,t);d.push(n)}}Dg(c,4,d);d=b=new ag;e=ug(c,1);null!=e&&lg(d,1,e);e=ug(c,5);null!=e&&ig(d,5,e);e=zg(c,mn,2);null!=
e&&mg(d,2,e,Pda);e=ug(c,3);if(0<e.length&&null!=e)for(f=0;f<e.length;f++)lg(d,3,e[f]);e=ug(c,6);if(0<e.length&&null!=e)for(f=0;f<e.length;f++)ig(d,6,e[f]);e=Bg(c,pn,4);0<e.length&&ng(d,4,e,Sda);b=dg(b);b={serializedIncrementBatch:g.Jf(b)};hr("streamzIncremented",b)}}};Gr.prototype.toString=function(){return JSON.stringify(g.Ir(this))};
var Yea=1;var Jr=(0,g.I)().toString();var Ur=g.w("ytLoggingTimeDocumentNonce_")||Lr();g.Ha("ytLoggingTimeDocumentNonce_",Ur,void 0);g.Ha("yt_logging_screen.getRootVeType",Pr,void 0);g.Ha("yt_logging_screen.getCurrentCsn",g.Sr,void 0);g.Ha("yt_logging_screen.getCttAuthInfo",g.Tr,void 0);g.Ha("yt_logging_screen.setCurrentScreen",Vr,void 0);Xr.prototype.toString=function(){return this.topic};var Vpa=g.w("ytPubsub2Pubsub2Instance")||new g.Xn;g.Xn.prototype.subscribe=g.Xn.prototype.subscribe;g.Xn.prototype.unsubscribeByKey=g.Xn.prototype.Th;g.Xn.prototype.publish=g.Xn.prototype.R;g.Xn.prototype.clear=g.Xn.prototype.clear;g.Ha("ytPubsub2Pubsub2Instance",Vpa,void 0);var $r=g.w("ytPubsub2Pubsub2SubscribedKeys")||{};g.Ha("ytPubsub2Pubsub2SubscribedKeys",$r,void 0);var bs=g.w("ytPubsub2Pubsub2TopicToKeys")||{};g.Ha("ytPubsub2Pubsub2TopicToKeys",bs,void 0);
var as=g.w("ytPubsub2Pubsub2IsAsync")||{};g.Ha("ytPubsub2Pubsub2IsAsync",as,void 0);g.Ha("ytPubsub2Pubsub2SkipSubKey",null,void 0);g.r(es,Wr);var bfa=new Xr("screen-created",es),js=[],ks=0;var Ff;g.ls=oc(function(){var a=new ho;return a.isAvailable()?new g.eo(a):null});
g.ms=oc(function(){var a=new io;return a.isAvailable()?new g.eo(a):null});var xs=new Fp,ws=0;var Cha={GQ:1,MQ:2,PAUSED:3,1:"DISABLED",2:"ENABLED",3:"PAUSED"};As.prototype.getLength=function(){return this.A};
As.prototype.append=function(a){if(Bs(this,a)){var b=g.Wa(this.o);this.o[this.o.length-1]=new Uint8Array(b.buffer,b.byteOffset,b.length+a.length);Ds(this)}else this.o.push(a);this.A+=a.length};
As.prototype.split=function(a){for(var b=new As,c=new As,d=g.q(this.o),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{Sx:b,tp:c}};var Os={ji:function(a){a.reverse()},
gP:function(a,b){a.splice(0,b)},
Vg:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};var $ka=/^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\/)/,Ts=/^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:\/\/[0-9a-f]{1,63}\.proxy\.googleprod\.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\/)/,
ala=/^https?:\/\/(www\.google\.com\/pagead\/xsul|www\.youtube\.com\/pagead\/slav)/,hfa=/^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|proxy\.googleprod\.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))/,
cja=/^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|proxy\.googleprod\.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))/,ffa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|(ccp-lh\.googleusercontent)|((((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|proxy\.googleprod\.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\/)/,
bla=/^https?.*#ocr$|^https?:\/\/(aksecure\.imrworldwide\.com\/|cdn\.imrworldwide\.com\/|secure\-..\.imrworldwide\.com\/)/,gfa=/^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)/,efa=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|(ccp-lh\.googleusercontent)|((((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|proxy\.googleprod\.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]|-testonly)?\.(googleusercontent|photos\.google)\.com\/.*$)/,
Ofa=/^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|2mdn\.net|googlesyndication\.com|corp\.google\.com|proxy\.googleprod\.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)/,
Nfa=/^https:\/\/([A-Za-z0-9-]{1,63}\.)*(crowdsource|datacompute)\.google\.com\/|^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:\/\/canvastester-3fd0b\.appspot\.com($|[^\.].*)|^https:\/\/narrative-news-cast-receiver-d\.appspot\.com($|[^\.].*)|^https:\/\/narrative-news-cast-receiver-f\.appspot\.com($|[^\.].*)|^https:\/\/www\.gstatic\.com\/aog_howto|^https:\/\/www\.gstatic\.com\/narrative_cast_receiver\/news|^https?:\/\/(([A-Za-z0-9-]{1,63}\.)*(imasdk\.googleapis\.com|corp\.google\.com|proxy\.googleprod\.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|play\-books\-autopush\-sandbox\.googleusercontent\.com|play\-books\-canary\-sandbox\.googleusercontent\.com|play\-books\-internal\-sandbox\.googleusercontent\.com|play\-books\-staging\-sandbox\.googleusercontent\.com|blogger\.com|mail\.google\.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|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)/,
Wpa=/^(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\:\/\/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}\.)*(crowdsource|datacompute)\.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-(autopush|canary|internal|staging)-sandbox)\.googleusercontent\.com$|^https:\/\/(draft|www|(www\.)?daily\.alpha|(www\.)?weekly\.alpha|(www\.)?dev\.sandbox|(www\.)?autopush\.sandbox|(www\.)?restore\.sandbox)\.blogger\.com$|^https:\/\/[0-9a-f]{1,63}\.proxy\.googleprod\.com$|^https?:\/\/(((docs|m|sing|ss|sss|www)\.)?drive\.google\.com$|([A-Za-z0-9-]{1,63}\.)*c\.googlers\.com(:[0-9]+)?$|([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$)/,
Xpa=/^https?:\/\/(lightbox-(demos|builder)\.appspot\.com$|survey\.g\.doubleclick\.net$|www\.gstatic\.com$)/;var Rs=!1;at.prototype.set=function(a,b){this.o[a]!==b&&(this.o[a]=b,this.w="")};
at.prototype.get=function(a){ct(this);return this.o[a]||null};
at.prototype.clone=function(){var a=new at(this.A);a.B=this.B;a.u=this.u;a.C=this.C;a.o=g.dc(this.o);a.w=this.w;return a};
var gt=!1,wfa=/(r.+)\.c\.youtube/;g.h=g.mt.prototype;g.h.jz=function(a){this.segments.push(a)};
g.h.getDuration=function(a){return(a=this.Sf(a))?a.duration:0};
g.h.kx=function(a){return this.getDuration(a)};
g.h.Le=function(){return this.segments.length?this.segments[0].Ma:-1};
g.h.Ls=function(a){return(a=this.Sf(a))?a.ingestionTime:NaN};
g.h.kb=function(){return this.segments.length?this.segments[this.segments.length-1].Ma:-1};
g.h.Oh=function(){var a=this.segments[this.segments.length-1];return a?a.endTime:NaN};
g.h.Ab=function(){return this.segments[0].startTime};
g.h.Ui=function(){return this.segments.length};
g.h.wo=function(){return 0};
g.h.Me=function(a){return(a=this.yk(a))?a.Ma:-1};
g.h.qr=function(a){return(a=this.Sf(a))?a.u:""};
g.h.Yc=function(a){return(a=this.Sf(a))?a.startTime:0};
g.h.Bn=ba(1);g.h.Pb=function(){return 0<this.segments.length};
g.h.Sf=function(a){a=g.qb(this.segments,new lt(a,0,0,0,""),function(b,c){return b.Ma-c.Ma});
return 0<=a?this.segments[a]:null};
g.h.yk=function(a){a=g.qb(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.h.append=function(a){if(0!=a.length)if(a=g.jb(a),0==this.segments.length)this.segments=a;else{var b=this.segments.length?g.Wa(this.segments).endTime:0,c=a[0].Ma-this.kb();1<c&&db(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.h.vx=function(){return 0};ot.prototype.skip=function(a){this.o+=a};wt.prototype.Gg=function(a,b,c){(new Uint8Array(this.data.buffer,this.o,c)).set(new Uint8Array(a.buffer,b+a.byteOffset,c));this.o+=c};var j2={},Ypa=(j2.predictStart="predictStart",j2.start="start",j2["continue"]="continue",j2.stop="stop",j2),jfa={EVENT_PREDICT_START:"predictStart",EVENT_START:"start",EVENT_CONTINUE:"continue",EVENT_STOP:"stop"};var Dt=!1;var Cu=!0;Hu.prototype.toString=function(){return this.start+"-"+(null==this.end?"":this.end)};Lu.prototype.P=function(){return this.A};
Lu.prototype.Mn=function(){return this.o.info.Mn()};
Lu.prototype.isVideo=function(){return!!this.o.info.video};Xu.prototype.verify=function(a){if(this.info.Na!=this.o.getLength())return a.slength=this.info.Na.toString(),a.range=this.o.getLength().toString(),!1;if(1==this.info.o.info.wc){if(8>this.info.Na||4==this.info.type)return!0;var b=Yu(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.Na&&1936286840==b;if(3==this.info.type&&0==this.info.w)return 1836019558==b||1936286840==b||1937013104==
b||1718909296==b||1701671783==b||1936419184==b}else if(2==this.info.o.info.wc){if(4>this.info.Na||4==this.info.type)return!0;c=Yu(this).getUint32(0,!1);a.ebm=c.toString();if(3==this.info.type&&0==this.info.w)return 524531317==c||440786851==c}return!0};iv.prototype.set=function(a,b){this.o.get(a);this.u[a]=b;this.w=""};
iv.prototype.get=function(a){return this.u[a]||this.o.get(a)};var Pfa={LP:"adunit",EQ:"detailpage",IQ:"editpage",LQ:"embedded",HR:"leanback",sS:"previewpage",tS:"profilepage",FD:"unplugged",pS:"playlistoverview",MS:"sponsorshipsoffer"};var pw={name:"width",video:!0,valid:640,qf:99999},qw={name:"height",video:!0,valid:360,qf:99999},rw={name:"framerate",video:!0,valid:30,qf:9999},tw={name:"bitrate",video:!0,valid:3E5,qf:2E9},nw={name:"eotf",video:!0,valid:"bt709",qf:"catavision"},ww={name:"channels",video:!1,valid:2,qf:99},uw={name:"cryptoblockformat",video:!0,valid:"subsample",qf:"invalidformat"},vw={name:"decode-to-texture",video:!0,valid:"false",qf:"nope"},Bw={name:"codecs",video:!0,valid:"av01.0.05M.08",qf:"av99.0.05M.08"},xw=
{mT:pw,lR:qw,WQ:rw,iQ:tw,OQ:nw,uQ:ww,zQ:uw,DQ:vw,gQ:Bw};var Afa={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:"(",583:"(",584:"(",314:"(",585:"(",561:"(",277:"(",362:"(h",363:"(h",364:"(h",365:"(h",366:"(h",591:"(h",592:"(h",367:"(h",586:"(h",587:"(h",368:"(h",588:"(h",562:"(h",409:"(",410:"(",411:"(",412:"(",557:"(",558:"(",394:"1",395:"1",
396:"1",397:"1",398:"1",399:"1",400:"1",401:"1",571:"1",402:"1",386:"3",387:"w",406:"6"};nv.prototype.getName=function(){return this.name};
nv.prototype.getId=function(){return this.id};
nv.prototype.getIsDefault=function(){return this.isDefault};
nv.prototype.toString=function(){return this.name};
nv.prototype.getName=nv.prototype.getName;nv.prototype.getId=nv.prototype.getId;nv.prototype.getIsDefault=nv.prototype.getIsDefault;var Hfa={eQ:"auto",VS:"tiny",IR:"light",KS:"small",OR:"medium",GR:"large",jR:"hd720",fR:"hd1080",gR:"hd1440",hR:"hd2160",iR:"hd2880",pR:"highres",UNKNOWN:"unknown"};var k2;k2={};g.pv=(k2.auto=0,k2.tiny=144,k2.light=144,k2.small=240,k2.medium=360,k2.large=480,k2.hd720=720,k2.hd1080=1080,k2.hd1440=1440,k2.hd2160=2160,k2.hd2880=2880,k2.highres=4320,k2);var vv="highres hd2880 hd2160 hd1440 hd1080 hd720 large medium small tiny".split(" ");xv.prototype.wa=function(){return this.video};
xv.prototype.Mn=function(){return!!this.Nc};
xv.prototype.isVideo=function(){return!!this.video};g.h=Lv.prototype;g.h.append=function(a){this.o.webkitSourceAppend(this.u,a)};
g.h.abort=function(){this.o.webkitSourceAbort(this.u)};
g.h.pP=function(){return this.o.webkitSourceState==this.o.SOURCE_CLOSED?new Cfa:this.o.webkitSourceBuffered(this.u)};
g.h.rP=function(){return this.w};
g.h.vP=function(a){this.w=a;this.o.webkitSourceTimestampOffset(this.u,a)};g.h=Mv.prototype;g.h.addEventListener=function(a,b,c){this.o.addEventListener(a,b,c)};
g.h.removeEventListener=function(a,b,c){this.o.removeEventListener(a,b,c)};
g.h.nI=function(){return this.o.webkitMediaSourceURL};
g.h.addSourceBuffer=function(a){var b=(this.w++).toString();this.o.webkitSourceAddId(b,a);a=new Lv(this.o,b);this.sourceBuffers.push(a);return a};
g.h.removeSourceBuffer=function(a){for(var b=0;b<this.sourceBuffers.length;b++)if(a===this.sourceBuffers[b]){this.o.webkitSourceRemoveId(a.u);for(a=b+1;a<this.sourceBuffers.length;a++)this.sourceBuffers[a-1]=this.sourceBuffers[a];this.sourceBuffers.pop();break}};
g.h.sP=function(){switch(this.o.webkitSourceState){case this.o.SOURCE_CLOSED:return"closed";case this.o.SOURCE_OPEN:return"open";case this.o.SOURCE_ENDED:return"ended"}return""};
g.h.endOfStream=function(){this.o.webkitSourceEndOfStream(this.o.EOS_NO_ERROR)};
g.h.tP=function(){db(this.sourceBuffers)};
g.h.qP=function(){return this.u};
g.h.uP=function(a){this.u=a;this.o.webkitSourceSetDuration&&this.o.webkitSourceSetDuration(a)};Nv.prototype.start=function(){return 0};
Nv.prototype.end=function(){return Infinity};g.h=Ov.prototype;g.h.addEventListener=function(){};
g.h.removeEventListener=function(){};
g.h.dispatchEvent=function(){return!1};
g.h.abort=function(){};
g.h.remove=function(){};
g.h.appendBuffer=function(){};var Rv=!1;g.r(aw,g.Q);g.h=aw.prototype;g.h.appendBuffer=function(a,b,c){c&&(this.u=c);b&&(b.Mn()&&(this.C=this.u),this.A=b);this.supports(0)?this.o.appendBuffer(a):this.o.append(a)};
g.h.abort=function(){try{this.o.abort()}catch(a){}this.u=this.A=null};
g.h.remove=function(a,b){this.o.remove(a,b)};
g.h.qn=function(){return this.o.appendWindowStart};
g.h.dr=function(){return this.o.appendWindowEnd};
g.h.iu=function(a,b){a>this.qn()?(this.o.appendWindowEnd=b,this.o.appendWindowStart=a):(this.o.appendWindowStart=a,this.o.appendWindowEnd=b)};
g.h.kp=function(a){this.supports(1)&&(this.o.timestampOffset=a)};
g.h.Bb=function(){return this.supports(1)?this.o.timestampOffset:0};
g.h.nd=function(){try{return this.o.buffered}catch(a){return Tv([],[])}};
g.h.fe=function(){return this.o.updating};
g.h.Nh=function(){return this.u};
g.h.sn=function(){return this.C};
g.h.Ju=function(a,b){this.B!=a&&(this.supports(4),this.o.changeType(b));this.B=a};
g.h.kr=function(){return this.A};
g.h.isView=function(){return!1};
g.h.supports=function(a){switch(a){case 1:return void 0!=this.o.timestampOffset;case 0:return!!this.o.appendBuffer;case 2:return!!this.o.remove;case 3:return!(!this.o.addEventListener||!this.o.removeEventListener);case 4:return!!this.o.changeType;default:return!1}};
g.h.wq=function(){return!this.fe()};
g.h.isLocked=function(){return!1};
g.h.Va=function(a){a.to=""+this.o.timestampOffset;a.up=""+ +this.fe();a.aw=(this.o.appendWindowStart||0).toFixed(3)+"-"+(this.o.appendWindowEnd||Infinity).toFixed(3);try{a.bu=Uv(this.o.buffered)}catch(b){}return Qv(a)};
g.h.Y=function(){this.supports(3)&&(this.o.removeEventListener("updateend",this.w),this.o.removeEventListener("error",this.w));g.Q.prototype.Y.call(this)};g.r(bw,g.Q);g.h=bw.prototype;g.h.appendBuffer=function(a,b,c){if(this.o.qn()!=this.B+this.u||this.o.dr()!=this.A+this.u||this.o.Bb()!=this.C+this.u)this.o.supports(1),this.o.iu(this.B+this.u,this.A+this.u),this.o.kp(this.C+this.u);this.o.appendBuffer(a,b,c)};
g.h.abort=function(){this.o.abort()};
g.h.remove=function(a,b){this.o.remove(a+this.u,b+this.u)};
g.h.iu=function(a,b){this.B=a;this.A=b};
g.h.qn=function(){return this.B};
g.h.dr=function(){return this.A};
g.h.kp=function(a){this.C=a};
g.h.Bb=function(){return this.C};
g.h.nd=function(){return $v(this.o.nd(),this.u,this.G)};
g.h.fe=function(){return this.o.fe()};
g.h.Nh=function(){return this.o.Nh()};
g.h.sn=function(){return this.o.sn()};
g.h.Ju=function(a,b){return this.o.Ju(a,b)};
g.h.supports=function(a){return this.o.supports(a)};
g.h.kr=function(){return this.o.kr()};
g.h.isView=function(){return!0};
g.h.wq=function(){return this.o.wq()?this.w:!1};
g.h.isLocked=function(){return this.F&&!this.w};
g.h.Va=function(a){return this.o.Va(a)+(";vw."+this.u+"-"+this.G)};
g.h.Y=function(){xr(this.o,this.H);g.Q.prototype.Y.call(this)};
g.h.isActive=function(){return this.w};
g.h.setActive=function(a){this.w=a;this.F=this.F||this.w};cw.prototype.dispose=function(){if(!this.la){if(this.u)try{URL.revokeObjectURL(this.o)}catch(a){}this.w=!0}};
cw.prototype.la=function(){return this.w};
cw.prototype.toString=function(){return"MediaResource {"+this.o+"}"};g.r(dw,g.B);g.h=dw.prototype;g.h.getDuration=function(){return this.w.duration};
g.h.isView=function(){return this.C};
g.h.fe=function(){return!!(this.o&&this.o.fe()||this.u&&this.u.fe())};
g.h.jN=function(){!this.la()&&ew(this)&&this.A&&(this.A(this),this.A=null)};
g.h.iN=function(){this.dispose()};var Zpa={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},l2;a:{var m2=g.Mb;m2=m2.toLowerCase();if(-1!=m2.indexOf("android")){var $pa=m2.match(/android\s*(\d+(\.\d+)?)[^;|)]*[;)]/);if($pa){var aqa=parseFloat($pa[1]);if(100>aqa){l2=aqa;break a}}var bqa=m2.match("("+g.Vb(Zpa).join("|")+")");l2=bqa?Zpa[bqa[0]]:0}else l2=void 0}var yx=l2,xx=0<=yx;lw.prototype.canPlayType=function(a,b){var c=a.canPlayType?a.canPlayType(b):!1;ml?c=c||cqa[b]:2.2==yx?c=c||dqa[b]:dl()&&(c=c||eqa[b]);return!!c};
var dqa={'video/mp4; codecs="avc1.42001E, mp4a.40.2"':"maybe"},eqa={"application/x-mpegURL":"maybe"},cqa={"application/x-mpegURL":"maybe"};g.h=Dw.prototype;g.h.be=function(){return this.Uf};
g.h.sl=function(){return null};
g.h.lx=function(){var a=this.sl();return a?+g.ep(a.o).expire:NaN};
g.h.fu=function(){};
g.h.getHeight=function(){return this.Uf.wa().height};Fw.prototype.isLocked=function(){return this.w&&!!this.u&&this.u==this.o};
Fw.prototype.A=function(a){return a.video?Mw(this,a.video.quality):!1};
var AK=Hw("auto","hd1080",!1,"l"),VH=Hw("auto","large",!1,"l"),Jw=Hw("auto","auto",!1,"p");Hw("small","auto",!1,"p");var Ex={JR:1,KR:2,LR:3};g.r(Nw,g.Q);Nw.prototype.add=function(a,b){!this.Ga[a]&&(b.Tm||b.Um||b.jm)&&(this.Ga[a]=hc(b),this.R("vast_info_card_add",a))};
Nw.prototype.remove=function(a){var b=this.get(a);delete this.Ga[a];return b};
Nw.prototype.get=function(a){return this.Ga[a]||null};
Nw.prototype.isEmpty=function(){return g.ac(this.Ga)};Xw.prototype.w=function(a,b){var c=Math.pow(this.B,a);this.u=b*(1-c)+c*this.u;this.A+=a};
Xw.prototype.o=function(){return this.u/(1-Math.pow(this.B,this.A))};Zw.prototype.w=function(a,b){var c=Math.min(this.u,Math.max(1,Math.round(a*this.P)));c+this.A>=this.u&&(this.C=!0);for(;c--;)this.B[this.A]=b,this.A=(this.A+1)%this.u;this.G=!0};
Zw.prototype.o=function(){return this.H?($w(this,this.F-this.H)+$w(this,this.F)+$w(this,this.F+this.H))/3:$w(this,this.F)};var Mfa=/^([0-9\.]+):([0-9\.]+)$/;var Qfa={RED:"red",kT:"white"};var px="blogger books docs duo google-live play chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" ");g.r(Lx,g.B);g.h=Lx.prototype;g.h.fa=function(a){return g.R(this.experiments,a)};
g.h.me=function(a,b){b=void 0===b?!1:b;this.xa=nx(this.xa,a.video_id);this.gb=nx(this.gb,a.eventid);var c=[],d;for(d in fqa){var e=fqa[d],f=a[e];void 0!=f&&(f!=this.deviceParams[e]&&c.push(e),this.deviceParams[e]=f)}!b&&0<c.length&&this.Cm&&(c.sort(),Dp(new Bp("Player client parameters changed after startup",c)));this.userAge=mx(this.userAge,a.user_age);this.P=nx(this.P,a.user_display_image);g.Ws(this.P)||(this.P="");this.V=nx(this.V,a.user_display_name);this.kd=nx(this.kd,a.user_gender);this.fd=
nx(this.fd,a.csi_page_type);this.yb=nx(this.yb,a.csi_service_name);this.pc=T(this.pc,a.enablecsi);if(c=a.enabled_engage_types)this.hd=new Set(c.split(","))};
g.h.getVideoUrl=function(a,b,c,d,e){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=g.Ox(this);d&&"www.youtube.com"==c?d="https://youtu.be/"+a:g.Jx(this)?(d="https://"+c+"/fire",b.v=a):(d=this.protocol+"://"+c+"/watch",b.v=a,ml&&(a=Zo())&&(b.ebc=a));return g.eh(d,b)};
g.h.getVideoEmbedCode=function(a,b,c){var d="https://"+g.Ox(this)+"/embed/"+a;c&&(d=g.eh(d,{list:c}));a=!this.fa("enable_responsive_embed_snippet");this.fa("embed_snippet_includes_version")&&(d=g.eh(d,{ecver:a?"1":"2"}));c=b.width;b=b.height;a?(a=g.dd(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.dd(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};
g.h.supportsGaplessAudio=function(){return g.Gv&&!ml&&74<=al()||g.ow&&g.qd(68)?!0:!1};
var fqa={jQ:"cbrand",kQ:"cbr",lQ:"cbrver",wR:"c",zR:"cver",yR:"ctheme",xR:"cplayer",QR:"cmodel",UR:"cnetwork",ZR:"cos",aS:"cosver",gS:"cplatform"},Rfa=["www.youtube-nocookie.com","youtube.googleapis.com"];ky.prototype.ff=function(){return Mu(this.o[0])};g.h=py.prototype;g.h.Ac=function(){};
g.h.Tk=function(){};
g.h.Qr=function(){return!1};
g.h.Dc=function(){return!!this.o&&this.index.Pb()};
g.h.ng=function(){};
g.h.Qy=function(){return!1};
g.h.Ti=function(){};
g.h.bi=function(){};
g.h.pj=function(){};
g.h.Vf=function(){};
g.h.Lk=function(){};
g.h.Ry=function(a){return[a]};
g.h.fp=function(a){return[a]};
g.h.So=function(){};
g.h.un=function(){};g.r(ry,py);g.h=ry.prototype;g.h.Ac=function(){return!1};
g.h.Tk=function(){return!1};
g.h.Qy=function(){return this.u};
g.h.Ti=function(){if(this.u)return[];var a=new Lu(1,this,this.initRange,"getMetadataRequestInfos");return[new ky([a],this.S)]};
g.h.bi=function(){return null};
g.h.pj=function(a){this.ng(a);return this.di(a.A?a.u+1:a.u,!1)};
g.h.Vf=function(a,b){b=void 0===b?!1:b;var c=this.index.Me(a);b&&(c=Math.min(this.index.kb(),c+1));return this.di(c,!0)};
g.h.Lk=function(a){this.o=new Uint8Array(Yu(a).buffer)};
g.h.Qr=function(){return!1};
g.h.ng=function(a){return 0==a.Na?!0:this.index.kb()>a.u&&this.index.Le()<=a.u+1};
g.h.update=function(a,b,c){this.index.append(a);nt(this.index,c);this.G=b};
g.h.Dc=function(){return this.u?!0:py.prototype.Dc.call(this)};
g.h.di=function(a,b){var c=this.index.qr(a),d=this.index.Yc(a),e=this.index.getDuration(a),f;b?e=f=0:f=0<this.info.o?this.info.o*e:1E3;var k=!b,l=f;f=a==this.index.kb()&&!this.G&&0<f;d=new Lu(3,this,null,"liveCreateRequestInfoForSegment",a,d,e,0,l,f,k);return new ky([d],c)};
g.h.un=function(){return this.u?0:this.initRange.length};
g.h.So=function(){return!1};g.r(ty,g.mt);g.h=ty.prototype;g.h.Le=function(){return this.u?this.segments.length?this.yk(this.Ab()).Ma:-1:g.mt.prototype.Le.call(this)};
g.h.Ab=function(){if(this.F)return 0;if(!this.u)return g.mt.prototype.Ab.call(this);if(!this.segments.length)return 0;var a=Math.max(g.Wa(this.segments).endTime-this.C,0);return 0<this.B&&this.yk(a).Ma<this.B?this.Sf(this.B).startTime:a};
g.h.Oh=function(){if(!this.segments.length)return g.mt.prototype.Oh.call(this);var a=this.kb();a=!this.u||a<=this.segments[this.segments.length-1].Ma?this.segments[this.segments.length-1]:wy(this,a,this.segments[this.segments.length-1]);return null!=this.A&&a.pending&&3==this.A?this.F?Math.min(this.C,a.startTime):a.startTime:this.F?Math.min(this.C,a.endTime):a.endTime};
g.h.Ui=function(){return this.u?this.segments.length?this.kb()-this.Le()+1:0:g.mt.prototype.Ui.call(this)};
g.h.kb=function(){return Math.min(this.J,Math.max(g.mt.prototype.kb.call(this),this.w))};
g.h.jr=function(){return this.segments.length?this.segments[this.segments.length-1]:null};
g.h.jz=function(a){var b=uy(this,a.Ma);if(0<=b)this.segments[b]=a;else if(this.segments.splice(-(b+1),0,a),this.G&&0==a.Ma%(300/this.o)){var c=this.segments[0].Ma,d=Math.floor(this.G/this.o);a=a.Ma-d;b=-(b+1)-d;0<b&&a>c&&(this.segments=this.segments.slice(b))}};
g.h.yk=function(a){if(!this.u)return g.mt.prototype.yk.call(this,a);if(!this.segments.length)return null;if(!this.H)return Xfa(this,a);var b=this.segments[this.segments.length-1];if(a<this.segments[0].startTime)b=Math.max(0,this.segments[0].Ma-Math.ceil((this.segments[0].startTime-a)/this.o));else if(a>=b.endTime)b=b.Ma+Math.floor((a-b.endTime)/this.o+1);else{b=rb(this.segments,function(d){return a<d.startTime?-1:a>=d.endTime?1:0});
if(0<=b)return this.segments[b];var c=-(b+1);b=this.segments[c-1];c=this.segments[c];b=Math.floor((a-b.endTime)/((c.startTime-b.endTime)/(c.Ma-b.Ma-1))+1)+b.Ma}return this.Sf(b)};
g.h.Sf=function(a){if(!this.u)return g.mt.prototype.Sf.call(this,a);if(!this.segments.length)return null;var b=uy(this,a);if(0<=b)return this.segments[b];if(!this.H)return wy(this,a,this.segments[Math.max(-(b+2),0)]);var c=-(b+1);b=this.o;if(0==c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].Ma-a)*b);else c==this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.Ma-1)*b):(d=this.segments[c-1],c=this.segments[c],d=d.endTime+(c.startTime-d.endTime)/(c.Ma-d.Ma-
1)*(a-d.Ma-1));return new lt(a,d,b,0,"sq/"+a,void 0,void 0,!0)};g.r(yy,ry);g.h=yy.prototype;g.h.Tk=function(){return!0};
g.h.Dc=function(){return!0};
g.h.ng=function(a){if(a.C)return!1;if(this.U&&-1<this.index.w&&0<this.O){var b=a.u<this.index.w,c=this.O>a.B;return!a.P||b&&c}return!0};
g.h.Ti=function(){return[]};
g.h.Vf=function(a,b){if("number"===typeof a&&!isFinite(a)){var c=new Lu(3,this,null,"mlLiveGetReqInfoStubForTime",-1,void 0,this.ke,void 0,this.ke*this.info.o);return new ky([c],"")}return ry.prototype.Vf.call(this,a,b)};
g.h.di=function(a,b){var c=void 0===c?!1:c;if(vy(this.index,a))return ry.prototype.di.call(this,a,b);var d=this.index.Yc(a),e=b?0:this.ke*this.info.o,f=!b;c=new Lu(c?6:3,this,null,"mlLiveCreateReqInfoForSeg",a,d,void 0,void 0,e,a==this.index.kb()&&!this.G&&0<e,f);return new ky([c],0<=a?"sq/"+a:"")};Dy.prototype.update=function(a,b){var c=void 0;this.u&&(c=this.u);var d=new Dy,e=Array.from(a.getElementsByTagName("S"));if(e.length){var f=+zy(a,"timescale")||1,k=(+e[0].getAttribute("t")||0)/f,l=+zy(a,"startNumber")||0;d.F=k;var m=k;var n=+zy(a,"presentationTimeOffset")||0;m=c?c.startSecs+c.durationSecs:b?m-n/f:0;n=Date.parse(Cy(zy(a,"yt:segmentIngestTime")))/1E3;d.w="SegmentTemplate"==a.parentNode.tagName;d.w&&(d.C=zy(a,"media"));var p=c?l-c.Ma:1;d.B=0<p?0:-p+1;e=g.q(e);for(p=e.next();!p.done;p=
e.next()){p=p.value;for(var t=+p.getAttribute("d")/f,u=(+p.getAttribute("yt:sid")||0)/f,z=+p.getAttribute("r")||0,C=0;C<=z;C++)if(c&&l<=c.Ma)l++;else{var D=new Yfa(l,m,t,n+u,k);d.o.push(D);var E=D.startSecs;D=p.getAttribute("yt:cuepointTimeOffset");var G=p.getAttribute("yt:cuepointDuration");if(D&&G){D=parseFloat(D);E=(Dt?+D/f:-D/f)+E;G=parseFloat(G)/f;var F=p.getAttribute("yt:cuepointContext")||null,ka=p.getAttribute("yt:cuepointIdentifier");var X=p.getAttribute("yt:cuepointEvent");X=Ypa[X]||"unknown";
D=new At(E,G,F,ka,X,D)}else D=null;D&&d.A.push(D);l++;m+=t;k+=t;n+=t+u}}d.o.length&&(d.u=g.Wa(d.o))}this.B=d.B;this.u=d.u||this.u;kb(this.o,d.o);kb(this.A,d.A);this.w=d.w;this.C=d.C;this.F=d.getStreamTimeOffset()};
Dy.prototype.getStreamTimeOffset=function(){return this.F};g.r(Ey,py);g.h=Ey.prototype;g.h.Ac=function(){return!1};
g.h.Tk=function(){return!1};
g.h.Ti=function(){if(this.u){var a=new Lu(1,this,null,"otfInit");return[new ky([a],this.u)]}a=new Lu(1,this,this.initRange,"otfInitInfo");var b=new Lu(2,this,this.indexRange,"otfIndexInfo");return[new ky([a,b])]};
g.h.bi=function(){return null};
g.h.pj=function(a){this.ng(a);return Fy(this,Qu(a),!1)};
g.h.Vf=function(a,b){b=void 0===b?!1:b;var c=this.index.Me(a);b&&(c=Math.min(this.index.kb(),c+1));return Fy(this,c,!0)};
g.h.Lk=function(a){if(1==a.info.type)this.o||(this.o=Js(a.o)),a.u&&"http://youtube.com/streaming/otf/durations/112015"==a.u.uri&&gga(this,a.u);else if(2==a.info.type)if(g.bv(this.info)){if(!this.index.Pb()&&(a=g.Nt(Yu(a),0,1936286840))){var b=[],c=Yt(a);a=c.Yt.length;var d=c.wp,e=c.Yt,f=c.fm;c=this.indexRange.end+c.Xw+1;for(var k=0,l=0;l<a;l++){var m=f[l]/d,n=e[l];b.push(new lt(l,k,m,NaN,"range/"+c+"-"+(c+n-1)));k+=m;c+=n}this.index.append(b)}}else if(2==this.info.wc&&this.o&&(d=new gu(new DataView(this.o.buffer)),
b=Bu(d))&&(d=new gu(Yu(a)),a=Du(d,b.Rl,this.indexRange.end))){d=[];e=b.Bu/b.Cu;f=a.length-1;for(c=0;c<f;c++)k=a[c],l=a[c+1],m=k.bn*e,d.push(new lt(c,m,l.bn*e-m,NaN,"range/"+k.Fh+"-"+(l.Fh-1)));c=a[f].bn*e;d.push(new lt(f,c,b.duration*e-c,NaN,"range/"+a[f].Fh+"-"+(b.eu+b.Rl)));this.index.append(d)}};
g.h.ng=function(a){return 0==a.Na?!0:this.index.kb()>a.u&&this.index.Le()<=a.u+1};
g.h.un=function(){return this.initRange&&this.indexRange?this.initRange.length+this.indexRange.length:0};
g.h.So=function(){return!1};g.h=g.Gy.prototype;g.h.wo=function(a){return this.u[a]};
g.h.Yc=function(a){return this.w[a]/this.B};
g.h.Bn=ba(0);g.h.Ls=function(){return NaN};
g.h.getDuration=function(a){a=this.kx(a);return 0<=a?a/this.B:-1};
g.h.kx=function(a){return a+1<this.o||this.A?this.w[a+1]-this.w[a]:-1};
g.h.Le=function(){return 0};
g.h.kb=function(){return this.o-1};
g.h.Oh=function(){return this.A?this.w[this.o]/this.B:NaN};
g.h.Ab=function(){return 0};
g.h.Ui=function(){return this.o};
g.h.qr=function(){return""};
g.h.Me=function(a){a=g.qb(this.w.subarray(0,this.o),a*this.B);return 0<=a?a:Math.max(0,-a-2)};
g.h.Pb=function(){return 0<=this.kb()};
g.h.vx=function(a,b){if(a>=this.kb())return 0;for(var c=0,d=this.Yc(a)+b,e=a;e<this.kb()&&d>this.Yc(e);e++)c=Math.max(c,(e+1<this.o||this.A?this.u[e+1]-this.u[e]:-1)/this.getDuration(e));return c};
g.h.cap=function(a,b){Hy(this);this.A=!0;this.w[this.o]=b;this.u[this.o]=a};g.r(Iy,py);g.h=Iy.prototype;g.h.Ti=function(a){var b=new Lu(1,this,this.initRange,"initInfo"),c=new Lu(2,this,this.indexRange,"indexInfo"),d=[],e=[b];Ou(b,c)?e.push(c):(d.push(new ky([c])),a=0);isNaN(this.u)&&(a=0);b=e[e.length-1];a=Math.min(a,this.u-(b.range.end-e[0].range.start+1));0<a&&(a=Ju(b.range.end+1,a),e.push(new Lu(4,this,a,"tbdRange")));d.push(new ky(e));return d};
g.h.Lk=function(a){if(1==a.info.type){if(this.o)return;this.o=Js(a.o)}else if(2==a.info.type){if(this.G||0<=this.index.kb())return;if(g.bv(this.info)){var b=this.index,c=Yu(a);a=a.info.range.start;var d=g.Nt(c,0,1936286840);c=Yt(d);b.B=c.wp;var e=c.rE;b.u[0]=c.Xw+a+d.size;b.w[0]=e;b.A=!0;a=c.fm.length;for(d=0;d<a;d++){e=b;var f=c.Yt[d],k=c.fm[d];e.o++;Hy(e);e.u[e.o]=e.u[e.o-1]+f;e.w[e.o]=e.w[e.o-1]+k}}else this.G=Yu(a)}if(2==this.info.wc&&this.o&&this.G){c=new DataView(this.o.buffer);b=this.index;
a=this.G;d=this.indexRange.end;e=new gu(c);c=Bu(e);if(null!=c&&(b.B=c.Cu/c.Bu,e=new gu(a),a=Du(e,c.Rl,d),null!=a)){a=g.q(a);for(d=a.next();!d.done;d=a.next())f=d.value,d=b,e=f.Fh,f=f.bn,Hy(d),d.u[d.o]=e,d.w[d.o]=f,d.o++;b.cap(c.eu+c.Rl,c.duration)}this.G=null}};
g.h.Ry=function(a){var b=this.fp(a.info),c=a.info.range,d=[],e=Is(a.o);a=a.w;for(var f=0;f<b.length;f++){var k=new Uint8Array(e.buffer,b[f].range.start+b[f].w-c.start+e.byteOffset,b[f].Na);d.push(new Xu(b[f],k,a));a=!1}return d};
g.h.fp=function(a){for(var b=0;b<this.index.kb()&&a.range.start>=this.index.wo(b+1);)b++;return Jy(this,b,a.range.start,a.range.length).o};
g.h.ng=function(a){return this.Dc()?!0:isNaN(this.u)?!1:a.range.end+1<this.u};
g.h.bi=function(a,b){this.ng(a);if(!this.Dc()){var c=Ju(a.range.end+1,b);c.end+1>this.u&&(c=new Hu(c.start,this.u-1));c=[new Lu(4,a.o,c,"getNextRequestInfoByLength")];return new ky(c)}4==a.type&&(c=this.fp(a),a=c[c.length-1]);c=0;var d=a.range.start+a.w+a.Na;3==a.type&&(c=a.u,d==a.range.end+1&&(c+=1));return Jy(this,c,d,b)};
g.h.pj=function(){return null};
g.h.Vf=function(a,b){var c=this.index.Me(a);b&&(c=Math.min(this.index.kb(),c+1));return Jy(this,c,this.index.wo(c),0)};
g.h.Qr=function(){var a;if(a=this.Dc()&&!isNaN(this.u))a=this.index,a=(a.A?a.u[a.o]:-1)!=this.u;return a};
g.h.Ac=function(){return!0};
g.h.Tk=function(){return!1};
g.h.un=function(){return this.indexRange.length+this.initRange.length};
g.h.So=function(){return this.indexRange&&this.initRange&&this.initRange.end+1==this.indexRange.start?!0:!1};g.r(My,g.Q);g.h=My.prototype;g.h.fg=function(){return Rb(this.o,function(a){return a.info.video?2==a.info.video.projectionType:!1})};
g.h.gg=function(){return Rb(this.o,function(a){return a.info.video?3==a.info.video.projectionType:!1})};
g.h.Yf=function(){return Rb(this.o,function(a){return a.info.video?4==a.info.video.projectionType:!1})};
g.h.ej=function(){return Rb(this.o,function(a){return a.info.video?1==a.info.video.stereoLayout:!1})};
g.h.SN=function(a){var b=a.getElementsByTagName("Representation");if(0<a.getElementsByTagName("SegmentList").length||0<a.getElementsByTagName("SegmentTemplate").length){this.Ne=this.w=!0;this.B||(this.B=new $fa);ega(this.B,a,this.ga);this.R("refresh");for(a=0;a<b.length;a++){var c=Yy(this,b[a]),d=this.isLive&&g.bv(c)&&this.ra;if(!this.o[c.id]){var e=Ry(Ay(b[a],"BaseURL").textContent),f=Ay(b[a],"Initialization"),k=zy(f,"sourceURL");f=Iu(zy(f,"range"));d&&(k="",f=void 0);this.o[c.id]=new ry(e,c,k,null===
f?void 0:f)}c=this.o[c.id];e=zy(b[a],"id","AdaptationSet");e=""!=e?e:zy(b[a],"mimetype","AdaptationSet");k=this.B;e=k.w[c.info.id]||k.u[e]||k.o||null;k=e.o;!this.S&&e.getStreamTimeOffset()&&(this.S=e.getStreamTimeOffset());if(e.w)for(d=[],k=g.q(k),f=k.next();!f.done;f=k.next()){f=f.value;for(var l=c.info.id,m=8*c.info.o,n=f.Ma,p=f.startSecs,t=e.C.split("$$"),u=0;u<t.length;u++)t[u]=t[u].replace("$RepresentationID$",l),t[u]=t[u].replace("$Number$",n.toString()),t[u]=t[u].replace("$Bandwidth$",m.toString()),
t[u]=t[u].replace("$Time$",p.toString());d.push(new lt(f.Ma,f.startSecs,f.durationSecs,f.o,t.join("$"),null,f.u))}else{e=lb(Ay(b[a],"SegmentList").getElementsByTagName("SegmentURL"),e.B);f=[];for(l=0;l<e.length;l++)f.push(rga(e[l],k[l],d));d=f}c.update(d,this.isLive,this.V)}fga(this.B);return!0}this.duration=By(zy(a,"mediaPresentationDuration"));a:{for(a=0;a<b.length;a++){k=b[a];c=Yy(this,k);e=Ay(k,"BaseURL");d=Ry(e.textContent);f=Ay(k,"SegmentBase");k=Iu(f.attributes.indexRange.value);f=Iu(f.getElementsByTagName("Initialization")[0].attributes.range.value);
e=parseInt(e.getAttribute(Wy(this,"contentLength")),10);c=new Iy(d,c,f,k,e,NaN);if(!c){b=!1;break a}Py(this,c)}b=!0}return b};
g.h.hF=function(a){if(this.la())return this;this.O=a.status;a=a.responseText;a=(new DOMParser).parseFromString(a,"text/xml").getElementsByTagName("MPD")[0];this.F=1E3*By(zy(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.ca=b}this.isLive=Infinity>this.F&&this.na;this.V=parseInt(zy(a,Wy(this,"earliestMediaSequence")),10)||0;
if(b=Date.parse(Cy(zy(a,Wy(this,"mpdResponseTime")))))this.G=((0,g.I)()-b)/1E3;this.isLive&&0>=a.getElementsByTagName("SegmentTimeline").length||(0,g.si)(a.getElementsByTagName("Period"),this.SN,this);this.C=2;this.R("loaded");az(this);return this};
g.h.kF=function(a){this.O=a.Zh.status;this.C=3;this.R("loaderror");return lf(a.Zh)};
g.h.refresh=function(){if(1!=this.C&&!this.la()){var a=g.eh(this.sourceUrl,{start_seq:sga(this).toString()});sf(Zy(this,a),function(){})}};
g.h.resume=function(){az(this)};
g.h.tc=function(){var a=this.o,b=!1,c=NaN,d=NaN,e;for(e in a){var f=a[e],k=f.index;k.Pb()&&(f.F&&(b=!0),k=k.Oh(),f.info.audio&&(isNaN(c)||k<c)?c=k:f.info.isVideo()&&(isNaN(d)||k<d)&&(d=k))}return b||isNaN(d)?c:Math.min(c,d)};
g.h.Ab=function(){var a=this.o,b;for(b in a){var c=a[b].index;if(c.Pb())return c.Ab()}return 0};
g.h.getStreamTimeOffset=function(){return this.S};
var Sy=null,Ty=!1,Uy=!1,Xy={commentary:1,alternate:2,dub:3,main:4};fz.prototype.clone=function(a){return new fz(this.flavor,a,this.w,this.B)};
fz.prototype.Va=function(){return{flavor:this.flavor,keySystem:this.o}};
fz.prototype.be=function(){switch(this.o){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.widevine.forcehdcp":return"WVYF";case "com.youtube.fairplay":return"FPY";case "com.apple.fps.1_0":return"FPA";default:return this.o}};
var n2={},mz=(n2.playready=["com.youtube.playready","com.microsoft.playready"],n2.widevine=["com.youtube.widevine.forcehdcp","com.youtube.widevine.l3","com.widevine.alpha"],n2);g.h=g.nz.prototype;g.h.getId=function(){return this.H};
g.h.getName=function(){return this.B};
g.h.isServable=function(){return this.F};
g.h.toString=function(){return this.u+": "+g.oz(this)+" - "+this.C};
g.h.Ds=ba(2);g.h.isValid=function(){return!(!this.u||this.o&&!this.o.languageCode)};pz.prototype.getLanguageInfo=function(){return this.sb};
pz.prototype.toString=function(){return this.sb.name};
pz.prototype.getLanguageInfo=pz.prototype.getLanguageInfo;qz.prototype.getAvailableAudioTracks=function(){return this.audioTracks};g.r(uz,g.B);uz.prototype.H=function(){(this.F=!this.F&&"widevine"==this.w[this.o[0]].flavor)||this.o.shift();vz(this)};
uz.prototype.J=function(a,b){this.la()||(a.keySystemAccess=b,Gga(this,a),this.A.push(a),g.R(this.u,"html5_drm_fallback_to_playready_on_retry")||this.G?(this.o.shift(),vz(this)):this.C(this.A))};xz.prototype.af=function(){Lga(this);var a=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],b={};a:if(this.u)var c=this.u;else{c="";for(var d=g.q(this.w),e=d.next();!e.done;e=d.next())if(e=e.value,e.sb){if(e.sb.getIsDefault()){c=e.sb.getId();break a}c||(c=e.sb.getId())}}d=0;for(e=this.w.length;d<e;++d){var f=this.w[d];f.sb&&f.sb.getId()!=c||(b[f.itag]=f)}c=0;for(d=this.o.length;c<d;++c)e=this.o[c],a.push(Kga(this,b[e.audioItag],e));c=0;for(d=this.o.length;c<d;++c){e=this.o[c];f=a;var k=b[e.audioItag];f.push("#EXT-X-STREAM-INF:BANDWIDTH="+
(e.bitrate+k.bitrate)+',CODECS="'+(e.codecs+","+k.codecs+'",RESOLUTION=')+(e.width+"x"+e.height+',AUDIO="')+(zz(k,e)+'",CLOSED-CAPTIONS=NONE'));f.push(yz(this,e.url,""))}return a.join("\n")};g.r(Az,Dw);Az.prototype.lx=function(){return this.w};
Az.prototype.sl=function(){if(!this.o||this.o.la()){var a=this.u.af();a="data:application/x-mpegurl;charset=utf-8,"+encodeURIComponent(a);this.o=new cw(a)}return this.o};var Cz=null;g.r(Lz,Dw);Lz.prototype.sl=function(){return new cw(bt(this.o))};
Lz.prototype.fu=function(){this.o=ht(this.o)};g.r(Mz,Dw);Mz.prototype.sl=function(){return new cw(this.o)};var kT={IP:"ad",ZP:"annotations_module",aQ:"attribution",yQ:"creatorendscreen",KQ:"embed",NQ:"endscreen",XQ:"fresca",kR:"heartbeat",ER:"kids",NR:"remote",PR:"miniplayer",TR:"music",SUBTITLES:"captions",FD:"unplugged",dT:"ux",hT:"visualizer",iT:"webgl",nT:"ypc",oT:"ypc_clickwrap",pT:"yto",bT:""};g.h=g.Nz.prototype;g.h.getHeight=function(){return this.B};
g.h.rx=ba(3);g.h.fr=function(){return this.w};
g.h.isDefault=function(){return-1!=this.A.indexOf("default")};
g.h.Pb=function(a){return this.ud.has(a)};
g.h.Fo=function(a){var b=this.fr()-1;return g.sd(0==this.o?Math.round(a*this.w/this.P):Math.round(1E3*a/this.o),0,b)};
g.h.yl=function(){return this.w-1};
g.h.gt=function(){return this.w?0:-1};
g.h.XB=function(){};g.r(Qz,g.Q);Qz.prototype.H=function(a,b){this.o=this.o.onload=null;var c=this.levels[a];c.ud.add(b);Tz(this);var d=c.columns*c.rows;var e=b*d;c=Math.min(e+d-1,c.fr()-1);e=[e,c];this.R("l",e[0],e[1])};
Qz.prototype.Y=function(){this.o&&(this.o=this.o.onload=null);g.Q.prototype.Y.call(this)};g.r(Vz,Qz);Vz.prototype.u=function(a,b){for(var c=[],d=a.split("|"),e=d[0],f=1;f<d.length;f++){var k=this.B(f-1,e,d[f],b);(this.G||180>k.getHeight())&&c.push(k)}return c};
Vz.prototype.B=function(a,b,c,d){return new g.Nz(a,b,c,d)};g.r(Xz,g.Nz);g.h=Xz.prototype;g.h.fr=function(){return this.u.Ui()};
g.h.Fo=function(a){var b=this.rows*this.columns*this.G,c=this.u,d=c.kb();a=c.Me(a);return a>d-b?-1:a};
g.h.yl=function(){return this.u.kb()};
g.h.gt=function(){return this.u.Le()};
g.h.XB=function(a){this.u=a};g.r(Yz,Vz);Yz.prototype.u=function(a,b){return Vz.prototype.u.call(this,"$N|"+a,b)};
Yz.prototype.B=function(a,b,c){return new Xz(a,b,c,this.isLive)};var aA={iurl:"default.jpg",iurlmq:"mqdefault.jpg",iurlhq:"hqdefault.jpg",iurlsd:"sddefault.jpg",iurlpop1:"pop1.jpg",iurlpop2:"pop2.jpg",iurlhq720:"hq720.jpg",iurlmaxres:"maxresdefault.jpg"},dA={120:"default.jpg",320:"mqdefault.jpg",480:"hqdefault.jpg",560:"pop1.jpg",640:"sddefault.jpg",854:"pop2.jpg",1280:"hq720.jpg"};var yS=16/9,gqa=[.25,.5,.75,1,1.25,1.5,1.75,2],hqa=gqa.concat([3,4,5,6,7,8,9,10,15]);var o2={},Yga=(o2.ALWAYS=1,o2.BY_REQUEST=3,o2),p2={},pha=(p2.COLOR_PRIMARIES_BT709="bt709",p2.COLOR_PRIMARIES_BT2020="bt2020",p2),q2={},qha=(q2.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",q2.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",q2.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",q2.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",q2),r2={},lA=(r2.FAIRPLAY="fairplay",r2.PLAYREADY="playready",r2.WIDEVINE="widevine",r2),s2={},uha=(s2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_UNKNOWN=
"UNKNOWN",s2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_NORMAL="NORMAL",s2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_LOW="LOW",s2.MDE_STREAM_OPTIMIZATIONS_RENDERER_LATENCY_ULTRA_LOW="ULTRALOW",s2),t2={},mha=(t2.UNKNOWN=0,t2.RECTANGULAR=1,t2.EQUIRECTANGULAR=2,t2.EQUIRECTANGULAR_THREED_TOP_BOTTOM=3,t2.MESH=4,t2),u2={},oha=(u2.SPATIAL_AUDIO_TYPE_NONE=0,u2.SPATIAL_AUDIO_TYPE_AMBISONICS_5_1=1,u2.SPATIAL_AUDIO_TYPE_AMBISONICS_QUAD=2,u2.SPATIAL_AUDIO_TYPE_FOA_WITH_NON_DIEGETIC=3,u2),v2={},nha=(v2.STEREO_LAYOUT_UNKNOWN=
0,v2.STEREO_LAYOUT_LEFT_RIGHT=1,v2.STEREO_LAYOUT_TOP_BOTTOM=2,v2),w2={},lha=(w2.FORMAT_STREAM_TYPE_UNKNOWN=0,w2.FORMAT_STREAM_TYPE_OTF=3,w2);g.r(oA,Wr);g.r(pA,Wr);var xha=new Xr("aft-recorded",oA),bB=new Xr("timing-sent",pA);var x2=window,WA=x2.performance||x2.mozPerformance||x2.msPerformance||x2.webkitPerformance||new wha;var yA=!1;var FA=g.w("ytLoggingLatencyUsageStats_")||{};g.Ha("ytLoggingLatencyUsageStats_",FA,void 0);DA.prototype.tick=function(a,b,c){GA(this,"tick_"+a+"_"+b)||hr("latencyActionTicked",{tickName:a,clientActionNonce:b},{timestamp:c})};
DA.prototype.info=function(a,b){var c=Object.keys(a).join("");GA(this,"info_"+c+"_"+b)||(a.clientActionNonce=b,hr("latencyActionInfo",a))};var y2={},SA=(y2.ad_to_ad="LATENCY_ACTION_AD_TO_AD",y2.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",y2.app_startup="LATENCY_ACTION_APP_STARTUP",y2["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",y2["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",y2["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",y2.browse="LATENCY_ACTION_BROWSE",y2.channels="LATENCY_ACTION_CHANNELS",y2.channel="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",y2["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",
y2["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS",y2["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",y2["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",y2["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",y2["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",y2.chips="LATENCY_ACTION_CHIPS",y2["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",y2["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS",
y2.embed="LATENCY_ACTION_EMBED",y2.home="LATENCY_ACTION_HOME",y2.library="LATENCY_ACTION_LIBRARY",y2.live="LATENCY_ACTION_LIVE",y2.onboarding="LATENCY_ACTION_KIDS_ONBOARDING",y2.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",y2.prebuffer="LATENCY_ACTION_PREBUFFER",y2.prefetch="LATENCY_ACTION_PREFETCH",y2.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",y2.profile_switcher="LATENCY_ACTION_KIDS_PROFILE_SWITCHER",y2.results="LATENCY_ACTION_RESULTS",y2.search_ui="LATENCY_ACTION_SEARCH_UI",
y2.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",y2.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",y2.settings="LATENCY_ACTION_SETTINGS",y2.tenx="LATENCY_ACTION_TENX",y2.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",y2.watch="LATENCY_ACTION_WATCH",y2.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN",y2["watch,watch7"]="LATENCY_ACTION_WATCH",y2["watch,watch7_html5"]="LATENCY_ACTION_WATCH",y2["watch,watch7ad"]="LATENCY_ACTION_WATCH",y2["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",y2.wn_comments=
"LATENCY_ACTION_LOAD_COMMENTS",y2.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",y2["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",y2["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",y2["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",y2["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",y2["video.video_editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",y2["video.video_editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",y2["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",
y2.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",y2.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",y2),z2={},JA=(z2.ad_allowed="adTypesAllowed",z2.yt_abt="adBreakType",z2.ad_cpn="adClientPlaybackNonce",z2.ad_docid="adVideoId",z2.yt_ad_an="adNetworks",z2.ad_at="adType",z2.browse_id="browseId",z2.p="httpProtocol",z2.t="transportProtocol",z2.cpn="clientPlaybackNonce",z2.cseg="creatorInfo.creatorSegment",z2.csn="clientScreenNonce",z2.docid="videoId",z2.GetHome_rid="getHomeRequestId",
z2.GetSearch_rid="getSearchRequestId",z2.GetPlayer_rid="getPlayerRequestId",z2.GetWatchNext_rid="getWatchNextRequestId",z2.GetBrowse_rid="getBrowseRequestId",z2.is_continuation="isContinuation",z2.is_nav="isNavigation",z2.b_p="kabukiInfo.browseParams",z2.is_prefetch="kabukiInfo.isPrefetch",z2.is_secondary_nav="kabukiInfo.isSecondaryNav",z2.prev_browse_id="kabukiInfo.prevBrowseId",z2.query_source="kabukiInfo.querySource",z2.voz_type="kabukiInfo.vozType",z2.yt_lt="loadType",z2.mver="creatorInfo.measurementVersion",
z2.yt_ad="isMonetized",z2.nr="webInfo.navigationReason",z2.nrsu="navigationRequestedSameUrl",z2.ncnp="webInfo.nonPreloadedNodeCount",z2.prt="playbackRequiresTap",z2.plt="playerInfo.playbackType",z2.pis="playerInfo.playerInitializedState",z2.paused="playerInfo.isPausedOnLoad",z2.yt_pt="playerType",z2.fmt="playerInfo.itag",z2.yt_pl="watchInfo.isPlaylist",z2.yt_pre="playerInfo.preloadType",z2.yt_ad_pr="prerollAllowed",z2.pa="previousAction",z2.yt_red="isRedSubscriber",z2.rce="mwebInfo.responseContentEncoding",
z2.scrh="screenHeight",z2.scrw="screenWidth",z2.st="serverTimeMs",z2.aq="tvInfo.appQuality",z2.br_trs="tvInfo.bedrockTriggerState",z2.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",z2.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",z2.label="tvInfo.label",z2.is_mdx="tvInfo.isMdx",z2.preloaded="tvInfo.isPreloaded",z2.upg_player_vis="playerInfo.visibilityState",z2.query="unpluggedInfo.query",z2.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",z2.yt_vst="videoStreamType",z2.vph="viewportHeight",
z2.vpw="viewportWidth",z2.yt_vis="isVisible",z2.rcl="mwebInfo.responseContentLength",z2.GetSettings_rid="mwebInfo.getSettingsRequestId",z2.GetTrending_rid="mwebInfo.getTrendingRequestId",z2.GetMusicSearchSuggestions_rid="musicInfo.getMusicSearchSuggestionsRequestId",z2),yha="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "),
A2={},KA=(A2.mver="MEASUREMENT_VERSION_",A2.pis="PLAYER_INITIALIZED_STATE_",A2.yt_pt="LATENCY_PLAYER_",A2.pa="LATENCY_ACTION_",A2.yt_vst="VIDEO_STREAM_TYPE_",A2),zha="all_vc ap c cver cbrand cmodel cplatform ctheme ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");if(g.Xo("overwrite_polyfill_on_logging_lib_loaded")){var iqa=window;iqa.ytcsi&&(iqa.ytcsi.info=NA)};var Aha=(0,g.x)(WA.clearResourceTimings||WA.webkitClearResourceTimings||WA.mozClearResourceTimings||WA.msClearResourceTimings||WA.oClearResourceTimings||g.Ia,WA);var B2;var jqa=g.Mb,kqa=jqa.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!kqa||2>kqa.length)B2=void 0;else{var C2=jqa.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);B2=C2&&6==C2.length?Number(C2[5].replace("_",".")):0}var XB=B2,FP=0<=XB;FP&&0<=g.Mb.search("Safari")&&g.Mb.search("Version");g.r(g.cB,g.Q);g.h=g.cB.prototype;g.h.me=function(a,b){b?(this.ip(a),IB(this)&&xB(this)):(a=a||{},hB(this,a),eB(this,a),this.R("dataupdated"))};
g.h.ip=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.Kh=b);this.clientPlaybackNonce||(this.clientPlaybackNonce=a.cpn||Lr());this.cg=T(this.fa("web_player_live_monitor_env")?this.La.cg:!1,a.livemonitor);b=a.raw_embedded_player_response;if(!b){var c=a.embedded_player_response;c&&(b=JSON.parse(c))}b&&(this.gf=b);this.gf&&((b=this.gf.embedPreview)&&
Hha(this,a,b),this.gf.playabilityStatus&&(this.Qq=this.gf.playabilityStatus,UB(this)&&(this.errorDetail="0")));b=a.raw_player_response;b||(c=a.player_response)&&(b=JSON.parse(c));b&&(this.Ja=b);if(this.Ja){(b=this.Ja.annotations)&&Zga(this,b);(b=this.Ja.attestation)&&$ga(this,b);(b=this.Ja.heartbeatParams)&&cha(this,b);(b=this.Ja.messages)&&eha(this,b);(b=this.Ja.multicamera)&&fha(this,b);(b=this.Ja.overlay)&&gha(this,b);if(b=this.Ja.playabilityStatus)hha(this,b),(c=b.errorScreen)&&tha(this,c);(c=
this.Ja.playbackTracking)&&iha(this,c,a);(c=this.Ja.playerAds)&&jha(this,c,a);(c=this.Ja.playerConfig)&&kha(this,c);var d=this.Ja.streamingData;d&&rha(this,d,c||null);if(d=this.Ja.trackingParams)this.nf=d;if(d=this.Ja.videoDetails)if(sha(this,d,a),vha(this,d,c||null,a),c=d.isPrivate)this.isPrivate=T(this.isPrivate,c);b&&bha(this,b,d||null);(b=this.Ja.interstitialPods)&&dha(this,b);this.Xd&&this.eventId&&(this.Xd=hp(this.Xd,{ei:this.eventId}));(b=this.Ja.captions)&&b.playerCaptionsTracklistRenderer&&
aha(this,b.playerCaptionsTracklistRenderer);this.Ja.clipConfig&&null!=this.Ja.clipConfig.startTimeMs&&(this.Qt=.001*parseInt(this.Ja.clipConfig.startTimeMs,10))}hB(this,a);a.queue_info&&(this.queueInfo=a.queue_info);b=a.hlsdvr;null!=b&&(this.allowLiveDvr=nA("1"==b));this.adQueryId=a.ad_query_id||null;this.adSafetyReason||(this.adSafetyReason=a.encoded_ad_safety_reason||null);this.SD=a.agcid||null;this.Tv=a.ad_id||null;this.Vv=a.ad_sys||null;this.Mw=a.encoded_ad_playback_context||null;this.Bh=T(this.Bh,
a.infringe||a.muted);this.authKey=a.authkey;this.Lc=a.authuser;this.mutedAutoplay=T(this.mutedAutoplay,a&&a.playmuted)&&this.fa("embeds_enable_muted_autoplay");this.tk=T(this.tk,a.enable_cardio);this.en=T(this.en,a.enable_cardio_before_playback);this.endSeconds=mx(this.endSeconds,this.Lt||a.end||a.endSeconds);this.nf=nx(this.nf,a.itct);this.Nr=T(this.Nr,a.noiba);this.Nn=T(this.Nn,a.is_live_destination);this.ua=T(this.ua,a.live_playback);this.isMdxPlayback=T(this.isMdxPlayback,a.mdx);if(b=a.mdx_control_mode)this.mdxControlMode=
"number"===typeof b?b:g.hd(b);this.Mr=T(this.Mr,a.is_inline_playback_no_ad);this.vf=mx(this.vf,a.reload_count);this.reloadReason=nx(this.reloadReason,a.reload_reason);this.Xl=T(this.Xl,a.show_content_thumbnail);this.Wr=T(this.Wr,a.utpsa);this.zu=T(this.zu,a.third_party_remapped_ad);this.cycToken=a.cyc||null;this.pC=a.tkn||null;b=cA(a);0<Object.keys(b).length&&(this.We=b);this.Df=nx(this.Df,a.vvt);this.mdxEnvironment=nx(this.mdxEnvironment,a.mdx_environment);this.RJ=a.osig;this.eventId||(this.eventId=
a.eventid);this.osid||(this.osid=a.osid);this.playlistId=nx(this.playlistId,a.list);this.pB=a.pyv_view_beacon_url;this.sB=a.pyv_quartile25_beacon_url;this.tB=a.pyv_quartile50_beacon_url;this.uB=a.pyv_quartile75_beacon_url;this.rB=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.GB&&b&&(this.GB=ap(b).feature);this.jy=1==mx(this.jy?1:0,a.is_fling);this.vnd=mx(this.vnd,a.vnd);this.zk=nx(this.zk,a.force_ads_url);
this.wf=nx(this.wf,a.ctrl);this.xf=nx(this.xf,a.ytr);this.an=a.ytrcc;this.IB=a.ytrexp;this.Ml=nx(this.Ml,a.adformat);this.Nu=nx(this.Nu,a.attrib);this.slotPosition=mx(this.slotPosition,a.slot_pos);this.breakType=a.break_type;this.Wl=T(this.Wl,a.ssrt);this.videoId=a.docid||a.video_id||a.videoId||a.id||this.videoId;this.Ei=nx(this.Ei,a.vss_credentials_token);this.Fi=nx(this.Fi,a.vss_credentials_token_type);this.Gi=T(this.Gi,a.audio_only);this.Pu=T(this.Pu,a.aac_high);this.jh=T(this.jh,a.prefer_low_quality_audio);
this.Ll=nx(this.Ll,a.qoe_cat);this.Qi=T(this.Qi,a.download_media);this.Oq=T(this.Oq,a.download_media_in_bg);this.sf=T(this.sf,a.prefer_gapless);Dha(this.Ja)&&(this.adModule=!0,this.Qc.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.fj="1"==b;if(b=a.autoplay)this.hh="1"==b;if(b=a.iv_load_policy)this.annotationsLoadPolicy=lx(this.annotationsLoadPolicy,b,Ex);if(b=a.cc_lang_pref)this.captionsLanguagePreference=
nx(b,this.captionsLanguagePreference);if(b=a.cc_load_policy)this.Dg=lx(this.Dg,b,Ex);if(b=a.cached_load)this.uq=T(this.uq,b);"0"==a.dash&&(this.Hw=!0);if(b=a.dashmpd)this.Zd=g.eh(b,{cpn:this.clientPlaybackNonce});if(b=a.delay)this.Je=g.hd(b);b=this.Lt||a.end;void 0!=b&&(this.clipEnd=mx(this.clipEnd,b));if(b=a.fmt_list)this.ar=b;a.fresca_preroll&&this.Qc.push("fresca");a.heartbeat_preroll&&this.Qc.push("heartbeat");this.dj=-Math.floor(10*Math.random());this.bl=-Math.floor(40*Math.random());if(b=a.is_listed)this.isListed=
T(this.isListed,b);if(b=a.is_private)this.isPrivate=T(this.isPrivate,b);if(b=a.pipable)this.pipable=T(this.pipable,b);this.ru=(this.lq=this.pipable&&this.La.jn)&&(!this.La.showMiniplayerButton||this.fa("web_player_pip"));if(b=a.paid_content_overlay_duration_ms)this.eB=g.hd(b);if(b=a.paid_content_overlay_text)this.RN=b;if(b=a.url_encoded_fmt_stream_map)this.Sj=b;if(b=a.hls_formats)this.hlsFormats=b;if(b=a.hlsvp)this.hlsvp=b;if(b=a.length_seconds)this.lengthSeconds="string"===typeof b?g.hd(b):b;if(b=
a.live_start_walltime)this.ls="number"===typeof b?b:g.hd(b);if(b=a.live_manifest_duration)this.Zk="number"===typeof b?b:g.hd(b);if(b=a.player_params)this.playerParams=b;if(b=a.partnerid)this.Ee=mx(this.Ee,b);if(b=a.probe_url)this.probeUrl=$s(g.eh(b,{cpn:this.clientPlaybackNonce}));if(b=a.profile_picture)this.Qd=nx(b,this.Qd);(b=a.pyv_billable_url)&&Xs(b)&&(this.Kl=b);(b=a.pyv_conv_url)&&Xs(b)&&(this.qB=b);dB(this,a);0<this.startSeconds||(this.Qg=this.startSeconds=mx(this.startSeconds,this.Qt||this.Jr||
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.qp=.001*parseInt(b,10);b=this.Jr||a.start;void 0==b||"1"==a.resume||this.ua||(this.clipStart=mx(this.clipStart,b));if(b=a.url_encoded_third_party_media)this.Lj=dp(b);if(b=a.ypc_offer_button_formatted_text)c=JSON.parse(b),this.Su=null!=c?c:null,this.RC=b;if(b=a.ypc_offer_button_text)this.Mp=b;if(b=a.ypc_offer_description)this.Np=
b;if(b=a.ypc_offer_headline)this.Op=b;if(b=a.ypc_full_video_message)this.om=b;if(b=a.ypc_offer_id)this.Pp=b;if(b=a.ypc_buy_url)this.Ip=b;if(b=a.ypc_item_thumbnail)this.Jp=b;if(b=a.ypc_item_title)this.Kp=b;if(b=a.ypc_item_url)this.Lp=b;if(b=a.ypc_vid)this.Qp=b;a.ypc_overlay_timeout&&(this.qm=parseInt(a.ypc_overlay_timeout,10));if(b=a.ypc_trailer_player_vars)this.Wj=cp(b);if(b=a.ypc_original_itct)this.xP=b;c=a.onesie_client_key;b=a.onesie_encrypted_client_key;d=a.onesie_client_key_ttl;c&&b&&d&&(c=Zz(c),
b=Zz(b),this.Jt=new Vga(c,b));this.wg=nx(this.wg,a.ucid);(0,g.y)("baseUrl uid oeid ieid ppe engaged subscribed".split(" "),function(e){a[e]&&(this.Oc[e]=a[e])},this);
this.Oc.focEnabled=T(this.Oc.focEnabled,a.focEnabled);this.Oc.rmktEnabled=T(this.Oc.rmktEnabled,a.rmktEnabled);this.pp=a.storyboard_spec||null;this.Vn=a.live_storyboard_spec||null;this.ry=a.iv_endscreen_url||null;this.Yr=T(this.Yr,a.iv3_module);this.on=T(this.on,a.fresca_module);this.pm=T(this.pm,a.ypc_license_checker_module);this.Hi=T(this.Hi,a.ypc_module);this.Vj=T(this.Vj,a.ypc_clickwrap_module);this.Hi&&this.Qc.push("ypc");this.Vj&&this.Qc.push("ypc_clickwrap");this.kB={video_id:a.video_id,eventid:a.eventid,
cbrand:a.cbrand,cbr:a.cbr,cbrver:a.cbrver,c:a.c,cver:a.cver,ctheme:a.ctheme,cplayer:a.cplayer,cmodel:a.cmodel,cnetwork:a.cnetwork,cos:a.cos,cosver:a.cosver,cplatform:a.cplatform,user_age:a.user_age,user_display_image:a.user_display_image,user_display_name:a.user_display_name,user_gender:a.user_gender,csi_page_type:a.csi_page_type,csi_service_name:a.csi_service_name,enablecsi:a.enablecsi,enabled_engage_types:a.enabled_engage_types};eB(this,a);vB(this)?lB(this)&&(this.ua&&this.Zd?this.Ah=!0:this.Ke&&
(this.jj=!0)):wB(this)?this.Ah=!0:!oB(this,this.adaptiveFormats)&&this.Zd&&(this.Ah=!0);if(b=a.adpings)this.Uv=b?cp(b):null;if(b=a.feature)this.Ol=b;if(b=a.referrer)this.referrer=b;this.clientScreenNonce=nx(this.clientScreenNonce,a.csn);this.gp=mx(this.gp,a.root_ve_type);this.Qn=mx(this.Qn,a.kids_age_up_mode);void 0!=a.kids_app_info&&(this.kidsAppInfo=a.kids_app_info);this.Cp=T(this.Cp,a.upg_content_filter_mode);if(b=a.unplugged_location_info)this.xd=b;if(b=a.unplugged_partner_opt_out)this.Oj=nx("",
b);this.Rk=nx(this.Rk,a.internal_ip_override);this.Or=!!a.is_yto_interstitial;(this.interstitials.length||this.Or)&&this.Qc.push("yto")};
g.h.N=function(){return this.La};
g.h.fa=function(a){return g.R(this.La.experiments,a)};
g.h.Pc=function(){return!this.ua||this.allowLiveDvr};
g.h.Gn=function(){return!!(this.va&&this.va.videoInfos&&this.va.videoInfos.length)};
g.h.bG=function(a){for(var b=g.q(a),c=b.next();!c.done;c=b.next())switch(c=c.value,c.flavor){case "fairplay":c.Ke=this.Ke;c.hn=this.hn;c.gn=this.gn;break;case "widevine":c.lm=this.lm}this.Dj=a;0<this.Dj.length&&(this.sd=this.Dj[0]);xB(this)};
g.h.OK=function(a){this.la()||(nB(this,a),a.w&&a.subscribe("refresh",this.yA,this),XA("mrc"),Ny(a)&&(this.jj=!0),xB(this))};
g.h.NK=function(a){this.la()||(this.Dd=!1,this.R("dataloaderror",new Pv("manifest.net.retryexhausted",!0,{backend:"manifest",rc:a.status})))};
g.h.yA=function(){this.la()||(this.ma.w||this.ma.unsubscribe("refresh",this.yA,this),this.ww())};
g.h.ww=function(){if(this.fa("html5_disable_fairplay_dai_killswitch")||!this.ua||!this.sd||"fairplay"!=this.sd.flavor){var a=Vy(this.ma,this.Zr);0<a.length&&(this.R("cuepointupdated",a),this.Zr+=a.length)}};
g.h.Mm=function(a){var b=this;if(this.la())return Yp();this.rg=this.je=this.va=null;var c=this.La.deviceParams.c;this.fa("disable_rqs")||(this.dg=/^rq/.test(this.clientPlaybackNonce)||/^r/.test(this.clientPlaybackNonce)&&/UNPLUGGED/.test(c)||VB(this));return Gha(this,a).then(void 0,(0,g.x)(this.mG,this,a)).then(void 0,(0,g.x)(this.oG,this)).then(void 0,(0,g.x)(this.nG,this)).then(function(){if(b.fa("html5_probe_media_capabilities")&&b.va)return Wga(b.va).then(b.ou,void 0,b)})};
g.h.mG=function(a){if(a&&this.hlsvp)return Yp();if(this.hlsFormats){a=mB(this.hlsFormats);if(ml||kl()||gl()){var b=wz(a);if(b){var c=[],d={};for(l in b)for(var e=g.q(b[l]),f=e.next();!f.done;f=e.next()){var k=f.value;k.sb&&(f=k.sb.getId(),d[f]||(k=new pz(f,k.sb),d[f]=k,c.push(k)))}var l=0<c.length?c:null}else l=null}else l=null;this.In=l;l=this.fa("html5_hls_cpn_killswitch")?"":this.clientPlaybackNonce;return Nga(this.La,this.isAd(),a,this.ag,l).then(this.nu,void 0,this)}return Yp()};
g.h.oG=function(){if(this.Lj&&this.oy){var a=this.La;var b=this.isAd(),c=Uga(this.Lj);a=Ew(a.w,c,Mx(a,b)).then(this.nu,void 0,this)}else a=Yp();return a};
g.h.nG=function(){var a=mB(this.Sj,this.ar);if(this.hlsvp){var b=this.hlsvp;var c=this.ag,d={cpn:this.clientPlaybackNonce};-1==b.indexOf("/ibw/")&&(d.ibw=c?String(c):"1369843");b={url:g.eh(b,d),type:"application/x-mpegURL",quality:"auto",itag:"93"};a.push(b)}b=this.La;c=this.isAd();d={cpn:this.clientPlaybackNonce,c:this.La.deviceParams.c,cver:this.La.deviceParams.cver};this.Ro&&(d.ptk=this.Ro,d.oid=this.gB,d.ptchn=this.fB,d.pltype=this.hB);var e=[];a=g.q(a);for(var f=a.next();!f.done;f=a.next()){var k=
f.value;if(k.url){f=new at(k.url);if(k.s){var l=k.sp,m=Ps(decodeURIComponent(k.s));f.set(l,encodeURIComponent(m))}for(var n in d)f.set(n,d[n]);k=Dv(k.type,k.quality,k.itag,k.width,k.height);e.push(new Lz(k,f))}}return Ew(b.w,e,Mx(b,c)).then(this.nu,void 0,this)};
g.h.ou=function(a){this.va=a;a=this.getAvailableAudioTracks();a=a.concat(this.pk);for(var b=0;b<this.xq.length;b++)for(var c=this.xq[b],d=0;d<a.length;d++){var e=a[d],f=e.sb.id==c.audioTrackId;if(e.sb.isDefault&&b==this.lw||f){if(c.captionTrackIndices)for(f=0;f<c.captionTrackIndices.length;f++)e.captionTracks[f]=this.captionTracks[c.captionTrackIndices[f]];void 0!==c.defaultCaptionTrackIndex&&(e.Lq=this.captionTracks[c.defaultCaptionTrackIndex]);void 0!==c.forcedCaptionTrackIndex&&(e.ln=this.captionTracks[c.forcedCaptionTrackIndex]);
e.Aq=c.visibility||"UNKNOWN"}}if(!this.fa("html5_playbackmanager_infocheck_killswitch")&&this.sd&&this.va&&this.va.videoInfos&&!(0>=this.va.videoInfos.length)&&(a=Av(this.va.videoInfos[0]),a!=("fairplay"==this.sd.flavor)))for(b=g.q(this.Dj),c=b.next();!c.done;c=b.next())if(c=c.value,a==("fairplay"==c.flavor)){this.sd=c;break}};
g.h.nu=function(a){this.rg=a;this.ou(new qz((0,g.A)(this.rg,function(b){return b.be()})))};
g.h.Tc=function(){var a={};this.Ba&&(a.fmt=Tu(this.Ba),this.sc&&Tu(this.sc)!=Tu(this.Ba)&&(a.afmt=Tu(this.sc)));a.ei=this.eventId;a.list=this.playlistId;a.cpn=this.clientPlaybackNonce;this.videoId&&(a.v=this.videoId);this.Bh&&(a.infringe=1);this.Sg&&(a.splay=1);var b=FB(this);b&&(a.live=b);this.hh&&(a.autoplay=1);this.Xo&&(a.sdetail=this.Xo);this.Ee&&(a.partnerid=this.Ee);this.osid&&(a.osid=this.osid);return a};
g.h.ue=function(){var a=g.Ux(this.La)||this.fa("web_l3_storyboard");if(!this.Hd)if(this.Ja&&this.Ja.storyboards){var b=this.Ja.storyboards,c=b.playerStoryboardSpecRenderer;c&&c.spec?this.Hd=new Vz(c.spec,this.lengthSeconds,void 0,!1,a):(b=b.playerLiveStoryboardSpecRenderer)&&b.spec&&this.ma&&(c=Tb(this.ma.o).index)&&(this.Hd=new Yz(b.spec,this.ma.isLive,c,a))}else this.pp?this.Hd=new Vz(this.pp,this.lengthSeconds,void 0,!1,a):this.Vn&&this.ma&&(b=Tb(this.ma.o).index)&&(this.Hd=new Yz(this.Vn,this.ma.isLive,
b,a));return this.Hd};
g.h.getStoryboardFormat=function(){if(this.Ja&&this.Ja.storyboards){var a=this.Ja.storyboards;return(a=a.playerStoryboardSpecRenderer||a.playerLiveStoryboardSpecRenderer)&&a.spec||null}return this.pp||this.Vn};
g.h.tc=function(){return this.ma&&!isNaN(this.ma.tc())?this.ma.tc():qB(this)?0:this.lengthSeconds};
g.h.Ab=function(){return this.ma&&!isNaN(this.ma.Ab())?this.ma.Ab():0};
g.h.getPlaylistSequenceForTime=function(a){if(this.ma&&this.Ba){var b=this.ma.o[this.Ba.id];if(!b)return null;var c=b.index.Me(a);b=b.index.Yc(c);return{sequence:c,elapsed:Math.floor(1E3*(a-b))}}return null};
g.h.isValid=function(){return!this.la()&&!(!this.videoId&&!this.Lj)};
g.h.Pb=function(){return IB(this)&&!this.Ah&&!this.jj};
g.h.Bc=function(a){if(30==this.Ee)return(a=this.We["default.jpg"])?a:this.videoId?g.eh("//docs.google.com/vt",{id:this.videoId,authuser:this.Lc,authkey:this.authKey}):"//docs.google.com/images/doclist/cleardot.gif";a||(a="hqdefault.jpg");var b=this.We[a];return b||this.La.G||"pop1.jpg"==a||"pop2.jpg"==a||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a?b:Px(this.La,this.videoId,a)};
g.h.Ne=function(){return this.ua||this.ze||this.Xr||!(!this.liveUtcStartSeconds||!this.Zk)};
g.h.Uk=function(){return!!this.ma&&(this.ma.Uk||!this.ze&&!this.ua&&this.ma.w)};
g.h.getAvailableAudioTracks=function(){return this.va?0<this.va.getAvailableAudioTracks().length?this.va.getAvailableAudioTracks():this.In||[]:[]};
g.h.getAudioTrack=function(){var a=this;if(this.sc&&!Av(this.sc))return g.Za(this.getAvailableAudioTracks(),function(d){return d.id==a.sc.id})||this.pk;
if(this.In){if(!this.Sl)for(var b=g.q(this.In),c=b.next();!c.done;c=b.next())if(c=c.value,c.sb.getIsDefault()){this.Sl=c;break}return this.Sl||this.pk}return this.pk};
g.h.getPlayerResponse=function(){return this.Ja};
g.h.getPlaylistId=function(){return null};
g.h.wa=function(){return this};
g.h.Rh=function(){return this.La.getVideoUrl(this.videoId)};
g.h.fg=function(){return!!this.ma&&this.ma.fg()};
g.h.gg=function(){return!!this.ma&&this.ma.gg()};
g.h.Yf=function(){return!!this.ma&&this.ma.Yf()};
g.h.ej=function(){return!!this.ma&&this.ma.ej()};
g.h.isAd=function(){return!!this.adFormat};
g.h.Lh=function(){if(this.isAd()&&this.videoId!=this.La.xa)return this.La.xa};
g.h.hf=function(){return this.oauthToken||this.La.ob};
g.h.Vl=function(){return this.Hi};
g.h.useInnertubeDrmService=function(){return!!(this.sd&&"widevine"==this.sd.flavor&&this.Ja&&this.Ja.playerConfig&&this.Ja.playerConfig.webDrmConfig&&this.Ja.playerConfig.webDrmConfig.useInnertubeDrmService)};YB.prototype.B=function(){if(!ZB(this))return null;var a="";this.T&&this.T.Ji&&(a=this.T.Ji+("&r1b="+this.T.clientPlaybackNonce));var b={};a=(b.atr_challenge=a,b);return(a=this.w?zs(a):g.w("yt.abuse.player.invokeBotguard")(a))?"r1a="+a:null};
YB.prototype.C=function(a){return"r3a="+Math.floor(this.T.lengthSeconds%g.hd(a.c3a))};
YB.prototype.A=function(a){a=g.hd(a.c);var b=this.w?parseInt(g.M("DCLKSTAT",0),10):(b=g.w("yt.abuse.dclkstatus.checkDclkStatus"))?b():NaN;return"r6a="+(a^b)};var D2={},lqa=(D2["api.invalidparam"]=2,D2.auth=150,D2["drm.auth"]=150,D2["heartbeat.net"]=150,D2["heartbeat.servererror"]=150,D2["heartbeat.stop"]=150,D2["html5.unsupportedads"]=5,D2["fmt.noneavailable"]=5,D2["fmt.decode"]=5,D2["fmt.unplayable"]=5,D2["html5.missingapi"]=5,D2["html5.unsupportedlive"]=5,D2["drm.unavailable"]=5,D2);var mqa=FP&&4>XB?.1:0,Bka=new cC;cC.prototype.o=null;cC.prototype.getDuration=function(){return this.duration||0};
cC.prototype.getCurrentTime=function(){return this.currentTime||0};
cC.prototype.u=function(){this.hasAttribute("controls")&&this.setAttribute("controls","true")};g.r(g.dC,g.B);g.h=g.dC.prototype;g.h.cp=function(){};
g.h.Ai=ba(6);g.h.mo=function(){return this.w};
g.h.qj=function(a){var b="";a&&(fC(this,a),b=a.o);this.Uc()&&""==b||(b&&this.Uc()!=b&&this.jp(b),PS||a&&a.u||this.load(),this.F||(this.addEventListener("volumechange",this.yw),this.F=!0))};
g.h.lo=function(){var a=this.ib();a=window.MediaSource?new window.MediaSource:window.WebKitMediaSource?new window.WebKitMediaSource:new Mv(a);a=new dw(a);this.qj(a.dl);return a};
g.h.playVideo=function(){this.rf()&&this.seekTo(0);!this.Uc()&&this.w&&(g.N(Error("playVideo without src")),this.jp(this.w.o),this.w.u||this.load());var a=this.play();!a&&RS&&FP&&7<=XB&&g.Pq(this,"playing",(0,g.x)(function(){g.Ho((0,g.x)(this.Zw,this,this.getCurrentTime(),0),500)},this));
return a};
g.h.Zw=function(a,b){this.bh()||this.getCurrentTime()>a||10<b||(this.play(),g.Ho((0,g.x)(this.Zw,this,this.getCurrentTime(),b+1),500))};
g.h.seekTo=function(a){0<this.he()&&(SS&&FP&&4>XB&&(a=Math.max(.1,a)),this.hp(a))};
g.h.stopVideo=function(){this.Uc()&&(QS&&ml&&0<this.getCurrentTime()&&this.seekTo(0),this.Zo(),this.load(),fC(this,null))};
g.h.Va=function(){try{var a=this.rj();return{vct:this.getCurrentTime().toFixed(3),vd:this.getDuration().toFixed(3),vpl:Uv(this.Vi(),",",3),vbu:Uv(this.Ad()),vpa:""+ +this.bh(),vsk:""+ +this.ql(),ven:""+ +this.rf(),vpr:""+this.getPlaybackRate(),vrs:""+this.he(),vns:""+this.xn(),vec:""+this.Qe(),vvol:""+this.getVolume(),vdom:""+ +this.Kr(),vsrc:""+ +!!this.Uc(),vw:a.width,vh:a.height}}catch(b){return{}}};
g.h.addEventListener=function(a,b){this.B.ia(a,b,!1,this);this.Sq(a)};
g.h.removeEventListener=function(a,b){this.B.Wa(a,b,!1,this)};
g.h.dispatchEvent=function(a){return this.B.dispatchEvent(a)};
g.h.Rq=function(){this.C=!1};
g.h.Nq=function(){this.C=!0;this.oh(!0)};
g.h.yw=function(){this.C&&!this.vn()&&this.oh(!0)};
g.h.Y=function(){this.F&&this.removeEventListener("volumechange",this.yw);g.B.prototype.Y.call(this)};
var PS=!1,QS=!0,RS=!0,SS=!0;g.r(lC,g.oe);lC.prototype.preventDefault=function(){g.oe.prototype.preventDefault.call(this);this.u&&this.u.preventDefault()};
lC.prototype.stopPropagation=function(){g.oe.prototype.stopPropagation.call(this);this.u&&this.u.stopPropagation()};g.r(g.mC,g.dC);g.h=g.mC.prototype;g.h.ah=function(){return!0};
g.h.isView=function(){return!1};
g.h.cp=function(){return!1};
g.h.ib=function(){return this.o};
g.h.Uc=function(){return this.o.src};
g.h.jp=function(a){var b=this.getPlaybackRate();this.o.src=a;this.setPlaybackRate(b)};
g.h.Zo=function(){this.o.removeAttribute("src")};
g.h.getPlaybackRate=function(){try{return 0<=this.o.playbackRate?this.o.playbackRate:1}catch(a){return 1}};
g.h.setPlaybackRate=function(a){this.getPlaybackRate()!=a&&(this.o.playbackRate=a);return a};
g.h.ko=function(){return this.o.loop};
g.h.setLoop=function(a){this.o.loop=a};
g.h.canPlayType=function(a,b){return this.o.canPlayType(a,b)};
g.h.bh=function(){return this.o.paused};
g.h.ql=function(){return this.o.seeking};
g.h.rf=function(){return this.o.ended};
g.h.vn=function(){return this.o.muted};
g.h.oh=function(a){Kv();this.o.muted=a};
g.h.Vi=function(){return this.o.played||Tv([],[])};
g.h.Ad=function(){try{var a=this.o.buffered}catch(b){}return a||Tv([],[])};
g.h.Dk=function(){return this.o.seekable||Tv([],[])};
g.h.no=function(){return this.o.getStartDate?this.o.getStartDate():null};
g.h.getCurrentTime=function(){return this.o.currentTime};
g.h.hp=function(a){this.o.currentTime=a};
g.h.getDuration=function(){return this.o.duration};
g.h.load=function(){var a=this.o.playbackRate;this.o.load&&this.o.load();this.o.playbackRate=a};
g.h.pause=function(){this.o.pause()};
g.h.play=function(){var a=this.o.play();return a&&a.then?a:null};
g.h.he=function(){return this.o.readyState};
g.h.xn=function(){return this.o.networkState};
g.h.Qe=function(){return this.o.error?this.o.error.code:null};
g.h.ol=function(){return this.o.error?this.o.error.message:""};
g.h.pl=function(){var a={};if(this.o){if(this.o.getVideoPlaybackQuality)return this.o.getVideoPlaybackQuality();this.o.webkitDecodedFrameCount&&(a.totalVideoFrames=this.o.webkitDecodedFrameCount,a.droppedVideoFrames=this.o.webkitDroppedFrameCount)}return a};
g.h.ci=function(){return!!this.o.webkitCurrentPlaybackTargetIsWireless};
g.h.Es=function(){return!!this.o.webkitShowPlaybackTargetPicker()};
g.h.togglePictureInPicture=function(){Jv()?this.o!=window.document.pictureInPictureElement?this.o.requestPictureInPicture():window.document.exitPictureInPicture():Iv()&&this.o.webkitSetPresentationMode("picture-in-picture"==this.o.webkitPresentationMode?"inline":"picture-in-picture")};
g.h.Lg=function(){return Dh(this.o)};
g.h.rj=function(){return g.Nh(this.o)};
g.h.setSize=function(a){return g.Mh(this.o,a)};
g.h.getVolume=function(){return this.o.volume};
g.h.setVolume=function(a){Kv();this.o.volume=a};
g.h.Sq=function(a){if(!this.u[a]){var b=(0,g.x)(this.ZG,this);this.o.addEventListener(a,b);this.u[a]=b}};
g.h.ZG=function(a){this.dispatchEvent(new lC(this,a.type,a))};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.ek=ba(8);g.h.gm=ba(10);g.h.Ai=ba(5);g.h.jk=ba(12);g.h.vk=function(){sr(this.o)};
g.h.Ek=function(a){return g.xh(this.o,a)};
g.h.Kr=function(){return g.ce(document.body,this.o)};
g.h.Y=function(){for(var a in this.u)this.o.removeEventListener(a,this.u[a]);g.dC.prototype.Y.call(this)};nC.prototype.add=function(a){this.o=(this.o+1)%this.u.length;this.u[this.o]=a};
nC.prototype.clear=function(){for(var a=this.u.length,b=0;b<a;b++)this.u[b]=0;this.w=this.o=this.u.length-1};g.r(pC,g.B);pC.prototype.start=function(){this.u.start()};
pC.prototype.stop=function(){this.u.stop()};
pC.prototype.clear=function(){for(var a in this.o)this.o[a].clear()};
pC.prototype.A=function(){for(var a in this.w)this.o[a].update(this.w[a]());this.u.start()};
qC.prototype.update=function(a){this.u?(this.buffer.add(a-this.o||0),this.o=a):this.buffer.add(a)};
qC.prototype.clear=function(){this.buffer.clear();this.o=0};var zC=1;g.r(g.BC,g.B);g.h=g.BC.prototype;
g.h.createElement=function(a,b){b=b||"svg"===a.D;var c=a.I,d=a.X;if(b){var e=document.createElementNS("http://www.w3.org/2000/svg",a.D);g.Wx&&(a.M||(a.M={}),a.M.focusable="false")}else e=g.Vd(a.D);if(c){if(c=DC(this,e,"class",c))EC(this,e,"class",c),this.o[c]=e}else if(d){c=g.q(d);for(var f=c.next();!f.done;f=c.next())this.o[f.value]=e;EC(this,e,"class",d.join(" "))}d=a.W;c=a.K;if(d)d=DC(this,e,"child",d),void 0!==d&&e.appendChild(g.Wd(d));else if(c)for(d=0,c=g.q(c),f=c.next();!f.done;f=c.next())if(f=
f.value)if("string"===typeof f)f=DC(this,e,"child",f),null!=f&&e.appendChild(g.Wd(f));else if(f.element)e.appendChild(f.element);else{var k=f;f=this.createElement(k,b);e.appendChild(f);k.Ka&&(k=AC(),f.id=k,f=document.createElementNS("http://www.w3.org/2000/svg","use"),f.setAttribute("class","ytp-svg-shadow"),f.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+k),g.Zd(e,f,d++))}if(d=a.M)for(c=e,f=g.q(Object.keys(d)),k=f.next();!k.done;k=f.next()){k=k.value;var l=d[k];EC(this,c,k,"string"===
typeof l?DC(this,c,k,l):l)}return e};
g.h.ba=function(a,b){"number"===typeof b?g.Zd(a,this.element,b):a.appendChild(this.element)};
g.h.update=function(a){for(var b=g.q(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.ha(c,a[c])};
g.h.ha=function(a,b){var c=this.Ua["{{"+a+"}}"];c&&EC(this,c[0],c[1],b)};
g.h.Y=function(){this.o={};this.Ua={};g.CC(this);g.B.prototype.Y.call(this)};g.r(g.V,g.BC);g.h=g.V.prototype;g.h.ub=function(a,b){this.ha(b||"content",a)};
g.h.show=function(){this.ra||(g.th(this.element,"display",""),this.ra=!0)};
g.h.hide=function(){this.ra&&(g.th(this.element,"display","none"),this.ra=!1)};
g.h.Ta=function(a){this.P=a};
g.h.Fa=function(){return this.ra};
g.h.ia=function(a,b,c){return this.L(this.element,a,b,c)};
g.h.L=function(a,b,c,d){c=(0,g.x)(c,d||this);d={target:a,type:b,listener:c};this.listeners.push(d);a.addEventListener(b,c);return d};
g.h.Wa=function(a){var b=this;this.listeners.forEach(function(c,d){if(c===a){var e=b.listeners.splice(d,1)[0];e.target.removeEventListener(e.type,e.listener)}})};
g.h.focus=function(){ge(this.element);this.element.focus()};
g.h.Y=function(){for(;this.listeners.length;){var a=this.listeners.pop();a&&a.target.removeEventListener(a.type,a.listener)}g.BC.prototype.Y.call(this)};g.r(g.GC,g.V);g.GC.prototype.subscribe=function(a,b,c){return this.ca.subscribe(a,b,c)};
g.GC.prototype.unsubscribe=function(a,b,c){return this.ca.unsubscribe(a,b,c)};
g.GC.prototype.og=function(a){return this.ca.og(a)};
g.GC.prototype.R=function(a,b){for(var c=[],d=1;d<arguments.length;++d)c[d-1]=arguments[d];return this.ca.R.apply(this.ca,[a].concat(g.na(c)))};g.r(g.IC,g.GC);g.IC.prototype.ha=function(a,b){g.GC.prototype.ha.call(this,a,b);this.R("size-change")};g.r(NC,g.B);g.h=NC.prototype;
g.h.handleExternalCall=function(a,b,c){var d=this.C[a];if(!(d||!(d=this.G[a])||c&&Ss(c,Wpa,Xpa)))throw Error('API call from an untrusted origin: "'+c+'"');var e=this.app.N();e.zg&&!this.P.has(a)&&(this.P.add(a),hr("webPlayerApiCalled",{callerUrl:e.loaderUrl,methodName:a,origin:c||void 0,playerStyle:e.playerStyle||void 0}));if(d){c=!1;e=g.q(b);for(var f=e.next();!f.done;f=e.next())if(String(f.value).includes("javascript:")){c=!0;break}c&&g.Go(Error('Dangerous call to "'+a+'" with ['+b+"]."));return d.apply(this,
b)}throw Error('Unknown API method: "'+a+'".');};
g.h.isExternalMethodAvailable=function(a,b){return this.C[a]?!0:!!(this.G[a]&&b&&Ss(b,Wpa,Xpa))};
g.h.getBandwidthEstimate=function(){return ix(this.app.N().schedule)};
g.h.reportPlaybackIssue=function(a){a=void 0===a?"":a;var b=g.U(this.app);b&&(a={gpu:(0,g.gK)(),d:a},b.ai(new Pv("feedback",!1,a)))};
g.h.getApiInterface=function(){return this.H.slice()};
g.h.getInternalApiInterface=function(){return g.Vb(this.w)};
g.h.addEventListener=function(a,b){if("string"===typeof b){var c=function(){g.w(b).apply(window,arguments)};
this.F[b]=c}else c=b;this.app.ga.subscribe(a,c)};
g.h.yE=function(a,b){var c=this,d="string"===typeof b?a+b:a+g.Qa(b);if(!this.B[d]){var e;"string"===typeof b?e=function(){g.w(b).apply(window,arguments)}:e=b;
var f=function(k){e({target:c.u,data:k})};
this.B[d]=f;this.app.ga.subscribe(a,f)}};
g.h.removeEventListener=function(a,b){if("string"===typeof b){var c=this.F[b],d=this.F;b in d&&delete d[b];b=c}this.app.ga.unsubscribe(a,b)};
g.h.zE=function(a,b){var c="string"===typeof b?a+b:a+g.Qa(b),d=this.B[c];d&&(this.app.ga.unsubscribe(a,d),d=this.B,c in d&&delete d[c])};
g.h.getPlayerState=function(){return AT(this.app)};
g.h.seekTo=function(a,b,c){this.o&&JT(this.app,!0,this.playerType);UT(this.app,a,b,c,this.playerType)};
g.h.seekToStreamTime=function(a,b,c){this.o&&JT(this.app,!0,this.playerType);var d=this.app,e=this.playerType;b=void 0===b?!0:b;var f=void 0===f?!1:f;var k=g.U(d,e),l=0;k&&k.getStreamTimeOffset()&&!k.Bb()&&(l=k.getStreamTimeOffset());UT(d,a-l,b,c,e,f)};
g.h.getStreamTimeOffset=function(){var a=g.U(this.app,1);return a?a.getStreamTimeOffset():0};
g.h.seekToLiveHead=function(a,b){var c=this.getVideoData();c&&(c.ua||c.isLive)&&UT(this.app,Infinity,a,b,this.playerType)};
g.h.getCurrentTime=function(){return this.app.getCurrentTime(this.playerType)};
g.h.getMediaReferenceTime=function(){var a=yT(this.app,this.playerType);return isNaN(a)?this.getCurrentTime():a};
g.h.getDuration=function(){return this.app.getDuration(this.playerType)};
g.h.getVolume=function(){return this.app.P.volume};
g.h.setVolume=function(a){RC(this,a)};
g.h.isMuted=function(){return this.app.P.muted};
g.h.mute=function(){SC(this)};
g.h.unMute=function(){TC(this)};
g.h.playVideo=function(){this.o&&JT(this.app,!0,this.playerType);var a=this.app.getPresentingPlayerType();2!=a||this.app.Ob()?3==a?g.tL(this.app.A).tl("control_play"):this.app.playVideo(a):(a=WP(this.app.A))&&Woa(a,"control_play")};
g.h.pauseVideo=function(){var a=this.app.getPresentingPlayerType();2!=a||this.app.Ob()?3==a?g.tL(this.app.A).tl("control_pause"):this.app.pauseVideo(a):(a=WP(this.app.A))&&Woa(a,"control_pause")};
g.h.stopVideo=function(){var a=this.app;a.o.ga&&a.u.R("pageTransition");a.stopVideo()};
g.h.clearVideo=function(){};
g.h.getPlaybackRate=function(){return g.U(this.app,1).getPlaybackRate()};
g.h.setPlaybackRate=function(a){"number"===typeof a&&this.app.setPlaybackRate(a)};
g.h.getAvailablePlaybackRates=function(){var a=this.app.N();a.ya?(a=a.u||a.fa("web_player_admin_origin_killswitch")?a.kc[0]:window.location.origin,a="https://admin.youtube.com"==a||"https://viacon.corp.google.com"==a?hqa:gqa):a=[1];return a};
g.h.getPlaybackQuality=function(a){return(a=g.U(this.app,a))?a.getPlaybackQuality():"unknown"};
g.h.setPlaybackQuality=function(){};
g.h.getAvailableQualityLevels=function(){var a=g.U(this.app,this.playerType);return a?(a=(0,g.A)(zK(a),function(b){return b.quality}),a.length&&("auto"==a[0]&&a.shift(),a=a.concat(["auto"])),a):[]};
g.h.getVideoBytesLoaded=function(){return this.getVideoLoadedFraction()};
g.h.getVideoBytesTotal=function(){return 1};
g.h.getVideoLoadedFraction=function(){return this.app.getVideoLoadedFraction()};
g.h.getVideoStartBytes=function(){return 0};
g.h.setSize=function(){this.app.G.Be()};
g.h.channelSubscribed=function(){this.ka("SUBSCRIBE",mT(this.app).wg)};
g.h.channelUnsubscribed=function(){this.ka("UNSUBSCRIBE",mT(this.app).wg)};
g.h.getStatsForNerds=function(){return yC(this.app)};
g.h.setScreenLayer=function(a){this.app.setScreenLayer(a)};
g.h.getCurrentPlaylistSequence=function(){return g.U(this.app).getPlaylistSequenceForTime(this.app.getCurrentTime())};
g.h.getPlaylistSequenceForTime=function(a){return g.U(this.app).getPlaylistSequenceForTime(a)};
g.h.forceFrescaUpdate=function(){var a=CL(this.app.A);a&&a.FE()};
g.h.shouldSendVisibilityState=function(){return!0};
g.h.updateFullerscreenEduButtonVisibility=function(a){var b=VC(this);b&&(b.A=a,b.w())};
g.h.updateFullerscreenEduButtonSubtleModeState=function(a){var b=VC(this);b&&(g.L(b.element,"ytp-fullerscreen-edu-button-subtle",a),a&&!b.C&&(b.element.setAttribute("title","Ayr\u0131nt\u0131lar i\u00e7in kayd\u0131r\u0131n"),g.le(b,g.dN(b.F.Ya(),b.element)),b.C=!0))};
g.h.confirmYpcRental=function(){var a=g.U(this.app,this.playerType);a&&tK(a,"ypc_clickwrap")};
g.h.setHomeGroupInfo=function(a){this.app.N().homeGroupInfo=a};
g.h.setConnectedRemoteApps=function(a){this.app.N().Zj=a};
g.h.setLivingRoomAppMode=function(a){this.app.N().livingRoomAppMode=a};
g.h.setEnablePrivacyFilter=function(a){this.app.N().enablePrivacyFilter=a};
g.h.isPictureInPictureAllowed=function(){return mT(this.app).lq};
g.h.togglePictureInPicture=function(){this.app.togglePictureInPicture()};
g.h.loadModule=function(a){"captions"==a&&(a=g.PP(this.app.A))&&!a.loaded&&a.load()};
g.h.unloadModule=function(a){"captions"==a&&(a=g.PP(this.app.A))&&a.loaded&&a.bP()};
g.h.loadVideoById=function(a,b,c){a&&(a=this.app.loadVideoByPlayerVars($B(a,b,c),this.playerType),this.o&&JT(this.app,a,this.playerType))};
g.h.cueVideoById=function(a,b,c){this.app.cueVideoByPlayerVars($B(a,b,c),this.playerType)};
g.h.loadVideoByUrl=function(a,b,c){a=aC(a,b,c);a=this.app.loadVideoByPlayerVars(a,this.playerType);this.o&&JT(this.app,a,this.playerType)};
g.h.cueVideoByUrl=function(a,b,c){a=aC(a,b,c);this.app.cueVideoByPlayerVars(a,this.playerType)};
g.h.getVideoUrl=function(){var a=this.app.N();if(a.G)return"";var b=mT(this.app),c=void 0;b.ua||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)};
g.h.getDebugText=function(){return this.app.getDebugText()};
g.h.getVideoEmbedCode=function(){var a=this.app.N();return a.G?"":a.getVideoEmbedCode(mT(this.app).videoId,this.app.G.getPlayerSize(),this.getPlaylistId()||void 0)};
g.h.addCueRange=function(a,b,c){return NT(this.app,a,b,c)};
g.h.removeCueRange=function(a){a:{for(var b=this.app,c=PG(b.w.P)||[],d=0;d<c.length;d++){var e=c[d];if(e.getId()==a){b.w.removeCueRange(e);dT(b,"cuerangesremoved",[e]);a=!0;break a}}a=!1}return a};
g.h.loadPlaylist=function(a,b,c,d){this.app.loadPlaylist(a,b,c,d);this.o&&JT(this.app,!0,this.playerType)};
g.h.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)};
g.h.nextVideo=function(){this.app.nextVideo();this.o&&JT(this.app,!0,this.playerType)};
g.h.previousVideo=function(){this.app.previousVideo();this.o&&JT(this.app,!0,this.playerType)};
g.h.playVideoAt=function(a){this.app.playVideoAt(a);this.o&&JT(this.app,!0,this.playerType)};
g.h.setShuffle=function(a){var b=this.app.getPlaylist();b&&b.setShuffle(a)};
g.h.setLoop=function(a){var b=this.app.getPlaylist();b&&(b.loop=a)};
g.h.getPlaylist=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;c<a.getLength();c++){var d=a.wa(c);d&&b.push(d.videoId)}return b};
g.h.getPlaylistIndex=function(){var a=this.app.getPlaylist();return a?a.Xa:-1};
g.h.getPlaylistId=function(){var a=this.app.getPlaylist();return a&&a.listId?a.listId.toString():null};
g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.A;return"captions"==a?(a=g.PP(d))&&a.Mc(b,c):null};
g.h.getOption=function(a,b,c){var d=g.U(this.app,this.playerType);return d&&d.getVideoData().isPrivate&&!this.fa("embeds_prevent_metadata_leaking_killswitch")?{}:this.setOption(a,b,c)};
g.h.getOptions=function(a){var b=this.app.A;return"captions"==a?(b=g.PP(b))&&b.getOptions():a?null:(a=[],g.PP(b)&&a.push("captions"),a)};
g.h.getVideoData=function(a){a=void 0===a?this.playerType:a;var b={};if(a=g.U(this.app,a)){a=a.getVideoData();if(a.isPrivate&&!this.fa("embeds_prevent_metadata_leaking_killswitch"))return{};b.video_id=a.videoId;b.author=a.author;b.title=a.title;if(a.Ba&&a.Ba.video){b.video_quality=a.Ba.video.quality;a=a.Ba.video;var c=[];32<a.fps&&c.push("hfr");tv(a)&&c.push("hdr");uv(a)&&c.push("wcg");b.video_quality_features=c}}if(a=this.getPlaylistId())b.list=a;return b};
g.h.showVideoInfo=function(){ZS(this.app,!0)};
g.h.hideVideoInfo=function(){ZS(this.app,!1)};
g.h.isVideoInfoVisible=function(){return this.app.isVideoInfoVisible()};
g.h.getAdState=function(){return this.app.getAdState()};
g.h.isNotServable=function(a){if(a!=this.app.sa.args.video_id)return!1;var b=(a=(a=g.U(this.app,1))?a.getPlayerState():null)?a.u:null;return!!(a&&b&&g.W(a,128)&&5==lqa[b.errorCode])};
g.h.getSphericalProperties=function(){var a=g.xL(this.app.A);return a?2==this.playerType?{}:a.getSphericalProperties():{}};
g.h.setSphericalProperties=function(a){if(a&&2!=this.playerType){var b=g.xL(this.app.A);b&&b.setSphericalProperties(a,!0)}};
g.h.supportsGaplessAudio=function(){return this.app.N().supportsGaplessAudio()};
g.h.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;this.app.enqueueVideoByPlayerVars(a,b,c,void 0===d?"":d)};
g.h.clearQueue=function(){this.app.clearQueue()};
g.h.destroy=function(){this.app.dispose()};
g.h.sendAbandonmentPing=function(){var a=g.U(this.app);a&&a.sendAbandonmentPing()};
g.h.setAutonavState=function(a){WT(this.app,a)};
g.h.setAutonav=function(a){this.setAutonavState(a?2:1)};
g.h.setLoopRange=function(a){this.app.setLoopRange(a)};
g.h.getLoopRange=function(){return this.app.getLoopRange()};
g.h.R=function(a,b){for(var c=1;c<arguments.length;++c);this.app.N().Eb&&("videodatachange"==a||"resize"==a||"cardstatechange"==a)&&this.app.ga.R.apply(this.app.ga,arguments);this.app.da.R.apply(this.app.da,arguments)};
g.h.ka=function(a,b){this.app.ga.R.apply(this.app.ga,arguments);this.app.da.R.apply(this.app.da,arguments)};
g.h.fa=function(a){return g.R(this.app.N().experiments,a)};
g.h.Y=function(){if(this.A){for(var a in this.w)this.A[a]=null;this.A=null}this.B={};this.F={};g.B.prototype.Y.call(this)};XC.prototype.isEmpty=function(){return this.endTime==this.startTime};ZC.prototype.update=function(){if(this.J){var a=this.u.o()||0,b=g.jD(this.u);if(a!=this.o||cD(this,a,b)){var c;if(!(c=a<this.o||a-this.o>b-this.F+2||cD(this,a,b))){var d=this.u.Tc();c=d.volume;var e=c!=this.O;d=d.muted;d!=this.P?(this.P=d,c=!0):(!e||0<=this.C||(this.O=c,this.C=b),c=b-this.C,0<=this.C&&2<c?(this.C=-1,c=!0):c=!1)}c&&($C(this),this.w=a);this.F=b;this.o=a}}};dD.prototype.send=function(a){if(!this.V){var b=gD(this);b=g.eh(this.sa,b);if(this.O)this.G&&(a=eD(this)||{},a.method="POST",a.zb={atr:this.G},this.F&&this.visitorData&&(a.headers={"X-Goog-Visitor-Id":this.visitorData}),g.wp(b,a));else{var c=eD(this,a);c?g.wp(b,c):g.Qp(b,a)}this.V=!0}};
dD.prototype.o=function(a){void 0==a&&(a=NaN);return(1*a.toFixed(3)).toString()};hD.prototype.fa=function(a){return g.R(this.fb.experiments,a)};
var kD={other:1,none:2,wifi:3,cellular:7};var Xja,E2,Mha;
Xja={XP:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",cQ:"AUTHENTICATION_MALFORMED",dQ:"AUTHENTICATION_MISSING",hQ:"BAD_REQUEST",nQ:"CAST_SESSION_DEVICE_MISMATCHED",oQ:"CAST_SESSION_VIDEO_MISMATCHED",pQ:"CAST_TOKEN_EXPIRED",qQ:"CAST_TOKEN_FAILED",rQ:"CAST_TOKEN_MALFORMED",sQ:"CGI_PARAMS_MALFORMED",tQ:"CGI_PARAMS_MISSING",FQ:"DEVICE_FALLBACK",PQ:"GENERIC_WITH_LINK_AND_CPN",QQ:"LICENSE",RQ:"VIDEO_UNAVAILABLE",VQ:"FORMAT_UNAVAILABLE",ZQ:"GEO_FAILURE",sR:"HTML5_AUDIO_RENDERER_ERROR",tR:"GENERIC_WITHOUT_LINK",
uR:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",vR:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",BR:"INVALID_DRM_MESSAGE",wS:"PURCHASE_NOT_FOUND",xS:"PURCHASE_REFUNDED",AS:"RENTAL_EXPIRED",CS:"RETRYABLE_ERROR",GS:"SERVER_ERROR",OS:"STOPPED_BY_ANOTHER_PLAYBACK",PS:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",QS:"STREAMING_NOT_ALLOWED",RS:"STREAM_LICENSE_NOT_FOUND",XS:"TOO_MANY_REQUESTS",YS:"TOO_MANY_REQUESTS_WITH_LINK",ZS:"TOO_MANY_STREAMS_PER_ENTITLEMENT",aT:"TOO_MANY_STREAMS_PER_USER",cT:"UNSUPPORTED_DEVICE",
eT:"VIDEO_FORBIDDEN",fT:"VIDEO_NOT_FOUND"};E2={};
g.rK=(E2.ALREADY_PINNED_ON_A_DEVICE="Bu video telif hakk\u0131 sahibinin izin verdi\u011fi maksimum say\u0131da cihaza zaten indirildi. Videonun burada oynat\u0131labilmesi i\u00e7in ba\u015fka bir cihazdan sabitlemesinin kald\u0131r\u0131lmas\u0131 gerekir.",E2.DEVICE_FALLBACK="Maalesef, bu video bu cihazda kullan\u0131lam\u0131yor.",E2.GENERIC_WITH_LINK_AND_CPN="Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin. (Oynatma kimli\u011fi: $CPN) $BEGIN_LINKDaha fazla bilgi edinin$END_LINK",E2.LICENSE=
"Maalesef bu videonun lisanslanmas\u0131nda bir hata olu\u015ftu.",E2.VIDEO_UNAVAILABLE="Video kullan\u0131lam\u0131yor",E2.FORMAT_UNAVAILABLE="Bu video se\u00e7ilen kalitede g\u00f6r\u00fcnt\u00fclenemiyor. L\u00fctfen daha sonra tekrar deneyin.",E2.GEO_FAILURE="Bu video \u00fclkenizde kullan\u0131lam\u0131yor.",E2.HTML5_AUDIO_RENDERER_ERROR="Ses olu\u015fturucu hatas\u0131. L\u00fctfen bilgisayar\u0131n\u0131z\u0131 yeniden ba\u015flat\u0131n.",E2.GENERIC_WITHOUT_LINK="Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.",
E2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK="Bu video bi\u00e7imi desteklenmiyor.",E2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK="Taray\u0131c\u0131n\u0131z \u015fu anda mevcut video bi\u00e7imlerinin hi\u00e7birini tan\u0131m\u0131yor. $BEGIN_LINKHTML5 videosu hakk\u0131ndaki s\u0131k sorulan sorular\u0131 ziyaret etmek i\u00e7in buray\u0131 t\u0131klay\u0131n.$END_LINK",E2.INVALID_DRM_MESSAGE="DRM sistemine \u00f6zel mesaj ge\u00e7ersiz.",E2.PURCHASE_NOT_FOUND="Bu video \u00f6deme gerektiriyor.",
E2.PURCHASE_REFUNDED="Bu videonun sat\u0131n alma i\u015fleminin \u00fccreti iade edildi.",E2.RENTAL_EXPIRED="Bu videonun kiralanma s\u00fcresi sona erdi.",E2.CAST_SESSION_DEVICE_MISMATCHED="Yay\u0131n oturumundaki cihaz, istenen cihazla e\u015fle\u015fmiyor.",E2.CAST_SESSION_VIDEO_MISMATCHED="Yay\u0131n oturumundaki video, istenen videoyla e\u015fle\u015fmiyor.",E2.CAST_TOKEN_FAILED="Yay\u0131n oturumu yok. L\u00fctfen yenileyin veya daha sonra tekrar deneyin.",E2.CAST_TOKEN_EXPIRED="Yay\u0131n oturumunun s\u00fcresi doldu. L\u00fctfen yenileyin.",
E2.CAST_TOKEN_MALFORMED="Ge\u00e7ersiz yay\u0131n oturumu. L\u00fctfen yenileyin veya daha sonra tekrar deneyin.",E2.SERVER_ERROR="Dahili bir sunucu hatas\u0131 olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.",E2.STOPPED_BY_ANOTHER_PLAYBACK="Hesab\u0131n\u0131z bu videoyu ba\u015fka bir konumda oynat\u0131yor. \u0130zlemeye devam etmek i\u00e7in l\u00fctfen bu sayfay\u0131 yeniden y\u00fckleyin.",E2.STREAM_LICENSE_NOT_FOUND="Video oynat\u0131m\u0131 kesildi. L\u00fctfen tekrar deneyin.",E2.STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED=
"24 saatlik s\u00fcre i\u00e7inde \u00e7ok fazla cihaz/IP adresi kullan\u0131ld\u0131.",E2.STREAMING_NOT_ALLOWED="Bu video ba\u015fka bir cihazda sabitlendi\u011fi i\u00e7in oynatmaya izin verilmiyor.",E2.RETRYABLE_ERROR="Ge\u00e7ici bir sunucu hatas\u0131 olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.",E2.TOO_MANY_REQUESTS="Bu videoyu izlemek i\u00e7in l\u00fctfen giri\u015f yap\u0131n.",E2.TOO_MANY_REQUESTS_WITH_LINK="Bu videoyu YouTube'da izlemek i\u00e7in l\u00fctfen $BEGIN_LINKburay\u0131 t\u0131klay\u0131n$END_LINK.",
E2.TOO_MANY_STREAMS_PER_USER="Ayn\u0131 hesaba ait \u00e7ok fazla video oynat\u0131ld\u0131\u011f\u0131 i\u00e7in oynatma durduruldu.",E2.TOO_MANY_STREAMS_PER_ENTITLEMENT="Bu video \u00e7ok fazla cihazda oynat\u0131ld\u0131\u011f\u0131 i\u00e7in oynatma durduruldu.",E2.UNSUPPORTED_DEVICE="Oynatma bu cihazda desteklenmiyor.",E2.VIDEO_FORBIDDEN="Bu videoya eri\u015fim yasakland\u0131.",E2.VIDEO_NOT_FOUND="Bu video bulunam\u0131yor.",E2);
Mha={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"};g.gK=oc(function(){var a="";try{var b=g.Vd("CANVAS").getContext("webgl");b&&(b.getExtension("WEBGL_debug_renderer_info"),a=b.getParameter(37446),a=a.replace(/[ :]/g,"_"))}catch(c){}return a});g.pD.prototype.isCued=function(){return g.W(this,64)&&!g.W(this,8)&&!g.W(this,4)};
g.pD.prototype.isError=function(){return g.W(this,128)};
g.pD.prototype.toString=function(){return"PSt."+this.o.toString(16)};var Pha=new Set(["embed_config","endscreen_ad_tracking","home_group_info","ic_track"]);g.r(GD,g.B);GD.prototype.ca=function(a,b){if(!this.la()){this.C=NaN;this.u.update();var c=bD(this.u),d=JD(this,c);b&&(d.A=a);var e=this.o.fa("html5_expanded_max_vss_pings")?1E3:400;e=this.J>e;!(1<c.length)&&c[0].isEmpty()||e||(d.u=HD(this,!0,a));d.send();this.J++}};
GD.prototype.F=function(a){var b=this.o.fb,c=this.o.videoData,d={ns:b.Z,el:PB(c),eurl:b.Ea,fmt:c.Ba?Tu(c.Ba):0,html5:1,list:c.playlistId,cpn:c.clientPlaybackNonce,ei:c.eventId,ps:b.playerStyle,noflv:1,st:this.o.o(),video_id:c.videoId,metric:a};RB(c)&&(d.autoplay="1");"heartbeat"==a&&(d.tpmt=aD(this.u));g.Sa(d,b.deviceParams);LD(this,g.eh(g.R(b.experiments,"cardio_base_url_killswitch")?(b.o?b.protocol+"://www.youtube.com/":b.C)+"live_204":b.C+"live_204",d))};
GD.prototype.Y=function(){g.B.prototype.Y.call(this);g.Jo(this.C);this.C=NaN;var a=this.u;window.clearInterval(a.G);a.G=NaN;g.Jo(this.A)};
GD.prototype.Va=function(){return gD(ID(this,"playback"))};var nqa={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(nqa).reduce(function(a,b){a[nqa[b]]=b;return a},{});
var oqa={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(oqa).reduce(function(a,b){a[oqa[b]]=b;return a},{});
var pqa={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(pqa).reduce(function(a,b){a[pqa[b]]=b;return a},{});g.r(PD,NC);g.h=PD.prototype;g.h.getPresentingPlayerType=function(){var a=this.app.getPresentingPlayerType();2==a&&this.app.Ob()&&(a=1);return a};
g.h.addCueRange=function(a,b,c,d,e){return NT(this.app,a,b,c,d,e)};
g.h.addInfoCardXml=function(a,b,c){this.app.N().F.add(a,{Um:b,jm:c})};
g.h.cueVideoByPlayerVars=function(a,b){this.app.cueVideoByPlayerVars(a,b||this.playerType)};
g.h.getPlayerState=function(a){return AT(this.app,a)};
g.h.loadVideoByPlayerVars=function(a,b,c,d){this.app.loadVideoByPlayerVars(a,c||this.playerType,b,d)};
g.h.preloadVideoByPlayerVars=function(a,b,c,d,e){c=void 0===c?NaN:c;this.app.preloadVideoByPlayerVars(a,b||this.playerType,c,void 0===d?"":d,void 0===e?"":e)};
g.h.nextVideo=function(a,b){this.app.nextVideo(a,b)};
g.h.previousVideo=function(a){this.app.previousVideo(a)};
g.h.seekBy=function(a,b,c){UT(this.app,this.app.getCurrentTime()+a,b,c,this.playerType)};
g.h.seekTo=function(a,b,c,d){UT(this.app,a,b,c,d||this.playerType)};
g.h.updatePlaylist=function(a){if(a){var b=this.getPlaylistId(),c=!1;if(b&&b!=a.list)if(this.fa("player_enable_playback_playlist_change"))c=!0;else return;void 0!==a.external_list&&(this.app.Z=T(!1,a.external_list));var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.Xa])&&c.encrypted_id!=b.wa().videoId||(a.index=b.Xa)):pT(this.app,{list:a.list,index:a.index,playlist_length:d.length});cE(this.app.getPlaylist(),a);this.ka("onPlaylistUpdate")}else this.app.updatePlaylist()};
g.h.updateLastActiveTime=function(){Sq()};
g.h.updateVideoData=function(a,b){var c=g.U(this.app,this.playerType||1);c&&c.getVideoData().me(a,b)};
g.h.getPlayerResponse=function(){var a=g.U(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null};
g.h.getStoryboardFormat=function(){return this.app.getStoryboardFormat()};
g.h.getStoryboardFrame=function(a,b){var c=this.app.ue();if(!c)return null;c=c.levels[b];return c?(c=g.Pz(c,a))?{column:c.column,columns:c.columns,height:c.Io,row:c.row,rows:c.rows,url:c.url,width:c.Jo}:null:null};
g.h.getStoryboardFrameIndex=function(a,b){var c=this.app.ue();if(!c)return-1;c=c.levels[b];if(!c)return-1;a-=this.Bb();return c.Fo(a)};
g.h.getStoryboardLevel=function(a){var b=this.app.ue();return b?(b=b.levels[a])?{index:a,intervalMs:b.o,maxFrameIndex:b.yl(),minFrameIndex:b.gt()}:null:null};
g.h.getNumberOfStoryboardLevels=function(){var a=this.app.ue();return a?a.levels.length:0};
g.h.Bb=function(){var a=g.U(this.app,void 0);return a?a.Bb():0};
g.h.getHousebrandProperties=function(){var a=this.app.N();return{Zb:a.Zb,Eb:a.Eb}};
g.h.getVideoData=function(a){a=void 0===a?this.playerType:a;var b=NC.prototype.getVideoData.call(this,a)||{};if(a=g.U(this.app,a))a=a.getVideoData(),b.backgroundable=a.backgroundable,b.eventId=a.eventId,b.cpn=a.clientPlaybackNonce,b.isLive=a.ua,b.isWindowedLive=a.Xr,b.allowLiveDvr=a.allowLiveDvr,b.isListed=a.isListed,b.itct=a.nf,b.ypcOriginalItct=a.xP,b.ypcPreview=a.ypcPreview,b.paidContentOverlayText=DB(a),b.paidContentOverlayDurationMs=EB(a),null!=a.liveUtcStartSeconds&&(b.liveUtcStartSeconds=a.liveUtcStartSeconds),
a.ma&&Oy(a.ma)&&(b.usingLocalMedia="true");return b};
g.h.getCurrentTime=function(a,b){return a?this.app.getCurrentTime(a,b):NC.prototype.getCurrentTime.call(this)};
g.h.getDuration=function(a,b){return a?this.app.getDuration(a,b):NC.prototype.getDuration.call(this)};
g.h.getProgressState=function(a){if(3==this.getPresentingPlayerType())return g.tL(this.app.A).getProgressState();var b=this.app.getVideoData(),c=(g.U(this.app,a)||g.U(this.app)).getPlayerType(),d=this.getCurrentTime(a);a=this.getDuration(a);var e=yT(this.app,c),f=this.app.isAtLiveHead(c);var k=this.app;var l=g.U(k,void 0);if(l){l=jT(k,l);var m=NaN;l.o&&(m=hC(l.o));m=0<=m?m:l.getCurrentTime();k=zT(k,m,l)}else k=0;l=this.app.Ab(c);m=this.app;(c=g.U(m,c))?(c=iT(m,c),c=zT(m,aL(c),c)):c=0;return{allowSeeking:this.app.Pc(),
clipEnd:b.clipEnd,clipStart:b.clipStart,current:d,displayedStart:-1,duration:a,ingestionTime:e,isAtLiveHead:f,loaded:k,seekableStart:l,seekableEnd:c}};
g.h.deleteLocalMediaById=function(a){return Sga(a)};
g.h.deleteAllLocalMedia=function(){return Tga()};
g.h.fetchLocalMedia=function(){this.app.fetchLocalMedia()};
g.h.fetchLocalMediaById=function(a){this.app.fetchLocalMediaById(a)};
g.h.getVideoLoadedFraction=function(a){return this.app.getVideoLoadedFraction(a)};
g.h.canPlayType=function(a){return this.app.canPlayType(a)};
g.h.getPreferredQuality=function(){var a=g.U(this.app);return a?a.getPreferredQuality():"unknown"};
g.h.setPlaybackQualityRange=function(a,b){var c=g.U(this.app,this.playerType);if(c){var d=Hw(a,b||a,!0,"m");c.T.Ep=d;if(c.H){var e=c.H;if(e.va.o){var f=g.pv[Pw()];e=e.va.videoInfos[0].wa().dc;f>e&&0!=e&&d.o==e||g.ns("yt-player-quality",Lw(d),2592E3)}}CK(c)}};
g.h.getCurrentBroadcastId=function(){var a=CL(this.app.A);return a?a.hx():null};
g.h.sendVideoStatsEngageEvent=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)};
g.h.setCardsVisible=function(a,b,c){var d=g.yL(this.app.A);d&&d.nl()&&d.setCardsVisible(a,b,c)};
g.h.handleGlobalKeyDown=function(a,b,c,d,e,f,k){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.WC(this);l&&l.handleGlobalKeyDown(a,b,c,d,e,f,k)};
g.h.handleGlobalKeyUp=function(a,b,c,d,e,f,k){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.WC(this);l&&l.handleGlobalKeyUp(a,b,c,d,e,f,k)};
g.h.wE=function(){return this.getAudioTrack()};
g.h.getAudioTrack=function(){var a=g.U(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().pk};
g.h.setAudioTrack=function(a){3==this.getPresentingPlayerType()&&g.tL(this.app.A).tl("control_set_audio_track",a);var b=g.U(this.app,this.playerType);if(b&&!b.la()&&!g.W(b.u,128))if(b.T.va.o)b.w.setAudioTrack(a);else{a:{var c=b.T;if(c.sc&&!Av(c.sc)||a==c.Sl||!c.rg||0>=c.rg.length)c=!1;else{for(var d=g.q(c.rg),e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof Az)){c=!1;break a}var f=a.sb.getId();e.u&&(e.u.u=f,e.o=null)}c.Sl=a;c=!0}}c&&(b.R("internalaudioformatchange",b.T,!0),jK(b)&&b.Ra("hlsaudio",
a.id))}};
g.h.xE=function(){return this.getAvailableAudioTracks()};
g.h.getAvailableAudioTracks=function(){return g.U(this.app,this.playerType).getAvailableAudioTracks()};
g.h.getMaxPlaybackQuality=function(){var a=g.U(this.app,this.playerType);return a&&a.getVideoData().Ba?Lw(a.H?hI(a.S,a.H,uC(a)):Jw):"unknown"};
g.h.getUserPlaybackQualityPreference=function(){var a=g.U(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"};
g.h.setSizeStyle=function(a,b){this.app.setSizeStyle(a,b)};
g.h.showControls=function(){var a=g.WC(this);a&&a.showControls(!0)};
g.h.hideControls=function(){var a=g.WC(this);a&&a.showControls(!1)};
g.h.getVisibilityState=function(){var a=this.app.N();a=this.app.H.o&&!g.R(a.experiments,"kevlar_miniplayer_disable_vis");return this.app.getVisibilityState(this.ci(),this.isFullscreen()||zx(this.app.N()),a,this.isInline(),this.app.H.A)};
g.h.isFullscreen=function(){return this.app.isFullscreen()};
g.h.isInline=function(){return this.app.isInline()};
g.h.ci=function(){var a=g.U(this.app,this.playerType);return!!a&&a.J.u};
g.h.getVideoContentRect=function(a){a=this.app.G.getVideoContentRect(a);return{left:a.left,top:a.top,width:a.width,height:a.height}};
g.h.setSafetyMode=function(a){this.app.N().enableSafetyMode=a};
g.h.setUserEngagement=function(a){this.app.N().jd!=a&&(this.app.N().jd=a,(a=g.U(this.app,this.playerType))&&CK(a))};
g.h.setFauxFullscreen=function(a){qr();hT(this.app,a?2:0)};
g.h.toggleFullscreen=function(){var a=this.app.N();a.externalFullscreen?this.isFullscreen()?sr(window.document.documentElement):pr(window.document.documentElement):qr()?this.isFullscreen()?sr(rr()):"3"==a.controlsType?(a=this.app.B.ib())&&pr(a):pr(this.app.G.element):this.ka("onFullscreenToggled",this.isFullscreen())};
g.h.cancelPlayback=function(){var a=WP(this.app.A);a&&a.created&&a.destroy();(a=g.U(this.app))&&a.stopVideo();(a=this.app.A.u.get("endscreen"))&&a.TF()&&g.oL(this.app.u,!0)};
g.h.stopVideo=function(){var a=this.app.N();!g.R(a.experiments,"disable_new_pause_state3")&&Qx(a)&&"blazer"!=a.playerStyle?this.cancelPlayback():NC.prototype.stopVideo.call(this)};
g.h.getVideoStats=function(){return g.U(this.app,this.playerType).Va(!0)};
g.h.toggleSubtitles=function(){var a=g.PP(this.app.A);a&&a.UO()};
g.h.updateSubtitlesUserSettings=function(a){g.PP(this.app.A).HC(a,!0)};
g.h.getSubtitlesUserSettings=function(){var a=g.PP(this.app.A);return a?a.XE():null};
g.h.resetSubtitlesUserSettings=function(){g.PP(this.app.A).tO()};
g.h.isAtLiveHead=function(a){return this.app.isAtLiveHead(void 0,void 0===a?!0:a)};
g.h.setMinimized=function(a){this.app.setMinimized(a)};
g.h.setInline=function(a){this.app.setInline(a)};
g.h.getDebugText=function(a){return this.app.getDebugText(a)};
g.h.setSphericalProperties=function(a){if(a){var b=g.xL(this.app.A);b&&b.setSphericalProperties(a,!0)}};
g.h.getSphericalProperties=function(){var a=g.xL(this.app.A);return a?a.getSphericalProperties():{}};
g.h.setBlackout=function(a){this.app.setBlackout(a)};
g.h.onAdUxClicked=function(a){this.R("aduxclicked",a)};
g.h.setVolume=function(a,b){RC(this,a,b)};
g.h.mute=function(a){SC(this,a)};
g.h.unMute=function(a){TC(this,a)};
g.h.isMutedByMutedAutoplay=function(){return this.app.Oa};
g.h.mutedAutoplay=function(){this.fa("embeds_enable_muted_autoplay")&&this.app.mutedAutoplay()};
g.h.loadModule=function(a){if("annotations_module"==a){var b=g.yL(this.app.A);b&&!b.loaded&&b.load()}NC.prototype.loadModule.call(this,a)};
g.h.unloadModule=function(a){if("annotations_module"==a){var b=g.yL(this.app.A);b&&b.loaded&&b.unload()}NC.prototype.unloadModule.call(this,a)};
g.h.setOption=function(a,b,c){if(!b)return null;var d=this.app.A;switch(a){case "ad":return(a=WP(d))&&a.Mc&&a.Mc(b,c);case "kids":return(a=XP(d))&&a.Mc(b,c);case "remote":return(a=g.tL(d))&&a.Mc(b,c);case "unplugged":return(a=YP(d))&&a.Mc(b,c);case "annotations_module":return(a=g.yL(d))&&a.Mc(b,c);case "creatorendscreen":return(a=ZP(d))&&a.Mc(b,c)}return NC.prototype.setOption.call(this,a,b,c)};
g.h.getOptions=function(a){var b=this.app.A;switch(a){case "ad":return(b=WP(b))&&b.getOptions&&b.getOptions();case "remote":return(b=g.tL(b))&&b.getOptions();case "annotations_module":return(b=g.yL(b))&&b.getOptions();case "creatorendscreen":return(b=ZP(b))&&b.getOptions();case "unplugged":return(b=YP(b))&&b.getOptions();case "kids":return(b=XP(b))&&b.getOptions()}if(!a){a=NC.prototype.getOptions.call(this);if(!a)return a;WP(b)&&a.push("ad");g.tL(b)&&a.push("remote");g.yL(b)&&a.push("annotations_module");
ZP(b)&&a.push("creatorendscreen");YP(b)&&a.push("unplugged");XP(b)&&a.push("kids");return a}return NC.prototype.getOptions.call(this,a)};
g.h.getPlayerSize=function(){var a=this.app.G.getPlayerSize();return{width:a.width,height:a.height}};
g.h.setGlobalCrop=function(a){this.app.G.setGlobalCrop(a)};
g.h.wakeUpControls=function(){var a=g.WC(this);a&&a.Rs()};
g.h.getVideoAspectRatio=function(){return this.app.G.getVideoAspectRatio()};
g.h.setUseFastSizingOnWatch=function(a){this.app.G.setUseFastSizingOnWatch(a)};
g.h.setInternalSize=function(a,b){this.app.G.setInternalSize(new g.yd(a,b))};QD.prototype.reset=function(){PA("")};
QD.prototype.tick=function(a,b){XA(a,b,"")};
QD.prototype.info=function(a,b){$A(a,b,"")};g.r(g.SD,g.B);g.SD.prototype.getId=function(){return this.C};
g.SD.prototype.toString=function(){return"CueRange{"+this.namespace+":"+this.C+"}["+TD(this.start)+", "+TD(this.end)+"]"};
g.SD.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 Sha=1;g.SD.prototype.getId=g.SD.prototype.getId;g.WD.prototype.toString=function(){return this.type+this.id};g.r(g.YD,g.Q);g.h=g.YD.prototype;g.h.hasNext=function(a){return this.loop||!!a||this.Xa+1<this.Wg};
g.h.lf=function(a){return this.loop||!!a||0<=this.Xa-1};
g.h.wa=function(a,b,c){a=void 0!=a?a:this.Xa;a=this.Ga&&a in this.Ga?this.Ga[this.Od[a]]:null;var d=null;a&&(b&&(a.autoplay="1"),c&&(a.autonav="1"),d=new g.cB(this.La,a),g.H(this,d),d.startSeconds=this.startSeconds||d.clipStart||0,this.listId&&(d.playlistId=this.listId.toString()));return d};
g.h.setShuffle=function(a){this.dC=a;a=this.Od&&null!=this.Od[this.Xa]?this.Od[this.Xa]:this.Xa;this.Od=[];for(var b=0;b<this.Ga.length;b++)this.Od.push(b);this.Xa=a;this.Rn++;if(this.dC){a=this.Od[this.Xa];for(b=1;b<this.Od.length;b++){var c=Math.floor(Math.random()*(b+1)),d=this.Od[b];this.Od[b]=this.Od[c];this.Od[c]=d}for(b=0;b<this.Od.length;b++)this.Od[b]==a&&(this.Xa=b);this.Rn++}this.R("shuffle")};
g.h.Bc=function(a){a=a||"hqdefault.jpg";var b=this.We[a];if(b||this.La.G||"sddefault.jpg"==a||"hq720.jpg"==a||"maxresdefault.jpg"==a)return b;if(this.mC.length)return Px(this.La,this.mC[0],a)};
g.h.getLength=function(){return this.Wg};
g.h.onReady=function(a){this.Nl=a;this.ud&&g.Ho(this.Nl,0)};
g.h.getPlaylistId=function(){return this.listId?this.listId.toString():null};
g.h.Rh=function(){return this.La.getVideoUrl(this.wa().videoId,this.getPlaylistId())};
g.h.Y=function(){this.Nl=null;g.ne(this.Ga);g.Q.prototype.Y.call(this)};dE.prototype.la=function(){return this.B};
dE.prototype.dispose=function(){this.B=!0;g.fE(this);this.u=null};g.h=uE.prototype;g.h.Xc=function(){return""};
g.h.abort=function(){};
g.h.aj=function(){return!0};
g.h.Ak=function(){return this.A.length};
g.h.po=function(){return this.ud};
g.h.Br=function(){return!!this.o.getLength()};
g.h.eg=function(){return!!this.o.getLength()};
g.h.ro=function(){var a=this.o;this.o=new As;return a};
g.h.Is=function(){return this.o};
g.h.uu=function(){return!0};
g.h.Xt=function(){return!!this.w};
g.h.qo=function(){return this.w};var dia=0;g.h=vE.prototype;g.h.fO=function(a){this.status=a.status;a.ok?(this.w=a.body.getReader(),this.B?this.w.cancel("Cancelling"):(this.G=a.headers,this.ea(),wE(this))):yE(this)};
g.h.CK=function(a){if(!this.B){var b;window.performance&&window.performance.now&&(b=window.performance.now());var c=Date.now(),d=a.value?a.value:null;this.C&&(this.o.append(this.C),this.C=null);a.done?(this.w=null,yE(this)):(this.u+=d.length,xE(this)?this.o.append(d):this.C=d,this.ga(c,this.u,b),wE(this))}};
g.h.dz=function(a){this.P=""+a;this.H=!0;yE(this)};
g.h.Xc=function(a){return this.G?this.G.get(a):null};
g.h.aj=function(){return!!this.G};
g.h.po=function(){return this.u};
g.h.Ak=function(){return+this.Xc("content-length")};
g.h.Br=function(){return 200<=this.status&&300>this.status&&!!this.u};
g.h.eg=function(){if(this.U)return!!this.o.getLength();var a=this.F.u;if(a&&this.S+a>Date.now())return!1;a=this.Ak()||0;a=Math.max(16384,.125*a);this.V||(a=Math.max(a,16384));zE(this)&&(a=1);return this.o.getLength()>=a};
g.h.ro=function(){this.eg();this.S=Date.now();this.V=!0;var a=this.o;this.o=new As;return a};
g.h.Is=function(){this.eg();return this.o};
g.h.abort=function(){this.w&&this.w.cancel("Cancelling");this.A&&this.A.abort();this.B=!0};
g.h.uu=function(){return!0};
g.h.Xt=function(){return this.H};
g.h.qo=function(){return this.P};g.h=AE.prototype;g.h.kH=function(){if(!this.u){this.status=this.o.status;try{this.response=this.o.response,this.w=this.response.byteLength}catch(a){}this.A=!0;this.B()}};
g.h.mH=function(){2==this.o.readyState&&this.C()};
g.h.lH=function(a){this.u||(this.status=this.o.status,this.F(a.timeStamp,a.loaded))};
g.h.aj=function(){return 2<=this.o.readyState};
g.h.Xc=function(a){try{return this.o.getResponseHeader(a)}catch(b){return g.N(b),""}};
g.h.Ak=function(){return+this.Xc("content-length")};
g.h.po=function(){return this.w};
g.h.Br=function(){return 200<=this.status&&300>this.status&&!!this.response&&!!this.response.byteLength};
g.h.eg=function(){return this.A&&!!this.response&&!!this.response.byteLength};
g.h.ro=function(){this.eg();var a=this.response;this.response=null;return new As([new Uint8Array(a)])};
g.h.Is=function(){this.eg();return new As([new Uint8Array(this.response)])};
g.h.abort=function(){this.u=!0;this.o.abort()};
g.h.uu=function(){return!1};
g.h.Xt=function(){return!1};
g.h.qo=function(){return""};g.h=BE.prototype;g.h.start=function(a){HE(this,2);this.O=++BE.o;this.w?(this.P=Wfa(this.info,this.w.w,this.w.length),this.u=g.ny(this.info,this.A,this.Z,this.P)):(this.P=this.info.range,this.u=g.ny(this.info,this.A,this.Z));var b=!1;if(this.A.Qa&&2>this.info.u.o&&this.H){var c=this.u.get("aitags");if(c&&(my(this.info)||this.info.ff())&&this.ca&&(this.A.pe||"auto"==Pw())&&Uw()){var d=cd(c).split(","),e=[];(0,g.y)(this.ca,function(f){g.bb(d,f)&&e.push(f)});
0<e.length&&(this.u.set("altitags",bd(e.join(","))),b=!0)}}b||(this.H=!1);this.u.set("rn",this.O.toString());0<=a&&this.u.set("rbuf",(1E3*a).toFixed().toString());this.da&&this.u.set("smb","1");a=g.jv(this.u);try{this.o=iia(this,a)}catch(f){this.B="net.ssl";IE(this);return}0<this.A.P&&this.U.start()};
g.h.NN=function(){this.F=0;this.info.u.B=(0,g.O)();var a=DE(this);a.A=(0,g.O)();a.started+=1;a=this.timing;a.o=(0,g.I)();a.C=a.o;a.w=0;a.ra=a.o;a.V=0;a.G&&(a.G=[]);a.na=!1;a.sa=!1;a.B=0;a.da=jx(a.u);a.H=Infinity;a.O=Infinity;rE(a);tE(a,a.o);a.ca=(a.U-a.o)/1E3;a.J=NaN;a.Z=null};
g.h.pH=function(a,b,c){if(!this.la()&&this.o){this.C=this.o.status;FE(this,!1);var d=this.timing;a=a>d.o&&4E12>a?a:(0,g.I)();pE(d,a,b);50>a-d.C&&qE(d)&&3!=jE(d)||nE(d,a,b,c);b=this.timing;b.w>b.Oa&&kE(b,b.w)&&4>this.state?HE(this,4):ME(this)&&NE(this)&&HE(this,Math.max(3,this.state))}};
g.h.MN=function(){if(!this.la()&&this.o){if(!this.S&&this.o.aj()&&this.o.Xc("X-Walltime-Ms")){var a=parseInt(this.o.Xc("X-Walltime-Ms"),10);this.S=((0,g.I)()-a)/1E3}this.o.aj()&&this.o.Xc("X-Restrict-Formats-Hint")&&this.A.zv&&!Uw()&&g.ns("yt-player-headers-readable",!0,2592E3);if(a=parseInt(this.o.Xc("X-Head-Seqnum"),10))this.V=a}};
g.h.oH=function(){var a=this.o;!this.la()&&a&&(this.U.stop(),this.C=a.status,a=hia(this,a),7==a?IE(this):HE(this,a))};
g.h.pO=function(){if(!this.la()){var a=(0,g.I)(),b=!1;qE(this.timing)?(a=this.timing.U,tE(this.timing),this.timing.U-a>=.8*this.A.P?(this.F++,b=5<=this.F):this.F=0):(b=this.timing,b.F&&sE(b,(0,g.I)()),a-=b.S,this.A.Gf&&0<a&&(this.F+=1),b=a>1E3*this.A.gd);this.F&&this.G&&this.G(this);b?LE(this,!1):this.U.start()}};
g.h.la=function(){return-1==this.state};
g.h.dispose=function(){this.info.ff()&&6!=this.state&&(this.info.o[0].o.A=!1);HE(this,-1);this.G=null;this.U.dispose();this.A.Ic||KE(this)};
BE.DEBUG=!1;BE.o=0;XE.prototype.skip=function(a){this.o+=a};g.r($E,g.Q);g.h=$E.prototype;g.h.Ot=function(){return this.u.length?this.u[0]:null};
g.h.rl=function(){return this.u.length?this.u[this.u.length-1]:null};
g.h.Rx=function(){return!!this.u.length};
g.h.Wt=function(a,b){this.V&&!Pu(this.V,b.info)&&(this.J=NaN);this.V=b.info;this.w=b.info.o;0==b.info.w?gF(this):!this.w.Ac()&&this.A&&Vu(b.info,this.A);this.o?av(this.o,b):this.o=b;a:{var c=g.bv(this.o.info.o.info);if(3!=this.o.info.type){if(!this.o.info.A)break a;6==this.o.info.type?fF(this,a,this.o):this.so(this.o);this.o=null}for(;this.o;){var d=this.o.o.getLength();if(0>=this.F&&0==this.C){var e=this.o.o,f=-1,k=-1;if(c){for(var l=0;l+8<e.getLength();){var m=Ls(e,l),n=Ls(e,l+4);l+=m||1;if(1836019558==
n)f=l;else if(1835295092==n){k=l;break}}0>k&&(f=-1)}else{for(e=new XE(e);;){l=e.o;m=e;try{var p=ZE(m,!0),t=ZE(m,!1);var u=p;var z=t}catch(C){z=u=-1}m=u;n=z;if(0>m)break;if(408125543!=m)if(524531317==m)k=0>n?-1:e.o+n;else{if(160==m||163==m||175==m){f=l;break}e.skip(n)}}0>f&&(k=-1)}if(0>f)break;this.F=f;this.C=k-f}if(this.F>d)break;this.F?(d=aF(this,this.F),d.w&&!this.w.Ac()&&bF(this,d),fF(this,a,d),hF(this,d),this.F=0):this.C&&(d=aF(this,0>this.C?Infinity:this.C),this.C-=d.o.getLength(),hF(this,d))}}this.o&&
this.o.info.A&&(hF(this,this.o),this.o=null)};
g.h.so=function(a){this.w.Ac()||0!=a.info.w||!g.bv(a.info.o.info)&&2!=a.info.o.info.wc||fv(a);if(1==a.info.type)try{bF(this,a),eF(this,a)}catch(c){g.N(c);var b=Ru(a.info);b.hms="1";this.R("error",b||{})}a.info.o.Lk(a);this.B&&SE(this.B,a)};
g.h.Ax=function(){return this.u.length};
g.h.fz=function(){this.u=[];gF(this)};
g.h.vo=function(){this.u.shift()};
g.h.gz=function(){var a=this.u.reduce(function(b,c){return b+c.o.getLength()},0);
this.o&&(a+=this.o.o.getLength());return a};
g.h.An=function(){return(0,g.A)(this.u,function(a){return a.info})};
g.h.ez=function(a){for(var b=this.u.length-1;0<=b;b--)this.u[b].info.startTime>a&&this.u.pop()};
g.h.uo=function(){this.G&&!this.H.Ia&&this.R("placeholderrollback",this.G);this.A=this.G=null;this.V=this.Z;0<=this.P||(this.P=this.J-this.O);gF(this)};
g.h.iz=function(a){this.U=a};
g.h.Js=function(){return this.J||0};
g.h.hz=function(){return this.B?PE(this.B):Infinity};
g.h.Ks=function(a){this.P=a};
g.h.getDuration=function(){return this.w.index.Oh()};
g.h.Cr=function(){return!!this.w.F};
g.h.ly=function(){return!!this.B&&QE(this.B)};iF.prototype.mu=function(a){this.H=a;lF(this)};
iF.prototype.Wm=function(){this.C=NaN;this.S=0;this.G=null;this.U=0};
iF.prototype.reset=function(){this.Z=kF(this);this.Wm();this.B=[];this.F=[];this.u=this.H=NaN;this.A=this.J=0;this.O=!1};g.r(pF,iF);pF.prototype.reset=function(){iF.prototype.reset.call(this);this.w=8;this.o=new oF(0,0,null)};
pF.prototype.process=function(a){var b=!1;if(this.B.length){if(rF(this)&&this.B.length+a.byteLength<this.w)return nF(this,a,0),0;a=mF(this,a);b=!0}for(var c=0,d=0;c<a.byteLength;){var e=a.byteLength-c,f=NaN;if(rF(this)){if(e<this.w)return nF(this,a,c),0;switch(this.o.type){case 0:f=qF(this,a,c);b||0!=c||(d=this.o.type);break;case 1836019574:case 1836019558:f=qF(this,a,c);break;case 1953653094:e=a;f=c;if(!this.J){var k=this.policy.Fm?this.A:1;this.J=Qt(sF(this,e,f),k)}f=qF(this,e,f);break;case 1836476516:this.A=
Rt(sF(this,a,c));lF(this);f=this.o.size-8;break;case 1952867444:e=void 0;isNaN(this.u)||(f=sF(this,a,c),this.policy.G?e=this.V(Xt(f),this.A):e=this.u,Wt(f,e),isNaN(this.C)&&(this.C=e),this.u+=this.J,this.S+=this.J);f=this.o.size-8;break;case 1936286840:e=sF(this,a,c),f=Yt(e).fm[0],this.A=Zt(e),lF(this),this.J=f,f=this.o.size-8}}else f=Math.min(this.w,e);this.o.offset+=f;this.w-=f;c+=f;if(0==this.w){for(;0!=this.o.type&&this.o.offset==this.o.size&&this.o.parent;)1835295092==this.o.type&&(this.O=!0),
this.o.parent.offset+=this.o.size,this.o=this.o.parent;switch(this.o.type){case 0:case 1836019574:case 1836019558:case 1953653094:this.w=8;break;default:this.w=this.o.size-8}}}0<a.byteLength&&this.F.push(a);return d};
pF.prototype.gy=function(){return 0==this.o.type&&!this.B.length};g.r(uF,iF);g.h=uF.prototype;g.h.mu=function(a){iF.prototype.mu.call(this,a);this.policy.G&&(this.u=this.V(this.u,this.A))};
g.h.reset=function(){iF.prototype.reset.call(this);this.w=32;this.o=new tF(0,0,null)};
g.h.Wm=function(){iF.prototype.Wm.call(this);this.o.parent=new tF(0,0,null);this.P=NaN};
g.h.process=function(a){if(this.B.length){if(this.B.length+a.byteLength<this.w)return nF(this,a,0),0;a=mF(this,a)}for(var b=0;b<a.byteLength;){if(a.byteLength-b<this.w)return nF(this,a,b),0;var c=new DataView(a.buffer,b);c=new gu(c,b);var d=0;switch(this.o.type){case 408125543:case 524531317:case 357149030:case 160:0==this.o.offset&&(mu(c,!1),mu(c,!0)),d=lu(c)-b,this.o.offset+=d;case 0:var e=lu(c),f=mu(c,!1),k=mu(c,!0);this.o=new tF(f,lu(c)-e+k,this.o);break;case 231:mu(c,!1);d=uu(c);isNaN(this.C)&&
(this.policy.G&&(d=this.V(d,this.A)),this.C=d);d=lu(c)-b;this.o.offset+=d;break;case 2807729:mu(c,!1);this.A=1E9/uu(c);d=lu(c)-b;lF(this);this.o.offset+=d;break;case 163:case 161:e=lu(c);mu(c,!1);d=mu(c,!0);e=lu(c)-e;yu(c);this.u=(yu(c)<<8|yu(c))+this.C;isNaN(this.P)||161!=this.o.type||(this.u+=this.P);d+=e;this.o.offset+=d;this.O=!0;break;case 155:d=lu(c);mu(c,!1);this.P=uu(c);this.u+=this.P;d=lu(c)-d;this.o.offset+=d;break;default:d=lu(c),mu(c,!1),vu(c),d=lu(c)-d,this.o.offset+=d}b+=d;for(this.S=
this.u-this.C;0!=this.o.type&&this.o.offset==this.o.size&&this.o.parent;)this.o.parent.offset+=this.o.size,this.o=this.o.parent;switch(this.o.type){case 0:case 408125543:case 524531317:this.w=32;break;default:this.w=this.o.size-this.o.offset}}0<a.byteLength&&this.F.push(a);return 0};
g.h.gy=function(){return 524531317==this.o.type&&!this.B.length};g.r(vF,g.Q);g.h=vF.prototype;g.h.Ot=function(){return this.A.length?this.A[0]:null};
g.h.rl=function(){return this.A.length?this.A[this.A.length-1]:null};
g.h.Rx=function(){return!!this.A.length};
g.h.Wt=function(a,b){var c=this,d=mia(this,a,b);(0,g.y)(d,function(e){c.A.push(e);c.H&&SE(c.H,e)})};
g.h.so=function(a){try{if(1==a.info.type){var b=Yu(a);!this.w.If&&zv(a.info.o.info)&&uv(a.info.o.info.wa())&&tu(b);wF(a);a.info.o.info.isVideo()&&qy(a.info.o,b);xF(a);zF(this,a)&&(fv(a),hv(a));if(this.B.info.audio&&g.bv(a.info.o.info)){var c=gv(a);c&&(g.bv(a.info.o.info)&&cu(Yu(a)),this.ca=!0,this.w.Hc&&this.R("gaplessinfo",c))}}a.info.o.Lk(a);this.w.Oa?BF(this,a):CF(this,a)}catch(d){g.N(d),b=Ru(a.info),b.hms="1",yF(this,b)}this.H&&SE(this.H,a)};
g.h.Ax=function(){return this.A.length};
g.h.fz=function(){this.A=[]};
g.h.vo=function(){this.A.shift()};
g.h.gz=function(){var a=this.A.reduce(function(b,c){return b+c.o.getLength()},0);
this.u&&(a+=this.u.o.getLength());return a};
g.h.An=function(){return(0,g.A)(this.A,function(a){return a.info})};
g.h.ez=function(a){for(var b=this.A.length-1;0<=b;b--)this.A[b].info.startTime>a&&this.A.pop()};
g.h.uo=function(a){this.U=!1;this.P&&!this.w.Ia&&this.R("placeholderrollback",this.P);this.P=null;this.o&&(a=isNaN(this.C)?a.info.o[0].range?a.info.o[0].F:isNaN(this.o.C)?kF(this.o):jF(this.o).startTime:this.C,this.o.reset(),this.O=this.Z,this.C=a);this.S=null};
g.h.iz=function(a){this.J=a};
g.h.Js=function(){return this.o?kF(this.o):this.G||0};
g.h.hz=function(){return this.H?PE(this.H):Infinity};
g.h.Ks=function(a){this.C=a};
g.h.getDuration=function(){return this.B.index.Oh()};
g.h.Cr=function(){return!!this.B.F};
g.h.ly=function(){return!!this.H&&QE(this.H)};HF.prototype.getDuration=function(){return this.o.index.Oh()};hG.prototype.setPlaybackRate=function(a){this.w=Math.max(1,a)};
hG.prototype.getPlaybackRate=function(){return this.w};mG.prototype.then=function(a,b){return this.w.then(a,b)};
mG.prototype.resolve=function(a){this.u(a)};
mG.prototype.reject=function(a){this.o(a)};g.r(nG,g.Q);nG.prototype.seek=function(a){a!=this.A&&(this.F=0);this.A=a;var b=this.o.u,c=this.u.u,d=this.u.F,e=pG(this.o,a,this.o.F);d=pG(this.u,this.C.ga?a:e,d);a=Math.max(a,e,d);this.w=!0;this.B.u&&this.C.ea&&(oG(this.o,b),oG(this.u,c));return a};
var oia=2/24;tG.prototype.wa=function(){this.dd("gv")};
tG.prototype.dd=function(a,b){this.B[a]=b?window.performance.timing.navigationStart+b:(0,g.O)()};CG.prototype.send=function(){g.wp(this.u,{format:"RAW",responseType:"arraybuffer",timeout:1E4,wd:this.w,Nd:this.w,context:this});this.o=(0,g.O)()};
CG.prototype.w=function(a){var b={rc:a.status,lb:a.response?a.response.byteLength:0,rt:(((0,g.O)()-this.o)/1E3).toFixed(3),shost:g.Wg(this.u),trigger:this.C};204==a.status||a.response?this.A&&this.A(Qv(b)):this.B(new Pv("pathprobe.net",!1,b))};g.r(DG,g.Q);g.r(NG,g.B);NG.prototype.reset=function(){this.started=!1;this.B.stop();this.o.o=[];this.w=[];this.u()};
NG.prototype.u=function(){this.C=!0;if(!this.F){for(var a=3;this.C&&a;)this.C=!1,this.F=!0,Jia(this),this.F=!1,a--;g.wD(this.G())&&(a=LG(this.o,this.A),!isNaN(a)&&0x7ffffffffffff>a&&(a=(a-this.A)/this.P(),this.B.start(a)))}};
NG.prototype.Y=function(){this.w=[];this.o.o=[];g.B.prototype.Y.call(this)};g.r(VG,g.Q);g.h=VG.prototype;
g.h.initialize=function(a,b,c){a=a||0;this.R("videoformatchange",yia(this.F));if(this.B.u){if(this.o.QC){b=sy(this.o);for(var d in this.B.o)this.B.o[d].index.A=b}Lia(this)}this.G&&EG(this.G,this.u.o);this.o.H&&Ms()&&this.xc("streaming","ac."+!!window.AbortController,!0);d=isNaN(this.C)?0:this.C;this.C=this.B.u?d:a;c?(this.o.qe?(this.ob=c,XG(this,c)):XG(this,!1),g.zn(this.xa)):(a=0==this.C,tH(this,this.u,this.u.o,a),tH(this,this.A,this.A.o,a),this.seek(this.C),this.ga.wa());this.xc("minMaxSq","minSq."+
this.B.Md+".maxSq"+this.B.Zg)};
g.h.resume=function(){if(this.ea||this.da)this.Aa=this.da=this.ea=!1,this.tf()};
g.h.setAudioTrack=function(a){if(!this.la()){var b=this.F;b.w=b.C.o[a.id];b.J=b.w;this.R("audioformatchange",new gE(b.J,b.B,"m"));this.R("reattachrequired")}};
g.h.setPlaybackRate=function(a){a!=this.O.getPlaybackRate()&&this.O.setPlaybackRate(a)};
g.h.GM=function(a){var b=this.o.Gf;if(!(!(b&&2<=a.state)||5<=a.state||a.F<b||hy(a.info.u,this.o,this.na))){b=this.na;var c=dt(gy(a.info.u));b=fy(b,c);b.o||b.u||b.started||kH(this,a,!0)}if(!this.la()&&3<=a.state){b=this.ga;var d=a.info.o[0].o;c=!b.A&&d.info.video;d=!b.o&&d.info.audio;5==a.state?c?b.dd("vrr"):d&&b.dd("arr"):6==a.state?c?(b.A=a.u?g.jv(a.u):"",Np(4)):d&&(b.o=a.u?g.jv(a.u):""):4==a.state&&c&&Np(4);5<=a.state&&(this.o.sa&&(b=iE(a.timing),c=a.timing,this.xc("rqs",Qv({rn:a.O.toString(),rt:b.rt,
pt:b.pt,stall:b.stall,elt:b.elbowTime,elb:b.elbowBytes,d:c.G?c.G.join(""):""}))),a.ea&&this.xc("sbwe3","1",!0));if(5==a.state)a.start(Math.max(0,a.info.o[0].F-this.C));else if(5<=a.state&&5==a.info.o[0].type)6==a.state&&(b=(a.info.o[0].o.info.video?this.u:this.A).A[0]||null)&&b.F&&LE(b,!0),a.dispose();else{if(this.o.Qa&&a.H&&4<=a.state&&5!=a.state)if(b=a.o?a.o.Xc("X-Response-Itag"):null){b=Aia(this.F,b);c=a.info.range.length-b.un();b.A=!0;a.info.o[0].o.A=!1;d=b.Ti(c)[0];a.info=d;if(a.w){c=a.w;d=d.o;
c.u=d;var e=d[0].range,f=Is(c.o[0].o);Is(g.Wa(c.o).o);for(var k=0;k<c.o.length;k++){c.o[k].info=d[k];var l=d[k].range;c.o[k].o=new As([new Uint8Array(f.buffer,l.start-e.start,l.length)])}}a.H=!1;c=this.u;c.o!=b&&(c.o=b);c=this.u;c.u&&(c.u.o=b);this.R("constraint",b.info.wa().quality);(c=a.o?a.o.Xc("X-Segment-Lmt"):null)&&b instanceof Iy&&(isNaN(b.lastModified)||b.lastModified==c||ZF(this.u,a))}else a.H=!1;if(6==a.state)jH(this,a);else if(!this.o.H||!NE(a)||5<=a.state)7==a.state&&(b=a.info.o[0].o,
JE(a)?(c=(b.info.video&&1<b.B.o||410==a.C||500==a.C||503==a.C)&&!AG(this.F),d=CE(a),e=b.info.video?this.u:this.A,c&&(d.stun="1"),aH(this,!1,a.B,d),this.la()||(c&&zG(this.F,b),this.o.Hf&&1==a.info.o.length&&0<a.info.o[0].w&&b!=e.o&&this.da?this.R("reattachrequired"):(ZF(e,a),this.tf()))):(aH(this,!1,a.B,CE(a)),a.info.ff()?(b.C=a.B,this.tf()):aH(this,!0,"net.retryexhausted",{err:a.B,rn:a.O.toString()})));else if(!jH(this,a)&&this.o.Id)return;this.tf();a:if(this.o.Ua&&5<=a.state&&JE(a)&&hy(a.info.u,
this.o,this.na)){b=this.na;c=dt(a.info.u.u);b=fy(b,c);c=b.started+b.w;if(this.o.Ff)c+=b.o*this.o.Ff;else if(b.o)break a;b.A+this.o.Ua*Math.pow(1.6,c)>(0,g.O)()||kH(this,a,!1)}}}};
g.h.tf=function(){bH(this);if(this.w&&ew(this.w)&&!this.w.fe()){var a=IF(this.u);a=this.o.mA&&a&&a.C;this.B.isLive&&!a?isNaN(this.U)?(this.U=this.C+3600,fw(this.w,this.U)):this.U<=this.C+1800&&(this.U=Math.max(this.U+1800,this.C+3600),fw(this.w,this.U)):this.w.isView()||(a=Math.max(this.A.getDuration(),this.u.getDuration()),(!isFinite(this.U)||this.U!=a)&&0<a&&(fw(this.w,a),this.U=a))}if(!this.la())if($y(this.B)&&3==this.B.C)aH(this,!0,"manifest.net.retryexhausted",{rc:this.B.O.toString()});else if(!this.B.w||
!dG(this.u)&&!dG(this.A)||(this.u.B||this.A.B)&&this.o.U?a=!1:(ZG(this),this.R("seekplayerrequired",Infinity),a=!0),!a&&(bH(this),KF(this.u),!this.la()&&(KF(this.A),!this.la()))){this.B.u&&(eG(this.u),eG(this.A),sG(this.P),(a=MF(this.u))&&a.u&&(a=a.u.B&&!this.o.Ih,this.xc(a==this.o.u.ne?"strm":"strmbug","strm."+(a?"1":"0")+";sfmp4."+(this.o.u.ne?"1":"0")+";dfs."+(this.o.Ih?"1":"0"),!0)));if(this.w)oH(this);else if(this.o.V){if(a=MF(this.u)){var b=this.u;b.w.vo();NF(b,a)}if(b=MF(this.A)){var c=this.A;
c.w.vo();NF(c,b)}SF(this.u)&&SF(this.A)?(this.R("localmediafetchcomplete",this.o.A),this.dispose()):(a||b)&&g.zn(this.ca)}WG(this);tH(this,this.u,this.u.o,!1);tH(this,this.A,this.A.o,!1);a=this.A.o.C;b=this.u.o.C;if(a||b){c="net.retryexhausted";if("fmt.unparseable"==a||"fmt.unparseable"==b)c="fmt.unparseable";aH(this,!0,c,{metadata:"1",video:this.u.o.C||"",audio:this.A.o.C||""})}else gH(this,this.u,this.A),gH(this,this.A,this.u),this.o.Vu&&this.sa&&!this.ea&&kx(this.V)&&(a=this.sa,b=(0,g.x)(this.R,
this,"error"),c=this.o.gv?(0,g.x)(this.xc,this,"pathprobe"):null,(new CG(a,"cms",c,b)).send(),this.sa=""),this.o.jn&&this.B.w&&g.zn(this.xa),this.G&&(a=this.G,a.B?(b=a.G+a.o.wh,a.A||(b=Math.min(b,a.C+a.o.Wb)),a=Math.max(0,1E3*b-(0,g.I)())):a=NaN,isNaN(a)||g.zn(this.yb,a)),g.zn(this.Oa)}};
g.h.nH=function(a){this.o.xa&&this.w&&this.xc("sbu",a.Va({a:""+ +(a==this.w.o)}));this.tf()};
g.h.kK=function(a){if(this.w){a=IF(a==this.w.o?this.A:this.u);var b=void 0;a&&(b=Ru(a));aH(this,!0,"fmt.unplayable",b)}};
g.h.zL=function(a){aH(this,!0,"fmt.unparseable",a)};
g.h.QJ=function(a){this.R("needkeyinfo",a)};
g.h.AL=function(a){this.A.o.F=a;this.w&&lH(this.w.o,a)};
g.h.EL=function(a){aH(this,!1,"qoe.avsync",a)};
g.h.BL=function(a,b){this.B.u&&sH(this,b,a==this.u)};
g.h.CL=function(a,b){this.B.u&&dz(this.B,b.Ma,a==this.u)};
g.h.DL=function(a,b){this.B.u&&sH(this,b,a==this.u)};
g.h.FA=function(a,b){var c=this.u.o.index.kb()<=b,d=this.B.u&&this.o.gb;this.H={Rc:a,Ma:b};this.o.gb&&this.ra&&this.J&&(this.ra=!1,"continue"!=a.event&&"stop"!=a.event||rH(this,this.J));this.J&&this.J.Ma==b&&(this.J=null);if(c||d)this.o.Xb&&(a.startSecs+=isNaN(this.S)?0:this.S),c=this.B,c.P.push(a),c.R("cuepointsadded")};
g.h.seek=function(a){if(this.la())return lf();if(this.u.G||this.A.G)return kf();bH(this);this.Ea=(0,g.O)();WG(this,a);this.w&&this.w.o&&this.w.u&&(this.w.o.isLocked()||this.w.u.isLocked())&&this.R("reattachrequired");this.C=this.P.seek(a);this.J=null;this.ra=!1;g.zn(this.ca);return kf(this.C)};
g.h.getCurrentTime=function(){return this.C};
g.h.Y=function(){$G(this);XF(this.A);XF(this.u);g.Q.prototype.Y.call(this)};
g.h.Va=function(){var a=IF(this.A),b=IF(this.u);a={lct:this.C.toFixed(3),lsk:this.P.w,lmf:BG(this.F),lbw:hx(this.V).toFixed(3),lhd:fx(this.V).toFixed(3),lst:(1E9*(this.V.w.o()||0)).toFixed(3),laa:a?Su(a):"",lva:b?Su(b):"",lar:this.A.u?Su(this.A.u):"",lvr:this.u.u?Su(this.u.u):""};this.w&&!hw(this.w)&&this.w.o&&this.w.u&&(a.lab=Uv(this.w.o.nd()),a.lvb=Uv(this.w.u.nd()));return a};
g.h.xc=function(a,b,c){this.R("ctmp",a,b,void 0===c?!1:c)};
g.h.bw=function(a,b){var c=a/b;isNaN(this.S)&&(this.S=c-Math.min(c,this.o.hd),this.R("timestamp",this.S));return(c-this.S)*b};
var hH=2/24;g.r(uH,g.Q);g.r(vH,uH);vH.prototype.C=function(a,b){if(a&&b){var c=1*ih(a,"cpi")+1;isNaN(c)||0>=c||c<this.w?(this.A.stop(),this.u.stop(),this.w=-1,this.o={}):(c>this.w&&(this.w=c,g.ac(this.o)||(this.o={},this.A.stop(),this.u.stop())),this.o[b]=a,g.zn(this.u))}};
vH.prototype.B=function(){for(var a in this.o)this.R("rotated_need_key_info_ready",new VE(Yia(this.o[a],this.w,a),"fairplay",!0));this.o={}};var F2={},qqa=(F2.DRM_TRACK_TYPE_AUDIO="AUDIO",F2.DRM_TRACK_TYPE_SD="SD",F2.DRM_TRACK_TYPE_HD="HD",F2.DRM_TRACK_TYPE_UHD1="UHD1",F2);g.r(zH,g.B);zH.prototype.B=function(a){this.la()||(0!=a.status&&a.response?(XA("drm_net_r"),a=new Uint8Array(a.response),(a=yH(a))?this.w(a):this.o(this,"drm.net","t.p")):this.A(a))};
zH.prototype.A=function(a){this.la()||this.o(this,a.status?"drm.net.badstatus":"drm.net.connect","t.r;c."+a.status)};
zH.prototype.F=function(a){if(!this.la()){XA("drm_net_r");a:{var b="LICENSE_STATUS_OK"==a.status?0:9999,c=null;try{c=g.Lf(a.license)}catch(n){}if(0!=b||c){c=new xH(b,c);0!=b&&a.reason&&(c.errorMessage=a.reason);if(a.authorizedFormats){b={};for(var d=[],e={},f=g.q(a.authorizedFormats),k=f.next();!k.done;k=f.next()){k=k.value;var l=qqa[k.trackType];if(l){"HD"==l&&a.isHd720&&(l="HD720");b[l]||(d.push(l),b[l]=!0);var m=null;try{m=g.Lf(k.keyId)}catch(n){}if(!m){a=null;break a}e[g.Jf(m,4)]=l}}c.o=d;c.u=
e}a=c}else a=null}a?this.w(a):this.o(this,"drm.net","t.p;p.i")}};
zH.prototype.C=function(a){this.la()||(a=a.error,this.o(this,"drm.net.badstatus","t.r;p.i;c."+a.code+";s."+a.status))};g.r(AH,g.B);g.h=AH.prototype;g.h.uH=function(a){if(this.C){var b=a.messageType||"license-request";this.C.call(this.w,new Uint8Array(a.message),b)}};
g.h.vH=function(){this.H&&this.H.call(this.w,this.o.keyStatuses)};
g.h.qA=function(a,b){g.N(b);if(this.A){var c=a;b instanceof DOMException&&(c+=";n."+b.name+";m."+b.message);this.A.call(this.w,c)}};
g.h.HK=function(){this.la()||cl("xboxone")&&this.A&&this.A.call(this.w,"closed")};
g.h.OA=function(a){this.C&&this.C.call(this.w,a.message,"license-request")};
g.h.NA=function(a){if(this.A){if(this.u){var b=this.u.error.code;a=this.u.error.systemCode}else b=a.errorCode&&a.errorCode.code,a=a.systemCode;this.A.call(this.w,"t.prefixedKeyError;c."+b+";sc."+a)}};
g.h.MA=function(){this.G&&this.G.call(this.w)};
g.h.update=function(a){if(this.o)return this.o.update(a).then(null,Fo((0,g.x)(this.qA,this,"t.update")));this.u?this.u.update(a):this.F.addKey?this.F.addKey(this.P.o,a,this.J,this.sessionId):this.F.webkitAddKey(this.P.o,a,this.J,this.sessionId);return Zp()};
g.h.Y=function(){this.o&&this.o.close();this.F=null;g.B.prototype.Y.call(this)};g.r(CH,g.B);g.h=CH.prototype;
g.h.createSession=function(a){var b=a.initData;if(this.o.keySystemAccess){var c=this.C.createSession();"com.youtube.fairplay"==this.o.o&&(b=EH(b,this.o.Ke));b=c.generateRequest(a.contentType,b);c=new AH(null,null,null,c,null);b.then(null,Fo((0,g.x)(c.qA,c,"t.generateRequest")));return c}if(hz(this.o)){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.w.createSession("video/mp4",b,c);return new AH(null,null,null,null,b)}if(kz(this.o))return b=EH(b,this.o.Ke),b=this.w.createSession("video/mp4",b),new AH(null,null,null,null,b);this.u.generateKeyRequest?this.u.generateKeyRequest(this.o.o,b):this.u.webkitGenerateKeyRequest(this.o.o,b);return this.A=new AH(this.u,this.o,b,null,null)};
g.h.yH=function(a){var b=FH(this,a);b&&b.OA(a)};
g.h.xH=function(a){var b=FH(this,a);b&&b.NA(a)};
g.h.wH=function(a){var b=FH(this,a);b&&b.MA(a)};
g.h.Y=function(){g.B.prototype.Y.call(this);delete this.u};var G2={},fja=(G2.widevine="DRM_SYSTEM_WIDEVINE",G2.fairplay="DRM_SYSTEM_FAIRPLAY",G2.playready="DRM_SYSTEM_PLAYREADY",G2);g.r(IH,g.B);g.h=IH.prototype;
g.h.sH=function(a,b){if(!this.la()){HH(this,"onkmtyp"+b);if(!g.R(this.w.experiments,"html5_provisioning_killswitch"))switch(b){case "license-request":case "license-renewal":case "license-release":break;case "individualization-request":eja(this,a);return;default:this.jc.R("ctmp","message_type","t."+b+";l."+a.byteLength)}this.J||(XA("drm_gk_f"),this.J=!0,this.jc.R("newsession",this));if(iz(this.u)){var c=JH(a);if(!c)return;a=c}"fairplay"==this.u.flavor&&(a=eu(g.Jf(a)));c=new zH(a,++this.S,(0,g.x)(this.mL,
this),(0,g.x)(this.lL,this));g.H(this,c);LH(this,c)}};
g.h.qH=function(){this.la()||(HH(this,"onkyadd"),this.F||(this.jc.R("sessionready"),this.F=!0))};
g.h.tH=function(a){var b=this;this.la()||0>=a.size||(a.forEach(function(c,d){var e=iz(b.u)?d:c,f=new Uint8Array(iz(b.u)?c:d);iz(b.u)&&OH(f);var k=g.Jf(f,4);OH(f);f=g.Jf(f,4);b.o[k]?b.o[k].status=e:b.o[f]?b.o[f].status=e:b.o[k]={type:"",status:e}}),HH(this,"onksch"),this.jc.R("keystatuseschange",this))};
g.h.rH=function(a){this.la()||GH(this,"drm.keyerror",!0,a)};
g.h.mL=function(a){var b=this;this.la()||(HH(this,"onlcsrsp"),0!=a.statusCode?GH(this,"drm.auth",!0,"t.f;c."+a.statusCode,a.errorMessage||void 0):(XA("drm_kr_s"),a.heartbeatParams&&this.jc.R("newlicense",a.heartbeatParams),a.o&&(this.C=a.o,this.P=jj(this.C,function(c){return c.includes("HDR")})),a.u&&(this.o=Qb(a.u,function(c){return{type:c,
status:"unknown"}})),kz(this.u)&&(a.message=g.Lf(fu(a.message))),this.A&&(HH(this,"updtks"),this.A.update(a.message).then(function(){XA("drm_kr_f");
if(!KH(b))if(HH(b,"ksApiUnsup"),jz(b.u)){var c=MH(b.C);480<g.pv[c]&&b.jc.R("hdentitled",b)}else b.jc.R("keystatuseschange",b)})),this.F&&(this.O=(0,g.O)()),"fairplay"==this.u.flavor&&this.jc.R("fairplay_next_need_key_info",this.H,a.w)))};
g.h.lL=function(a,b,c){if(!this.la()){var d=!1;if(3<=a.u.u||this.U&&36E4<(0,g.O)()-this.O)d=!0,b="drm.net.retryexhausted";HH(this,"onlcsrqerr"+b+c);GH(this,b,d,c);(this.U&&this.F?0:!d&&this.S==a.number)&&gja(this,a)}};
g.h.Y=function(){g.B.prototype.Y.call(this)};
g.h.Va=function(){var a={requestedKeyIds:this.Z,cryptoPeriodIndex:this.cryptoPeriodIndex};this.A&&(a.keyStatuses=this.o);return a};
g.h.be=function(){var a=this.C.join();if(KH(this)){var b=[],c;for(c in this.o)"usable"!=this.o[c].status&&b.push(this.o[c].type);a+="/UKS:"+b}return a+="/"+this.cryptoPeriodIndex};g.r(SH,g.B);SH.prototype.C=function(a){if(!this.la()){var b=new Uint8Array(a.initData);a=new VE(b,a.initDataType);var c=wH(b).replace("skd://","https://"),d={},e=this.u.createSession(a);e&&(g.H(this,e),this.A.push(e),BH(e,function(f){PH(f,e.o,c,d,"fairplay")},function(){},function(){},function(){},this))}};
SH.prototype.Y=function(){this.A=[];this.o&&this.o.parentNode&&this.o.parentNode.removeChild(this.o);g.B.prototype.Y.call(this)};TH.prototype.get=function(a){a=this.findIndex(a);return-1!==a?this.values[a]:null};
TH.prototype.remove=function(a){a=this.findIndex(a);-1!==a&&(this.keys.splice(a,1),this.values.splice(a,1))};
TH.prototype.set=function(a,b){var c=this.findIndex(a);-1!==c?this.values[c]=b:(this.keys.push(a),this.values.push(b))};
TH.prototype.findIndex=function(a){return g.$a(this.keys,function(b){return g.ub(a,b)})};g.r(UH,uH);UH.prototype.B=function(a){var b=(0,g.I)(),c;if(!(c=this.A)){a:{c=a.cryptoPeriodIndex;if(!isNaN(c))for(var d=g.q(this.w.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.w,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30)));this.o.push({time:b+c,info:a});g.zn(this.u,c)};g.r(XH,g.Q);g.h=XH.prototype;g.h.zH=function(a){WH(this,"onecpt");$H(this,new Uint8Array(a.initData),a.initDataType)};
g.h.QL=function(a){WH(this,"onndky");$H(this,a.initData,a.contentType)};
g.h.yL=function(){var a=this;if(!this.la())if(!g.R(this.u.experiments,"html5_drm_set_server_cert")||g.Ix(this.u)&&!g.fl())dI(this);else{var b=aja(this.P);b?b.then(Fo(function(c){VB(a.T)&&a.R("ctmp","ssc",c)}),Fo(function(c){a.R("ctmp","ssce","n."+c.name+";m."+c.message)})).then(Fo(function(){return dI(a)})):dI(this)}};
g.h.nK=function(a){if(!this.la()){g.N(a);var b="t.a";a instanceof DOMException&&(b+=";n."+a.name+";m."+a.message);this.R("licenseerror","drm.unavailable",!0,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}};
g.h.Wv=function(a){this.A.push(a);ZH(this)};
g.h.SL=function(a){this.la()||(WH(this,"onnelcswhb"),a&&!this.ga&&(this.ga=a,this.R("heartbeatparams",a)))};
g.h.UL=function(){this.la()||(WH(this,"newlcssn"),this.A.shift(),this.O=!1,ZH(this))};
g.h.WM=function(){if(hz(this.o)&&(WH(this,"onsnrdy"),this.ra--,0==this.ra)){var a=this.C;a.u.msSetMediaKeys(a.w)}};
g.h.BH=function(a){this.la()||(WH(this,"onksch"),cI(this,NH(a,this.ca)))};
g.h.eL=function(){this.la()||this.Z||!jz(this.o)||(WH(this,"onhdet"),this.S=AK,this.R("hdproberequired"),this.R("qualitychange"))};
g.h.Y=function(){this.o.keySystemAccess&&this.J.setMediaKeys(null);this.J=null;this.A=[];for(var a=g.q(this.w.values),b=a.next();!b.done;b=a.next())b.value.dispose();a=this.w;a.keys=[];a.values=[];this.da&&(this.da.dispose(),this.da=null);g.Q.prototype.Y.call(this)};
g.h.Va=function(){for(var a={systemInfo:this.o.Va(),sessions:[]},b=g.q(this.w.values),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.Va());return a};
g.h.be=function(){return 0>=this.w.values.length?"no session":this.w.values[0].be()+(this.G?"/KR":"")};g.r(fI,g.Q);fI.prototype.setPlaybackRate=function(a){this.G=a};g.r(pI,g.B);pI.prototype.onError=function(a){this.o.fa("html5_log_non_fatal")&&"player.fatalexception"!==a&&(a.match(rqa)?this.S++:this.U++)};
pI.prototype.C=function(){if(!(this.H||0>this.w)){rI(this);var a=g.jD(this.o)-this.w,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.u.u;this.u.isError()?b=c&&"auth"==c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.W(this.u,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.W(this.u,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.W(this.u,16)||g.W(this.u,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.W(this.u,1)&&g.W(this.u,4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.W(this.u,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":
g.W(this.u,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.W(this.u,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");var d=FB(this.o.videoData);c="LIVE_STREAM_MODE_UNKNOWN";"live"==d?c="LIVE_STREAM_MODE_LIVE":"dvr"==d&&(c="LIVE_STREAM_MODE_DVR");d=sI(this.o);var e=0>this.A?a:this.A-this.w;a=this.o.fb.ra+36E5<(0,g.O)();b={started:0<=this.A,stateAtSend:b,joinLatencySecs:e,playTimeSecs:this.F,rebufferTimeSecs:this.G,seekCount:this.P,playerCanaryType:d,isAd:this.o.videoData.isAd(),liveMode:c,hasDrm:!!g.CB(this.o.videoData),
isGapless:this.o.videoData.sf};this.o.fa("html5_log_non_fatal")&&(b.networkErrorCount=this.S,b.nonNetworkErrorCount=this.U);!a&&this.o.fa("html5_health_to_gel")&&hr("html5PlayerHealthEvent",b);this.o.fa("html5_health_to_qoe")&&(b.muted=a,this.V(Qv(b)));this.H=!0;this.dispose()}};
pI.prototype.Y=function(){this.H||this.C();g.B.prototype.Y.call(this)};
var rqa=/\bnet\b/;g.r(uI,g.B);g.h=uI.prototype;g.h.tF=function(){var a=g.jD(this.o);wI(this,a)};
g.h.Fj=function(a){if(!this.la()&&(a=0<=a?a:g.jD(this.o),-1<["PL","B","S"].indexOf(this.w)&&(!g.ac(this.u)||a>=this.C+30)&&(g.tI(this,a,"vps",[this.w]),this.C=a),!g.ac(this.u)))if(7E3==this.U&&Dp(Error("Sent over 7000 pings")),7E3<=this.U)this.u={};else{yI(this,a);var b=a,c=this.o.B(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.sa,k=e&&!this.za;if(d>c.totalVideoFrames||5E3<f)this.onError("html5.badframedropcount","df."+d+";tf."+c.totalVideoFrames);else(0<f||k)&&g.tI(this,b,"df",[f]);
this.sa=d;this.za=e;!g.R(this.o.fb.experiments,"disable_webgl_reporting")&&0<this.F&&(g.tI(this,a,"glf",[this.F]),this.F=0);a={event:"streamingstats"};this.o.videoData.Ba&&(a.fmt=Tu(this.o.videoData.Ba),(b=this.o.videoData.sc)&&Tu(b)!=a.fmt&&(a.afmt=Tu(b)));a.cpn=this.o.videoData.clientPlaybackNonce;a.ei=this.o.videoData.eventId;a.el=PB(this.o.videoData);a.docid=this.o.videoData.videoId;a.ns=this.o.fb.Z;a.fexp=this.o.fb.experiments.experimentIds.toString();a.cl="298482803";this.o.videoData.adFormat&&
(a.adformat=this.o.videoData.adFormat);(b=FB(this.o.videoData))&&(a.live=b);BB(this.o.videoData)&&(a.drm=1);this.o.fa("html5_qoe_reports_ctt")&&jp()&&this.o.videoData.Ei&&(a.ctt=this.o.videoData.Ei,a.cttype=this.o.videoData.Fi,this.o.videoData.mdxEnvironment&&(a.mdx_environment=this.o.videoData.mdxEnvironment));a.seq=this.U++;g.gc(a,this.o.fb.deviceParams);b=g.eh("//"+this.o.fb.If+"/api/stats/qoe",a);a=c="";for(var l in this.u)null==this.u[l]?Dp(new Bp("Stats report key has invalid value",l)):(d=
"&"+l+"="+this.u[l].join(","),100<d.length?a+=d:c+=d);l=b+c;a=a.replace(/ /g,"%20");b=this.o.videoData.hf();c=this.o.videoData.visitorData;d=b&&jp();e=c&&this.o.fb.sendVisitorIdHeader;d||e?(f={},d&&(f.Authorization="Bearer "+b),e&&(f["X-Goog-Visitor-Id"]=c),g.wp(l,{headers:f,withCredentials:!0,method:"POST",postBody:a})):Sp(l,void 0,a);this.u={}}};
g.h.TB=function(){if(this.o.videoData.sd){var a=this.o.videoData.sd;CI(this,"drm-"+a.flavor);CI(this,"eme-"+(a.keySystemAccess?"final":hz(a)?"ms":"com.youtube.fairplay"==a.o?"ytfp":kz(a)?"safarifp":"nonfinal"))}};
g.h.onError=function(a,b){var c=g.jD(this.o);AI(this,c,a,b);yI(this,c);zI(this)};
g.h.Y=function(){g.B.prototype.Y.call(this);window.clearInterval(this.ra)};
var sja=g.Ia,H2={},qja=(H2[5]="N",H2[-1]="N",H2[3]="B",H2[0]="EN",H2[2]="PA",H2[1]="PL",H2);g.r(DI,g.B);DI.prototype.onError=function(a,b){if(this.o)this.o.onError(a,b);if(this.w)this.w.onError(a)};
DI.prototype.Va=function(){return this.u?this.u.Va():{}};g.r(HI,g.Q);g.r(SI,g.B);SI.prototype.O=function(){var a=this;if(this.u){var b=this.u,c=b.getCurrentTime(),d=8==this.C.o&&c>this.o,e=Oha(this.C);UI(this,this.V,e,d,"qoe.slowseek",function(){},"timeout");
e=e&&isFinite(this.o)&&0<this.o&&Jha(b,this.o);var f=!c||10<Math.abs(c-this.o);UI(this,this.Z,e&&f,d,"qoe.slowseek",function(){return b.seekTo(a.o)},"set_cmt");
f=e&&Wv(b.Ad(),this.o);UI(this,this.S,f,d,"qoe.slowseek",function(){return b.seekTo(a.o+.001)},"jiggle_cmt");
e=function(){return a.F("newmediaelementrequired")};
UI(this,this.U,f,d,"qoe.slowseek",e,"new_elem");if(d=b.pl())d=d.totalVideoFrames,f=d==this.H,UI(this,this.P,c>this.J&&f,!f,"qoe.longrebuffer",e,"decoder_freeze"),d&&(this.H=d);this.J=c;this.G.start()}};
QI.prototype.reset=function(){this.o=this.u=this.w=0;this.C=!1};
QI.prototype.Va=function(){var a={},b=(0,g.O)();this.w&&(a.wsd=(b-this.w).toFixed());this.u&&(a.wtd=(b-this.u).toFixed());this.o&&(a.wssd=(b-this.o).toFixed());return a};g.r(ZI,g.Q);g.h=ZI.prototype;g.h.getCurrentTime=function(){return!isNaN(this.u)&&isFinite(this.u)?this.u:this.o&&iJ(this)?this.o.getCurrentTime()+this.A:this.F||0};
g.h.isAtLiveHead=function(a){if(!this.w)return!1;void 0==a&&(a=this.getCurrentTime());return LI(this.w,a)};
g.h.seekTo=function(a,b){var c=void 0===b?{}:b,d=void 0===c.yC?!1:c.yC,e=void 0===c.zC?0:c.zC,f=void 0===c.Nk?!1:c.Nk;c=void 0===c.Du?0:c.Du;var k=a,l=!isFinite(k)||(this.w?LI(this.w,k):k>=this.tc())||!g.JB(this.T);l||this.R("ctmp","seeknotallowed",k+";"+this.tc());if(!l)return this.C&&(this.C=null,gJ(this)),kf(this.getCurrentTime());if(a==this.u&&this.S)return this.G;this.S&&$I(this);this.G||(this.G=new mG);a&&!isFinite(a)&&bJ(this,!1);k=a;(fJ(this)&&!(this.o&&0<this.o.he()&&0<eC(this.o))||qB(this.T)&&
this.Ab()==this.tc(!1)?0:isFinite(k)||!qB(this.T))&&(a=hJ(this,a,f));a&&!isFinite(a)&&bJ(this,!1);this.F=a;this.ya=c;this.u=a;this.w&&(f=this.w,c=a,MI(f,c,!1),PI(f,c));this.R("seekto",a,!d);this.G&&(d?e&&this.ea.start(e):(this.S=!0,XI(this)));return this.G};
g.h.tc=function(a){if(!this.T.ua)return this.T.tc();if(this.T&&this.T.va&&this.T.va.o){if(!a&&this.w)return KI(this.w);a=this.T.tc();this.J.w&&this.o&&(a=Math.max(a,iC(this.o)));return a+this.A}this.o?gl()?(a=this.o.no().getTime(),a=isNaN(a)?0:Math.max(((0,g.I)()-a)/1E3-30,0)):a=eC(this.o)+this.A||this.A:a=this.A;return a};
g.h.Ab=function(){return this.T?this.T.Ab()+this.A:this.A};
g.h.Y=function(){cJ(this,null);this.P.dispose();g.Q.prototype.Y.call(this)};
g.h.zO=function(a,b){b=void 0===b?!1:b;this.seekTo(a+this.Bb(),{Nk:b})};
g.h.Va=function(){var a={};this.B&&Object.assign(a,this.B.Va());this.o&&Object.assign(a,this.o.Va());return a};
g.h.HO=function(a){this.A=a};
g.h.GO=function(a){this.sa=a};
g.h.getStreamTimeOffset=function(){return qB(this.T)?this.sa:this.T.ma?this.T.ma.getStreamTimeOffset():0};
g.h.Bb=function(){return this.A};
g.h.oI=function(a){this.H&&(this.H.o=a.audio.index)};g.r(nJ,g.Q);g.h=nJ.prototype;g.h.getVisibilityState=function(a,b,c,d,e){return a?4:jJ()?3:b?2:c?1:d?5:e?7:0};
g.h.setMinimized=function(a){this.o!=a&&(this.o=a,this.wj())};
g.h.setInline=function(a){this.B!=a&&(this.B=a,this.wj())};
g.h.isFullscreen=function(){return 0!=this.w};
g.h.isInline=function(){return this.B};
g.h.isBackground=function(){return jJ()};
g.h.wj=function(){this.R("visibilitychange");var a=this.getVisibilityState(this.u,this.isFullscreen(),this.o,this.isInline(),this.A);a!=this.F&&this.R("visibilitystatechange");this.F=a};
g.h.Y=function(){mJ(this.C);g.Q.prototype.Y.call(this)};var XJ={"ad-trueview-indisplay-pv":6,"ad-trueview-insearch":7},YJ={"ad-trueview-indisplay-pv":2,"ad-trueview-insearch":2},ZJ=/^(\d*)_((\d*)_?(\d*))$/;pJ.prototype.isFinished=function(){return this.o};
pJ.prototype.start=function(){this.started=!0};
pJ.prototype.reset=function(){this.o=this.started=!1};rJ.prototype.encrypt=function(a){var b=this,c;return Ca(function(d){if(1==d.o)return ta(d,qJ(b.o.o,a,b.u),2);c=d.u;return d["return"](c)})};
rJ.prototype.decrypt=function(a,b){var c=this,d;return Ca(function(e){if(1==e.o)return ta(e,qJ(c.o.o,a,b),2);d=e.u;return e["return"](d)})};yJ.prototype.o=function(){var a=new sJ;wJ(a,1,this.u);wJ(a,2,this.C);wJ(a,6,this.B);wJ(a,15,this.F);var b=this.w;uJ(a,128);uJ(a,b);wJ(a,17,this.A);return xJ(a)};zJ.prototype.o=function(){var a=new sJ;vJ(a,2,this.w);vJ(a,5,this.u);vJ(a,6,this.B);vJ(a,7,this.A);uJ(a,80);uJ(a,1);return xJ(a)};AJ.prototype.o=function(){var a=new sJ;wJ(a,1,"Content-Type");wJ(a,2,"application/x-protobuf");return xJ(a)};BJ.prototype.o=function(){var a=new sJ;vJ(a,1,this.u.o());return xJ(a)};GJ.prototype.o=function(){var a=new sJ;vJ(a,1,this.u.o());wJ(a,2,this.w);return xJ(a)};HJ.prototype.o=function(){var a=new sJ;wJ(a,1,this.w);for(var b=g.q(this.u),c=b.next();!c.done;c=b.next())vJ(a,2,c.value.o());vJ(a,3,this.A.o());return xJ(a)};IJ.prototype.o=function(){var a=new sJ;vJ(a,3,this.u.o());return xJ(a)};KJ.prototype.feed=function(a){Cs(this.o,a);LJ(this)};MJ.prototype.fetch=function(){var a=this,b,c,d,e,f,k,l,m,n,p,t,u,z;return Ca(function(C){switch(C.o){case 1:return C.B=2,ta(C,Kja(a),4);case 4:b=C.u;ua(C,3);break;case 2:c=va(C);if(c instanceof Pv)return C["return"](Promise.reject(c));d=new Pv("onesie.request",!1);return C["return"](Promise.reject(d));case 3:e=dy(a.T.N());f=b.o();k={method:"POST",body:f,headers:{"Content-Type":"text/plain"}};l=g.Ia;m=function(){NJ(a)};
n=function(){NJ(a)};
p=g.Ia;t=Ija(a);if(!t)return u={url:"0"},z=new Pv("onesie.unavailable.hotconfig",!1,u),C["return"](Promise.reject(z));a.A=new vE(t,l,m,n,p,e,k);return C["return"](a.w)}})};g.r(TJ,g.Q);g.h=TJ.prototype;g.h.Y=function(){window.clearInterval(this.Hb);mJ(this.Qa);this.J.unsubscribe("visibilitystatechange",this.Qa);VJ(this);WJ(this);g.Mp(this.ga);vK(this);this.C&&!RJ(this,"html5_playback_timeline_register_disposable")&&(this.C.dispose(),delete this.C);delete this.H;g.me(this.T);this.V=null;this.Ia=!1;this.ya=0;g.Q.prototype.Y.call(this)};
g.h.getVideoData=function(){return this.T};
g.h.N=function(){return this.A};
g.h.Fq=function(){if(this.T.Pb())0<g.S(this.A.experiments,"html5_player_min_build_cl")&&298482803<g.S(this.A.experiments,"html5_player_min_build_cl")&&RK(this,"oldplayer"),Wja(this);else if(this.T.Ah||this.T.jj){if(!this.ra||!fK(this))if(this.T.Ah)Fha(this.T);else{var a=this.B;a.o&&(a=a.o,CI(a,"protected"),a.o.videoData.sd?a.TB():a.o.videoData.subscribe("dataloaded",a.TB,a));a=this.T;a.Ke||a.ma&&Ny(a.ma);var b={};a.ma&&(b=rz(kB(a),a.La.w,a.ma));var c=a.La.experiments,d=a.aC;var e=a.useCobaltWidevine?
a.fa("html5_enable_tvos_widevine")&&gl()?pB(a):jB(a,"html5_enable_androidtv_cobalt_widevine")&&cl("cobalt")&&cl("android")?!0:!1:!1;b=new uz(b,c,d,e);g.H(a,b);a.jj=!1;a.Dd=!0;a=(0,g.x)(a.bG,a);b.C=a;b.A=[];lz(b.u)?vz(b):Iga(b)}}else!this.T.Dd&&this.kc&&Tja(this)};
g.h.fM=function(a){var b=this;this.la()||a.videoData.la()||(this.H=a,xja(this.C,this.H),!this.T.ua||0<this.T.Qg&&!qB(this.T)||(this.seekTo(HK(this)),nK(this,"playbackData")),this.T.va.o&&(this.w?Dp(Error("Duplicated Loader")):FK(this)),CK(this),RJ(this,"html5_nonblocking_media_capabilities")&&nja(a).then(function(){oI(b.S,b.H)}))};
g.h.gM=function(a){this.la()||(a=Sv(a),this.J.isBackground()?($K(this,"vp_none_avail"),this.sa=null,this.Z.reset()):(this.Z.o=!0,g.SJ(this,a.errorCode,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",Qv(a.details))))};
g.h.sendAbandonmentPing=function(){g.W(this.getPlayerState(),128)||(this.R("internalAbandon"),this.gu(!0),VJ(this),g.Mp(this.ga))};
g.h.getPlayerState=function(){return this.u};
g.h.getPlayerType=function(){return this.gb};
g.h.getPreferredQuality=function(){if(this.H){var a=this.S;var b=this.H,c=Kw(b.videoData.Ep,b.videoData.iw);"auto"!=Pw()||(c=Kw(c,nI(a,b)));a=Lw(c)}else a="auto";return a};
g.h.isGapless=function(){return!!this.o&&this.o.isView()};
g.h.playVideo=function(){var a=this,b,c,d;return Ca(function(e){if(1==e.o){if(g.W(a.u,128))return e["return"]();if(a.jd)return a.jd=!1,PK(a),e["return"]();var f=a.B;f.w&&qI(f.w);f.o&&BI(f.o);lK(a);g.W(a.u,64)&&bK(a,sD(a.u,8));a.ca.isFinished()&&a.o?a.H||!a.sa?(e.o=2,e=void 0):e=ta(e,a.sa,2):e=e["return"]();return e}if(!a.T.va)return b=a.T.ua&&!g.Aw(a.A.w)?"html5.unsupportedlive":BB(a.T)?"fmt.unplayable":"fmt.noneavailable",Dp(Error("selectableFormats")),g.SJ(a,b,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",
"selectableFormats.1"),e["return"]();if(a.J.u&&a.T.va.o)return iK(a),e["return"]();if(a.T.ua){c=a.getCurrentTime()<a.Ab()-15;d=g.JB(a.T)&&g.W(a.u,4);if(c||d)d?(a.seekTo(Infinity),nK(a,"unpauseLiveOnly")):(a.seekTo(a.Ab()),nK(a,"outOfWindow"));!a.isAtLiveHead(void 0,!0)&&eJ(a.C)&&(a.seekTo(Infinity),nK(a,"peggedToLive"));if(f=g.W(a.u,256)&&a.T.se)f=a.C,f=f.S&&!isFinite(f.u);if(f)return bK(a,uD(a.u,8,4)),e["return"]()}RJ(a,"html5_sync_seeking_state")&&g.W(a.u,4)&&g.W(a.u,16)&&bK(a,uD(a.u,9,4));if(jK(a))return!RJ(a,
"html5_ignore_airplay_events_on_new_video_killswitch")&&a.o&&a.o.ci()&&(a.Oa=(0,g.O)()),a.A.Fm?g.Ho((0,g.x)(a.Pt,a),0):a.Pt(),e["return"]();a.Pt();e.o=0})};
g.h.sO=function(){xK(this);var a=this.T.ma&&Ny(this.T.ma),b=this.o&&this.o.isView();a||b?(this.w&&(a=this.w,a.o.Fb=!1,a.w&&oH(a)),JK(this)):(bK(this,sD(this.u,16)),jK(this),g.xD(this.u)&&this.playVideo())};
g.h.getUserPlaybackQualityPreference=function(){return this.T.va&&!this.T.va.o?Lw(this.T.Ep):Pw()};
g.h.getAvailableAudioTracks=function(){return this.T.getAvailableAudioTracks()};
g.h.getAudioTrack=function(){return this.T.getAudioTrack()};
g.h.BG=function(){var a=this.B;a.A.fb.Aa||3==a.A.getVisibilityState()||(a.A.fb.Aa=!0);g.EI(a);if(a.w){var b=a.w;b.O&&0>b.w&&3!=b.o.getVisibilityState()&&qI(b)}a.o&&(a=a.o,a.o.fa("html5_qoe_user_intent_match_health")&&a.ga&&0>a.B&&a.o.fb.Aa&&BI(a));g.S(this.A.experiments,"html5_background_quality_cap")&&this.w&&DK(this);this.A.zm&&!this.T.backgroundable&&this.o&&!this.J.u&&(this.J.isBackground()&&this.o.mo()?(this.Ra("bgmobile","suspend"),g.sK(this,!0)):this.J.isBackground()||jK(this)&&this.Ra("bgmobile",
"resume"))};
g.h.RL=function(a,b){this.F?aI(this.F,a,b):this.yb.push({type:a,info:b})};
g.h.TL=function(a){this.F?bI(this.F,a):this.Fb.push(a)};
g.h.GA=function(){g.Cw&&this.ea&&this.ea.o&&this.F&&(kja(this.F,this.ea.o),this.ea=null)};
g.h.AN=function(a){this.T.Mu=Hw("auto",a,!1,"u");DK(this)};
g.h.zG=function(a){pK(this,a.reason,a.video.info,a.audio.info)};
g.h.sL=function(a){oK(this,a.reason,a.audio.info)};
g.h.tL=function(a){this.R("localmediafetchcomplete",a)};
g.h.ai=function(a){var b=this;$ja(this,a);if("fmt.unplayable"!=a.errorCode&&"fmt.unparseable"!=a.errorCode||!MK(this,a.errorCode,a.details)){var c=/^pp/.test(this.T.clientPlaybackNonce);if(Zja(a)){var d=18324;this.A.fa("ipp_signature_cipher_killswitch")||(d=g.M("STS",void 0)?g.M("STS",void 0):d);a.details.sts=""+d;if(OK(this)){g.W(this.u,4)||g.W(this.u,512)?(this.jd=!0,WJ(this)):(a.o&&(a.details.e=a.errorCode,a.errorCode="qoe.restart",a.o=!1),this.B.onError(a.errorCode,Qv(a.details)),PK(this));return}6048E5<
(0,g.O)()-this.A.ra&&RK(this,"signature")}if(SK(a)&&this.T.va&&this.T.va.u)this.B.onError(a.errorCode,Qv(a.details)),this.Ra("highrepfallback","1",!0),!RJ(this,"html5_hr_logging_killswitch")&&/^hr/.test(this.T.clientPlaybackNonce)&&btoa&&this.Ra("afmts",btoa(this.T.adaptiveFormats),!0),Iha(this.T),UJ(this),WJ(this),LK(this),this.playVideo();else if(a.o){c=this.w?this.w.F.A:null;if(SK(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else if(!this.A.Zb&&"auth"==a.errorCode&&429==a.details.rc){e="TOO_MANY_REQUESTS";
var f="6"}g.SJ(this,a.errorCode,e,Qv(a.details),f)}else this.B.onError(a.errorCode,Qv(a.details)),c&&"manifest.net.connect"==a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.T.clientPlaybackNonce+"&t="+(0,g.O)(),(new CG(a,"manifest",function(k){b.wh=!0;b.Ra("pathprobe",k)},function(k){return b.B.onError(k.errorCode,Qv(k.details))})).send())}};
g.h.pauseVideo=function(a){a=void 0===a?!1:a;if((g.W(this.u,64)||g.W(this.u,2))&&!a)if(g.W(this.u,8))bK(this,uD(this.u,4,8));else return;g.W(this.u,128)||(a?bK(this,sD(this.u,256)):bK(this,uD(this.u,4,8)));this.o&&this.o.pause();g.JB(this.T)&&this.w&&yK(this,!1)};
g.h.stopVideo=function(){this.pauseVideo();this.w&&(yK(this,!1),ZG(this.w))};
g.h.seekTo=function(a,b){b=void 0===b?{}:b;g.W(this.u,2)&&jK(this);this.C.seekTo(a,b)};
g.h.getCurrentTime=function(){return this.C.getCurrentTime()};
g.h.getPlaylistSequenceForTime=function(a){return this.T.getPlaylistSequenceForTime(a-this.Bb())};
g.h.getDuration=function(){return this.T.lengthSeconds?this.T.lengthSeconds+this.Bb():HK(this)?HK(this):0};
g.h.UE=function(){var a=new Jfa;if(this.w){var b=this.A.schedule;a.w=b.H;a.B=b.P;a.bandwidthEstimate=ix(b);a.o="d."+fx(b).toFixed(2)+";st."+(1E9*(b.w.o()||0)).toFixed(2)+";bw."+b.u.o().toFixed(0)+";abw."+b.J.o().toFixed(0)+";v50."+$w(b.A,.5).toFixed(2)+";v92."+$w(b.A,.92).toFixed(2)+";v96."+$w(b.A,.96).toFixed(2)+";v98."+$w(b.A,.98).toFixed(2);b=this.w;if(b.w&&!hw(b.w)&&(a.u=WF(b.u,b.C),a.A=WF(b.A,b.C),b.o.sa)){var c=VF(b.u),d=VF(b.A),e=Uv(b.w.u.nd(),"_"),f=Uv(b.w.o.nd(),"_");a.o=(a.o||"")+(";lvq."+
c+";laq."+d+";lvb."+e+";lab."+f)}a.bandwidthEstimate=kG(b.O)}else this.o&&(a.u=gC(this.o));a.C=this.tx();return a};
g.h.Va=function(a){var b={};if(void 0===a?0:a){g.Sa(b,this.B.Va());this.o&&(g.Sa(b,this.o.Va()),g.Sa(b,this.sr()));this.w&&g.Sa(b,this.w.Va());this.F&&(b.drm=this.F.Va());b.state=this.u.o.toString(16);g.W(this.u,128)&&(b.debug_error=this.u.u);mK(this)&&(b.prerolls=this.U.join(","));this.T.ag&&(b.ismb=this.T.ag);"UNKNOWN"!=this.T.latencyClass&&(b.latency_class=this.T.latencyClass);this.T.isLowLatencyLiveStream&&(b.lowlatency="1");this.T.ua&&(this.T.ma&&bz(this.T.ma)&&(b.segduration=bz(this.T.ma)),
a=this.C,b.lat=a.H?oC(a.H.A):0,b.liveutcstart=this.T.liveUtcStartSeconds);b.relative_loudness=this.T.Ql.toFixed(3);if(a=g.wC(this))b.optimal_format=a.wa().qualityLabel;b.user_qual=Pw()}b.debug_videoId=this.T.videoId;return b};
g.h.addCueRange=function(a){var b=this.P;a=[a];b.u();MG(b.o,a);b.A=NaN;b.u()};
g.h.removeCueRange=function(a){OG(this.P,[a])};
g.h.CN=function(){aK(this)};
g.h.togglePictureInPicture=function(){this.o&&this.o.togglePictureInPicture()};
g.h.AG=function(a){this.ld.stop();var b=a.target.Uc();if(this.o&&this.o.Uc()&&this.o.Uc()==b){fL(this,a.type);switch(a.type){case "error":var c=kC(this.o)||"";if("capability.changed"==c){iK(this);return}if(0<this.o.Qe()&&MK(this,c,{msg:this.o.ol()}))return;if(this.J.isBackground()&&4==this.o.Qe()){g.sK(this);$K(this,"unplayable");return}break;case "durationchange":c=this.o.getDuration();(!this.G||isFinite(c)&&0<c)&&1!=c&&this.T.lengthSeconds!=c&&(this.T.lengthSeconds=c,aK(this));break;case "ratechange":this.w&&
this.w.setPlaybackRate(this.o.getPlaybackRate());c=this.P;c.started=!0;c.u();var d=this.B;c=this.getPlaybackRate();if(d.o){d=d.o;var e=g.jD(d.o);c&&c!=d.ya&&(g.tI(d,e,"rate",[c]),d.ya=c);d.Fj(e)}break;case "loadedmetadata":gL(this),this.R("onLoadedMetadata");case "loadstart":window.clearInterval(this.Hb);this.Eq()||(this.Hb=Io((0,g.x)(this.Eq,this),100));break;case "progress":case "suspend":TK(this);this.R("onLoadProgress",this,this.o?g.JB(this.T)?1:KB(this.T)?this.isAtLiveHead()||eJ(this.C)?1:Aja(this.C):
jC(this.o):0);break;case "playing":this.O.tick("plev");WK(this);ZA("plev");this.hd&&(this.hd=!1,this.isAtLiveHead()||(this.seekTo(Infinity),nK(this,"onPlaying")));break;case "timeupdate":WK(this);c=this.o&&!this.o.getCurrentTime();d=this.o&&0==this.o.he();if(c&&(!this.Aa||d))return;this.Aa=this.Aa||!!this.o.getCurrentTime();this.Eq();TK(this);if(!this.o||this.o.Uc()!=b)return;this.R("onVideoProgress",this,this.getCurrentTime());break;case "waiting":if(0<this.o.Vi().length&&0==this.o.Ad().length&&
0<this.o.getCurrentTime()&&5>this.o.getCurrentTime()&&this.w)return;break;case "resize":gL(this);this.T.Ba&&"auto"==this.T.Ba.wa().quality&&this.R("internalvideoformatchange",this.T,!1);break;case "pause":if(this.Id&&g.W(this.u,8)&&!g.W(this.u,1024)&&0==this.getCurrentTime()&&g.Xx){$K(this,"safari_autoplay_disabled");return}}if(this.o&&this.o.Uc()==b){this.R("videoelementevent",a);b=this.u;if(!g.W(b,128)){c=this.za;e=this.o;var f=this.A.experiments;d=b.o;e=e?e:a.target;var k=e.getCurrentTime();if(!g.W(b,
64)||"ended"!=a.type&&"pause"!=a.type){var l=e.rf()||1<k&&1.1>Math.abs(k-e.getDuration());k="ended"==a.type||"waiting"==a.type||"timeupdate"==a.type&&!g.W(b,4)&&!nD(c,k);if("pause"==a.type&&e.rf()||l&&k)0<e.xn()&&e.Uc()&&(d=14);else switch(a.type){case "error":kC(e)&&(d|=128);break;case "pause":g.W(b,256)?(d^=256)||(d=64):g.W(b,32)||g.W(b,2)||g.W(b,4)||(d=4,g.W(b,1)&&g.W(b,8)&&(d|=1));break;case "playing":d=(d|8)&-3077;f&&g.R(f,"html5_playing_clears_unstarted_killswitch")||(d&=-65);nD(c,e.getCurrentTime())&&
(d&=-2);g.W(b,1)&&qD(c,e)&&(d|=1);break;case "seeking":d|=16;g.W(b,8)&&(d|=1);d&=-3;break;case "seeked":d&=-17;break;case "waiting":g.W(b,2)||(d|=1);qD(c,e);break;case "timeupdate":f=g.W(b,16),l=g.W(b,4),(g.W(b,8)||f)&&!l&&nD(c,e.getCurrentTime())&&(d=8),qD(c,e)&&(d|=1)}}c=d;d=null;if(c&128)if(l=a.target,d=kC(l)){e="GENERIC_WITHOUT_LINK";f="mediaElem.1";if(l=l.ol())f+=";msg."+l,/AUDIO_RENDERER/.test(l)&&(e="HTML5_AUDIO_RENDERER_ERROR");.001>Math.random()&&(f+=";gpu."+(0,g.gK)());d={errorCode:d,errorMessage:g.rK[e]||
"",Tq:e,DB:f}}else d=null;b=rD(b,c,d)}!g.W(this.u,1)&&g.W(b,1)&&eL(this,"evt_"+a.type);bK(this,b)}}};
g.h.qN=function(){this.Ra("misstimeupdate","");VK(this)&&!g.W(this.u,2)&&PJ(this,!0,!1)};
g.h.dK=function(a){a="available"==a.u.availability;a!=this.pc&&(this.pc=a,this.R("airplayavailabilitychange"))};
g.h.eK=function(){var a=this,b=(0,g.O)();if(isNaN(this.Oa)||!(2E3>b-this.Oa)){var c=this.o.ci();this.Oa=b;c!=this.J.u&&(Bja(this.J,c),iK(this).then(function(){return jK(a)}));
this.R("airplayactivechange")}};
g.h.Eq=function(){var a=this.o;a&&this.Aa&&!this.T.se&&!OA("vfp","")&&2<=a.he()&&!a.rf()&&0<Yv(a.Ad())&&this.O.tick("vfp");return(a=this.o)&&!this.T.se&&0<a.getDuration()&&(!OA("pbp","")&&a.bh()&&2<=a.he()&&0<Yv(a.Ad())&&this.O.tick("pbp"),a=a.getCurrentTime(),nD(this.za,a))?(YK(this),!0):!1};
g.h.sF=function(){if(this.o&&!g.W(this.u,128)){this.T.dg&&g.S(this.A.experiments,"html5_log_rebuffer_events")&&fL(this,"pfx");var a=this.getCurrentTime(),b=gC(this.o),c=g.W(this.u,8),d=nD(this.za,a),e=oD(this.za,a,(0,g.O)(),b);c&&d?bK(this,tD(this.u,1)):c&&e?(c=this.getDuration(),d=RJ(this,"html5_reseek_in_pfx")||RJ(this,"html5_reseek_in_pfx_manifestless_vp9")&&qB(this.T)&&this.T.Ba&&yv(this.T.Ba),!this.T.ua&&c&&1.1>Math.abs(c-a)?this.o.ko()?this.seekTo(0):PJ(this):d&&1.1<b&&8==this.u.o?(c=Uv(this.o.Ad(),
"_",3),this.Ra("reseek","pfx;ct."+a+";bh."+b+";ranges."+c),this.seekTo(a+.1)):(RJ(this,"html5_reseek_in_pfx_cfl")&&1.1<b&&8==this.u.o&&this.Ra("pfx","cfl.1"),g.zD(this.u)||eL(this,"progress_fix"),bK(this,sD(this.u,1)))):g.W(this.u,4)&&g.zD(this.u)&&5<gC(this.o)&&bK(this,tD(this.u,1));TK(this)}};
g.h.JE=function(){return this.w?kG(this.w.O):ix(this.A.schedule)};
g.h.RE=function(){return this.A.schedule.H};
g.h.tx=function(){return this.isAtLiveHead()&&g.wD(this.u)?this.yx():NaN};
g.h.yx=function(){if(!this.T.ua||!this.T.ma||!this.w)return NaN;var a=qB(this.T)?this.w.ya.o()||0:this.T.ma.G;return(0,g.I)()/1E3-UK(this)-a};
g.h.iF=function(){this.T.ua||this.R("connectionissue")};
g.h.Pt=function(){var a=this;if(this.Ea=this.o.playVideo()){var b=this.Ea;b.then(void 0,function(c){if(!(g.W(a.u,4)||g.W(a.u,256)||a.Ea!=b||c&&"AbortError"==c.name&&c.message&&c.message.includes("load"))){var d="promise";c&&c.name&&(d+=";m."+c.name);try{bK(a,sD(a.u,2048))}catch(e){}$K(a,d);a.Id=!0}})}};
g.h.iL=function(a,b,c,d){var e=this;d=void 0===d?"LICENSE":d;c=c.substr(0,256);if("drm.keyerror"==a&&this.F&&1<this.F.w.keys.length&&96>this.pe)a="drm.sessionlimitexhausted",b=!1;else if(RJ(this,"html5_drm_fallback_to_playready_on_retry")&&"drm.keyerror"==a&&2>this.qe&&(this.qe++,UJ(this),1<this.T.Dj.length&&(this.T.sd=this.T.Dj[1]),MK(this,a,{detail:c})))return;if(b)g.R(this.A.experiments,"html5_hdr_separate_keys_support")&&this.T.Ba&&tv(this.T.Ba.wa())?(this.A.w.w=!1,this.B.onError("qoe.restart",
Qv({e:a,detail:c,r:"hdr"})),iK(this).then(function(){return jK(e)})):g.SJ(this,a,d,c);
else this.B.onError(a,c);"drm.sessionlimitexhausted"==a&&(this.Ra("retrydrm","s"),this.pe++,dL(this))};
g.h.kL=function(){var a=this,b=g.S(this.A.experiments,"html5_license_constraint_delay"),c=ol();b&&c?(b=new g.J(function(){CK(a);aK(a)},b),g.H(this,b),b.start()):(CK(this),aK(this))};
g.h.jL=function(){var a=this;g.Cw&&(this.ea=vga(this.T.ma))&&(this.ea.o?g.Ye(function(){a.GA()}):Via(this.w,this.ea))};
g.h.xG=function(a){this.R("heartbeatparams",a)};
g.h.yG=function(a){this.Ra("keystatuses",hja(a));var b="auto";this.T.Ba&&(b=this.T.Ba.wa().quality);!QH(a,b,!1)||RH(a,"AUDIO")&&RH(a,"SD")?g.R(this.A.experiments,"html5_hdr_separate_keys_support")&&this.T.Ba&&tv(this.T.Ba.wa())&&(!a.P||QH(a,b,!0))&&bka(this):this.gd?this.R("drmoutputrestricted"):(this.gd=!0,this.Ra("retrydrm","o"),BK(this),dL(this))};
g.h.qL=function(){if(!this.T.se&&this.o&&!this.J.isBackground()){var a="0";0<this.o.he()&&5<=gC(this.o)&&this.T.va&&this.T.va.o&&(bK(this,sD(this.u,1)),eL(this,"load_soft_timeout"),this.R("playbackstalledatstart"),a="1");ZK(this);if(RJ(this,"html5_new_video_qoe_restart_info_killswitch"))a={restartmsg:a},mK(this)&&(a.prerolls=this.U.join(",")),this.w&&g.Sa(a,this.w.Va()),this.o&&g.Sa(a,this.o.Va());else{var b=this.T.va;a={restartmsg:a,mfmt:this.T.Gn()?"0":"1",mdrm:b&&b.videoInfos&&b.videoInfos.length&&
b.videoInfos[0].Nc&&!this.F?"1":"0",mfmtinfo:this.T.Ba?"0":"1",prerolls:mK(this)?this.U.join(","):"0"};b=[this.w,this.o].filter(function(d){return!!d});
b=g.q(b);for(var c=b.next();!c.done;c=b.next())g.Sa(a,c.value.Va())}this.B.onError("qoe.start15s",Qv(a));this.R("loadsofttimeout")}};
g.h.hN=function(){g.W(this.u,128)||this.G&&gw(this.G)||(this.B.onError("qoe.restart",Qv({detail:"bufferattach"})),this.If++,JK(this))};
g.h.gu=function(a){a=void 0===a?!1:a;if(!this.Ia){var b=new YB(this.T,RJ(this,"web_player_inline_botguard"));if("c1a"in b.o&&!ZB(b)&&(2==this.ya&&.01>Math.random()&&Dp(Error("Botguard not available after 2 attempts")),!a&&5>this.ya)){g.zn(this.Xb);this.ya++;return}if(b.T&&b.T.Ji){a=[b.T.Ji];for(var c in b.u)if(b.o[c]&&b.u[c]){var d=b.u[c](b.o);d&&a.push(d)}b=a.join("&")}else b=null;b&&(c=this.B,c.u&&(c=c.u,c.P||(a=ID(c,"atr"),a.G=b,a.send(),c.P=!0)),this.Ia=!0)}};
g.h.Ab=function(){return this.C.Ab()};
g.h.Bb=function(){return this.C?this.C.Bb():0};
g.h.getStreamTimeOffset=function(){return this.C?this.C.getStreamTimeOffset():0};
g.h.setPlaybackRate=function(a){var b=this.T.va&&this.T.va.videoInfos&&32<this.T.va.videoInfos[0].wa().fps&&g.Ix(this.A);this.Ua!=a&&b&&(this.S.setPlaybackRate(a),BK(this));this.Ua=a;this.o&&this.o.setPlaybackRate(a)};
g.h.getPlaybackRate=function(){return this.Ua};
g.h.getPlaybackQuality=function(){var a="unknown";if(this.T.Ba&&(a=this.T.Ba.wa().quality,"auto"==a&&this.o)){var b=dK(this);b&&0<b.videoHeight&&(a=ov(b.videoWidth,b.videoHeight))}return a};
g.h.sendVideoStatsEngageEvent=function(a,b){var c=this.B;c.u?(c=ID(c.u,"engage"),c.B=a,c.send(b)):b&&b()};
g.h.isAtLiveHead=function(a,b){return this.T.ua&&(this.lc||(void 0===b?0:b))?this.C.isAtLiveHead(a):!1};
g.h.sr=function(){return this.o?this.o.pl():{}};
g.h.setLoop=function(a){this.Kc=a;this.o&&this.o.setLoop(a)};
g.h.kG=function(a){RJ(this,"html5_unrewrite_timestamps")&&this.Ra("timestamp",a.toString())};
g.h.Ra=function(a,b,c){var d=this.B;d.o&&vI(d.o,a,b,void 0===c?!1:c)};
g.h.hO=function(a,b){this.B.onError(a,Qv(b))};g.r(kL,PD);g.h=kL.prototype;g.h.N=function(){return this.app.N()};
g.h.getPlaylist=function(){return this.app.getPlaylist()};
g.h.getVideoData=function(a){return(a=g.U(this.app,a))&&a.getVideoData()};
g.h.ue=function(a){return this.app.ue(a)};
g.h.isWidescreen=function(){return this.app.isWidescreen()};
g.h.playVideo=function(a){try{if(3==this.getPresentingPlayerType()){g.tL(this.app.A).tl("control_play");return}if(2===this.getPresentingPlayerType()){var b=WP(this.app.A),c;if(c=b){if(null===b.o)var d=0;else{var e=b.o;d=lV(e.o)&&!!e.u&&e.u.Zs()}c=d}if(c)return}}catch(f){g.N(f)}this.app.playVideo(a)};
g.h.stopVideo=function(a){g.U(this.app,a).stopVideo()};
g.h.addEventListener=function(a,b){this.app.da.subscribe(a,b)};
g.h.removeEventListener=function(a,b){this.app.da.unsubscribe(a,b)};
g.h.setPlaybackQuality=function(a){this.setPlaybackQualityRange(a,a)};
g.h.getDebugText=function(a){return this.app.getDebugText(a)};
g.h.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 k;a||d.ua||(k=Math.floor(this.getCurrentTime(e)));return this.app.getVideoUrl(d.videoId,f?void 0:this.getPlaylistId()||void 0,k,b,c)};
g.h.setCardsVisible=function(a,b,c){var d=g.yL(g.lL(this));d&&d.setCardsVisible(a,b,c)};
g.h.Pc=function(){if(this.N().H)return!1;var a=g.U(this.app,1);if(!a)return!1;var b=a.getVideoData();return!b.isValid()||g.JB(b)||2==this.getPresentingPlayerType()&&!this.app.Ob()||mK(a)&&3!=this.getPresentingPlayerType()?!1:!0};
g.h.sendVideoStatsEngageEvent=function(a,b,c){this.app.sendVideoStatsEngageEvent(a,c,b)};
g.h.setPlaybackRate=function(a,b){this.app.setPlaybackRate(a,b)};
g.h.setVolume=function(a){a=g.sd(a,0,100);QC(this.app,{volume:a,muted:this.isMuted()},!0)};
g.h.mute=function(){QC(this.app,{muted:!0,volume:this.getVolume()},!0)};
g.h.unMute=function(){QC(this.app,{muted:!1,volume:Math.max(5,this.getVolume())},!0)};
g.h.getBandwidthEstimate=function(){return ix(this.N().schedule)};
g.h.rb=function(){return g.U(this.app)};
g.h.getPresentingPlayerType=function(){return this.app.getPresentingPlayerType()};
g.h.clearQueue=function(){this.app.clearQueue()};
g.h.Ob=function(){return this.app.Ob()};var ika=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.r(bM,g.Q);g.h=bM.prototype;g.h.zI=function(a){a=Kq(a);if(!xd(a,this.B)){var b=2;this.F&&(b|=8);this.B=a;this.Qb(b,!0)}};
g.h.KJ=function(){this.F&&this.Qb(8,!0);this.Qb(2,!1)};
g.h.ht=function(a){var b=Kq(a);xd(b,this.B)||(this.B=b,(a=g.Hq(a))&&this.S(a)&&(this.Qb(4,!0),this.o.Wa(this.A),this.A=this.o.L(this.w,"mouseover",this.Hz),this.P=this.o.L(this.w,"mouseout",this.Hz)))};
g.h.Hz=function(a){a=Jq(a);a&&this.S(a)||(this.B=new g.wd(NaN,NaN),cM(this))};
g.h.aG=function(){this.Qb(1,!0)};
g.h.BE=function(a){a=g.Hq(a);a instanceof Element&&!(0<a.tabIndex)||this.Qb(1,!0)};
g.h.Gz=function(){this.F=!0;this.o.Wa(this.C);this.C=this.o.L(document,"mouseup",this.AI)};
g.h.AI=function(){this.F=!1;this.Qb(8,!1);this.o.Wa(this.C);this.C=this.o.L(this.w,"mousedown",this.Gz)};
g.h.Iz=function(a){if(a=(a=a.changedTouches)&&a[0])this.U=a.identifier,this.o.Wa(this.G),this.G=this.o.L(this.w,"touchend",this.BI,void 0,!0),this.Qb(1024,!0)};
g.h.BI=function(a){if(a=a.changedTouches)for(var b=0;b<a.length;b++){var c=a[b];if(c.identifier==this.U){var d=c;break}}d&&(this.o.Wa(this.G),this.G=this.o.L(this.w,"touchstart",this.Iz,void 0,!0),this.Qb(1024,!1))};
g.h.Qb=function(a,b){var c=!this.u;b?(this.u|=a,a&1&&this.H.start(),a&2&&this.J.start()):(this.u&=~a,a&1&&this.H.stop(),a&2&&this.J.stop(),a&512&&this.O.stop());this.u&512&&!(this.u&128)&&g.zn(this.O,this.V);var d=!this.u;c!=d&&this.R("autohideupdate",d)};
g.h.toString=function(){return g.Q.prototype.toString.call(this)};g.r(g.dM,g.B);g.h=g.dM.prototype;g.h.show=function(a){1!==this.state&&2!==this.state&&(4===this.state&&this.Bp(),5===this.state?(this.element.show(),this.state=null,this.delay.stop(),this.o&&this.o()):this.element.Fa()||(eM(this,!0),this.state=1,a?this.delay.start(a):this.Bp()))};
g.h.hide=function(){4!==this.state&&(1===this.state||2===this.state?(this.element.hide(),this.state=null,this.delay.stop()):this.element.Fa()&&(eM(this,!0),this.state=4,this.delay.start(this.A)))};
g.h.Bp=function(){switch(this.state){case 1:this.element.show();this.state=2;this.delay.start(10);break;case 2:eM(this,!1);this.state=3;this.delay.start(this.w);break;case 3:this.state=null;this.o&&this.o();break;case 4:this.element.hide();eM(this,!1);this.state=5;this.delay.start(0);break;case 5:this.state=null,this.u&&this.u()}};
g.h.stop=function(){for(;null!==this.state&&5!==this.state;)this.delay.stop(),this.Bp()};
g.h.Y=function(){this.element.la()||this.element.element.removeAttribute("aria-hidden");g.B.prototype.Y.call(this)};g.r(g.HM,g.V);
g.HM.prototype.w=function(){var a=this.u.getVideoData(),b=this.u.N();if(a.uc&&a.Qf)var c=b.B?[{D:"div",I:"ytp-large-play-button-circle",M:{style:"background-color: "+a.Qf}},g.Y?{D:"div",X:["ytp-icon","ytp-icon-dni-large-play-button"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"4 -6 60 60",width:"100%"},K:[{D:"path",M:{d:"m 26.96,13.67 18.37,9.62 -18.37,9.55 -0.00,-19.17 z",fill:"#fff"}}]}]:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-dni-large-lozenge-play-button"]}:{D:"svg",M:{height:"100%",version:"1.1",
viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",I:"ytp-dni-large-play-button-bg",M:{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"}},{D:"path",M:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}];else b.B&&!b.Zb?
c=[g.Y?{D:"div",X:["ytp-icon","ytp-icon-large-play-button-hover"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",I:"ytp-large-play-button-bg",M:{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"}},
{D:"path",M:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]:(g.L(this.element,"ytp-touch-device",b.o),c=[b.Zb?g.Y?{D:"div",X:["ytp-icon","ytp-icon-house-brand-large-play-button"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 60 60",width:"100%"},K:[{D:"path",I:"ytp-large-play-button-bg",M:{d:"M30,0A30,30,0,1,0,60,30,30,30,0,0,0,30,0Z",fill:"#1f1f1f"}},{D:"path",M:{d:"M21,41.65V18L43.7,29.85Z",fill:"#fff"}}]}:g.Y?{D:"div",X:["ytp-icon","ytp-icon-large-play-button"]}:{D:"svg",M:{height:"100%",version:"1.1",
viewBox:"0 0 68 48",width:"100%"},K:[{D:"path",I:"ytp-large-play-button-bg",M:{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"}},{D:"path",M:{d:"M 45,24 27,14 27,34",fill:"#fff"}}]}]);this.ha("largePlayButtonChildren",
c);a.uc&&a.Qf&&!b.B&&this.o["ytp-dni-large-play-button-bg"].setAttribute("fill",a.Qf)};g.r(IM,g.V);g.h=IM.prototype;g.h.show=function(){var a=this;this.Fa()||(this.B.L(this.u,"videodatachange",function(){return g.zn(a.w)}),this.B.L(this.u,"videoplayerreset",function(){return g.zn(a.w)}));
g.V.prototype.show.call(this)};
g.h.hide=function(){this.B&&g.vr(this.B);g.V.prototype.hide.call(this)};
g.h.MI=function(){g.zn(this.w)};
g.h.NI=function(a){var b=this.u.N();g.R(b.experiments,"disable_new_pause_state3")&&Qx(b)&&(a=a.state.isCued()&&!a.o.isCued()||g.uL(this.u)&&g.W(a.state,2),g.th(this.element,"transition-delay",a?"2s":""));g.zn(this.w)};
g.h.PN=function(){g.zn(this.w)};
g.h.LI=function(){this.A.stop();this.hide();g.zn(this.w)};
g.h.Kz=function(){var a=g.sL(this.u);if(3==this.u.getPresentingPlayerType()&&(g.wD(a)||g.W(a,4)))var b=!0;else(b=g.lL(this.u).u.get("ypc"))&&b.H?b=!0:(b=this.u.N(),b=g.W(a,2)&&nL(this.u)&&b.Ia?!0:!1);b?(b=!0,this.C.hide()):(this.C.show(),a.isCued()&&2!=this.u.getPresentingPlayerType()?b=!0:(b=!g.R(this.u.N().experiments,"disable_new_pause_state3"),b=!(!g.W(a,2)||nL(this.u)||b&&g.fT(this.u.app))||g.W(a,1024)?!0:!1));b?(this.A.show(),a=this.u.getVideoData(),this.eP(this.u.getPlaylist(),a)):(this.A.hide(),
g.W(a,1)||this.A.stop())};
g.h.eP=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c-0]=arguments[c];b=g.q(b);for(c=b.next();!c.done;c=b.next())if(c=c.value,!(!c||c instanceof g.cB&&!c.videoId)){var d=g.pL(this.u).getPlayerSize();var e=g.Rx(),f=d.width*e;e*=d.height;if(1280<f||720<e)if(d=c.Bc("maxresdefault.jpg"))break;if(640<f||480<e)if(d=c.Bc("maxresdefault.jpg"))break;if(320<f||180<e)if(d=c.Bc("sddefault.jpg")||c.Bc("hqdefault.jpg")||c.Bc("mqdefault.jpg"))break;if(d=c.Bc("default.jpg"))break}this.F.style.backgroundImage=
d?"url("+d+")":""};g.r(g.UM,g.V);g.UM.prototype.u=function(){};
g.UM.prototype.B=function(a){for(var b=0;b<this.A.length;b++)this.Wa(this.A[b]);this.A=[];var c=a.Tq;b=this.api.N();if("GENERIC_WITHOUT_LINK"!=c||b.Zb)"TOO_MANY_REQUESTS"==c?(b=this.api.getVideoData(),this.ub(WM(this,"TOO_MANY_REQUESTS_WITH_LINK",b.Rh(),void 0,void 0,void 0,!1))):"HTML5_NO_AVAILABLE_FORMATS_FALLBACK"!=c||b.Zb?this.ub(g.VM(a.errorMessage)):this.ub(WM(this,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK","//www.youtube.com/supported_browsers"));else if(a=b.hostLanguage,c="//support.google.com/youtube/?p=player_error1",
a&&(c=g.eh(c,{hl:a})),this.ub(WM(this,"GENERIC_WITH_LINK_AND_CPN",c,!0)),b.ga&&!b.u)for(b=(0,g.x)(this.F,this),a=this.element.getElementsByTagName("a"),c=0;c<a.length;c++){var d=this.L(a[c],"click",b);this.A.push(d)}};
g.UM.prototype.F=function(a){if(g.PM(a,this.api,!Qx(this.api.N()))){a={as3:!1,html5:!0,player:!0,cpn:this.api.getVideoData().clientPlaybackNonce};var b=this.api;b.ka("onFeedbackArticleRequest",{articleId:3037019,helpContext:"player_error",productData:a});b.isFullscreen()&&b.toggleFullscreen()}};
var jka=/<a\s+href=["']([^"']+)["'](?:\s+target=["']([^"']+)["'])?>([^<>]+)<\/a>/;g.r(YM,g.P);YM.prototype.B=function(){this.A();var a=this.o.getVideoData();if(a.isValid()){var b=[];this.o.N().G||b.push({src:a.Bc("mqdefault.jpg"),sizes:"320x180"});this.u.metadata=new MediaMetadata({title:a.title,artist:a.author,artwork:b});b=a=null;g.uL(this.o)&&(this.w["delete"]("nexttrack"),this.w["delete"]("previoustrack"),a=(0,g.x)(function(){this.o.nextVideo()},this),b=(0,g.x)(function(){this.o.previousVideo()},this));
XM(this,"nexttrack",a);XM(this,"previoustrack",b)}};
YM.prototype.A=function(){var a=g.sL(this.o);a=a.isError()?"none":g.xD(a)?"playing":"paused";this.u.playbackState=a};
YM.prototype.Y=function(){this.u.playbackState="none";this.u.metadata=null;for(var a=g.q(this.w),b=a.next();!b.done;b=a.next())XM(this,b.value,null);g.P.prototype.Y.call(this)};g.r(ZM,g.V);ZM.prototype.U=function(a,b){$M(this,b);this.C&&aN(this,this.C)};
ZM.prototype.S=function(a){var b=this.J.getVideoData();this.w!=b.videoId&&$M(this,b);this.u&&aN(this,a.state);this.C=a.state};
ZM.prototype.O=function(){this.B.hide();this.w&&(this.A[this.w]=(this.A[this.w]||0)+((0,g.I)()-this.G));this.G=0};g.r(cN,g.V);cN.prototype.hide=function(){this.u.stop();this.A.style.display="none";g.V.prototype.hide.call(this)};
cN.prototype.B=function(a){bN(this,a.state)};
cN.prototype.C=function(){bN(this,g.sL(this.w))};
cN.prototype.F=function(){this.A.style.display="block"};g.r(eN,g.V);eN.prototype.A=function(){var a=g.U(this.u.app);a&&a.o&&a.o.Es()};
eN.prototype.w=function(){var a=g.U(this.u.app);g.FC(this,!!a&&a.pc);this.ha("icon",this.u.ci()?g.Y?{D:"div",X:["ytp-icon","ytp-icon-airplay-on"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M11,13 L25,13 L25,21 L11,21 L11,13 Z M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z",fill:"#fff"}}]}:
g.Y?{D:"div",X:["ytp-icon","ytp-icon-airplay-off"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M12,28 L24,28 L18,22 L12,28 Z M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,23 C7,24.1 7.9,25 9,25 L13,25 L13,23 L9,23 L9,11 L27,11 L27,23 L23,23 L23,25 L27,25 C28.1,25 29,24.1 29,23 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z"}}]})};g.r(g.gN,g.V);g.gN.prototype.Y=function(){this.u=null;g.V.prototype.Y.call(this)};hN.prototype.getLength=function(){return this.o-this.u};g.r(kN,g.V);mN.prototype.update=function(a,b,c,d){this.width=b;this.w=c;this.B=d;this.o=b-c-d;this.position=g.sd(a,c,c+this.o);this.A=this.position-c;this.u=this.A/this.o};g.r(g.pN,g.GC);g.h=g.pN.prototype;g.h.Iu=function(){this.V=this.u.length-1;this.sa=0;rN(this,!0)&&rN(this,!1)};
g.h.YI=function(a){if(!g.Mq(a)){var b=!1;switch(g.Nq(a)){case 36:this.w.seekTo(0);b=!0;break;case 35:this.w.seekTo(Infinity);b=!0;break;case 34:this.w.seekBy(-60);b=!0;break;case 33:this.w.seekBy(60);b=!0;break;case 38:this.w.seekBy(5);b=!0;break;case 40:this.w.seekBy(-5),b=!0}b&&g.Lq(a)}};
g.h.Nz=function(a,b){oN(this,b,"newdata"==a)};
g.h.pF=function(){this.Nz("newdata",this.w.getVideoData())};
g.h.XI=function(a){this.H&&!g.W(a.state,32)&&3!=this.w.getPresentingPlayerType()&&this.H.cancel()};
g.h.EC=function(a){(this.J=a)?(this.ha("clipstarticon",tM()),this.ha("clipendicon",tM()),this.ha("clipstarttitle",null),this.ha("clipendtitle",null)):(this.ha("clipstarticon",lM()),this.ha("clipendicon",kM()),this.ha("clipstarttitle","Videonun tamam\u0131n\u0131 izleyin"),this.ha("clipendtitle","Videonun tamam\u0131n\u0131 izleyin"));yN(this);uN(this,this.G,this.na)};
g.h.pM=function(a,b,c){var d=g.Gh(this.element),e=BN(this).o,f=c?c.getAttribute("data-tooltip"):void 0,k=c?c.getAttribute("data-position"):void 0,l=c?c.getAttribute("data-offset-y"):void 0;l=l?parseInt(l,10):0;k&&(a=jN(this.A,Number(c.getAttribute("data-position")),0)*e+g.Gh(this.Wb).x);this.Qa.x=a-d.x;this.Qa.y=b-d.y;b=BN(this);c=iN(this.A,b.u);a=f||g.$L(this.gb?c-this.A.o:c);b=b.position+this.Aa;c-=this.w.Bb();g.R(this.w.N().experiments,"web_wn_macro_markers")?(d=this.O.B,l=(isNaN(l)?0:l)-35*d,
e=IN(this,1E3*c),e=this.u[e].title,e||(e="",l+=16*d),.6===this.O.B&&(l=e?120:136),iR(this.O,b,c,a,!!f,l,e)):iR(this.O,b,c,a,!!f,l);g.L(g.qL(this.w),"ytp-progress-bar-hover",!g.W(g.sL(this.w),64));wN(this)};
g.h.oM=function(){g.zN(this.O);g.Kn(g.qL(this.w),"ytp-progress-bar-hover")};
g.h.nM=function(a,b){this.F&&(this.F.dispose(),this.F=null);this.Xb=b;this.w.seekTo(iN(this.A,BN(this).u),!1);g.K(this.element,"ytp-drag");(this.ob=g.xD(g.sL(this.w)))&&this.w.pauseVideo()};
g.h.qM=function(){this.Ea=0;g.Kn(this.element,"ytp-pull-ui");g.Kn(this.element,"ytp-pulling");this.F&&(this.F.dispose(),this.F=null);0<this.S&&(this.F=new g.vn((0,g.x)(this.WD,this,(0,g.O)(),this.S,BN(this).position)),this.F.start());if(g.W(g.sL(this.w),32)||3==this.w.getPresentingPlayerType())this.w.seekTo(iN(this.A,BN(this).u)),g.Kn(this.element,"ytp-drag"),this.ob&&!g.W(g.sL(this.w),2)&&this.w.playVideo()};
g.h.WD=function(a,b,c){a=1-Math.pow(1-((0,g.O)()-a)/200,3);c+=a*(this.G*this.C-c);if(0>a||1<a)a=1;AN(this,(1-a)*b,c,this.G);1>a&&this.F.start()};
g.h.rM=function(a,b){var c=!1,d=!1,e=BN(this);3600<=this.A.getLength()&&(AN(this,this.Xb-b-10,e.position,e.u),d=!0,c=this.S>.1*(this.B?60:40),e=BN(this));g.L(this.element,"ytp-pull-ui",d);c&&g.K(this.element,"ytp-pulling");c=0;e.w&&0>=e.position?c=-1:e.B&&e.position>=e.width&&(c=1);this.Ea!=c&&(this.Ea=c,this.F&&(this.F.dispose(),this.F=null),c&&(this.F=new g.vn((0,g.x)(this.xO,this,(0,g.O)(),this.U)),this.F.start()));this.w.seekTo(iN(this.A,e.u),!1)};
g.h.xO=function(a,b){var c=this.C*(this.da-1);this.U=g.sd(b+this.Ea*((0,g.O)()-a)*.3,0,c);g.vN(this);this.w.seekTo(iN(this.A,BN(this).u),!1);0<this.U&&this.U<c&&this.F.start()};
g.h.vA=function(){this.J||(this.ha("clipstarticon",jM()),this.ha("clipendicon",jM()),g.K(this.element,"ytp-clip-hover"))};
g.h.uA=function(){this.J||(this.ha("clipstarticon",lM()),this.ha("clipendicon",kM()),g.Kn(this.element,"ytp-clip-hover"))};
g.h.Yo=function(){this.ga=0;this.ea=Infinity;yN(this);uN(this,this.G,this.na)};
g.h.FC=function(a){a=g.q(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.Z[c]){var d=g.Vd("DIV");b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);this.Z[c]=b;this.za[c]=d;Hn(d,b.style);CN(this,c);g.R(this.w.N().experiments,"disable_ad_markers_on_content_progress_bar")||this.u[0].C.appendChild(d)}}else JN(this,b)};
g.h.lO=function(a){a=g.q(a);for(var b=a.next();!b.done;b=a.next())JN(this,b.value)};
g.h.Y=function(){xN(this,!1);g.GC.prototype.Y.call(this)};g.r(LN,g.V);g.r(g.NN,g.V);g.NN.prototype.G=function(a){g.W(a.state,32)?ON(this,this.u.ue()):this.Fa()&&(g.W(a.state,16)||g.W(a.state,1))||this.A.hide()};
g.NN.prototype.H=function(){var a=g.sL(this.u);(g.W(a,32)||g.W(a,16))&&PN(this)};
g.NN.prototype.C=function(){this.B=NaN;PN(this)};
g.NN.prototype.hide=function(){this.Hd&&ON(this,null);g.V.prototype.hide.call(this)};g.r(QN,g.V);QN.prototype.G=function(){g.PL(this.u,this.element);this.u.ka("onFullerscreenEduClicked")};
QN.prototype.w=function(){this.u.isFullscreen()?this.A?this.B.hide():this.B.show():this.hide();g.QL(this.u,this.element,this.u.isFullscreen()&&!this.A)};g.r(RN,g.GC);g.h=RN.prototype;g.h.show=function(){var a=TN(this);g.GC.prototype.show.call(this);this.da&&(this.H.L(window,"blur",this.nb),this.H.L(document,"click",this.WI));a||this.R("show",!0)};
g.h.hide=function(){var a=TN(this);g.GC.prototype.hide.call(this);SN(this);a&&this.R("show",!1)};
g.h.Ed=function(a,b){this.u=a;this.U.show();b?(this.J||(this.J=this.H.L(this.V,"appresize",this.Yv)),this.Yv()):this.J&&(this.H.Wa(this.J),this.J=null)};
g.h.EE=function(){this.u&&(this.u.getAttribute("aria-haspopup"),this.u.setAttribute("aria-expanded",!0),g.R(this.V.N().experiments,"embeds_enable_new_playlist_killswitch")?document.activeElement&&g.ce(this.u,document.activeElement)&&this.focus():this.focus())};
g.h.Yv=function(){g.WC(this.V).Cj(this.element,this.u)};
g.h.nb=function(){var a=TN(this);SN(this);this.U.hide();a&&this.R("show",!1)};
g.h.Xe=function(a,b){TN(this)?this.nb():this.Ed(a,b)};
g.h.WI=function(a){var b=Iq(a);b&&(g.ce(this.element,b)||this.u&&g.ce(this.u,b)||!g.aM(a))||this.nb()};g.r(g.VN,g.V);g.h=g.VN.prototype;g.h.OI=function(){this.w.N().ca?this.w.toggleFullscreen():this.u.Xe(this.element,!0)};
g.h.CA=function(){UN(this);this.u.Ed(this.element,!0)};
g.h.QI=function(){rr()==g.qL(this.w)?this.B.start():(this.B.stop(),this.u&&this.u.hide())};
g.h.aE=function(){if(window.screen&&window.outerWidth&&window.outerHeight){var a=.9*window.screen.width,b=.9*window.screen.height,c=Math.max(window.outerWidth,window.innerWidth),d=Math.max(window.outerHeight,window.innerHeight);if(c>d!=a>b){var e=c;c=d;d=e}a>c&&b>d&&this.CA()}};
g.h.Lz=function(){g.FC(this,OM(this.w))};
g.h.UB=function(a){if(a){var b=g.Y?{D:"div",X:["ytp-icon","ytp-icon-full-screen-close"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",I:"ytp-fullscreen-button-corner-2",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-3",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-0",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",
M:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-1",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.TM(this.w,"Tam ekrandan \u00e7\u0131k","f");document.activeElement==this.element&&g.qL(this.w).focus()}else b=g.Y?{D:"div",X:["ytp-icon","ytp-icon-full-screen"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"g",I:"ytp-fullscreen-button-corner-0",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",
M:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-1",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-2",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{D:"g",I:"ytp-fullscreen-button-corner-3",K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.TM(this.w,"Tam ekran","f");this.ha("icon",
b);this.ha("title",this.u?null:a);iO(this.C.Ya())};
g.h.Y=function(){this.u||(this.A(),this.A=null);g.V.prototype.Y.call(this)};g.r(WN,g.V);WN.prototype.B=function(){this.u.ka("onCollapseMiniplayer");g.PL(this.u,this.element)};
WN.prototype.A=function(){this.w=!this.u.isFullscreen();g.FC(this,this.w);g.QL(this.u,this.element,this.w&&this.P)};
WN.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.w&&a)};g.r(XN,RN);g.h=XN.prototype;g.h.show=function(){var a=this.Fa();RN.prototype.show.call(this);a||(this.B.L(this.w,"presentingplayerstatechange",this.lt),this.B.L(this.w,"videodatachange",this.lt),this.lt())};
g.h.hide=function(){this.B&&(g.vr(this.B),RN.prototype.hide.call(this))};
g.h.lt=function(){var a=this.w.getVideoData(),b=a.yh,c;for(c=0;c<b.length;c++){var d=this.A[c];d||(d=new g.V({D:"button",X:["ytp-multicam-menu-item","ytp-button"],M:{"aria-checked":"{{selected}}","data-id":"{{videoId}}"},K:[{D:"div",I:"ytp-multicam-menu-item-title",W:"{{cameraName}}"}]}),d.ia("click",g.Ra(this.GK,c),this),d.ba(this.Ga),this.A[c]=d);var e=b[c],f=e.id;if(f!=d.element.getAttribute("data-id")){var k=e.thumbnail_url;!k&&f&&(k=Px(this.w.N(),f,"default.jpg"));d.element.style.backgroundImage=
k?"url("+k+")":""}d.update({cameraName:e.title,videoId:f,selected:f==a.videoId?!0:null})}for(;c<this.A.length;)this.A.pop().dispose();c=g.sL(this.w);a=b.length||!a.Pb();g.xD(c)||g.W(c,4)||a||!TN(this)||this.Xe()};
g.h.GK=function(a){var b=this.w.getVideoData(),c=this.w;a=b.yh[a];b=g.U(c.app,1).getVideoData();var d=c.getCurrentTime();a.id==b.videoId?g.U(c.app)!=g.U(c.app,1)&&(g.LR(c.app,1),b.ua||c.seekTo(d)):(g.LR(c.app,4),c.app.loadVideoByPlayerVars({videoId:a.id,title:b.title,start:b.ua?null:d,raw_player_response:{multicamera:{playerLegacyMulticameraRenderer:{metadataList:b.eA}}}},4))};
g.h.focus=function(){for(var a=this.w.getVideoData(),b=a.yh,c=0;c<b.length;c++)if(b[c].id==a.videoId){this.A[c].focus();break}};
g.h.Y=function(){g.ne(this.A);RN.prototype.Y.call(this)};g.r(YN,g.V);YN.prototype.F=function(a){this.w("newdata"==a)};
YN.prototype.w=function(a){var b=this.C.getVideoData(),c=b.yh,d=g.sL(this.C);d=(g.xD(d)||g.W(d,4))&&0<c.length;g.FC(this,d);a&&(this.A=!0);if(d){this.A&&g.zn(this.B);a=null;d="";for(var e=0;e<c.length;e++)if(c[e].id==b.videoId){a=c[e].title;d=g.JM("$CAMERA_INDEX/$CAMERA_COUNT g\u00f6r\u00fcnt\u00fcleniyor",{CAMERA_INDEX:String(e+1),CAMERA_COUNT:String(c.length)})+"\n";break}this.update({text:d+a,preview:b.Bc("default.jpg")});iO(this.u)}else this.B.stop()};
YN.prototype.G=function(){KQ(this.u,this.element,"Daha fazla kamera kullan\u0131labilir");this.A=!1};g.r(ZN,g.B);ZN.prototype.u=function(){var a=(0,g.O)()-this.A;a=a<this.o?a/this.o:1;this.B(g.Sn(sqa,a));1>a&&this.w.start()};
var sqa=new g.Rn(0,0,.4,0,.2,1,1,1),kka=/[0-9.-]+|[^0-9.-]+/g;g.r(fO,g.V);fO.prototype.oc=function(a){this.B=300<=a.width;g.FC(this,this.B);g.QL(this.u,this.element,this.B&&this.P)};
fO.prototype.da=function(){this.u.N().J?this.u.isMuted()?this.u.unMute():this.u.mute():this.Z.Xe(this.element,!0);g.PL(this.u,this.element)};
fO.prototype.ea=function(a){eO(this,a.volume,a.muted)};
fO.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.B&&a)};
var lka=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",24.77," C",21.89,",",23.85," ",24,",",21.17," ",24,",",18," C",24,",",14.83," ",21.89,",",12.15," ",19,",",11.29," L",19,",",11.29," Z"],mka=["M",19,",",11.29," C",21.89,",",12.15," ",24,",",14.83," ",24,",",18," C",24,",",21.17," ",21.89,",",23.85," ",19,",",24.71," L",19,",",26.77," C",23.01,",",25.86," ",26,",",22.28," ",26,",",18," C",26,",",13.72," ",
23.01,",",10.14," ",19,",",9.23," L",19,",",11.29," Z"];g.r(jO,g.V);jO.prototype.w=function(){this.u.togglePictureInPicture()};g.r(g.lO,g.V);g.lO.prototype.F=function(a){kO(this,a.state)};
g.lO.prototype.B=function(){g.L(this.element,"ytp-play-button-playlist",g.uL(this.u))};
g.lO.prototype.G=function(){g.xD(g.sL(this.u))?this.u.pauseVideo():this.u.playVideo()};g.r(g.pO,g.V);g.h=g.pO.prototype;g.h.yj=function(){qO(this);this.F&&(this.Wa(this.F),this.F=null);this.T=this.u.getVideoData(1);if(this.w=this.u.getPlaylist())this.w.subscribe("shuffle",this.yj,this),this.F=this.L(this.u,"progresssync",this.UI);this.C=rO(this);oO(this);this.oc(g.pL(this.u).getPlayerSize())};
g.h.oc=function(a){a=void 0===a?g.pL(this.u).getPlayerSize():a;var b=g.uL(this.u)||this.A&&g.LL(this.u)||sO(this);g.FC(this,b&&(this.A||400<=a.width))};
g.h.VI=function(a){var b=!0;this.H?b=g.PM(a,this.u):g.Lq(a);b&&(this.A&&5==this.u.getPresentingPlayerType()?this.u.R("ytoprerollinternstitialnext"):this.A?this.u.nextVideo(!0):this.C?this.u.seekTo(0):this.u.previousVideo(!0))};
g.h.UI=function(){var a=rO(this);a!=this.C&&(this.C=a,oO(this))};
g.h.Y=function(){this.B&&(this.B(),this.B=null);qO(this);g.V.prototype.Y.call(this)};g.r(g.tO,g.IC);g.tO.prototype.J=function(){this.setValue(!this.w);this.R("select",this.w)};
g.tO.prototype.getValue=function(){return this.w};
g.tO.prototype.setValue=function(a){this.w=a;this.element.setAttribute("aria-checked",this.w)};g.r(uO,g.tO);uO.prototype.C=function(){g.yL(g.lL(this.A))&&3!=this.A.getPresentingPlayerType()?this.u||(g.kP(this.B,this),this.u=!0):this.u&&(g.lP(this.B,this),this.u=!1);this.setValue(vO(this))};
uO.prototype.F=function(a){vO(this);a?this.A.loadModule("annotations_module"):this.A.unloadModule("annotations_module")};
uO.prototype.Y=function(){this.u&&g.lP(this.B,this);g.tO.prototype.Y.call(this)};g.r(wO,g.GC);wO.prototype.ga=function(){this.R("size-change")};
wO.prototype.focus=function(){this.V.focus()};
wO.prototype.sa=function(){this.R("back")};g.r(g.xO,wO);g.xO.prototype.Z=function(){this.F.R("size-change")};
g.xO.prototype.focus=function(){for(var a=0,b=0;b<this.Ga.length;b++)if("true"==this.Ga[b].element.getAttribute("aria-checked")){a=b;break}this.Ga[a].focus()};g.r(g.BO,g.IC);g.h=g.BO.prototype;g.h.open=function(){g.KO(this.w,this.G)};
g.h.Ce=function(a){CO(this);this.A[a].element.setAttribute("aria-checked",!0);this.ub(this.Re(a));this.F=a};
g.h.tq=function(a,b,c){b=new g.IC({D:"div",X:["ytp-menuitem"],M:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":void 0},K:[{D:"div",X:["ytp-menuitem-label"],W:"{{label}}"}]},b,this.Re(a,!0));b.ia("click",(0,g.x)(this.aJ,this,a));return b};
g.h.enable=function(a){this.H?a||(this.H=!1,this.zj(!1)):a&&(this.H=!0,this.zj(!0))};
g.h.zj=function(a){a?g.kP(this.w,this):g.lP(this.w,this)};
g.h.Zc=function(a){this.R("select",a)};
g.h.aJ=function(a){this.Zc(a)};
g.h.Re=function(a){return a.toString()};
g.h.ZI=function(a){g.Mq(a)||39!=g.Nq(a)||(this.open(),g.Lq(a))};
g.h.Y=function(){this.H&&g.lP(this.w,this);g.IC.prototype.Y.call(this);for(var a in this.A)this.A[a].dispose()};g.r(EO,g.BO);EO.prototype.C=function(){var a=this.u.getAvailableAudioTracks();1<a.length?(g.DO(this,(0,g.A)(a,this.B)),this.O=g.wb(a,this.B,this),this.J.ub(a.length?" ("+a.length+")":""),this.R("size-change"),this.Ce(this.B(this.u.getAudioTrack())),this.enable(!0)):this.enable(!1)};
EO.prototype.Zc=function(a){g.BO.prototype.Zc.call(this,a);this.u.setAudioTrack(this.O[a]);this.w.Pd()};
EO.prototype.B=function(a){return a.toString()};g.r(FO,g.tO);FO.prototype.C=function(){var a=this.u.getPresentingPlayerType();if(2!=a&&3!=a&&g.LL(this.u))this.B||(g.kP(this.F,this),this.B=!0,this.A.push(this.L(this.u,"videodatachange",this.C)),this.A.push(this.L(this.u,"videoplayerreset",this.C)),this.A.push(this.L(this.u,"onPlaylistUpdate",this.C)),this.A.push(this.L(this.u,"autonavchange",this.G)),a=this.u.getVideoData(),this.G(a.autonavState));else if(this.B){g.lP(this.F,this);this.B=!1;a=g.q(this.A);for(var b=a.next();!b.done;b=a.next())this.Wa(b.value)}};
FO.prototype.G=function(a){this.setValue(1!=a)};
FO.prototype.H=function(a){var b=this.u;a=a?2:1;b.app.u.ka("onAutonavChangeRequest",1!=a);a&&WT(b.app,a)};
FO.prototype.Y=function(){this.B&&g.lP(this.F,this);g.tO.prototype.Y.call(this)};g.r(g.GO,RN);g.h=g.GO.prototype;g.h.show=function(){RN.prototype.show.call(this);this.Qj()};
g.h.hide=function(){RN.prototype.hide.call(this);1<this.A.length&&g.LO(this)};
g.h.Qj=function(){MO(this);this.Fa()&&(IO(this),g.Mh(this.element,this.size))};
g.h.Pd=function(){var a=this.A.pop(),b=HO(this);JO(this,a,b,!0)};
g.h.LO=function(a,b,c){this.F.dispose();this.F=null;g.K(this.element,"ytp-popup-animating");c?(g.K(a.element,"ytp-panel-animate-forward"),g.Kn(b.element,"ytp-panel-animate-back")):(g.K(a.element,"ytp-panel-animate-back"),g.Kn(b.element,"ytp-panel-animate-forward"));g.Mh(this.element,this.size);this.C=new g.J(g.Ra(this.fK,a,b),250,this);this.C.start()};
g.h.fK=function(a){g.Kn(this.element,"ytp-popup-animating");g.CC(a);g.Ln(a.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);this.C.dispose();this.C=null};
g.h.TI=function(a){if(!g.Mq(a))switch(g.Nq(a)){case 27:this.nb();g.Lq(a);break;case 37:1<this.A.length&&this.Pd();g.Lq(a);break;case 39:g.Lq(a)}};
g.h.focus=function(){HO(this).focus()};
g.h.Y=function(){RN.prototype.Y.call(this);this.F&&this.F.dispose();this.C&&this.C.dispose()};g.r(NO,g.BO);g.h=NO.prototype;g.h.Al=function(){var a=this.u.getPresentingPlayerType();if(2!=a&&3!=a&&(this.C=g.wL(this.u),a=this.u.getAvailableQualityLevels(),g.IL(this.u)&&g.JL(this.u)&&a.unshift("missing-qualities"),hka(this.u)&&a.unshift("inline-survey"),g.DO(this,a),a.length)){this.Oz();this.enable(!0);return}this.enable(!1)};
g.h.Oz=function(){var a=this.u.getPreferredQuality();this.A[a]&&(this.B=this.u.getPlaybackQuality(),this.Ce(a),"auto"==a&&this.ub(this.Re(a)))};
g.h.Zc=function(a){"missing-qualities"!=a&&(g.BO.prototype.Zc.call(this,a),this.u.setPlaybackQuality(a),this.w.nb(),this.Al())};
g.h.tq=function(a,b,c){var d=this;if("inline-survey"!=a)return g.BO.prototype.tq.call(this,a,b,c);a=[{D:"span",W:"\u0130yi g\u00f6r\u00fcn\u00fcyor mu?"}];c={};for(var e=g.q([!0,!1]),f=e.next();!f.done;c={sm:c.sm},f=e.next())c.sm=f.value,f=new g.V({D:"span",I:"ytp-menuitem-inline-survey-response",K:[c.sm?g.rM():oM()],M:{tabindex:"0",role:"button"}}),f.ia("click",function(k){return function(){var l=g.U(d.u.app);l&&(l.Ra("iqsr",""+ +k.sm),l.getVideoData().ay=!0);d.w.nb();d.Al()}}(c)),a.push(f);
return new g.IC({D:"div",I:"ytp-menuitem",M:{"aria-disabled":!0},K:[{D:"div",X:["ytp-menuitem-label"],K:a}]},b)};
g.h.Re=function(a,b){b=void 0===b?!1:b;if("missing-qualities"==a)return{D:"a",M:{href:"https://support.google.com/youtube/?p=missing_quality",target:this.u.N().A},W:"Se\u00e7enekler eksik mi?"};if("inline-survey"==a)return"";var c=[OO(this,a)],d=this.u.getPreferredQuality();b||"auto"!=d||"auto"!=a||(c.push(" "),c.push(OO(this,this.B,["ytp-menu-label-secondary"])));return{D:"div",K:c}};g.r(PO,g.V);PO.prototype.oc=function(a){g.FC(this,this.B&&400<=a.width)};
PO.prototype.C=function(){if(this.A.Fa())this.A.nb();else{var a=g.PP(g.lL(this.u));a&&!a.loaded&&(a.Mc("tracklist",{includeAsr:!0}).length||a.load());this.A.Ed(this.element)}};
PO.prototype.w=function(){var a=(a=g.U(this.u.app))?!!(a.T.Ba&&a.T.Ba.video&&tv(a.T.Ba.video)):!1;var b=this.u.getPresentingPlayerType(),c=2!=b&&3!=b,d=g.vC(this.u),e=c&&!!g.xL(g.lL(this.u));b=e&&1==d.displayMode;d=e&&2==d.displayMode;c=(e=b||d)||!c?null:this.u.getPlaybackQuality();g.L(this.element,"ytp-hdr-quality-badge",a);g.L(this.element,"ytp-hd-quality-badge",!a&&("hd720"==c||"hd1080"==c||"hd1440"==c));g.L(this.element,"ytp-4k-quality-badge",!a&&"hd2160"==c);g.L(this.element,"ytp-5k-quality-badge",
!a&&"hd2880"==c);g.L(this.element,"ytp-8k-quality-badge",!a&&"highres"==c);g.L(this.element,"ytp-3d-badge-grey",!a&&e&&b);g.L(this.element,"ytp-3d-badge",!a&&e&&d)};g.r(RO,g.V);g.h=RO.prototype;g.h.fN=function(a){if(!g.Mq(a)){switch(g.Nq(a)){case 37:case 40:var b=-this.H;break;case 39:case 38:b=this.H;break;default:return}this.ti(this.u+b);g.Lq(a)}};
g.h.NL=function(a){var b=this.u;b+=0>(a.deltaX||-a.deltaY)?-this.F:this.F;this.ti(b);g.Lq(a)};
g.h.cN=function(a){a=(a-g.Gh(this.w).x)/this.J*this.C+this.minimumValue;this.ti(a)};
g.h.ti=function(a,b){b=void 0===b?"":b;var c=g.sd(a,this.minimumValue,this.maximumValue);""==b&&(b=c.toString());this.ha("valuenow",c);this.ha("valuetext",b);this.U.style.left=(c-this.minimumValue)/this.C*(this.J-this.O)+"px";this.u=c};
g.h.focus=function(){this.S.focus()};g.r(TO,RO);TO.prototype.Z=function(){this.B.setPlaybackRate(this.u,!0)};
TO.prototype.ti=function(a){RO.prototype.ti.call(this,a,UO(this,a).toString());this.A&&(SO(this),this.V())};
TO.prototype.ca=function(){var a=this.B.getPlaybackRate();UO(this,this.u)!=a&&(this.ti(a),SO(this))};g.r(VO,g.GC);VO.prototype.focus=function(){this.u.focus()};g.r(WO,wO);g.r(XO,g.BO);g.h=XO.prototype;g.h.Re=function(a){return"1"==a?"Normal":a.toLocaleString()};
g.h.Pz=function(){var a=this.u.getPresentingPlayerType();this.enable(2!=a&&3!=a);aP(this)};
g.h.zj=function(a){g.BO.prototype.zj.call(this,a);a?(this.O=this.L(this.u,"onPlaybackRateChange",this.dJ),aP(this),ZO(this,this.u.getPlaybackRate())):(this.Wa(this.O),this.O=null)};
g.h.dJ=function(a){var b=this.u.getPlaybackRate();this.J.includes(b)||$O(this,b);ZO(this,a)};
g.h.Zc=function(a){g.BO.prototype.Zc.call(this,a);a==this.B?this.u.setPlaybackRate(this.C,!0):this.u.setPlaybackRate(parseFloat(a),!0);this.w.Pd()};var I2,tqa;I2=[{option:"#fff",text:"Beyaz"},{option:"#ff0",text:"Sar\u0131"},{option:"#0f0",text:"Ye\u015fil"},{option:"#0ff",text:"Camg\u00f6be\u011fi"},{option:"#00f",text:"Mavi"},{option:"#f0f",text:"Macenta"},{option:"#f00",text:"K\u0131rm\u0131z\u0131"},{option:"#080808",text:"Siyah"}];tqa=[{option:0,text:bP(0)},{option:.25,text:bP(.25)},{option:.5,text:bP(.5)},{option:.75,text:bP(.75)},{option:1,text:bP(1)}];
g.dP=[{option:"fontFamily",text:"Yaz\u0131 tipi ailesi",options:[{option:1,text:"Tek Aral\u0131kl\u0131 Serif"},{option:2,text:"Orant\u0131l\u0131 Serif"},{option:3,text:"Tek Aral\u0131kl\u0131 Sans-Serif"},{option:4,text:"Orant\u0131l\u0131 Sans-Serif"},{option:5,text:"Klasik"},{option:6,text:"El Yaz\u0131s\u0131"},{option:7,text:"K\u00fc\u00e7\u00fck Boyutlu B\u00fcy\u00fck Harfler"}]},{option:"color",text:"Yaz\u0131 tipi rengi",options:I2},{option:"fontSizeIncrement",text:"Yaz\u0131 tipi boyutu",
options:[{option:-2,text:bP(.5)},{option:-1,text:bP(.75)},{option:0,text:bP(1)},{option:1,text:bP(1.5)},{option:2,text:bP(2)},{option:3,text:bP(3)},{option:4,text:bP(4)}]},{option:"background",text:"Arka plan rengi",options:I2},{option:"backgroundOpacity",text:"Arka plan opakl\u0131\u011f\u0131",options:tqa},{option:"windowColor",text:"Pencere rengi",options:I2},{option:"windowOpacity",text:"Pencere opakl\u0131\u011f\u0131",options:tqa},{option:"charEdgeStyle",text:"Karakter kenar stili",options:[{option:0,
text:"Hi\u00e7biri"},{option:4,text:"G\u00f6lge"},{option:1,text:"Y\u00fckseltilmi\u015f"},{option:2,text:"Bast\u0131r\u0131lm\u0131\u015f"},{option:3,text:"\u00c7er\u00e7eve"}]},{option:"textOpacity",text:"Yaz\u0131 tipi opakl\u0131\u011f\u0131",options:[{option:.25,text:bP(.25)},{option:.5,text:bP(.5)},{option:.75,text:bP(.75)},{option:1,text:bP(1)}]}];g.r(cP,g.BO);g.h=cP.prototype;g.h.Ce=function(a){g.BO.prototype.Ce.call(this,a)};
g.h.Tz=function(a){return a.option.toString()};
g.h.getOption=function(a){return this.O[a]};
g.h.Re=function(a){return this.getOption(a).text||""};
g.h.Zc=function(a){g.BO.prototype.Zc.call(this,a);this.R("settingChange",this.J,this.O[a].option)};
g.h.Uz=function(a){this.R("settingChange",this.J+"Override",!a);this.w.Pd()};g.r(eP,g.xO);eP.prototype.w=function(a,b){this.R("settingChange",a,b)};g.r(gP,g.BO);gP.prototype.B=function(a){return a.languageCode};
gP.prototype.Re=function(a){return this.u[a].languageName||""};
gP.prototype.Zc=function(a){this.R("select",a);g.LO(this.w)};g.r(hP,g.BO);g.h=hP.prototype;g.h.xt=function(a){return g.ac(a)?"__off__":a.displayName};
g.h.Re=function(a){return"__off__"==a?"Kapal\u0131":"__translate__"==a?"Otomatik \u00e7evir":"__contribute__"==a?"Altyaz\u0131 ekle":("__off__"==a?{}:this.C[a]).displayName};
g.h.Zc=function(a){"__translate__"==a?this.B.open():"__contribute__"==a?(this.u.pauseVideo(),this.u.isFullscreen()&&this.u.toggleFullscreen(),a=g.ED(this.u.N(),this.u.getVideoData()),g.NM(a)):(this.u.setOption("captions","track","__off__"==a?{}:this.C[a]),g.BO.prototype.Zc.call(this,a),this.w.Pd())};
g.h.Bl=function(){var a=this.u.getOptions();a=a&&-1!=a.indexOf("captions");var b=this.u.getVideoData();b=b&&b.Sm;if(a||b){if(a){var c=this.u.getOption("captions","track");var d=this.u.getOption("captions","tracklist",{includeAsr:!0});var e=this.u.getOption("captions","translationLanguages");this.C=g.wb(d,this.xt,this);var f=(0,g.A)(d,this.xt);if(e.length&&!g.ac(c)){var k=c.translationLanguage;if(k&&k.languageName){var l=k.languageName;k=e.findIndex(function(m){return m.languageName==l});
paa(e,k)}oka(this.B,e);f.push("__translate__")}e=this.xt(c)}else this.C={},f=[],e="__off__";f.unshift("__off__");this.C.__off__={};b&&f.unshift("__contribute__");this.C[e]||(this.C[e]=c,f.push(e));g.DO(this,f);this.Ce(e);c&&c.translationLanguage?this.B.Ce(this.B.B(c.translationLanguage)):CO(this.B);a&&fP(this.J,this.u.getSubtitlesUserSettings());this.S.ub(d&&d.length?" ("+d.length+")":"");this.R("size-change");this.enable(!0)}else this.enable(!1)};
g.h.Sz=function(a){this.u.setOption("captions","sampleSubtitles",a)};
g.h.lJ=function(a){var b=this.u.getOption("captions","track");b=g.dc(b);b.translationLanguage=this.B.u[a];this.u.setOption("captions","track",b)};
g.h.kJ=function(a,b){if("reset"==a)this.u.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.u.updateSubtitlesUserSettings(c)}this.Sz(!0);this.O.start();fP(this.J,this.u.getSubtitlesUserSettings())};
g.h.YM=function(a){a||g.Bn(this.O)};
g.h.Y=function(){g.Bn(this.O);g.BO.prototype.Y.call(this)};g.r(iP,g.GO);iP.prototype.Ed=function(a){jP(this);0<this.B.Ga.length&&g.GO.prototype.Ed.call(this,a)};
iP.prototype.show=function(){g.GO.prototype.show.call(this);g.K(g.qL(this.w),"ytp-settings-shown")};
iP.prototype.hide=function(){g.GO.prototype.hide.call(this);g.Kn(g.qL(this.w),"ytp-settings-shown")};g.r(mP,g.V);
mP.prototype.w=function(){var a=!1;this.u.getOptions().includes("remote")&&(a=1<this.u.getOption("remote","receivers").length);g.FC(this,a&&400<=g.pL(this.u).getPlayerSize().width);var b=1;a&&this.u.getOption("remote","casting")&&(b=2);if(this.A!=b){this.A=b;switch(b){case 1:this.ha("icon",g.Y?{D:"div",X:["ytp-icon","ytp-icon-cast-desktop-off"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"M27,9 L9,9 C7.9,9 7,9.9 7,11 L7,14 L9,14 L9,11 L27,11 L27,25 L20,25 L20,27 L27,27 C28.1,27 29,26.1 29,25 L29,11 C29,9.9 28.1,9 27,9 L27,9 Z M7,24 L7,27 L10,27 C10,25.34 8.66,24 7,24 L7,24 Z M7,20 L7,22 C9.76,22 12,24.24 12,27 L14,27 C14,23.13 10.87,20 7,20 L7,20 Z M7,16 L7,18 C11.97,18 16,22.03 16,27 L18,27 C18,20.92 13.07,16 7,16 L7,16 Z",fill:"#fff"}}]});
break;case 2:this.ha("icon",g.fM())}g.L(this.element,"ytp-remote-button-active",!!this.u.getOption("remote","casting"))}};
mP.prototype.C=function(){if(this.u.getOption("remote","quickCast"))this.u.setOption("remote","quickCast",!0);else{var a=this.B,b=this.element;if(TN(a))a.nb();else{jP(a);a:{var c=g.q(a.B.Ga);for(var d=c.next();!d.done;d=c.next())if(d=d.value,0==d.priority){c=d;break a}c=null}c&&(c.open(),a.Ed(b));a.Ed(b)}}};g.r(nP,g.V);nP.prototype.F=function(){var a=this.u.app;a.u.ka("SIZE_CLICKED",!a.pc)};
nP.prototype.w=function(){g.FC(this,this.u.app.pe&&!this.u.isFullscreen()&&3!=this.u.getPresentingPlayerType());if(this.Fa()){var a=this.u.isWidescreen();if(this.A!=a){var b=a?g.Y?{D:"div",X:["ytp-icon","ytp-icon-default-view"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"m 26,13 0,10 -16,0 0,-10 z m -14,2 12,0 0,6 -12,0 0,-6 z",fill:"#fff","fill-rule":"evenodd"}}]}:g.Y?{D:"div",X:["ytp-icon","ytp-icon-theater-mode"]}:{D:"svg",M:{height:"100%",
version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,M:{d:"m 28,11 0,14 -20,0 0,-14 z m -18,2 16,0 0,10 -16,0 0,-10 z",fill:"#fff","fill-rule":"evenodd"}}]};this.u.N().B||null==this.A?this.ha("icon",b):dO(this.C,this.element,b);this.A=a;b=g.TM(this.u,"Varsay\u0131lan g\u00f6r\u00fcn\u00fcm","t");var c=g.TM(this.u,"Sinema modu","t");this.ha("title",a?b:c);iO(this.B)}}};g.r(oP,g.V);oP.prototype.A=function(){this.w.toggleSubtitles()};
oP.prototype.u=function(){var a=!!g.PP(g.lL(this.w));g.FC(this,a&&300<=g.pL(this.w).getPlayerSize().width);a&&this.ha("pressed",!!this.w.getOption("captions","track").displayName)};g.r(g.qP,g.V);
g.qP.prototype.w=function(){var a=g.pL(this.u).getPlayerSize().width,b=a>=this.O&&(!this.C||!g.W(g.sL(this.u),64));g.FC(this,b);g.L(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.u.getProgressState();if(b){b=this.u.getPresentingPlayerType();var c=g.$L(g.R(this.u.N().experiments,"halftime_ux_killswitch")?a.current:this.u.getCurrentTime(b,!1));this.F!=c&&(this.ha("currenttime",c),this.F=c);b=g.$L(g.R(this.u.N().experiments,"halftime_ux_killswitch")?a.duration:this.u.getDuration(b,!1));
this.G!=b&&(this.ha("duration",b),this.G=b)}this.C&&(a=a.isAtLiveHead,this.H!=a&&(this.H=a,this.w(),b=this.A.element,b.disabled=a,this.A.ub(this.J?"\u0130lk g\u00f6sterim":"Canl\u0131"),a?this.B&&(this.B(),this.B=null,b.removeAttribute("title")):(b.title="Canl\u0131 yay\u0131na atla.",this.B=g.dN(this.S,this.A.element))))};
g.qP.prototype.V=function(a,b){pP(this,b);this.w()};
g.qP.prototype.U=function(a){a.target==this.A.element&&(this.u.seekTo(Infinity),this.u.playVideo())};
g.qP.prototype.Y=function(){this.B&&this.B();g.V.prototype.Y.call(this)};g.r(sP,g.V);g.h=sP.prototype;g.h.mJ=function(){var a=this.F.hc();this.G!=a&&(this.G=a,rP(this,this.u.getVolume(),this.u.isMuted()))};
g.h.oc=function(a){g.FC(this,350<=a.width)};
g.h.gN=function(a){if(!g.Mq(a)){var b=g.Nq(a),c=null;37==b?c=this.B-5:39==b?c=this.B+5:36==b?c=0:35==b&&(c=100);null!=c&&(c=g.sd(c,0,100),0==c?this.u.mute():(this.u.isMuted()&&this.u.unMute(),this.u.setVolume(c)),g.Lq(a))}};
g.h.nJ=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.u.setVolume(this.B+(0>b?-10:10)):this.u.setVolume(this.B+g.sd(b/10,-10,10));g.Lq(a)};
g.h.eN=function(){tP(this,this.A,!0,this.w,this.F.hj());this.V=this.B;this.u.isMuted()&&this.u.unMute()};
g.h.dN=function(a){var b=this.G?78:52,c=this.G?18:12;a-=g.Gh(this.U).x;this.u.setVolume(100*g.sd((a-c/2)/(b-c),0,1))};
g.h.bN=function(){tP(this,this.A,!1,this.w,this.F.hj());0==this.B&&(this.u.mute(),this.u.setVolume(this.V))};
g.h.oJ=function(a){rP(this,a.volume,a.muted)};
g.h.xw=function(){tP(this,this.A,this.C,this.w,this.F.hj())};
g.h.Vz=function(a){tP(this,this.A,this.C,a,this.F.hj())};
g.h.VB=function(a){g.L(this.element,"ytp-volume-control-hover",a);tP(this,a,this.C,this.w,this.F.hj())};
g.h.Y=function(){g.V.prototype.Y.call(this);g.Kn(this.S,"ytp-volume-slider-active")};g.r(g.uP,g.V);g.uP.prototype.A=function(){this.w=!!this.u.getVideoData().videoId;g.FC(this,this.w);g.QL(this.u,this.element,this.w&&this.P);if(this.w){var a=this.u.getVideoUrl(!0,!1,!1,!0);this.ha("url",a)}};
g.uP.prototype.B=function(a){var b=this.u.getVideoUrl(!g.aM(a),!1,!0,!0);g.ux(this.u.N())&&(b=g.eh(b,g.FD({},"emb_logo")));g.QM(b,this.u,a);g.PL(this.u,this.element)};
g.uP.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.w&&a)};g.r(vP,g.P);g.h=vP.prototype;g.h.qt=function(){g.tN(this.B);this.ea.w();if(g.R(this.w.N().experiments,"web_wn_macro_markers")){var a=this.U;var b=a.w.u;if(1<b.length){var c=1E3*a.A.getProgressState().current;c=IN(a.w,c);b=(b=b[c].title)?"\u2022 "+b:b}else b="";b!==a.u&&(a.update({title:b}),a.u=b?b:"")}};
g.h.Rz=function(){this.wt();this.V.u?this.qt():g.zN(this.B.O)};
g.h.iJ=function(){this.qt();this.H.start()};
g.h.wt=function(){var a=!this.w.N().o&&300>g.KN(this.B)&&g.wD(g.sL(this.w))&&!!window.requestAnimationFrame,b=!a;this.V.u||(a=b=!1);b?this.J||(this.J=this.L(this.w,"progresssync",this.qt)):this.J&&(this.Wa(this.J),this.J=null);a?this.H.isActive()||this.H.start():this.H.stop()};
g.h.fP=function(a){var b=this.A.Ya();a=!a;if(null!=b.w)if(a)switch(b.w){case 3:case 2:kR(b);b.J.show();break;default:b.J.show()}else b.J.hide();b.U=a};
g.h.vt=function(){var a=this.A.hc(),b=g.pL(this.w).getPlayerSize(),c=xP(this),d=Math.max(b.width-2*c,100);if(this.na!=b.width||this.ra!=a){this.na=b.width;this.ra=a;var e=yP(this);this.u.element.style.width=e+"px";this.u.element.style.left=c+"px";var f=this.B;f.Aa=c;f.C=e;f.B=a;g.vN(f);this.A.Ya().ea=e}c=this.o;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-(this.A.hc()?72:50))));c.S=Math.min(570*(a?1.5:1),d);c.O=e;c.Qj();this.wt();g.R(this.w.N().experiments,"html5_player_dynamic_bottom_gradient")&&
g.fN(this.sa,b.height)};
g.h.jJ=function(){var a=this.w.getVideoData();this.O.style.background=a.uc?a.Qf:"";g.FC(this.S,a.ru)};g.r(AP,RN);AP.prototype.F=function(a){if(this.w.N().B||this.C)a?(zP(this),this.Ed()):(this.A&&BP(this),this.nb())};
AP.prototype.G=function(a){this.w.isMutedByMutedAutoplay()&&g.DD(a,2)&&this.nb()};
AP.prototype.onClick=function(){this.w.unMute();BP(this)};g.r(g.CP,g.P);g.h=g.CP.prototype;g.h.init=function(){var a=g.sL(this.api);this.Ij(a);this.vg();this.ii()};
g.h.Jz=function(a,b){if(this.Xb!=b.videoId){this.Xb=b.videoId;var c=this.u;c.V=b&&0<b.yh.length?5E3:3E3;c.Qb(512,!0);this.vg();g.R(this.api.N().experiments,"web_player_nitrate_promo_tooltip")&&this.cC()}};
g.h.iM=function(){this.Jz("newdata",this.api.getVideoData())};
g.h.ph=function(){var a=g.zL(this.api)&&g.AL(this.api);DP(this);DL(this.api);return this.Hb||a||DL(this.api)||this.Wb||DP(this)};
g.h.Vd=function(){var a=!this.ph();g.L(g.qL(this.api),"ytp-menu-shown",!a)};
g.h.CI=function(a){if(!g.ce(g.qL(this.api),a))return!1;for(;a&&!ge(a);)a=a==g.qL(this.api)?null:g.be(a);return!!a};
g.h.Dl=function(a){var b=g.qL(this.api);g.L(b,"ytp-autohide",a);g.L(b,"ytp-autohide-active",!0);this.gd.start(a?250:100);a&&(this.Ic=!1,g.Kn(b,"ytp-touch-mode"));b=this.api;a=!a;b.ka("onVideoAreaChange");b.ka(a?"onShowControls":"onHideControls")};
g.h.qK=function(){g.L(g.qL(this.api),"ytp-autohide-active",!1)};
g.h.PM=function(){this.Hc=!0};
g.h.jF=function(){this.Hc||IP(this)};
g.h.QM=function(a){g.R(this.api.N().experiments,"player_doubletap_to_seek")&&(this.Hc=!1,this.Kc&&this.Wa(this.Kc),0==this.sa&&HP(this,a)?(this.Hn(),this.Aa.start(),this.Kc=this.L(g.pL(this.api),"touchmove",this.PM,void 0,!0)):this.Aa.stop());GP(this)&&HP(this,a)&&IP(this);var b=TN(this.Qa);if(qx&&JP(this,a))b&&g.Lq(a);else if(this.u.u||EP(this,Iq(a))||TN(this.Qa)||(g.sL(this.api).isCued(),g.Lq(a)),this.Ic=!0,g.K(g.qL(this.api),"ytp-touch-mode"),this.u.Qb(2,!0),g.R(this.api.N().experiments,"player_doubletap_to_seek")&&
(b=g.sL(this.api),this.api.Pc()&&(!g.W(b,2)||!nL(this.api)))){b=Date.now()-this.jd;this.sa+=1;if(350>=b){this.ea=!0;b=this.api.getPlayerSize().width/3;var c=g.qL(this.api).getBoundingClientRect(),d=a.targetTouches[0].clientX-c.left;c=a.targetTouches[0].clientY-c.top;var e=10*(this.sa-1);0<d&&d<b?(this.it(-1,d,c,e),this.api.seekBy(-10*this.api.getPlaybackRate())):d>2*b&&d<3*b&&(this.it(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));g.Lq(a)}this.jd=Date.now();this.kd.start()}};
g.h.KM=function(a){JP(this,a)||(GP(this)||!HP(this,a)||this.Aa.isActive()||(IP(this),g.Lq(a)),this.ea&&(this.ea=!1))};
g.h.Hn=function(){};
g.h.jt=function(){};
g.h.it=function(){};
g.h.cC=function(){};
g.h.Go=function(){var a=g.sL(this.api);g.W(a,2)&&nL(this.api)||(g.xD(a)?this.api.pauseVideo():(this.api.app.gd=!0,this.api.playVideo(),this.V&&document.activeElement==this.V.C&&g.qL(this.api).focus()))};
g.h.LM=function(a){var b=this.api.getPresentingPlayerType();EP(this,Iq(a))||(a=this.api.N(),g.R(a.experiments,"player_doubletap_to_seek")&&this.ea?this.ea=!1:(a.ca||g.R(a.experiments,"player_fullscreen_disabled_killswitch"))&&3!=b&&this.api.toggleFullscreen())};
g.h.MM=function(a){KP(this,.3,a.scale);g.Lq(a)};
g.h.OM=function(a){KP(this,.1,a.scale)};
g.h.ii=function(){var a=g.pL(this.api).getPlayerSize(),b=g.qL(this.api),c=650<=a.width;g.Gv&&cM(this.u);g.L(b,"ytp-fullscreen",this.api.isFullscreen());g.L(b,"ytp-large-width-mode",c);g.L(b,"ytp-small-mode",this.ee());g.L(b,"ytp-big-mode",this.hc());this.B&&this.B.u(a)};
g.h.kM=function(a){this.Ij(a.state);this.vg()};
g.h.gr=function(){var a=!!this.Xb&&!g.mL(this.api),b=2==this.api.getPresentingPlayerType(),c=this.api.N();if(b){if(qpa&&g.R(c.experiments,"enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=WP(g.lL(this.api));a&&(null===b.o?a=!1:(a=b.o,a=(b=a.o.getVideoData(2))?b.isListed&&!a.S:!1));return a}return a&&(c.Ef||this.api.isFullscreen()||c.Xb)};
g.h.vg=function(){var a=this.gr();this.F!=a&&(this.F=a,g.L(g.qL(this.api),"ytp-hide-info-bar",!a))};
g.h.Ij=function(a){var b;(b=a.isCued())||(b=((b=g.U(this.api.app,void 0))?mK(b):!0)&&3!=this.api.getPresentingPlayerType());b!=this.isCued&&(this.isCued=b,this.fd&&this.Wa(this.fd),this.fd=this.L(g.pL(this.api),"touchstart",this.QM,void 0,b));var c=g.wD(a)&&!g.W(a,32)||EL(this.api);this.u.Qb(128,!c);c=3==this.api.getPresentingPlayerType();this.u.Qb(256,c);c=g.qL(this.api);if(g.W(a,2))var d=["ended-mode"];else d=[],g.W(a,8)?d.push("playing-mode"):g.W(a,4)&&d.push("paused-mode"),g.W(a,1)&&!g.W(a,32)&&
d.push("buffering-mode"),g.W(a,32)&&d.push("seeking-mode"),g.W(a,64)&&d.push("unstarted-mode");g.ub(this.Ua,d)||(g.Ln(c,this.Ua),this.Ua=d,g.Jn(c,d));d=this.api.N();var e=g.W(a,2);g.L(c,"ytp-hide-controls",("3"==d.controlsType?!e:"1"!=d.controlsType)||b);g.L(c,"ytp-native-controls","3"==d.controlsType&&!b&&!e&&!this.Wb);g.W(a,128)&&!g.ux(d)?(this.B||(this.B=new g.UM(this.api),g.H(this,this.B),g.KL(this.api,this.B.element,4)),this.B.B(a.u),this.B.show()):this.B&&(this.B.dispose(),this.B=null)};
g.h.Rf=function(){return g.zL(this.api)&&g.AL(this.api)?(this.api.setCardsVisible(!1,!1),!0):g.mL(this.api)?(g.oL(this.api,!0),!0):!1};
g.h.DI=function(a){this.Wb=a;this.Vd()};
g.h.hc=function(){return!1};
g.h.ee=function(){return!this.hc()&&(480>this.api.getPlayerSize().width||290>this.api.getPlayerSize().height)};
g.h.hj=function(){return this.Ic};
g.h.vl=function(){return null};
g.h.Ps=function(){var a=g.pL(this.api).getPlayerSize();return new g.qh(0,0,a.width,a.height)};
g.h.handleGlobalKeyDown=function(){return!1};
g.h.handleGlobalKeyUp=function(){return!1};
g.h.Cj=function(){};
g.h.showControls=function(a){if(void 0!=a){var b=g.pL(this.api);zx(b.app.N());b.C=!a;AS(b)}};
g.h.Rs=function(){};
g.h.Bx=function(){return null};g.uqa=.0035*.006;g.r(g.LP,g.Q);g.h=g.LP.prototype;g.h.create=function(){};
g.h.load=function(){this.loaded=!0};
g.h.unload=function(){this.loaded=!1};
g.h.Mc=function(){};
g.h.Bf=function(){return!0};
g.h.Y=function(){this.loaded&&this.unload();g.Q.prototype.Y.call(this)};
g.h.Va=function(){return{}};
g.h.getOptions=function(){return[]};g.$P={};g.r(OP,g.B);g.h=OP.prototype;g.h.md=function(a,b,c,d){c=void 0===c?!1:c;d=void 0===d?!1:d;var e=this.u.get(a);if(!e||d){b||(b=this.md.bind(this,a,void 0,c,d));if(!(d=e))a:{e=tka(this,a);try{if(e){var f=g.$P[a];if(f){d=new f(this.o);break a}"creatorendscreen"==a?aQ(this,"annotations_module",b):aQ(this,a,b)}else g.HL(this.o,a)}catch(k){g.HL(this.o,a),g.N(k)}d=null}if(e=d)this.u.set(a,e),e.create(),c&&this.o.ka("onApiChange")}};
g.h.Vl=function(){return this.o.getVideoData().Vl()};
g.h.Dw=function(){var a=this.u.get("heartbeat");this.md("heartbeat",this.Dw,!1,!0);!a&&this.u.has("heartbeat")&&this.o.R("offlineslatestatechange")};
g.h.Jq=function(){this.md("annotations_module",this.Jq,!0);var a=this.u.get("annotations_module");if(a)for(var b in this.C){var c=b;a.subscribe(c,this.C[c])}};
g.h.Bw=function(){if(!this.u.get("ad"))try{QP(this)?this.md("ad",this.Bw,!1,!0):g.HL(this.o,"ad")}catch(a){g.HL(this.o,"ad"),g.N(a)}};
g.h.Y=function(){g.B.prototype.Y.call(this);VP(this,1,!0)};var vka={seekableStart:0,seekableEnd:1,current:0};g.r(bQ,g.GC);bQ.prototype.B=function(){var a=this.w.getProgressState();a=jN(new hN(a.seekableStart,a.seekableEnd),a.current,0);this.F.style.width=100*a+"%"};
bQ.prototype.C=function(){g.Jx(this.A.N())||(2==this.A.getPresentingPlayerType()?-1===this.u&&(this.show(),this.u=this.w.subscribe("b",this.B,this),this.B()):-1!==this.u&&(this.hide(),this.w.og(this.u),this.u=-1))};g.r(cQ,g.Q);g.h=cQ.prototype;g.h.Xz=function(){return 1E3*this.o.getDuration(this.w)};
g.h.stop=function(){this.A&&this.u.Wa(this.A)};
g.h.Yz=function(){var a=this.o.getProgressState(this.w);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:g.R(this.o.N().experiments,"halftime_ux_killswitch")?a.current:this.o.getCurrentTime(this.w,!1)};this.R("b")};
g.h.getProgressState=function(){return this.B};
g.h.sJ=function(a){g.DD(a,2)&&this.R("a")};g.r(dQ,g.V);dQ.prototype.w=function(){this.u.ka("BACK_CLICKED")};g.r(g.eQ,g.V);g.eQ.prototype.show=function(){g.V.prototype.show.call(this);g.zn(this.u)};
g.eQ.prototype.hide=function(){this.A.stop();g.V.prototype.hide.call(this)};g.r(kQ,g.V);kQ.prototype.Y=function(){this.u&&this.u();g.V.prototype.Y.call(this)};
kQ.prototype.F=function(){g.Qo("iv-button-mouseover")};
kQ.prototype.C=function(a){g.zL(this.w);var b=g.In(g.qL(this.w),"ytp-cards-teaser-shown");g.Qo("iv-teaser-clicked",b);a=0==a.screenX&&0==a.screenY;this.w.setCardsVisible(!g.AL(this.w),a,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.r(lQ,g.V);g.h=lQ.prototype;g.h.DC=function(){g.zL(this.w)&&g.AL(this.w)&&this.Fa()&&4!==this.F.state&&this.zl()};
g.h.QO=function(){this.zl();g.Qo("iv-teaser-clicked",!!this.u);this.w.setCardsVisible(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")};
g.h.FI=function(){g.Qo("iv-teaser-mouseover");this.u&&this.u.stop()};
g.h.nN=function(a){this.u||!a||g.AL(this.w)||this.A&&this.A.isActive()||(wka(this,a),g.Qo("iv-teaser-shown"))};
g.h.kt=function(){if(g.ux(this.w.N())&&this.Fa()){var a=this.C.element.offsetLeft,b=g.Jd("ytp-cards-button-icon"),c=this.w.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.C.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}};
g.h.cE=function(){g.ux(this.w.N())&&this.S.ee()&&this.Fa()&&this.O.start()};
g.h.IA=function(){this.H.stop();this.u&&this.u.isActive()&&this.J.start()};
g.h.HA=function(){this.J.stop();this.u&&!this.u.isActive()&&this.H.start()};
g.h.ML=function(){this.u&&this.u.stop()};
g.h.JL=function(){this.zl()};
g.h.zl=function(){!this.u||this.B&&this.B.isActive()||(g.Qo("iv-teaser-hidden"),this.F.hide(),g.Kn(g.qL(this.w),"ytp-cards-teaser-shown"),this.B=new g.J(function(){for(var a=g.q(this.G),b=a.next();!b.done;b=a.next())this.Wa(b.value);this.G=[];this.u&&(this.u.dispose(),this.u=null);jQ(this.C,!0)},330,this),this.B.start())};
g.h.Y=function(){var a=g.qL(this.w);a&&g.Kn(a,"ytp-cards-teaser-shown");g.ne(this.A,this.B,this.u);g.V.prototype.Y.call(this)};g.r(mQ,g.V);mQ.prototype.B=function(){g.PL(this.w,this.element);var a=!this.u;this.ha("label",a?"Her yeni videoyla ilgili bildirim almay\u0131 durdurun":"Her yeni videoyla ilgili bildirim al\u0131n");this.ha("pressed",a);nQ(this,a)};g.r(g.rQ,g.V);g.rQ.prototype.B=function(){g.K(this.element,"ytp-sb-subscribed")};
g.rQ.prototype.C=function(){g.Kn(this.element,"ytp-sb-subscribed")};g.Ha("yt.pubsub.publish",g.Qo,void 0);g.r(uQ,g.V);uQ.prototype.O=function(){yQ(this);this.w.classList.remove("ytp-title-expanded")};
uQ.prototype.H=function(){if(vQ(this)&&!wQ(this)){this.ha("channelTitleFocusable","0");this.F&&this.F.stop();this.A&&(this.A.show(),g.QL(this.u,this.A.element,!0));var a=this.u.getVideoData();this.C&&a.Kj&&a.subscribed&&(this.C.show(),g.QL(this.u,this.C.element,!0));this.w.classList.add("ytp-title-expanded");this.w.classList.add("ytp-title-show-expanded")}};
uQ.prototype.G=function(){this.ha("channelTitleFocusable","-1");this.F&&this.F.start()};
uQ.prototype.J=function(){var a=this.u.getVideoData(),b=this.u.N(),c=!1;2===this.u.getPresentingPlayerType()?c=!!a.videoId&&!!a.isListed&&!!a.author&&!!a.Nf&&!!a.Qd:g.ux(b)&&(c=!!a.videoId&&!!a.Nf&&!!a.Qd);b=g.by(this.u.N())+a.Nf;g.ux(this.u.N())&&(b=g.eh(b,g.FD({},"emb_subscribe_title")));var d=a.Nf,e=a.Qd,f=a.author;d=void 0===d?"":d;e=void 0===e?"":e;f=void 0===f?"":f;c?(d=g.by(this.u.N())+d,this.B.style.backgroundImage="url("+e+")",this.ha("channelLink",d),this.ha("channelLogoLabel",g.JM("$CHANNEL_NAME foto\u011fraf\u0131",
{CHANNEL_NAME:f})),g.K(g.qL(this.u),"ytp-title-enable-channel-logo")):g.Kn(g.qL(this.u),"ytp-title-enable-channel-logo");g.QL(this.u,this.B,c&&this.P);this.A&&(this.A.u=a.wg);this.ha("expandedTitle",a.Vq);this.ha("channelTitleLink",b);this.ha("expandedSubtitle",a.expandedSubtitle)};g.r(zQ,g.IC);zQ.prototype.u=function(a){g.Mq(a)||39!=g.Nq(a)||(this.element.click(),g.Lq(a))};g.r(EQ,g.xO);g.h=EQ.prototype;g.h.LK=function(){SM(this.H.element)};
g.h.ZK=function(){FQ(this,this.u.getDebugText(!0))&&fQ(this.U,gM())};
g.h.aL=function(){FQ(this,this.u.getVideoEmbedCode())&&fQ(this.U,nM());g.PL(this.u,this.w.element);BQ("EMBED",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)};
g.h.cL=function(){FQ(this,this.u.getVideoUrl(!0,!0))&&fQ(this.U,sM());g.PL(this.u,this.B.element);BQ("COPY_PASTE",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)};
g.h.bL=function(){FQ(this,this.u.getVideoUrl(!1,!0))&&fQ(this.U,sM());g.PL(this.u,this.A.element);BQ("COPY_PASTE",this.u.getVideoData().videoId,this.u.getPlaylistId()||void 0)};
g.h.EA=function(a){this.C.setValue(a)};
g.h.vL=function(){var a=this.C.getValue();wT(this.u.app,a);this.O.nb();g.PL(this.u,this.C.element)};
g.h.DM=function(a){this.u.reportPlaybackIssue();if(g.PM(a,this.u,!Qx(this.u.N()))){a=this.u;var b={as3:!1,html5:!0,player:!0};b=b||{};var c=a.getVideoStats().debug_error;c&&(b.player_error=c.errorCode,b.player_error_details=c.errorDetail);b.debug_text=a.getDebugText(!0);a.ka("onFeedbackStartRequest",b);a.isFullscreen()&&a.toggleFullscreen()}this.O.nb()};
g.h.ZM=function(){this.u.showVideoInfo();this.O.nb()};
g.h.JI=function(a,b){DQ(this,b)};
g.h.Ta=function(a){g.xO.prototype.Ta.call(this,a);g.QL(this.u,this.w.element,a);g.QL(this.u,this.B.element,a);g.QL(this.u,this.A.element,a);g.QL(this.u,this.C.element,a)};g.r(g.HQ,g.GO);g.h=g.HQ.prototype;g.h.show=function(){this.B||(this.B=new EQ(this.w,this.ea,this,this.Z),g.H(this,this.B),g.KO(this,this.B));this.B.EA(cL(this.w.app.C));g.GO.prototype.show.call(this);g.QL(this.w,this.element,!0);this.B.Ta(!0)};
g.h.hide=function(){GQ(this);g.GO.prototype.hide.call(this);g.QL(this.w,this.element,!1);this.B&&this.B.Ta(!1)};
g.h.KK=function(a){var b=Iq(a);if(!(this.Fa()||b&&(g.ie(b,"a")||g.ie(b,null,"ytp-no-contextmenu",void 0)))){g.Lq(a);IQ(this);b=this.w.getVideoData();g.L(this.element,"ytp-dni",b.uc);this.element.style.left="";this.element.style.top="";a=Kq(a);a.x++;a.y++;this.Ed();var c=document.body;b=new nh(0,Infinity,Infinity,0);var d=Fd(c);for(var e=d.o.body,f=d.o.documentElement,k=Nd(d.o);c=Fh(c);)if(!(g.Od&&0==c.clientWidth||g.Qd&&0==c.clientHeight&&c==e)&&c!=e&&c!=f&&"visible"!=zh(c,"overflow")){var l=g.Gh(c),
m=new g.wd(c.clientLeft,c.clientTop);l.x+=m.x;l.y+=m.y;b.top=Math.max(b.top,l.y);b.right=Math.min(b.right,l.x+c.clientWidth);b.bottom=Math.min(b.bottom,l.y+c.clientHeight);b.left=Math.max(b.left,l.x)}e=k.scrollLeft;k=k.scrollTop;b.left=Math.max(b.left,e);b.top=Math.max(b.top,k);d=d.o;d=Md(d.parentWindow||d.defaultView||window);b.right=Math.min(b.right,e+d.width);b.bottom=Math.min(b.bottom,k+d.height);d=0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null;b=this.size;a=a.clone();b=b.clone();
d&&(k=a,e=b,f=5,65==(f&65)&&(k.x<d.left||k.x>=d.right)&&(f&=-2),132==(f&132)&&(k.y<d.top||k.y>=d.bottom)&&(f&=-5),k.x<d.left&&f&1&&(k.x=d.left),f&16&&(c=k.x,k.x<d.left&&(k.x=d.left),k.x+e.width>d.right&&(e.width=Math.min(d.right-k.x,c+e.width-d.left),e.width=Math.max(e.width,0))),k.x+e.width>d.right&&f&1&&(k.x=Math.max(d.right-e.width,d.left)),k.y<d.top&&f&4&&(k.y=d.top),f&32&&(c=k.y,k.y<d.top&&(k.y=d.top),k.y+e.height>d.bottom&&(e.height=Math.min(d.bottom-k.y,c+e.height-d.top),e.height=Math.max(e.height,
0))),k.y+e.height>d.bottom&&f&4&&(k.y=Math.max(d.bottom-e.height,d.top)));d=new g.qh(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.Bh(this.element,new g.wd(d.left,d.top));g.vr(this.G);this.G.L(document,"contextmenu",this.RK);this.G.L(this.w,"fullscreentoggled",this.KI);this.G.L(this.w,"pageTransition",this.aM)}};
g.h.RK=function(a){if(!g.Mq(a)){var b=Iq(a);g.ce(this.element,b)||this.nb();this.w.N().ak&&g.Lq(a)}};
g.h.KI=function(){this.nb();IQ(this)};
g.h.aM=function(){this.nb()};g.r(JQ,g.V);
JQ.prototype.F=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.u.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);b=!1;c=g.Vd("TEXTAREA");c.value=a;c.setAttribute("readonly","");document.body.appendChild(c);if(ml){var d=window.getSelection();d.removeAllRanges();var e=document.createRange();e.selectNodeContents(c);d.addRange(e);c.setSelectionRange(0,a.length)}else c.select();try{b=document.execCommand("copy")}catch(f){}document.body.removeChild(c);b&&yka(this);g.PL(this.u,this.element)};
JQ.prototype.A=function(){var a=this.u.N(),b=this.u.getVideoData();this.C.ee()&&g.ux(a)&&a.B?this.ha("icon",{D:"div",X:["ytp-icon","ytp-icon-share-copylink-large"]}):this.ha("icon",g.Y?{D:"div",X:["ytp-icon","ytp-icon-share-copylink"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3  c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]});
this.ha("title-attr","Ba\u011flant\u0131y\u0131 kopyala");a=g.pL(this.u).getPlayerSize().width;this.w=!!b.videoId&&300<=a&&b.Zl;g.L(this.element,"ytp-copylink-button-visible",this.w);g.FC(this,this.w);iO(this.B);g.QL(this.u,this.element,this.w&&this.P)};
JQ.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.w&&a)};
JQ.prototype.Y=function(){g.V.prototype.Y.call(this);g.Kn(this.element,"ytp-copylink-button-visible")};g.r(LQ,g.V);LQ.prototype.show=function(){g.V.prototype.show.call(this);g.zn(this.u)};
LQ.prototype.hide=function(){this.A.stop();g.V.prototype.hide.call(this)};g.r(g.MQ,g.P);g.h=g.MQ.prototype;
g.h.Ox=function(a){var b=!1,c=g.Nq(a),d=Iq(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey,f=!1,k=!1,l=this.o.N();g.Mq(a)?(e=!1,k=!0):l.Fb&&(e=!1);if(9==c)b=!0;else{if(d)switch(c){case 32:case 13:if("BUTTON"==d.tagName||"A"==d.tagName||"INPUT"==d.tagName)b=!0,e=!1;else if(e){var m=d.getAttribute("role");!m||"option"!=m&&"button"!=m&&0!=m.indexOf("menuitem")||(b=!0,d.click(),f=!0)}break;case 37:case 39:case 36:case 35:b="slider"==d.getAttribute("role");break;case 38:case 40:m=d.getAttribute("role"),d=38==c?
d.previousSibling:d.nextSibling,"slider"==m?b=!0:e&&("option"==m?(d&&"option"==d.getAttribute("role")&&d.focus(),f=b=!0):m&&0==m.indexOf("menuitem")&&(d&&d.hasAttribute("role")&&0==d.getAttribute("role").indexOf("menuitem")&&d.focus(),f=b=!0))}if(e&&!f)switch(c){case 38:f=Math.min(this.o.getVolume()+5,100);hQ(this.u,f,!1);this.o.setVolume(f);k=f=!0;break;case 40:f=Math.max(this.o.getVolume()-5,0);hQ(this.u,f,!0);this.o.setVolume(f);k=f=!0;break;case 36:this.o.Pc()&&(this.o.seekTo(0),k=f=!0);break;
case 35:this.o.Pc()&&(this.o.seekTo(Infinity),k=f=!0)}}b&&this.lu(!0);(b||k)&&this.B.Qb(2,!0);(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code))&&g.Lq(a);l.Eb&&(a={keyCode:g.Nq(a),altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey,shiftKey:a.shiftKey,handled:g.Mq(a),fullscreen:this.o.isFullscreen()},this.o.ka("onKeyPress",a))};
g.h.Px=function(a){this.handleGlobalKeyUp(g.Nq(a),a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)};
g.h.handleGlobalKeyUp=function(a){var b=!1,c=g.xL(g.lL(this.o));c&&(c=c.u)&&c.Fa()&&(c.Mx(a),b=!0);9==a&&(this.lu(!0),b=!0);return b};
g.h.handleGlobalKeyDown=function(a,b,c,d,e,f){d=!1;c=this.o.N();if(c.Fb)return d;if((e=g.xL(g.lL(this.o)))&&(e=e.u)&&e.Fa())switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:d=e.Lx(a)}c.Zb||d||(f=f||String.fromCharCode(a).toLowerCase(),this.w+=f,0=="awesome".indexOf(this.w)?(d=!0,7==this.w.length&&(f=g.qL(this.o),e=!g.In(f,"ytp-color-party"),g.L(f,"ytp-color-party",e))):(this.w=f,d=0=="awesome".indexOf(this.w)));if(!d){switch(a){case 80:b&&!c.H&&(fQ(this.u,zM(),"\u00d6nceki"),
this.o.previousVideo(),d=!0);break;case 78:b&&!c.H&&(fQ(this.u,uM(),"Sonraki"),this.o.nextVideo(),d=!0);break;case 74:this.o.Pc()&&(fQ(this.u,g.Y?{D:"div",X:["ytp-icon","ytp-icon-rewind-ten-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z M 16.9,22 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 -0.2,0 -0.4,.1 -0.6,.1 -0.2,0 -0.4,0 -0.6,-0.1 -0.2,-0.1 -0.3,-0.2 -0.5,-0.3 -0.2,-0.1 -0.2,-0.3 -0.3,-0.6 -0.1,-0.3 -0.1,-0.5 -0.1,-0.8 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.9,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
this.o.seekBy(-10*this.o.getPlaybackRate()),d=!0);break;case 76:this.o.Pc()&&(fQ(this.u,g.Y?{D:"div",X:["ytp-icon","ytp-icon-forward-ten-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.8,3 H 16 V 18.7 L 15,19 v -0.7 l 1.8,-0.6 h .1 V 22 z m 4.3,-1.8 c 0,.3 0,.6 -0.1,.8 l -0.3,.6 c 0,0 -0.3,.3 -0.5,.3 C 20,21.9 19.8,22 19.6,22 19.4,22 19.2,22 19,21.9 18.8,21.8 18.7,21.7 18.5,21.6 18.3,21.5 18.3,21.3 18.2,21 18.1,20.7 18.1,20.5 18.1,20.2 v -0.7 c 0,-0.3 0,-0.6 .1,-0.8 l .3,-0.6 c 0,0 .3,-0.3 .5,-0.3 .2,0 .4,-0.1 .6,-0.1 .2,0 .4,0 .6,.1 .2,.1 .3,.2 .5,.3 .2,.1 .2,.3 .3,.6 .1,.3 .1,.5 .1,.8 v .7 z m -0.8,-0.8 v -0.5 c 0,0 -0.1,-0.2 -0.1,-0.3 0,-0.1 -0.1,-0.1 -0.2,-0.2 -0.1,-0.1 -0.2,-0.1 -0.3,-0.1 -0.1,0 -0.2,0 -0.3,.1 l -0.2,.2 c 0,0 -0.1,.2 -0.1,.3 v 2 c 0,0 .1,.2 .1,.3 0,.1 .1,.1 .2,.2 .1,.1 .2,.1 .3,.1 .1,0 .2,0 .3,-0.1 l .2,-0.2 c 0,0 .1,-0.2 .1,-0.3 v -1.5 z"}}]}),
this.o.seekBy(10*this.o.getPlaybackRate()),d=!0);break;case 37:this.o.Pc()&&(fQ(this.u,g.Y?{D:"div",X:["ytp-icon","ytp-icon-rewind-five-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}),
this.o.seekBy(-5*this.o.getPlaybackRate()),d=!0);break;case 39:this.o.Pc()&&(fQ(this.u,g.Y?{D:"div",X:["ytp-icon","ytp-icon-forward-five-seconds"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}),
this.o.seekBy(5*this.o.getPlaybackRate()),d=!0);break;case 77:this.o.isMuted()?(this.o.unMute(),hQ(this.u,this.o.getVolume(),!1)):(this.o.mute(),hQ(this.u,0,!0));d=!0;break;case 32:case 75:c.H||(b=!g.xD(g.sL(this.o)),g.gQ(this.u,b),b?this.o.playVideo():this.o.pauseVideo(),d=!0);break;case 190:b?c.ya&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b+.25,!0),iQ(this.u,!1),d=!0):this.o.Pc()&&(OQ(this,1),d=!0);break;case 188:b?c.ya&&(b=this.o.getPlaybackRate(),this.o.setPlaybackRate(b-.25,!0),iQ(this.u,
!0),d=!0):this.o.Pc()&&(OQ(this,-1),d=!0);break;case 70:OM(this.o)&&(this.o.toggleFullscreen(),d=!0);break;case 27:this.C()&&(d=!0)}if("3"!=c.controlsType)switch(a){case 67:g.PP(g.lL(this.o))&&(b=this.o.getOption("captions","track"),this.o.toggleSubtitles(),b=!b||b&&!b.displayName?"Altyaz\u0131lar a\u00e7\u0131k":"Altyaz\u0131lar kapal\u0131",fQ(this.u,DM(),b),d=!0);break;case 79:NQ(this,"textOpacity");break;case 87:NQ(this,"windowOpacity");break;case 187:case 61:NQ(this,"fontSizeIncrement",!1,!0);
break;case 189:case 173:NQ(this,"fontSizeIncrement",!0,!0)}var k;48<=a&&57>=a?k=a-48:96<=a&&105>=a&&(k=a-96);null!=k&&this.o.Pc()&&(a=this.o.getProgressState(),this.o.seekTo(k/10*(a.seekableEnd-a.seekableStart)+a.seekableStart),d=!0);d&&this.B.Qb(2,!0)}return d};
g.h.lu=function(a){g.L(g.qL(this.o),"ytp-probably-keyboard-focus",a);g.L(this.F.element,"ytp-probably-keyboard-focus",a)};
g.h.Mz=function(a){g.PP(g.lL(this.o))&&this.o.setOption("captions","sampleSubtitles",a)};
g.h.Y=function(){g.Bn(this.A);g.P.prototype.Y.call(this)};g.r(PQ,RN);g.h=PQ.prototype;g.h.SI=function(a){a=Iq(a);g.ce(this.element,a)&&(g.ce(this.F,a)||g.ce(this.A,a)||this.Xe())};
g.h.nb=function(){RN.prototype.nb.call(this);this.B.bf(this.element)};
g.h.show=function(){this.Fa()&&this.C.R("OVERFLOW_PANEL_OPENED");RN.prototype.show.call(this);RQ(this,!0)};
g.h.hide=function(){RN.prototype.hide.call(this);RQ(this,!1)};
g.h.RI=function(a){!a&&TN(this)&&this.Xe()};
g.h.focus=function(){0<this.w.length&&this.w[0]&&this.w[0].focus()};g.r(SQ,g.V);SQ.prototype.A=function(){var a=g.ux(this.u.N())&&g.uL(this.u)&&g.W(g.sL(this.u),128);this.w=this.C.ee()&&!a;g.L(this.element,"ytp-overflow-button-visible",this.w);this.w&&iO(this.B);g.QL(this.u,this.element,this.w&&this.P)};
SQ.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.w&&a)};
SQ.prototype.Y=function(){g.V.prototype.Y.call(this);g.Kn(this.element,"ytp-overflow-button-visible")};g.r(TQ,g.V);TQ.prototype.w=function(a){g.PM(a,this.u)&&this.u.playVideoAt(this.Xa)};g.r(UQ,RN);g.h=UQ.prototype;g.h.show=function(){RN.prototype.show.call(this);this.F.L(this.A,"videodatachange",this.mt);this.F.L(this.A,"onPlaylistUpdate",this.mt);this.mt()};
g.h.hide=function(){RN.prototype.hide.call(this);g.vr(this.F);VQ(this,null)};
g.h.mt=function(){VQ(this,this.A.getPlaylist())};
g.h.ep=function(){var a=this.w.Rn;if(a==this.G)this.B.element.setAttribute("aria-checked",!1),this.B=this.C[this.w.Xa];else{for(var b=g.q(this.C),c=b.next();!c.done;c=b.next())c.value.dispose();b=this.w.getLength();this.C=[];for(c=0;c<b;c++){var d=new TQ(this.A,this.w,c);this.C.push(d);d.ba(this.Ga)}this.B=this.C[this.w.Xa];this.G=a}this.B&&this.B.element.setAttribute("aria-checked",!0)};
g.h.rN=function(a){var b=this.A.getVideoUrl(!0);g.QM(b,this.A,a)};
g.h.focus=function(){this.B.focus()};
g.h.Y=function(){this.hide();RN.prototype.Y.call(this)};g.r(WQ,g.V);WQ.prototype.A=function(){var a=g.ux(this.w.N());g.L(this.element,"ytp-playlist-menu-button-tiny",400>g.pL(this.w).getPlayerSize().width&&!a);this.u&&2!=this.w.getPresentingPlayerType()?(this.update({text:g.JM("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.u.Xa+1),PLAYLIST_LENGTH:String(this.u.getLength())}),title:g.JM("Oynatma listesi: $PLAYLIST_NAME",{PLAYLIST_NAME:this.u.title})}),this.Fa()||(this.show(),iO(this.B)),this.F=!0):this.Fa()&&(this.hide(),iO(this.B))};
WQ.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.w,this.element,this.F&&a)};
WQ.prototype.C=function(){this.u&&this.u.unsubscribe("shuffle",this.A,this);(this.u=this.w.getPlaylist())&&this.u.subscribe("shuffle",this.A,this);this.A()};g.r(XQ,g.V);
XQ.prototype.C=function(a){if(a){this.u=a;a=this.u.text;var b=!1;a&&(this.update({title:a}),b=!0);g.Oh(this.S,b);a=this.u.detailsText;b=!1;a&&(this.update({details:a}),b=!0);g.Oh(this.H,b);a=this.u.acceptButton;b=!1;a&&a.buttonRenderer&&(this.update({acceptButtonText:a.buttonRenderer.text}),b=!0);g.Oh(this.G,b);a=this.u.dismissButton;b=!1;a&&a.buttonRenderer&&(this.update({dismissButtonText:a.buttonRenderer.text}),b=!0);g.Oh(this.J,b)}a=document.querySelectorAll('[data-tooltip-target-id="'+this.u.targetId+
'"]');this.A=0<a.length?a[0]:null;this.w=!0;g.FC(this,this.w);this.A?(a=g.Nh(this.A),a.width&&a.height?(this.O.Cj(this.element,this.A),b=g.pL(this.F).getPlayerSize().height-g.Nh(this.element).height-a.height-12,this.element.style.top=b+"px",b=this.o["ytp-promotooltip-pointer"],a=g.Kh(this.A,g.qL(this.F)).x-parseInt(this.element.style.left,10)+a.width/2-12,b.style.left=a+"px"):this.B()):this.B()};
XQ.prototype.B=function(){this.w=!1;g.FC(this,this.w)};g.r(YQ,g.V);YQ.prototype.A=function(a){g.FC(this,g.W(a.state,2))};
YQ.prototype.w=function(){g.sL(this.u);this.u.playVideo()};g.r(g.ZQ,RN);g.h=g.ZQ.prototype;g.h.cJ=function(a){a=Iq(a);g.ce(this.O,a)||g.ce(this.F,a)||this.Xe()};
g.h.nb=function(){RN.prototype.nb.call(this);this.A.bf(this.element)};
g.h.show=function(){var a=this.Fa();RN.prototype.show.call(this);this.nt();a||this.w.ka("onSharePanelOpened")};
g.h.nt=function(){g.K(this.element,"ytp-share-panel-loading");g.Kn(this.element,"ytp-share-panel-fail");var a=this.w.getVideoData(),b=this.w.getPlaylistId(),c=b&&this.G.checked;g.L(this.element,"ytp-share-panel-has-playlist",!!b);a={action_get_share_info:1,video_id:a.videoId};var d=this.w.N();d.Lc&&(a.authuser=d.Lc);d.pageId&&(a.pageid=d.pageId);g.ux(d)&&g.FD(a,"emb_share");c&&(a.list=b);g.wp(d.C+"share_ajax",{method:"GET",onError:(0,g.x)(this.bC,this),onSuccess:(0,g.x)(function(e,f){if(f){if(!this.la()){g.Kn(this.element,
"ytp-share-panel-loading");$Q(this);for(var k=f.links,l=0,m=0;m<k.length&&2>l;m++){var n=k[m];a:switch(n.img){case "facebook":var p=g.Y?{D:"div",X:["ytp-icon","ytp-icon-share-facebook"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",M:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",M:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z",
fill:"#39579b"}}]};break a;case "twitter":p=g.Y?{D:"div",X:["ytp-icon","ytp-icon-share-twitter"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",M:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",M:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z",
fill:"#01abf0"}}]};break a;default:p=null}p&&(p=new g.V({D:"a",X:["ytp-share-panel-service-button","ytp-button"],M:{href:n.url,target:"_blank",title:n.sname},K:[p]}),p.ia("click",g.Ra(this.VM,n.url)),g.le(p,g.dN(this.A,p.element)),this.B.push(p),l++)}k=new g.V({D:"a",X:["ytp-share-panel-service-button","ytp-button"],K:[{D:"span",I:"ytp-share-panel-service-button-more",K:[g.Y?{D:"div",X:["ytp-icon","ytp-icon-share-more"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},K:[{D:"rect",
M:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{D:"path",M:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 Z m -5.7,21.85 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z m -9.5,0 c 1.57,0 2.85,-1.27 2.85,-2.85 0,-1.57 -1.27,-2.85 -2.85,-2.85 -1.57,0 -2.85,1.27 -2.85,2.85 0,1.57 1.27,2.85 2.85,2.85 z",
fill:"#4e4e4f","fill-rule":"evenodd"}}]}]}],M:{href:f.more,target:"_blank",title:"Daha fazla"}});k.ia("click",(0,g.x)(this.GL,this,f.more));g.le(k,g.dN(this.A,k.element));this.B.push(k);this.ha("buttons",this.B)}}else this.bC(null,null)},this),
Wd:a,withCredentials:!0});b=this.w.getVideoUrl(!0,!0,!1,!0);this.ha("link",b);this.ha("linkText",b);this.ha("shareLinkWithUrl",g.JM("$URL ba\u011flant\u0131s\u0131n\u0131 payla\u015f",{URL:b}));SM(this.C)};
g.h.bC=function(){g.Kn(this.element,"ytp-share-panel-loading");g.K(this.element,"ytp-share-panel-fail")};
g.h.VM=function(a,b){if(g.aM(b)){var c=void 0===c?{}:c;c.target=c.target||"YouTube";c.width=c.width||"600";c.height=c.height||"600";c||(c={});var d=window;var e=a instanceof g.Bc?a:g.Ec("undefined"!=typeof a.href?a.href:String(a));var f=c.target||a.target,k=[];for(l in c)switch(l){case "width":case "height":case "top":case "left":k.push(l+"="+c[l]);break;case "target":case "noopener":case "noreferrer":break;default:k.push(l+"="+(c[l]?1:0))}var l=k.join(",");if(ld()&&d.navigator&&d.navigator.standalone&&
f&&"_self"!=f)l=g.Vd("A"),g.Zc(l,e),l.setAttribute("target",f),c.noreferrer&&l.setAttribute("rel","noreferrer"),c=document.createEvent("MouseEvent"),c.initMouseEvent("click",!0,!0,d,1),l.dispatchEvent(c),d={};else if(c.noreferrer){if(d=d.open("",f,l),c=g.Cc(e),d&&(g.Wx&&-1!=c.indexOf(";")&&(c="'"+c.replace(/'/g,"%27")+"'"),d.opener=null,c=g.Xc(g.tc("b/12014412, meta tag with sanitized URL"),'<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+g.dd(c)+'">'),e=d.document))e.write(g.Sc(c)),
e.close()}else(d=d.open(g.Cc(e),f,l))&&c.noopener&&(d.opener=null);if(c=d)c.opener||(c.opener=window),c.focus();g.Lq(b)}};
g.h.GL=function(a,b){g.QM(a,this.w,b)&&this.w.ka("SHARE_CLICKED")};
g.h.bJ=function(a){!a&&TN(this)&&this.Xe()};
g.h.focus=function(){this.C.focus()};
g.h.Y=function(){RN.prototype.Y.call(this);$Q(this)};g.r(g.aR,g.V);g.aR.prototype.G=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.u.getPlaylistId();a=a.getVideoUrl(b.videoId,c,void 0,!0);navigator.share?navigator.share({title:b.title,url:a}):(this.B.Rf(),this.H.Xe(this.element,!1));g.PL(this.u,this.element)};
g.aR.prototype.A=function(){var a=this.u.N(),b=this.u.getVideoData(),c=this.B.ee()&&g.ux(a),d=g.ux(a)&&g.uL(this.u)&&g.W(g.sL(this.u),128);this.ha("icon",c&&a.B?{D:"div",X:["ytp-icon","ytp-icon-sharrow-large"]}:g.Y?{D:"div",X:["ytp-icon","ytp-icon-sharrow"]}:{D:"svg",M:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},K:[{D:"path",Ka:!0,I:"ytp-svg-fill",M:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]});
a=a.disableSharing&&2!=this.u.getPresentingPlayerType()||!b.showShareButton||b.Zl||d;c=g.pL(this.u).getPlayerSize().width;this.w=!!b.videoId&&c>=this.F&&!a;g.L(this.element,"ytp-share-button-visible",this.w);g.FC(this,this.w);iO(this.C);g.QL(this.u,this.element,this.w&&this.P)};
g.aR.prototype.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.w&&a)};
g.aR.prototype.Y=function(){g.V.prototype.Y.call(this);g.Kn(this.element,"ytp-share-button-visible")};g.r(cR,RN);cR.prototype.show=function(){RN.prototype.show.call(this);this.C.start()};
cR.prototype.hide=function(){RN.prototype.hide.call(this);this.C.stop()};
cR.prototype.Z=function(){var a=this.w.getCurrentTime();a>this.B/1E3&&a<this.A/1E3&&this.show()};g.r(dR,g.V);dR.prototype.C=function(a){g.PL(this.u,this.element);var b=this.u.getVideoUrl(!g.aM(a),!1,!0);g.ux(this.u.N())&&(b=g.eh(b,g.FD({},"emb_title")));g.QM(b,this.u,a)};
dR.prototype.A=function(){var a=this.u.getVideoData(),b=this.u.N();this.ha("title",a.title);eR(this);if(2==this.u.getPresentingPlayerType()){var c=this.u.getVideoData();c.videoId&&c.isListed&&c.author&&c.Nf&&c.Qd?(this.ha("channelLink",c.Nf),this.ha("channelName",c.author)):eR(this)}c=b.externalFullscreen||!this.u.isFullscreen()&&b.Xb;g.L(this.B,"ytp-title-fullerscreen-link",c);b.G||!a.videoId||c?this.w&&(this.ha("url",null),this.Wa(this.w),this.w=null):(this.ha("url",this.u.getVideoUrl(!0)),this.w||
(this.w=this.L(this.B,"click",this.C)))};g.r(g.fR,g.V);g.h=g.fR.prototype;g.h.LL=function(a){3==this.w&&this.mf();(a=a.currentTarget)&&1==a.nodeType&&!this.w&&(a.removeEventListener("mouseover",this.F),a.addEventListener("mouseout",this.Z),g.R(this.O.experiments,"show_tooltip_on_tab_killswitch")||(a.removeEventListener("focus",this.F),a.addEventListener("blur",this.Z)),jR(this,a,2))};
g.h.IL=function(a){(a=Jq(a))&&g.ce(this.u,a)||this.mf()};
g.h.BA=function(a,b){if(a<=this.C&&this.C<=b){var c=this.C;this.C=NaN;gR(this,c)}};
g.h.eG=function(){Uz(this.A,this.C,160*this.B)};
g.h.mf=function(){switch(this.w){case 2:this.u.removeEventListener("mouseout",this.Z),this.u.addEventListener("mouseover",this.F),g.R(this.O.experiments,"show_tooltip_on_tab_killswitch")||(this.u.removeEventListener("blur",this.Z),this.u.addEventListener("focus",this.F));case 3:3==this.w&&this.ga.stop();this.S.removeEventListener("appresize",this.ca);this.V||this.u.setAttribute("title",this.G);this.G="";this.u=null;break;case 1:this.A&&(this.A.unsubscribe("l",this.BA,this),this.A=null),this.S.removeEventListener("videoready",
this.ca),this.da.stop()}this.w=null;this.U&&this.J.hide()};
g.h.bf=function(a){if(this.u)for(var b=0;b<arguments.length;b++)g.ce(arguments[b],this.u)&&this.mf()};
g.h.Y=function(){null!=this.w&&this.mf();g.V.prototype.Y.call(this)};g.r(g.oR,g.V);g.h=g.oR.prototype;g.h.oc=function(){var a=this.u.getPlayerSize(),b=this.u.N(),c=this.u.getVideoData(),d=g.ux(b)&&g.uL(this.u)&&g.W(g.sL(this.u),128);this.C=b.wi&&300<=a.width&&!c.isAd()&&c.wi&&!d;g.FC(this,this.C);this.B&&rR(this,this.B);g.QL(this.u,this.element,this.C&&this.P)};
g.h.cB=function(){this.w=!0;this.A=!1;nR(this,1);this.u.N().o&&KQ(this.F,this.element);this.u.N().Eb&&this.u.ka("WATCH_LATER_VIDEO_ADDED")};
g.h.Wz=function(){return this.u.getVideoData().videoId};
g.h.pJ=function(){var a=this;g.PL(this.u,this.element);var b=this.u.N(),c=this.Wz();b.Lc?mR(this,c):this.u.app.Aa?YL(function(){hr("embedsItpWatchLaterResult",{accepted:!0});nq();pR(a,c)},function(){hr("embedsItpWatchLaterResult",{accepted:!1});
qR(a,"\u00c7erezleriniz taray\u0131c\u0131 taraf\u0131ndan engellendi\u011finden, kaydetme i\u015flemi maalesef ba\u015far\u0131s\u0131z oldu.")}):pR(this,c)};
g.h.HN=function(a,b){this.A=!1;var c="Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.";b&&(c=b.errors&&b.errors.length?b.errors[0]:b.error_message);qR(this,c)};
g.h.IN=function(){this.A=!1;qR(this,"Bir hata olu\u015ftu. L\u00fctfen daha sonra tekrar deneyin.")};
g.h.dB=function(){this.A=this.w=!1;nR(this,2);this.u.N().Eb&&this.u.ka("WATCH_LATER_VIDEO_REMOVED")};
g.h.qJ=function(){this.A=this.w=!1;nR(this,2)};
g.h.Ta=function(a){g.V.prototype.Ta.call(this,a);g.QL(this.u,this.element,this.C&&a)};g.r(sR,g.CP);g.h=sR.prototype;g.h.Ya=function(){return this.J};
g.h.Bx=function(){return this.o};
g.h.Jh=function(a,b){b?this.na=a:this.na=null;this.Vd()};
g.h.uk=function(a,b){if(b)this.O.push(a);else for(var c=this.O.length;0<=c;c--)if(this.O[c]==a){this.O.splice(c,1);break}this.u.Qb(64,0<this.O.length)};
g.h.ph=function(){g.zL(this.api)&&g.AL(this.api);DP(this);DL(this.api);return!!this.na||tR(this)||g.CP.prototype.ph.call(this)};
g.h.Vd=function(){var a=!this.ph(),b=a&&g.zL(this.api)&&!g.W(g.sL(this.api),2),c=this.ga&&g.uL(this.api)&&g.W(g.sL(this.api),128);a||c?(this.lc.show(),this.pc.show()):(this.lc.hide(),this.pc.hide(),this.J.bf(this.A.element));b?(this.ra.A.show(),g.Qo("iv-button-shown")):(b=this.ra,g.Qo("iv-button-hidden"),b.A.hide());this.o&&wP(this.o,!a);g.CP.prototype.Vd.call(this)};
g.h.Cj=function(a,b,c,d,e){a.style.left="";a.style.top="";a.style.bottom="";var f=g.Nh(a);d=d||this.o&&g.ce(this.o.u.element,b);if(null==c||!d){var k=g.Nh(b);var l=g.Kh(b,g.qL(this.api));null==c&&(c=l.x+k.width/2)}c-=f.width/2;d?(k=xP(this.o),l=yP(this.o),b=g.pL(this.api).getPlayerSize().height,c=g.sd(c,k,k+l-f.width),f=b-(this.o.A.hc()?72:50)-f.height):g.ce(this.A.element,b)?(k=g.pL(this.api).getPlayerSize().width,c=g.sd(c,12,k-f.width-12),f=this.hc()?this.yb:this.Fb,"gvn"==this.api.N().playerStyle&&
(f+=20),this.ga&&(f-=this.hc()?26:18)):(b=g.pL(this.api).getPlayerSize(),c=g.sd(c,12,b.width-f.width-12),f=l.y>(b.height-k.height)/2?l.y-f.height-12:l.y+k.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"};
g.h.Dl=function(a){a&&(this.J.bf(this.A.element),this.o&&this.J.bf(this.o.u.element));g.CP.prototype.Dl.call(this,a)};
g.h.Ps=function(a,b){var c=g.pL(this.api).getPlayerSize();c=new g.qh(0,0,c.width,c.height);if(a||this.u.u&&!this.ph()){if(this.api.N().Ef||b){var d=this.hc()?this.yb:this.Fb;c.top+=d;c.height-=d}this.o&&(c.height-=this.o.A.hc()?72:50)}return c};
g.h.GI=function(a){var b=g.qL(this.api);a?b.parentElement?(b.setAttribute("aria-label","Tam Ekranda YouTube Video Oynat\u0131c\u0131s\u0131"),this.api.N().externalFullscreen||(b.parentElement.insertBefore(this.Ha.element,b),b.parentElement.insertBefore(this.Ea.element,b.nextSibling))):g.N(Error("Player not in DOM.")):(b.setAttribute("aria-label","YouTube Video Oynat\u0131c\u0131s\u0131"),g.CC(this.Ha),g.CC(this.Ea));this.ii();this.vg()};
g.h.hc=function(){return this.api.isFullscreen()||!1};
g.h.showControls=function(a){this.Hb=!a;this.Vd()};
g.h.ii=function(){var a=this.hc();this.J.B=a?1.5:1;g.L(this.U.element,"ytp-big-mode",a);this.Vd();if(this.ee()&&this.w)this.H&&this.H.Fa()&&QQ(this.w,this.H),this.G&&this.G.Fa()&&QQ(this.w,this.G),this.C&&this.C.Fa()&&QQ(this.w,this.C);else{if(this.w){a=this.w;for(var b=g.q(a.w),c=b.next();!c.done;c=b.next())g.CC(c.value);a.w=[]}this.H&&!g.ce(this.da.element,this.H.element)&&this.H.ba(this.da.element);this.G&&!g.ce(this.da.element,this.G.element)&&this.G.ba(this.da.element);this.C&&!g.ce(this.da.element,
this.C.element)&&this.C.ba(this.da.element)}this.vg();g.CP.prototype.ii.call(this)};
g.h.gr=function(){if(tR(this)&&!g.uL(this.api))return!1;var a=this.api.getVideoData();return!g.ux(this.api.N())||2==this.api.getPresentingPlayerType()||!this.gf||((a=this.gf||a.gf)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&a.videoDetails.embeddedPlayerOverlayVideoDetailsRenderer||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.CP.prototype.gr.call(this):!1};
g.h.vg=function(){g.CP.prototype.vg.call(this);g.QL(this.api,this.kc.element,!!this.F);this.xa&&this.xa.Ta(!!this.F);this.ob.Ta(!!this.F);this.Ia&&this.Ia.Ta(this.ee()&&!!this.F);this.G&&this.G.Ta(!this.ee()&&!!this.F);this.H&&this.H.Ta(!this.ee()&&!!this.F);this.C&&this.C.Ta(!this.ee()&&!!this.F);if(!this.F){this.J.bf(this.A.element);for(var a=0;a<this.za.length;a++){var b=this.za[a];TN(b)&&b.nb()}}};
g.h.Ij=function(a){this.o&&wP(this.o,this.ph());this.Vd();g.CP.prototype.Ij.call(this,a)};
g.h.XL=function(){EL(this.api)&&this.u.Qb(128,!1)};
g.h.handleGlobalKeyDown=function(a,b,c,d,e,f,k){return this.ca?this.ca.handleGlobalKeyDown(a,b,c,d,e,f,k):!1};
g.h.handleGlobalKeyUp=function(a,b,c,d,e,f,k){return this.ca?this.ca.handleGlobalKeyUp(a,b,c,d,e,f,k):!1};
g.h.Rf=function(){return this.U.Fa()?(this.U.nb(),!0):this.O.length?(this.O[this.O.length-1].nb(),!0):this.na?(this.na.nb(),!0):g.CP.prototype.Rf.call(this)};
g.h.pu=function(a,b){this.ld=b;this.uk(a,b);this.BC()};
g.h.BC=function(){var a=this.ld||TN(this.U);this.gb!=a&&(this.gb=a,this.api.ka("onAutonavPauseRequest",this.gb))};
g.h.CE=function(){uR(this,g.qL(this.api),!0).focus()};
g.h.DE=function(){uR(this,g.qL(this.api),!1).focus()};
g.h.vl=function(){return this.o&&this.o.o};
g.h.Rs=function(){this.u.Qb(2,!0)};
g.h.Hn=function(){this.S.hide()};
g.h.jt=function(a){g.gQ(this.S,!g.xD(a))};
g.h.it=function(a,b,c,d){var e=this.Rb;g.Bn(e.u);e.A.start();e.element.setAttribute("data-side",-1===a?"back":"forward");var f=3*g.pL(e.w).getPlayerSize().height;var k=g.pL(e.w).getPlayerSize();k=k.width/3-3*k.height;var l=e.o["ytp-doubletap-static-circle"];l.style.width=f+"px";l.style.height=f+"px";1===a?(l.style.left="",l.style.right=k+"px"):-1===a&&(l.style.right="",l.style.left=k+"px");var m=2.5*f;f=m/2;l=e.o["ytp-doubletap-ripple"];l.style.width=m+"px";l.style.height=m+"px";1===a?(a=g.pL(e.w).getPlayerSize().width-
b+Math.abs(k),l.style.left="",l.style.right=a-f+"px"):-1===a&&(a=Math.abs(k)+b,l.style.right="",l.style.left=a-f+"px");l.style.top="calc((33% + "+Math.round(c)+"px) - "+f+"px)";if(c=e.o["ytp-doubletap-ripple"])c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");d=g.JM("$TOTAL_SEEK_TIME saniye",{TOTAL_SEEK_TIME:d.toString()});e.ha("seekTime",d)};
g.h.cC=function(){var a=this.api.getVideoData();a&&a.tooltipRenderer&&(this.ya||(this.ya=new XQ(a.tooltipRenderer,this,this.api),g.H(this,this.ya),g.KL(this.api,this.ya.element,8)),this.ya.C(a.tooltipRenderer))};g.r(g.vR,g.LP);g.vR.prototype.Bf=function(){return!1};
g.vR.prototype.create=function(){var a=this.player.N();Vx(a)&&a.o?this.o=new g.CP(this.player):this.o=new sR(this.player);g.H(this,this.o);this.o.init();g.HL(this.player,"ux")};Ja(wR);var $S=g.w("ytPlayerUtilsVideoTagPoolInstance")||wR.getInstance();g.Ha("ytPlayerUtilsVideoTagPoolInstance",$S,void 0);g.h=wR.prototype;g.h.Vw=function(a){if(!(this.o.length>=a)){a-=this.o.length;for(var b=0;b<a;b++)yR(this)}};
g.h.WE=function(a,b){if(this.o.length)return this.o.pop();var c=yR(this,a,b);a||g.fb(this.o,c);return c};
g.h.iO=function(a){a&&g.bb(this.u,a)&&(a.src&&(ml&&0<a.readyState&&(a.currentTime=Math.max(mqa,0)),a.removeAttribute("src"),a.load(),a.o&&a.o.u&&(a.o&&a.o.dispose(),a.o=null)),Qq(a),g.fb(this.u,a),g.fb(this.w,a))};
g.h.HF=function(a){return this.o.length>=(a||1)};
g.h.KD=function(){for(var a=this.w.length-1;0<=a;a--)xR(this,this.w[a]);this.o.length==this.u.length&&4<=this.o.length||(4>this.u.length?this.Vw(4):(this.o=[],(0,g.y)(this.u,function(b){xR(this,b)},this)))};
wR.prototype.fillPool=wR.prototype.Vw;wR.prototype.getTag=wR.prototype.WE;wR.prototype.releaseTag=wR.prototype.iO;wR.prototype.hasTags=wR.prototype.HF;wR.prototype.activateTags=wR.prototype.KD;g.r(g.zR,g.dC);g.h=g.zR.prototype;g.h.isView=function(){return!0};
g.h.cp=function(){var a=this.o.getCurrentTime();if(a<this.u)try{var b=this.o.Ad(),c=Xv(b,a);return!(this.u<c)}catch(d){}return!1};
g.h.Vi=function(){return $v(this.o.Vi(),this.u,this.A)};
g.h.Ad=function(){return $v(this.o.Ad(),this.u,this.A)};
g.h.Dk=function(){return $v(this.o.Dk(),this.u,this.A)};
g.h.getCurrentTime=function(){return this.o.getCurrentTime()-this.u};
g.h.hp=function(a){this.o.hp(a+this.u)};
g.h.getDuration=function(){return isFinite(this.A)&&!this.G?this.A-this.u:this.o.getDuration()-this.u};
g.h.play=function(){if(this.cp()){this.o.getCurrentTime();try{this.o.hp(this.u)}catch(a){}}return this.o.play()};
g.h.Va=function(){var a=g.dC.prototype.Va.call(this);a.view=this.u+"-"+this.A;return a};
g.h.addEventListener=function(a,b){this.o.addEventListener(a,b)};
g.h.removeEventListener=function(a,b){this.o.removeEventListener(a,b)};
g.h.mo=function(){return this.o.mo()};
g.h.qj=function(a){this.o.qj(a)};
g.h.lo=function(){return this.o.lo()};
g.h.playVideo=function(){return this.o.playVideo()};
g.h.Rq=function(){this.o.Rq()};
g.h.Nq=function(){this.o.Nq()};
g.h.ah=function(){return this.o.ah()};
g.h.ib=function(){return this.o.ib()};
g.h.Uc=function(){return this.o.Uc()};
g.h.jp=function(a){this.o.jp(a)};
g.h.Zo=function(){this.o.Zo()};
g.h.getPlaybackRate=function(){return this.o.getPlaybackRate()};
g.h.setPlaybackRate=function(a){return this.o.setPlaybackRate(a)};
g.h.ko=function(){return this.o.ko()};
g.h.setLoop=function(a){this.o.setLoop(a)};
g.h.canPlayType=function(a,b){return this.o.canPlayType(a,b)};
g.h.bh=function(){return this.o.bh()};
g.h.ql=function(){return this.o.ql()};
g.h.rf=function(){return this.o.rf()};
g.h.vn=function(){return this.o.vn()};
g.h.oh=function(a){this.o.oh(a)};
g.h.no=function(){return this.o.no()};
g.h.load=function(){this.o.load()};
g.h.pause=function(){this.o.pause()};
g.h.he=function(){return this.o.he()};
g.h.xn=function(){return this.o.xn()};
g.h.Qe=function(){return this.o.Qe()};
g.h.ol=function(){return this.o.ol()};
g.h.pl=function(){return this.o.pl()};
g.h.ci=function(){return this.o.ci()};
g.h.Es=function(){return this.o.Es()};
g.h.togglePictureInPicture=function(){this.o.togglePictureInPicture()};
g.h.Lg=function(){return this.o.Lg()};
g.h.rj=function(){return this.o.rj()};
g.h.setSize=function(a){return this.o.setSize(a)};
g.h.getVolume=function(){return this.o.getVolume()};
g.h.setVolume=function(a){this.o.setVolume(a)};
g.h.setAttribute=function(a,b){this.o.setAttribute(a,b)};
g.h.removeAttribute=function(a){this.o.removeAttribute(a)};
g.h.hasAttribute=function(a){return this.o.hasAttribute(a)};
g.h.ek=ba(7);g.h.gm=ba(9);g.h.Ai=ba(4);g.h.jk=ba(11);g.h.vk=function(){this.o.vk()};
g.h.Ek=function(a){return this.o.Ek(a)};
g.h.Kr=function(){return this.o.Kr()};
g.h.stopVideo=function(){this.o.stopVideo()};
g.h.Sq=function(a){this.o.Sq(a)};g.r(BR,g.B);g.h=BR.prototype;g.h.isFinished=function(){return 6==this.A.status};
g.h.getStatus=function(){return this.A};
g.h.zh=function(){var a=this.u.getVideoData(),b=this.o.getVideoData(),c;if((c=a.va)&&!(c=!a.ma)){c=a.ma;for(var d=!1,e=!1,f=g.q(Object.values(c.o)),k=f.next();!k.done;k=f.next())k=k.value,k.info.audio&&k.index.Pb()&&(d=!0),k.info.video&&k.index.Pb()&&(e=!0);c.o["0"]&&(e=!0);c=d&&e}if(c)if(this.u.o){k=Eka(this.O,this.u,this.o,this.F);f=CR(this);c=f.nE;e=f.kA;d=f.mE;f=f.jA;if(!this.H){var l=1E3*this.o.getCurrentTime(),m=this.u.getCurrentTime();m=1E3*(d-c-m);k&&"in-the-past"==k&&(m=0);a=a.isAd();var n=
this.o.B;n.o&&(n=n.o,n.J={uO:vI(n,"glrem","nst."+l.toFixed()+";rem."+m.toFixed()+";ca."+ +a),lA:l,kO:m,isAd:a});this.H=!0}k?AR(this,"cannot_apply_"+k+";transitionTimeMs."+this.F):2==this.A.status?HR(this):(a=this.u.G)&&gw(a)&&(!ew(a)&&g.fl()?AR(this,"mse_closed"):b.ma&&Ny(b.ma)&&a.u&&!a.u.sn()?AR(this,"encr_upgrade"):(b=this.u.o,b.rf()?AR(this,"elem_ended"):0>e?AR(this,"next_player_future"):(this.G=d,this.w=kw(a,c,d,!0),this.B=kw(a,e,f,!1),a=this.o.getVideoData().clientPlaybackNonce,this.u.Ra("gaplessPrep",
"cpn."+a),NK(this.u,this.w),wK(this.u,DR(b,c,d,!this.u.getVideoData().isAd())),ER(this,2),HR(this))))}else AR(this,"no-elem")};
g.h.vj=function(a){var b=GR(this),c=a==b.YB;b=c?this.w.o:this.w.u;c=c?this.B.o:this.B.u;if(b.isActive()&&!c.isActive()){var d=this.G;Wv(a.nd(),d-.01)&&(ER(this,4),b.setActive(!1),this.o.Ra("sbh","1"),c.setActive(!0));a=this.B.u;this.B.o.isActive()&&a.isActive()&&ER(this,5)}};
g.h.Y=function(){FR(this);if(this.w){var a=this.w.u;this.w.o.o.unsubscribe("updateend",this.vj,this);a.o.unsubscribe("updateend",this.vj,this)}g.B.prototype.Y.call(this)};
g.h.Cz=function(a){g.DD(a,128)&&AR(this,"player-error-event")};g.r(IR,g.B);IR.prototype.clearQueue=function(){this.B&&this.B.reject("Queue cleared");JR(this)};
IR.prototype.Y=function(){JR(this);g.B.prototype.Y.call(this)};g.r(NR,g.B);NR.prototype.P=function(){};
NR.prototype.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)MR(this,a);else{b=this.A.rb();var d=b==this.w?this.B:null;RR(this,!1);this.G=a;null!=c&&this.C.start(c);b&&(this.B=d||b.getPlayerState(),GK(b),this.w=b)}};
NR.prototype.Y=function(){RR(this,!1);VL(this);g.B.prototype.Y.call(this)};
var Ika=0;g.r(UR,g.B);g.h=UR.prototype;g.h.xI=function(a){if(this.w==this.o.rb()){var b=this.F.get(a);b||VR(this,"e.unexpectedCueRangeTriggered");aS(this,b.target,b.Fe,a)}else{b=this.u.find(function(e){return e.ae.Ib==a});
var c=b.ae,d=c.target;c=c.Fe;d?aS(this,d,c,a):Mka(this,b.Lb,c,a)}};
g.h.uM=function(){var a=this.H;cS(this);a&&(bS(this,a)||VR(this,"e.unexpectedPresentingPlayer"),this.o.rb().addCueRange(a.ae.Ib))};
g.h.seekTo=function(a,b,c){a=void 0===a?0:a;c=void 0===c?null:c;if(void 0===b?0:b)TR(this,a);else{b=this.o.rb();var d=b==this.B?this.G:null;fS(this,!1);this.S=a;null!=c&&this.O.start(c);b&&(this.G=d||b.getPlayerState(),GK(b),this.B=b)}};
g.h.yI=function(a){var b=this;if(g.DD(a,128)){var c=this.u.find(function(d){return bS(b,d)});
c&&(cS(this),a=new g.pD(8),c=dS(this,c)/1E3,gS(this,c,a))}};
g.h.Y=function(){fS(this,!1);WL(this);g.B.prototype.Y.call(this)};
var Kka=0;g.r(mS,g.B);mS.prototype.get=function(a){kS(this);var b=this.data.find(function(c){return c.key===a});
return b?b.value:null};
mS.prototype.set=function(a,b,c){this.remove(a,!0);kS(this);a={key:a,value:b,expire:Infinity};c&&isFinite(c)&&(c*=1E3,a.expire=(0,g.O)()+c);for(this.data.push(a);this.data.length>this.w;)(c=this.data.shift())&&nS(this,c,!0);lS(this)};
mS.prototype.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a});
c&&(nS(this,c,b),g.gb(this.data,function(d){return d.key===a}),lS(this))};
mS.prototype.Y=function(){var a=this;g.B.prototype.Y.call(this);this.data.forEach(function(b){nS(a,b,!0)});
this.data=[]};oS.prototype.B=function(){this.o.shift();0<this.o.length&&pS(this,this.o[0])};g.r(qS,g.B);qS.prototype.w=function(a){this.u=a[a.length-1].intersectionRatio};
qS.prototype.Y=function(){g.B.prototype.Y.call(this);this.u=null;this.o&&this.o.disconnect()};var Nka=oc(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}}),rS=!1;g.r(tS,g.V);g.h=tS.prototype;g.h.FF=function(){this.G=new g.qh(0,0,0,0);this.w=new g.qh(0,0,0,0)};
g.h.Ho=function(a){g.Jn(this.element,arguments)};
g.h.Be=function(){if(this.u){var a=this.getPlayerSize();if(!a.isEmpty()){var b=this.w;b=!g.Ad(a,new g.yd(b.width,b.height));var c=BS(this);b&&(this.w.width=a.width,this.w.height=a.height);a=this.app.N();(c||b||a.ga)&&this.app.u.R("resize",this.getPlayerSize())}}};
g.h.HI=function(a,b){this.updateVideoData(b)};
g.h.GF=function(a){a.getVideoData()&&this.updateVideoData(a.getVideoData())};
g.h.updateVideoData=function(a){if(this.u){var b=this.app.N();ml&&(this.u.setAttribute("x-webkit-airplay","allow"),a.title?this.u.setAttribute("title",a.title):this.u.removeAttribute("title"));AB(a)?this.u.setAttribute("disableremoteplayback",""):this.u.removeAttribute("disableremoteplayback");this.u.setAttribute("controlslist","nodownload");b.pn&&a.videoId&&(this.u.poster=a.Bc("default.jpg"));g.R(b.experiments,"html5_send_origin_for_progressive")&&a.va&&!a.va.o&&this.u.setAttribute("crossorigin",
"anonymous")}b=g.GB(a,"yt:bgcolor");this.A.style.backgroundColor=b?b:"";this.S=ox(g.GB(a,"yt:stretch"));this.U=ox(g.GB(a,"yt:crop"),!0);g.L(this.element,"ytp-dni",a.uc);this.Be()};
g.h.setGlobalCrop=function(a){this.J=ox(a,!0);this.Be()};
g.h.getPlayerSize=function(){var a=this.app.N(),b=this.app.u.isFullscreen();if(b&&dl())return new g.yd(window.outerWidth,window.outerHeight);if(b||a.ym){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.F&&this.F.media==a||(this.F=window.matchMedia(a));var c=this.F&&this.F.matches}if(c)return new g.yd(window.innerWidth,window.innerHeight)}else{if(!isNaN(this.B.width)&&!isNaN(this.B.height))return this.B.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.yd(b.size.width,b.size.height)}return new g.yd(this.element.clientWidth,this.element.clientHeight)};
g.h.getVideoAspectRatio=function(){return isNaN(this.S)?wS(this):this.S};
g.h.getVideoContentRect=function(a){var b=this.getPlayerSize();a=xS(this,b,this.getVideoAspectRatio(),a);return new g.qh((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)};
g.h.rF=function(){this.u&&AS(this);zS(this)!=this.O&&this.Be()};
g.h.II=function(){AS(this)};
g.h.setUseFastSizingOnWatch=function(a){this.Z!=a&&(this.Z=a,this.Be())};
g.h.setInternalSize=function(a){g.Ad(this.B,a)||(this.B=a,this.Be())};
g.h.Y=function(){this.H&&g.Po(this.H);uS(this);g.V.prototype.Y.call(this)};CS.prototype.click=function(a){this.o.has(a);this.u.has(a);var b=g.Sr();b&&a.visualElement&&g.is(b,a.visualElement)};g.r(FS,g.V);g.r(HS,g.V);g.h=HS.prototype;g.h.show=function(){g.V.prototype.show.call(this);this.zt()};
g.h.hide=function(){g.V.prototype.hide.call(this);this.u.stop()};
g.h.stop=function(){this.u.stop()};
g.h.start=function(){this.u.isActive()||this.zt()};
g.h.zt=function(){var a=(0,g.O)(),b=yC(this.F);GS(this.w,b.bandwidth_samples);GS(this.C,b.network_activity_samples);GS(this.B,b.live_latency_samples);GS(this.A,b.buffer_health_samples);this.update(b);a=25<(0,g.O)()-a?5E3:500;this.u.start(a)};iL.prototype.replace=function(a,b){for(var c=g.q(a),d=c.next();!d.done;d=c.next())delete this.o[d.value.encryptedTokenJarContents];JS(this,b)};g.r(LS,KS);LS.prototype.u=function(a){return a.subscribeEndpoint};
LS.prototype.o=function(a,b){b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params)};g.r(MS,KS);MS.prototype.u=function(a){return a.unsubscribeEndpoint};
MS.prototype.o=function(a,b){b.channelIds&&(a.channelIds=b.channelIds);b.siloName&&(a.siloName=b.siloName);b.params&&(a.params=b.params)};NS.prototype.fetch=function(a,b){var c=new Request(a,b);return kf(fetch(c).then(function(d){return d.json()}))};g.r(US,g.B);g.h=US.prototype;g.h.getVisibilityState=function(a,b,c,d,e){return this.H.getVisibilityState(a,b,c,d,e)};
g.h.isVideoInfoVisible=function(){return!(!this.ca||!this.ca.Fa())};
g.h.lK=function(){YS(this)||g.tT(this,5)};
g.h.hM=function(a){YS(this)||(QT(this),g.xD(a.getPlayerState())&&this.playVideo())};
g.h.canPlayType=function(a){return Fv(a)};
g.h.N=function(){return this.o};
g.h.getVideoData=function(){return this.C.getVideoData()};
g.h.getVideoLoadedFraction=function(a){return(a=(a=g.U(this,a))?a.o:null)?jC(a):0};
g.h.Tc=function(){var a={},b=g.PP(this.A);b&&g.Sa(a,b.MG());a.fs=this.u.isFullscreen();a.volume=Math.round(this.u.getVolume());a.mos=this.u.isMuted()?1:0;if(g.R(this.o.experiments,"html5_enable_embedded_player_visibility_signals")&&this.o.u&&(this.Kc&&(b=this.Kc,b=null==b.u?null:Math.round(100*b.u)/100,null!=b&&(a.inview=b)),b=this.G.getPlayerSize(),0<b.height&&0<b.width)){b=[Math.round(b.height),Math.round(b.width)];var c=g.Rx();1<c&&b.push(c);a.size=b.join(":")}!OS(this,"web_player_clips_vss_killswitch")&&
this.C==this.w&&this.J&&(a.clipid=this.J.postId);return a};
g.h.setLoopRange=function(a){var b=!1;!!this.J!==!!a?b=!0:this.J&&a&&(b=this.J.startTimeMs!==a.startTimeMs||this.J.endTimeMs!==a.endTimeMs||this.J.postId!==a.postId);b&&(QG(this.w.P,"applooprange"),a&&(b=new g.SD(a.startTimeMs,a.endTimeMs,{id:"looprange",namespace:"applooprange"}),this.w.addCueRange(b)),this.J=a,this.u.ka("onLoopRangeChange",a),this.C==this.w&&(this.J&&!xT(this,this.w.getCurrentTime())&&this.du(),g.EI(this.C.B)))};
g.h.getLoopRange=function(){return this.J};
g.h.du=function(){this.w.seekTo(.001*this.J.startTimeMs)};
g.h.setPlaybackRate=function(a,b){if(!isNaN(a)){var c=XS(this,a);this.w.getPlaybackRate()!=c&&(this.w.setPlaybackRate(c),b&&!this.o.u&&g.ns("yt-player-playback-rate",c),this.u.ka("onPlaybackRateChange",c))}};
g.h.getCurrentTime=function(a,b){b=void 0===b?!0:b;if(3==this.getPresentingPlayerType())return g.tL(this.A).getCurrentTime();var c=g.U(this,a);return c?b?(c=jT(this,c),zT(this,c.getCurrentTime(),c)):c.getCurrentTime():0};
g.h.getDuration=function(a,b){var c=g.U(this,a);return c?void 0===b||b?(c=iT(this,c),zT(this,c.getDuration(),c)):c.getDuration():0};
g.h.Ab=function(a){a=g.U(this,a);if(!a)return 0;a=iT(this,a);return zT(this,a.Ab(),a)};
g.h.getDebugText=function(a){var b=this.w.Va(a);if(this.C&&this.C!=this.w&&(b=aU(b,this.C.Va(a),"ad_"),a)){var c=b;var d={};var e;if(e=Gd("movie_player"))d.bounds=e.getBoundingClientRect(),d["class"]=e.className;e={};var f=g.Jd("video-ads");f?(ZT(f,e),e.html=f.outerHTML):e.missing=1;f={};var k=g.Jd("videoAdUiSkipContainer"),l=g.Jd("ytp-ad-skip-button-container"),m=k||l;m?(ZT(m,f),f.ima=k?1:0,f.bulleit=l?1:0):f.missing=1;k={};k.player=d;k.videoAds=e;k.skipButton=f;d=JSON.stringify(k);c.ad_skipBtnDbgInfo=
d}a&&this.B&&(b["0sz"]=0==Bd(this.B.rj()),b.op=this.B.Ek("opacity"),c=this.B.Lg().y+this.B.rj().height,b.yof=0>=c,b.dis=this.B.Ek("display"));(a=a?(0,g.gK)():null)&&(b.gpu=a);b.cgr=!0;b.debug_playbackQuality=this.u.getPlaybackQuality(1);b.debug_date=(new Date).toString();delete b.uga;delete b.q;(a=CL(this.A))&&(b=aU(b,a.Va(),"fresca_"));return JSON.stringify(b,null,2)};
g.h.getPresentingPlayerType=function(){return 1==this.U?1:YS(this)?3:g.U(this).getPlayerType()};
g.h.vG=function(a){switch(a.type){case "loadedmetadata":OA("fvb","")||this.O.tick("fvb");ZA("fvb");this.yb.start();break;case "loadstart":OA("gv","")||this.O.tick("gv");ZA("gv");break;case "progress":case "timeupdate":!OA("l2s","")&&2<=Yv(a.target.Ad())&&this.O.tick("l2s");break;case "playing":g.Wx&&this.yb.start();if(g.Ix(this.o))a=!1;else{var b=g.xL(this.A);a="none"==this.B.Ek("display")||0==Bd(this.B.rj());var c=zS(this.G),d=this.C.getVideoData(),e=Vx(this.o)||g.Dx(this.o);d=iB(d);b=!c||b||e||
d||this.o.Cg;a=a&&!b}a&&(this.C.Ra("hidden","1",!0),this.getVideoData().vf||(OS(this,"html5_new_elem_on_hidden")?(this.getVideoData().vf=1,this.KA(null),this.C.playVideo()):VT(this,"hidden",!0)))}};
g.h.pL=function(a,b){this.u.ka("onLoadProgress",b)};
g.h.kN=function(){this.u.R("playbackstalledatstart")};
g.h.wG=function(a,b){var c=jT(this,a);b=zT(this,c.getCurrentTime(),c);this.u.ka("onVideoProgress",b)};
g.h.SK=function(){this.u.ka("onDompaused")};
g.h.sM=function(){this.u.R("progresssync")};
g.h.rG=function(a){if(1==this.getPresentingPlayerType()){g.DD(a,1)&&!g.W(a.state,64)&&mT(this).ua&&this.w.isAtLiveHead()&&1<this.u.getPlaybackRate()&&this.setPlaybackRate(1,!0);g.DD(a,2)&&eT(this);if(g.W(a.state,128)){var b=a.state;IT(this,5);b=b.u;JSON.stringify({errorData:b,debugInfo:this.getDebugText(!0)});this.u.ka("onError",lqa[b.errorCode]||5);this.u.ka("onDetailedError",{errorCode:b.errorCode,errorDetail:b.errorDetail,message:b.errorMessage,zT:b.Tq});6048E5<(0,g.O)()-this.o.ra&&this.u.ka("onReloadRequired")}b=
{};if(g.wD(a.state)&&!g.zD(a.state)&&!OA("pbresume","ad_to_video")&&OA("_start","ad_to_video")){var c=this.getVideoData();b.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(b.videoId=c.videoId);MA(b,"ad_to_video");XA("pbresume",void 0,"ad_to_video")}this.u.R("applicationplayerstatechange",a)}};
g.h.bB=function(a){3!=this.getPresentingPlayerType()&&this.u.R("presentingplayerstatechange",a)};
g.h.tG=function(a){gT(this,AD(a.state));g.W(a.state,1024)&&this.u.isMutedByMutedAutoplay()&&(QC(this,{muted:!1,volume:this.P.volume},!1),uT(this,!1))};
g.h.lM=function(a){g.wD(a.state)&&!g.zD(a.state)&&(TP(this.A),g.vr(this.Hc))};
g.h.jK=function(a,b,c){"newdata"==a&&CT(this);(a=c.getPlayerResponse())&&(a=a.clipConfig)&&null!=a.startTimeMs&&null!=a.endTimeMs&&this.setLoopRange({startTimeMs:parseInt(a.startTimeMs,10),endTimeMs:parseInt(a.endTimeMs,10),postId:a.postId})};
g.h.oK=function(){this.u.ka("onPlaybackAudioChange",this.u.getAudioTrack().sb.name)};
g.h.DN=function(a){var b=this.C.getVideoData();a==b&&this.u.ka("onPlaybackQualityChange",a.Ba.wa().quality)};
g.h.As=function(a,b,c){b==this.w&&(this.o.ob=c.oauthToken);if("newdata"==a)VP(this.A,2),this.u.R("videoplayerreset",b);else{if(!this.B)return;if("dataloaded"==a)if(this.C==this.w){if(c.La.me(c.kB),!this.w.getPlayerState().isError()){var d=YS(this);mT(this).Pb();d&&g.tT(this,6);lT(this);d||(d=WP(this.A))&&!d.created&&QP(this.A)&&d.create()}}else lT(this);1==b.getPlayerType()&&(this.o.J&&XT(this),this.getVideoData().ua&&!this.o.Lm&&g.SJ(this.w,"html5.unsupportedlive","DEVICE_FALLBACK",void 0,void 0),
c.Pb()&&(c.Kl||c.Uo||c.Oc.focEnabled||c.Oc.rmktEnabled||this.getVideoData().Uv)&&(d=this.getVideoData(),FT(this,"part2viewed",1,0x8000000000000),FT(this,"engagedview",Math.max(1,1E3*d.Je),0x8000000000000),d.ua||(d=1E3*d.lengthSeconds,FT(this,"videoplaytime25",.25*d,d),FT(this,"videoplaytime50",.5*d,d),FT(this,"videoplaytime75",.75*d,d),FT(this,"videoplaytime100",d,0x8000000000000),FT(this,"conversionview",d,0x8000000000000))));this.u.R("videodatachange",a,c,b.getPlayerType())}this.o.Eb&&this.u.ka("onVideoDataChange",
{type:a,playertype:b.getPlayerType()});b==this.w&&this.J&&!xT(this,this.w.getCurrentTime())&&this.du();a=c.clientScreenNonce;c=c.gp;a&&c?(b=this.ra,a!=g.Sr()&&(Vr(a,c),ES(b))):ES(this.ra)};
g.h.Vm=function(){pT(this,null);this.u.ka("onPlaylistUpdate")};
g.h.oA=function(a){var b=a.getId(),c=mT(this);if("part2viewed"==b)c.pB&&g.Qp(c.pB),c.Uo&&$T(this,c.Uo);else if("conversionview"==b){var d=this.w.B;d.u&&MD(d.u)}else"engagedview"==b&&g.Qp(c.Kl);if(c.qB){d=c.qB;var e={label:a.getId()};if(g.R(this.o.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.gp(d,e);g.Qp(d)}switch(b){case "videoplaytime25":c.Tt&&$T(this,c.Tt);c.sB&&g.Qp(c.sB);break;case "videoplaytime50":c.Ut&&$T(this,
c.Ut);c.tB&&g.Qp(c.tB);break;case "videoplaytime75":c.Vt&&$T(this,c.Vt);c.uB&&g.Qp(c.uB);break;case "videoplaytime100":c.St&&$T(this,c.St),c.rB&&g.Qp(c.rB)}(b=this.getVideoData().Uv)&&GT(b,a.getId())&&GT(b,a.getId()+"gaia");this.w.removeCueRange(a)};
g.h.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.U(this,a);if(!c)return!1;var d=iT(this,c);c=jT(this,c);return d!=c?d.isAtLiveHead(zT(this,c.getCurrentTime(),c),!0):d.isAtLiveHead(void 0,b)};
g.h.seekTo=function(a,b,c,d){b=0!=b;if(d=g.U(this,d))2==this.U&&rT(this),this.Ob(d)?this.S?this.S.seekTo(a,b,c):this.xa.seekTo(a,b,c):d.seekTo(a,{yC:!b,zC:c})};
g.h.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)};
g.h.uG=function(){this.u.ka("SEEK_COMPLETE")};
g.h.UM=function(a,b){var c=a.getVideoData();if(1==this.U||2==this.U)c.startSeconds=b;2==this.U?rT(this):this.u.ka("SEEK_TO",b)};
g.h.bK=function(){this.u.R("airplayactivechange")};
g.h.cK=function(){this.u.R("airplayavailabilitychange")};
g.h.tK=function(){this.u.R("beginseeking")};
g.h.UK=function(){this.u.R("endseeking")};
g.h.getStoryboardFormat=function(a){return(a=g.U(this,a))?iT(this,a).getVideoData().getStoryboardFormat():null};
g.h.ue=function(a){return(a=g.U(this,a))?iT(this,a).getVideoData().ue():null};
g.h.Ob=function(a){if(a=a||this.C){a=a.getVideoData();if(this.S)a:{var b=this.S;if(a==b.u.getVideoData()&&b.o.length)a=!0;else{b=g.q(b.o);for(var c=b.next();!c.done;c=b.next())if(a.Cb==c.value.Cb){a=!0;break a}a=!1}}else a:if(b=this.xa,a==b.w.getVideoData()&&b.u.length)a=!0;else{b=g.q(b.u);for(c=b.next();!c.done;c=b.next())if(a.Cb==c.value.Cb){a=!0;break a}a=!1}if(a)return!0}return!1};
g.h.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;this.Ob();a=new g.cB(this.o,a);d&&(a.Cb=d);if(!g.R(this.o.experiments,"html5_report_dai_ad_playback_killswitch")&&2==b&&this.w&&(d=this.w.B,d.o)){d=d.o;var e=a.clientPlaybackNonce,f=a.Ml||"",k=a.breakType||0;g.tI(d,g.jD(d.o),"ad_playback",[e,f,k])}c=void 0===c?Infinity:c;b=b||this.C.getPlayerType();var l;g.R(this.o.experiments,"html5_gapless_preloading")&&(l=vT(this,b,a,!0));l||(l=TS(this,b),cK(l,a,(0,g.x)(this.Tc,
this)));$R(this,l,c)};
g.h.clearQueue=function(){this.Ea.clearQueue()};
g.h.loadVideoByPlayerVars=function(a,b,c,d){this.o.Zb&&ZL(a);var e=new g.cB(this.o,a);c||(a&&ZD(a)?(Qx(this.o)&&!this.Z&&(a.fetch=0),pT(this,a)):this.F&&pT(this,null),a&&(this.Z=T(!1,a.external_list)),Qx(this.o)&&!this.Z&&qT(this));return iS(this,e,b,d)};
g.h.preloadVideoByPlayerVars=function(a,b,c,d,e){b=void 0===b?1:b;c=void 0===c?NaN:c;e=void 0===e?"":e;d=b+"_"+(a.docid||a.video_id||a.videoId||a.id||null)+"_"+e;var f;if(!(f=this.Ua.get(d))&&(f=this.C)){f=this.C.getPlayerType();var k=this.C.getVideoData().videoId,l=this.C.getVideoData().Cb;f=d==f+"_"+k+"_"+l}f||(this.o.Zb&&ZL(a),a=new g.cB(this.o,a),e&&(a.Cb=e),e=b+"_"+a.videoId+"_"+a.Cb,a.oi=!0,d=TS(this,b),cK(d,a,(0,g.x)(this.Tc,this)),!g.R(this.o.experiments,"unplugged_tvhtml5_video_preload_no_dryrun")&&
1==b&&Tx(this.o)||hK(d,!0),this.Ua.set(e,d,c||3600),c="prefetch_"+a.videoId,UA("prefetch",["pfp"],c),MA({playerInfo:{playbackType:Ppa[b]},videoId:a.videoId},c))};
g.h.setMinimized=function(a){this.H.setMinimized(a);a=this.A;(a=a.o.N().showMiniplayerUiWhenMinimized?a.u.get("miniplayer"):null)&&(this.H.o?a.load():a.unload());this.u.R("minimized")};
g.h.setInline=function(a){this.H.setInline(a)};
g.h.RM=function(){"picture-in-picture"==this.B.ib().webkitPresentationMode?oJ(this.H,!0):oJ(this.H,!1)};
g.h.togglePictureInPicture=function(){var a=g.U(this);a&&a.togglePictureInPicture()};
g.h.cueVideoByPlayerVars=function(a,b){this.o.Zb&&ZL(a);if(a&&ZD(a)){this.za=!0;pT(this,a);var c=this.F.wa();if(c&&c.isValid())KT(this,c,b);else this.F.onReady((0,g.x)(this.Mo,this))}else b||(b=this.getPresentingPlayerType()),1==b&&this.Vm(),KT(this,new g.cB(this.o,a),b)};
g.h.cuePlaylist=function(a,b,c,d){this.za=!0;a=bC(a,b,c,d);pT(this,a);this.F.onReady((0,g.x)(this.Mo,this))};
g.h.loadPlaylist=function(a,b,c,d){this.za=!1;a=bC(a,b,c,d);pT(this,a);this.F.onReady((0,g.x)(this.Mo,this))};
g.h.Mo=function(){var a=this.F.wa();if(a){var b=this.getVideoData();b.hh||!this.za?(b=b.Sg,a=iS(this,a),b&&JT(this,a)):KT(this,a)}this.u.ka("onPlaylistUpdate")};
g.h.nextVideo=function(a,b){var c=this,d=this.w.getVideoData().suggestions;if(g.LL(this.u)&&d){d=(0,g.A)(d,function(f){return g.nO(c.o,f)});
d=d[0];var e=b?d.Nw:d.Nb;g.LT(this,d.wa().videoId,e,d.getPlaylistId(),b)}else this.Z?this.u.ka("onPlaylistNext"):3==this.getPresentingPlayerType()?g.tL(this.A).nextVideo():this.F&&(Qx(this.o)&&!this.u.isFullscreen()?ET(this,"yt.www.watch.lists.next"):(this.F.hasNext(a)&&bE(this.F,$D(this.F)),this.F.ud?(d=b&&g.R(this.o.experiments,"html5_player_autonav_logging"),iS(this,this.F.wa(void 0,b,d),1)):this.za=!1))};
g.h.previousVideo=function(a){this.Z?this.u.ka("onPlaylistPrevious"):3==this.getPresentingPlayerType()?g.tL(this.A).EH():this.F&&(Qx(this.o)&&!this.u.isFullscreen()?ET(this,"yt.www.watch.lists.prev"):(this.F.lf(a)&&bE(this.F,aE(this.F)),this.F.ud?iS(this,this.F.wa(),1):this.za=!1))};
g.h.playVideoAt=function(a){this.Z?this.u.ka("onPlaylistIndex",a):this.F&&(this.F.ud?iS(this,this.F.wa(a),1):this.za=!1,bE(this.F,a))};
g.h.getPlaylist=function(){return this.F};
g.h.hK=function(a){this.u.ka("onCueRangeEnter",a.getId())};
g.h.iK=function(a){this.u.ka("onCueRangeExit",a.getId())};
g.h.mK=function(){var a=this;this.getPresentingPlayerType();this.ya||(this.ya=ds(bB,this.xA,this));RD(this.O,this.C.getVideoData(),PT(this));oT(this)&&this.o.u&&"embedded"==PB(mT(this))&&this.jd&&.01>Math.random()&&hr("autoplayTriggered",{intentional:this.gd});this.jd=!1;var b=g.Sr(this.Id||(this.H.o?3:0));if(b){var c={cpn:this.getVideoData().clientPlaybackNonce,csn:b};if(g.R(this.o.experiments,"web_playback_associated_ve")&&null!=this.getVideoData().nf){var d=g.Hr(this.getVideoData().nf);g.hs(b,
d);c.playbackVe=g.Ir(d)}g.R(this.o.experiments,"kevlar_playback_associated_queue")&&this.getVideoData().queueInfo&&(c.queueInfo=this.getVideoData().queueInfo);hr("playbackAssociated",c)}OS(this,"web_player_inline_botguard")&&(b=this.getVideoData().botguardData)&&(Co("BG_I",b.interpreterScript),Co("BG_IU",b.interpreterUrl),Co("BG_P",b.program),g.Sx(this.o)&&!OS(this,"web_player_botguard_scheduler_killswitch")||OS(this,"web_player_botguard_use_scheduler")?Ip(function(){ys(a.o.ea)}):ys(this.o.ea))};
g.h.fL=function(){this.u.R("internalAbandon");OS(this,"html5_ad_module_cleanup_killswitch")||BT(this)};
g.h.xA=function(a){a=a.o;if(!isNaN(a)&&0<a&&this.w){var b=this.w.B;b.o&&0<a&&(b.o.u.aft=[a])}};
g.h.gK=function(){this.o.Eb&&this.C?this.u.ka("onApiChange",this.C.getPlayerType()):this.u.ka("onApiChange")};
g.h.FL=function(){var a=this.B;a={volume:g.sd(Math.floor(100*a.getVolume()),0,100),muted:a.vn()};a.muted||uT(this,!1);this.P=g.dc(a);this.u.ka("onVolumeChange",a)};
g.h.mutedAutoplay=function(){var a=this.getVideoData().videoId;a&&(this.loadVideoByPlayerVars({video_id:a,playmuted:!0}),this.u.ka("onMutedAutoplayStarts"))};
g.h.YK=function(){var a=RT(this);hT(this,a?1:0);TT(this,!!a)};
g.h.isFullscreen=function(){return this.H.isFullscreen()};
g.h.IM=function(){0!==this.H.w&&1!==this.H.w||hT(this,RT(this)?1:0);this.o.wh&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.B&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.B.vk()};
g.h.oL=function(a){3!=this.getPresentingPlayerType()&&this.u.R("liveviewshift",a)};
g.h.playVideo=function(a){if(a=g.U(this,a))2==this.U?rT(this):(null!=this.ca&&this.ca.Fa()&&this.ca.start(),g.W(a.getPlayerState(),2)?this.seekTo(0):a.playVideo())};
g.h.pauseVideo=function(a){(a=g.U(this,a))&&a.pauseVideo()};
g.h.stopVideo=function(){var a=this.w.getVideoData(),b=new g.cB(this.o,{video_id:a.Tu||a.videoId,oauth_token:a.oauthToken});b.We=g.dc(a.We);IT(this,6);KT(this,b,1);null!=this.ca&&this.ca.stop()};
g.h.sendVideoStatsEngageEvent=function(a,b,c){(b=g.U(this,b))&&this.o.hd.has(a.toString())?b.sendVideoStatsEngageEvent(a,c):c&&c()};
g.h.updatePlaylist=function(){qT(this);this.u.ka("onPlaylistUpdate")};
g.h.setSizeStyle=function(a,b){this.pe=a;this.pc=b;this.u.R("sizestylechange",a,b);this.G.Be()};
g.h.isWidescreen=function(){return this.pc};
g.h.isInline=function(){return this.H.isInline()};
g.h.getAdState=function(){if(3==this.getPresentingPlayerType())return g.tL(this.A).getAdState();if(!this.Ob()){var a=WP(this.A);if(a)return a.getAdState()}return-1};
g.h.HM=function(a){var b=this.G.getVideoContentRect();rh(this.hd,b)||(this.hd=b,this.C&&CK(this.C),this.w&&this.w!=this.C&&CK(this.w),1==this.H.w&&this.Qa&&TT(this,!0));this.lc&&g.Ad(this.lc,a)||(this.u.R("appresize",a),this.lc=a)};
g.h.Pc=function(){return this.u.Pc()};
g.h.aN=function(){this.getPresentingPlayerType();VT(this,"signature",void 0,!0)};
g.h.KA=function(){bT(this);aT(this)};
g.h.FM=function(a){NK(a,this.B.lo())};
g.h.JK=function(){this.u.ka("CONNECTION_ISSUE")};
g.h.sG=function(a){this.u.R("heartbeatparams",a)};
g.h.setBlackout=function(a){this.o.Cg=a;this.C&&(g.EI(this.C.B),this.o.J&&XT(this))};
g.h.WL=function(){var a=g.U(this);if(a){var b=!EL(this.u);g.bL(a,b)}};
g.h.rL=function(){this.u.ka("onLoadedMetadata")};
g.h.TK=function(){this.u.ka("onDrmOutputRestricted")};
g.h.Y=function(){this.A.dispose();this.xa.dispose();this.S&&this.S.dispose();this.w.dispose();bT(this);g.ne(g.Ub(this.Ic),this.F);cs(this.ya);this.ya=0;g.B.prototype.Y.call(this)};
g.h.setScreenLayer=function(a){this.Id=a};
g.h.fetchLocalMedia=function(){if(this.Ia){var a=this.Ia,b=a.w.getVideoData();if(b&&!TB(b)){g.sK(g.U(a.w.app,void 0));if(1!=b.Qi&&(b.Qi=!0,b.ma)){b=b.ma;for(var c in b.o){var d=b.o[c];d.A=!1;d.o=null}}a.w.playVideo()}}};
g.h.fetchLocalMediaById=function(a){if(this.Ia){var b=this.Ia;b.o.includes(a)||(b.o.push(a),1==b.o.length&&pS(b,a))}};
g.h.getVideoUrl=function(a,b,c,d,e){return this.J&&this.J.postId?(a=this.o.getVideoUrl(a),a=jh(a,"v"),a.replace("/watch","/clip/"+this.J.postId)):this.o.getVideoUrl(a,b,c,d,e)};
var VS={};cU.prototype.fetch=function(a,b){var c=this;if(!a.match(/\[BISCOTTI_ID\]/g))return dU(this,a,b);var d=1===this.u;d&&this.o.app.O.tick("a_bid_s");var e=dla();if(null!==e)return d&&this.o.app.O.tick("a_bid_f"),dU(this,a,b,e);e=ela();d&&qf(e,function(){c.o.app.O.tick("a_bid_f")});
return e.then(function(f){return dU(c,a,b,f)})};
cU.prototype.reset=function(){this.w=this.u=1};var vqa={BS:"replaceUrlMacros",CR:"isExternalShelfAllowedFor"};g.r(fU,g.SD);var wqa={commandMetadata:!0,loggingUrls:!0};g.r(nU,g.B);nU.prototype.Y=function(){this.o={};g.B.prototype.Y.call(this)};
nU.prototype.executeCommand=function(a,b,c){var d=this;c=void 0===c?{}:c;a.loggingUrls&&oU(this,"loggingUrls",a,b,c);Object.keys(a).filter(function(e){return!wqa.hasOwnProperty(e)}).forEach(function(e){return oU(d,e,a,b,c)})};pU.prototype.o=function(){return"adLifecycleCommand"};
pU.prototype.Ca=function(a){var b=this;switch(a.action){case "START_LINEAR_AD":g.Ye(function(){b.u.az()});
break;case "END_LINEAR_AD":g.Ye(function(){b.u.Zy()});
break;case "END_LINEAR_AD_PLACEMENT":g.Ye(function(){b.u.Fs()});
break;case "FILL_INSTREAM_SLOT":g.Ye(function(){a.elementId&&b.u.Uw(a.elementId)});
break;case "FILL_ABOVE_FEED_SLOT":g.Ye(function(){a.elementId&&((aX(b.w)||bX(b.w)||cX(b.w))&&b.A.Zq(a.elementId),b.u.Zq(a.elementId))});
break;case "CLEAR_ABOVE_FEED_SLOT":g.Ye(function(){aX(b.w)&&b.A.Gq();b.u.Gq()})}};qU.prototype.o=function(){return"adPingingEndpoint"};
qU.prototype.Ca=function(a,b,c){c=void 0===c?{}:c;this.u.send(a,b,c)};rU.prototype.o=function(){return"adPlayerControlsCommand"};
rU.prototype.Ca=function(a){switch(a.action){case "AD_PLAYER_CONTROLS_ACTION_SEEK_TO_END":var b=this.u;b=hZ(b)?b.o.getDuration(2):0;if(0>=b)break;this.u.seekTo(g.sd(b-(Number(a.seekOffsetMilliseconds)||0)/1E3,0,b));break;case "AD_PLAYER_CONTROLS_ACTION_RESUME":this.u.resume()}};sU.prototype.o=function(){return"changeEngagementPanelVisibilityAction"};
sU.prototype.Ca=function(a){this.aa.ka("changeEngagementPanelVisibility",{changeEngagementPanelVisibilityAction:a})};tU.prototype.o=function(){return"clearCueRangesCommand"};
tU.prototype.Ca=function(){var a=this;g.Ye(function(){var b=a.u;xX(b,Array.from(b.C))})};uU.prototype.send=function(a,b,c){try{var d=a.match(Ug);if("https"===d[1])var e=a;else d[1]="https",e=Sg("https",d[2],d[3],d[4],d[5],d[6],d[7]);var f=dn(e);a=[];kp(e)&&a.push({headerType:"USER_AUTH"});this.o.send({baseUrl:e,scrubReferrer:f,headers:a},b,c)}catch(k){}};vU.prototype.o=function(){return"loggingUrls"};
vU.prototype.Ca=function(a,b,c){c=void 0===c?{}:c;a=g.q(a);for(var d=a.next();!d.done;d=a.next())d=d.value,d.baseUrl&&this.u.send(d.baseUrl,b,c)};wU.prototype.o=function(){return"muteAdEndpoint"};
wU.prototype.Ca=function(a){var b=this;switch(a.type){case "SKIP":g.Ye(function(){b.u.Fs()})}};xU.prototype.o=function(){return"pingingEndpoint"};
xU.prototype.Ca=function(){};yU.prototype.o=function(){return"urlEndpoint"};
yU.prototype.Ca=function(a,b){if(a.url){var c=g.en(a.url,b);g.NM(c)}};g.r(zU,g.B);AU.prototype.showCompanion=function(a,b,c){return BU(this).then(function(){return FU(a,b,c)})};HU.prototype.showCompanion=function(a,b){b.contentVideoId||(b.contentVideoId=a);this.u.ka("updateKevlarOrC3Companion",b)};IU.prototype.Sk=function(){return!1};
IU.prototype.S=function(){return function(){return null}};g.r(KU,IU);g.h=KU.prototype;g.h.Wc=function(){return!0};
g.h.Fc=function(){return!1};
g.h.isSkippable=function(){return null!=this.Z};
g.h.getVideoUrl=function(){return this.P};
g.h.Sk=function(){return!0};g.r(NU,IU);NU.prototype.Wc=function(){return!0};
NU.prototype.Fc=function(){return!0};g.r(UU,IU);UU.prototype.Wc=function(){return!0};
UU.prototype.Fc=function(){return!1};
UU.prototype.Sk=function(){return!0};
UU.prototype.S=function(){return function(){return g.Jd("video-ads")}};VU.prototype.xb=function(){return this.P};
VU.prototype.isPostroll=function(){return"AD_PLACEMENT_KIND_END"==this.xb().w};var wla=["FINAL","CPN","MIDROLL_POS","SDKV","SLOT_POS"];var gV=null;g.r(fV,g.Q);g.Ha("ytads.bulleit.getVideoMetadata",function(a){var b=hV();return b.o.hasOwnProperty(a)?b.o[a].Dz():{}},void 0);
g.Ha("ytads.bulleit.triggerExternalActivityEvent",function(a,b,c){var d=hV();c=yla(c);null!==c&&d.R(c,{queryId:a,viewabilityString:b})},void 0);iV.prototype.send=function(a,b,c){try{var d=!!a.scrubReferrer,e=g.en(a.baseUrl,xla(b,c,d)),f;if(a.headers)for(var k=g.q(a.headers),l=k.next();!l.done;l=k.next())switch(l.value.headerType){case "USER_AUTH":var m=this.hf();m&&(f||(f={}),f.Authorization="Bearer "+m)}g.Qp(e,void 0,d,f)}catch(n){}};g.r(jV,iV);jV.prototype.hf=function(){return this.o?this.o.hf():""};g.r(kV,g.B);g.r(pV,g.B);g.r(GV,g.Q);g.h=GV.prototype;g.h.Dz=function(){return{}};
g.h.cu=function(){};
g.h.eb=function(a){this.He();this.R(a)};
g.h.Qx=function(){};
g.h.He=function(){IV(this,this.O,3);this.O=[]};
g.h.getDuration=function(){return this.aa.getDuration(2,!1)};
g.h.Kk=function(){var a=this.wb;qV(a)||!DV(a,"impression")&&!DV(a,"start")||DV(a,"abandon")||DV(a,"complete")||DV(a,"skip")||(sV(a)?yV(a,"pause"):xV(a,"pause"))};
g.h.Yi=function(){this.S||this.F||this.Kb()};
g.h.Vc=function(){AV(this.wb,this.getDuration())};
g.h.Cc=function(){var a=this.wb;!DV(a,"impression")||DV(a,"skip")||DV(a,"complete")||yV(a,"abandon")};
g.h.Og=function(){var a=this.wb;sV(a)?xV(a,"skip"):!DV(a,"impression")||DV(a,"abandon")||DV(a,"complete")||xV(a,"skip")};
g.h.Kb=function(){if(!this.F){var a=LV(this);this.wb.w.AD_CPN=a;zV(this.wb);this.F=!0}};
g.h.Ub=function(a){a=a||"";var b="",c="",d="";lV(this.aa)&&(b=g.sL(this.aa,2).o,this.aa.app.B&&(c=this.aa.app.B.he(),null!=this.aa.app.B.Qe()&&(d=this.aa.app.B.Qe())));var e=this.wb;e.w=dV(e.w,bV(3,"There was an error playing the video ad. Error code: "+(a+"; s:"+b+"; rs:")+(c+"; ec:"+d)));xV(e,"error")};
g.h.gi=function(){};
g.h.vB=function(){this.R("e")};
g.h.wB=function(){this.R("j")};
g.h.xB=function(){this.R("k")};
g.h.yB=function(){this.R("l")};
g.h.zB=function(){this.R("m")};
g.h.AB=function(){this.R("n")};
g.h.BB=function(){this.R("s")};
g.h.dispose=function(){this.la()||(this.He(),this.u.unsubscribe("e",this.vB,this),this.u.unsubscribe("j",this.wB,this),this.u.unsubscribe("k",this.xB,this),this.u.unsubscribe("l",this.yB,this),this.u.unsubscribe("m",this.zB,this),this.u.unsubscribe("n",this.AB,this),this.u.unsubscribe("s",this.BB,this),zla(this.u,this),g.Q.prototype.dispose.call(this))};
g.h.Ow=function(){return""};g.r(MV,IU);MV.prototype.Wc=function(){return!1};
MV.prototype.Fc=function(){return!0};g.r(NV,kU);g.r(OV,GV);OV.prototype.ac=function(){var a=this,b=new NV(this.C.o,this.macros),c=this.aa.getVideoData(2),d=b.renderer;g.R(this.aa.N().experiments,"ignore_video_data_current_ad_check")&&c&&d&&d.adVideoId?QV(this,c,b):c&&c.Qd&&PV(c,b)?QV(this,c,b):(this.o=function(e,f,k){f&&2==k&&PV(f,b)&&f.Qd&&(a.o&&(a.aa.removeEventListener("videodatachange",a.o),a.o=null),QV(a,f,b))},this.aa.addEventListener("videodatachange",this.o))};
OV.prototype.gi=function(a){EV(this.wb,a)};
OV.prototype.Y=function(){this.o&&(this.aa.removeEventListener("videodatachange",this.o),this.o=null);GV.prototype.Y.call(this)};g.r(RV,IU);RV.prototype.Wc=function(){return!0};
RV.prototype.Fc=function(){return!1};g.r(SV,kU);g.r(TV,GV);g.h=TV.prototype;g.h.ac=function(){0<this.o&&this.Kb()};
g.h.Kb=function(){var a=this;this.Da=new g.J(function(){a.Vc();for(var b=g.q(a.w.o.completionCommands||[]),c=b.next();!c.done;c=b.next())a.A.executeCommand(c.value,a.macros);a.eb("h")},this.o,this);
g.H(this,this.Da);this.Da.start();JV(this,[new SV(this.w.o,this.macros)]);GV.prototype.Kb.call(this)};
g.h.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
g.h.Vc=function(){GV.prototype.Vc.call(this)};
g.h.eb=function(a){this.Da&&this.Da.stop();GV.prototype.eb.call(this,a)};g.r(UV,kU);g.r(VV,GV);VV.prototype.ac=function(){this.Kb()};
VV.prototype.Kb=function(){JV(this,[new UV(this.o.o,this.macros)]);GV.prototype.Kb.call(this)};
VV.prototype.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
VV.prototype.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};g.r(WV,IU);WV.prototype.Wc=function(){return!0};
WV.prototype.Fc=function(){return!1};g.r(XV,IU);XV.prototype.Wc=function(){return!0};
XV.prototype.Fc=function(){return!1};g.r(YV,IU);YV.prototype.Wc=function(){return!1};
YV.prototype.Fc=function(){return!0};g.r(ZV,IU);ZV.prototype.Wc=function(){return!1};
ZV.prototype.Fc=function(){return!0};g.r($V,IU);$V.prototype.Wc=function(){return!0};
$V.prototype.Fc=function(){return!0};g.r(aW,IU);aW.prototype.Wc=function(){return!0};
aW.prototype.Fc=function(){return!1};g.r(bW,IU);bW.prototype.Wc=function(){return!1};
bW.prototype.Fc=function(){return!0};g.r(cW,IU);cW.prototype.Wc=function(){return!1};
cW.prototype.Fc=function(){return!0};g.r(dW,IU);dW.prototype.Wc=function(){return!0};
dW.prototype.Fc=function(){return!1};g.r(eW,IU);eW.prototype.Wc=function(){return!0};
eW.prototype.Fc=function(){return!1};fW.prototype.create=function(a,b){return a instanceof KU?this.V.create(a,b):a instanceof $V?this.G.create(a,b):a instanceof ZV?this.F.create(a,b):a instanceof cW?this.P.create(a,b):a instanceof UU?this.O.create(a,b):a instanceof bW?this.J.create(a,b):a instanceof RV?this.u.create(a,b):a instanceof aW?this.H.create(a,b):a instanceof MV?this.o.create(a,b):a instanceof eW?this.U.create(a,b):a instanceof dW?this.S.create(a,b):a instanceof NU?this.w.create(a,b):a instanceof XV?this.B.create(a,b):a instanceof
WV?this.A.create(a,b):a instanceof YV?this.C.create(a,b):null};g.r(gW,GV);g.h=gW.prototype;g.h.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
g.h.Kk=function(){GV.prototype.Kk.call(this);this.R("o",2)};
g.h.Yi=function(){GV.prototype.Yi.call(this);this.R("p",1)};
g.h.Kb=function(){GV.prototype.Kb.call(this);this.o.stop();this.w.L(this.aa,g.VD("bltplayback"),this.vI);var a=new g.SD(0x7ffffffffffff,0x8000000000000,{id:"bltcompletion",namespace:"bltplayback",priority:1});g.GL(this.aa,[a],2);this.R("p",1)};
g.h.Vc=function(){GV.prototype.Vc.call(this);this.eb("h")};
g.h.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};
g.h.ac=function(){oV(this.aa,!1);var a=this.A.u||{};a.autoplay="1";this.aa.cueVideoByPlayerVars(a,2);this.o.start();this.aa.playVideo(2);this.aa.ka("onAdIntroStateChange",1)};
g.h.eb=function(a){this.o.stop();oV(this.aa,!0);"c"!=a&&EY(this.B.ca);"c"!=a&&this.aa.ka("onAdComplete");this.aa.ka("onAdEnd");this.R(a);this.aa.ka("onAdIntroStateChange",0)};
g.h.vI=function(a){"bltcompletion"==a.getId()&&(g.bR(this.aa.app,"bltplayback",2),AV(this.wb,this.getDuration()))};g.r(hW,kU);g.r(iW,GV);g.h=iW.prototype;g.h.ac=function(){0>=this.B&&(g.N(Error("durationMs was specified incorrectly with a value of: "+this.B)),this.Vc());this.Kb();this.aa.addEventListener("progresssync",this.G)};
g.h.Cc=function(){GV.prototype.Cc.call(this);this.eb("d")};
g.h.Kb=function(){var a=this.aa.N();GV.prototype.Kb.call(this);this.o=Math.floor(this.aa.getCurrentTime());this.w=this.o+this.B/1E3;g.Ix(a)?this.aa.ka("onAdMessageChange",{renderer:this.A.o,startTimeSecs:this.o}):JV(this,[new hW(this.A.o)]);a=(a=this.aa.getVideoData(1))&&a.clientPlaybackNonce||"";var b=g.Sr();b&&hr("adNotify",{clientScreenNonce:b,adMediaTimeSec:this.w,timeToAdBreakSec:Math.ceil(this.w-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.A.o.videoAdBreakOffsetMs/1E3)});
g.W(g.sL(this.aa,1),512)&&(a=(a=this.aa.getVideoData(1))&&a.clientPlaybackNonce||"",(b=g.Sr())&&hr("adNotifyFailure",{clientScreenNonce:b,adMediaTimeSec:this.w,timeToAdBreakSec:Math.ceil(this.w-this.o),clientPlaybackNonce:a,videoAdBreakOffsetSec:Math.floor(this.A.o.videoAdBreakOffsetMs/1E3)}),this.Vc())};
g.h.Vc=function(){GV.prototype.Vc.call(this);this.eb("h")};
g.h.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};
g.h.eb=function(a){this.aa.removeEventListener("progresssync",this.G);this.He();this.R(a)};
g.h.dispose=function(){this.aa.removeEventListener("progresssync",this.G);GV.prototype.dispose.call(this)};
g.h.He=function(){g.Ix(this.aa.N())?this.aa.ka("onAdMessageChange",{renderer:null,startTimeSecs:this.o}):GV.prototype.He.call(this)};g.r(jW,kU);g.r(kW,GV);kW.prototype.ac=function(){JV(this,[new jW(this.C.o,this.macros)])};
kW.prototype.gi=function(a){EV(this.wb,a)};g.r(lW,GV);lW.prototype.ac=function(){var a=LV(this);this.wb.w.AD_CPN=a;zV(this.wb)};g.r(mW,kU);g.r(nW,kU);g.r(oW,GV);oW.prototype.ac=function(){var a;if(a=g.R(this.aa.N().experiments,"render_enhanced_overlays_as_ctas_for_desktop"))a=this.o.o,a=a.contentSupportedRenderer?!!a.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer:!1;a?(a=new nW(this.o.o,this.macros),JV(this,[a])):(a=new mW(this.o.o,this.macros),JV(this,[a]))};g.r(pW,kU);g.r(qW,GV);qW.prototype.ac=function(){this.Kb()};
qW.prototype.Kb=function(){JV(this,[new pW(this.o.o,this.macros)]);GV.prototype.Kb.call(this)};
qW.prototype.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};uW.prototype.sendAdsPing=function(a){this.B.send(a,yW(this),{})};g.r(AW,kU);g.r(BW,GV);BW.prototype.ac=function(){var a=new AW(this.o.o,this.macros);JV(this,[a])};g.r(CW,kU);g.r(DW,GV);DW.prototype.ac=function(){var a=new CW(this.C.o,this.macros);JV(this,[a])};
DW.prototype.gi=function(a){EV(this.wb,a)};g.r(GW,g.Q);GW.prototype.getProgressState=function(){return this.w};
GW.prototype.start=function(){this.A=Date.now();FW(this,{current:this.o,duration:this.u/1E3});this.Da.start()};
GW.prototype.stop=function(){this.Da.stop()};g.r(HW,kU);g.r(IW,GV);g.h=IW.prototype;g.h.ac=function(){this.Kb()};
g.h.Kb=function(){var a=this.A.o;g.Ix(this.aa.N())?(a=Pla(this.B,a),this.aa.ka("onAdInfoChange",a),this.o&&this.o.start()):JV(this,[new HW(a)]);GV.prototype.Kb.call(this)};
g.h.getDuration=function(){return this.A.u};
g.h.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
g.h.Og=function(){GV.prototype.Og.call(this);this.eb("h")};
g.h.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};
g.h.eb=function(a){this.He();"c"!=a&&EY(this.G.ca);this.R(a)};
g.h.gi=function(a){switch(a){case "skip-button":this.Og();break;case "survey-submit":this.eb("h")}};
g.h.He=function(){g.Ix(this.aa.N())?(this.o&&this.o.stop(),this.aa.ka("onAdInfoChange",null)):GV.prototype.He.call(this)};g.r(JW,kU);g.r(KW,GV);KW.prototype.ac=function(){this.Kb()};
KW.prototype.Kb=function(){JV(this,[new JW(this.o.o,this.macros)]);GV.prototype.Kb.call(this)};
KW.prototype.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
KW.prototype.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};g.r(LW,kU);g.r(MW,GV);g.h=MW.prototype;g.h.ac=function(){0<this.o&&this.Kb()};
g.h.Kb=function(){this.Da=new g.J(this.Vc,this.o,this);g.H(this,this.Da);this.Da.start();JV(this,[new LW(this.w.o)]);GV.prototype.Kb.call(this)};
g.h.Vc=function(){GV.prototype.Vc.call(this);this.eb("h");for(var a=g.q(this.w.o.completeCommands||[]),b=a.next();!b.done;b=a.next())this.A.executeCommand(b.value,this.macros)};
g.h.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
g.h.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};
g.h.eb=function(a){this.Da&&this.Da.stop();GV.prototype.eb.call(this,a)};g.r(NW,g.B);NW.prototype.start=function(){this.la()||this.o||(this.w=(0,g.I)(),this.o=new g.J(this.B,Math.max(0,this.A-this.u),this),g.H(this,this.o),this.o.start())};
NW.prototype.stop=function(){this.o&&(this.w=this.u=0,OW(this))};
NW.prototype.pause=function(){this.o&&(this.u+=(0,g.I)()-this.w,OW(this))};
NW.prototype.Y=function(){OW(this);g.B.prototype.Y.call(this)};g.r(PW,kU);g.r(QW,kU);g.r(RW,kU);g.r(SW,kU);g.r(TW,kU);g.r(UW,kU);g.r(VW,kU);g.r(WW,GV);g.h=WW.prototype;g.h.Dz=function(){return{currentTime:this.aa.getCurrentTime(2,!1),duration:this.o.u,isPlaying:mV(this.aa),isVpaid:!1,isYouTube:!0,volume:this.aa.isMuted()?0:this.aa.getVolume()/100}};
g.h.ac=function(){if(this.o.J)KV(this),this.eb("i");else{var a=this.o.o.legacyInfoCardVastExtension,b=this.o.B;a&&b&&this.aa.N().F.add(b,{Tm:a});try{var c=this.o.o.sodarExtensionData;if(c&&c.siub&&c.bgub&&c.scs&&c.bgp){var d=c.siub,e=c.scs,f=c.bgp;a=window;var k="//pagead2.googlesyndication.com/bg/"+g.dd(c.bgub)+".js",l=a.document;c={};e&&(c._scs_=e);c._bgu_=k;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=Fd(l).createElement("SCRIPT");
n.type="text/javascript";n.async=!0;var p=waa(g.tc("//tpc.googlesyndication.com/sodar/%{path}"),{path:g.dd(d)+".js"});ad(n,p);l.getElementsByTagName("head")[0].appendChild(n)}}catch(t){Cp(t)}oV(this.aa,!1);d=LU(this.o);e=this.aa.N();g.R(this.aa.N().experiments,"disable_force_iv_load_policy_on_bulleit")||(d.iv_load_policy=e.o||g.Ix(e)||g.Ux(e)?3:1);f=this.aa.getVideoData(1);f.wf&&(d.ctrl=f.wf);f.xf&&(d.ytr=f.xf);f.an&&(d.ytrcc=f.an);f.isMdxPlayback&&(d.mdx="1");d.vvt&&(d.vss_credentials_token=d.vvt,
f.Fi&&(d.vss_credentials_token_type=f.Fi),f.mdxEnvironment&&(d.mdx_environment=f.mdxEnvironment));this.ea&&this.R("r",-1);if(Vx(e)||g.Ix(e))e=hX(this),e=Mla(this.da,e,this.o.o.adNextParams||""),e.attributionInfo=eX(this),this.aa.ka("onAdInfoChange",e);this.H?this.G.start():(this.aa.cueVideoByPlayerVars(d,2),this.G.start(),this.aa.playVideo(2))}};
g.h.Kk=function(){GV.prototype.Kk.call(this);this.R("o",2)};
g.h.Yi=function(){GV.prototype.Yi.call(this);this.R("p",1)};
g.h.Kb=function(){GV.prototype.Kb.call(this);this.G.stop();this.V.L(this.aa,g.VD("bltplayback"),this.wI);var a=new g.SD(0x7ffffffffffff,0x8000000000000,{id:"bltcompletion",namespace:"bltplayback",priority:1});g.GL(this.aa,[a],2);a=dX(this);this.A.ga=a;if(!$W(this.B)){a=[];var b=this.aa.N(),c=this.aa.getVideoData(2);if(Vx(b)||g.Ix(b)){var d=c&&c.isListed?{channelId:c.wg,channelThumbnailUrl:c.Qd||"",channelTitle:c.author,videoTitle:c.title,channelVideoCount:0,showAdInfoIcon:!1,whyThisAdInfo:null,muteAdInfo:null}:
null;d&&this.aa.ka("onAdMetadataAvailable",d)}g.Ix(b)||(!g.Ux(b)||(g.R(this.aa.N().experiments,"enable_upg_processed_dvr_dai")?this.H:PY(this.A).Ne())||(c&&c.videoId&&c.isListed&&c.videoId==this.o.B&&(b=c.title,d=c.author,c=c.Qd,b&&d&&c?c=[new RW(b),new QW(c),new SW(d)]:(Dp(new Bp("Channel metadata contains null for:",b?d?"channel icon thumbnail.":"channel name.":"video title.")),c=[]),JV(this,c)),a.push(eX(this)),c=this.o.F,null==c?c=null:(b={},c.urlEndpoint&&(b.url=c.urlEndpoint.url,b.target="TARGET_NEW_WINDOW"),
c=new VW({navigationEndpoint:{urlEndpoint:b}})),c&&a.push(c),this.o.isSkippable()&&!MU(this.o)&&(c=hX(this),(c=c.skipOrPreviewRenderer&&c.skipOrPreviewRenderer.skipAdRenderer)||(c=fX(this)),a.push(new UW(c)))),c=hX(this),a.push(new TW(c)),JV(this,a))}this.aa.isMuted()&&(a=this.wb,c=this.aa.isMuted(),sV(a)||xV(a,c?"mute":"unmute"));this.R("p",1);XW(this)&&(a=null!==PY(this.A)?PY(this.A).clientPlaybackNonce:"",Poa(this.U,YW(this),this.o,a,this),this.P=!0);this.aa.ka("onAdStart",dX(this));a=this.ca;
c=this.o.B||"";(b=a.u.rb())&&b.getVideoData().videoId===c?a.o=FI(b.B):a.o=null;a=g.q(this.o.o.impressionCommands||[]);for(c=a.next();!c.done;c=a.next())this.A.executeCommand(c.value,this.macros)};
g.h.wI=function(a){"bltcompletion"==a.getId()&&(g.bR(this.aa.app,"bltplayback",2),AV(this.wb,this.getDuration()),ZW(this,"h"))};
g.h.Vc=function(){GV.prototype.Vc.call(this);this.eb("h");for(var a=g.q(this.o.o.completeCommands||[]),b=a.next();!b.done;b=a.next())this.A.executeCommand(b.value,this.macros);this.Z=!0};
g.h.Cc=function(){GV.prototype.Cc.call(this);this.eb("c")};
g.h.skip=function(){this.Og()};
g.h.Og=function(){GV.prototype.Og.call(this);this.eb("h")};
g.h.Ub=function(a){GV.prototype.Ub.call(this,a);this.eb("i")};
g.h.eb=function(a){this.G.stop();this.w&&this.w.stop();$W(this.B)||this.He();oV(this.aa,!0);"c"!=a&&(EY(this.A.ca),this.aa.ka("onAdComplete"));ZW(this,a);this.aa.ka("onAdEnd",dX(this));this.R(a)};
g.h.He=function(){var a=this.aa.N();(Vx(a)||g.Ix(a))&&(g.R(a.experiments,"enable_wta_for_unplugged_mdx")||g.R(a.experiments,"enable_topsoil_wta_for_halftime")||g.Ux(a)&&g.Ix(a))?this.aa.ka("onAdInfoChange",null):GV.prototype.He.call(this)};
g.h.cu=function(){this.qy&&this.aa.playVideo()};
g.h.Qx=function(a){this.w&&(g.zD(a.state)?this.w.start():this.w.pause());g.R(this.aa.N().experiments,"enable_reset_for_seek_ad_for_web")&&!this.H&&!this.Z&&g.W(a.state,16)&&3<this.aa.getCurrentTime(2,!1)&&UT(this.aa.app,0,!0,void 0,2,!0)};
g.h.qy=function(){return 2==this.aa.getPlayerState(2)};
g.h.gi=function(a){var b=this.wb;if(lV(b.o))switch(a){case "ad-title":b.o.sendVideoStatsEngageEvent(14,void 0,2);break;case "ad-channel-thumbnail":case "advertiser-name":b.o.sendVideoStatsEngageEvent(15,void 0,2);break;case "visit-advertiser":b.o.sendVideoStatsEngageEvent(3,void 0,2)}switch(a){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.J||this.cu();break;case "ad-info-icon-button":(this.J=this.qy())||this.aa.pauseVideo();
break;case "ad-channel-thumbnail":case "advertiser-name":a=this.aa.N().protocol+"://"+g.Nx(this.aa.N())+"/channel/"+this.o.V;g.NM(a);break;case "ad-title":this.aa.pauseVideo();g.NM(this.aa.getVideoUrl());break;case "visit-advertiser":this.aa.pauseVideo();g.Ux(this.aa.N())&&(a=this.o.F)&&(Cla(this.wb,a.loggingUrls||null),a.urlEndpoint&&a.urlEndpoint.url&&g.NM(a.urlEndpoint.url));a=this.wb;qV(a)||yV(a,"clickthrough");break;case "skip-button":this.Og()}};
g.h.Ow=function(a,b){if(this.o.J)return KV(this),this.eb("i"),"";if(!Number.isFinite(a))return Cp(Error("Playing the video after the current media has finished is not supported")),"";if(b<=a)return Cp(Error("Start time is not earlier than end time")),"";var c=1E3*this.o.u,d=LU(this.o),e=this.aa.app;d=e.S?Jka(e.S,d,c,a,b):Lka(e.xa,d,c,a,b);if(a+c>b)if(e=this.aa.app,c=b-a,e.S){var f=void 0;e=g.q(e.S.o);for(var k=e.next();!k.done;k=e.next())if(k=k.value,k.Cb==d){var l=k;break}l&&(void 0==f&&(f=l.Lb),
SR(l,c,f))}else{l=e.xa;e=void 0;k=g.q(l.u);for(var m=k.next();!m.done;m=k.next())if(m=m.value,m.Cb==d){f=m;break}f?(void 0==e&&(e=f.Lb),jS(l,f,c,e)):VR(l,"e.InvalidTimelinePlaybackId timelinePlaybackId="+d)}return d};
g.h.dispose=function(){mV(this.aa)&&!this.H&&this.aa.stopVideo(2);ZW(this,"c");GV.prototype.dispose.call(this)};iX.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.o[b];c?b=c:(c={Ni:null,wy:-Infinity},b=this.o[b]=c);c=a.startSecs+a.o/1E3;if(!(c<b.wy)){b.wy=c;if(b.Ni){if(c<b.Ni.end){a:{c=b.Ni;switch(a.event){case "start":case "continue":case "stop":break;default:a=null;break a}a=c.start+a.durationSecs;a=a<c.start?null:c.end<=a?null:a}if(null!==a){b.Ni.end=a;b=this.u;c=1E3*a;b.u&&
b.u.xp(c);for(var d=g.q(b.B.values()),e=d.next();!e.done;e=d.next())e.value.xp(c);b.sa.u(a)}return}b.Ni=null}a:if(c=a.startSecs+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.startSecs,0);a={kE:new Fi(d,c),SF:new At(d,c-d,a.context,a.identifier,a.event,a.o)}}a&&(c=a.SF,b.Ni=a.kE,this.u.JA(c))}};
iX.prototype.updateTime=function(){};g.r(jX,g.Q);
jX.prototype.reduce=function(a){switch(a.event){case "start":case "continue":case "predictStart":case "stop":break;case "unknown":return;default:return}var b=a.startSecs+a.o/1E3;if(!(b<this.A)){this.A=b;if(this.u){if(b<this.u.end&&(null===this.o||b-1<this.o)){a:{switch(a.event){case "start":case "continue":this.o=a.startSecs+a.o/1E3+5;break;case "stop":this.o=null;break;case "predictStart":break a;default:break a}kX(this,this.u.start+a.durationSecs)}return}lX(this)}a:if(b=a.startSecs+a.durationSecs,
b=0>=b?null:b,null!==b){switch(a.event){case "start":case "continue":if(this.w.hasOwnProperty(a.identifier))break a;break;case "predictStart":case "stop":break a;default:break a}var c=Math.max(a.startSecs,0);this.u=new Fi(c,b);a=new At(c,b-c,a.context,a.identifier,a.event,a.o);this.w[a.identifier]=null;this.o=a.startSecs+a.o/1E3+5;this.R("Identified a new cuerange",a)}}};
jX.prototype.updateTime=function(a){this.u&&(this.u.end<=a||!(null===this.o||a<this.o))&&lX(this)};g.r(mX,g.B);mX.prototype.u=function(a){g.vb(this.o,1E3*a)};g.r(nX,g.B);g.r(oX,IU);sX.prototype.reset=function(){return new sX(this.u)};g.r(zX,g.Q);g.h=zX.prototype;g.h.hi=function(){var a=this.o;return a.o instanceof KU||a.o instanceof UU||a.o instanceof OU||a.o instanceof NU};
g.h.xl=function(){return this.o.o.Fc()};
g.h.xb=function(){return this.o.xb()};
g.h.Do=function(){return XU(this.o)};
g.h.Ws=function(){return WU(this.o)};
g.h.yr=function(a){if(!gU(a)){this.J&&(this.U=this.aa.isAtLiveHead(),this.S=Math.ceil((0,g.I)()/1E3));var b=new vX(this.yc);a=wX(a);yX(b,a)}this.xj()};
g.h.gj=function(){return this.B instanceof cW||this.B instanceof MV||this.B instanceof oX||this.B instanceof YV};
g.h.ky=function(){return!(this.B instanceof bW)&&!this.gj()};
g.h.Zs=function(){return this.B instanceof UU};
g.h.Vk=function(){return this.B instanceof KU};
g.h.xj=function(){$Y(this.yc,this);if(!this.o.B.hasOwnProperty("ad_placement_start")){for(var a=g.q(this.o.J),b=a.next();!b.done;b=a.next())BX(b.value);this.o.B.ad_placement_start=!0}this.F.w=!1;UA("video_to_ad",["apbs"],void 0);this.jB()};
g.h.jB=function(){this.B?this.ac(this.B):this.Ig()};
g.h.li=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;gZ(this.yc,0);this.Ig(a,b)};
g.h.nA=function(){this.li()};
g.h.TJ=function(){xV(this.u.wb,"active_view_measurable")};
g.h.UJ=function(){var a=this.u.wb;qV(a)||FV(a)||xV(a,"active_view_fully_viewable_audible_half_duration")};
g.h.VJ=function(){};
g.h.WJ=function(){};
g.h.XJ=function(){};
g.h.YJ=function(){};
g.h.aK=function(){var a=this.u.wb;qV(a)||FV(a)||xV(a,"active_view_viewable")};
g.h.gx=function(){return this.Vk()?[this.zn()]:[]};
g.h.ct=function(a){if(null!==this.u){this.O||(a=new g.BD(a.state,new g.pD),this.O=!0);this.u.Qx(a);var b=a.state;if(this.V&&g.W(b,1024))this.u.Ub("dom_paused");else if(g.DD(a,2))b=this.F,b.O?uX(b):(b.w=!1,UA("ad_to_ad",["apbs"],void 0)),this.u.Vc();else{var c=a;(g.R(this.aa.N().experiments,"html5_bulleit_handle_gained_playing_state")?g.wD(c.state)&&!g.wD(c.o):g.wD(c.state))?(b=this.F,b.G&&!b.w&&(b.P=!1,b.w=!0,"ad_to_video"!=b.o&&XA("apbs",void 0,b.o)),this.u.Yi()):b.isError()?this.u.Ub(b.u.errorCode):
g.DD(a,4)&&(this.P||this.u.Kk())}if(g.DD(a,16)&&(b=this.u.wb,!(qV(b)||.5>b.o.getCurrentTime(2,!1)&&!g.R(b.o.N().experiments,"html5_dai_pseudogapless_seek_killswitch")))){c=b.u;if(c.Sk()){var d=g.R(b.H.o.N().experiments,"html5_dai_enable_active_view_creating_completed_adblock");c=c.H;d=void 0===d?!1:d;var e=Cm.getInstance().Cn(c,{});e?wk(e):d&&(c=Cm.getInstance().Pl(null,Yi(),!1,c),c.Ec=3,Tk([c]))}b.u.G.seek=!0}0>CD(a,4)&&!(0>CD(a,2))&&(b=this.u.wb,qV(b)||(sV(b)?yV(b,"resume"):xV(b,"resume")));!g.R(this.aa.N().experiments,
"html5_dai_handle_suspended_state_killswitch")&&this.Tb&&g.DD(a,512)&&!g.zD(a.state)&&uX(this.F)}};
g.h.Fz=function(){};
g.h.resume=function(){this.u&&this.u.cu()};
g.h.Xs=function(){this.u&&this.u.eb("h")};
g.h.Eo=function(){this.Xs()};
g.h.Ez=function(a){var b=this.yc;b.w&&g.R(b.o.N().experiments,"html5_bulleit_dai_publish_ad_ux_killswitch")||b.o.ka("onAdUxUpdate",a)};
g.h.onAdUxClicked=function(a){this.u.gi(a)};
g.h.dx=function(){return 0};
g.h.fx=function(){return 1};
g.h.xp=function(a){this.Tb&&this.o.F&&this.o.xb().start<=a&&a<FX(this)&&XL(this.aa,a,this.o.xb().end)};
g.h.ac=function(a){g.me(this.u);this.u=a=this.Ag.create(a,cV($U(this.o)));a.subscribe("c",g.Ra(this.li,!0),this);a.subscribe("d",g.Ra(this.li,!0,!0),this);a.subscribe("e",this.TJ,this);a.subscribe("h",this.li,this);a.subscribe("i",this.nA,this);a.subscribe("j",this.UJ,this);a.subscribe("k",this.VJ,this);a.subscribe("l",this.WJ,this);a.subscribe("m",this.XJ,this);a.subscribe("n",this.YJ,this);a.subscribe("o",this.Ys,this);a.subscribe("p",this.Ys,this);a.subscribe("r",this.Ys,this);a.subscribe("onAdUxUpdate",
this.Ez,this);a.subscribe("s",this.aK,this);HV(a);CX(this,!1)};
g.h.Ig=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.P=!0;g.me(this.u);if(a)var c=!1;else this.Tb?(c=this.aa.getCurrentTime(2,!0),c=1>=Math.abs(c-this.o.xb().end/1E3)):c=!0;if(c&&!this.o.B.hasOwnProperty("ad_placement_end")){c=g.q(this.o.H);for(var d=c.next();!d.done;d=c.next())BX(d.value);this.o.B.ad_placement_end=!0}c=this.o.A;null!==c&&(rX(this.Ie,{cueIdentifier:this.o.u&&this.o.u.identifier,driftRecoveryMs:c,iB:this.o.xb().start,Cy:FX(this)}),this.o.A=null);b||this.Tb?aZ(this.yc,!0):
this.J&&this.Ws()&&this.Vk()?aZ(this.yc,!1,ama(this)):aZ(this.yc,!1);CX(this,!0)};
g.h.Ys=function(a){gZ(this.yc,a)};
g.h.zn=function(){return this.B};
g.h.isLiveStream=function(){return this.J};
g.h.reset=function(){return new zX(this.yc,this.aa,this.F.reset(),this.o,this.Ie,this.Oi,this.Ag,this.Tb)};
g.h.Y=function(){g.me(this.u);this.u=null;g.Q.prototype.Y.call(this)};HX.prototype.create=function(a){return(a.o instanceof OU?this.A:a.o instanceof oX?this.w:""===a.C?this.o:this.u)(a)};g.r(IX,g.Q);g.h=IX.prototype;g.h.xb=function(){return this.o.xb()};
g.h.Do=function(){return XU(this.o)};
g.h.Ws=function(){return WU(this.o)};
g.h.gj=function(){return!1};
g.h.xl=function(){return!1};
g.h.onAdUxClicked=function(){};
g.h.yr=function(a){var b=this;if(1!==this.o.w&&2!==this.o.w){var c=[];this.Do()||(c=wX(a));this.o.w=1;qf(this.B.fetch(this.o.C,{mk:this.o.u||void 0,Ib:this.o.xb(),Au:FY(this.u.ca)}).then(function(d){if(!b.la()){var e=c;g.R(b.A.N().experiments,"enable_client_deferred_full_screen_filtering_for_mweb_phones")&&b.A.isFullscreen();d=cma(b,d);var f=b.w;f.u&&d.isEmpty&&qX("DAI_ERROR_TYPE_NO_AD_BREAK_RENDERER",f.o.clientPlaybackNonce);d.my||(b.o.w=2,yX(new vX(b.u),e),d.isEmpty||(e=b.u,d=d.Ii,WY(e,d,!0),d=
RY(e,d),XY(e,d)))}},function(){yX(new vX(b.u),c);
var d=b.w;d.u&&qX("DAI_ERROR_TYPE_AD_REQUEST_FAIL",d.o.clientPlaybackNonce)}),function(){2!==b.o.w&&(b.o.w=0);
b.Do()&&TY(b.u)})}};
g.h.xj=function(){};
g.h.xp=function(){};g.r(JX,g.V);JX.prototype.executeCommand=function(a){(a=void 0===a?null:a)&&this.A.executeCommand(a,this.B)};g.r(LX,g.B);LX.prototype.append=function(a){if(!this.G)throw Error("This does not support the append operation");this.Im(a.ib())};
LX.prototype.Im=function(a){this.ib().appendChild(a)};
g.r(MX,LX);MX.prototype.ib=function(){return this.o};g.r(OX,g.B);var xqa=new WeakSet;g.r(Z,g.GC);g.h=Z.prototype;g.h.bind=function(a){if(!this.da&&a.renderer){var b=Object.assign({},NX(this.api,this.oa),a.macros);this.init(a.id,a.renderer,b,a)}return Promise.resolve()};
g.h.init=function(a,b,c){this.da=a;this.element.setAttribute("id",this.da);this.xa&&g.K(this.element,this.xa);this.G=b&&b.adRendererCommands;this.macros=c;this.F=b.trackingParams||null;null!=this.F&&SX(this,this.element,this.F)};
g.h.clear=function(){};
g.h.hide=function(){g.GC.prototype.hide.call(this);null!=this.F&&TX(this,this.element,!1)};
g.h.show=function(){g.GC.prototype.show.call(this);if(!this.Ea){this.Ea=!0;var a=this.G&&this.G.impressionCommand;a&&this.oa.executeCommand(a,this.macros,null)}null!=this.F&&TX(this,this.element,!0)};
g.h.onClick=function(a){if(this.F&&!xqa.has(a)){var b=this.element;RL(this.api,b)&&this.Fa()&&g.PL(this.api,b);xqa.add(a)}(a=this.G&&this.G.clickCommand)&&this.oa.executeCommand(a,this.macros,this.jx())};
g.h.jx=function(){return null};
g.h.vJ=function(a){var b=this.O;b.F=!0;b.u=a.touches.length;b.o.isActive()&&(b.o.stop(),b.B=!0);a=a.touches;b.C=PX(b,a)||1!=a.length;var c=a.item(0);b.C||!c?(b.G=Infinity,b.H=Infinity):(b.G=c.clientX,b.H=c.clientY);for(c=b.w.length=0;c<a.length;c++){var d=a.item(c);b.w.push(d.identifier)}};
g.h.uJ=function(a){var b=this.O;a=a.changedTouches.item(0);var c;if(c=ld()){c=g.Mb;var d="";Nb("Windows")?(d=/Windows (?:NT|Phone) ([0-9.]+)/,d=(c=d.exec(c))?c[1]:"0.0"):ld()?(d=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/,d=(c=d.exec(c))&&c[1].replace(/_/g,".")):Nb("Macintosh")?(d=/Mac OS X ([0-9_.]+)/,d=(c=d.exec(c))?c[1].replace(/_/g,"."):"10"):Ib(g.Mb,"KaiOS")?(d=/(?:KaiOS)\/(\S+)/i,d=(c=d.exec(c))&&c[1]):Nb("Android")?(d=/Android\s+([^\);]+)(\)|;)/,d=(c=d.exec(c))&&c[1]):Nb("CrOS")&&(d=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/,
d=(c=d.exec(c))&&c[1]);c=!(0<=g.Lb(d||"",8))}if(c||a&&Math.pow(a.clientX-b.G,2)+Math.pow(a.clientY-b.H,2)>Math.pow(5,2))b.A=!0};
g.h.tJ=function(a){if(this.O){var b=this.O,c=a.changedTouches;c&&b.F&&1==b.u&&!b.A&&!b.B&&!b.C&&PX(b,c)&&(b.J=a,b.o.start());b.u=a.touches.length;0===b.u&&(b.F=!1,b.A=!1,b.w.length=0);b.B=!1}};
g.h.Y=function(){this.clear(null);this.Wa(this.sa);for(var a=g.q(this.S),b=a.next();!b.done;b=a.next())this.Wa(b.value);g.GC.prototype.Y.call(this)};g.r(VX,g.B);VX.prototype.Y=function(){this.u&&g.Gq(this.u);this.o.clear();WX=null;g.B.prototype.Y.call(this)};
VX.prototype.register=function(a,b){b&&this.o.set(a,b)};
var WX=null;g.r($X,LX);$X.prototype.addEventListener=function(a,b){this.C.subscribe(a,b)};
$X.prototype.removeEventListener=function(a,b){this.C.unsubscribe(a,b)};
$X.prototype.dispatchEvent=function(a){this.C.R(a.type,a)};g.r(aY,g.B);g.h=aY.prototype;g.h.bind=function(a){var b=a.renderer,c=b.trackingParams;if(this.J&&this.J!=c)throw Error("Cannot re-bind presenter with new tracking params");if(c){this.J=c;var d=this.view,e=this.o,f=d.ib();g.NL(e,f,d);g.OL(e,f,c)}this.H=b.impressionEndpoints||[];this.macros=Object.assign({},a.macros);return this.B(a)};
g.h.Fa=function(){return this.O};
g.h.show=function(){this.view.show();this.O=!0;var a=this.o,b=this.view.ib();RL(a,b)&&g.QL(a,b,!0);cY(this,this.H);this.H=[]};
g.h.hide=function(){this.Er();this.O=!1;var a=this.o,b=this.view.ib();RL(a,b)&&g.QL(a,b,!1)};
g.h.Er=function(){this.view.hide()};
g.h.onClick=function(a){a=void 0===a?{}:a;this.G(a);if(this.Fa()){a=this.o;var b=this.view.ib();RL(a,b)&&g.PL(a,b)}};
g.h.executeCommand=function(a){this.A.executeCommand(a,bY(this))};g.r(dY,g.Q);g.h=dY.prototype;g.h.show=function(){if(!this.Fa()){this.B.L(document,"click",this.aH);this.o.show();var a=this.o.element,b=g.Nh(Fh(this.A)).width,c=g.Nh(this.A),d=Dh(this.A);a.style.top=d.y+c.height+"px";a.style.right=b-d.x-c.width+"px"}};
g.h.hide=function(){this.Fa()&&(this.o.hide(),g.vr(this.B))};
g.h.Fa=function(){return this.o.Fa()};
g.h.setTitle=function(a){a?this.w.show():this.w.hide();this.w.ub(fY(a))};
g.h.aH=function(a){this.Fa()&&(a=a.target,g.ce(this.A,a)||(g.ce(this.u.o["ytp-ad-info-dialog-confirm-button"],a)?this.R("confirmClick"):g.ce(this.o.element,a)||this.R("externalClick")))};
var gma={xQ:"confirmClick",UQ:"externalClick"};g.r(gY,$X);gY.prototype.setTitle=function(a){this.o.setTitle(a)};
gY.prototype.show=function(){this.o.show()};
gY.prototype.hide=function(){this.o.hide()};
gY.prototype.ib=function(){return this.o.o.element};var hma={bD:gY},jma=["confirmClick","externalClick"];g.r(hY,aY);hY.prototype.B=function(a){var b=this.view;a=a.renderer;var c=b.o,d=a.confirmLabel||null;d?c.u.show():c.u.hide();c.u.ub(fY(d));b.setTitle(a.title||null);b.o.o.ub(fY(a.dialogMessage||null));g.Yd(eY(b.o));c=g.q(a.adReasons||[]);for(d=c.next();!d.done;d=c.next())d=d.value,eY(b.o).appendChild(g.Ud("li",null,fY(d)));this.u=a.confirmServiceEndpoint||null;return Promise.resolve()};
hY.prototype.Er=function(){aY.prototype.Er.call(this);this.u&&(this.executeCommand(this.u),this.u=null)};
hY.prototype.G=function(a){switch(a.type){case "confirmClick":case "externalClick":this.hide()}};g.r(iY,Z);g.h=iY.prototype;g.h.init=function(a,b,c){Z.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=ZX(b.hoverText),g.Zd(this.u,b,0)):this.u=null,this.w.bind({renderer:a,macros:c}),this.show()):g.N(Error("adInfoDialogRenderer is missing in AdHoverTextButtonRenderer"))};
g.h.Dr=function(){this.u&&g.Oh(this.u,!1)};
g.h.cH=function(){this.w.Fa()||this.u&&g.Oh(this.u,!0)};
g.h.bH=function(){this.w.show();this.Dr()};
g.h.clear=function(){this.hide()};g.r(jY,JX);g.r(kY,oX);g.h=kY.prototype;g.h.Wc=function(){return!1};
g.h.Fc=function(){return!0};
g.h.sx=function(){var a=this.o,b=new lla;b.url=a.iframeUrl||null;b.width=a.iframeWidth||0;b.height=a.iframeHeight||0;b.impressionTrackingUrls=lY(a.impressionCommands||[]);b.clickTrackingUrls=lY(a.onClickCommands||[]);b.adInfoRenderer=a.adInfoRenderer||null;a=new GU;a.iframeCompanionRenderer=b;return a};
g.h.ox=function(){return[new g.yd(300,60)]};
g.h.Cw=function(a,b){return new jY(a,b,this.o)};g.r(mY,GV);g.h=mY.prototype;g.h.yr=function(a){if(!gU(a)){var b=new vX(this.G);a=wX(a);yX(b,a)}this.xj()};
g.h.xj=function(){var a=this;if(this.o instanceof kY){var b=this.aa.getVideoData(2);if(!b||b.Dd||(null==this.o.o||this.o.o.adVideoId!=b.videoId)&&!g.R(this.aa.N().experiments,"ignore_video_data_current_ad_check")){this.w=function(c,d,e){if(d&&2==e&&null!=a.o.o&&a.o.o.adVideoId==d.videoId||g.R(a.aa.N().experiments,"ignore_video_data_current_ad_check"))a.w&&(a.aa.removeEventListener("videodatachange",a.w),a.w=null),g.R(a.aa.N().experiments,"populate_companion_metadata_from_vms_html5")?HV(a):d.isListed&&
HV(a)};
this.aa.addEventListener("videodatachange",this.w);return}if(!b.isListed&&!g.R(this.aa.N().experiments,"populate_companion_metadata_from_vms_html5"))return}HV(this)};
g.h.ac=function(){var a=this;$Y(this.G,this);if(nV(this.aa)){var b=this.aa.getVideoData(1),c=this.o.sx();null!=c&&(c.macros=Object.assign({},this.macros),this.H.showCompanion(b.videoId,c))}else{var d=this.o.ox();mla(this.H).then(function(e){a:{if(d&&e){e=g.q(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;for(var k=g.q(d),l=k.next();!l.done;l=k.next())if(l=l.value,l.width==f.width&&l.height==f.height){e=l;break a}}}e=null}e&&(f=a.o.Cw(a.aa,a.G,e),null!=f&&(g.H(a,f),k=a.H,k.o&&k.o.showCompanion(f.element,
e.width,e.height)))})}if(this.o instanceof kY){this.B=function(e){var f;
if(f=e.data)try{f=kp(e.source.document.location.origin)}catch(l){f=!1}if(f)if(f=a.o.o,"companion-setup-complete"==e.data)try{e.source.postMessage(JSON.stringify(f),"*");var k=e.source.frameElement;k.parentNode.style.cssText="";k.width=String(f.iframeWidth);k.height=String(f.iframeHeight)}catch(l){g.Go(l)}else"pause-video"==e.data&&a.aa.pauseVideo()};
try{window.addEventListener("message",this.B)}catch(e){g.N(e)}}};
g.h.onAdUxClicked=function(a){EV(this.wb,a)};
g.h.xb=function(){return this.A.xb()};
g.h.Do=function(){return XU(this.A)};
g.h.Ws=function(){return WU(this.A)};
g.h.gj=function(){return!0};
g.h.xl=function(){return this.A.o.Fc()};
g.h.xp=function(){};
g.h.Y=function(){if(this.B)try{window.removeEventListener("message",this.B),this.B=null}catch(a){g.N(a)}this.w&&(this.aa.removeEventListener("videodatachange",this.w),this.w=null);GV.prototype.Y.call(this)};var lma=Object.freeze([RV,WV,UU,dW,eW,KU]);g.r(oY,zX);g.h=oY.prototype;g.h.gx=function(){for(var a=this.A.o,b=g.q(a),c=b.next();!c.done;c=b.next());return a};
g.h.ky=function(){return(0>=this.C?this.A.o:this.A.o.slice(this.C)).some(function(a){return a.Wc()})};
g.h.Zs=function(){return this.G instanceof UU||this.G instanceof dW};
g.h.Vk=function(){return this.G instanceof KU||this.G instanceof WV};
g.h.jB=function(){this.Tb?lV(this.aa)&&AX(this):pY(this)};
g.h.ac=function(a){var b=nY(a);this.G&&b&&this.H!==b&&(b?bZ(this.yc):dZ(this.yc),this.H=b);this.G=a;this.Tb&&(this.C=this.A.o.findIndex(function(c){return c===a}));
zX.prototype.ac.call(this,a)};
g.h.Ig=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.w&&(g.me(this.w),this.w=null);zX.prototype.Ig.call(this,a,b)};
g.h.Eo=function(){this.C=this.A.o.length;this.w&&this.w.eb("h");this.u&&this.u.eb("h");this.Ig()};
g.h.Fz=function(){pY(this)};
g.h.Xs=function(){this.li()};
g.h.ct=function(a){zX.prototype.ct.call(this,a);a=a.state;g.W(a,2)&&this.w?this.w.Vc():g.wD(a)?(null==this.w&&(a=this.A.w)&&(this.w=this.Ag.create(a,cV($U(this.o))),this.w.subscribe("onAdUxUpdate",this.Ez,this),HV(this.w)),this.w&&this.w.Yi()):a.isError()&&this.w&&this.w.Ub(a.u.errorCode)};
g.h.li=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.Tb||(gZ(this.yc,0),a?this.Ig(a,b):pY(this))};
g.h.nA=function(){1==this.A.u?this.Ig():this.li()};
g.h.onAdUxClicked=function(a){zX.prototype.onAdUxClicked.call(this,a);this.w&&this.w.gi(a)};
g.h.zn=function(){var a=0>=this.C?this.A.o:this.A.o.slice(this.C);return 0<a.length?a[0]:null};
g.h.Y=function(){g.me(this.w);this.w=null;zX.prototype.Y.call(this)};
g.h.hi=function(){return this.H};
g.h.xl=function(){return this.A.o.every(function(a){return a.Fc()})};
g.h.reset=function(){return new oY(this.yc,this.aa,this.F.reset(),this.o,this.Ie,this.Oi,this.Ag,this.Tb)};
g.h.dx=function(){return this.C};
g.h.fx=function(){return this.A.o.length};g.r(qY,JX);qY.prototype.C=function(a){g.ce(this.w.element,a.target)||(g.Lq(a),KX(this,this.u.onClickCommands),this.executeCommand(this.u.clickthroughEndpoint),this.aa.onAdUxClicked("image-companion"),this.aa.pauseVideo())};g.r(rY,oX);g.h=rY.prototype;g.h.Wc=function(){return!1};
g.h.Fc=function(){return!0};
g.h.sx=function(){var a=new GU;a.imageCompanionAdRenderer=this.o;return a};
g.h.ox=function(){return this.u};
g.h.Cw=function(a,b,c){return new qY(a,b,this.o,c)};g.r(sY,OU);g.r(tY,OU);g.r(uY,OU);vY.prototype.create=function(a,b){function c(F){return new KU(F,d.u,b)}
var d=this,e=a.instreamVideoAdRenderer,f=a.clientForecastingAdRenderer,k=a.invideoOverlayAdRenderer,l=a.videowallIframeCompanionAdRenderer,m=a.imageCompanionAdRenderer,n=a.instreamSurveyAdRenderer,p=a.plaShelfRenderer,t=a.sandwichedLinearAdRenderer,u=a.shoppingCompanionCarouselRenderer,z=a.actionCompanionAdRenderer,C=a.multipleInstreamVideoAdRenderer,D=a.linearAdSequenceRenderer,E=a.adsEngagementPanelRenderer,G=a.adChoiceInterstitialRenderer;return null!=e&&e.playerVars?c(e):null!=f?new ZV(f):null!=
k?new $V(k):null!=l&&l.iframeUrl?new kY(l):null!=m?new rY(m):null!=n?new UU(n):null!=t?new uY(t,c,this.o):null!=C?new tY(C,c):null!=p?new bW(p):null!=u?new cW(u):null!=z?new MV(z):null!=D?new sY(D,c):null!=E?new YV(E):null!=G?new NU(G):null};wY.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.q(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var k=b,l=new eU(k.w,k.u,k.Tb,k.A),m=k.Rc;m&&(l.Rc=new At(m.startSecs,m.durationSecs,m.context,m.identifier,m.event,m.o));k.o&&(l.o=k.o);l.visible=k.visible;k=l;k.Rc=f;e.push(xY(this,a[0],c,k));c++}}else for(a=g.q(a),d=a.next();!d.done;d=a.next())d=d.value,f=d.renderer,aX(this.o)&&null!=f.actionCompanionAdRenderer||bX(this.o)&&null!=f.imageCompanionAdRenderer||
cX(this.o)&&null!=f.shoppingCompanionCarouselRenderer||UY(this.o)&&null!=f.clientForecastingAdRenderer||(e.push(xY(this,d,c,b)),c++);return e};g.r(yY,g.B);g.r(AY,g.B);AY.prototype.addEventListener=function(a,b){this.o=b};
AY.prototype.removeEventListener=function(){this.o=null};
g.r(BY,g.B);BY.prototype.addEventListener=function(a,b,c){this.o.addEventListener(a,b,c)};
BY.prototype.removeEventListener=function(a,b){this.o.removeEventListener(a,b)};g.r(CY,g.B);DY.prototype.reset=function(){this.o=-1};var GY=null,IY=null,KY=null,MY=null;g.Ha("yt.www.ads.eventcache.getLastCompanionData",function(){return GY},void 0);
g.Ha("yt.www.ads.eventcache.getLastPlaShelfData",function(){return IY},void 0);
g.Ha("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction",function(){return KY},void 0);
g.Ha("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction",function(){return MY},void 0);g.r(QY,g.Q);g.h=QY.prototype;
g.h.init=function(){var a=this.o.getVideoData(1);if(a.uq||g.M("SERVED_VIA_SPF_HISTORY"))g.R(this.o.N().experiments,"directly_unlock_preroll_on_cached_playbacks_for_bulleit")?this.U():TY(this);else{if(nV(this.o)){var b=PC(this.o);b.addEventListener("updateKevlarOrC3Companion",HY);b.addEventListener("onPlaShelfInfoCardsReady",JY);b.addEventListener("updateEngagementPanelAction",LY);b.addEventListener("changeEngagementPanelVisibility",NY);window.addEventListener("yt-navigate-start",OY)}this.F.L(this.o,
"applicationplayerstatechange",this.pI);this.F.L(this.o,g.VD("ad"),this.Co,this);this.F.L(this.o,"crx_ad",this.qI,this);this.F.L(this.o,"aduxclicked",this.ZJ);this.F.L(this.o,"videodatachange",this.tI);b=a.getPlayerResponse()||{};b=tma(b);WY(this,b,!1);b=uma(this,b);b=RY(this,b);0<b.length&&XY(this,b);this.P&&(a.subscribe("cuepointupdated",this.Ht,this),this.w&&a.ma&&this.Ht(Vy(a.ma,0)));TY(this);g.Ye(this.dP,this)}};
g.h.Y=function(){this.da=!0;g.vr(this.F);this.P&&PY(this).unsubscribe("cuepointupdated",this.Ht,this);if(nV(this.o)){var a=PC(this.o);a.removeEventListener("updateKevlarOrC3Companion",HY);a.removeEventListener("onPlaShelfInfoCardsReady",JY);a.removeEventListener("updateEngagementPanelAction",LY);a.removeEventListener("changeEngagementPanelVisibility",NY);window.removeEventListener("yt-navigate-start",OY);MY=KY=GY=null}a=g.q(this.B.values());for(var b=a.next();!b.done;b=a.next())cZ(this,b.value);aZ(this,
!1);this.C.clear();this.V=[];this.O.clear();g.me(this.A);this.A=null;g.me(this.J);this.J=new Map;this.B.clear();g.Q.prototype.Y.call(this)};
g.h.Co=function(a){if(!a.o&&(!hU(a)||a.contains(fZ(this)))){var b=g.sL(this.o,1);(this.o.N().fa("html5_sync_seeking_state")?g.W(b,32):!g.W(b,64)&&(g.W(b,32)||g.W(b,16)))?this.O.add(a):(b=this.B.get(a))?((this.w?0:g.R(this.o.N().experiments,"enable_eviction_protection_for_bulleit"))?b.gj()&&this.A?this.A.xl():!b.gj()&&this.u?this.u.xl():1:1)?b.yr(a):a.o=!0:(b=Error("coordinator not found"),b.params=a.toString(),g.N(b))}};
g.h.qI=function(a){a.o&&(a.o=!1);this.O["delete"](a)};
g.h.Ht=function(a){Vla(this.Aa,a);if(null==this.P)g.N(Error("Dynamically inserted ad was requested, but no cuepoint AdPlacementRenderer was present to fulfill the request."));else if(this.w){a=g.q(a);for(var b=a.next();!b.done;b=a.next())this.na.reduce(b.value)}else 0!=(this.o.getCurrentTime(g.R(this.o.N().experiments,"bulleit_explicitly_use_content_video_ms_for_cue_range")?1:void 0)||0)&&(a=a.filter(function(c){return"start"==c.event}),XY(this,[this.P],a))};
g.h.JA=function(a){XY(this,[this.P],[a])};
g.h.hL=function(a){XL(this.o,1E3*a)};
g.h.sI=function(a){this.u&&this.u.ct(a)};
g.h.pI=function(a){0>CD(a,16)&&(this.O.forEach(this.Co,this),this.O.clear())};
g.h.tI=function(){if(this.u){var a=this.u;a.Tb&&AX(a)}if(this.w){a=1E3*this.o.getCurrentTime(g.R(this.o.N().experiments,"bulleit_explicitly_use_content_video_ms_for_cue_range")?1:void 0);for(var b=g.q(this.B.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,c.start<=a&&a<c.end){this.Co(c);break}}};
g.h.FN=function(){var a=null;this.w&&(a=this.o.getCurrentTime(g.R(this.o.N().experiments,"bulleit_explicitly_use_content_video_ms_for_cue_range")?1:void 0),this.na.updateTime(a));if(lV(this.o)&&this.u){var b=this.o.getCurrentTime(2,!1),c=this.u;if(c.u){var d=c.u;d.F&&vV(d.wb,b,d.getDuration());if(null!==a&&(b=c.o.A,!(null===b||g.R(c.aa.N().experiments,"html5_dai_drift_recovery_killswitch")||(d=c.o.xb().start,1E3*a<d+b)))){c.o.A=null;var e=FX(c),f=Math.min(a+HT(c.aa.app),e/1E3),k=c.o.u&&c.o.u.identifier;
a<f?(c.aa.seekTo(f,void 0,void 0,1),c=c.Ie,a*=1E3,f*=1E3,c.u&&pX({driftRecoveryInfo:{contentCpn:c.o.clientPlaybackNonce,cueIdentifier:k||void 0,driftRecoveryMs:b.toString(),breakDurationMs:Math.round(e-d).toString(),driftFromHeadMs:Math.round(1E3*HT(c.w.app)).toString(),appliedDriftRecoveryMs:Math.round(a-d).toString(),destinationMs:Math.round(f-d).toString()}})):rX(c.Ie,{cueIdentifier:k,driftRecoveryMs:b,iB:d,Cy:e})}}}};
g.h.SJ=function(){this.ya=!0;if(this.u){var a=this.u;a.u&&a.u.Cc()}};
g.h.ZJ=function(a){if(this.u)this.u.onAdUxClicked(a);if(this.A)this.A.onAdUxClicked(a)};
g.h.uI=function(){if(2==this.o.getPresentingPlayerType()&&this.u){var a=this.u.u,b=a.wb;a=a.aa.isMuted();sV(b)||xV(b,a?"mute":"unmute")}};
g.h.rI=function(a){if(this.u){var b=this.u.u.wb;qV(b)||yV(b,a?"fullscreen":"end_fullscreen")}};
g.h.dP=function(){for(var a=[],b=g.q(this.C),c=b.next();!c.done;c=b.next())c=c.value,gU(c)||a.push(c);b=this.o.app;1!=b.getPresentingPlayerType()||dT(b,"cuerangemarkersupdated",a)};
g.h.az=function(){this.u&&this.u.hi()&&this.u.Fz()};
g.h.Zy=function(){this.u&&this.u.hi()&&this.u.Xs()};
g.h.Fs=function(){this.u&&this.u.hi()&&this.u.Eo()};
g.h.Uw=function(a){if(a=this.J.get(a)){a:{var b="instreamVideoAdRenderer multipleInstreamVideoAdRenderer instreamSurveyAdRenderer sandwichedLinearAdRenderer parallelChoiceAdPlacementRenderer linearAdSequenceRenderer adChoiceInterstitialRenderer".split(" ");var c=a.renderer;if(c&&b&&Array.isArray(b)&&0!==b.length)for(var d=0;d<b.length;d++)if(c.hasOwnProperty(b[d])){b=!0;break a}b=!1}b?(a=XY(this,[a]))&&0!==a.length&&(a=a[0],ZY(this,a),a.xj()):g.N(Error("Attempted to fill instream slot with a non-instream renderer."))}};
g.h.Zq=function(a){(a=this.J.get(a))&&(a=XY(this,[a]))&&0!=a.length&&a[0].xj()};
g.h.Gq=function(){YY(this)};
g.h.seekTo=function(a){hZ(this)&&this.o.rb().seekTo(a)};
g.h.resume=function(){this.u&&this.u.resume()};
g.h.executeCommand=function(a,b,c){this.Qa.executeCommand(a,b,xma(this,void 0===c?null:c))};
g.h.bx=function(){return this.ra};g.r(jZ,Z);jZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b=(a=b.thumbnail)&&iZ(a)||"";g.zb(b)?(g.R(this.api.N().experiments,"web_player_ad_image_error_rate_sampling_killswitch")||.01>Math.random())&&g.Go(Error("Found AdImage without valid image URL")):(this.u?g.th(this.element,"backgroundImage","url("+b+")"):Ld(this.element,{src:b}),Ld(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),this.show())};
jZ.prototype.clear=function(){this.hide()};g.r(lZ,Z);
lZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.u=b;if(null==b.text&&null==b.icon)g.Go(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.K(this.element,a);null!=b.text&&(a=g.gA(b.text),g.zb(a)||(this.element.setAttribute("aria-label",a),this.B=new g.GC({D:"span",I:"ytp-ad-button-text",W:a}),g.H(this,this.B),this.B.ba(this.element)));null!=b.icon&&(b=kZ(b.icon),null!=
b&&(this.w=new g.GC({D:"span",I:"ytp-ad-button-icon",K:[b]}),g.H(this,this.w)),this.C?g.Zd(this.element,this.w.element,0):this.w.ba(this.element))}};
lZ.prototype.clear=function(){this.hide()};
lZ.prototype.onClick=function(a){var b=this;Z.prototype.onClick.call(this,a);Bma(this).forEach(function(c){return b.oa.executeCommand(c,b.macros)});
this.api.onAdUxClicked(this.componentType)};g.r(mZ,Z);mZ.prototype.clear=function(){this.dispose()};g.r(pZ,mZ);g.h=pZ.prototype;g.h.init=function(a,b,c){mZ.prototype.init.call(this,a,b,c);g.th(this.A,"stroke-dasharray","0 "+this.w);this.show()};
g.h.clear=function(){this.hide()};
g.h.hide=function(){oZ(this);mZ.prototype.hide.call(this)};
g.h.show=function(){nZ(this);mZ.prototype.show.call(this)};
g.h.ri=function(){this.hide()};
g.h.kh=function(){if(this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=a.current/a.seekableEnd*this.w,this.C&&(a=this.w-a),g.th(this.A,"stroke-dasharray",a+" "+this.w))}};g.r(qZ,Z);qZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.u=b;this.isTemplated()||g.de(this.element,QX(this.u));if(b.backgroundImage&&(a=(a=b.backgroundImage.thumbnail)?iZ(a):"",c=(c=this.api.getVideoData(1))&&c.Xl,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()};
qZ.prototype.isTemplated=function(){return this.u.isTemplated||!1};
qZ.prototype.clear=function(){this.hide()};g.r(sZ,mZ);g.h=sZ.prototype;
g.h.init=function(a,b,c){mZ.prototype.init.call(this,a,b,c);a=b.durationMilliseconds;"number"===typeof a&&0>a&&g.N(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ga&&g.K(this.w.element,"countdown-next-to-thumbnail");a=b.durationMilliseconds;this.U=null==a||0===a?this.u.Xz():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview);this.A.init(jU("ad-text"),d,c);(d=this.api.getVideoData(1))&&
d.Xl&&b.thumbnail?this.C.init(jU("ad-image"),b.thumbnail,c):this.H.hide()};
g.h.clear=function(){this.hide()};
g.h.hide=function(){this.w.hide();this.A.hide();this.C.hide();oZ(this);mZ.prototype.hide.call(this)};
g.h.show=function(){nZ(this);this.w.show();this.A.show();this.C.show();mZ.prototype.show.call(this)};
g.h.ri=function(){this.hide()};
g.h.kh=function(){if(null!=this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Z&&a>=this.U?(g.R(this.api.N().experiments,"enable_pubsub_for_skip_transition_bulleit")||this.J.hide(),this.Z=!0,this.R("t")):this.A&&this.A.isTemplated()&&(a=Math.max(0,Math.ceil((this.U-a)/1E3)),a!=this.ea&&(rZ(this.A,{TIME_REMAINING:String(a)}),this.ea=a)))}};g.r(uZ,g.B);g.h=uZ.prototype;g.h.Y=function(){this.reset();g.B.prototype.Y.call(this)};
g.h.reset=function(){g.vr(this.B);this.C=!1;this.o&&this.o.stop();this.A.stop();this.u&&(this.u=!1,this.F.play())};
g.h.start=function(){this.reset();this.B.L(this.w,"mouseover",this.KL,this);this.B.L(this.w,"mouseout",this.HL,this);this.o?this.o.start():(this.C=this.u=!0,g.th(this.w,{opacity:this.H}))};
g.h.KL=function(){this.u&&(this.u=!1,this.F.play());this.A.stop();this.o&&this.o.stop()};
g.h.HL=function(){this.C?this.A.start():this.o&&this.o.start()};
g.h.cw=function(){this.u||(this.u=!0,this.G.play(),this.C=!0)};var Cma=oc(function(){return new jba}),Hma=oc(function(){return new Ema});g.r(wZ,mZ);g.h=wZ.prototype;
g.h.init=function(a,b,c){mZ.prototype.init.call(this,a,b,c);this.H=b;this.ea=Ima(this);!b||g.ac(b)?g.N(Error("SkipButtonRenderer was not specified or empty.")):!b.message||g.ac(b.message)?g.N(Error("SkipButtonRenderer.message was not specified or empty.")):(a={iconType:"SKIP_NEXT"},b=kZ(a),null==b?g.N(Error("Icon for SkipButton was unable to be retrieved. yt.innertube.Icon.IconType: "+a.iconType+".")):(this.C=new g.GC({D:"button",X:["ytp-ad-skip-button","ytp-button"],K:[{D:"span",I:"ytp-ad-skip-button-icon",
K:[b]}]}),g.H(this,this.C),this.C.ba(this.A.element),this.w=new qZ(this.api,this.oa,"ytp-ad-skip-button-text"),this.w.init(jU("ad-text"),this.H.message,c),g.H(this,this.w),g.Zd(this.C.element,this.w.element,0)),g.R(this.api.N().experiments,"bulleit_use_touch_events_for_skip")&&UX(this))};
g.h.clear=function(){this.U.reset();this.hide()};
g.h.hide=function(){this.A.hide();this.w&&this.w.hide();oZ(this);mZ.prototype.hide.call(this);this.Z.stop();this.J&&(this.J(),this.J=null)};
g.h.onClick=function(a){if(null!=this.C&&(a&&g.Lq(a),mZ.prototype.onClick.call(this,a),this.R("u"),!this.ea))this.api.onAdUxClicked(this.componentType)};
g.h.jx=function(){return"skip"};
g.h.show=function(){this.U.start();this.A.show();this.w&&this.w.show();nZ(this);mZ.prototype.show.call(this);g.zn(this.Z)};
g.h.ri=function(){this.R("v")};
g.h.kh=function(){};g.r(xZ,g.Q);g.h=xZ.prototype;g.h.Xz=function(){return this.u};
g.h.start=function(){this.w||(this.w=!0,this.Da.start())};
g.h.stop=function(){this.w&&(this.w=!1,this.Da.stop())};
g.h.rJ=function(){this.o+=100;var a=!1;this.o>this.u&&(this.o=this.u,this.Da.stop(),a=!0);this.A={seekableStart:0,seekableEnd:this.u/1E3,current:this.o/1E3};this.B&&EW(this.B,this.A.current);this.R("b");a&&this.R("a")};
g.h.getProgressState=function(){return this.A};g.r(yZ,Z);g.h=yZ.prototype;
g.h.init=function(a,b,c){Z.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,"number"!==typeof a||0>=a)g.N(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.zb(g.fd(e[0].url))&&(e[0].url=d.Qd);e=b.backgroundImage.thumbnail.thumbnails;null!=e&&0<e.length&&g.zb(g.fd(e[0].url))&&(e[0].url=d.Bc());e=b.headline;null!=e&&g.zb(g.fd(e.text))&&(e.text=d.author)}this.H.init(jU("ad-image"),b.image,c);this.V.init(jU("ad-text"),b.headline,c);this.U.init(jU("ad-text"),b.description,c);this.J.init(jU("ad-image"),b.backgroundImage,c);this.u=new lZ(this.api,this.oa,["ytp-ad-action-interstitial-action-button"]);g.H(this,this.u);this.u.ba(this.ya);this.u.init(jU("button"),
b.actionButton.buttonRenderer,c);this.Z=b.navigationEndpoint;this.api.N().o||(this.C.L(this.na,"click",this.Uq,this),this.C.L(this.ga,"click",this.Uq,this),this.C.L(this.ea,"click",this.Uq,this));this.w=new xZ(a);g.H(this,this.w);b.skipButton?(a=b.skipButton.skipButtonRenderer)&&this.w&&(this.B=new wZ(this.api,this.oa,this.w),g.H(this,this.B),this.B.ba(this.element),this.B.init(jU("skip-button"),a,c)):b.nonskippableOverlayRenderer&&(a=b.nonskippableOverlayRenderer.adPreviewRenderer)&&this.w&&(this.A=
new sZ(this.api,this.oa,this.w,!1),g.H(this,this.A),this.A.ba(this.element),this.A.init(jU("ad-preview"),a,c));(b=b.countdownRenderer)&&b.timedPieCountdownRenderer&&this.w&&(c=new pZ(this.api,this.oa,this.w),g.H(this,c),c.ba(this.element),c.init(jU("timed-pie-countdown"),b.timedPieCountdownRenderer,this.macros));this.show();this.element.focus()}else g.N(Error("AdActionInterstitialRenderer has no navigation endpoint."));else g.N(Error("AdActionInterstitialRenderer has no button."));else g.N(Error("AdActionInterstitialRenderer has no background AdImage."));
else g.N(Error("AdActionInterstitialRenderer has no description AdText."));else g.N(Error("AdActionInterstitialRenderer has no headline AdText."));else g.N(Error("AdActionInterstitialRenderer has no image."))};
g.h.clear=function(){g.vr(this.C);this.hide()};
g.h.show=function(){zZ(!0);this.u&&this.u.show();this.B&&this.B.show();this.A&&this.A.show();Z.prototype.show.call(this)};
g.h.hide=function(){zZ(!1);this.u&&this.u.hide();this.B&&this.B.hide();this.A&&this.A.hide();Z.prototype.hide.call(this)};
g.h.Uq=function(){this.Z&&this.oa.executeCommand(this.Z,this.macros)};g.r(AZ,Z);
AZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);if(b.text)if(b.adChoiceButtons&&2==b.adChoiceButtons.length){a=0;for(var d=[],e=g.q(b.adChoiceButtons),f=e.next();!f.done;f=e.next()){var k=(f=f.value)&&f.buttonRenderer;if(!k){g.N(Error("AdChoiceInterstitialRenderer only supports button renderers of type button_renderer"));return}k=k.text;if(!k){g.N(Error("AdChoiceInterstitialRenderer's ButtonRenderer is missing a text field"));return}d.push(f.buttonRenderer);f=g.gA(k);a=Math.max(a,
f.length)}e=b.durationMilliseconds||0;"number"!==typeof e||0>e?g.N(Error("timeoutSeconds was specified incorrectly in AdChoiceInterstitialRenderer with a value of: "+e)):b.completeCommands?b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer?(g.de(this.o["ytp-ad-choice-interstitial-head-title"],g.gA(b.text)),f=a,2!==d.length?d=!1:(this.A=BZ(this,d[0],f),this.A.show(),this.C=BZ(this,d[1],f),this.C.show(),d=!0),d?(Jma(this,b.completeCommands,c,e),b&&b.adDurationRemaining&&b.adDurationRemaining.timedPieCountdownRenderer&&
(b=b.adDurationRemaining.timedPieCountdownRenderer,d=this.o["ytp-ad-choice-interstitial"],this.w=new pZ(this.api,this.oa,this.u,!0),g.H(this,this.w),this.w.init(jU("timed-pie-countdown"),b,c),this.w.ba(d)),c=8*a+32,a=this.o["ytp-ad-choice-interstitial-button-container"],190<c?(a.classList.add("ytp-ad-choice-interstitial-button-container-stacked"),a.style.width=c+"px"):(a.classList.remove("ytp-ad-choice-interstitial-button-container-stacked"),a.style.width=""),this.show()):g.N(Error("AdChoiceInterstitialRenderer failed to initialize buttons."))):
g.N(Error("AdChoiceInterstitialRenderer requires a timed_pie_countdown_renderer.")):g.N(Error("timeoutSeconds was specified yet no completeCommands were specified"))}else g.N(Error("AdChoiceInterstitialRenderer should have two choices."));else g.N(Error("AdChoiceInterstitialRenderer has no title."))};
AZ.prototype.clear=function(){this.hide()};g.r(CZ,Z);g.h=CZ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.text?(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a?g.N(Error("durationMilliseconds was specified incorrectly in AdTextInterstitialRenderer with a value of: "+a)):(this.u.init(jU("ad-text"),b.text,c),this.show())):g.N(Error("AdTextInterstitialRenderer has no message AdText."))};
g.h.clear=function(){this.hide()};
g.h.show=function(){DZ(!0);Z.prototype.show.call(this)};
g.h.hide=function(){DZ(!1);Z.prototype.hide.call(this)};
g.h.onClick=function(){};g.r(EZ,Z);
EZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&b.button.buttonRenderer||null;null==b?g.N(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new lZ(this.api,this.oa),g.H(this,this.button),this.button.init(jU("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.gA(a)),this.button.ba(this.element),this.C&&!g.In(this.button.element,"ytp-ad-clickable")&&g.K(this.button.element,"ytp-ad-clickable"),a&&
(this.w=new g.GC({D:"div",I:"ytp-ad-hover-text-container"}),this.B&&(b=new g.GC({D:"div",I:"ytp-ad-hover-text-callout"}),b.ba(this.w.element),g.H(this,b)),g.H(this,this.w),this.w.ba(this.element),b=ZX(a),g.Zd(this.w.element,b,0)),this.show())};
EZ.prototype.hide=function(){this.button&&this.button.hide();this.w&&this.w.hide();Z.prototype.hide.call(this)};
EZ.prototype.show=function(){this.button&&this.button.show();Z.prototype.show.call(this)};g.r(FZ,Z);g.h=FZ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.reasons?null==b.confirmLabel?g.N(Error("AdFeedbackRenderer.confirmLabel was not set.")):(null==b.cancelLabel&&g.Go(Error("AdFeedbackRenderer.cancelLabel was not set.")),null==b.title&&g.Go(Error("AdFeedbackRenderer.title was not set.")),Nma(this,b)):g.N(Error("AdFeedbackRenderer.reasons were not set."))};
g.h.clear=function(){Qq(this.B);Qq(this.H);this.A.length=0;this.hide()};
g.h.hide=function(){this.u&&this.u.hide();this.w&&this.w.hide();Z.prototype.hide.call(this);this.C&&this.C.focus()};
g.h.show=function(){this.u&&this.u.show();this.w&&this.w.show();this.C=document.activeElement;Z.prototype.show.call(this);this.B.focus()};
g.h.bA=function(){this.api.onAdUxClicked("ad-feedback-dialog-close-button");this.R("w");this.hide()};
g.h.zN=function(){this.hide()};
GZ.prototype.isChecked=function(){return this.w.checked};g.r(HZ,Z);g.h=HZ.prototype;g.h.hide=function(){Z.prototype.hide.call(this);this.A&&this.A.focus()};
g.h.show=function(){this.A=document.activeElement;Z.prototype.show.call(this);this.B.focus()};
g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.N(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.N(Error("ConfirmDialogRenderer.cancelLabel was not set.")):Oma(this,b):g.N(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))};
g.h.clear=function(){g.vr(this.u);this.hide()};
g.h.Ft=function(){this.hide()};
g.h.Et=function(){var a=this.w.cancelEndpoint;a&&this.oa.executeCommand(a,this.macros);this.hide()};
g.h.Gt=function(){var a=this.w.confirmNavigationEndpoint||this.w.confirmEndpoint;a&&this.oa.executeCommand(a,this.macros);this.hide()};g.r(IZ,HZ);IZ.prototype.Ft=function(a){HZ.prototype.Ft.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")};
IZ.prototype.Et=function(a){HZ.prototype.Et.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-close-button")};
IZ.prototype.Gt=function(a){HZ.prototype.Gt.call(this,a);this.api.onAdUxClicked("ad-mute-confirm-dialog-confirm-button");this.R("x")};g.r(JZ,Z);g.h=JZ.prototype;
g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.C=b;if(null==b.dialogMessage&&null==b.title)g.N(Error("Neither AdInfoDialogRenderer.dialogMessage nor AdInfoDialogRenderer.title was set."));else{null==b.confirmLabel&&g.Go(Error("AdInfoDialogRenderer.confirmLabel was not set."));if(a=b.closeOverlayRenderer&&b.closeOverlayRenderer.buttonRenderer||null)this.u=new lZ(this.api,this.oa,["ytp-ad-info-dialog-close-button"],"ad-info-dialog-close-button"),g.H(this,this.u),this.u.init(jU("button"),
a,this.macros),this.u.ba(this.element);b.title&&(a=g.gA(b.title),this.ha("title",a));if(b.adReasons)for(a=b.adReasons,c=0;c<a.length;c++){var d=ZX(a[c]);if(!g.zb(d.textContent)){var e=g.Ud("LI");e.appendChild(d);this.U.appendChild(e)}}else g.Oh(this.U,!1);b.dialogMessage&&(a=ZX(b.dialogMessage,!0),this.ea.appendChild(a));b.confirmLabel&&(a=g.gA(b.confirmLabel),this.ha("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.Go(Error("AdInfoDialogRenderer.muteAdRenderer was specified but contains neither an AdFeedbackEndpoint, nor a ConfirmDialogEndpoint.")):(a?Qma(this,a):c&&Rma(this,c),this.A=new lZ(this.api,this.oa,["ytp-ad-info-dialog-mute-button"],"button",!0),g.H(this,this.A),this.A.init(jU("button"),b,this.macros),this.A.ia("click",this.GJ,this),this.A.ba(this.ga)));Sma(this)}};
g.h.clear=function(){Qq(this.H);this.hide()};
g.h.hide=function(){this.w?this.w.hide():this.B&&this.B.hide();this.u&&this.u.hide();this.A&&this.A.hide();Z.prototype.hide.call(this);this.J&&this.J.focus()};
g.h.show=function(){this.u&&this.u.show();this.A&&this.A.show();this.V||(Pma(this),this.V=!0);this.J=document.activeElement;Z.prototype.show.call(this);this.H.focus()};
g.h.cA=function(){this.C&&this.C.confirmServiceEndpoint&&this.oa.executeCommand(this.C.confirmServiceEndpoint,this.macros);this.api.onAdUxClicked("ad-info-dialog-close-button");this.R("z");this.hide()};
g.h.GJ=function(){var a=this.w?this.w:this.B;a&&!a.Fa()&&(this.hide(),a.show())};g.r(KZ,EZ);KZ.prototype.init=function(a,b,c){EZ.prototype.init.call(this,a,b,c);a=b.button&&b.button.buttonRenderer||null;null!=a&&(Uma(this,a,c),this.show())};
KZ.prototype.hide=function(){this.button&&this.button.hide();this.u&&this.u.hide();EZ.prototype.hide.call(this)};
KZ.prototype.show=function(){this.button&&this.button.show();EZ.prototype.show.call(this)};
KZ.prototype.clear=function(){this.hide()};var Vma={iconType:"CLOSE"};g.r(LZ,Z);g.h=LZ.prototype;g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.A=b;(a=b.contentSupportedRenderer&&b.contentSupportedRenderer.enhancedTextOverlayAdContentRenderer)&&Xma(this,a,b.adInfoRenderer)&&(MZ(this,!0),this.show(),this.ya.start())};
g.h.onClick=function(a){var b=this;if(!g.ce(this.Ha,a.target)){Z.prototype.onClick.call(this,a);var c=g.dc(this.macros),d=g.Nh(this.u);c.AW={toString:function(){return d.width.toString()}};
c.AH={toString:function(){return d.height.toString()}};
var e=g.Kh(a,this.u).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.ga.toString()}};
this.Aa.forEach(function(f){return b.oa.executeCommand(f,c)});
this.api.pauseVideo()}};
g.h.clear=function(){MZ(this,!1);this.ga=0;TX(this,this.u,!1);this.ya.stop();this.hide();this.dispose()};
g.h.show=function(){this.w&&this.w.show();Z.prototype.show.call(this)};
g.h.hide=function(){this.w&&this.w.hide();Z.prototype.hide.call(this)};
g.h.zJ=function(){var a=this;Yma(this).forEach(function(b){return a.oa.executeCommand(b,a.macros)});
this.clear()};
g.h.wJ=function(){this.V=2==this.api.getPlayerState(1);this.api.pauseVideo()};
g.h.xJ=function(){this.V||2!=this.api.getPlayerState(1)||this.api.playVideo()};
g.h.AJ=function(){this.V||2!=this.api.getPlayerState(1)||this.api.playVideo();this.clear()};
g.h.yJ=function(a){if(this.J){var b=g.Jd("ytp-ad-button",this.J.element);a.target===this.B&&b&&b.click()}};var OZ={iconType:"CLOSE"},SZ=new g.yd(320,63);g.r(NZ,Z);g.h=NZ.prototype;
g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.B=b;this.H=g.jb(this.B.onClickCommands||[]);if(a=this.B.contentSupportedRenderer)a=this.B.contentSupportedRenderer,b=this.B.adInfoRenderer||null,a.textOverlayAdContentRenderer?(this.C=g.Jd("ytp-ad-overlay-ad-info-button-container",this.A.element),QZ(this,b),a=cna(this,a.textOverlayAdContentRenderer)):a.enhancedTextOverlayAdContentRenderer?(this.C=g.Jd("ytp-ad-overlay-ad-info-button-container",this.w.element),QZ(this,b),a=dna(this,a.enhancedTextOverlayAdContentRenderer)):
a.imageOverlayAdContentRenderer?(this.C=g.Jd("ytp-ad-overlay-ad-info-button-container",this.u.element),QZ(this,b),a=ena(this,a.imageOverlayAdContentRenderer)):(g.N(Error("InvideoOverlayAdRenderer content could not be initialized.")),a=!1);a&&(this.show(),TZ(this,!0))};
g.h.EJ=function(){this.api.app.H.o&&this.clear()};
g.h.clear=function(){TZ(this,!1);this.Z.reset();this.J=0;this.A.hide();TX(this,this.A.element,!1);this.w.hide();TX(this,this.w.element,!1);this.u.hide();TX(this,this.u.element,!1);this.hide();this.dispose()};
g.h.oN=function(){this.ga&&this.oa.executeCommand(this.ga,this.macros);this.api.pauseVideo()};
g.h.At=function(){var a=this;bna(this).forEach(function(b){return a.oa.executeCommand(b,a.macros)});
this.clear()};
g.h.BJ=function(){this.ea=2==this.api.getPlayerState(1);this.api.pauseVideo()};
g.h.CJ=function(){this.ea||2!=this.api.getPlayerState(1)||this.api.playVideo()};
g.h.FJ=function(){this.ea||2!=this.api.getPlayerState(1)||this.api.playVideo();this.clear()};
g.h.DJ=function(a){a.target===this.C&&g.Jd("ytp-ad-button",this.na.element).click()};g.r(UZ,mZ);g.h=UZ.prototype;g.h.init=function(a,b,c){mZ.prototype.init.call(this,a,b,c);a=b.durationMs;"number"===typeof a&&0>=a&&g.N(Error("durationMs was specified incorrectly in AdMessageRenderer with a value of: "+a));a=b.durationMs;this.C=null==a||0===a?0:a+1E3*this.u.getProgressState().current;if(b.text)var d=b.text.templatedAdText;else b.staticMessage&&(d=b.staticMessage);this.w.init(jU("ad-text"),d,c);this.w.ba(this.A.element);this.H.show(100);this.show()};
g.h.clear=function(){this.hide()};
g.h.hide=function(){VZ(this,!1);mZ.prototype.hide.call(this);this.A.hide();this.w.hide();oZ(this)};
g.h.show=function(){VZ(this,!0);mZ.prototype.show.call(this);nZ(this);this.A.show();this.w.show()};
g.h.ri=function(){this.hide()};
g.h.kh=function(){if(null!=this.u){var a=this.u.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.J&&a>=this.C?(this.H.hide(),this.J=!0):this.w&&this.w.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!=this.U&&(rZ(this.w,{TIME_REMAINING:String(a)}),this.U=a)))}};g.r(WZ,mZ);g.h=WZ.prototype;
g.h.init=function(a,b,c){mZ.prototype.init.call(this,a,b,c);a=b&&b.preskipRenderer&&b.preskipRenderer.adPreviewRenderer||{};if(a=g.ac(a)?null:a){this.C=null!=a.durationMilliseconds&&void 0!==a.durationMilliseconds?a.durationMilliseconds:5E3;var d="countdown_next_to_thumbnail"==g.lv(this.api.N().experiments,"preskip_button_style_ads_backend")&&Gx(this.api.N());this.w=new sZ(this.api,this.oa,this.u,d);this.w.init(jU("preskip-component"),a,c);tZ(this.w);g.H(this,this.w);this.w.ba(this.element);g.R(this.api.N().experiments,
"enable_pubsub_for_skip_transition_bulleit")&&this.w.subscribe("t",this.mM,this)}else b.skipOffsetMilliseconds&&(this.C=b.skipOffsetMilliseconds);b=b&&b.skippableRenderer&&b.skippableRenderer.skipButtonRenderer||{};b=g.ac(b)?null:b;null==b?g.N(Error("SkipButtonRenderer was not set in player response.")):(this.A=new wZ(this.api,this.oa,this.u),this.A.init(jU("skip-button"),b,c),g.H(this,this.A),this.A.ba(this.element),this.show())};
g.h.show=function(){this.H&&this.A?this.A.show():this.w&&this.w.show();nZ(this);mZ.prototype.show.call(this)};
g.h.ri=function(){};
g.h.clear=function(){this.w&&this.w.clear();this.A&&this.A.clear();oZ(this);mZ.prototype.hide.call(this)};
g.h.hide=function(){this.w&&this.w.hide();this.A&&this.A.hide();oZ(this);mZ.prototype.hide.call(this)};
g.h.mM=function(){XZ(this,!0)};
g.h.kh=function(){g.R(this.api.N().experiments,"enable_pubsub_for_skip_transition_bulleit")?this.w||1E3*this.u.getProgressState().current>=this.C&&XZ(this,!0):1E3*this.u.getProgressState().current>=this.C&&XZ(this,!0)};g.r(YZ,Z);YZ.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.skipAd&&(a=b.skipAd,a.skipAdRenderer&&(b=new WZ(this.api,this.oa,this.u),b.ba(this.w),b.init(jU("skip-button"),a.skipAdRenderer,this.macros),g.H(this,b)));this.show()};g.r(ZZ,mZ);g.h=ZZ.prototype;g.h.init=function(a,b,c){mZ.prototype.init.call(this,a,b,c);if(b.templatedCountdown){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.Go(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.w=new qZ(this.api,this.oa);this.w.init(jU("ad-text"),a,{});this.w.ba(this.element);g.H(this,this.w)}this.show()};
g.h.clear=function(){this.hide()};
g.h.hide=function(){oZ(this);mZ.prototype.hide.call(this)};
g.h.ri=function(){this.hide()};
g.h.kh=function(){if(null!=this.u){var a=this.u.getProgressState();if(null!=a&&null!=a.current&&this.w){a=(this.u instanceof xZ?a.seekableEnd:this.api.getDuration(2,g.R(this.api.N().experiments,"halftime_ux_killswitch")?void 0:!1))-a.current;var b=g.$L(a);rZ(this.w,{FORMATTED_AD_DURATION_REMAINING:String(b),TIME_REMAINING:String(Math.ceil(a))})}}};
g.h.show=function(){nZ(this);mZ.prototype.show.call(this)};g.r($Z,qZ);$Z.prototype.onClick=function(a){qZ.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};g.r(a_,mZ);g.h=a_.prototype;
g.h.init=function(a,b,c){mZ.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.zb(g.fd(d[0].url))&&(d[0].url=a.Qd)}else Dp(Error("FlyoutCtaRenderer does not have image.thumbnail."));this.H.init(jU("ad-image"),b.image,c);this.C.init(jU("ad-text"),
b.headline,c);this.A.init(jU("ad-text"),b.description,c);this.w.init(jU("button"),b.actionButton.buttonRenderer,c);this.J=b.actionButton.buttonRenderer.navigationEndpoint;this.show();this.U=b.startMs||0;nZ(this)}else Cp(Error("FlyoutCtaRenderer has no valid action button."));else Cp(Error("FlyoutCtaRenderer has no description AdText."));else Cp(Error("FlyoutCtaRenderer has no headline AdText."));else Dp(Error("FlyoutCtaRenderer has no image."))};
g.h.onClick=function(a){mZ.prototype.onClick.call(this,a);this.api.pauseVideo();!g.ce(this.w.element,a.target)&&this.J&&this.oa.executeCommand(this.J,this.macros)};
g.h.kh=function(){if(this.u){var a=this.u.getProgressState();a&&a.current&&1E3*a.current>=this.U&&(oZ(this),g.Kn(this.element,"ytp-flyout-cta-inactive"))}};
g.h.ri=function(){this.clear()};
g.h.clear=function(){this.hide()};
g.h.show=function(){this.w&&this.w.show();mZ.prototype.show.call(this)};
g.h.hide=function(){this.w&&this.w.hide();mZ.prototype.hide.call(this)};g.r(b_,Z);g.h=b_.prototype;
g.h.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=b;if(null==b.defaultText&&null==b.defaultIcon)g.N(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.N(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.K(this.A,a)}a={};b.defaultText?
(c=g.gA(b.defaultText),g.zb(c)||(a.buttonText=c,this.u.setAttribute("aria-label",c))):g.Oh(this.V,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.u.hasAttribute("aria-label")||this.U.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=kZ(b.defaultIcon),this.ha("untoggledIconTemplateSpec",c),b.toggledIcon?(this.H=!0,c=kZ(b.toggledIcon),this.ha("toggledIconTemplateSpec",c)):(g.Oh(this.C,!0),g.Oh(this.B,!1)),g.Oh(this.u,!1)):g.Oh(this.U,!1);g.ac(a)||this.update(a);b.isToggled&&(g.K(this.A,
"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));c_(this);this.J=this.L(this.element,"change",this.Zz);g.R(this.api.N().experiments,"bulleit_use_touch_events_for_magpie")&&UX(this,this.J);this.show()}};
g.h.onClick=function(a){0<this.S.length&&(this.toggleButton(!this.isToggled()),this.Zz());Z.prototype.onClick.call(this,a)};
g.h.Zz=function(){var a=this;g.L(this.A,"ytp-ad-toggle-button-toggled",this.isToggled());fna(this,this.isToggled()).forEach(function(b){return a.oa.executeCommand(b,a.macros)});
if(this.isToggled())this.api.onAdUxClicked("toggle-button");c_(this)};
g.h.clear=function(){this.hide()};
g.h.toggleButton=function(a){g.L(this.A,"ytp-ad-toggle-button-toggled",a);this.u.checked=a;c_(this)};
g.h.isToggled=function(){return this.u.checked};g.r(d_,Z);g.h=d_.prototype;g.h.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.u=b;this.u.rectangle&&(gna(this,c),g.R(this.api.N().experiments,"bulleit_use_touch_events_for_magpie")&&UX(this,this.C),this.B.show(100),this.show(),(this.u&&this.u.impressionCommands||[]).forEach(function(e){return d.oa.executeCommand(e,d.macros)}))};
g.h.clear=function(){this.hide()};
g.h.hide=function(){this.A.hide();this.w.hide();Z.prototype.hide.call(this)};
g.h.show=function(){this.A.show();this.w.show();Z.prototype.show.call(this)};
g.h.aA=function(){var a=this.element,b=!g.In(a,"ytp-ad-instream-user-sentiment-selected");g.L(a,"ytp-ad-instream-user-sentiment-selected",b);this.u.postMessageAction&&this.api.ka("onYtShowToast",this.u.postMessageAction);this.B.hide()};
g.h.onClick=function(a){0<this.S.length&&this.aA();Z.prototype.onClick.call(this,a)};g.r(e_,lZ);
e_.prototype.init=function(a,b,c){lZ.prototype.init.call(this,a,b,c);a=!1;null!=b.text&&(a=g.gA(b.text),a=!g.zb(a));a?null==b.navigationEndpoint?g.Go(Error("No visit advertiser clickthrough provided in renderer,")):"STYLE_UNKNOWN"!==b.style?g.Go(Error("Button style was not a link-style type in renderer,")):(g.R(this.api.N().experiments,"bulleit_use_touch_events_for_visit_advertiser")&&UX(this),this.show(),b=this.api.N().experiments,g.R(b,"enable_visibility_check_for_visit_advertiser_in_bulleit")&&(this.A=
vZ(this.element,"visit_advertiser",g.S(b,"visibility_error_html_dump_sample_rate")))):g.Go(Error("No visit advertiser text was present in the renderer."))};
e_.prototype.hide=function(){lZ.prototype.hide.call(this);this.A&&(this.A(),this.A=null)};g.r(f_,Z);f_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);a=b.text;g.zb(QX(a))?g.Go(Error("SimpleAdBadgeRenderer has invalid or empty text")):(a&&a.text&&(b=a.text,this.u&&(b=this.api.N(),b=a.text+" "+(b&&b.o?"\u2022":"\u00b7")),b={text:b,isTemplated:a.isTemplated},a.style&&(b.style=a.style),a=new qZ(this.api,this.oa),a.init(jU("simple-ad-badge"),b,c),a.ba(this.element),g.H(this,a)),this.show())};
f_.prototype.clear=function(){this.hide()};g.r(h_,Z);
h_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(a=b.skipOrPreviewRenderer,a.skipAdRenderer?(c=new WZ(this.api,this.oa,this.u),c.ba(this.B),c.init(jU("skip-button"),a.skipAdRenderer,this.macros),g.H(this,c)):a.adPreviewRenderer&&(c=new sZ(this.api,this.oa,this.u,!1),c.ba(this.B),c.init(jU("ad-preview"),a.adPreviewRenderer,this.macros),tZ(c),g.H(this,c)));b.brandInteractionRenderer&&(a=b.brandInteractionRenderer.brandInteractionRenderer,c=new d_(this.api,this.oa),
c.ba(this.H),c.init(jU("instream-user-sentiment"),a,this.macros),g.H(this,c));b.flyoutCtaRenderer&&(a=b.flyoutCtaRenderer,a.flyoutCtaRenderer&&(c=new a_(this.api,this.oa,this.u),g.H(this,c),c.ba(this.C),c.init(jU("flyout-cta"),a.flyoutCtaRenderer,this.macros)));b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a={text:{text:"Reklam",isTemplated:!1}}),c=new f_(this.api,this.oa,!0),g.H(this,c),c.ba(this.w),c.init(jU("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 ZZ(this.api,this.oa,this.u),g.H(this,c),c.ba(this.w),c.init(jU("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&&(a=b.adInfoRenderer,a.adHoverTextButtonRenderer&&(c=new KZ(this.api,this.oa,this.element),g.H(this,c),c.ba(this.w),c.init(jU("ad-info-hover-text-button"),a.adHoverTextButtonRenderer,this.macros)));b.visitAdvertiserRenderer&&
(b=b.visitAdvertiserRenderer,b.buttonRenderer&&(a=g_(this)&&this.A?this.A:this.w))&&(c=new e_(this.api,this.oa),g.H(this,c),c.ba(a),c.init(jU("visit-advertiser"),b.buttonRenderer,this.macros));(b=this.api.N())&&!zx(b)&&"3"==b.controlsType&&(b=new bQ(this.api,this.u),b.ba(this.J),g.H(this,b));this.show()};
h_.prototype.clear=function(){this.hide()};g.r(i_,Z);
i_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.toggledLoggingParams&&(this.A=b.toggledLoggingParams);b.answer&&b.answer.buttonRenderer?(a=new lZ(this.api,this.oa,["ytp-ad-survey-answer-button"],"survey-single-select-answer-button"),a.ba(this.w),a.init(jU("ytp-ad-survey-answer-button"),b.answer.buttonRenderer,c),a.show()):b.answer&&b.answer.toggleButtonRenderer&&(this.u=new b_(this.api,this.oa,["ytp-ad-survey-answer-toggle-button"]),this.u.ba(this.w),g.H(this,this.u),this.u.init(jU("survey-answer-button"),
b.answer.toggleButtonRenderer,c));this.show()};
i_.prototype.clear=function(){this.hide()};g.r(j_,Z);j_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);b.answer&&b.answer.toggleButtonRenderer&&(this.u=new b_(this.api,this.oa,["ytp-ad-survey-answer-toggle-button","ytp-ad-survey-none-of-the-above-button"]),this.u.ba(this.w),this.u.init(jU("survey-none-of-the-above-button"),b.answer.toggleButtonRenderer,c));this.show()};g.r(k_,lZ);k_.prototype.init=function(a,b,c){lZ.prototype.init.call(this,a,b,c);a=!1;b.text&&(b=g.gA(b.text),a=!g.zb(b));a||g.Go(Error("No submit text was present in the renderer."))};
k_.prototype.onClick=function(a){this.R("C");lZ.prototype.onClick.call(this,a)};g.r(l_,Z);
l_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);this.w=c;if(a=b.skipOrPreviewRenderer)a.skipAdRenderer?(a=a.skipAdRenderer,c=new WZ(this.api,this.oa,this.B),c.ba(this.H),c.init(jU("skip-button"),a,this.w),g.H(this,c),this.u=c):a.adPreviewRenderer&&(a=a.adPreviewRenderer,c=new sZ(this.api,this.oa,this.B,!1),c.ba(this.H),c.init(jU("ad-preview"),a,this.w),tZ(c),g.H(this,c),this.u=c);null==this.u&&g.N(Error("ISAPOR.skipOrPreviewRenderer was not initialized properly.ISAPOR: "+JSON.stringify(b)));
b.submitButton&&(a=b.submitButton,a.buttonRenderer&&(a=a.buttonRenderer,c=new k_(this.api,this.oa),c.ba(this.J),c.init(jU("survey-submit"),a,this.w),g.H(this,c),this.A=c));if(a=b.adBadgeRenderer)a=a.simpleAdBadgeRenderer,c=new f_(this.api,this.oa,!0),c.ba(this.C),c.init(jU("simple-ad-badge"),a,this.w),g.H(this,c);if(a=b.adDurationRemaining)a=a.adDurationRemainingRenderer,c=new ZZ(this.api,this.oa,this.B),c.ba(this.C),c.init(jU("ad-duration-remaining"),a,this.w),g.H(this,c);(b=b.adInfoRenderer)&&b.adHoverTextButtonRenderer&&
(a=new KZ(this.api,this.oa,this.element),g.H(this,a),a.ba(this.C),a.init(jU("ad-info-hover-text-button"),b.adHoverTextButtonRenderer,this.macros));this.show()};
l_.prototype.clear=function(){this.hide()};g.r(m_,Z);m_.prototype.init=function(a,b,c){Z.prototype.init.call(this,a,b,c);ina(this)};
m_.prototype.show=function(){this.B=(0,g.I)();Z.prototype.show.call(this)};
m_.prototype.HB=function(){};g.r(p_,m_);g.h=p_.prototype;g.h.init=function(a,b,c){var d=this;m_.prototype.init.call(this,a,b,c);b.questionText&&g.de(this.U,g.gA(b.questionText));b.answers&&b.answers.forEach(function(e){e.instreamSurveyAdAnswerRenderer&&n_(d,e.instreamSurveyAdAnswerRenderer,c)});
this.H=new Set(this.A.map(function(e){return e.u.u}));
(a=b.noneOfTheAbove)&&(a=a.instreamSurveyAdAnswerNoneOfTheAboveRenderer)&&jna(this,a,c);b.surveyAdQuestionCommon?o_(this,b.surveyAdQuestionCommon):g.N(Error("SurveyAdQuestionCommon was not sent.MultiSelectQuestionRenderer: "+JSON.stringify(b)));b.submitEndpoints&&(this.V=b.submitEndpoints);this.L(this.element,"change",this.HJ);this.show()};
g.h.HB=function(){q_(this,!1);this.C.A.subscribe("C",this.mN,this)};
g.h.HJ=function(a){a.target==this.w.u.u?kna(this):this.H.has(a.target)&&(this.w.u.toggleButton(!1),q_(this,!0))};
g.h.mN=function(){var a=this,b=this.A.reduce(function(d,e){var f=e.A;e.u&&e.u.isToggled()&&f&&d.push(f);return d},[]).join("&"),c=this.V.map(function(d){if(!d.loggingUrls)return d;
d=g.ec(d);d.loggingUrls=d.loggingUrls.map(function(e){e.baseUrl&&(e.baseUrl=fh(e.baseUrl,b));return e});
return d});
c&&c.forEach(function(d){return a.oa.executeCommand(d,a.macros)})};
g.h.clear=function(){g.R(this.api.N().experiments,"enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.r(r_,m_);r_.prototype.init=function(a,b,c){var d=this;m_.prototype.init.call(this,a,b,c);b.questionText&&g.de(this.U,g.gA(b.questionText));b.answers&&b.answers.forEach(function(e){e.instreamSurveyAdAnswerRenderer&&n_(d,e.instreamSurveyAdAnswerRenderer,c)});
b.surveyAdQuestionCommon?o_(this,b.surveyAdQuestionCommon):g.N(Error("SurveyAdQuestionCommon was not sent.SingleSelectQuestionRenderer: "+JSON.stringify(b)));this.show()};
r_.prototype.clear=function(){g.R(this.api.N().experiments,"enable_hide_on_clear_in_survey_question_bulleit")?this.hide():this.dispose()};g.r(s_,Z);
s_.prototype.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);b.questions.forEach(function(e){if(e.instreamSurveyAdSingleSelectQuestionRenderer){e=e.instreamSurveyAdSingleSelectQuestionRenderer;var f=new r_(d.api,d.oa);f.ba(d.u);f.init(jU("survey-question-single-select"),e,c);d.w.push(f);g.H(d,f)}else e.instreamSurveyAdMultiSelectQuestionRenderer&&(e=e.instreamSurveyAdMultiSelectQuestionRenderer,f=new p_(d.api,d.oa),f.ba(d.u),f.init(jU("survey-question-multi-select"),e,c),d.w.push(f),
g.H(d,f))});
this.show()};
s_.prototype.clear=function(){g.R(this.api.N().experiments,"enable_hide_on_clear_in_survey_question_bulleit")?this.hide():(this.hide(),this.dispose())};g.r(t_,Z);
t_.prototype.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);a=b.timeoutSeconds||0;if("number"!==typeof a||0>a)g.N(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){u_(this.B,b.backgroundImage.thumbnailLandscapePortraitRenderer.landscape);u_(this.H,
b.brandImage);g.de(this.J,g.gA(b.text));this.u=new lZ(this.api,this.oa,["ytp-ad-survey-interstitial-action-button"]);g.H(this,this.u);this.u.ba(this.C);this.u.init(jU("button"),b.ctaButton.buttonRenderer,c);this.u.show();var e=b.timeoutCommands;this.A=new xZ(1E3*a);this.A.subscribe("a",function(){d.w.hide();e.forEach(function(f){return d.oa.executeCommand(f,c)});
d.oa.executeCommand({adLifecycleCommand:{action:"END_LINEAR_AD"}},c)});
g.H(this,this.A);this.L(this.element,"click",function(f){return mna(d,f,b)});
this.w.show(100);b.impressionCommands&&b.impressionCommands.forEach(function(f){return d.oa.executeCommand(f,c)})}else g.N(Error("SurveyTextInterstitialRenderer has no landscape background image."));
else g.N(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.N(Error("SurveyTextInterstitialRenderer has no button."));else g.N(Error("SurveyTextInterstitialRenderer has no text."));else g.N(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))};
t_.prototype.clear=function(){this.hide()};
t_.prototype.show=function(){v_(!0);Z.prototype.show.call(this)};
t_.prototype.hide=function(){v_(!1);Z.prototype.hide.call(this)};g.r(w_,Z);g.h=w_.prototype;
g.h.init=function(a,b,c){var d=this;Z.prototype.init.call(this,a,b,c);this.u&&(this.u.cancel(),this.u=null);this.u=new cf(g.Ia);b.bannerImage?b.iconImage?b.headline?b.description?b.actionButton&&b.actionButton.buttonRenderer?b.navigationEndpoint?(b.adInfoRenderer&&b.adInfoRenderer.adHoverTextButtonRenderer?this.B.init(jU("watch-ad-info-hover-button"),b.adInfoRenderer.adHoverTextButtonRenderer,c):g.N(Error("ActionCompanionAdRenderer has no ad info renderer.")),this.A.init(jU("ad-image"),b.bannerImage,
c),this.ea.init(jU("ad-image"),b.iconImage,c),this.J.init(jU("ad-text"),b.headline,c),this.C.init(jU("ad-text"),b.description,c),this.w.init(jU("button"),b.actionButton.buttonRenderer,c),g.de(this.o["yt-badge-ad"],"Reklam"),this.Z=b.impressionCommands||[],this.U=b.navigationEndpoint,this.H.L(this.element,"click",this.PL,this),Promise.race([this.u,this.ga.showCompanion(this.element,300,250)]).then(function(){return d.show()})):g.N(Error("ActionCompanionAdRenderer has no navigation endpoint.")):g.N(Error("ActionCompanionAdRenderer has no button.")):
g.N(Error("ActionCompanionAdRenderer has no description string.")):g.N(Error("ActionCompanionAdRenderer has no headline string.")):g.N(Error("ActionCompanionAdRenderer has no icon image.")):g.N(Error("ActionCompanionAdRenderer has no banner image."))};
g.h.clear=function(){g.vr(this.H);this.hide()};
g.h.show=function(){var a=this;this.w.show();Z.prototype.show.call(this);this.Z.forEach(function(b){return a.oa.executeCommand(b,a.macros)})};
g.h.hide=function(){this.w.hide();Z.prototype.hide.call(this)};
g.h.PL=function(a){a=a.target;g.ce(this.B.element,a)||(this.U&&!g.ce(this.w.element,a)&&this.oa.executeCommand(this.U,this.macros),this.api.onAdUxClicked("action-companion"),this.api.pauseVideo())};
g.h.Y=function(){this.u&&(this.u.cancel(),this.u=null);Z.prototype.Y.call(this)};g.r(x_,g.V);x_.prototype.clear=function(){for(var a=g.q(this.Ga),b=a.next();!b.done;b=a.next())g.me(b.value);this.Ga=[]};
x_.prototype.F=function(a){g.Lq(a);this.u=Math.max(0,this.u-y_(this));z_(this)};
x_.prototype.C=function(a){g.Lq(a);this.u=Math.min(this.Ga.length-1,this.u+y_(this));z_(this)};
x_.prototype.Y=function(){this.clear();g.V.prototype.Y.call(this)};g.r(A_,$X);g.h=A_.prototype;g.h.ib=function(){return this.o.element};
g.h.Im=function(a){var b=this.o,c=new g.V({D:"li",I:"ad-carousel-listitem",K:[{D:"div",I:"ad-carousel-item"}]});c.o["ad-carousel-item"].appendChild(a);b.Ga.push(c);b.B.appendChild(c.element)};
g.h.show=function(){this.o.show()};
g.h.hide=function(){this.o.hide()};
g.h.clear=function(){this.o.clear()};var qna={KP:"adinfoclick",WR:"offerclick",XR:"offernavclick"};g.r(B_,$X);B_.prototype.show=function(){this.u.show()};
B_.prototype.hide=function(){this.u.hide()};
B_.prototype.ib=function(){return this.u.element};var ona={Xp:B_};g.r(D_,aY);
D_.prototype.B=function(a){var b=this.view;a=a.renderer;this.u=a.clickthroughEndpoint||null;var c=a.headline||null;C_(b.w,"headline",c);C_(b.o,"headline",c);c=a.merchant||null;C_(b.A,"merchant",c);C_(b.w,"merchant",c);C_(b.o,"merchant",c);c=a.priceText||null;C_(b.A,"price",c);C_(b.w,"price",c);C_(b.o,"price",c);c=(c=a.image&&0<a.image.thumbnails.length?a.image.thumbnails[0].url||null:null)?{D:"img",M:{src:c}}:null;b.A.ha("image",c);b.o.ha("image",c);a.rating?(c=a.reviewText||null,g.Lh(b.B.element,
Math.floor(100*a.rating/5)+"%"),C_(b.B,"reviewText",c),b.w.ha("review",b.B),b.o.ha("review",b.B)):(b.w.ha("review",null),b.o.ha("review",null));this.show();return Promise.resolve()};
D_.prototype.G=function(a){switch(void 0===a.type?void 0:a.type){case "offernavclick":this.u&&this.executeCommand(this.u)}};g.r(E_,g.B);E_.prototype.Y=function(){this.B&&g.Po(this.B);this.o&&(this.o.cancel(),this.o=null);this.u&&(this.u.cancel(),this.u=null);this.A&&(this.A.cancel(),this.A=null);this.w&&(this.w.stop(),this.w=null);g.B.prototype.Y.call(this)};g.r(H_,$X);H_.prototype.ib=function(){return this.o.element};
H_.prototype.show=function(){this.o.show()};
H_.prototype.hide=function(){this.o.hide()};
H_.prototype.Y=function(){sna(this.u);$X.prototype.Y.call(this)};var I_={aD:hY,CD:H_,Wp:D_,Tp:A_};g.r(J_,aY);
J_.prototype.B=function(a){var b=this;this.u&&(this.u.cancel(),this.u=null);this.u=new cf(g.Ia);return Promise.race([this.u,this.view.A]).then(function(){var c=a.renderer,d=b.view,e=c.shopText||null;e=e?ZX(e):null;d.o.ha("shopText",e);e=(e=c.sponsoredText||null)?ZX(e):null;d.o.ha("sponsoredText",e);c.adInfoButton?b.C.bind({renderer:c.adInfoButton.buttonRenderer.navigationEndpoint.adInfoDialogEndpoint.dialog.adInfoDialogRenderer,macros:b.macros}):b.C.bind({renderer:{dialogMessage:c.adInfoText},macros:b.macros});
c=c.itemList.horizontalListRenderer||null;g.ne(b.F);b.F=[];b.w.clear();c=g.q(c&&c.items||[]);for(d=c.next();!d.done;d=c.next())d=d.value.plaShelfItemRenderer,e=new I_.Wp(b.o,b.A),b.F.push(e),b.w.append(e.view),e.bind({renderer:d,macros:b.macros});z_(b.w.o);vna(b);b.show()})};
J_.prototype.S=function(){z_(this.w.o)};
J_.prototype.G=function(a){"adinfoclick"==a.type&&this.C.show()};
J_.prototype.Y=function(){this.u&&(this.u.cancel(),this.u=null);g.ne(this.F);this.F=[];aY.prototype.Y.call(this)};g.r(K_,$X);g.h=K_.prototype;g.h.ib=function(){return this.o.element};
g.h.Im=function(a){this.A++;this.F.appendChild(a);L_(this)};
g.h.show=function(){this.o.show()};
g.h.hide=function(){this.o.hide()};
g.h.clear=function(){this.A=0;g.Yd(this.F)};
g.h.scrollLeft=function(){this.u=Math.max(0,this.u-1);L_(this)};
g.h.Y=function(){$X.prototype.Y.call(this)};g.r(M_,$X);g.h=M_.prototype;g.h.ib=function(){return this.o.element};
g.h.show=function(){this.o.show()};
g.h.hide=function(){this.o.hide()};
g.h.Im=function(a){this.o.ub(a)};
g.h.Y=function(){$X.prototype.Y.call(this);g.me(this.u)};g.r(N_,$X);N_.prototype.show=function(){this.o.show()};
N_.prototype.hide=function(){this.o.hide()};
N_.prototype.ib=function(){return this.o.element};var yna={Xp:N_};g.r(O_,aY);O_.prototype.B=function(a){var b=this.view;a=a.renderer;this.u=a.clickthroughEndpoint||null;var c=a.headline||null;c&&g.de(b.o.o["iv-cards-slider-text"],g.gA(c));(c=a.priceText||null)&&g.de(b.o.o["iv-cards-slider-action"],g.gA(c));a=a.image&&0<a.image.thumbnails.length?a.image.thumbnails[0].url||null:null;b.o.ha("image",a?{D:"img",M:{src:a}}:null);this.show();return Promise.resolve()};
O_.prototype.G=function(){this.u&&this.executeCommand(this.u)};var P_={jD:M_,Wp:O_,Tp:K_};g.r(Q_,aY);
Q_.prototype.B=function(a){var b=this;this.w&&(this.w.cancel(),this.w=null);this.w=new cf(g.Ia);return Promise.race([this.w,this.view.w]).then(function(){var c=a.renderer;b.S=c.clickTrackingEndpoints||[];b.P=c.clickToAdvSiteEndpoint||null;var d=b.view,e=c.adBadgeText||null;e&&g.de(d.o.o["yt-badge-ad"],g.gA(e));(e=c.shopText||null)&&g.de(d.o.o["ad-companion-clickthrough"],g.gA(e));c.adInfoRenderer&&c.adInfoRenderer.adHoverTextButtonRenderer?b.F.init(jU("watch-ad-info-hover-button"),c.adInfoRenderer.adHoverTextButtonRenderer,
b.macros):g.N(Error("ShoppingCompanionCarouselRenderer has no ad info renderer."));c=c.itemList.horizontalListRenderer||null;g.ne(b.C);b.C=[];b.u.clear();c=g.q(c&&c.items||[]);for(d=c.next();!d.done;d=c.next())d=d.value.shoppingCompanionCarouselItemRenderer,e=new P_.Wp(b.o,b.A),b.C.push(e),b.u.append(e.view),e.bind({renderer:d,macros:b.macros});b.show()})};
Q_.prototype.G=function(a){switch(void 0===a.type?void 0:a.type){case "companionclick":cY(this,this.S);this.o.onAdUxClicked("shopping-companion");this.o.pauseVideo();break;case "nextbuttonclick":a=this.u;a.u=Math.min(a.A-3,a.u+1);L_(a);break;case "prevbuttonclick":this.u.scrollLeft();break;case "shoptextclick":this.P&&this.executeCommand(this.P)}};
Q_.prototype.Y=function(){this.w&&(this.w.cancel(),this.w=null);g.ne(this.C);this.C=[];aY.prototype.Y.call(this)};g.r(S_,g.P);S_.prototype.F=function(a){if(Array.isArray(a)){a=g.q(a);for(var b=a.next();!b.done;b=a.next())b=b.value,b instanceof lU&&this.w(b)}};var yqa=["pla-shelf","shopping-companion","action-companion"];g.r(T_,S_);T_.prototype.w=function(a){var b=a.id,c=a.content,d=c.componentType;if(yqa.includes(d)){var e=this.A();switch(a.actionType){case 1:if(this.u.has(b))break;a=R_(d,this.o,e);if(!a){g.Go(Error("Unable to create component with type: "+d));break}this.u.set(b,a);case 2:b=this.u.get(b);if(!b)break;b.bind(c);break;case 3:if(c=this.u.get(b))c.dispose(),this.u["delete"](b)}}};
T_.prototype.Y=function(){g.ne([].concat(g.na(this.u.values())))};g.r(U_,kU);g.r(V_,S_);
V_.prototype.w=function(a){var b=a.content;switch(b.componentType){case "pla-shelf":switch(a.actionType){case 1:case 2:this.o.ka("onPlaShelfInfoCardsReady",{renderer:b.renderer,macros:b.macros});break;case 3:this.o.ka("onPlaShelfInfoCardsReady",{})}break;case "shopping-companion":switch(a.actionType){case 1:case 2:a=this.o.getVideoData(1);this.o.ka("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,shoppingCompanionCarouselRenderer:b.renderer,macros:b.macros});break;case 3:this.o.ka("updateKevlarOrC3Companion",{})}break;
case "action-companion":switch(a.actionType){case 1:case 2:a=this.o.getVideoData(1);this.o.ka("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,actionCompanionAdRenderer:b.renderer,macros:b.macros});break;case 3:this.o.ka("updateKevlarOrC3Companion",{})}break;case "image-companion":switch(a.actionType){case 1:case 2:a=this.o.getVideoData(1);this.o.ka("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,imageCompanionAdRenderer:b.renderer,macros:b.macros});break;case 3:this.o.ka("updateKevlarOrC3Companion",
{})}break;case "ads-engagement-panel":switch(a.actionType){case 1:case 2:this.o.ka("updateEngagementPanelAction",b.renderer.addAction);this.o.ka("changeEngagementPanelVisibility",b.renderer.expandAction);break;case 3:this.o.ka("changeEngagementPanelVisibility",b.renderer.hideAction),this.o.ka("updateEngagementPanelAction",b.renderer.removeAction)}}};var zqa="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat(["pla-shelf","shopping-companion","action-companion","image-companion","ads-engagement-panel"]);g.r(W_,S_);
W_.prototype.w=function(a){var b=a.id,c=a.content;if(c){var d=c.componentType;if(!zqa.includes(d))switch(a.actionType){case 1:a=this.C();a=R_(d,this.A,a);if(!a){g.Go(Error("No UI component returned from ComponentFactory for type: "+d));break}Xb(this.u,b)?g.Go(Error("Ad UI component already registered: "+b)):this.u[b]=a;a.bind(c);this.B.append(a.za);break;case 2:b=X_(this,a);if(null==b)break;b.bind(c);break;case 3:c=X_(this,a),null!=c&&(g.me(c),Xb(this.u,b)?(c=this.u,b in c&&delete c[b]):g.Go(Error("Ad UI component does not exist: "+
b)))}}};
W_.prototype.Y=function(){g.ne(Object.values(this.u));this.u={};S_.prototype.Y.call(this)};g.r(Z_,g.B);Z_.prototype.logEvent=function(a){b0(this,a)};
var Fna=new Map([["slot_type_in_player","SLOT_TYPE_IN_PLAYER"],["slot_type_above_feed","SLOT_TYPE_ABOVE_FEED"],["slot_type_below_player","SLOT_TYPE_BELOW_PLAYER"],["slot_type_player_bytes","SLOT_TYPE_PLAYER_BYTES"],["slot_type_forecasting","SLOT_TYPE_FORECASTING"]]),Bna=new Map([["layout_type_media_layout_player_overlay","LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY"],["layout_type_companion_with_action_button","LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON"],["layout_type_companion_with_image","LAYOUT_TYPE_COMPANION_WITH_IMAGE"],
["layout_type_companion_with_shopping","LAYOUT_TYPE_COMPANION_WITH_SHOPPING"],["layout_type_media","LAYOUT_TYPE_MEDIA"],["layout_type_composite_player_bytes","LAYOUT_TYPE_COMPOSITE_PLAYER_BYTES"],["layout_type_forecasting","LAYOUT_TYPE_FORECASTING"]]),Cna=new Map([["trigger_type_on_new_playback_after_content_video_id","TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID"],["trigger_type_slot_id_entered","TRIGGER_TYPE_SLOT_ID_ENTERED"],["trigger_type_slot_id_exited","TRIGGER_TYPE_SLOT_ID_EXITED"],
["trigger_type_slot_id_exited","TRIGGER_TYPE_SLOT_ID_EXITED"],["trigger_type_slot_id_scheduled","TRIGGER_TYPE_SLOT_ID_SCHEDULED"],["trigger_type_layout_id_entered","TRIGGER_TYPE_LAYOUT_ID_ENTERED"],["trigger_type_on_different_layout_id_entered","TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED"],["trigger_type_layout_id_exited","TRIGGER_TYPE_LAYOUT_ID_EXITED"],["trigger_type_on_layout_self_exit_requested","TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED"],["trigger_type_on_element_self_enter_requested","TRIGGER_TYPE_SLOT_ID_ENTERED"],
["trigger_type_before_content_video_id_started","TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED"],["trigger_type_after_content_video_id_ended","TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED"],["trigger_type_media_time_range","TRIGGER_TYPE_MEDIA_TIME_RANGE"],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED","TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED","TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED"]]),Dna=new Map([["trigger_category_slot_entry","TRIGGER_CATEGORY_SLOT_ENTRY"],["trigger_category_slot_fulfillment",
"TRIGGER_CATEGORY_SLOT_FULFILLMENT"],["trigger_category_slot_expiration","TRIGGER_CATEGORY_SLOT_EXPIRATION"],["trigger_category_layout_exit_normal","TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL"],["trigger_category_layout_exit_skip","TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED"],["trigger_category_layout_exit_mute","TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED"]]),f0=new Map([["unspecified","CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"],["core","CONTROL_FLOW_MANAGER_LAYER_CORE"],["adapter","CONTROL_FLOW_MANAGER_LAYER_ADAPTER"],
["surface","CONTROL_FLOW_MANAGER_LAYER_SURFACE"],["external","CONTROL_FLOW_MANAGER_LAYER_EXTERNAL"]]),$_=new Map([["normal",{bp:"ADS_CLIENT_EVENT_TYPE_NORMAL_EXIT_LAYOUT_REQUESTED",rp:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_NORMALLY"}],["skipped",{bp:"ADS_CLIENT_EVENT_TYPE_SKIP_EXIT_LAYOUT_REQUESTED",rp:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_SKIP"}],["muted",{bp:"ADS_CLIENT_EVENT_TYPE_MUTE_EXIT_LAYOUT_REQUESTED",rp:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_MUTE"}],["abandoned",{bp:"ADS_CLIENT_EVENT_TYPE_ABANDON_EXIT_LAYOUT_REQUESTED",
rp:"ADS_CLIENT_EVENT_TYPE_LAYOUT_EXITED_ABANDON"}]]);g.r(Hna,g.B);z0.prototype.isActive=function(){switch(this.o){case "entered":case "rendering":case "rendering_stop_requested":case "exit_requested":return!0;default:return!1}};
z0.prototype.Ur=function(){switch(this.A){case "fill_requested":return!0;default:return!1}};
z0.prototype.Tr=function(){switch(this.o){case "exit_requested":return!0;default:return!1}};
z0.prototype.Pr=function(){switch(this.o){case "rendering_stop_requested":return!0;default:return!1}};g.r(l0,Ua);g.r(v0,Ua);g.r(A0,g.B);g.h=A0.prototype;g.h.xk=function(a){a=j0(this,a);a.A="fill_requested";a.C.xk()};
g.h.Li=function(a){j0(this,a).Li=!0};
g.h.Ur=function(a){return j0(this,a).Ur()};
g.h.Tr=function(a){return j0(this,a).Tr()};
g.h.Pr=function(a){return j0(this,a).Pr()};C0.prototype.get=function(){return this.value};
g.r(D0,C0);D0.prototype.o=function(){return"metadata_type_action_companion_ad_renderer"};
g.r(E0,C0);E0.prototype.o=function(){return"metadata_type_image_companion_ad_renderer"};
g.r(F0,C0);F0.prototype.o=function(){return"metadata_type_shopping_companion_carousel_renderer"};
g.r(G0,C0);G0.prototype.o=function(){return"metadata_type_ad_placement_config"};
g.r(H0,C0);H0.prototype.o=function(){return"metadata_type_ad_video_id"};
g.r(I0,C0);I0.prototype.o=function(){return"metadata_type_content_cpn"};
g.r(J0,C0);J0.prototype.o=function(){return"metadata_type_instream_ad_player_overlay_renderer"};
g.r(K0,C0);K0.prototype.o=function(){return"metadata_type_linked_player_bytes_layout_id"};
g.r(L0,C0);L0.prototype.o=function(){return"metadata_type_player_bytes_callback"};
g.r(M0,C0);M0.prototype.o=function(){return"metadata_type_get_ad_break_url"};
g.r(N0,C0);N0.prototype.o=function(){return"metadata_type_sub_layouts"};
g.r(O0,C0);O0.prototype.o=function(){return"metadata_type_cue_point"};
g.r(P0,C0);P0.prototype.o=function(){return"metadata_type_video_length_seconds"};
g.r(Q0,C0);Q0.prototype.o=function(){return"metadata_type_player_vars"};
g.r(R0,C0);R0.prototype.o=function(){return"metadata_type_layout_enter_ms"};
g.r(S0,C0);S0.prototype.o=function(){return"metadata_type_client_forecasting_ad_renderer"};
g.r(T0,C0);T0.prototype.o=function(){return"metadata_type_fulfilled_layout"};U0.prototype.xk=function(){q0(this.ab,this.slot,e1(this.slot.Za,"metadata_type_fulfilled_layout"))};
U0.prototype.o=function(){var a=this.ab,b=this.slot,c=new v0("Got CancelSlotFulfilling request for "+this.slot.bb+" in DirectFulfillmentAdapter.");h0(c.toString(),b);k0(a,b,!0)};W0.prototype.af=function(a,b){return V0(b,{cf:["metadata_type_fulfilled_layout"]})?new U0(a,b):this.o(a,b)};g.r(X0,W0);X0.prototype.o=function(a,b){throw new v0("Unsupported slot with type: "+b.bb+" and client metadata: "+D1(b.Za)+" in DefaultFulfillmentAdapterFactory.");};Y0.prototype.xk=function(){var a=this.slot.Za,b=this.ab,c=this.slot;var d=this.slot.ge;var e=e1(a,"metadata_type_linked_player_bytes_layout_id"),f=e1(a,"metadata_type_instream_ad_player_overlay_renderer"),k=e1(a,"metadata_type_player_bytes_callback");a=e1(a,"metadata_type_ad_placement_config");d={layoutId:Lr(),layoutType:"layout_type_media_layout_player_overlay",jg:[new s1(Lr(),e)],kg:[],hg:[],ge:d,Za:new a1([new K0(e),new J0(f),new L0(k),new G0(a)])};q0(b,c,d)};
Y0.prototype.o=function(){var a=this.ab,b=this.slot,c=new v0("Got CancelSlotFulfilling request for "+this.slot.bb+" in InPlayerSlotFulfillmentAdapter.");h0(c.toString(),b);k0(a,b,!0)};g.r(Z0,W0);Z0.prototype.o=function(a,b){if(V0(b,{cf:["metadata_type_linked_player_bytes_layout_id","metadata_type_instream_ad_player_overlay_renderer","metadata_type_player_bytes_callback","metadata_type_ad_placement_config"],bb:"slot_type_in_player"}))return new Y0(a,b,this.lg);throw new v0("Unsupported slot with type: "+b.bb+" and client metadata: "+D1(b.Za)+" in InPlayerSlotFulfillmentAdapterFactory.");};$0.prototype.xk=function(){uo(this,function b(){var c=this,d,e,f;return Aa(b,function(k){if(1==k.o)return d=e1(c.slot.Za,"metadata_type_cue_point"),ta(k,c.ck.fetch({jP:e1(c.slot.Za,"metadata_type_get_ad_break_url"),mk:d,jE:Ona(d)}),2);e=k.u;2<=e.length&&h0("Unexpected "+e.length+" ad placement renderers",c.slot);try{f=Qna(e),q0(c.ab,c.slot,f)}catch(p){var l=c.ab,m=c.slot,n=new v0("Failed to parse ad placement renderer in PlayerBytesDaiFulfillmentAdapter: "+p.message);h0(n.toString(),m);k0(l,m,!0)}k.o=
0})})};
$0.prototype.o=function(){var a=this.ab,b=this.slot;c0(a.jb,"ADS_CLIENT_EVENT_TYPE_SLOT_FULFILLMENT_CANCELLED",b);i0(a.o,b)&&(j0(a.o,b).A="fill_canceled",k0(a,b,!1))};g.r(b1,W0);b1.prototype.o=function(a,b){if(V0(b,{cf:["metadata_type_cue_point","metadata_type_get_ad_break_url"],bb:"slot_type_player_bytes"}))return new $0(a,b,this.lg,this.ck);throw new v0("Unsupported slot with type: "+b.bb+" and client metadata: "+D1(b.Za)+" in PlayerBytesSlotFulfillmentAdapterFactory.");};Sna.prototype.af=function(a,b){return new Rna(a,b)};g.r(Una,g.B);g.r(c1,g.Q);g.h=c1.prototype;g.h.jo=function(){return this.slot};
g.h.tn=function(){return this.layout};
g.h.init=function(){this.o.addListener(this)};
g.h.xs=function(){this.o.removeListener(this);this.dispose()};
g.h.startRendering=function(a){a.layoutId!==this.layout.layoutId?n0(this.ab,this.slot,a,new l0("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType))):(Noa(this.o,this.u,1),Kna(this.ab,this.slot,a))};
g.h.tu=function(a,b){a.layoutId!==this.layout.layoutId?n0(this.ab,this.slot,a,new l0("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType))):(Noa(this.o,this.u,3),this.u=[],Mna(this.ab,this.slot,a,b))};
g.h.Y=function(){this.o.removeListener(this);g.Q.prototype.Y.call(this)};g.r(f1,c1);g.h=f1.prototype;g.h.init=function(){c1.prototype.init.call(this);var a=e1(this.layout.Za,this.C);var b=Xna((new Vna(this.B.adPlacementConfig)).adPlacementConfig,cV(aV()));this.u.push(this.F(a,b))};
g.h.Ly=function(a){switch(a){case "action-companion":a:{a=this.Cd.o;for(var b=g.q(a.keys()),c=b.next();!c.done;c=b.next())if(c=c.value,"slot_type_player_bytes"===c.bb&&Zna(this,a.get(c))){a=!0;break a}a=!1}a?this.Vb.aa.sendVideoStatsEngageEvent(1,void 0,2):this.w?this.w():h0("Tried to call engagePingCallback but it is null",this.jo(),this.tn())}};
g.h.nj=function(a,b){Zna(this,b)&&(null===this.w?this.w=Roa(this.Vb):h0("OnLayoutEntered should set engagePingCallback, but it was not null",this.jo(),this.tn()))};
g.h.oj=function(){};
g.h.ll=function(){};
g.h.Jl=function(){};
g.h.jl=function(){};
g.h.kl=function(){};
g.h.Aj=function(){};
g.h.Hl=function(){};
g.h.Y=function(){Ina(this.A,this);c1.prototype.Y.call(this)};g.r(g1,f1);g.r(aoa,f1);g.r(coa,f1);eoa.prototype.af=function(a,b,c,d){if(h1(d,$na()))return new g1(a,c,d,this.Ge,this.Vb,this.o(),this.Cd);if(h1(d,boa()))return new aoa(a,c,d,this.Ge,this.Vb,this.o(),this.Cd);if(h1(d,doa()))return new coa(a,c,d,this.Ge,this.Vb,this.o(),this.Cd);throw new l0("Unsupported layout with type: "+d.layoutType+" and client metadata: "+D1(d.Za)+" in AboveFeedLayoutRenderingAdapterFactory.");};foa.prototype.af=function(a,b,c,d){if(h1(d,$na()))return new g1(a,c,d,this.Ge,this.Vb,this.o(),this.Cd);throw new l0("Unsupported layout with type: "+d.layoutType+" and client metadata: "+D1(d.Za)+" in BelowPlayerLayoutRenderingAdapterFactory.");};g.h=goa.prototype;g.h.jo=function(){return this.slot};
g.h.tn=function(){return this.layout};
g.h.init=function(){};
g.h.xs=function(){};
g.h.startRendering=function(a){if(a.layoutId!==this.layout.layoutId)n0(this.ab,this.slot,a,new l0("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType)));else{var b=this.o;b.u.has("impression")||Yna(b);Kna(this.ab,this.slot,a);yoa(this.Gl,a.layoutId)}};
g.h.tu=function(a,b){a.layoutId!==this.layout.layoutId?n0(this.ab,this.slot,a,new l0("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType))):Mna(this.ab,this.slot,a,b)};ioa.prototype.af=function(a,b,c,d){if(h1(d,hoa()))return new goa(a,c,d,this.Vb,this.Gl);throw new l0("Unsupported layout with type: "+d.layoutType+" and client metadata: "+D1(d.Za)+" in ForecastingLayoutRenderingAdapterFactory.");};g.h=joa.prototype;g.h.jo=function(){return this.slot};
g.h.tn=function(){return this.layout};
g.h.init=function(){};
g.h.xs=function(){};
g.h.startRendering=function(){};
g.h.tu=function(){};g.r(i1,c1);i1.prototype.init=function(){c1.prototype.init.call(this);var a=e1(this.layout.Za,"metadata_type_instream_ad_player_overlay_renderer");this.u.push(new TW(a))};
i1.prototype.Ly=function(a){a:{var b=this.A;for(var c=g.q(this.Cd.o.values()),d=c.next();!d.done;d=c.next())if(d.value.layoutId===b){b=!0;break a}b=!1}if(b)switch(a){case "visit-advertiser":this.Vb.aa.sendVideoStatsEngageEvent(3,void 0,2)}switch(a){case "ad-mute-confirm-dialog-close-button":case "ad-feedback-undo-mute-button":case "ad-info-dialog-close-button":this.w||(a=this.ih,2===a.aa.getPlayerState(2)&&a.aa.playVideo());break;case "ad-info-icon-button":(this.w=2===this.ih.aa.getPlayerState(2))||
this.ih.pauseVideo();break;case "visit-advertiser":this.ih.pauseVideo();a=e1(this.layout.Za,"metadata_type_player_bytes_callback").wb;qV(a)||yV(a,"clickthrough");break;case "skip-button":e1(this.layout.Za,"metadata_type_player_bytes_callback").skip()}};
i1.prototype.Y=function(){c1.prototype.Y.call(this)};loa.prototype.af=function(a,b,c,d){if(this.Vr&&h1(d,koa()))return new joa(c,d);if(h1(d,{cf:["metadata_type_instream_ad_player_overlay_renderer","metadata_type_player_bytes_callback","metadata_type_linked_player_bytes_layout_id"],layoutType:"layout_type_media_layout_player_overlay"}))return new i1(a,c,d,this.Ge,this.ih,this.Vb,this.Cd);throw new l0("Unsupported layout with type: "+d.layoutType+" and client metadata: "+D1(d.Za)+" in InPlayerLayoutRenderingAdapterFactory.");};g.r(j1,g.B);g.r(k1,j1);k1.prototype.Y=function(){j1.prototype.Y.call(this);this.o=null};
noa.prototype.u=function(a){var b=a.contentCpn,c=a.getAdBreakUrl;a=a.o;var d=Lr();return[{slotId:d,bb:"slot_type_player_bytes",qh:[new woa],zi:[new w1(d)],yi:[new H1(Lr(),b)],ge:"core",Za:new a1([new M0(c),new O0(a)])}]};l1.prototype.u=function(a){var b=[];this.o=new Map;var c=a.Ii.filter(function(m){var n,p,t,u=null===(n=m.config)||void 0===n?void 0:n.adPlacementConfig;n=null===(t=null===(p=m.config)||void 0===p?void 0:p.adPlacementConfig)||void 0===t?void 0:t.kind;m=m.renderer;return u&&n&&m}),d={};
c=g.q(c);for(var e=c.next();!e.done;d={qc:d.qc},e=c.next()){var f=e.value;d.qc=f.renderer;var k=f.config.adPlacementConfig;e=k.kind;if(null!=d.qc.actionCompanionAdRenderer)aX(this.Yb)&&(d.qc.actionCompanionAdRenderer.adVideoId?m1(this,f.elementId,e,d.qc.actionCompanionAdRenderer.adVideoId,k,function(m){return function(n,p,t){return E1("layout_type_companion_with_action_button",new D0(m.qc.actionCompanionAdRenderer),n,p,t)}}(d)):h0("ActionCompanionAdRenderer without adVideoId, kind: "+(e+" + actionButton "+
(void 0===d.qc.actionCompanionAdRenderer.actionButton?"is":"is not")+" undefined. APR count: "+a.Ii.length+". isAdBreakResponse: "+a.fy)));
else if(d.qc.imageCompanionAdRenderer)bX(this.Yb)&&(d.qc.imageCompanionAdRenderer.adVideoId?m1(this,f.elementId,e,d.qc.imageCompanionAdRenderer.adVideoId,k,function(m){return function(n,p,t){return E1("layout_type_companion_with_image",new E0(m.qc.imageCompanionAdRenderer),n,p,t)}}(d)):h0("ImageCompanionAdRenderer without adVideoId"));
else if(d.qc.shoppingCompanionCarouselRenderer)cX(this.Yb)&&(d.qc.shoppingCompanionCarouselRenderer.adVideoId?m1(this,f.elementId,e,d.qc.shoppingCompanionCarouselRenderer.adVideoId,k,function(m){return function(n,p,t){return E1("layout_type_companion_with_shopping",new F0(m.qc.shoppingCompanionCarouselRenderer),n,p,t)}}(d)):h0("ShoppingCompanionCarouselRenderer without adVideoId"));
else if(d.qc.adBreakServiceRenderer)g.R(this.Yb.aa.N().experiments,"html5_pacf_enable_dai")&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===e&&(e=d.qc.adBreakServiceRenderer.getAdBreakUrl,void 0!==e&&ooa(this.ab,{getAdBreakUrl:e,contentCpn:a.contentCpn}));else if(d.qc.clientForecastingAdRenderer)UY(this.Yb)&&(e=Boa(d.qc.clientForecastingAdRenderer,k),(e=Ioa(k,a.contentCpn,e))&&b.push(e));else if(k=roa(d.qc))for(k=g.q(k),f=k.next();!f.done;f=k.next())if((f=f.value)&&f.externalVideoId){var l=poa(this,f.externalVideoId);
l.instreamVideoAdRenderer=f;l.Ln=e}}d=Array.from(this.o.values()).filter(function(m){return qoa(m,a)});
d=g.q(d);for(c=d.next();!c.done;c=d.next())c=c.value,"AD_PLACEMENT_KIND_COMMAND_TRIGGERED"===c.xh?b.push(Hoa(this.w,c.kq,a.contentCpn,c.kk(c.adVideoId,c.instreamVideoAdRenderer.elementId,c.Gm))):b.push(Goa(this.w,a.contentCpn,c.instreamVideoAdRenderer.elementId,c.kk(c.adVideoId,c.instreamVideoAdRenderer.elementId,c.Gm)));return b};g.r(soa,j1);g.r(toa,j1);g.r(n1,j1);g.h=n1.prototype;
g.h.nj=function(a,b){if($W(this.Yb)&&"layout_type_media"===b.layoutType)if(Y_(b,["metadata_type_content_cpn","metadata_type_player_bytes_callback","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"])){var c={WO:b.layoutId,contentCpn:e1(b.Za,"metadata_type_content_cpn"),XN:e1(b.Za,"metadata_type_player_bytes_callback"),instreamAdPlayerOverlayRenderer:e1(b.Za,"metadata_type_instream_ad_player_overlay_renderer"),adPlacementConfig:e1(b.Za,"metadata_type_ad_placement_config")};
VY(this,c)}else h0("Received MediaLayout entered, missing metadata for opportunity. Actual client metadata: "+D1(b.Za))};
g.h.ll=function(){};
g.h.Jl=function(){};
g.h.jl=function(){};
g.h.kl=function(){};
g.h.Aj=function(){};
g.h.Hl=function(){};
g.h.oj=function(){};
uoa.prototype.u=function(a){var b=[];b.push(Eoa(a.contentCpn,a.WO,a.instreamAdPlayerOverlayRenderer,a.XN,a.adPlacementConfig));return b};g.r(o1,g.B);g.h=o1.prototype;g.h.ll=function(){};
g.h.Jl=function(){};
g.h.jl=function(){};
g.h.kl=function(){};
g.h.Aj=function(){};
g.h.Hl=function(a,b){this.o.has(a)&&this.o.get(a)===b&&h0("Unscheduled a Layout that is currently entered.",a,b)};
g.h.nj=function(a,b){this.o.set(a,b)};
g.h.oj=function(a){this.o["delete"](a)};g.r(q1,g.B);q1.prototype.addListener=function(a){this.listeners.push(a)};
q1.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};
q1.prototype.B=function(a){this.o=a;var b=p1(this.u,1);b.clientPlaybackNonce!==this.contentCpn&&(this.contentCpn=b.clientPlaybackNonce,this.listeners.forEach(function(c){var d=b.clientPlaybackNonce,e;(null===(e=c.o)||void 0===e?void 0:e.contentCpn)!==d&&(c.o=null)}))};
q1.prototype.Y=function(){this.u.removeListener(this);this.listeners.length=0;this.o=null;g.B.prototype.Y.call(this)};g.r(y1,g.B);g.h=y1.prototype;
g.h.lh=function(a,b,c,d){if(this.u.has(b.o))throw new v0("Tried to register duplicate trigger for slot.");if(!(b instanceof u1||b instanceof v1||b instanceof w1||b instanceof r1||b instanceof s1||b instanceof t1))throw new v0("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new x1(a,b,c,d);this.u.set(b.o,a);b instanceof w1&&this.B.has(b.A)&&t0(this.o(),[a]);b instanceof u1&&this.A.has(b.w)&&t0(this.o(),[a]);b instanceof r1&&this.w.has(b.u)&&
t0(this.o(),[a])};
g.h.sh=function(a){this.u["delete"](a.o)};
g.h.ll=function(a){this.B.add(a.slotId);for(var b=[],c=g.q(this.u.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof w1&&a.slotId===d.trigger.A&&b.push(d);0<b.length&&t0(this.o(),b)};
g.h.Jl=function(a){this.B["delete"](a.slotId)};
g.h.jl=function(a){this.A.add(a.slotId);for(var b=[],c=g.q(this.u.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof u1&&a.slotId===d.trigger.w&&b.push(d);0<b.length&&t0(this.o(),b)};
g.h.kl=function(a){this.A["delete"](a.slotId);for(var b=[],c=g.q(this.u.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof v1&&a.slotId===d.trigger.B&&b.push(d);0<b.length&&t0(this.o(),b)};
g.h.Aj=function(a){this.C.add(a.layoutId)};
g.h.Hl=function(a,b){this.C["delete"](b.layoutId)};
g.h.nj=function(a,b){this.w.add(b.layoutId);for(var c=[],d=g.q(this.u.values()),e=d.next();!e.done;e=d.next())if(e=e.value,e.trigger instanceof r1)b.layoutId===e.trigger.u&&c.push(e);else if(e.trigger instanceof t1){var f=e.trigger;a.bb===f.bb&&b.layoutType===f.layoutType&&b.layoutId!==f.B&&c.push(e)}0<c.length&&t0(this.o(),c)};
g.h.oj=function(a,b){this.w["delete"](b.layoutId);for(var c=[],d=g.q(this.u.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger instanceof s1&&b.layoutId===e.trigger.B&&c.push(e);0<c.length&&t0(this.o(),c)};z1.prototype.lh=function(a,b,c,d){if(this.u.has(b.o)||this.w.has(b.o))throw new v0("Tried to re-register the trigger.");a=new x1(a,b,c,d);if(a.trigger instanceof woa)this.u.set(a.trigger.o,a);else if(a.trigger instanceof voa)this.w.set(a.trigger.o,a);else throw new v0("Incorrect TriggerType: Tried to register trigger of type "+a.trigger.triggerType+" in LiveStreamBreakTransitionTriggerAdapter");this.u.has(a.trigger.o)&&a.slot.slotId===this.o&&t0(this.A(),[a])};
z1.prototype.sh=function(a){this.u["delete"](a.o);this.w["delete"](a.o)};
z1.prototype.B=function(a){a=a.slotId;if(this.o!==a){var b=[];null!==this.o&&b.push.apply(b,g.na(xoa(this.w,this.o)));null!==a&&b.push.apply(b,g.na(xoa(this.u,a)));this.o=a;b.length&&t0(this.A(),b)}};g.r(C1,g.B);g.h=C1.prototype;g.h.lh=function(a,b,c,d){if(this.w.has(b.o))throw new v0("Tried to register duplicate trigger for slot.");if(!(b instanceof A1||b instanceof B1))throw new v0("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.w.set(b.o,new x1(a,b,c,d))};
g.h.sh=function(a){this.w["delete"](a.o)};
g.h.az=function(){};
g.h.Zy=function(){};
g.h.Fs=function(){};
g.h.nj=function(a,b){"slot_type_above_feed"===a.bb&&(null!==this.o?h0("called onLayoutEntered with AboveFeedSlot but there is already a layout entered"):this.o=b.layoutId)};
g.h.oj=function(a){"slot_type_above_feed"===a.bb&&(null===this.o?h0("called onLayoutExited with AboveFeedSlot but there is no entered layout"):this.o=null)};
g.h.ll=function(){};
g.h.Jl=function(){};
g.h.jl=function(a){"slot_type_above_feed"===a.bb&&(null!==this.u?h0("called onSlotEntered with AboveFeedSlot but there is already a slot entered"):this.u=a.slotId)};
g.h.kl=function(a){"slot_type_above_feed"===a.bb&&(null===this.u?h0("called onSlotExited with AboveFeedSlot but there is no entered slot"):this.u=null)};
g.h.Aj=function(){};
g.h.Hl=function(){};
g.h.Gq=function(){null!==this.o&&yoa(this,this.o)};
g.h.Zq=function(a){if(null===this.u){for(var b=[],c=g.q(this.w.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof B1&&d.trigger.slotId===a&&b.push(d);b.length&&t0(this.A(),b)}};
g.h.Uw=function(){};g.r(zoa,g.B);H1.prototype.Lh=function(){return this.contentVideoId};g.r(I1,g.B);I1.prototype.init=function(){};
I1.prototype.Y=function(){this.mg.removeListener(this);g.B.prototype.Y.call(this)};g.r(Koa,g.B);Loa.prototype.fetch=function(a){return uo(this,function c(){var d,e,f,k,l=this,m,n;return Aa(c,function(p){if(1==p.o)return d=a,e=d.jP,f=d.jE,k=void 0===d.mk?void 0:d.mk,p.B=2,ta(p,l.jq.fetch(e,{mk:k,Ib:f,Au:FY(l.o)}),4);if(2!=p.o)return m=p.u,p["return"](Moa(m,f));n=va(p);h0("Failed to fetch ad break info: "+n);return p["return"]([])})})};g.r(J1,g.B);J1.prototype.addListener=function(a){this.listeners.push(a)};
J1.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};
J1.prototype.onAdUxClicked=function(a){this.listeners.forEach(function(b){b.Ly(a)})};K1.prototype.addListener=function(a){this.listeners.push(a)};
K1.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};g.r(L1,iV);L1.prototype.hf=function(){return this.o()};g.r(M1,g.B);M1.prototype.addListener=function(a){this.listeners.push(a)};
M1.prototype.removeListener=function(a){this.listeners=this.listeners.filter(function(b){return b!==a})};
M1.prototype.BN=function(a){var b=this.Mm(a);this.aa.getPresentingPlayerType();this.listeners.forEach(function(c){c.B(b)})};
M1.prototype.Mm=function(a){var b=a.clientPlaybackNonce;a=this.TO.o.get(a.Cb)||{layoutId:null,slotId:null};return Object.assign(Object.assign({},a),{clientPlaybackNonce:b})};Soa.prototype.pauseVideo=function(){this.aa.pauseVideo()};g.r(N1,g.B);N1.prototype.lh=function(a,b,c,d){if(this.o.has(b.o))throw new v0("Tried to register duplicate trigger for slot.");if(!(b instanceof G1||b instanceof F1))throw new v0("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in CueRangeTriggerAdapter");var e=b instanceof G1?new O1(b,b.u.start,b.u.end):b instanceof F1?new O1(b,0x7ffffffffffff,0x8000000000000):null;null!=e&&(g.GL(this.aa,[e],1),this.u.set(b.o,e),this.o.set(b.o,new x1(a,b,c,d)))};
N1.prototype.sh=function(a){var b=this.u.get(a.o);b&&g.OT(this.aa.app,[b],1);this.o["delete"](a.o);this.u["delete"](a.o)};
N1.prototype.A=function(a){a instanceof O1&&(a=this.o.get(a.o))&&t0(this.ab,[a])};
g.r(O1,g.SD);g.r(P1,g.B);P1.prototype.lh=function(a,b,c,d){if(this.o.has(b.o))throw new v0("Tried to register duplicate trigger for slot.");if(!(b instanceof H1))throw new v0("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OnNewPlaybackAfterContentVideoIdTriggerAdapter");a=new x1(a,b,c,d);this.o.set(b.o,a);Toa(this);b.Lh()!==this.u&&t0(this.ab,[a])};
P1.prototype.sh=function(a){this.o["delete"](a.o)};
P1.prototype.A=function(){Toa(this);for(var a=[],b=g.q(this.o.values()),c=b.next();!c.done;c=b.next())c=c.value,c.trigger.Lh()!==this.u&&a.push(c);0<a.length&&t0(this.ab,a)};
P1.prototype.Y=function(){g.vr(this.w)};g.r(Uoa,g.B);g.r(Voa,g.B);g.r(Q1,g.LP);g.h=Q1.prototype;g.h.create=function(){this.load();this.created=!0};
g.h.load=function(){g.LP.prototype.load.call(this);g.qL(this.player).classList.add("ad-created");var a=this.A;this.o=new QY(this.player,this.u,this.w,{dk:a.dk,ND:a.Nj.o,mg:a.mg,Yb:a.o});this.o.init()};
g.h.destroy=function(){this.unload();this.created=!1};
g.h.unload=function(){g.LP.prototype.unload.call(this);g.qL(this.player).classList.remove("ad-created");var a=this.o;this.o=null;a.dispose();this.u.reset();this.w.reset()};
g.h.Bf=function(){return!1};
g.h.getAdState=function(){return this.o?this.o.Z:-1};
g.h.getOptions=function(){return Object.values(vqa)};
g.h.Mc=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":var c=b;if(c.url){var d=ZU(this.player);Object.assign(d,c.additionalMapping);this.o&&!d.AD_CPN&&(d.AD_CPN=this.o.ga);c=g.en(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.Ha("yt.player.Application.create",WS,void 0);g.Ha("yt.player.Application.createAlternate",WS,void 0);var Aqa=g.w("ytcsi.tick");Aqa&&Aqa("pe");g.$P.ad=Q1;var Yoa=/#(.)(.)(.)/,Xoa=/^#(?:[0-9a-f]{3}){1,2}$/i;var $oa=g.Od&&Zoa();g.Ta(g.T1,g.B);var Bqa=[];g.h=g.T1.prototype;g.h.ia=function(a,b,c,d){Array.isArray(b)||(b&&(Bqa[0]=b.toString()),b=Bqa);for(var e=0;e<b.length;e++){var f=ye(a,b[e],c||this.handleEvent,d||!1,this.u||this);if(!f)break;this.o[f.key]=f}return this};
g.h.hs=function(a,b,c,d){return apa(this,a,b,c,d)};
g.h.Wa=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.Wa(a,b[f],c,d,e);else c=c||this.handleEvent,d=g.Oa(d)?!!d.capture:!!d,e=e||this.u||this,c=ze(c),d=!!d,b=se(a)?a.Bk(b,c,d,e):a?(a=Be(a))?a.Bk(b,c,d,e):null:null,b&&(He(b),delete this.o[b.key])};
g.h.Y=function(){g.T1.Gb.Y.call(this);g.bpa(this)};
g.h.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};U1.prototype.o=4;U1.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
U1.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(U1.BYTES_PER_ELEMENT=4,U1.prototype.BYTES_PER_ELEMENT=U1.prototype.o,U1.prototype.set=U1.prototype.set,U1.prototype.toString=U1.prototype.toString,g.Ha("Float32Array",U1,void 0));V1.prototype.o=8;V1.prototype.set=function(a,b){b=b||0;for(var c=0;c<a.length&&b+c<this.length;c++)this[b+c]=a[c]};
V1.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{V1.BYTES_PER_ELEMENT=8}catch(a){}V1.prototype.BYTES_PER_ELEMENT=V1.prototype.o;V1.prototype.set=V1.prototype.set;V1.prototype.toString=V1.prototype.toString;g.Ha("Float64Array",V1,void 0)};})(_yt_player);
