":a)}return a};l.getContentType=function(){return this.g.getContentType()};l.getWidth=function(){return this.g.getWidth()};l.getHeight=function(){return this.g.getHeight()}; l.Pe=function(){return this.g.Pe()};l.Uf=function(){return this.g.Uf()};l.Ba=function(){return this.g.Ba()};var hR=function(a){var b;a=null==(b=a.g.getAd())?void 0:b.g;return null!=a?a.Ba():NaN};l=zS.prototype;l.getSize=function(){return this.g.getSize()};l.zb=function(){return this.g.zb()};l.getAdSlotId=function(){return this.h};l.getApiFramework=function(){return this.g.getApiFramework()||""};l.getAd=function(){return this.g.getAd()}; var aS=function(a,b){a.g.ad=b;a.gh.forEach(function(c){aS(c,b)})},AS=function(a){var b={};b.apiFramework=a.getApiFramework();b.content=a.getContent();b.size=a.getSize();b.fluidSize=a.Pe();b.resourceType=a.zb();b.resourceValue=a.g.g;b.contentType=a.getContentType();b.sequenceNumber=a.Ba();b.mainAdSequenceNumber=hR(a);b.adSlotId=a.getAdSlotId();b.backupCompanions=a.gh.map(function(c){return AS(c)});b.height=a.getSize().height;b.width=a.getSize().width;return b};var BS=function(a,b,c){this.resourceType=a;this.creativeType=b;this.g=c};BS.prototype.zb=function(){return this.resourceType};BS.prototype.getContentType=function(){return null==this.creativeType?null:JM[this.creativeType]||"Other"};var CS=function(a,b,c,d){vQ.call(this,a,b,"Html",c,d)};w(CS,vQ);CS.prototype.h=function(a){return new LK({height:this.getHeight(),width:this.getWidth(),Ma:this.g,attribution:a.ua},"html",a.jc)};CS.prototype.l=function(){var a=nf("DIV");mg(a,Bz(this.g));return wQ(this,a)};var DS=function(a,b,c,d){vQ.call(this,a,null!=b?b:new Ye(0,0),"Static",c,d);this.j=null==b};w(DS,vQ);DS.prototype.getContent=function(){var a=vQ.prototype.getContent.call(this);this.Cd&&(a=a.replace(' src=""',' src="'+jQ(D(this.g))+'"'));return a};DS.prototype.h=function(a){var b=this.Cd?"":jQ(D(this.g));return new LK({height:this.j?void 0:this.getHeight(),width:this.j?void 0:this.getWidth(),Ma:b,attribution:a.ua},"image",a.jc)}; DS.prototype.l=function(){var a=this.h(new AR).Ea(),b=nf("a",{target:"_blank",id:this.getAdId()});b.setAttribute("href",jQ(D(this.Db())));uD(this.Qd,b);b.appendChild(a);return b};var ES=function(a,b){vQ.call(this,a,b,"Static","text","");this.j=null};w(ES,vQ);ES.prototype.getSize=function(){return new Ye(this.getWidth(),this.getHeight())};ES.prototype.getHeight=function(){return 63};ES.prototype.getWidth=function(){return null!=this.j?Rn(this.j).width:0};var FS=function(a,b){if(null!=b){var c=nf("a");c.setAttribute("href",jQ(D(a.Db())));uD(a.Qd,c);var d;null==(d=b.parentElement)||d.replaceChild(c,b);c.appendChild(b)}}; ES.prototype.l=function(){this.j=this.h(new AR).Ea();this.j.id=this.getAdId();FS(this,ef("textImageContainer",this.j));FS(this,ef("overlayTextTitle",this.j));return this.j}; var GS=function(a,b){var c=a.getAd();if(!c)return{};a=MR(c,"AdSense");var d=MR(c,"TextAd"),e=d.fe||"",f="rtl";null!=e&&(f=Ox.test.call(Ox,e)?"rtl":"ltr");e={title:e,text:(d.ge||"")+" "+(d.he||""),dir:f};if(d=d.Ia)e.image=jQ(d),c=c.qa.find(function(g){return g instanceof rQ}),null!=c&&(e.duration=IB(c.getDuration()));a.Fc&&(e.Fc=a.Fc);e.attribution=a.ua?a.ua:b;return e};ES.prototype.h=function(a){return new LK(GS(this,a.ua),"text",a.jc)};function HS(a,b,c){if(0===c.length)return new vQ(a,b,"",null,"");var d=IS(c);c=d.zb();var e=d.creativeType;d=d.g;LO().report(95,{rt:c,ct:e});switch(c){case "Html":return new CS(a,b,e,d);case "Static":if(null!=e)switch(JM[e]){case "Image":return new DS(a,b,e,d);case "Text":return new ES(a,b)}}return new vQ(a,b,c,e,d)} function IS(a){var b=a.find(function(f){return"IFrame"===f.zb()}),c=a.find(function(f){return"Html"===f.zb()}),d=a.find(function(f){var g=f.creativeType;return"Static"===f.zb()&&null!=g&&"Image"===JM[g]}),e=a.find(function(f){var g=f.creativeType;return"Static"===f.zb()&&null!=g&&"Text"===JM[g]});return null!=b?b:null!=c?c:null!=d?d:null!=e?e:a[0]};function JS(a,b,c,d,e){var f=IS(e),g=HS(a.id,a.size,[f]),h=function(m){m.Cd=!0;m.da=a.da;m.Qd=b;m.sf=c;d&&(m.V=d);m.bb=!!a.bb};h(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(m){m=HS(a.id,a.size,[m]);h(m);k.push(new zS(m,[],a.gd))});return new zS(g,k,a.gd)};var KS=function(a,b){tR.call(this,b);this.h=a};w(KS,tR);var LS=function(a){tR.call(this);this.duration=a};w(LS,tR);LS.prototype.getDuration=function(){return this.duration};var MS=function(a){tR.call(this);this.lb=a};w(MS,tR);MS.prototype.be=function(){return this.lb};var NS=function(a,b,c,d,e,f,g,h,k){tR.call(this,h,k);this.ua=a;this.pb=b;this.Xd=c;this.Fc=d;this.h=e;this.cd=f;this.te=g};w(NS,tR);var OS=function(a,b){tR.call(this);this.h=a;this.offset=b};w(OS,tR);OS.prototype.isSkippable=function(){return this.h};var PS=function(){tR.call(this)};w(PS,tR);var QS=function(a){tR.call(this);this.Xe=a};w(QS,tR);var RS=function(a){tR.call(this);this.h=a};w(RS,tR);var SS=function(a){tR.call(this);this.h=a};w(SS,tR);var TS=function(a,b){tR.call(this,b);this.ld=a};w(TS,tR);var lS=function(a){var b=[];a=q(a.ld);for(var c=a.next();!c.done;c=a.next())c=c.value,1===c.type&&b.push(c);return 0=Number(c)?a:a=-1Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+ee(" ",a):f+ee(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return dT.f(parseInt(a, 10),b,c,d,0,f,g,h)}};dT.i=dT.d;dT.u=dT.d;var fT=function(a){this.j=a;this.h=!1};w(fT,QM); fT.prototype.g=function(){var a=this;try{var b=gT(this)}catch(d){throw EP(hN,d);}var c=b.g.map(function(d){var e=d.Xa,f=null,g=null,h=!1,k=null,m=!1,n=null,p=null;e instanceof oF?(f=e.vf,g=e.jd,k=e.description,n=e.kf):e instanceof iG&&(h=e.Sa,m=e.qd,p=e.tf);var r=hT(e.fa),t=null==r;a:{var v=e.Pa;if(C(D(v)))v="UNKNOWN";else switch(v=v.toUpperCase(),v){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a;default:v= "UNKNOWN"}}d=new FR(d.id||"",e.Pa,v,f,g,k,n,iT(e.fa),d.Oa||0,jT(e.g),kT(e.h),lT(e.qa,r),mT(e.qa),nT(e.fa,t),d,p,h,m,oT(e.lb),!r,a.h);e=rD(a.j)||0;d.F=e;$Q(d,"vl");return d});return new PM(c,null,b.mg)}; var hT=function(a){if(!V().j&&UO()||!(hz(YA)||hz(ZA)||hz(aB)||hz(bB)||hz($A)))return null;var b=a.find(function(e){return e instanceof vF}),c=a.find(function(e){return e instanceof GE});if(!(b instanceof vF)||c)return null;c=a.find(function(e){return e instanceof KE});a=a.find(function(e){return e instanceof eE});var d={};return d.channelCustomUrl=b.Df,d.channelId=b.Ic,d.channelThumbnailUrl=b.Ud,d.channelTitle=b.Vd,d.cpn=c instanceof KE?c.l:null,d.format=b.format,d.isSkippable="BUMPER"!=b.format&& "NONSKIPPABLE"!=b.format,d.isTrueView=b.uc,d.isVideoUnlisted=b.Hd,d.title=b.xe,d.videoThumbnailUrl=b.lf,d.wtaUrl=a instanceof eE?a.Sb:null,d.youtubeVideoId=b.Ec,d.engagedViewUrls=[],d.infoCards=[],d},pT=function(a,b){return xS(a)?wS(a,b):null},jT=function(a){var b=[];a.forEach(function(c){(c=pT(c,"error"))&&b.push(c)});return b},kT=function(a){var b=[];a.forEach(function(c){var d=pT(c.url,"impression");d&&b.push(new Zy(d,c.g))});return b},mT=function(a){var b=[];a.forEach(function(c){null!=c.Wd&& (c=qT(c.Wd,c.Oa||0),b.push(c))});return b},qT=function(a,b){var c=[];a.g.forEach(function(d){(d=rT(d,b))&&c.push(d)});return new yS(c,sT(a.h))},rT=function(a,b){var c={da:a.da,size:tT(a.width,a.height),id:a.id,gd:a.gd,bb:a.bb},d=a.Gf||null,e=uT(a.resources);if(0==e.length)return null;var f=vT(a.V);a.Hf.forEach(function(g){PO(f,"click",g.url,null,g.g)});return JS(c,d,b,f,e)},sT=function(a){a=null!=a?a.toLowerCase():"";return"all"==a?"all":"any"==a?"any":"none"},lT=function(a,b){var c=[];a.forEach(function(d){null!= d.dc?c.push(wT(d,b)):null!=d.ke&&(c=c.concat(xT(d)))});return c},wT=function(a,b){var c=a.dc,d=c.Va;b&&(d=eT("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",U.getLocale()),d=[new KD(new DD(d,"Url"),{mimeType:"text/html",da:"SIMID",ve:!1})]);d=new rQ(c.duration?c.duration/1E3:0,yT(c.ed),zT(c.xc),d,AT(c.Kb),BT(c.gb));var e=vT(c.V);CT(c.ed).forEach(function(f){PO(e,"click",f.url,null,f.g)});c.ed&&c.ed.Ee.forEach(function(f){b&&hz(ZA)&&"engagedView"==f.id?b.engagedViewUrls.push(f.url): PO(e,f.id?f.id:"",f.url)});b?lQ(d,JSON.stringify(b)):d.oa=c.oa||"";d.sf=a.Oa||0;d.Fg(a.id);d.Eg(a.adId);e&&(d.V=e);mQ(d,DT(a.Wa));return d},xT=function(a){var b=a.ke,c=vT(b.V);b=b.g.map(function(e){return ET(e,c)});if(0==b.length&&!c.isEmpty()){var d=new vQ(null,new Ye(-1,-1),"",null,"");c&&(d.V=c);b.push(d)}b.forEach(function(e){e.sf=a.Oa||0;e.Fg(a.id);e.Eg(a.adId);var f=DT(a.Wa);e.Wa=f});return b},ET=function(a,b){var c=-1;null!=a.Tc&&(c=a.Tc/1E3);var d=HS(a.id,tT(a.width,a.height),uT(a.resources)); d.oa=a.oa||"";d.da=a.da;d.Qd=a.ng;var e=new MO;a.og.forEach(function(f){PO(e,"click",f.url)});RO(e,b);e&&(d.V=e);d.Tc=c;return d},uT=function(a,b){b=void 0===b?!1:b;var c=[];a.forEach(function(d){var e=d.creativeType?d.creativeType.toLowerCase():null;a:{var f=d.resourceType;switch(f){case "Static":case "IFrame":case "Html":break a;default:f=null}}null==f||b&&"Static"!==f||"text/javascript"==e||c.push(new BS(f,e,d.Yc))});return c},BT=function(a){var b=[];a.forEach(function(c){(c=FT(c))&&b.push(c)}); return b},FT=function(a){var b=uT(a.resources,!0);if(0==b.length)return null;b=IS(b);var c=new gD;c.Bb=a.Bb||"";c.da=a.da;c.Za=a.Za;c.h=null!=a.width?a.width:NaN;c.g=null!=a.height?a.height:NaN;c.C=a.cf?a.cf:1;c.ub=a.ub?a.ub.toLowerCase():"left";c.vb=a.vb?a.vb.toLowerCase():"top";c.Da=null!=a.Da?a.Da:0;c.wb=null!=a.wb?a.wb:-1;var d=yT(a.de),e;c.o=null!=(e=null==d?void 0:d.url)?e:null;c.A=tD(d);c.B=CT(a.de).map(function(f){return f.url});c.j=GT(a.de);c.G=a.Le;c.l=b.g;c.O=b.creativeType;return c},zT= function(a){var b=[];a.forEach(function(c){c=new cT(c.sb?c.sb.toLowerCase():null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.na||0,c.na||0,c.maxBitrate||0,null!=c.width?c.width:NaN,null!=c.height?c.height:NaN,c.url,c.da);b.push(c)});return b},yT=function(a){var b;return null!=(b=null==a?void 0:a.Nb)?b:null},CT=function(a){var b=[];return null==a?b:a.lc},GT=function(a){return(null==a?[]:a.Ef).map(function(b){var c=new fD;c.h=b.width||0;c.g=b.height||0;c.j=b.Ma?b.Ma.Yc: "";c.Za=b.Za;return c})},vT=function(a){var b=new MO;a.forEach(function(c){var d=pT(c.url,c.eventType);if(d){var e=AT(c.Da);null==e&&null!=c.Id&&(e=new BR(c.Id,!0));PO(b,c.eventType,d,e,c.g)}});return b},nT=function(a,b){var c=new Map;a.forEach(function(d){var e=HT(d);d=e.type;e=e.Kl;if(null!=d&&null!=e&&(b||"InfoCards"!=d)){var f=c.get(d);null==f?c.set(d,e):"generic"==d&&uR(f,e.g)}});return c},HT=function(a){var b=null,c=null;if(a instanceof bE)b="activeview",c=new KS(a.g,vT(a.V));else if(a instanceof HL)b="wrapper_info",c=new LS(a.duration/1E3);else if(a instanceof rF)b="adVerifications",a=oT(a.lb),0!=a.length&&(c=new MS(a));else if(a instanceof JG)b="adx",c=new OS(a.h,AT(a.g));else if(a instanceof eE)b="AdSense",c=vT(a.V),c=new NS(a.ua,a.pb,a.Xd,a.Fc,a.Sb,IT(a.cd),a.te,c,a.je);else if(a instanceof KG)b="DFP",c=new wR("Generic"==a.g,vT(a.V));else if(a instanceof IE)b=a.h?"GfpCookieV2Extension":"GfpCookieV1Extension",c=new zR(ZC(YC(XC(WC(new VC,a.value),a.g),a.path),a.domain));else if(a instanceof KE)b="GoogleHostedMediaExtension",c=new RS(a);else if(a instanceof nF)try{var d=iv(be(a.g));c=new SS(d);b="GpidWtaExtension"}catch(f){}else if(a instanceof JL)b="inred_info",c=new US(a.g,a.h,a.j);else if(a instanceof pF)b="metrics",c=new VS(a.h,a.g);else if(a instanceof LL)b="pod",c=new aT(a.Oa);else if(a instanceof sF)b="programmatic",c=new XS(a.dealId);else if(a instanceof tF)b="sodar",c=new YS(a.j,a.h,a.l,a.g,"");else if(a instanceof ML)b="TextAd",c=new ZS(a.fe,a.ge,a.he,a.Ia,a.imageWidth,a.imageHeight); else if(a instanceof uF)b="uiSettings",c=new $S(a.g);else if(a instanceof NL)b="waterfall",c=new bT(a.g);else if(a instanceof aE)b="generic",c=new tR(vT(a.V));else if(a instanceof GE){b="InfoCards";var e=[];a.ld.forEach(function(f){return e.push.apply(e,u(f.V))});c=new TS(a.ld,vT(e))}else if(a instanceof HE)b="esp",c=new xR(a.g);else if(a instanceof IL)b="watermark",c=new QS(a.Xe,a.h,a.g);else if(a instanceof KL){if(a=FT(a.g))b="nonlinearAta",c=new WS(a)}else a instanceof fE&&(a=FT(a.g))&&(b="companionAta", c=new PS(a));return{type:b,Kl:c}},DT=function(a){return a.map(function(b){return new nD(b.Ne,b.Me)})},oT=function(a){var b=[];a.forEach(function(c){if(null!=c.re){var d=vT(c.V).getEvents("verificationNotExecuted");b.push(new aD(c.re,{Dc:c.Dc||void 0,V:d,vendor:c.vendor||void 0,parameters:c.parameters||void 0}))}});return b},IT=function(a){var b=new AR;if(null==a)return b;null!=a.ua&&(b.ua=a.ua);b.pb=a.pb;b.kd=a.kd;b.jc=a.jc;return b},iT=function(a){var b="";a.forEach(function(c){c instanceof sF&& (b=c.dealId||"")});return b},tT=function(a,b){return new Ye(null!=a?a:NaN,null!=b?b:NaN)},AT=function(a){return null==a?null:new BR(a/1E3,!1)},gT=function(a){var b=new AG;BG(b,new OL);BG(b,new TL);BG(b,new QL);BG(b,new XL);BG(b,new fM);BG(b,new mM);BG(b,new aM);BG(b,new qM);BG(b,new ZL);BG(b,new bM);BG(b,new YL);BG(b,new jM);BG(b,new UL);BG(b,new $L);BG(b,new PL);BG(b,new SL);BG(b,new WL);BG(b,new hM);BG(b,new iM);BG(b,new kM);BG(b,new lM);BG(b,new nM);BG(b,new oM);BG(b,new pM);BG(b,new VL);var c= a.j;if(!c)throw Error("VAST string is empty.");if(!qD(c))throw Error("Response string is not a valid VAST document.");a=[];var d=[];c=q(wf(c));for(var e=c.next();!e.done;e=c.next()){var f=e.value;switch(f.nodeName){case "Ad":var g=void 0,h=b;e={};e.id=f.getAttribute("id");e.Oa=jG(f,"sequence");e.Hc=f.getAttribute("adType");f=q(wf(f));for(var k=f.next();!k.done;k=f.next()){var m=k.value;if("InLine"==m.nodeName){var n=k=f=g=void 0,p=void 0,r=void 0,t=void 0,v=[],A=[],H=[],J=[];m=q(wf(m));for(var I= m.next();!I.done;I=m.next()){var Q=I.value;switch(Q.nodeName){case "AdServingId":t=T(Q);break;case "AdSystem":r=T(Q);break;case "AdTitle":p=T(Q);break;case "AdVerifications":J=J.concat(qG(Q));break;case "Advertiser":n=T(Q);break;case "Creatives":I=q(wf(Q));for(Q=I.next();!Q.done;Q=I.next())Q=Q.value,"Creative"==Q.nodeName&&H.push(EG(Q));break;case "Description":k=T(Q);break;case "Error":null!=T(Q)&&v.push(T(Q));break;case "Extensions":g=CG(h,wf(Q));break;case "Impression":I=uG(T(Q));Q=nG(Q);null!= I&&A.push(new VD(I,Q));break;case "Survey":f=T(Q)}}g=new oF({fd:t,Pa:r,jd:p,vf:n,description:k,kf:f,errors:v,tc:A,qa:H,lb:J,fa:g});break}else if("Wrapper"==m.nodeName){f=k=g=void 0;n=h;J=m;p=[];r=[];t=[];h=[];v="false"!=J.getAttribute("followAdditionalWrappers");A="true"==J.getAttribute("allowMultipleAds");H="true"==J.getAttribute("fallbackOnNoAd");J=q(wf(J));for(m=J.next();!m.done;m=J.next())switch(I=m.value,I.nodeName){case "AdSystem":f=T(I);break;case "VASTAdTagURI":k=(k=T(I))?k:void 0;break;case "Creatives":m= q(wf(I));for(I=m.next();!I.done;I=m.next())I=I.value,"Creative"==I.nodeName&&t.push(EG(I));break;case "Error":m=T(I);null!=m&&p.push(m);break;case "AdVerifications":h=h.concat(qG(I));break;case "Extensions":g=CG(n,wf(I));break;case "Impression":m=uG(T(I)),I=nG(I),null!=m&&r.push(new VD(m,I))}g=new iG({Pa:f,qd:v,Sa:A,Hh:H,tf:k,errors:p,tc:r,qa:t,lb:h,fa:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new YD(g,e));break;case "Error":(e=T(f))&&d.push(e)}}Sz(["lima_p_ich", "lima_p_icu"]);return new hG({wa:a,mg:d})};var JT=function(a,b){this.l=a;this.j=b;this.h=null;LO().report(115,{vmap:!0})};w(JT,QM);JT.prototype.g=function(){this.h||(this.h=new PM(null,KT(this),[]));return this.h}; var KT=function(a){var b=new yP,c=new xM;yM(c);try{var d=AM(c,a.l)}catch(e){throw EP(aN);}d.g.forEach(function(e){var f=e.h;var g=f.uf;f=f.Nd;g?g=SB(a.j,g):f?(g=a.j.clone(),g.adTagUrl=null,g.adsResponse=f,g.l=!0):g=null;null!=g&&(g=LT(e,g),b.add(e.g,[g]))});if(0==AP(b).length)throw EP(aN);return b},LT=function(a,b){b=new SO(b);var c=new MO;a.fa.find(function(d){return d instanceof vM})&&(b.g=!0);a.V.forEach(function(d){var e=d.eventType,f=wS(d.url,e);f&&xS(f)&&null!=e&&PO(c,d.eventType,f)});b.V=c; return b};function MT(a,b){if(null!=a){if(a&&"Playlist"==a.nodeName)return new GP(a,b);if(zM(a))return new JT(a,b);if(qD(a))return new fT(a)}return null};var NT=function(){Ho.apply(this,arguments);this.g=new Set};w(NT,Ho);var OT=function(a,b){var c=Iu(function(){a.g.delete(c);b.call(a)});a.g.add(c)};NT.prototype.K=function(){this.g.forEach(function(a){return Ju(a)});this.g.clear()};function PT(a){for(var b=a.length,c=new Uint8Array(b),d=0;d";a.o=b;a.j=c;a.h=d;a.g=e;a.B=!1;a.l=f;a.A=[]}else a.setContent(this.getContent(),this.j,this.h,this.g,this.B,this.l,this.A);return a};var XT=function(){G.call(this);this.h=[]};w(XT,G);XT.prototype.A=function(){return null};XT.prototype.H=function(){return!0};var YT=function(){return new FR("empty-ad","GDFP","GDFP","","","","","",0,[],[],[],[],new Map,new YD(new iG))};XT.prototype.C=function(){return null};XT.prototype.J=function(){return y(function(a){a.g=0})};var ZT=function(){this.g=null;this.B=this.A=this.o=this.l=this.j=this.h="";this.C=this.O=!1;this.J=this.networkCode="";this.I=!1;this.Ec="";this.omidAccessModeRules={};this.adTagUrl=this.F=this.H=this.region=this.R="";this.G=!1;this.format="hls"};var $T={LOADED:"loaded",kj:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",ij:"pause",jj:"resume",Qi:"bufferStart",Pi:"bufferFinish",SKIPPED:"skipped",Bp:"volumeChange",Ko:"playerStateChange",un:"adUserInteraction"};function aU(a,b){return a&&(a[b]||(a[b]={}))}function bU(a,b){var c;if(c=void 0===c?"undefined"===typeof omidExports?null:omidExports:c)a=a.split("."),a.slice(0,a.length-1).reduce(aU,c)[a[a.length-1]]=b};function cU(a){for(var b=q(dU.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=q(dU.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var dU=new Map([[2,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.moatads\.com\/.*$/]],[3,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.doubleverify\.com\/.*$/,/^(https?:\/\/|\/\/)?c\.[\w\-]+\.com\/vfw\/dv\/.*$/,/^(https?:\/\/|\/\/)?(www\.)?[\w]+\.tv\/r\/s\/d\/.*$/,/^(https?:\/\/|\/\/)?(\w\.?)+\.dv\.tech\/.*$/]],[4,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.adsafeprotected\.com\/.*$/]],[5,[/^https?:\/\/(q|cdn)\.adrta\.com\/s\/.*\/(aa|aanf)\.js.*$/,/^https:\/\/cdn\.rta247\.com\/s\/.*\/(aa|aanf)\.js.*$/]],[6,[]],[7,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.voicefive\.com\/.*$/, /^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.measuread\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.scorecardresearch\.com\/.*$/]],[8,[/^(https?:\/\/|\/\/)?s418\.mxcdn\.net\/bb-serve\/omid-meetrics.*\.js$/]],[9,[/^(https?:\/\/|\/\/)?pagead2\.googlesyndication\.com\/.*$/,/^(https?:\/\/|\/\/)?www\.googletagservices\.com\/.*$/]]]);bU("OmidSessionClient.verificationVendorIdForScriptUrl",cU); bU("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var eU=Object.values({LIMITED:"limited",DOMAIN:"domain",FULL:"full"});function fU(a,b){var c=Object.keys(a);return 0===c.length?"limited":c.some(function(d){return eU.includes(d)})?gU(a,b):hU(a,b)}function gU(a,b){return iU(a,"limited",b)?"limited":iU(a,"domain",b)?"domain":iU(a,"full",b)?"full":"limited"}function iU(a,b,c){return(a[b]||[]).some(function(d){return d.test(c)})}function hU(a,b){b=cU(b);Object.keys(a).includes(""+b)||(b=1);return(a=a[b])&&eU.includes(a)?a:"limited"};var jU=function(a,b,c,d){this.isSkippable=a;this.skipOffset=b;this.g=c;this.position=d};jU.prototype.toJSON=function(){return{isSkippable:this.isSkippable,skipOffset:this.skipOffset,isAutoPlay:this.g,position:this.position}};function kU(a,b){if(!b)throw Error("Value for "+a+" is undefined, null or blank.");if("string"!==typeof b&&!(b instanceof String))throw Error("Value for "+a+" is not a string.");if(""===b.trim())throw Error("Value for "+a+" is empty string.");}function lU(a,b){if(null==b)throw Error("Value for "+a+" is undefined or null");}function mU(a,b){if(null==b)throw Error(a+" must not be null or undefined.");if("number"!==typeof b||isNaN(b))throw Error("Value for "+a+" is not a number");} function nU(a,b){mU(a,b);if(0>b||1c;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d(null==a.l?0:a.l.getVolume()))break;a.B.shift();var c=a;if(b instanceof MP){var d=void 0;switch(b.type){case "loaded":$Q(c.g,"oml");b=c.F;d=b.loaded;var e=c;c="preroll";0>e.g.getAdPodInfo().getPodIndex()?c="postroll":0b;b++){e=c[b-15]|0;d=c[b-2]|0;var f=(c[b-16]|0)+((e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,g=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+g|0}d=a.g[0]|0;e=a.g[1]|0;var h=a.g[2]|0,k=a.g[3]|0,m=a.g[4]|0,n=a.g[5]|0,p=a.g[6]|0;f=a.g[7]|0;for(b=0;64>b;b++){var r=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&h^e&h)|0;g=m&n^~m&p;f=f+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>> 25|m<<7))|0;g=g+(pV[b]|0)|0;g=f+(g+(c[b]|0)|0)|0;f=p;p=n;n=m;m=k+g|0;k=h;h=e;e=d;d=g+r|0}a.g[0]=a.g[0]+d|0;a.g[1]=a.g[1]+e|0;a.g[2]=a.g[2]+h|0;a.g[3]=a.g[3]+k|0;a.g[4]=a.g[4]+m|0;a.g[5]=a.g[5]+n|0;a.g[6]=a.g[6]+p|0;a.g[7]=a.g[7]+f|0},uV=function(a,b,c){void 0===c&&(c=b.length);var d=0,e=a.h;if("string"===typeof b)for(;d=f&&f==(f|0)))throw Error("message must be a byte array"); a.l[e++]=f;e==a.blockSize&&(tV(a),e=0)}else throw Error("message must be string or array");a.h=e;a.j+=c},vV=function(a){var b=[],c=8*a.j;56>a.h?uV(a,sV,56-a.h):uV(a,sV,a.blockSize-(a.h-56));for(var d=63;56<=d;d--)a.l[d]=c&255,c/=256;tV(a);for(d=c=0;d>e&255;return b},qV=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401, 4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var xV=function(){rV.call(this,8,wV)};Ua(xV,rV);var wV=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var yV=function(a,b){return 0==a.indexOf(b)?a.substr(b.length):null};function zV(a){var b="";a.forEach(function(c,d){C(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)};var AV=["300x250","640x640","301x301"];function BV(a){var b=[];a.forEach(function(c){0vq?"p":"l");Ae.set("ctv",String(aP()));var nm=new Map;C(U.getPlayerType())||(nm.set("mpt",U.getPlayerType()),C(U.getPlayerVersion())||nm.set("mpv",U.getPlayerVersion()));var om=new Map;ZO()||om.set("wta","0");if(a instanceof RB&&a.l&&null!==a.adTagUrl){for(var gx=V().g,hx=a.adTagUrl,wq=RN(gx),ix=HN(hx),pm=q(GN),lj=pm.next();!lj.done;lj=pm.next()){var mj= lj.value;"redundant"===ix[mj]&&wq.set(mj,"redundant")}var qm=wq}else qm=RN(V().g);var rm=qm;var xq=Map,sm=[],yq=sm.concat,zq=u(om);var Wd=new Map;SN(V().g)||(C(U.l)||Wd.set("adsid",U.l),C(U.R)||Wd.set("pucrd",U.R),C(U.O)||Wd.set("jar",U.O));var Aq=new xq(yq.call(sm,zq,u(Wd),u(rm)));var Gh=new Map,qg=V().Wb,Hh=V().Oi;Hh&&qg&&0qg&&(Gh.set("dlt",qg.toString()),Gh.set("idt",(Hh-qg).toString()));Gh.set("dt",Nm().toString());var tf,Bq=null!=(tf=a.adTagUrl)?tf:"",nj=new Fw(Bq),Cq,tm=null!=(Cq=a.pageUrl)? Cq:"",um;var Dq=null!=(um=Tw(nj,"url"))?um:"";var rg=nE(tm)?tm:Dq,vm=FV(nj);var wm=nE(V().h)?V().h:nE(V().referrer)?V().referrer:"null";var jx=nE(rg)?rg:vm,Be=new Fw(jx),Eq=new Fw(V().zd),Fq=new Fw(V().h),oj="unknown";Uw(Fq,Eq)?oj="flat":Uw(Be,Eq)?oj="bottom":Uw(Be,Fq)&&(oj="top");LO().report(160,{contentLocation:oj});var Xd=new Map,Gq=V().referrer;C(D(Gq))||Xd.set("ref",Gq);var Hq=V().zd;if(nE(rg))Xd.set("url",rg),GV(Xd),Xd.set("loc",Hq);else if(hz(cB))Xd.set("url",Hq),GV(Xd);else{Xd.set("url",wm); var pj=V().Rg;if(null!=pj){var Iq=Vw(wm),Jq=Vw(pj);Iq.h!=Jq.h&&Xd.set("top",pj)}}var Kq=c.ej||{},sg=new Map([].concat(u(r),u(fd),u(Ae),u(nm),u(Kq),u(Aq),u(b),u(Xd),u(Gh)));if(hz(oB)||hz(pB)||hz(qB)||hz(rB))try{var tg,Ce=null!=(tg=c.Ii)?tg:new Map,qj=[];hz(pB)&&qj.push("loc","ref","top","url");hz(qB)&&qj.push("u_ah","u_aw","u_cd","u_his","nhd","u_h","u_w","u_tz");hz(rB)&&qj.push("scar","u_so","vp_h","vp_w");for(var rj=q(Ce.keys()),sj=rj.next();!sj.done;sj=rj.next()){var xm=sj.value;qj.includes(xm)|| Ce.delete(xm)}for(var ym=new Map([].concat(u(sg),u(Ce))),zm=[],tj=[],Am=[],uj=q(ym.keys()),vj=uj.next();!vj.done;vj=uj.next()){var De=vj.value;Ce.has(De)&&sg.has(De)?Am.push(De):Ce.has(De)?zm.push(De):tj.push(De)}LO().report(180,{palk:zm.sort(),imak:tj.sort(),ovlk:Am.sort()},!0);return ym}catch(Cm){var Bm;LO().report(181,{message:null==(Bm=Cm)?void 0:Bm.message});return sg}else return sg} function HV(a,b){var c=new Map,d=$K(a),e=V().P;VO(e)||(d=ZK(d));d.some(function(f){return YK(f)})&&null!=b.nonLinearAdSlotWidth&&null!=b.nonLinearAdSlotHeight&&(b=XK(b),c.set("image_size",b),C(b)&&(d=d.filter(function(f){return!YK(f)})));c.set("ad_type",d.join("_"));b=d.some(function(f){return"text"===f});c.set("num_ads",b?"3":"1");a=aL(a,"t_pyv");C(a)&&(a=b?"allow":"exclude");c.set("t_pyv",a);d.some(function(f){return"bumpervideo"===f||"skippablevideo"===f||"standardvideo"===f||"video"===f})&&(d= 6<=Wc("Chromium")||4<=Wc("Firefox")||Fe&&rE(qE,2.3)?43:18,c.set("video_format",d.toString()));return c}function GV(a){var b=V().h;a.set("top",null!=b?b:"")}function FV(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=Tw(a,c)||"";return nE(c)?(b=c,!0):!1});return b}function IV(a){if(!a)return null;cC(a);return a};var JV=function(){this.g=[];this.h=[]},KV=function(a){0===a.g.length&&(a.g=a.h,a.g.reverse(),a.h=[])},LV=function(a,b){a.h.push(b)};l=JV.prototype;l.isEmpty=function(){return 0===this.g.length&&0===this.h.length};l.clear=function(){this.g=[];this.h=[]};l.contains=function(a){return jb(this.g,a)||jb(this.h,a)}; l.remove=function(a){var b=this.g;b:{var c=b.length-1;0>c&&(c=Math.max(0,b.length+c));if("string"===typeof b)c="string"!==typeof a||1!=a.length?-1:b.lastIndexOf(a,c);else{for(;0<=c;c--)if(c in b&&b[c]===a)break b;c=-1}}0<=c?(lb(b,c),b=!0):b=!1;return b||kb(this.h,a)};l.Je=function(){for(var a=[],b=this.g.length-1;0<=b;--b)a.push(this.g[b]);var c=this.h.length;for(b=0;ba||a>=Math.pow(2,32))throw new Y("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;4>e;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},MW=new Uint8Array(0);var NW=function(a,b,c){this.h=a;this.identifier=b;this.g=c};NW.prototype.Fb=function(){return this.h};var OW=function(a){this.j=a;this.h=null;this.g=new Map};OW.prototype.Ua=function(){return this.j};var QW=function(a,b){return(a=PW(a,b))?a:[]},PW=function(a,b){b instanceof Uint8Array&&(b=[].concat(u(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function RW(a){null==a?a=void 0:a=(a=Vh(a))?new Uint8Array(a):Ph();return a}function SW(a){null==a?a=void 0:a=(a=Vh(a))?a.length:0;return a};function TW(){for(var a=0,b=0;ba)throw new Y("cannot convert negative number");if(a>Number.MAX_SAFE_INTEGER)throw new Y("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=Math.pow(2,32),c=a%b;a/=b;b=new Uint8Array(8);for(var d=7;4<=d;d--)b[d]=c&255,c>>>=8;for(c=3;0<=c;c--)b[c]=a&255,a>>>=8;return b}function VW(a){for(var b="",c=0;ca&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(2*a);d.set(c,0);d.set(b, a);return d;case 2:b=c.x;d=c.y;if(void 0===b)throw new Y("x must be provided");if(void 0===d)throw new Y("y must be provided");c=WW(b);b=WW(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(1+a);d.set(c,1+a-c.length);d[0]=dX(BigInt("0x"+VW(b)),0)?3:2;return d;default:throw new X("invalid format");}} function eX(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new Y("invalid curve");}} function fX(a){a=a.toString(16);a=0===a.length%2?a:"0"+a;if(0!=a.length%2)throw new Y("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c=d)throw new X("x is out of range");d=eX($W(a));var e=d-BigInt(3);a:switch($W(a)){case 1:var f=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");break a;case 2:f=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");break a;case 3:f=BigInt("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"); break a;default:throw new Y("invalid curve");}if(d<=BigInt(0))throw new Y("p must be positive");e=((c*c+e)*c+f)%d%d;if(dX(d,0)&&dX(d,1)){var g=d+BigInt(1)>>BigInt(2);if(g===BigInt(0))f=BigInt(1);else{f=e;g=g.toString(2);for(var h=1;hb){for(var d=0;da)throw new Y("n must be a nonnegative integer");a=new Uint8Array(a);globalThis.crypto.getRandomValues(a);return a};var yX=function(a){if(!a||!Nk(a,GW,2)||1>Nk(a,GW,2).length)throw new X("Keyset should be non null and must contain at least one key.");for(var b=!1,c=Nk(a,GW,2).length,d=0;da||a>b)throw new X("Version is out of bound, must be between 0 and "+b+".");};var FX=function(a,b){this.key=a;this.Pc=b};FX.prototype.encrypt=function(a){var b=this,c,d,e,f;return y(function(g){if(1==g.g)return DX(a),c=xX(b.Pc),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},x(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.h;return g.return(TW(c,new Uint8Array(f)))})}; FX.prototype.decrypt=function(a){var b=this,c,d,e;return y(function(f){if(1==f.g){DX(a);if(a.lengthb||16c)throw new Y("tag too short, must be at least "+(10).toString()+" bytes");switch(a){case "SHA-1":if(20c||16b)throw new X("Invalid AES CTR HMAC key format: HMAC key is too small: "+ Tk(a,2));a=E(a,QV,1);if(!a)throw new X("Invalid AES CTR HMAC key format: params undefined");var c=Tk(a,2);if(10>c)throw new X("Invalid HMAC params: tag size "+c+" is too small.");if(!RX.has(Vk(a,1)))throw new X("Unknown hash type.");if(c>RX.get(Vk(a,1)))throw new X("Invalid HMAC params: tag size "+c+" is out of range.");switch(Vk(a,1)){case 1:var d="SHA-1";break;case 3:d="SHA-256";break;case 4:d="SHA-512";break;default:d="UNKNOWN HASH"}return{jm:a,im:b,gm:d,bd:c}},RX=new Map([[1,20],[3,32],[4,64]]), SX=function(){this.g=new OX};l=SX.prototype; l.Fb=function(a,b){var c,d,e,f,g,h=this,k,m,n,p,r,t;return y(function(v){if(1==v.g){if(a!=h.Ua())throw new X("Requested primitive type which is not supported by this key manager.");if(b instanceof EW){if(!h.Yd(Uk(b,1)))throw new X("Key type "+Uk(b,1)+" is not supported. This key manager supports "+h.fb()+".");try{k=VV(Ik(b,2))}catch(I){throw new X("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(null===k||void 0===k)throw new X("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"); }else if(b instanceof UV)k=b;else throw new X("Given key type is not supported. This key manager supports "+h.fb()+".");var A=E(k,OV,2);if(!A)throw new X("Invalid AES CTR HMAC key format: key undefined");EX(A.getVersion(),h.getVersion());var H=new WV;var J=E(A,MV,2);H=Ok(H,1,J);J=SW(Ik(A,3));H=Yk(H,2,J);H=PX(H).Pc;f=RW(Ik(A,3));g=H;m=f;n=g;A=E(k,SV,3);if(!A)throw new X("Invalid AES CTR HMAC key format: key undefined");EX(A.getVersion(),h.getVersion());H=new YV;J=E(A,QV,2);H=Ok(H,1,J);J=SW(Ik(A,3)); H=Yk(H,2,J);J=QX(H);H=J.gm;J=J.bd;c=RW(Ik(A,3));d=H;e=J;p=c;r=d;t=e;return x(v,NX(m,n,r,p,t),2)}return v.return(v.h)})};l.Yd=function(a){return a===this.fb()};l.fb=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};l.Ua=function(){return AX};l.getVersion=function(){return 0};l.ae=function(){return this.g};var TX=function(a){var b=a.Bc;this.key=a.key;this.Bc=b};TX.prototype.encrypt=function(a,b,c){var d=this,e,f;return y(function(g){if(1==g.g){if(12!==a.length)throw new X("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return x(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.h;return g.return(d.Bc?TW(a,new Uint8Array(f)):new Uint8Array(f))})}; TX.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return y(function(m){if(1==m.g){e=d.Bc?28:16;if(b.length=a)throw new Y("size must be positive");switch(b){case "SHA-1":f=20;if(5100>8*(a-d-1)&255;return c}function HY(a){var b=a.Nc;return TW(GY,a.tb,XW(a.Oc),b)}function IY(a){var b=a.Bd,c=a.info,d=a.tb;return TW(wY(2,a.length),GY,d,XW(b),c)}function JY(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Y("Unrecognized NIST HPKE KEM identifier");}} function KY(a,b){var c;return y(function(d){return 1==d.g?(c=gX(a,1,b),x(d,kX(c),2)):d.return(d.h)})}function LY(a){var b=a.vh,c=a.publicKey,d=a.privateKey,e;return y(function(f){return 1==f.g?(e=gX(b,1,c),e.d=YW(d),x(f,lX(e),2)):f.return(f.h)})}function MY(a){var b,c;return y(function(d){if(1==d.g)return b=a.algorithm,x(d,jX(a),2);c=d.h;if(!c.crv)throw new X("Curve has to be defined.");return d.return(cX(b.namedCurve,1,c))})};var NY=function(a,b,c,d){this.Ch=a;this.key=b;this.j=c;this.h=d;this.g=BigInt(0);this.l=(BigInt(1)<d;d++)c[d]=Number(b>>BigInt(8*(12-d-1)))&255;b=a.j;if(b.length!==c.length)throw new Y("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e=a.l)throw new X("message limit reached");a.g+=BigInt(1);return d}; function PY(a,b,c,d,e,f){var g,h,k,m,n,p,r;return y(function(t){switch(t.g){case 1:a:{switch(e.Zf){case 16:var v=CY;break a;case 32:v=DY;break a}v=void 0}a:{switch(d.Vf){case "SHA-256":var A=AY;break a;case "SHA-512":A=BY;break a}A=void 0}g=TW(FY,QY(c),A,v);return x(t,RY(d,{Nc:new Uint8Array(0),Oc:"psk_id_hash",tb:g}),2);case 2:return h=t.h,x(t,RY(d,{Nc:f,Oc:"info_hash",tb:g}),3);case 3:return k=t.h,m=TW(xY,h,k),x(t,RY(d,{Nc:new Uint8Array(0),Oc:"secret",tb:g,salt:b}),4);case 4:return n=t.h,x(t,SY(d, {Yj:n,info:m,Bd:"key",tb:g,length:e.Zf}),5);case 5:return p=t.h,x(t,SY(d,{Yj:n,info:m,Bd:"base_nonce",tb:g,length:12}),6);case 6:return r=t.h,t.return(new NY(a,p,r,e))}})}function TY(a,b,c,d,e){var f,g,h;return y(function(k){return 1==k.g?x(k,b.Bh(a),2):3!=k.g?(f=k.h,g=f.Ch,h=f.Um,x(k,PY(g,h,b,c,d,e),3)):k.return(k.h)})}function UY(a,b,c,d,e,f){var g;return y(function(h){return 1==h.g?x(h,c.wh(a,b),2):3!=h.g?(g=h.h,x(h,PY(a,g,c,d,e,f),3)):h.return(h.h)})};var VY=function(a,b){this.privateKey=a;this.publicKey=b},WY=function(a){return y(function(b){return 1==b.g?x(b,MY(a.publicKey),2):b.return(b.h)})};function XY(a){var b=a.privateKey,c=a.publicKey,d=a.vh,e,f;return y(function(g){if(1==g.g){if(!b)throw new Y("KEM private key was null or undefined");if(!c)throw new Y("KEM public key was null or undefined");return x(g,KY(ZW(d),c),2)}if(3!=g.g)return e=g.h,x(g,LY({vh:ZW(d),publicKey:c,privateKey:b}),3);f=g.h;return g.return(new VY(f,e))})} function YY(a){return y(function(b){ZY(a.privateKey,"private");ZY(a.publicKey,"public");return b.return(new VY(a.privateKey,a.publicKey))})}function ZY(a,b){if(b!==a.type)throw new Y("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new Y("keyPair "+b+" key should be ECDH but found "+a.name);};var $Y=function(a){this.Zf=a};$Y.prototype.seal=function(a){var b=a.key,c=a.nonce,d=a.Km,e=a.eh,f=this,g;return y(function(h){if(1==h.g){if(b.length!==f.Zf)throw new X("Unexpected key length: "+b.length.toString());return x(h,UX({key:b,Bc:!1}),2)}return 3!=h.g?(g=h.h,x(h,g.encrypt(c,d,e),3)):h.return(h.h)})}; $Y.prototype.open=function(a){var b=a.key,c=a.nonce,d=a.yl,e=a.eh,f=this,g;return y(function(h){if(1==h.g){if(b.length!==f.Zf)throw new X("Unexpected key length: "+b.length.toString());return x(h,UX({key:b,Bc:!1}),2)}g=h.h;return h.return(g.decrypt(c,d,e))})};var aZ=function(a){this.Vf=a},RY=function(a,b){var c=b.Nc,d=b.Oc,e=b.tb,f=b.salt;return y(function(g){return 1==g.g?x(g,bZ(a,HY({Oc:d,Nc:c,tb:e}),f),2):g.return(g.h)})},SY=function(a,b){var c=b.Yj,d=b.info,e=b.Bd,f=b.tb,g=b.length;return y(function(h){return 1==h.g?x(h,a.expand(c,IY({Bd:e,info:d,tb:f,length:g}),g),2):h.return(h.h)})},cZ=function(a,b){var c=b.Nc,d=b.Oc,e=b.info,f=b.Bd,g=b.tb,h=b.length,k=b.salt,m;return y(function(n){return 1==n.g?x(n,bZ(a,HY({Oc:d,Nc:c,tb:g}),k),2):3!=n.g?(m=n.h, x(n,a.expand(m,IY({Bd:f,info:e,tb:g,length:h}),h),3)):n.return(n.h)})}; aZ.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,m,n;return y(function(p){switch(p.g){case 1:if(!Number.isInteger(c))throw new X("length must be an integer");if(0>=c)throw new X("length must be positive");e=dZ(d);if(c>255*e)throw new X("length too large");DX(b);return x(p,LX(d.Vf,a,e),2);case 2:f=p.h,g=1,h=0,k=new Uint8Array(0),m=new Uint8Array(c);case 3:return n=new Uint8Array(k.length+b.length+1),n.set(k,0),n.set(b,k.length),n[n.length-1]=g,x(p,JX(f,n),6);case 6:k=p.h;if(h+k.length=e.length)var m=String.fromCharCode.apply(null,e);else{m="";for(var n=0;nMath.pow(5,2))a.o=!0},touchend:function(b){return void OZ(a,b)}},Hb(a.F,function(b,c){a.g.addEventListener(c,b,!1)})):R(a.H,a.g,"click",a.P)},MZ=function(a){OF(a.H,a.g,"click",a.P);Hb(a.F,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.F={}},OZ=function(a,b){!a.B||1!==a.h||a.o||a.J||a.A||!NZ(a,b.changedTouches)||(a.j=window.setTimeout(function(){return void QZ(a)},300));a.h=b.touches.length;0===a.h&&(a.B=!1,a.o=!1,a.l=[]);a.J=!1};LZ.prototype.P=function(){QZ(this)}; var NZ=function(a,b){for(var c=0;c
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return Xx(c+"")},WZ=function(){return Xx('
')};var XZ=function(){jK.call(this);this.element=zy(WZ);this.h=ef("fullSlotContentContainer",this.element);this.j=ef("fullSlotBottomBar",this.element)};w(XZ,lK);var YZ=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)},ZZ=function(a,b){a.h&&b.element&&a.h.appendChild(b.element)};var $Z=function(a,b,c,d,e,f,g){UZ.call(this,b);this.l=a;this.o=[];this.A=c;this.B=d;this.G=e;this.C=f;this.F=g;this.g=new XZ;this.j=new KF(this);this.h=0};w($Z,UZ);l=$Z.prototype; l.build=function(){var a=this;mK(this.g,this.A);this.l.forEach(function(d,e){d=d.h(a.B);a.o.push(d);var f=MK(d);null!=f&&S(a.j,f,"click",function(g){g.stopPropagation();RG(a.L,FH,null)});new wJ(d,a.L,YH);S(a.j,d,"click",function(){a.h=e});ZZ(a.g,d)});if(this.C){var b=new PK({Ve:!0,Ag:!0,Gd:FN("promoskip")});YZ(this.g,b);b=new MJ(b,this.L,5);F(this,b);b=new qK;YZ(this.g,b);new IJ(b,this.L);b=new nK;new rJ(b,this.L,FH);b.j(this.G);YZ(this.g,b);b.show();if(this.F){var c=new QK(!0);new rJ(c,this.L,iI); kK(b,c)}}XI(YI(this.g.element,.3));RG(this.L,$H,null)};l.K=function(){vf(this.g.Ea());UZ.prototype.K.call(this)};l.Sd=function(){return this.g.h};l.show=function(){};l.ba=function(){};l.td=function(){return this.l[this.h]};l.Ie=function(){return this.o[this.h]};var b_=function(a,b){jK.call(this);var c=this;this.B=b;this.j=this.l=null;this.A=!1;this.element=zy(VZ,{Pj:a,margin:(57-10*a)/a});this.h=ef("innerContainer",this.element);this.o=Array.from(df("overlaySelector",this.element));this.o.forEach(function(d,e){S(c.g,d,"click",function(f){a_(c,e);f.stopPropagation()})});a_(this,0);S(this.g,this.element,"mouseover",function(){K(c,"mouseover")});S(this.g,this.element,"mouseout",function(){K(c,"mouseout")})};w(b_,lK); b_.prototype.Ld=function(a){this.A=a;this.j&&this.j.Ld(a)};var a_=function(a,b){null!=a.l&&vx(a.o[a.l],"active");tx(a.o[b],"active");a.l=b;a.B(b)},c_=function(a,b){if(a.j){var c;null==(c=a.h)||c.removeChild(a.j.Ea());OF(a.g,b,"click")}a.j=b;a.j.Ld(a.A);var d;null==(d=a.h)||d.appendChild(b.element);S(a.g,b,"click",function(e){K(a,e);e.stopPropagation()})};l=b_.prototype;l.fk=function(a){UI(this.h,"opacity "+a/1E3+"s")};l.show=function(){Tn(this.h,!0)};l.ba=function(){Tn(this.h,!1)}; l.bj=function(){Sn(this.h,1)};l.Fj=function(){Sn(this.h,.3)};var e_=function(a,b,c,d){UZ.call(this,b);var e=this;this.B=a;this.G=c;this.A=new KF(this);this.C=d;this.j=[];this.l=new Gu(15E3);this.g=new b_(a.length,function(f){d_(e,f)})};w(e_,UZ); e_.prototype.build=function(){var a=this;mK(this.g,this.G);new AJ(this.g,this.L,!1);new wJ(this.g,this.L,YH);this.j=this.B.map(function(b){var c=b.h(a.C),d=MK(c);null!=d&&S(a.A,d,"click",function(e){e.stopPropagation();RG(a.L,FH,null)});d=new BK;new uJ(d,a.L,NH);kK(c,d);b.Sb&&(b=new QK(!0),new rJ(b,a.L,iI),kK(c,b));return c});d_(this,0);this.h=new OK;new JJ(this.h,this.L,NH);kK(this.g,this.h);QG(this.L,NH,function(){return void a.stop()});QG(this.L,dI,function(){a.l.start()});R(this.A,this.l,"tick", this.F);this.l.start()};e_.prototype.K=function(){vf(this.g.Ea());UZ.prototype.K.call(this)};e_.prototype.stop=function(){this.l.stop()};e_.prototype.F=function(){a_(this.g,(this.o+1)%this.j.length)};var d_=function(a,b){b!=a.o&&a.j[b]&&(c_(a.g,a.j[b]),a.o=b,RG(a.L,$H,null))};l=e_.prototype;l.Sd=function(){var a=this.Ie();return a?a.Ea():null};l.Ie=function(){return this.j[this.o]};l.show=function(){this.g&&this.g.show();this.h&&this.h.ba()};l.ba=function(){this.g&&this.g.ba();this.h&&this.h.show()}; l.td=function(){return this.B[this.o]};var f_=function(a){this.g=a},g_=function(a){return a.some(function(b){if(!b.A)return!1;b=b.o;return null!=b&&"none"!=b.style.display?(b.focus(),!0):!1})},h_=function(a,b){var c=lf().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new Xe(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,m){m=a[m];if(m.A){var n=new Xe(le(hD(k,d)),le(iD(k,e)));k=f.x-n.x;n=f.y-n.y;k=Math.sqrt(k*k+n*n);g>k&&(h=m,g=k)}});null!=h&&(b=h.Ea(),null!=b&&b.focus())}};function i_(a,b){null!=b&&(a.h=b.includes("adAttribution"),a.j=b.includes("countdown"))} function j_(a,b){b=void 0===b?6:b;var c=new k_;var d=-1!==a.getDuration()&&0!==a.getDuration()&&7>=a.getDuration();c.A=d?-1:a.getSkipTimeOffset();c.gb=pS(a);FN("force_wta_top_left")&&l_(c.gb);c.F=!C(D(hS(a)));c.l=a.getDuration()>b||0===a.getDuration();a.h&&(c.R=HM(a.h)||"");b=EN();zN(b,"disableSkipFadeTransition")&&(c.Lg=0);if(m_(pS(a))){var e;b=(null!=(e=aQ(a).get("GpidWtaExtension"))?e:[])[0];c.G=null==b?void 0:b.h}U.getFeatureFlags().displayEnigmaWatermark&&(a=(aQ(a).get("watermark")||[]).pop())&& (c.O={Xe:a.Xe});return c}function m_(a){return a.some(function(b){return"GoogleWhyThisAd"===b.Bb})}function l_(a){a.forEach(function(b){if("GoogleWhyThisAd"===b.Bb||"AdChoices"===b.Bb)b.ub="left",b.vb="top",b.h=20,b.g=20})}var k_=function(){this.A=-1;this.j=this.h=!0;this.g=!1;this.l=!0;this.o=this.C=!1;this.R="";this.B=null;this.gb=[];this.F=!1};k_.prototype.getUiElements=function(){var a=[];this.h&&a.push("adAttribution");this.j&&a.push("countdown");return a}; k_.prototype.isSkippable=function(){return 0<=this.A};var n_=function(a,b,c,d){nJ.call(this,b);var e=this;this.o=d;this.h=new PG;new QJ(a,this.h,c,!1);QG(this.h,gI,function(){e.o.show()});oJ(this,oI,this.j,this)};w(n_,nJ);n_.prototype.j=function(a){RG(this.h,oI,a)};var o_=function(a,b){nJ.call(this,b);var c=this;this.view=a;F(this,this.view);S(this.g,this.view.h,"wtaClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();pJ(c,BH,d.wtaUrl)});S(this.g,this.view.h,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();pJ(c,BH,d.learnMoreUrl)});S(this.g,this.view.h,"updateGpid",function(d){d=d.detail;pJ(c,CH,new DH(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});S(this.g,this.view.h,"p-control-panel-hidden", function(){return void pJ(c,AH,null)});oJ(this,kI,function(d){d||c.ba()},this)};w(o_,nJ);o_.prototype.show=function(){this.view.show();pJ(this,zH,null)};o_.prototype.ba=function(){this.view.ba()};var p_=function(){return Xx('')};var q_=function(a){jK.call(this);var b=this;this.l=this.j=!1;this.element=zy(p_);var c;null!=(c=E(a,Ak,1))&&Zk(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new wx(a);this.h=new My(a,c);S(this.g,this.h,"p-control-panel-hidden",function(){b.j=!1})};w(q_,lK);q_.prototype.show=function(){this.j||(this.l||(this.h.ea(),this.l=!0),this.h.expand(),this.j=!0)};q_.prototype.ba=function(){this.j&&(this.h.collapse(),this.j=!1)};var r_=function(a,b,c,d,e,f){f=void 0===f?!1:f;mJ.call(this,b);var g=this;this.h=a;this.G=c;this.o=d;this.J=e;this.F=this.C=!1;this.A=[];this.B=!1;this.j=f;this.g=new rK([this.h.R],this.h.o?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.h.g,this.j);wK(this.g,!this.j&&(!tE()||!1));this.H=new KF(this);F(this,this.H);document.addEventListener("click",function(h){var k=g.g.Ea().getBoundingClientRect();k.bottomh.clientY||k.left>h.clientX||(O(P(),"ctie", h.target instanceof Element?"1":"0"),P().recordClick("clk",h.clientX-k.left,h.clientY-k.top,h.target instanceof Element?h.target:void 0),Mz(P().g))},!0);this.I=new f_(b);this.l=null};w(r_,mJ);l=r_.prototype; l.build=function(){var a=this;mK(this.g,this.G);sK(this.g);Io(this,function(){return vf(a.g.Ea())});if(this.h.isSkippable()){QG(this.L,fI,function(){a.C=!0});var b=new PK({Ve:!0,Ag:!0,Lg:this.h.Lg,Gd:FN("promoskip")});vK(this.g,b);var c=new MJ(b,this.L,this.h.A);F(this,c);this.o&&b.ba()}if(this.h.h&&!this.o){var d=new oK(this.j);this.j?vK(this.g,d):this.h.o?(uK(this.g,d),tK(this.g)):vK(this.g,d);this.h.j?new IJ(d,this.L):d.show()}this.h.B&&(b=new QK(!0),new rJ(b,this.L,iI),this.j?vK(this.g,b):d?kK(d, b):this.h.o?uK(this.g,b):vK(this.g,b));this.j&&(d=new NK,HJ(new GJ(d,this.L)),AK(this.g,d),QG(this.L,kI,function(e){a.B&&(xK(a.g,!e),yK(a.g,!e))}));if(this.j||this.h.l&&!this.o)d=new DK("author"),new sJ(d,this.L,LH,vH),uK(this.g,d),d=new nK,new sJ(d,this.L,MH,yH),this.j?zK(this.g,d):uK(this.g,d),d=new pK,new sJ(d,this.L,GH,wH),this.j?zK(this.g,d):uK(this.g,d),QG(this.L,vH,function(){return void tK(a.g)}),QG(this.L,yH,function(){return void tK(a.g)}),QG(this.L,wH,function(){return void tK(a.g)});this.j? new yJ(this.g,this.L,!0):this.o||(d=HH,this.h.g||!this.h.F?d=jI:new qJ(this.g,!0),this.J?new wJ(this.g,this.L,d):(new rJ(this.g,this.L,d),this.g.Ld(!0)));this.h.gb.forEach(function(e){var f=null;if(a.h.G&&"GoogleWhyThisAd"===e.Bb){f=new DK("vast");var g=new q_(a.h.G);mK(g,a.G);Io(a,function(){return vf(g.Ea())});var h=new o_(g,a.L);new n_(f,a.L,e,h)}else f=FN("force_wta_top_left")?new DK("freeplayWta"):new DK("vast"),h=V().R&&!V().Re,new QJ(f,a.L,e,h);EK(f,e.g,e.h);kK(a.g,f);a.A.push(f)});this.j? (this.l=new GK,new sJ(this.l,this.L,VH,xH)):(this.l=new HK,new rJ(this.l,this.L,VH));null!=this.h.O&&(d=new CK(this.h.O),new xJ(d,this.L),AK(this.g,d));QG(this.L,oI,function(e){!a.j&&0e.durationSeconds-e.currentTimeSeconds&&wK(a.g,!1);a.j&&!a.B&&5
')};var y_=function(){jK.call(this);this.element=zy(x_);this.j=ef("safeFrameParent",this.element);this.h=ef("safeFrameBottomBar",this.element)};w(y_,lK);var z_=function(a,b){b.element&&a.h.appendChild(b.element)};var A_=function(a){var b={};$a(a,function(c){b[c.g()]=c.h()});return b};var B_=function(a,b,c,d,e,f){Ho.call(this);this.l=a;this.status=1;this.j=b;this.h=c;this.H=d;this.Xf=!!e;this.o=Math.random();this.A={};this.g=null;this.G=Ra(this.F,this);this.B=f};w(B_,Ho); B_.prototype.F=function(a){if(!("*"!==this.h&&a.origin!==this.h||!this.Xf&&a.source!=this.j)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Ma(b)&&(a=b.i,b.c===this.l&&a!=this.o)){if(2!==this.status)try{this.status=2,C_(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if("string"===typeof a&&("string"===typeof b||Ma(b))&&this.A.hasOwnProperty(a))this.A[a](b)}}};var C_=function(a){var b={};b.c=a.l;b.i=a.o;a.B&&(b.e=a.B);a.j.postMessage(JSON.stringify(b),a.h)}; B_.prototype.C=function(){if(1===this.status){try{this.j.postMessage&&C_(this)}catch(a){}window.setTimeout(Ra(this.C,this),50)}};B_.prototype.connect=function(a){a&&(this.g=a);Mf(window,"message",this.G);this.H&&this.C()};var D_=function(a,b,c){a.A[b]=c},E_=function(a,b,c){var d={};d.c=a.l;d.i=a.o;d.s=b;d.p=c;try{a.j.postMessage(JSON.stringify(d),a.h)}catch(e){}};B_.prototype.K=function(){this.status=3;Nf(window,"message",this.G);Ho.prototype.K.call(this)};var F_=function(a,b,c,d,e,f){this.j=a.clone();this.h=b.clone();this.l=c;this.g=d.clone();this.o=e;this.A=f},G_=function(a){return JSON.stringify({windowCoords_t:a.j.top,windowCoords_r:a.j.right,windowCoords_b:a.j.bottom,windowCoords_l:a.j.left,frameCoords_t:a.h.top,frameCoords_r:a.h.right,frameCoords_b:a.h.bottom,frameCoords_l:a.h.left,styleZIndex:a.l,allowedExpansion_t:a.g.top,allowedExpansion_r:a.g.right,allowedExpansion_b:a.g.bottom,allowedExpansion_l:a.g.left,xInView:a.o,yInView:a.A})},H_=function(a){var b= window,c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new on(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=Ln(a);d=Qn(a);var e=new Bn(c.x,c.y,d.width,d.height);c=Cn(e);d=String(In(a,"zIndex"));var f=new on(0,Infinity,Infinity,0);for(var g=af(a),h=g.g.body,k=g.g.documentElement,m=jf(g.g);a=Kn(a);)if(!(re&&0==a.clientWidth||ue&&0==a.clientHeight&&a==h)&&a!=h&&a!=k&&"visible"!=In(a,"overflow")){var n=Ln(a),p=new Xe(a.clientLeft, a.clientTop);n.x+=p.x;n.y+=p.y;f.top=Math.max(f.top,n.y);f.right=Math.min(f.right,n.x+a.clientWidth);f.bottom=Math.min(f.bottom,n.y+a.clientHeight);f.left=Math.max(f.left,n.x)}a=m.scrollLeft;m=m.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,m);g=g.g;g=hf(g.parentWindow||g.defaultView||window);f.right=Math.min(f.right,a+g.width);f.bottom=Math.min(f.bottom,m+g.height);m=(f=(f=0<=f.top&&0<=f.left&&f.bottom>f.top&&f.right>f.left?f:null)?new Bn(f.left,f.top,f.right-f.left,f.bottom-f.top):null)? Dn(e,f):null;g=a=0;m&&!m.getSize().isEmpty()&&(a=m.width/e.width,g=m.height/e.height);m=new on(0,0,0,0);if(h=f)(e=Dn(e,f))?(k=Cn(f),n=Cn(e),h=n.right!=k.left&&k.right!=n.left,k=n.bottom!=k.top&&k.bottom!=n.top,h=(0!=e.width||h)&&(0!=e.height||k)):h=!1;h&&(m=new on(Math.max(c.top-f.top,0),Math.max(f.left+f.width-c.right,0),Math.max(f.top+f.height-c.bottom,0),Math.max(c.left-f.left,0)));return new F_(b,c,d,m,a,g)};var I_=function(a){this.o=a;this.l=null;this.O=this.status=0;this.h=null;this.T="sfchannel"+a};({})[3]=ld(gd(hd("https://s0.2mdn.net/ads/richmedia/studio/mu/templates/hifi/hifi.js")));({})[3]=ld(gd(hd("https://s0.2mdn.net/ads/richmedia/studio_canary/mu/templates/hifi/hifi_canary.js")));var J_=function(a){this.g=a};var K_=function(a,b){this.Lf=a;this.Mf=b;this.h=this.g=!1};var L_=function(a,b,c,d,e,f,g,h){h=void 0===h?[]:h;this.j=a;this.l=b;this.o=c;this.permissions=d;this.h=e;this.A=f;this.Xf=g;this.hostpageLibraryTokens=h;this.g=""};function M_(a){return"number"===typeof a||"string"===typeof a}var N_=function(a,b){this.h=a;this.j=b};N_.prototype.g=function(a){this.j&&a&&(a.sentinel=this.j);return JSON.stringify(a)};var O_=function(a,b,c){N_.call(this,a,void 0===c?"":c);this.version=b};w(O_,N_);O_.prototype.g=function(){return N_.prototype.g.call(this,{uid:this.h,version:this.version})};var P_=function(a,b,c,d){N_.call(this,a,void 0===d?"":d);this.o=b;this.l=c};w(P_,N_); P_.prototype.g=function(){return N_.prototype.g.call(this,{uid:this.h,initialWidth:this.o,initialHeight:this.l})};var Q_=function(a,b,c){N_.call(this,a,void 0===c?"":c);this.description=b};w(Q_,N_);Q_.prototype.g=function(){return N_.prototype.g.call(this,{uid:this.h,description:this.description})};var R_=function(a,b,c,d){N_.call(this,a,void 0===d?"":d);this.expand=b;this.push=c};w(R_,N_); R_.prototype.g=function(){return N_.prototype.g.call(this,{uid:this.h,expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push})};var S_=function(a,b){N_.call(this,a,void 0===b?"":b)};w(S_,N_);S_.prototype.g=function(){return N_.prototype.g.call(this,{uid:this.h})};var T_=function(a,b,c){N_.call(this,a,void 0===c?"":c);this.l=b};w(T_,N_); T_.prototype.g=function(){var a={uid:this.h,newGeometry:G_(this.l)};return N_.prototype.g.call(this,a)};var U_=function(a,b,c,d,e,f){T_.call(this,a,c,void 0===f?"":f);this.success=b;this.expand=d;this.push=e};w(U_,T_);U_.prototype.g=function(){var a={uid:this.h,success:this.success,newGeometry:G_(this.l),expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push};this.j&&(a.sentinel=this.j);return JSON.stringify(a)}; var V_=function(a,b,c,d){N_.call(this,a,void 0===d?"":d);this.width=b;this.height=c};w(V_,N_);V_.prototype.g=function(){return N_.prototype.g.call(this,{uid:this.h,width:this.width,height:this.height})};var W_=function(a){var b;if(null==(b=a.location)?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;yg(function(){c++;return!1},a);return c};var X_=function(){this.g=[]},Z_=function(a,b,c,d,e){a.g.push(new Y_(b,c,d,e))},$_=function(a){for(var b=a.g.length-1;0<=b;b--){var c=a.g[b];c.h?(c.j.style.removeProperty(c.g),c.j.style.setProperty(c.g,String(c.l),c.o)):c.j.style[c.g]=c.l}a.g.length=0},Y_=function(a,b,c,d){this.j=a;this.g=(this.h=!(void 0===d||!a.style||!a.style.getPropertyPriority))?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.l=this.h?a.style.getPropertyValue(this.g):a.style[this.g];this.o=this.h?a.style.getPropertyPriority(this.g): void 0;this.h?(a.style.removeProperty(this.g),a.style.setProperty(this.g,String(c),d)):a.style[this.g]=String(c)};var e0=function(a){I_.call(this,a.uniqueId);var b=this;this.B=a.Hb;this.C=1===a.size;this.I=new K_(a.permissions.Lf&&!this.C,a.permissions.Mf&&!this.C);this.A=a.ii;var c;this.la=null!=(c=a.hostpageLibraryTokens)?c:[];var d=window.location;c=d.protocol;d=d.host;this.ia="file:"==c?"*":c+"//"+d;this.ma=!!a.Xf;this.M=a.se?"//"+a.se+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.ea=a.km?"*":"https:"+this.M;this.U=a0(a);this.j=new X_;b0(this,a.ii,a.size);this.l=this.P=H_(a.ii);this.H= a.hf||"1-0-40";var e;this.W=null!=(e=a.Fp)?e:"";c0(this,a);this.R=Dz(412,function(){return d0(b)},a.qc);this.F=-1;this.G=0;var f=Dz(415,function(){b.g&&(b.g.name="",a.Tj&&a.Tj(),Nf(b.g,"load",f))},a.qc);Mf(this.g,"load",f);this.Qh=Dz(413,this.Qh,a.qc);this.mi=Dz(417,this.mi,a.qc);this.ni=Dz(419,this.ni,a.qc);this.Eh=Dz(411,this.Eh,a.qc);this.oh=Dz(409,this.oh,a.qc);this.J=Dz(410,this.J,a.qc);this.gi=Dz(416,this.gi,a.qc);this.h=new B_(this.T,this.g.contentWindow,this.ea,!1);D_(this.h,"init_done",Ra(this.Qh, this));D_(this.h,"register_done",Ra(this.mi,this));D_(this.h,"report_error",Ra(this.ni,this));D_(this.h,"expand_request",Ra(this.Eh,this));D_(this.h,"collapse_request",Ra(this.oh,this));D_(this.h,"creative_geometry_update",Ra(this.J,this));this.h.connect(Ra(this.gi,this))};w(e0,I_); var b0=function(a,b,c){a.C?(b.style.width=On("100%"),b.style.height=On("auto")):(b.style.width=On(c.width),b.style.height=On(c.height))},c0=function(a,b){var c=b.km,d=b.content,e=b.lm,f=b.size,g=void 0===b.mm?"3rd party ad content":b.mm,h=b.Hp,k=b.Cp;b=b.Gp;var m={shared:{sf_ver:a.H,ck_on:rv()?1:0,flash_ver:"0"}};d=c?"":null!=d?d:"";d=a.H+";"+d.length+";"+d;m=new L_(a.o,a.ia,a.P,a.I,new J_(m),a.C,a.ma,a.la);var n={};n.uid=m.j;n.hostPeerName=m.l;n.initialGeometry=G_(m.o);var p=m.permissions;p=JSON.stringify({expandByOverlay:p.Lf, expandByPush:p.Mf,readCookie:p.g,writeCookie:p.h});n=(n.permissions=p,n.metadata=JSON.stringify(m.h.g),n.reportCreativeGeometry=m.A,n.isDifferentSourceWindow=m.Xf,n.goog_safeframe_hlt=A_(m.hostpageLibraryTokens),n);m.g&&(n.sentinel=m.g);m=JSON.stringify(n);n=f.width;f=f.height;a.C&&(f=n=0);p={};e=(p.id=e,p.title=g,p.name=d+m,p.scrolling="no",p.marginWidth="0",p.marginHeight="0",p.width=String(n),p.height=String(f),p["data-is-safeframe"]="true",p);void 0===c&&(g=a.W,f=a.M,d=a.H,(m=g)&&(m="?"+m),f= (void 0===f?"//tpc.googlesyndication.com":f)+("/safeframe/"+d+"/html/container.html"+m),(d=W_(lf($e(a.A))))&&(f+=(g?"&":"?")+"n="+d),e.src="https:"+f);null!==a.U&&(e.sandbox=a.U);h&&(e.allow=h);k&&(e.credentialless="true");b||(e.role="region");e["aria-label"]="Advertisement";e.tabIndex="0";c?(a.g=c,gf(a.g,e)):(c={},c=(c.frameborder=0,c.allowTransparency="true",c.style="border:0;vertical-align:bottom;",c.src="about:blank",c),e&&Yb(c,e),h=Fg("IFRAME"),gf(h,c),a.g=h);a.C&&(a.g.style.minWidth="100%"); a.A.appendChild(a.g)};l=e0.prototype;l.gi=function(){Mf(window,"resize",this.R);Mf(window,"scroll",this.R)}; l.Qh=function(a){try{if(0!=this.status)throw Error("Container already initialized");if("string"!==typeof a)throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!M_(b.uid)||"string"!==typeof b.version)throw Error("Cannot parse JSON message");var c=new O_(b.uid,b.version,b.sentinel);if(this.o!==c.h||this.H!==c.version)throw Error("Wrong source container");this.status=1}catch(e){var d;null==(d=this.B)||d.error("Invalid INITIALIZE_DONE message. Reason: "+e.message)}}; l.mi=function(a){try{if(1!=this.status)throw Error("Container not initialized");if("string"!==typeof a)throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!M_(b.uid)||"number"!==typeof b.initialWidth||"number"!==typeof b.initialHeight)throw Error("Cannot parse JSON message");if(this.o!==(new P_(b.uid,b.initialWidth,b.initialHeight,b.sentinel)).h)throw Error("Wrong source container");this.status=2}catch(d){var c;null==(c=this.B)||c.error("Invalid REGISTER_DONE message. Reason: "+ d.message)}};l.ni=function(a){try{if("string"!==typeof a)throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!M_(b.uid)||"string"!==typeof b.description)throw Error("Cannot parse JSON message");var c=new Q_(b.uid,b.description,b.sentinel);if(this.o!==c.h)throw Error("Wrong source container");var d;null==(d=this.B)||d.info("Ext reported an error. Description: "+c.description)}catch(f){var e;null==(e=this.B)||e.error("Invalid REPORT_ERROR message. Reason: "+f.message)}}; l.Eh=function(a){try{if(2!=this.status)throw Error("Container is not registered");if(0!=this.O)throw Error("Container is not collapsed");if("string"!==typeof a)throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!M_(b.uid)||"number"!==typeof b.expand_t||"number"!==typeof b.expand_r||"number"!==typeof b.expand_b||"number"!==typeof b.expand_l||"boolean"!==typeof b.push)throw Error("Cannot parse JSON message");var c=new R_(b.uid,new on(b.expand_t,b.expand_r,b.expand_b,b.expand_l), b.push,b.sentinel);if(this.o!==c.h)throw Error("Wrong source container");if(!(0<=c.expand.top&&0<=c.expand.left&&0<=c.expand.bottom&&0<=c.expand.right))throw Error("Invalid expansion amounts");var d;if(d=c.push&&this.I.Mf||!c.push&&this.I.Lf){var e=c.expand,f=c.push,g=this.l=H_(this.g);if(e.top<=g.g.top&&e.right<=g.g.right&&e.bottom<=g.g.bottom&&e.left<=g.g.left){if(!f)for(var h=this.g.parentNode;h&&h.style;h=h.parentNode)Z_(this.j,h,"overflowX","visible","important"),Z_(this.j,h,"overflowY","visible", "important");var k=Cn(new Bn(0,0,this.l.h.getWidth(),this.l.h.getHeight())).expand(e);Z_(this.j,this.A,"position","relative");Z_(this.j,this.g,"position","absolute");if(f){var m=this.j,n=this.A,p=k.getWidth();Z_(m,n,"width",p+"px");var r=this.j,t=this.A,v=k.getHeight();Z_(r,t,"height",v+"px")}else Z_(this.j,this.g,"zIndex","10000");var A=this.j,H=this.g,J=k.getWidth();Z_(A,H,"width",J+"px");var I=this.j,Q=this.g,ta=k.getHeight();Z_(I,Q,"height",ta+"px");Z_(this.j,this.g,"left",k.left+"px");Z_(this.j, this.g,"top",k.top+"px");this.O=2;this.l=H_(this.g);d=!0}else d=!1}a=d;E_(this.h,"expand_response",(new U_(this.o,a,this.l,c.expand,c.push)).g());if(!a)throw Error("Viewport or document body not large enough to expand into.");}catch(Rb){var Ga;null==(Ga=this.B)||Ga.error("Invalid EXPAND_REQUEST message. Reason: "+Rb.message)}}; l.oh=function(a){try{if(2!=this.status)throw Error("Container is not registered");if(2!=this.O)throw Error("Container is not expanded");if("string"!==typeof a)throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!M_(b.uid))throw Error("Cannot parse JSON message");if(this.o!==(new S_(b.uid,b.sentinel)).h)throw Error("Wrong source container");$_(this.j);this.O=0;this.g&&(this.l=H_(this.g));E_(this.h,"collapse_response",(new T_(this.o,this.l)).g())}catch(d){var c;null==(c= this.B)||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+d.message)}};var d0=function(a){if(1==a.status||2==a.status)switch(a.G){case 0:f0(a);a.F=window.setTimeout(Ra(a.ca,a),1E3);a.G=1;break;case 1:a.G=2;break;case 2:a.G=2}}; e0.prototype.J=function(a){try{if("string"!==typeof a)throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!M_(b.uid)||"number"!==typeof b.width||"number"!==typeof b.height||b.sentinel&&"string"!==typeof b.sentinel)throw Error("Cannot parse JSON message");var c=new V_(b.uid,b.width,b.height,b.sentinel);if(this.o!==c.h)throw Error("Wrong source container");var d=String(c.height);if(this.C)d!==this.g.height&&(this.g.height=d,d0(this));else{var e;null==(e=this.B)||e.error("Got CreativeGeometryUpdate message in non-fluidcontainer. The container is not resized.")}}catch(g){var f; null==(f=this.B)||f.error("Invalid CREATIVE_GEOMETRY_UPDATE message. Reason: "+g.message)}};e0.prototype.ca=function(){if(1==this.status||2==this.status)switch(this.G){case 1:this.G=0;break;case 2:f0(this),this.F=window.setTimeout(Ra(this.ca,this),1E3),this.G=1}};var f0=function(a){a.l=H_(a.g);E_(a.h,"geometry_update",(new T_(a.o,a.l)).g())}; e0.prototype.destroy=function(){100!=this.status&&(2==this.O&&($_(this.j),this.O=0),window.clearTimeout(this.F),this.F=-1,this.G=3,this.h&&(this.h.X(),this.h=null),Nf(window,"resize",this.R),Nf(window,"scroll",this.R),this.A&&this.g&&this.A==xf(this.g)&&this.A.removeChild(this.g),this.A=this.g=null,this.status=100)}; var a0=function(a){var b=null;a.dk&&(b=a.dk);return null==b?null:b.join(" ")},g0=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],h0=["allow-top-navigation"],i0=["allow-same-origin"],j0=Eg([].concat(u(g0),u(h0)));Eg([].concat(u(g0),u(i0)));Eg([].concat(u(g0),u(h0),u(i0)));var k0=function(a){var b=a.container,c=a.sh,d=a.th,e=a.Dh,f=a.se,g=a.hf,h=a.skipOffset;mJ.call(this,a.L);this.Hb=this.h=null;this.container=b;this.sh=c;this.th=d;this.Dh=e;this.se=f;this.hf=g;this.skipOffset=h;(this.g=null!=h?new PK({Ve:!0}):null)&&F(this,this.g);this.view=new y_};w(k0,mJ); k0.prototype.build=function(){var a=this;mK(this.view,this.container);if(this.g&&null!=this.skipOffset){var b=new MJ(this.g,this.L,this.skipOffset,7);z_(this.view,this.g);F(this,b)}this.h=new e0({content:this.sh,qc:this.Dh,lm:"safe-frame-container",Hb:{info:function(){},Xp:function(){},error:function(){}},Tj:function(){return void RG(a.L,WH,null)},ii:this.view.j,permissions:{Lf:!1,Mf:!1},se:this.se,hf:this.hf,dk:j0,size:this.th,uniqueId:fe()});Io(this,function(){var c;return void(null==(c=a.h)?void 0: c.destroy())})};k0.prototype.K=function(){vf(this.view.Ea());this.view.X();mJ.prototype.K.call(this)};var l0=function(){jK.call(this);this.element=nf("div");Fn(this.element,{position:"absolute",width:"100%",height:"100%"})};w(l0,lK);var m0=function(a,b,c){mJ.call(this,b);this.j=a;this.h=c;this.g=new l0};w(m0,mJ);m0.prototype.build=function(){var a=this;window.frameElement&&Fn(window.frameElement,{"z-index":100});mK(this.g,this.h);this.j.forEach(function(b){var c=new DK("vast");new QJ(c,a.L,b);kK(a.g,c);var d=Qn(a.g.Ea());FK(c,hD(b,d.width),iD(b,d.height));EK(c,b.g,b.h)})};m0.prototype.K=function(){vf(this.g.Ea());mJ.prototype.K.call(this)};function n0(a,b){b=void 0===b?null:b;switch(bG(a.adTagUrl||"")){case "dcm":b=new Map;null!=V().l&&b.set("dc_submodel",V().l);var c=U.H;null!=c&&b.set("dc_rfl",Og(c));c=new UB(a.adTagUrl||"");var d=WB(c,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2")||d.includes("xml_vast3"))&&b.set("dc_output","xml_vast4");c=WB(c,"dc_eid")||[];c=jC(c[0]||"");C(D(c))||b.set("dc_eid",c);a=new Map([].concat(u(EV(a)),u(b)));return new eL(a);case "dv3":b=new Map;null!=V().l&&b.set("submodel",V().l);c=jC((new Fw(a.adTagUrl)).g.get("eid", ""));C(D(c))||b.set("eid",c);if(c=U.H)c=Og(c),c=encodeURIComponent(D(c)),b.set("rfl",c);a=new Map([].concat(u(EV(a)),u(b)));return new gL(a);case "adsense":d=null!=b?b.h:[];b=new Map;b.set("correlator",V().J.toString());c=new Fw(a.adTagUrl);var e=c.g;""!==e.get("description_url","")&&(e=e.get("ad_block",""),e=C(e)?V().G.toString():e,b.set("ad_block",e));0c;c++)a.g.set(new y0(b),!1)};var B0=["videoDisplay1","videoDisplay2"],C0=function(a){this.j=a;this.h=new Set;this.g=[]},D0=function(a,b){a.h.clear();a.g=B0.slice(0,b).map(function(c){return new eP(a.j,c)})},E0=function(a){if(0a.l.length&&!a.h},O0=function(a){OF(a.B,a.o,"adBreakFetched",a.J,!1,a);OF(a.B,a.o,"adBreakFetchError",a.M,!1,a)},M0=function(a){R(a.B,a.o,"adBreakFetched",a.J,!1,a);R(a.B,a.o,"adBreakFetchError",a.M,!1,a);a.h=a.j.shift();var b=new I0;b.offset=a.offset;b.sessionId=a.sessionId;b.h=a.h;U.setCompanionBackfill("on_master_ad");P0(a.o,a.h.pa,b)}; K0.prototype.J=function(a){var b=a.Xb();if(b.offset==this.offset){U.setCompanionBackfill(this.C);O0(this);this.h=null;var c=a.bi;this.A=[].concat(u(this.A),u(c));Q0(this.A,this.offset,this.H,this.j.length,this.I);this.l=[].concat(u(this.l),u(c));0a||1d||c.height+b>e)throw a=BP(bN),e1(this,a),this.stop(),a;}};var e1=function(a,b){var c=NQ(b,a.getAd());a.Cb(b,c)};c1.prototype.yd=function(){this.reportEvent("close");Z(this,"userClose")};c1.prototype.W=function(){var a=this;if(this.g){var b=this.g.td().getAd();this.C?this.I(b):this.P.push(function(){return a.I(b)})}}; c1.prototype.I=function(a){a&&(NC(this.l,VQ(a)),a1(this,"impression"),this.reportEvent("creativeView"),a1(this,"start"))};var f1=function(a){Z(a,"userRecall")};c1.prototype.rg=function(a){this.getAd().Eb==a.getAdData().queryId&&Y0.prototype.rg.call(this,a)};c1.prototype.H=function(){this.g&&this.La(this.g.td().Sb,null)};var d1=function(a){if(hz(AB)){var b=a.getAd().g,c,d;if(a=null==(d=(null!=(c=aQ(a.getAd()).get("nonlinearAta"))?c:[])[0])?void 0:d.h.o)b.Sb=a}};c1.prototype.toString=function(){return"nonlinearman"};var i1=function(a,b,c){c1.call(this,a[0],b,c);var d=this;this.ma=!1;this.A=[];this.T=!1;this.M=new Gu(200);F(this,this.M);this.F=0;this.Aa=[];this.la=new KZ;this.sa=!1;a.forEach(function(e){var f=e.g;if(null==f)f=EP(eN),e=NQ(f,e),d.Cb(f,e);else{if(null==d.o){var g=MR(e,"AdSense");g&&(d.o=g.cd)}"Text"==f.getContentType()&&(d.ma=!0);!(e=g1(e))||h1(d)&&!d.ma||(f.Sb=e);d.A.push(f)}});0!=LR(this.getAd()).length&&Z0(this)};w(i1,c1);l=i1.prototype; l.uj=function(){var a=this;if(!this.g&&this.j){if(0==this.A.length)throw BP(eN);null==this.o&&(this.o=new AR);if(h1(this)){var b=this.getAd(),c=TZ(b,pS(b));b=oS(b,this.Fa.disableUi,c);c=j1(this);this.g=new $Z(this.A,this.L,this.j,this.o,c.text,!b,c.Vm);R(this.h,this.M,"tick",this.hn)}else 1==this.A.length?this.g=new w_(this.A[0],this.L,this.j,!0,!0,this.o):this.g=new e_(this.A,this.L,this.j,this.o);QG(this.L,YH,function(d){var e=d.ub,f=d.vb;d=a.g.td();var g=d.getAd(),h=MR(g,"AdSense");h=new Fw(h.Xd); var k=Qn(a.g.Sd()),m=Qn(b1(a).yb());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(vE(m.width,m.height)?"fullscreen":"normal"),"sdkv=h.3.615.0","eids="+nz(),"bw="+m.width,"bh="+m.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.la.g(h.toString());k1(a,g);a.reportEvent("click");l1(a);Z(a,"click");if(e=d.Db())(g=a.g.Ie())&&(e=KK(g.h,e)),a.La(e,d.Rd())});QG(this.L,$H,function(){return void a.W()});QG(this.L,NH,function(){return void a.yd()});QG(this.L,dI,function(){return void f1(a)}); QG(this.L,fI,function(){Z(a,"skippableStateChanged")});QG(this.L,eI,function(){Z(a,"skip");a.yd();m1(a)});QG(this.L,iI,function(){return void a.H()});QG(this.L,FH,function(){var d,e=MR(a.getAd(),"AdSense");e&&(d=e.pb);null==d&&a.o&&(d=a.o.pb);d&&a.La(d,null)});this.g.build()}};l.hn=function(){this.F+=.2;var a=new nI(this.F,this.getDuration());RG(this.L,oI,a);this.F>=this.getDuration()&&(Z(this,"complete"),m1(this))};l.init=function(){c1.prototype.init.call(this)}; l.start=function(){c1.prototype.start.call(this);!this.T&&h1(this)&&(this.T=!0,Z(this,"contentPauseRequested"),this.M.start())};l.yd=function(){var a=this;c1.prototype.yd.call(this);this.A.forEach(function(b){if(b=b.getAd())k1(a,b),a.reportEvent("close"),l1(a)})};var g1=function(a){return(a=MR(a,"AdSense"))?a.h:null},j1=function(a){var b=MR(a.getAd(),"AdSense").ua;b=null!=b?b:a.o.ua;var c;if(c=!!g1(a.getAd()))c=h1(a)&&!a.ma;a={text:b,Vm:c};null==a.text&&(a.text=Xx("Ads by Google"));return a}; i1.prototype.W=function(){var a=this;if(this.g){var b=this.g.td().getAd();if(null!=b){this.ea=b;var c=b.getAdId();this.Aa.includes(c)||(this.Aa.push(c),this.C?this.I(b):this.P.push(function(){return a.I(b)}))}}};i1.prototype.I=function(a){a&&(this.ea=a,this.sa||(Z(this,"impression"),this.sa=!0),k1(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),Z(this,"start"),l1(this))};i1.prototype.H=function(){if(h1(this)){var a=g1(this.getAd());this.La(a,null)}else c1.prototype.H.call(this)}; i1.prototype.Be=function(){var a=h1(this)?15:0,b=h1(this)?65:0;c1.prototype.Be.call(this,a,b)};var h1=function(a){return eS(a.getAd())},m1=function(a){a.M.stop();a.g&&(a.g.X(),a.g=null);a.T&&(a.T=!1,Z(a,"contentResumeRequested"))};l=i1.prototype;l.skip=function(){this.getAdSkippableState()&&(Z(this,"skip"),this.yd(),m1(this))};l.getAdSkippableState=function(){if(fS(this.getAd())){var a=OO(fS(this.getAd()));return-1!=a&&this.ta()>=a}return!1};l.ta=function(){return h1(this)?this.F:c1.prototype.ta.call(this)}; l.getDuration=function(){return h1(this)&&null!=this.o?15:c1.prototype.getDuration.call(this)};l.getRemainingTime=function(){var a=this.getDuration(),b=this.ta();return h1(this)&&0<=b&&b<=a?a-b:c1.prototype.getRemainingTime.call(this)};var k1=function(a,b){a.l=new BC(uS(b),a.la,vS(b));NC(a.l,VQ(b))},l1=function(a){a.l=new BC(new Map,a.la)};i1.prototype.toString=function(){return"adsensenonlinearman"};var n1=function(a,b,c,d){Ho.call(this);this.o=this.g=a;this.A=b;this.l=c;this.j=d;this.h=null};w(n1,Ho);l=n1.prototype;l.ud=function(){return this.g};l.Rf=function(){var a=this,b,c;return y(function(d){if(1==d.g)return b=o1(a),a.h=null,x(d,b,2);c=d.h;if(!c)throw Error("Called getNextManager when there are no more managers.");a.g=c;return d.return(a.g)})};l.Jd=function(){var a=this;return y(function(b){return 1==b.g?a.g.getAd().B?b.return(null):x(b,o1(a),2):b.return(b.h)})}; l.Sh=function(){return this.ud()===this.o};l.K=function(){this.g.destroy();Ho.prototype.K.call(this)}; var o1=function(a){if(a.h)return a.h;var b=WR(a.g.getAd());if(null==b)return Promise.resolve(null);a.h=new Promise(function(c){b.pd(function(d){if(a.Ja())c(null);else{1=c&&(c=Uf()?500:1E3);0==d.length&&(d=s1());this.g=new iH(d);c=new XG(c);d=new hH;a=new qH({pj:a});this.h=new pH({Ab:b,filters:[d,a],ek:c})};var u1=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function v1(a,b,c){var d=null,e=c+b;a.qa.forEach(function(f){var g;if(g=f instanceof vQ)0===c&&0===b||f instanceof ES?g=!0:(g=f.getSize(),g=g.width<=b&&g.height<=c);g&&(g=0===c&&0===b?0:c-f.getSize().height+b-f.getSize().width,"Flash"!==f.getContentType()&&(null==d?(d=f,e=g):gd&&(d=f,b=e,b.Cd=!1))}c=U.getFeatureFlags().audioPosterImageDefaultUrl;!b&&c&&(b=new DS(null,null,"Image",c));return b};var y1=function(a){G.call(this);this.F=a;this.h=new KF(this);F(this,this.h);this.J=new TP;this.C=-1;this.A=this.I=!1;this.l=""};w(y1,G);y1.prototype.K=function(){z1(this);G.prototype.K.call(this)}; var z1=function(a){PF(a.h);null!=a.g&&hP(a.g);null!=a.o&&a.o.X();a.o=null;a.J.clear();a.C=-1;a.l="";a.I=!1;a.A=!1},E1=function(a,b,c,d,e){z1(a);a.g=c;gP(a.g);a.B=d;a.H=e;a.j=new A1(a.g);a.l=b.Eb;XO()&&(b=ZP(),R(a.h,b,"externalActivityEvent",a.T),R(a.h,b,"measurable_impression",a.ea),R(a.h,b,"viewable_impression",a.ia));R(a.h,a.g,"timeUpdate",a.P);S(a.h,a.g,"loadedmetadata",function(){return void B1(a,new At("loadedMetadata"))});S(a.h,a.g,"durationChange",function(){return void B1(a,new At("durationChange"))}); S(a.h,a.g,"canplay",function(){return B1(a,new At("adCanPlay"))});R(a.h,a.g,"volumeChange",a.Hm);R(a.h,a.g,"pause",a.Bm);R(a.h,a.g,"play",a.Cm);R(a.h,a.g,"end",a.zm);R(a.h,a.g,"beginFullscreen",a.W);R(a.h,a.g,"endFullscreen",a.U);R(a.h,a.g,"skip",a.M);R(a.h,a.g,"skipShown",a.cj);R(a.h,a.g,"start",a.Em);R(a.h,a.g,"error",a.Lk);R(a.h,a.g,"mediaLoadTimeout",a.Mk);R(a.h,a.g,"autoplayDisallowed",a.Kk);S(a.h,a.g,"loaded",function(){return C1(a,"loaded")});D1(a,a.B,a.H)},D1=function(a,b,c){null!=b&&null!= c&&(QG(c,jI,function(){return void B1(a,new MP("videoClicked"))}),QG(c,eI,function(){return void a.M()}),QG(c,fI,function(){return void a.cj()}),QG(c,EH,function(){F1(a,"skip",!0,!1)}),QG(c,LH,function(){return void B1(a,new MP("authorIconClicked"))}),QG(c,MH,function(){return void B1(a,new MP("titleClicked"))}),QG(c,GH,function(){return void B1(a,new MP("authorNameClicked"))}),QG(c,VH,function(){return void B1(a,new MP("learnMoreClicked"))}),QG(c,hI,function(d){return void G1(d)}),QG(c,gI,function(d){return void H1(a, d.j,d.o,d.A,d.B)}),QG(c,UH,function(){return void B1(a,new MP("iconFallbackImageClosed"))}),QG(c,iI,function(){return void H1(a,[],b?a.B.B:null,null)}))},F1=function(a,b,c,d){if(!c||null==a.J.get(b))if(!d||a.A)a.J.set(b,!0),C1(a,b),K(a,b)},C1=function(a,b){if(a.B&&a.B.g){if("click"==b)return;"learnMoreClicked"==b&&a.F.report("click")}"error"!=b&&a.F.report(b)};y1.prototype.ea=function(a){a.getAdData().queryId==this.l&&F1(this,"measurable_impression",!0,!0)}; y1.prototype.ia=function(a){a.getAdData().queryId==this.l&&F1(this,"viewable_impression",!0,!0)};y1.prototype.T=function(a){a=a.getAdData()||{};var b=a.eventName;a=DO(b)&&a.queryId==this.l?b:null;null!=a&&F1(this,a,!0,!0)};y1.prototype.P=function(){if(this.A){var a=this.g.getDuration();-1!=a&&(this.g.currentTime>=.25*a&&F1(this,"firstQuartile",!0,!0),this.g.currentTime>=.5*a&&F1(this,"midpoint",!0,!0),this.g.currentTime>=.75*a&&F1(this,"thirdQuartile",!0,!0),LC(this.F,this.g.currentTime,1E3*a));I1(this)}}; var I1=function(a){0>a.C||a.I||!(a.g.currentTime>=a.C||a.g.l)||!a.A||(a.I=!0,F1(a,"engagedView",!0,!0))};l=y1.prototype;l.Em=function(){this.A=!0;F1(this,"impression",!0,!0);F1(this,"creativeView",!0,!0);F1(this,"start",!0,!0);this.j.g=this.g.muted;this.j.volume=this.g.getVolume();(this.j.g||0==this.j.volume)&&F1(this,"mute",!1,!1)}; l.Hm=function(){var a=this.g.muted,b=this.g.getVolume(),c=this.j;c.g&&!a||!a&&0==c.volume&&0b||b>=a.j.length?null:a.j[b]};var U1=function(a,b,c,d){d=void 0===d?!1:d;Ho.call(this);this.j=c;this.o=a;this.h=b;this.B=d;a=this.j;this.g=0>a?1:0==a?3:2;this.l=0;this.A=new KF(this);F(this,this.A);S1(this);T1(this);3==this.g&&RG(this.h,fI,null)};w(U1,Ho);var S1=function(a){S(a.A,a.o,"skipButtonClicked",function(){3==a.g&&RG(a.h,eI,null)});QG(a.h,oI,a.G,a);Io(a,function(){NG(a.h.g,oI.toString(),a.G,a)})}; U1.prototype.G=function(a){!a||0>=a.durationSeconds||this.j>=a.durationSeconds||1==this.g||3==this.g||(this.l=a.currentTimeSeconds,this.l>this.j?(this.g=3,RG(this.h,fI,null)):this.g=2,T1(this))};var T1=function(a){var b="skipStateHidden",c="";if(3==a.g)b="skipStateSkippable",c=uc(a.B?"Skip ":"Skip Ad ");else if(2==a.g){b="skipStatePreSkip";c=a.B;var d=Math.ceil(a.j-a.l),e=d.toString();60<=d&&(e=IB(d));c=RI({Pg:e,Gd:c})}a=a.o;if(a.g.g!=b||a.g.Md!=c)a.g.g=b,a.g.Md=c,M1(a)};var V1=function(a,b,c){Ho.call(this);this.j=a;this.g=b;this.h=c;this.l=!1};w(V1,Ho);l=V1.prototype;l.build=function(){var a=this;QG(this.g,fI,this.dj,this);Io(this,function(){NG(a.g.g,fI.toString(),a.dj,a)});var b=FN("promoskip");b=new U1(this.j,this.g,this.h.A,b);F(this,b);b=new Q1(this.j,this.g,this.h.gb);F(this,b);N1(this.j)};l.sg=function(){this.l&&RG(this.g,EH,null)};l.me=function(){};l.getConfig=function(){return this.h};l.qg=function(){};l.dj=function(){this.l=!0};var W1=function(a,b,c,d){d=void 0===d?!1:d;Y0.call(this,a,b.g,b.h,c);var e=this;this.H=b.j;this.bc=b;this.o=this.g=null;this.j=b.g.Zb();this.A=new y1(this.l);this.la=null;this.ma=new IM(this.j,this.getAd().isSkippable());this.T=this.C=!1;this.Aa=this.sa=this.F=1;this.xb=null;this.M=!1;this.zd=function(){var f={};return f.currentTime=e.ta(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=null!=ZQ(e.getAd()),f.isYouTube=!1,f.volume=e.getVolume(),f};this.Ha=null;this.P=d;this.W=null;this.va=!1;b.l.push(this.toString())}; w(W1,Y0);W1.prototype.K=function(){cQ(this.getAd());var a;null==(a=this.o)||a.X();this.o=null;hz(vB)||this.j.clear();Go(this.A);Go(this.la);Go(this.l);this.T=!1;this.C&&(a=this.C=!1,null!=b1(this)&&(a=V().A),this.g.reset(a));var b;null==(b=this.g)||oP(b);F0(this.H,this.g);Y0.prototype.K.call(this)}; var X1=function(a,b){if(!a.C){a.C=!0;bQ(a.getAd(),a.zd);ZP().ha=b;if(null!=a.J){var c=a.J;c.l=b;R(c.o,c.l,"start",c.T)}a.la=new RZ(b);c=a.la;var d;null==(d=c.g)||PF(d);c.g=new KF(c);F(c,c.g);R(c.g,c.ha,"play",c.j);R(c.g,c.ha,"start",c.l);d=a.Fa.loadVideoTimeout;0=b}}else a=!1;return a};l.skip=function(){var a;if(a=this.g)if(a=this.getAd().isSkippable())a=EN(),a=zN(a,"enableSkipApi")||this.getAd().disableUi;a&&(null!=this.o?this.o.sg():(this.reportEvent("skip"),Z(this,"skip"),this.destroy()))}; l.start=function(){if(this.Ha)h2(this,this.g);else{Y0.prototype.start.call(this);try{a:{Z(this,"contentPauseRequested");this.g||(this.g=E0(this.H),this.g||(G0(this.H),this.g=E0(this.H)));var a=this.getAd().h;if(a instanceof oD){var b=EM(a);b&&(this.getAd().T=b)}if(this.Fa.useVideoAdUi||V().O){var c=this.getAd(),d=this.Fa,e=ZR(c),f=d.useStyledLinearAds;var g=UO()?!1:tE()&&!c.isCustomClickTrackingUsed()||c.h instanceof oD&&CM(c.h)||mS(c)||dS(c)||cS(c)||f?!0:!1;var h=(aQ(c).get("AdSense")||[]).pop(), k=null!=h&&h.te,m=h?h.h:null,n=g||k||d.useStyledLinearAds;if(nS(c)){if(m_(pS(c))){var p,r;var t=null==(r=(null!=(p=aQ(c).get("GpidWtaExtension"))?p:[])[0])?void 0:r.h}var v=pS(c);c=t;var A=new k_;A.gb=v;A.h=!1;A.j=!1;A.g=!1;A.l=!1;A.o=!1;A.A=-1;c&&(A.G=c);var H=A}else if(n){var J=D(hS(c)),I=g||k||d.useLearnMoreButton;if(C(J)||!oE(J))I=!1;v=I;var Q=j_(c,0);Q.g=v;Q.C=d.g;!e||i_(Q,d.uiElements);m_(pS(c))||C(D(m))||V().j||(Q.B=m);H=Q}else{c:{e=["ADSENSE","ADSENSE/ADX","402"];for(var ta=UR(c),Ga=ta.length- 1;0<=Ga;Ga--)if("UNKNOWN"!==ta[Ga]){var Rb=e.includes(ta[Ga]);break c}Rb=!1}if(Rb){var Vd=j_(c);Vd.o=!0;m_(pS(c))||C(D(m))||(Vd.B=m);var Dh=Vd}else{var zd=j_(c);zd.l=!1;zd.h=!1;zd.j=!1;i_(zd,d.uiElements);Dh=zd}H=Dh}this.W=H;this.o=$1(this,H);this.o.build();if(null!=this.getAd().T&&H.C){var zb=this.ma,xe=this.getAd().h;zb.g=xe instanceof oD?FM(xe):null;zb.h=xe instanceof oD?GM(xe):null;zb.g&&zb.g.g&&(zb.g.title&&RG(zb.j,yH,zb.g.title),zb.h&&zb.h.title&&RG(zb.j,wH,zb.h.title),zb.h&&zb.h.g&&RG(zb.j, vH,zb.h.g))}var Eh=this.getAd(),Ad=H.getUiElements();Eh.uiElements=Ad}var Db=this.g;fP(Db.h,Db.g,"activate");var ye=this.g;E1(this.A,this.getAd(),ye,this.o?this.o.getConfig():null,this.j);R(this.h,this.A,"adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "),this.I);var ze=new SC(this.getAd().h,this.l,ye,XO(),this.getAd().Eb);ze.Sf(); F(this,ze);a2(this,ye);R(this.h,this.A,"impression",this.I,!1,this);i2(this,ye);X1(this,this.g);var fj=this.setVolume,lc=MR(this.getAd(),"AdSense");fj.call(this,null!=lc&&null!=lc.cd&&lc.cd.kd?0:this.Aa);this.reportEvent("show_ad");Z(this,"show_ad");b1(this).Kg();try{Z0(this)}catch(rf){e2(this,this.g,WM,rf);break a}nP(this.g)}}catch(rf){f2(this,rf)}}};l.getVolume=function(){return this.C&&this.g?this.g.muted?0:this.g.getVolume():this.F}; l.setVolume=function(a){this.C&&this.g?this.g.setVolume(a):this.F=a;this.Aa=a};l.pause=function(){this.g&&this.g.pause()};l.resume=function(){this.g&&nP(this.g)};l.ta=function(){return this.g?this.g.currentTime:-1};l.getDuration=function(){return this.g?this.g.getDuration():-2};l.getRemainingTime=function(){var a=this.getDuration(),b=this.ta();return 0<=a&&0<=b?Math.max(0,a-b):-1}; var h2=function(a,b){a.getAd().oe();e2(a,b,oN,BP(oN,b.getError()))},e2=function(a,b,c,d){j2(a,b,d);FP(a,c,d);a.destroy()},j2=function(a,b,c){c=BP(oN,c);b=NQ(c,a.getAd(),b);a.Ja()||a.va||(a.va=!0,a.Cb(c,b))},i2=function(a,b){NC(a.l,VQ(a.getAd(),b));var c=a.getAd().g;null!=c&&c instanceof rQ&&(AO.forEach(function(d){R(a.h,a.A,d,a.I,!1,a)}),c=a.h,S(c,a.A,"error",function(){h2(a,b)}),S(c,a.A,"mediaLoadTimeout",function(){a.getAd().Mb.g=Date.now();e2(a,b,iN,BP(iN,null,(a.Fa.loadVideoTimeout/1E3).toString()))}), S(c,a.A,"autoplayDisallowed",function(){var d=BP(oN),e=BP(VM);d.g=e;e2(a,b,oN,d)}));a.getAd().isSkippable()&&(a.A.C=30)},k2=function(a){a.M&&(Z(a,"click"),a.La(hS(a.getAd()),iS(a.getAd())))}; W1.prototype.I=function(a){switch(a.type){case "start":$0(this);this.M=!0;this.o&&this.o.qg();l2(this,"start");Qz(P(),"ff");a=this.A;var b=b1(this).Lh();b||a.B||!a.g||R(a.h,a.g,"click",a.ah);if(b){a.o=new LZ;R(a.h,a.o,"click",a.ah,!1);var c=a.o;null==b||c.C||(c.g=b,PZ(c),c.C=!0)}a.H&&QG(a.H,HH,a.ah,a);this.getAd().B=!0;Z(this,"start");break;case "impression":this.getAd().B=!0;Z(this,"impression");break;case "viewable_impression":Z(this,"viewable_impression");break;case "measurable_impression":Z(this, "measurable_impression");break;case "pause":RG(this.j,kI,!0);Z(this,"pause");break;case "resume":RG(this.j,kI,!1);Z(this,"resume");break;case "firstQuartile":Z(this,"firstQuartile");break;case "midpoint":Z(this,"midpoint");break;case "thirdQuartile":Z(this,"thirdQuartile");break;case "complete":Z(this,"complete");this.destroy();break;case "loadedMetadata":Z(this,"loadedMetadata");break;case "durationChange":Z(this,"durationChange");break;case "adCanPlay":Z(this,"adCanPlay");break;case "click":l2(this, "click");k2(this);this.pause();break;case "engagedView":Z(this,"engagedView");break;case "videoClicked":Y1(this);Z(this,"videoClicked");break;case "videoIconClicked":K(this,a);V().R||(a=a.getAdData(),this.La(a.clickThroughUrl,a.attributionParams));this.pause();break;case "iconFallbackImageClosed":Z(this,"iconFallbackImageClosed");break;case "authorIconClicked":m2(this);break;case "authorNameClicked":m2(this);break;case "learnMoreClicked":l2(this,"learn_more_click");k2(this);this.pause();break;case "titleClicked":b= this.ma;if(b.g&&b.g.g)if(a=b.g.id,b=b.l,b=void 0===b?!1:b,null==a)a=null;else{c=new Fw("//www.youtube.com/watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Jw(c,d);a=c.toString()}else a=null;null!==a&&(this.pause(),this.La(a,null));break;case "muteClicked":this.sa=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.sa);case "skipShown":Z(this,"skippableStateChanged");break;case "skip":Z(this,"skip");this.destroy();break;case "fullscreen":Z(this,"fullscreen"); break;case "exitFullscreen":Z(this,"exitFullscreen");break;case "fully_viewable_audible_half_duration_impression":Z(this,"fully_viewable_audible_half_duration_impression")}};var Y1=function(a){a.g&&(a.g.j?a.resume():a.pause())};l=W1.prototype;l.wd=function(){var a=c2(this);return null==a?null:a.url};l.md=function(){l2(this,"external_click");if(this.getAd().disableUi&&this.M){var a={};a=(a.url=hS(this.getAd()),a.attributionParams=iS(this.getAd()),a);a1(this,"click",a);this.pause()}else this.getAd()}; l.Fm=function(){this.getAd().Mb.g=Date.now()};l.jk=function(a,b){return 0<=b&&0<=a}; l.Gm=function(){var a=this.ta(),b=this.getDuration();if(this.jk(a,b)){var c=new u1(this.getAd().getAdPodInfo(),a,b);Z(this,"adProgress",c)}if(null!=this.o&&0<=b&&0<=a){if(!(this.T||3>this.getAd().F)){c=this.g.getDuration();var d=jS(this.getAd());c=Math.abs(c-d);2=e;d.currentTime=Math.min(e,d.currentTime);e=new u1(d.getAd().getAdPodInfo(),d.currentTime,e);Z(d,"adProgress",e);e=new nI(d.currentTime,d.getDuration()); RG(d.L,oI,e);f&&(d.g.stop(),a1(d,"complete"),d.destroy())});this.L=c.g.Zb();hz(vB)||Io(this,function(){return void d.L.clear()})};w(D2,Y0);l=D2.prototype;l.K=function(){null!=this.j&&(Ju(this.j),this.j=null);b1(this).Mc();var a=b1(this).yb();a&&uf(a);Y0.prototype.K.call(this)}; l.init=function(){var a=this;if(!this.B){this.B=!0;var b=this.I,c=b1(this).yb(),d=this.oa;if(b&&c&&d){b=MD(b);SG(this,this.L,WH,function(){a.C=!0;a.F&&E2(a)});SG(this,this.L,fI,function(){Z(a,"skippableStateChanged");a1(a,"skipShown")});SG(this,this.L,eI,function(){a.skip()});uf(c);var e,f;this.A=new k0({container:c,sh:b,th:new Ye(d._width_,d._height_),Dh:function(g,h){var k=null,m=null,n=null;try{k="string"===typeof(null==h?void 0:h.name)?h.name:"Unknown error"}catch(p){k="exception"}try{m="string"=== typeof(null==h?void 0:h.message)?h.message:"Caught "+h}catch(p){m="exception"}try{n="string"===typeof(null==h?void 0:h.stack)?h.stack:Error().stack}catch(p){n="exception"}h={};LO().report(185,(h.m=g,h.name=k,h.message=m,h.stack=n,h))},se:UG(),hf:"1-0-40",skipOffset:null!=(f=null==(e=fS(this.getAd()))?void 0:OO(e))?f:null,L:this.L});Io(this,function(){var g;return void(null==(g=a.A)?void 0:g.X())});this.A.build();a1(this,"loaded")}else c=BP(ZM,null,"SafeFrame"),this.Cb(c,NQ(c,this.getAd())),K(this, new DP(c)),this.destroy()}};l.start=function(){var a=this;this.F||(this.F=!0,Y0.prototype.start.call(this),Z(this,"contentPauseRequested"),this.currentTime=0,this.C?E2(this):this.j=Iu(function(){a.j=null;if(!a.C){var b=BP(iN,null,(a.H/1E3).toString());a.Cb(b,NQ(b,a.getAd()));K(a,new DP(b));a.destroy()}},this.H))};l.pause=function(){this.o&&(this.g.stop(),a1(this,"pause"))};l.resume=function(){this.o&&(this.g.start(),a1(this,"resume"))};l.Qb=function(){Y0.prototype.Qb.call(this)}; l.resize=function(a,b){Y0.prototype.resize.call(this,a,b)};l.getDuration=function(){return this.getAd().getDuration()};l.ta=function(){return this.currentTime};l.getRemainingTime=function(){return 0>this.ta()?-1:this.getDuration()-this.ta()};l.getAdSkippableState=function(){var a=fS(this.getAd());if(!a)return!1;a=OO(a);return-1!==a&&-1!==this.currentTime&&this.currentTime>=a};l.skip=function(){this.getAdSkippableState()&&(this.g.stop(),a1(this,"skip"),this.destroy())}; var E2=function(a){var b;if(b=b1(a).yb()){var c=a.oa;b=c?b.clientWidth=c&&S2(a,2)};M2.prototype.pause=function(){this.o?this.o.stop():o0.prototype.pause.call(this)};M2.prototype.resume=function(){this.o?this.o.start():o0.prototype.resume.call(this)}; var Q2=function(a){a.h.g.sendMessage("SIMID:Media:ended");a.H?(a.o=new Gu,F(a,a.o),S(a.l,a.o,"tick",function(){a.J+=.25;var b=new u1(a.getAd().getAdPodInfo(),a.ta(),a.getDuration());p0(a,"adProgress",b);P2(a,a.ta())}),Hu(a.o),a.o.start()):S2(a,2)};M2.prototype.ta=function(){return o0.prototype.ta.call(this)+this.J}; var O2=function(a){S(a.T,a.h,Object.values(iL),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");p0(a,"click");a.W&&LO().report(148,{time:a.ta(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();S2(a,4);break;case "SIMID:Creative:requestSkip":b.resolve();a.skip();break;case "SIMID:Creative:handleSkipShown":p0(a,"skippableStateChanged");a.reportEvent("skipShown");p0(a,"skipShown");b.resolve();break; case "SIMID:Creative:reportTracking":if(Array.isArray(b.args.Mg))for(var c=q(b.args.Mg),d=c.next();!d.done;d=c.next())HO(d.value);b.resolve();break;case "SIMID:Creative:getMediaState":c={};b.resolve((c.currentSrc=a.j.getMediaUrl(),c.currentTime=a.j.g.ta(),c.duration=a.j.getDuration(),c.ended=!1,c.muted=0==a.j.getVolume(),c.paused=!1,c.volume=a.j.getVolume(),c.fullscreen=a.j.Dd(),c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve(); break;case "SIMID:Creative:requestResize":T2(a,b);break;case "SIMID:Creative:requestChangeAdDuration":c=b.args.duration;0>c&&-2!=c?b.reject():(c-=jS(a.getAd()),a.getAd().O=c,a.H=!0,p0(a,"durationChange"),b.resolve());break;case "SIMID:Creative:requestNavigation":a.La(b.args.uri,null);a.pause();b.resolve();break;case "SIMID:Creative:log":if(d=b.args.message){c=void 0===c?P():c;a:{try{var e=JSON.parse(d),f;if(f="string"===typeof e.type)b:switch(e.type){case "TimingEvent":case "Parameter":case "OneShotParameter":f= !0;break b;default:f=!1}if(f&&"string"===typeof e.key&&("string"===typeof e.value||void 0===e.value)){var g={type:e.type,key:e.key,value:e.hasOwnProperty("value")?e.value:void 0};break a}}catch(h){}g=void 0}d=g;if(void 0!==d)switch(d.type){case "TimingEvent":Qz(c,d.key);break;case "Parameter":d.value&&Nz(c,d.key,d.value);break;case "OneShotParameter":d.value&&O(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},S2=function(a,b){b=a.h.g.sendMessage("SIMID:Player:adStopped",new kL({code:b})); N2(a,b)},U2=function(a,b){var c;return y(function(d){if(!V().sa)throw Error("Resize is not supported.");c=H2(a.j);var e=b.videoWidth,f=b.videoHeight,g=b.videoX,h=b.videoY;if(void 0===g||void 0===h||void 0===e||void 0===f)throw Error("Invalid video dimensions.");var k=b.creativeWidth,m=b.creativeHeight,n=b.creativeX,p=b.creativeY;if(void 0===n||void 0===p||void 0===k||void 0===m)throw Error("Invalid creative dimensions.");if(k!==c.width||m!==c.height||0!==n||0!==p)throw Error("Creative resizing is not supported."); e=new Bn(g,h,e,f);if(!(new Bn(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.I=e;a.B.g.pi(a.I);d.g=0})},T2=function(a,b){U2(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})};M2.prototype.start=function(){var a=this;o0.prototype.start.call(this);this.F.promise.then(function(){return void V2(a)}).catch(function(){W2(a)})}; var V2=function(a){if(!a.Ja()){X2(a);Qz(P(),"ima_lsc");var b,c;null==(b=a.h)||null==(c=CL(b))||c.then(function(){Qz(P(),"ima_csr")},function(){Qz(P(),"ima_cmc")});a.h.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void W2(a)})}},X2=function(a){a.B.g.Zc();a.A.style.display="block"},W2=function(a){var b=BP(dN),c=NQ(b,a.getAd());o0.prototype.Cb.call(a,b,c);K(a,new DP(b));N2(a)}; M2.prototype.skip=function(){var a=this.h.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");p0(this,"skip");N2(this,a)};M2.prototype.Vc=function(){o0.prototype.Vc.call(this);this.h.g.sendMessage("SIMID:Player:appBackgrounded")};M2.prototype.zc=function(){o0.prototype.zc.call(this);this.h.g.sendMessage("SIMID:Player:appForegrounded")}; M2.prototype.Qb=function(){var a=H2(this.j),b=new Bn(0,0,a.width,a.height),c=this.I||b;this.h.g.sendMessage("SIMID:Player:resize",new kL({creativeX:b.left,creativeY:b.top,creativeWidth:b.width,creativeHeight:b.height,videoX:c.left,videoY:c.top,videoWidth:c.width,videoHeight:c.height,fullscreen:vE(a.width,a.height)}))};var R2=function(a){a.h.g.l.promise.then(function(){var b=a.h,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new kL({duration:c}))})}; M2.prototype.K=function(){this.M.X();V().sa&&this.B.g.ri();this.B.g.Mc();this.A&&(this.A.style.visibility="hidden");p0(this,"contentResumeRequested");p0(this,"allAdsCompleted");N2(this);o0.prototype.K.call(this)};M2.prototype.destroy=function(){var a=this;o0.prototype.destroy.call(this);OT(this.M,function(){return a.X()})}; var N2=function(a,b){b=void 0===b?Promise.resolve({}):b;var c;null==(c=a.h)||DL(c);var d;null==(d=a.h)||EL(d);a.U||(c=Ku(),a.U=Promise.race([b,c]).then(function(){vf(a.A);a.h.X();a.T.X()}),a.destroy())};var Y2=function(a,b,c){this.h=a;this.g=b;this.sessionId=c};Y2.prototype.create=function(a){return new K0(this.h,[].concat(u(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.sessionId)};var Z2=function(a,b,c,d){d=void 0===d?null:d;At.call(this,a);this.offset=b;this.h=c;this.j=d};w(Z2,At);var a3=function(a,b,c){G.call(this);this.o=c;this.g=new Map;this.l=a;this.C=b;this.h=new KF(this);F(this,this.h);this.j=null;$2(this);this.A=AP(this.o).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.B=new Set};w(a3,G); var b3=function(a,b){return[].concat(u(a.o.g.get(b)||[]))},c3=function(a,b,c){a.g.set(b,c);a.j==b&&(a.j=null)},d3=function(a){return[].concat(u(AP(a.o))).length==a.g.size};a3.prototype.start=function(){this.l.start();uP(this.l)};a3.prototype.K=function(){PF(this.h);this.l.stop();G.prototype.K.call(this)}; var $2=function(a){S(a.h,a.l,"OffsetTrackerEvent",function(b){var c=b.Lm;b=b.ym;null==c||null!=a.g.get(c)?null==b||null!=a.g.get(b)||e3(a,b):(a.j=c,e3(a,c))})},e3=function(a,b){var c=a.A.get(b);a.B.has(b)?f3(a,b):c.F||(R(a.h,c,"adBreakFetched",a.H),R(a.h,c,"adBreakFetchError",a.F),c.F||(c.F=!0,M0(c)))},g3=function(a,b){OF(a.h,b,"adBreakFetched");OF(a.h,b,"adBreakFetchError")};a3.prototype.H=function(a){f3(this,a.Xb().offset)}; var f3=function(a,b){a.B.add(b);var c=a.A.get(b);g3(a,c);null==a.g.get(b)&&(a.j==b?(a.j=null,K(a,new Z2("play",b,c))):null==a.j&&K(a,new Z2("load",b,c)))};a3.prototype.F=function(a){a=a.Xb().offset;var b=this.A.get(a);g3(this,b);this.A.set(a,this.C.create(a));var c=EP(aN);K(this,new Z2("error",a,b,c))};var i3=function(a,b,c,d,e,f){o0.call(this,new V0);this.ma=a;this.F=f;this.C=c;this.la=e;a=e.playAdsAfterTime;e=AP(b);e=q(e);for(var g=e.next();!g.done;g=e.next())g=g.value,-1!==g&&g<=a&&b.remove(g);d=new tP(d,AP(b));F(this,d);this.h=new a3(d,new Y2(c,b,f.o.sessionId),b);F(this,this.h);this.j=new KF(this);F(this,this.j);h3(this);R(this.j,c,"contentComplete",this.sa);this.P=1;this.A=null;this.U=this.o=this.T=!1;this.l=null;f.l.push(this.toString());this.H=this.B=this.J=!1;this.I=this.M=-1};w(i3,o0); l=i3.prototype;l.resize=function(a,b){this.M=a;this.I=b;o0.prototype.resize.call(this,a,b)};l.discardAdBreak=function(){var a=this.g;j3(this)&&a instanceof q2&&a.j?o0.prototype.destroy.call(this):(a=xP(this.h.l),null!=a&&null==this.h.g.get(a)&&(c3(this.h,a,1),0===a&&k3(this),(d3(this.h)||this.o)&&l3(this)))};l.getCuePoints=function(){return[].concat(u(AP(this.h.o)))}; l.init=function(){var a=this;this.C.g=!1;S(this.j,this,"allAdsCompleted",function(){a.C.g=!0});var b={};b.cuepoints=this.getCuePoints();b=new MP("adMetadata",this.getAd(),b);K(this,b);0==b3(this.h,0).length&&k3(this);this.h.start()};l.start=function(){U.h||j3(this)&&this.B||(j3(this)?(this.B=!0,m3(this)):this.J=!0)}; var k3=function(a){a.T=!0;var b=a.g.getAd();K(a,new MP("contentResumeRequested",b))},l3=function(a){if(!a.U){a.U=!0;var b=a.g.getAd();K(a,new MP("allAdsCompleted",b))}},m3=function(a){n3(a,"breakStart");a.l&&(Ju(a.l),a.l=null);o0.prototype.start.call(a)};i3.prototype.setVolume=function(a){this.P=a;o0.prototype.setVolume.call(this,a)}; var q3=function(a,b){a.A=b.offset;var c=a.ma;b=b.h;var d=a.F,e=a.la,f=new o2(d.g),g=new H0(f,d.j,d.o,d.h,d.A);g.l=d.l;o3("multiple_adbreak");c=new q2(new T0(b,g,c,e),f,e,d.j);a.g.Ja()||a.g.X();a.g=c;p3(a);a.g.setVolume(a.P);a.g.resize(a.M,a.I);a.g.init()},p3=function(a){var b=[].concat(u(zO));S(a.j,a.g,b,function(c){return void K(a,c)});S(a.j,a.g,"contentResumeRequested",function(){h3(a);k3(a)});S(a.j,a.g,"contentPauseRequested",function(c){OF(a.j,a.h,"load",a.ea);OF(a.j,a.h,"play",a.ia);OF(a.j,a.h, "error",a.W);K(a,c)});S(a.j,a.g,"adError",function(c){c=c.getError()||BP(oN);K(a,new MP("log",null,c))});S(a.j,a.g,"allAdsCompleted",function(){a.B=!1;if(null!=a.h.g.get(-1)&&(rO(),null!=a.F.h)){var c=a.F.h.C();null!=c&&r3(c)}a.T||k3(a);n3(a,"breakEnd");(d3(a.h)||a.o)&&l3(a);a.H&&(l3(a),a.X())})};i3.prototype.ea=function(a){var b=a.offset;this.A==b||-1==b&&this.getAd()&&!this.getAd().isLinear()||q3(this,a)}; i3.prototype.ia=function(a){this.A!=a.offset&&q3(this,a);c3(this.h,a.offset,0);var b=1==b3(this.h,0).length;0==a.offset&&b&&(b=this.g.getAd())&&!b.isLinear()&&k3(this);U.h?m3(this):s3(this,a.offset)}; i3.prototype.sa=function(a){this.o||this.Ja()||this.H||(this.o=!0,null!=this.h.g.get(-1)&&1==this.h.g.get(-1))||(d3(this.h)&&this.g instanceof V0?(K(this,new MP("contentResumeRequested")),l3(this)):d3(this.h)||2!=this.h.g.get(-1)?0this.getDuration()||0>this.getRemainingTime()?-1:this.getDuration()-this.getRemainingTime()};A3.prototype.getDuration=function(){return this.I};A3.prototype.getRemainingTime=function(){return this.va}; var I3=function(a,b){a.va=b;if(!a.F){b=a.getAd().getDuration();var c=b-a.va;if(0<=b&&0<=c){var d=new u1(a.getAd().getAdPodInfo(),c,b);Z(a,"adProgress",d);LC(a.l,c,1E3*b)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&RG(a.C,oI,new nI(c,b))};A3.prototype.df=function(){G3(this,"getAdRemainingTime")}; var D3=function(a){var b={};P();b.pid="0";b.dn=a.ff;b["if"]=a.j.getName();b.asys=a.getAd().getAdSystem();var c=new Fw(ZQ(a.getAd()));b.vad=-1!=c.j.indexOf("vpaid_adapter.js");b.atag=Zw(c.g,"adTagUrl");var d=[];HR(a.getAd()).forEach(function(e){d.push(D(e.mimeType).toLowerCase())});b.mtypes=d.join(",");LO().report(29,b)},E3=function(a){var b=a.getAd();if(b.g instanceof rQ&&(b=pS(b),null!=b&&0!=b.length)){var c=document.body;c&&(a.xb=new m0(b,a.C,c),a.xb.build(),hz(vB)?(SG(a,a.C,gI,function(d){return void a.bc(d)}), SG(a,a.C,hI,function(d){return void a.Ha(d)})):(QG(a.C,gI,a.bc,a),QG(a.C,hI,a.Ha,a)))}};A3.prototype.Ha=function(a){a.G.forEach(function(b){HO(b)})};A3.prototype.bc=function(a){var b=a.o;null!=b&&(this.La(b,a.A),this.pause());a.B.forEach(function(c){HO(c)})};A3.prototype.skip=function(){G3(this,"skipAd")};A3.prototype.toString=function(){return"vpaidman"};function J3(a){var b=void 0===b?8:b;for(var c=[],d=0;d=b&&(b=120);return a.wa.find(function(c){return 0=U.getNumRedirects()){var c=r4(b,kN,null,String(U.getNumRedirects())); s4(a,b,c);return!0}return a.A?!1:(a.j=r4(b,mN),!0)},o4=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.bf(g,function(h){return e.push(h)},function(h){return a.j=h})})});0=U.getNumRedirects()){var e=r4(d,kN,null,String(U.getNumRedirects()));s4(a,d,e);c(e)}else a.A?a.li(d,function(f){a.g=f;a.Yb(b,c)},function(f){f=u4(f,null);s4(a,d,f);c(f)}):(e=r4(d,mN),c(e));else a.bf(d,b,c)},u4=function(a,b){switch(a.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:MM(a,b);break;default:a.getAd()&&(b=a.getAd()),a=r4(b,nN)}return a},v4=function(a, b,c,d){a.wa.forEach(function(e){e.Z=b;QR(e)});y4(a,c);a.A=d},r4=function(a,b,c,d){b=EP(b,c,d);MM(b,a);return b},z4=function(a,b){var c=b.H;a.getAd()&&(b=a.getAd());a=NQ(a,b);IO(c,a)};var B4=function(a,b,c){k4.call(this,[],a,b,c)};w(B4,k4);B4.prototype.kh=function(){return 0a.h?1:a.h+1);return null!=a.g&&a.g instanceof B4?b+C4(a.g):b};l=B4.prototype;l.pd=function(a,b){m4(this,a,b)};l.cc=function(){if(null!=this.g&&this.g.cc())return!0;var a=0==this.l||this.l==this.C;return 0this.A?(this.h="failed",U5(this)):T5(this);break;case "loaded":V5(this);break;case "failed":0this.A?U5(this):(this.h="loading",T5(this))}};var V5=function(a){R(a.j,a.l,"tick",a.G);null!=a.l&&(a.l.stop(),a.l.X(),a.l=null)},U5=function(a){V5(a);null!=a.g&&(OF(a.j,a.g,"gpt",a.C),a.g=null);a.o=[]}; y5.prototype.C=function(a){"isConsolePresent"==a.messageType&&(a=a.Ib.returnValue,null!=a&&a?(this.g.h(this.g.o),this.o.forEach(this.F,this),this.o=[],this.h="loaded"):this.h="failed")};var W5=function(a,b,c){this.h=c;0===b.length&&(b=[[]]);this.g=b.map(function(d){d=a.concat(d);for(var e=[],f=0,g=0;fh)e[g++]=String.fromCharCode(h);else if(191h){var k=d[f++];e[g++]=String.fromCharCode((h&31)<<6|k&63)}else if(239h){k=d[f++];var m=d[f++],n=d[f++];h=((h&7)<<18|(k&63)<<12|(m&63)<<6|n&63)-65536;e[g++]=String.fromCharCode(55296+(h>>10));e[g++]=String.fromCharCode(56320+(h&1023))}else k=d[f++],m=d[f++],e[g++]=String.fromCharCode((h&15)<<12| (k&63)<<6|m&63)}return new RegExp(e.join(""))})};W5.prototype.match=function(a){var b=this;return a?this.g.some(function(c){c=a.match(c);return null==c?!1:!b.h||1<=c.length&&"3.615.0"===c[1]||2<=c.length&&"3.615.0"===c[2]?!0:!1}):!1}; var X5=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,40,115,100,107,108,111,97,100,101,114,124,99,111,114,101,41,47],Y5=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,115,48,92,46,50,109,100,110,92,46,110,101,116,47,105,110,115,116,114,101,97,109,47,104,116,109,108,53,47],Z5=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115, 92,46,99,111,109,47,112,97,108,47,115,100,107,108,111,97,100,101,114,47],$5=[[105,109,97,51,92,46,106,115],[105,109,97,51,95,100,101,98,117,103,92,46,106,115],[105,109,97,51,95,101,97,112,46,106,115]],a6=[[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122, 48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108]],b6=[[111,117,116,115,116,114,101,97,109,92,46,106,115],[111,117,116,115,116,114,101,97,109,95,100,101,98,117,103,92,46,106,115]];new W5(X5,$5,!1);var c6=new W5(X5,a6,!0);new W5(Y5,$5,!1);var d6=new W5(Y5,a6,!0); new W5([94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,112,114,101,114,101,108,101,97,115,101,47,106,115,47,91,48,45,57,93,43,46,91,48,45,57,46,93,43,47],$5,!1); new W5([94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,40,112,97,103,101,97,100,50,124,116,112,99,41,92,46,103,111,111,103,108,101,115,121,110,100,105,99,97,116,105,111,110,92,46,99,111,109,47,112,97,103,101,97,100,47,40,103,97,100,103,101,116,115,124,106,115,41,47],[],!1); new W5(X5,[[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125, 41,123,48,44,50,125,92,46,104,116,109,108]],!0);new W5(X5,b6,!1);new W5(X5,b6,!1);new W5(Z5,[[112,97,108,46,106,115]],!1);new W5(Z5,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new W5(Z5,[[99,116,118,95,112,97,108,46,106,115]],!1);function e6(){var a=[c6,d6];if(a.some(function(c){return c.match(lf().location.href)}))return!0;var b=f6(a,cf(document,"script"));null==b&&document.querySelectorAll&&(b=f6(a,document.querySelectorAll("script")));return null!=b} function f6(a,b){for(var c={},d=0;d
OSZAR »