try{ A("Tc7Qif"); var K_f=function(a,b){if(a.length!==0){var c=a[0],d=Math.min(c.frameWidth/c.frameHeight*112.5,200)*Math.min(a[0].maxFramesPerRow,a[0].numberOfFrames);a=a.flatMap(function(e){return e.mosaicUrls});a.slice(0,Math.min(a.length,10)).forEach(function(e){e=cwa(e,Math.ceil(d));var f=new Image;f.src=e;f.complete&&b.removeNode(f);f.onload=function(){b.removeNode(f)};f.onerror=function(){b.removeNode(f)}})}},M_f=function(a,b,c,d,e,f){e=Od(e);f===void 0||f?e.cc_load_policy=1:(e.cc3_module=1,e.wmode="window"); f=lg(b.uri,"t");var g=b.uri.L;f=f||(new Dn(g)).get("t");f=f===void 0?0:(g=L_f.exec(f))&&g[0]?(parseInt(g[3],10)||0)+60*(parseInt(g[2],10)||0)+3600*(parseInt(g[1],10)||0):parseInt(f,10)||0;f>0&&(e.start=f);e.override_hl=1;e.hl=e.hl||"no";b.As()===1&&(e.enablecastapi=0,Q(b.B,22)&&(e.disable_native_context_menu=1));a.oh()&&(e.use_native_controls=0);e.pipable=1;e.enablepostapi=1;e.postid=c;e.origin||(e.origin=Tpa(d.getWindow()));Q(b.B,53)&&(a=e.qoe_cat?e.qoe_cat.split(","):[],a.push("flix_from_driveweb"), e.qoe_cat=a.join(","));return e},N_f=function(){return D(function(a){return a.return(new Promise(function(b){setTimeout(function(){b(void 0)},1E4)}))})},O_f=function(a){if(!a.videoStoryboard)return[];try{var b=JSON.parse(String(a.videoStoryboard));b.sort(function(c,d){return d.numberOfFrames-c.numberOfFrames});return b}catch(c){return[]}},P_f=function(a){a=a===void 0?{}:a;this.xb={};this.xb.videoId=a.videoId==null?null:a.videoId};S(P_f,He);P_f.prototype.B=function(){return{keys:["videoId"]}}; Hn.Object.defineProperties(P_f.prototype,{videoId:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"videoId")?Ge(this,"videoId"):null},set:function(a){this.xb.videoId=a}}});var Q_f=function(a){a=a===void 0?{}:a;this.xb={};this.xb.youtubeVideos=a.wma==null?null:a.wma;this.xb.allowAllSignedInUsers=a.Aaa==null?null:a.Aaa;this.xb.provideMrmFields=a.Kia==null?null:a.Kia};S(Q_f,He);Q_f.prototype.B=function(){return{mG:{youtubeVideos:P_f},keys:["allowAllSignedInUsers","provideMrmFields","youtubeVideos"]}}; Hn.Object.defineProperties(Q_f.prototype,{Aaa:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"allowAllSignedInUsers")?Ge(this,"allowAllSignedInUsers"):null},set:function(a){this.xb.allowAllSignedInUsers=a}},Kia:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"provideMrmFields")?Ge(this,"provideMrmFields"):null},set:function(a){this.xb.provideMrmFields=a}},wma:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"youtubeVideos")?Ge(this,"youtubeVideos"):null},set:function(a){this.xb.youtubeVideos= a}}});var R_f=function(a){a=a===void 0?{}:a;this.xb={};this.xb.videoIdToRcat=a.I7==null?null:a.I7;this.xb.encryptedPlayerParams=a.c1==null?null:a.c1;this.xb.ytPlayerDomain=a.xma==null?null:a.xma;this.xb.ytServiceEnabled=a.bFa==null?null:a.bFa};S(R_f,He);R_f.prototype.B=function(){return{keys:["encryptedPlayerParams","videoIdToRcat","ytPlayerDomain","ytServiceEnabled"],rAa:{videoIdToRcat:{ctor:null,J5a:!1,L5a:!1,T5a:!1}}}}; Hn.Object.defineProperties(R_f.prototype,{c1:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"encryptedPlayerParams")?Ge(this,"encryptedPlayerParams"):null},set:function(a){this.xb.encryptedPlayerParams=a}},I7:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"videoIdToRcat")?Ge(this,"videoIdToRcat"):null},set:function(a){this.xb.videoIdToRcat=a}},xma:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"ytPlayerDomain")?Ge(this,"ytPlayerDomain"):null},set:function(a){this.xb.ytPlayerDomain= a}},bFa:{configurable:!0,enumerable:!0,get:function(){return Ez(this,"ytServiceEnabled")?Ge(this,"ytServiceEnabled"):null},set:function(a){this.xb.ytServiceEnabled=a}}}); var S_f=function(a,b){var c=c===void 0?{}:c;var d=d===void 0?{}:d;return t2a(a.B,{body:b,httpMethod:"POST",Zga:"workspacevideo_pa.getEmbeddedYTPlayerValues",path:"/v1/getEmbeddedYTPlayerValues",zq:qia(c,d),kCa:R_f})},T_f=function(a,b,c,d,e,f,g,k,l,m){var p=p===void 0?!1:p;var r=r===void 0?!1:r;var t=t===void 0?!0:t;var v=l!=null&&m!=null,w=v?"tt-"+Ff():"",x=Sf(function(G){v&&RC(G,w,void 0,void 0,void 0,void 0,l,m,void 0,!p);Tf(G,Mf(""))}),C=I(function(G){G.V("Impzje");wgb(G,{jscontroller:Kgb.id,jo:iB(lB("pYTkkf-Bz112c-LgbsSe", !1,v&&"pYTkkf-Bz112c-LgbsSe-OWXEXe-SfQLQb-suEOdc")),ko:iB(lB("pYTkkf-Bz112c-kBDsod-Rtc0Jf","pYTkkf-Bz112c-kBDsod-Rtc0Jf-OWXEXe-Xhs9z")),CH:iB(lB("pYTkkf-Bz112c-kBDsod-Rtc0Jf","pYTkkf-Bz112c-kBDsod-Rtc0Jf-OWXEXe-IT5dJd")),zh:"pYTkkf-Bz112c-UHGRz",eg:"pYTkkf-Bz112c-RLmnJb",gR:e,fR:f,wa:"razjvf",disabled:g!=null?g:!1,dE:c,aE:d,Uh:!1,jsname:k,ke:r,Id:!1,attributes:x,Re:t},a);G.W()});v?(b.V("adQwuf"),zB(a,b,C,w,WA(m)),b.W()):b.print(C)},U_f=function(a,b,c,d){var e=Sf(function(f){Wf()&&Tf(f,Mf());f.J("data-is-menu-dynamic", "true")});Ngb(b,{content:c,jsname:d,wa:"Q1qoNe",attributes:e,isInternal:0},a)},V_f=function(a,b){return a.F.includes($6b(b).toLocaleLowerCase())},L_f=/^(\d+h)?(\d+m)?(\d+s)?$/i,W_f=function(a,b){var c=1;b&&(c=2);a.ye||(a.ea=1,a.dispatchEvent(new s8b(c,RL.Gra)))},X_f=function(a){this.X=q(a)};S(X_f,u);X_f.prototype.getVideoUrl=function(){return ud(this,1)}; var Y_f=function(a){return An(a.B,X_f,56)&&!a.isPlayable()},Z_f=function(a,b){b={youtube_videos:[{video_id:b}],provide_mrm_fields:Ej.CHROME,allow_all_signed_in_users:!0};var c=NK(MK(LK(new KK(a.Be,"v1/getEmbeddedYTPlayerValues"),3),"POST"),b).start().then(function(d){return d},function(d){throw d;});c.Zj(function(){});a.addOnDisposeCallback(function(){c.cancel()});return c},$_f=function(a,b){var c=new P_f({videoId:b});c.videoId=b;b=new Q_f({wma:[c],Kia:Ej.CHROME,Aaa:!0});return S_f(a.I,b).then(function(d){return d})}, a0f=function(){return"Hurtigtast for \u00e5 sette p\u00e5 pause: K"},b0f=function(){return"Hurtigtast for \u00e5 spille av: K"},c0f=function(){return"Spol 10\u00a0sekunder bakover (j)"},d0f=function(){return"Spol 10\u00a0sekunder fremover (l)"},e0f=function(){return"Teksting (c)"},f0f=function(){return"Bilde-i-bilde er i betaversjon"},g0f=function(){return"Du kan fortsatt bruke funksjonen mens du jobber. Klikk hvor som helst for \u00e5 \u00e5pne den."},h0f=function(){return"Spiller av i bilde-i-bilde"}, i0f=function(){return"Hvis du lukker dette vinduet, lukkes spilleren"},j0f=function(){return"\u00c5pne"},k0f,l0f,m0f=function(a){this.X=q(a)};S(m0f,u);var n0f=function(a){this.X=q(a)};S(n0f,u); var o0f=function(a){var b=new n0f;return gi(b,1,a)},p0f,q0f,r0f,s0f,t0f,u0f,v0f,w0f,x0f=function(a){a.open("svg","bKZZfd");a.ca(v0f||(v0f=["focusable","false"]));a.J("viewBox","0 -960 960 960");a.J("height","24");a.J("width","24");a.J("class"," NMm5M");Tf(a,Mf(""));a.S();a.xa("path","WjQw6c");a.ca(w0f||(w0f=["d","M360-320V-500H300v-60H420v240H360Zm140,0q-17,0-28.5-11.5T460-360V-520q0-17 11.5-28.5T500-560h80q17,0 28.5,11.5T620-520v160q0,17-11.5,28.5T580-320H500Zm20-60h40V-500H520v120ZM480-80q-75,0-140.5-28.5t-114-77t-77-114T120-440t28.5-140.5t77-114t114-77T480-800h6l-62-62l56-58L640-760L480-600l-56-58l62-62h-6q-117,0-198.5,81.5T200-440t81.5,198.5T480-160t198.5-81.5T760-440h80q0,75-28.5,140.5t-77,114t-114,77T480-80Z"])); a.S();a.close();a.ua()},y0f,z0f,A0f,B0f,C0f,D0f,E0f,F0f,G0f=function(a){a.open("svg","WPgBdb");a.ca(E0f||(E0f=["focusable","false"]));a.J("viewBox","0 -960 960 960");a.J("height","24");a.J("width","24");a.J("class"," NMm5M");Tf(a,Mf(""));a.S();a.xa("path","hef0S");a.ca(F0f||(F0f=["d","M320-200V-760L760-480L320-200Z"]));a.S();a.close();a.ua()},H0f,I0f,J0f=function(a){a.open("svg","abNVYd");a.ca(H0f||(H0f=["focusable","false"]));a.J("viewBox","0 -960 960 960");a.J("height","24");a.J("width","24");a.J("class", " NMm5M");Tf(a,Mf(""));a.S();a.xa("path","eWDEVc");a.ca(I0f||(I0f=["d","M480-80q-75,0-140.5-28.5t-114-77t-77-114T120-440h80q0,117 81.5,198.5T480-160t198.5-81.5T760-440T678.5-638.5T480-720h-6l62,62l-56,58L320-760L480-920l56,58l-62,62h6q75,0 140.5,28.5t114,77t77,114T840-440T811.5-299.5t-77,114t-114,77T480-80ZM360-320V-500H300v-60H420v240H360Zm140,0q-17,0-28.5-11.5T460-360V-520q0-17 11.5-28.5T500-560h80q17,0 28.5,11.5T620-520v160q0,17-11.5,28.5T580-320H500Zm20-60h40V-500H520v120Z"]));a.S();a.close(); a.ua()},K0f,L0f,M0f,N0f,O0f=function(){rB.call(this)};S(O0f,rB); var P0f,Q0f,R0f,S0f,T0f,U0f,V0f,W0f,X0f,Y0f,Z0f,$0f,a1f,b1f,c1f,d1f,e1f,f1f=function(a,b,c,d,e,f,g,k,l,m,p,r,t,v){a.open("div","i0orgb");a.ca($0f||($0f=["jsname","PFprWc"]));a.J("jscontroller",b);a.J("class","gyG0mb-UTM9ec"+(k?" gyG0mb-UTM9ec-CpWD9d":" gyG0mb-UTM9ec-I3Yihd"));a.J("style",gB("left")+": "+gB(g)+"%; transform: translateX("+gB(-1*g)+"%);");a.S();a.V("yU5rpb");tB(a);a.W();m&&(a.open("div","N8iX3b"),a.ca(a1f||(a1f=["class","gyG0mb-MIfjnf-uDEFge-haAclf","aria-hidden","true"])),a.S(),a.xa("div", "d2Srxb"),a.ca(b1f||(b1f=["class","gyG0mb-MIfjnf-uDEFge"])),a.S(),a.xa("span","kMplNb"),a.ca(c1f||(c1f=["class","gyG0mb-MIfjnf-uDEFge-fmcmS"])),a.S(),a.print(fg(f)),a.close(),a.close(),a.close());a.open("div","CGNgse");a.ca(d1f||(d1f=["class","gyG0mb-UTM9ec-tmWYNe"]));a.S();a.close();a.open("input","FwJjoc");a.ca(e1f||(e1f="class gyG0mb-YCNiv type range role slider".split(" ")));a.J("jsaction","blur:aow3Bb; change:ZCzObf; focus:AStKrd;"+(m?"mouseenter:Ux5ucb;":"")+"pointerenter:EX0mI; pointerleave:vpvbp;"); a.J("min",""+c);a.J("max",""+d);a.J("step",""+e);a.J("value",""+f);l!=null&&l&&a.J("disabled",""+(l!=null?l:void 0));(r||null)!=null&&a.J("aria-labelledby",""+(r||null));(p||null)!=null&&a.J("aria-label",""+(p||null));t&&a.J("aria-valuetext",""+t);Tf(a,Mf(v!=null?v:""));a.S();a.close();a.ua()},g1f=function(a,b){var c=b.tX,d=b.IX,e=b.min,f=b.max,g=b.step,k=b.yP,l=b.xe,m=b.Rg,p=b.mp,r=b.yd,t=b.hw,v=b.Tb,w=b.Bo,x=b.ke,C=b.OTa,G=b.PTa,E=b.eR,L=b.iR,N=b.jR,O=b.QTa,Y=b.vdb,la=b.e1,xa=b.jsname,Ha=b.wa,za= b.class,Wa=b.attributes,Ia=b.ru;b=l!=null?l:e;var lb=(k-e)/(f-e),sb=(b-e)/(f-e);w=w!=null?w:p;a.open("div","vZ1gVc");a.ca(P0f||(P0f=["jsaction","pointerdown: gw9she;FUcMx:Omn2gf;EPk9Xc:C6p46;hwiTzf:Nfjqvb;"]));a.J("jscontroller",c);a.J("style","--thumb-end-pct:"+gB(lb)+"; --thumb-start-pct:"+gB(sb)+";");m&&a.J("data-min-range",""+m);a.J("data-show-value-indicator",""+w);a.J("class",iB(lB(za,"gyG0mb-SxecR","gyG0mb-SxecR-OWXEXe-K2kob-EJv4qd",p&&"gyG0mb-SxecR-OWXEXe-ALTDOd",r&&"gyG0mb-SxecR-OWXEXe-vhhrIe", t&&"gyG0mb-SxecR-OWXEXe-VErWse",v&&"gyG0mb-SxecR-OWXEXe-OWB6Me",!1,Ha)));(xa||null)!=null&&a.J("jsname",""+(xa||null));x&&wB(a);Tf(a,Mf(Wa!=null?Wa:""));Ia!=null&&Tf(a,Mf(Ia));a.S();a.xa("div","YIubSd");a.ca(Q0f||(Q0f=["class","gyG0mb-yCQwvc"]));a.S();if(r||t)a.open("div","rTvLAd"),a.ca(R0f||(R0f=["class","gyG0mb-yCQwvc-OWXEXe-M1Soyc"])),a.S(),a.xa("div","mXPClb"),a.ca(S0f||(S0f=["class","gyG0mb-yCQwvc-OWXEXe-HF4A0e"])),a.S(),a.close(),a.close();a.open("div","yYcECf");a.ca(T0f||(T0f=["class","gyG0mb-yCQwvc-OWXEXe-ssJRIf"])); a.S();a.xa("div","CzfWUe");a.ca(U0f||(U0f=["class","gyG0mb-yCQwvc-OWXEXe-VjRTR"]));a.S();a.close();a.close();a.open("div","i1n9Ed");a.ca(V0f||(V0f=["class","gyG0mb-yCQwvc-OWXEXe-UbuQg"]));a.S();a.xa("div","jUgwzf");a.ca(W0f||(W0f=["class","gyG0mb-yCQwvc-OWXEXe-ATw3zb"]));a.S();a.close();a.close();if(p){c=g!=null?g:1;x=r||t?l:e;p=t?Math.max(k,0):k;a.V("AViwe");xa=(x-e)/c;x=(p-x)/c+1;a.open("div","vgwso");a.ca(X0f||(X0f=["class","gyG0mb-zD2WHb-EJv4qd"]));a.S();xa=Math.max(0,Math.ceil(xa));for(Ha=0;Ha< xa;Ha++)a.open("div","dSMf5c"),a.ca(Y0f||(Y0f=["class","gyG0mb-zD2WHb-SYOSDb-OWXEXe-mt1Mkb"])),a.S(),a.close();xa=Math.max(0,Math.ceil(x));for(Ha=0;Ha
'+(a?F$b():"")+"
")},S2f=function(){return H('
')},T2f=function(a){var b=a.Faa,c=a.id;a=a.title;return H((b=== void 0?0:b)?'
':'
')},U2f={0:5,2:9,5:10,100:11,101:12,150:13,151:25},x4=function(a,b,c){QM.call(this,c);this.id=a;this.item=b;this.ready=this.loaded=!1;this.error=null;this.B= {};this.D=this.F=null;this.uuid=pi();this.ka=new Hk(0,0);this.Wb=mK(c);this.Sb=null};S(x4,QM);var V2f=function(a){switch(Pk(a.getContext().ha())){case 0:return"preview";case 1:return"leaf";case 2:return"embed";default:return""}};h=x4.prototype;h.Ba=function(){this.Ob(Ef(T2f,{id:this.id,title:"Videospiller",Faa:dP(this.getContext().ha())},void 0,this.la()))}; h.Da=function(){QM.prototype.Da.call(this);this.item.ye?this.Coa():(dP(this.getContext().ha())?this.XO():this.qa().tc(this.item,RL.RQ,this.Coa),Pk(this.getContext().ha())!==2&&W_f(this.item,UL(Vj(this.getContext()),this.item)));var a=jK(this.getContext());this.qa().listen(a,"Qb",this.cIa)};h.Uda=function(){return this.uuid};h.getItem=function(){return this.item};h.Coa=function(){if(this.item.isPlayable())this.XO();else if(Md(this.item.ye))this.onError(14);else this.onError(15)}; h.R_=function(){var a=this.getContext().ha();this.item.ye&&Object.assign(this.B,this.item.ye);this.item.As()===1&&W2f(this);this.B.el=V2f(this);this.B.cc_load_policy=1;this.B.authuser===void 0&&(this.B.authuser=a.uc()||"0");this.dba()};var W2f=function(a){var b=a.getContext().ha(),c=a.item.Qq(),d=y(b,19)||Fz(a.la().getWindow().location.href);b=rj("/",Q(b,114),b.uc(),d,zo(b,86),y(b,8));Hd({ps:"docs",partnerid:"30",BASE_URL:b,BASE_YT_URL:b,docid:c},function(e,f){this.B[f]||(this.B[f]=e)},a)}; x4.prototype.dba=function(){};var X2f=function(a){return a.la().U(a.id)};h=x4.prototype;h.play=function(){this.isReady()&&this.sia()};h.isPlaying=function(){return this.isReady()&&this.getPlayerState()===1};h.pause=function(){this.isReady()&&this.A5()};h.stop=function(){this.isReady()&&this.fla()};h.fla=function(){};h.Rd=function(){return this.loaded};h.onLoad=function(){this.hc()&&(this.loaded=!0,this.la().setProperties(X2f(this),{title:"Videospiller"}),this.dispatchEvent("ee"))};h.isReady=function(){return this.ready}; h.onReady=function(){this.hc()&&(this.ready=!0,dP(this.getContext().ha())||Y2f(this),this.dispatchEvent("fe"))};h.onError=function(a){this.error=a;Z2f(this,2,a);$2f(this,2,a);this.dispatchEvent("ge")};h.getError=function(){return this.error};h.onStateChange=function(){switch(this.getPlayerState()){case 1:$2f(this,1);Y2f(this);break;case 3:Z2f(this,1);this.D||(this.D=this.Wb.Dp("vb_",{da:175,item:this.item}));break;case 2:case 0:$2f(this,1),Z2f(this,1)}this.dispatchEvent("he")}; var Y2f=function(a){if(!a.F){var b=a.Wb,c=b.Dp,d=a.item;var e=0;switch(a.item.As()){case 0:e=1;break;case 4:e=2;break;case 5:e=3;break;case 6:e=4;break;case 1:e=5;break;case 7:e=6;break;case 3:e=7}e=pxb(new oxb,e);var f=Q(a.item.B,53);e=gi(e,3,f);f=a.Uda();e=z(e,5,f);f=Q(a.item.B,50);e=gi(e,4,f);a.F=c.call(b,"vp_",{da:75,item:d,ye:e})}},Z2f=function(a,b,c){a.F&&(a.Wb.Xk(a.F,{error:c}),a.Wb.Xd(a.F,b),a.F=null)},$2f=function(a,b,c){a.D&&(a.Wb.Xk(a.D,{error:c}),a.Wb.Xd(a.D,b),a.D=null)};h=x4.prototype; h.getPlayerState=function(){return this.isReady()?this.Tda():-1};h.getCurrentTime=function(){return this.isReady()?this.sda():0};h.seekTo=function(a){this.isReady()&&this.u6(a)};h.mute=function(){this.isReady()&&this.mha()};h.mha=function(){};h.unMute=function(){this.isReady()&&this.Nla()};h.Nla=function(){};h.isMuted=function(){return this.isReady()?this.Tfa():!1};h.setPlaybackQuality=function(a){this.isReady()&&this.kka(a)};h.getVolume=function(){return this.isReady()?this.uea():0}; h.setVolume=function(a){this.isReady()&&this.wka(a)};h.CP=function(){var a=this.getVolume();this.setVolume(Math.min(100,a+10))};h.BP=function(){var a=this.getVolume();this.setVolume(Math.max(0,a-10))};h.handleGlobalKeyDown=function(a){this.isReady()&&this.V2(a)};h.V2=function(){};h.UAa=function(a){a=a.data.errorCode;a=U2f[typeof a==="number"?a:0];(a===5||a===10)&&this.item.DN()&&(a=8);this.onError(a)};h.Ea=function(){this.item.isPlayable()||this.item.d9();QM.prototype.Ea.call(this)};h.cIa=function(){this.pause()}; var a3f=function(a,b,c){c+=a.item.getId();mK(a.getContext()).Df(c,{da:b,item:a.item})},y4=function(a,b,c,d){b+=a.item.getId();mK(a.getContext()).Xd(b,c,d)},b3f=function(a){vk.call(this,"ve");this.seekTo=a};S(b3f,vk);var c3f=function(a,b,c){x4.call(this,a,b,c);this.ready=!1;this.C=this.H=null;this.playerState=-1;OM(c.ha())||new GN;this.H=xg(c,N1c)};S(c3f,x4);h=c3f.prototype;h.XO=function(){this.R_();this.ready=!1;var a=this.B.docid,b=this.la().U(this.id),c=this.H,d=this.getItem(),e=this.id,f=this.Uda();c.B=new O2f(c.context,d,a,e,f);this.C=c.B;this.C.render(b);d3f(this)};h.dba=function(){};h.onReady=function(){this.isReady()||x4.prototype.onReady.call(this)}; h.onStateChange=function(a){var b=a.data.playerState;b!==void 0&&(this.playerState=b);x4.prototype.onStateChange.call(this,a)};h.onVideoProgress=function(a){a=a.data.value;a!==void 0&&this.getItem().Dn(Math.floor(a))};h.Tda=function(){return this.playerState};h.V2=function(a){this.C.dispatchEvent(a)};h.Ea=function(){var a;(a=this.C)==null||a.dispose();this.C=null;x4.prototype.Ea.call(this)}; var d3f=function(a){if(a.C){a.qa().listen(a.C,"te",function(c){return void a.onStateChange(c)});a.qa().listen(a.C,"se",function(c){return void a.onVideoProgress(c)});a.qa().listen(a.C,"re",function(){return void a.onReady()});a.qa().listen(a.C,"pe",function(c){return void a.UAa(c)});a.qa().listen(Vj(a.getContext()),"Ca",function(c){return void a.C.dispatchEvent(c)});var b=a.getContext().get(KDc);a.qa().listen(b.cg(),"Ac",function(c){return void a.C.dispatchEvent(c)});a.qa().listen(a.C,"qe",function(){a.dispatchEvent("je")}); a.qa().listen(a.C,"oe",function(c){switch(c.data.state){case 4:a3f(a,201,"vlic_");break;case 5:y4(a,"vlic_",1,Date.now());a3f(a,202,"vlir_");break;case 6:y4(a,"vlir_",1,Date.now());a3f(a,205,"vlpv_");break;case 7:y4(a,"vlpv_",1,Date.now());a3f(a,206,"vllv_");break;case 8:y4(a,"vllv_",1,Date.now());break;case 2:y4(a,"vlic_",2,Date.now()),y4(a,"vlir_",2,Date.now()),y4(a,"vlpv_",2,Date.now()),y4(a,"vllv_",2,Date.now())}});a.qa().listen(a.C,"ue",function(){a.dispatchEvent("ke")})}};h=c3f.prototype; h.sia=function(){};h.A5=function(){};h.seekTo=function(a){this.u6(a)};h.u6=function(a){this.C.dispatchEvent(new b3f(a))};h.kka=function(){};h.wka=function(){};h.uea=function(){return 0};h.sda=function(){return 0};h.Tfa=function(){return!1};var z4=function(a,b,c){x4.call(this,a,b,c);this.ready=this.ga=!1;this.volume=this.I=0;this.ja=!1;this.H=null;this.playerState=-1;this.R=OM(c.ha())||new GN;this.host=Ypc(this.R);this.L={onError:this.UAa.bind(this),onKeyPress:this.onKeyPress.bind(this),onReady:this.onReady.bind(this),onStateChange:this.onStateChange.bind(this),onTabOrderChange:this.X9a.bind(this),onVideoProgress:this.onVideoProgress.bind(this),onVolumeChange:this.onVolumeChange.bind(this)};this.qa().listen(this.la().getWindow(),"message", this.sa);xg(c,N1c)};S(z4,x4);z4.prototype.C=function(){return this.host};z4.prototype.XO=function(){this.R_();this.ready=!1;for(var a=Od(this.B),b=0;b0||(e?d:f)&&b-1&&this.H&&p3f(this);if(a===1){a=this.getContext().ha();if(dP(a)||Q(a,190))u3f(this),t3f(this,1);dP(a)||(this.isActive()?this.vj||(u3f(this),t3f(this,1)):this.C.pause())}};h.qxa=function(){var a=dP(this.getContext().ha())?0:250;this.L=$e(this.ka,a,this)};h.F2a=function(a){a.target!==this.F.U()&&this.ea===null&&o3f(this,!1,10)};h.q2a=function(){this.ea===null&&o3f(this,!1,2)}; h.Opa=function(){var a=this.getContext(),b=a.la().Uf();!this.Ia().contains(b)&&!Ova(a.get(gm))||this.fa&&this.fa.contains(b)||this.F&&b===this.F.U()||this.C&&b===X2f(this.C)||(this.D?o3f(this,!1,1):this.C&&this.C.isReady()&&(this.C.isPlaying()?this.C.pause():this.C.play()))};h.Qpa=function(){v3f(this)&&this.C.CP()};h.Ppa=function(){v3f(this)&&this.C.BP()}; var v3f=function(a){return!a.D&&!!a.C&&a.C.isReady()},n3f=function(a){var b=Pk(a.getContext().ha()),c=b===0;c=Vj(a.getContext()).eu&&c&&Vj(a.getContext()).Ma()===a.item;b=b===2;return c||S8b(a.item)&&b},u3f=function(a,b){var c=a.getContext(),d,e=((d=OM(c.ha()))==null?0:Q(d,5))?7:void 0;d=lK(c);d.rb({da:25,Eb:b,item:a.item,Hv:e,ye:w3f(a)});var f="ctp"+a.item.getId();mK(c).kk(f)||dP(c.ha())||a.ga||(a.ga=!0,mK(c).Df(f,{da:78,Eb:b,item:a.item,ir:n3f(a)?d.GM():Date.now(),Hv:e,ye:w3f(a)}));Dyc(a)},t3f= function(a,b){var c=x3f(a);if(mK(a.getContext()).kk(c)){var d=mK(a.getContext());a.C&&(a=a.C.getError(),b===2&&a!==null&&d.Xk(c,{error:a}));d.Xd(c,b)}},s3f=function(a){a.na=!0;a.item.H===2&&(a.C.getError()?wK(a.item,4,a.C.getError()):wK(a.item,1))},o3f=function(a,b,c){a.L!==null&&a.ka();u3f(a,c);b||y3f(a);a.H||(a.H=!0,a.C&&(a.item.ye||a.item.ea!==0?mP()&&a.C.play():W_f(a.item,UL(Vj(a.getContext()),a.item))),a.na&&p3f(a))},y3f=function(a){a.ea=$e(function(){this.ea=null;var b=this.la();if(b.Ja("ndfHFb-c4YZDc-aTv5jf-bVEB4e-RJLb9c", this.D)){b.og(this.D);var c=Ef(G$b,void 0,void 0,b);b.appendChild(this.D,c)}},50,a)}; A4.prototype.ka=function(){af(this.L);this.L=null;wK(this.item,2);var a=this.getContext();a:{var b=this.sa,c=this.item;var d=a.ha();d=ij(d,14,5);b="drive-viewer-video-player-object-"+String(b.B++);switch(d){case 5:a=c.As()===0?new l3f(b,c,a):dP(a.ha())?new c3f(b,c,a):new z4(b,c,a);break a;case 4:a=new j3f(b,c,a);break a}a=void 0}this.C=a;this.Ua(this.C);this.item.zc=this.C;this.qa().tc(this.C,"ee",this.qNa).tc(this.C,"fe",this.r2a).tc(this.C,"ge",this.pNa).listen(this.C,"he",this.rNa).listen(this.C, "ie",this.s2a).listen(this.C,"je",this.Ka).listen(this.C,"ke",this.Ca);this.C.render(this.I);dP(this.getContext().ha())?this.item.ye||this.item.ea!==0||W_f(this.item,UL(Vj(this.getContext()),this.item)):this.C.Ia().style.visibility="hidden"}; A4.prototype.handleGlobalKeyDown=function(a){if(v3f(this)){var b=[a.keyCode];a.shiftKey&&b.push(1);dP(this.getContext().ha())?(b=this.C,(Ova(this.getContext().get(gm))||this.la().Uf()===this.la().Mb().body||this.la().contains(b.U(),this.la().Uf()))&&b.handleGlobalKeyDown(a)):iK(this.getContext()).handler.R(b)||(b=this.C,(Ova(this.getContext().get(gm))||this.la().Uf()===b.U())&&b.handleGlobalKeyDown(a))}}; var r3f=function(a){var b=a.getContext().get(gm);a.C?b.focus(a.C.U()):bM(b)},p3f=function(a){a.H=!1;a.C.Ia().style.visibility="visible";if(a.D){var b=a.C.getError()!==null,c=a.getContext().ha();Q(c,190)||t3f(a,b?2:1);b&&!a.C.isReady()?a.item.Bd():(Ova(a.getContext().get(gm))&&r3f(a),a.D&&(b=a.la(),a.D.contains(b.Uf())&&r3f(a),af(a.ea),a.ea=null,ze(a.F),a.F=null,b.removeNode(a.D),a.D=null),FO(a),a.layout(),EO(a))}},w3f=function(a){var b=0;switch(a.item.As()){case 0:b=1;break;case 4:b=2;break;case 5:b= 3;break;case 6:b=4;break;case 1:b=5;break;case 7:b=6;break;case 3:b=7}b=pxb(new oxb,b);a=n3f(a);return gi(b,2,a)};A4.prototype.fd=function(){CO.prototype.fd.call(this);af(this.ja);af(this.L);this.L=this.ja=null;this.item.getState()===4&&this.item.Aq();wK(this.item,0);t3f(this,3)}; var z3f=function(a){if(!a.ga){a.ga=!0;var b=x3f(a);if(!mK(a.getContext()).kk(b)){var c=78;LBc(a.getContext().ha())&&Y_f(a.item)&&(c=219);mK(a.getContext()).Df(b,{da:c,Eb:10,item:a.item,ir:n3f(a)?lK(a.getContext()).GM():Date.now(),ye:w3f(a)})}}};A4.prototype.Ka=function(){z3f(this)};A4.prototype.Ca=function(){n3f(this)&&z3f(this)};var x3f=function(a){var b="ctp"+a.item.getId();LBc(a.getContext().ha())&&Y_f(a.item)&&(b="ctplp"+a.item.getId());return b};Ui(lDc,A4); B(); }catch(e){_DumpException(e)} // Google Inc.