(function(exoDynamicParams) {resolver={options:{maxAllowedVastTagRedirects:3,vastTimeout:5e3},sendRequest:function(e,t,r,i){var a=new XMLHttpRequest;a.onreadystatechange=i,a.open("GET",e,!0),a.withCredentials=t,a.timeout=r,a.send()},processUrl:function(e,t){this.resolveVastTag(e,0,{tracking:[],stopTracking:[],impression:[],clicktracking:[],vastLoaded:!1,videoCta:[]},t)},resolveVastTag:function(e,t,r,i){var a=this;e&&""!=e?(t<=a.options.maxAllowedVastTagRedirects&&a.sendRequest(e,!0,a.options.vastTimeout,(function(){var e=this;if(4!==e.readyState||404!==e.status)if(4!==e.readyState||0!==e.status){if(4===e.readyState&&200===e.status)if(4!==e.readyState||200===e.status){try{var n=e.responseXML}catch(e){return void a.stopProcessAndReportError(5)}if(n){if(a.inLineFound=a.hasInLine(n),!a.inLineFound&&a.hasVastAdTagUri(n)){var s=a.getVastAdTagUriFromWrapper(n);if(!s)return void a.stopProcessAndReportError(7);a.resolveVastTag(s,t,r,i)}t>a.options.maxAllowedVastTagRedirects&&!a.inLineFound?a.stopProcessAndReportError(8):a.processVastXml(n,r,i)}else a.stopProcessAndReportError(6)}else a.stopProcessAndReportError(4)}else a.stopProcessAndReportError(3);else a.stopProcessAndReportError(2)})),t++):a.stopProcessAndReportError(1)},processVastXml:function(e,t,r){var i=this;if(e){var a=e.getElementsByTagName("Impression");null!==a&&i.registerImpressionEvents(a,t);var n=e.getElementsByTagName("Error");null!==n&&i.registerErrorEvents(n,t);var s=null,o=null,l=null,g=e.getElementsByTagName("Extensions");if(g.length&&g[0].getElementsByTagName("Extension").length){var c=g[0].getElementsByTagName("TitleCTA");if(c.length){var d=c[0].getElementsByTagName("DisplayUrl"),h=c[0].getElementsByTagName("PCText"),u=c[0].getElementsByTagName("Tracking");null!=d&&(s=this.extractNodeData(d[0])),null!=h&&(o=this.extractNodeData(h[0])),null!=u&&(l=this.extractNodeData(u[0]));var m={displayUrl:s,ctaText:o,tracking:l};t.videoCta.push(m)}}var p=e.getElementsByTagName("Creative");if(void 0!==p&&p.length){var v,T=p[0].getElementsByTagName("Linear");if(null!=T&&T.length){var f=T[0];i.registerTrackingEvents(f,t),v=i.getClickTrackingEvents(f),i.registerClickTracking(v,t),!i.hasVastAdTagUri(e)&&i.hasInLine(e)&&(t.adFinished=!1,t.adType="linear",t.skipoffset=i.convertTimeStringToSeconds(f.getAttribute("skipoffset")),t.clickthroughUrl=i.getClickThroughUrlFromLinear(f),t.duration=i.getDurationFromLinear(f),t.mediaFile=i.getMediaFileFromLinear(f),t.mediaFileDetails=i.getMediaFileAttributesFromLinear(f),t.iconClick=i.getIconClickThroughFromLinear(f))}var y=p[0].getElementsByTagName("NonLinearAds");if(null!=y&&y.length){var N=y[0];i.registerTrackingEvents(N,t),v=i.getNonLinearClickTrackingEvents(N),i.registerClickTracking(v,t),!i.hasVastAdTagUri(e)&&i.hasInLine(e)&&(t.adType="nonLinear",t.clickthroughUrl=i.getClickThroughUrlFromNonLinear(N),t.duration=i.getDurationFromNonLinear(N),t.dimension=i.getDimensionFromNonLinear(N),t.staticResource=i.getStaticResourceFromNonLinear(N),t.creativeType=i.getCreativeTypeFromStaticResources(N))}!i.hasVastAdTagUri(e)&&i.hasInLine(e)&&(void 0!==t.mediaFile||void 0!==t.staticResource?r(t):i.stopProcessAndReportError(10))}else i.stopProcessAndReportError(11)}else i.stopProcessAndReportError(9)},registerTrackingEvents:function(e,t){for(var r=this.getTrackingFromLinear(e),i="",a=0,n=0;n=e.video.duration}function s(e){var i=this;i.video.readyState>=i.video.HAVE_FUTURE_DATA?(i.hasAudio||(i.driver.currentTime=i.video.currentTime+e*i.video.playbackRate/1e3,i.video.loop&&o(i)&&(i.driver.currentTime=0)),u(i.video,i.driver.currentTime)):i.video.networkState===i.video.NETWORK_IDLE&&0===i.video.buffered.length&&i.video.load(),i.video.ended&&(delete i.video[h],i.video.pause(!0))}function c(){var e=this,i=e[g];if(e.webkitDisplayingFullscreen)return void e[E]();"data:"!==i.driver.src&&i.driver.src!==e.src&&(u(e,0,!0),i.driver.src=e.src),e.paused&&(i.paused=!1,0===e.buffered.length&&e.load(),i.driver.play(),i.updater.start(),i.hasAudio||(d(e,"play"),i.video.readyState>=i.video.HAVE_ENOUGH_DATA&&d(e,"playing")))}function v(e){var i=this,n=i[g];n.driver.pause(),n.updater.stop(),i.webkitDisplayingFullscreen&&i[w](),n.paused&&!e||(n.paused=!0,n.hasAudio||d(i,"pause"),i.ended&&!i.webkitDisplayingFullscreen&&(i[h]=!0,d(i,"ended")))}function p(e,n){var r={};e[g]=r,r.paused=!0,r.hasAudio=n,r.video=e,r.updater=i(s.bind(r)),n?r.driver=a(e):(e.addEventListener("canplay",function(){e.paused||d(e,"playing")}),r.driver={src:e.src||e.currentSrc||"data:",muted:!0,paused:!0,pause:function(){r.driver.paused=!0},play:function(){r.driver.paused=!1,o(r)&&u(e,0)},get ended(){return o(r)}}),e.addEventListener("emptied",function(){var i=!r.driver.src||"data:"===r.driver.src;r.driver.src&&r.driver.src!==e.src&&(u(e,0,!0),r.driver.src=e.src,i||!n&&e.autoplay?r.driver.play():r.updater.stop())},!1),e.addEventListener("webkitbeginfullscreen",function(){e.paused?n&&0===r.driver.buffered.length&&r.driver.load():(e.pause(),e[E]())}),n&&(e.addEventListener("webkitendfullscreen",function(){r.driver.currentTime=e.currentTime}),e.addEventListener("seeking",function(){k.indexOf(100*e.currentTime|0)<0&&(r.driver.currentTime=e.currentTime)}))}function l(e){var i=e[h];return delete e[h],!e.webkitDisplayingFullscreen&&!i}function f(e){var i=e[g];e[E]=e.play,e[w]=e.pause,e.play=c,e.pause=v,r(e,"paused",i.driver),r(e,"muted",i.driver,!0),r(e,"playbackRate",i.driver,!0),r(e,"ended",i.driver),r(e,"loop",i.driver,!0),n(e,"seeking",function(e){return!e.webkitDisplayingFullscreen}),n(e,"seeked",function(e){return!e.webkitDisplayingFullscreen}),n(e,"timeupdate",l),n(e,"ended",l)}function y(e,i){if(void 0===i&&(i={}),!e[g]){if(!i.everywhere){if(!b)return;if(!(i.iPad||i.ipad?/iPhone|iPod|iPad/:/iPhone|iPod/).test(navigator.userAgent))return}e.pause();var n=e.autoplay;e.autoplay=!1,p(e,!e.muted),f(e),e.classList.add("IIV"),e.muted&&n&&(e.play(),e.addEventListener("playing",function i(){e.autoplay=!0,e.removeEventListener("playing",i)})),/iPhone|iPod|iPad/.test(navigator.platform)||console.warn("iphone-inline-video is not guaranteed to work in emulated environments")}}var m,b="object"==typeof document&&"object-fit"in document.head.style&&!matchMedia("(-webkit-video-playable-inline)").matches,g="bfred-it:iphone-inline-video",h="bfred-it:iphone-inline-video:event",E="bfred-it:iphone-inline-video:nativeplay",w="bfred-it:iphone-inline-video:nativepause",k=[],T=0;return y}(); !function(){var e="https:"!==document.location.protocol&&"http:"!==document.location.protocol?"https:":document.location.protocol;window.ExoOutstreamSliderCommon=function(){},null!==window.VastSupport?ExoOutstreamSliderCommon.prototype={randStr:function(e,t){for(var i="",n=t||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=0;a=i-1&&this.trackSingleEvent(e,"complete")},trackSingleEvent:function(e,t,i){var n=[];switch(n.length=0,t){case"start":case"firstQuartile":case"midpoint":case"thirdQuartile":case"complete":!1===e.stopTracking[t]&&(null!==e.tracking[t]&&(n=e.tracking[t]),e.stopTracking[t]=!0);break;case"progress":!1===e.tracking.progress[i].stopTracking&&(n=e.tracking.progress[i].elements,e.tracking.progress[i].stopTracking=!0)}this.callUris(n)},displayAd:function(t,i,n,a,o,r,s,l,c,d,m,u,p,v,g=null){if(this.ctaEnabled=isNaN(v)||v>0,d=isNaN(d)||d>30?25:d,"ExoOutstream"===this.constructorName){d=i=0;var h=0;a="repeat",u=this.sanitizeMaxWidth(u)}n=isNaN(n)?0:n,p=null==p||p,this.main_el_id="exo_slider_"+t+"_"+this.randStr(2);var y="zone-closed-"+t,_=isNaN(o)||o>0?1:0;if(!p||!this.getCookie(y)){var f=this,k="";if(Object.keys(g).length)for(var E in g)k="&"+E+"="+g[E];this.containerHasRoom()&&this.VastResolver.processUrl(e+"//"+exoDynamicParams.syndicationDomain+"/splash.php?idzone="+t+(isNaN(r)?"":"&sub="+r)+(isNaN(s)?"":"&sub2="+s)+(isNaN(l)?"":"&sub3="+l)+(isNaN(c)?"":"&cat="+c)+(void 0===p?"":"&cookieconsent="+p)+(void 0===m?"":"&tags="+m)+k,(function(e){var t=0,o=!1;if("linear"===e.adType){var r=e.mediaFile,s=void 0!==e.videoCta&&e.videoCta.length>0&&void 0!==e.videoCta[0].displayUrl&&"string"==typeof e.videoCta[0].displayUrl?e.videoCta[0].displayUrl:"",l=void 0!==e.videoCta&&e.videoCta.length>0&&void 0!==e.videoCta[0].ctaText&&"string"==typeof e.videoCta[0].ctaText?e.videoCta[0].ctaText:"",c=void 0!==e.videoCta&&e.videoCta.length>0&&void 0!==e.videoCta[0].tracking&&"string"==typeof e.videoCta[0].tracking?e.videoCta[0].tracking:"";if(void 0!==e.videoCta&&Object.prototype.hasOwnProperty.call(e.videoCta,"length")&&e.videoCta.length>0)for(var m=e.videoCta.length-1;m>=0;m--){s=e.videoCta[m].displayUrl,l=e.videoCta[m].ctaText,c=e.videoCta[m].tracking;break}var v=f.generateCssEl(f.main_el_id,d,h,u,f.styleSheet),g=f.generateDomEl(f.main_el_id,f.tplMain,_,s,l);f.videoStyle(v,g);var k=document.getElementById(f.main_el_id),E=document.getElementById(f.main_el_id+"_source"),C=document.getElementById(f.main_el_id+"_video"),b=document.getElementById(f.main_el_id+"_progress"),w=document.getElementById(f.main_el_id+"_close"),x=document.getElementById(f.main_el_id+"_close_text"),T=document.getElementById(f.main_el_id+"_close_x"),B=document.getElementById(f.main_el_id+"_mute_button"),L=document.getElementById(f.main_el_id+"_mute_on"),I=document.getElementById(f.main_el_id+"_mute_off"),M=document.getElementById(f.main_el_id+"_replay_button"),S=document.getElementById(f.main_el_id+"_network_link");e.mediaFileDetails&&"streaming"===e.mediaFileDetails.delivery&&VastSupport.VastStreaming.initialiseStreamers(e.mediaFileDetails.type,C,E),f.ctaEnabled&&f.setCtaElements(l,s,c),_&&exoDynamicParams.showBranding&&(S.innerHTML=decodeURIComponent(escape(atob(exoDynamicParams.brandingName))),S.setAttribute("href","http://"+decodeURIComponent(escape(atob(exoDynamicParams.networkDomain)))));var U=function(){o=!0,f.resizeWrapper(k,C),f.displayCta(l,C),f.calculateWrapperByDensityToMobile(k,d,C),t>=1||(setTimeout((function(){k.classList.remove("exo_notransition"),g.style.right=0}),100),void 0!==e.impression&&Array.isArray(e.impression)&&f.callUris(e.impression),f.checkUcBrowser()&&f.fixUcBrowser())};f.displayVideoOutstream(f.main_el_id,U,u),E.setAttribute("src",r),C.muted=!0,N(),_&&S.addEventListener("click",(function(e){e.stopImmediatePropagation()})),B.addEventListener("click",(function(e){e.stopPropagation(),C.muted=!C.muted,N()})),f.visibility((function(){visibility()||!o?visibility()&&o&&C.paused&&C.play():C.pause()})),k.addEventListener("click",(function(){f.bindClick(C)&&(window.open(e.clickthroughUrl),void 0!==e.clicktracking&&f.callUris(e.clicktracking))})),C.addEventListener("ended",(function(){o=!1,t++,"repeat"===a?(M.style.display="block",M.addEventListener("click",D)):P()}),!1),"ExoOutstream"===f.constructorName&&H(),C.addEventListener("timeupdate",(function(){f.scheduleTrackingEvent(e,C.currentTime,C.duration);var n=C.currentTime/C.duration*100;b.style.width=n+"%",i>C.currentTime&&t<1?(x&&(x.innerHTML="Close ad in "+Math.ceil(i-C.currentTime)+" sec"),T&&(T.style.display="none")):H()})),window.addEventListener("resize",(function(){f.resizeWrapper(k,C)}),!1),f.playPromise(f.main_el_id,C,U)}function N(){C.muted?(L.style.display="block",I.style.display="none"):(L.style.display="none",I.style.display="block")}function P(){k.classList.remove("exo_notransition"),f.closeDivAnnimation(g),setTimeout((function(){g.style.display="none"}),1e3)}function D(e){e.stopPropagation(),b.classList.add("exo_notransition"),b.style.width="0px",M.removeEventListener("click",D),M.style.display="none",C.play().then((function(){o=!0,b.classList.remove("exo_notransition")}))}function H(){x&&(x.innerHTML="Close ad"),T&&(T.style.display="block"),w.addEventListener("click",(function(e){e.stopPropagation(),p&&f.setCookie(y,!0,n),C.pause(),o=!1,P()}))}}))}},checkUcBrowser:function(){return navigator.userAgent.indexOf(" UCBrowser/")>=0},fixUcBrowser:function(){document.getElementById(this.main_el_id).classList.contains("ucBrowser")||document.getElementById(this.main_el_id).classList.add("ucBrowser")},displayVideoOutstream:function(e,t,i){},videoStyle:function(e,t){},closeDivAnnimation:function(e){},playPromise:function(e,t,i){},resizeWrapper:function(e,t){},containerHasRoom:function(){},bindClick:function(e){},sanitizeMaxWidth:function(e){},calculateWrapperByDensityToMobile:function(e,t,i){},setCtaElements:function(e,t,i){var n=document.getElementById(this.main_el_id+"_cta_wrapper"),a=document.getElementById(this.main_el_id+"_display_url"),o=document.getElementById(this.main_el_id+"_cta_text"),r=function(e){window.open(i,"_blank"),e.stopImmediatePropagation()};n.addEventListener("click",r),null!==o&&""!==e&&""!==i&&(o.innerHTML=e,o.addEventListener("click",r)),null!==a&&""!==t&&(a.innerHTML=t,a.addEventListener("click",r))},displayCta:function(e,t){var i=document.getElementById(this.main_el_id+"_cta_wrapper");this.ctaEnabled&&i&&""!==e&&(i.style.display="block")},constructorName:"ExoOutstreamSliderCommon"}:console.warn("VastSupport library is missing.")}();window.ExoSlider=function(){},ExoSlider.prototype=function(i){function e(){}return e.prototype=i,new e}(ExoOutstreamSliderCommon.prototype),ExoSlider.prototype.constructor=ExoSlider,ExoSlider.prototype.constructorName="ExoSlider",ExoSlider.prototype.main_el_id=null,ExoSlider.prototype.ctaEnabled=!1,ExoSlider.prototype.styleSheet=" #{{main_el_id}}.exo_wrapper { position: fixed; right: -426px; bottom: 0; z-index: 9999; -webkit-transition-duration: 1s; -moz-transition-duration: 1s; -o-transition-duration: 1s; transition-duration: 1s; max-width: 426px; max-height: 240px; cursor: pointer; -webkit-tap-highlight-color: rgba(0,0,0,0); display: table; } #{{main_el_id}}_video_container { position: relative; background: rgba(0, 0, 0, 0.7); } #{{main_el_id}} video { pointer-events: none; max-width: 100%; max-height: 320px; display: table; margin: 0px auto; } #{{main_el_id}}.ucBrowser { z-index:99999999; } #{{main_el_id}}.ucBrowser .exo_close{ margin: 4px; background:none; top:-20px; } #{{main_el_id}}.ucBrowser .exo_link{ width:100%; } #{{main_el_id}} .exo_link { color: rgb(255, 255, 255); font-size: 12px; font-family: Roboto, sans-serif, Verdana, Arial; padding: 0px 5px; background: rgba(0, 0, 0, 0.7); text-decoration: none; position: relative; display: inline-block; line-height: 20px; box-sizing: border-box; } #{{main_el_id}} .exo_close { pointer-events: auto; position: absolute; margin: 8px; user-select: none; right: 0px; top: 0px; cursor: pointer; z-index: 9999; } #{{main_el_id}} .exo_close:hover { opacity: 1; } #{{main_el_id}}_display_url_box { width: 100%; font-size: 2vh; } #{{main_el_id}}_exo_cta_text_box { background: rgba(236, 188, 27, 1) !important; border-radius: 3px; padding: 6px 10px; justify-content: center; flex-shrink: 0; } #{{main_el_id}}_exo_cta_text_box:hover { background: rgb(255, 205, 55) !important; } #{{main_el_id}}_exo_display_url_box { margin-right: 5px; overflow: hidden; } #{{main_el_id}}_exo_cta_text_box, #{{main_el_id}}_exo_display_url_box { display: flex; align-items: center; flex-direction: row; } #{{main_el_id}}_cta_text, #{{main_el_id}}_display_url { font-size: 9px; font-family: Roboto, sans-serif, Verdana, Arial; text-decoration: none; } #{{main_el_id}}_cta_text { font-size: 9px; text-transform: uppercase; color: rgba(34, 33, 31, 1); margin-right: 2px; flex-shrink: 0; } #{{main_el_id}}_cta_text_link_icon { flex: none; } #{{main_el_id}}_display_url { color: rgba(236, 188, 27, 1); display: flex; align-items: center; letter-spacing: 0.01em; margin: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; } #{{main_el_id}}_exo_display_url_box:hover #{{main_el_id}}_display_url { color: rgb(255, 205, 55) !important; } #{{main_el_id}}_display_url_ad_icon { background: rgba(236, 188, 27, 1); color: rgba(34, 33, 31, 1); display: flex; align-items: center; display: flex; flex-direction: column; align-items: flex-start; padding: 2px; border-radius: 1px; } #{{main_el_id}}_exo_display_url_box:hover #{{main_el_id}}_display_url_ad_icon { background: rgb(255, 205, 55); } #{{main_el_id}}_display_url_link_icon { flex: none; } #{{main_el_id}}_exo_display_url_box:hover #{{main_el_id}}_display_url_link_icon path { fill: rgb(255, 205, 55); } #{{main_el_id}}_cta_wrapper { background: rgba(34, 33, 31, 1); padding: 10px; cursor: pointer; display: flex !important; justify-content: space-between; flex-direction: row; width: inherit; overflow: hidden; } #{{main_el_id}}:hover > #{{main_el_id}}_cta_wrapper { background: rgb(44, 44, 44); } #{{main_el_id}} .progress_exo_wrapper { position: absolute; width: calc(100% - 30px); height: 3px; left: 15px; bottom: 15px; background: rgba(255, 255, 255, 0.25); } #{{main_el_id}} .progress_exo_wrapper:hover { background: rgba(255, 255, 255, 0.35); } #{{main_el_id}} .exo_progressbar { width: 0%; height: 100%; background: rgba(249, 211, 0, 0.8); transition: width 0.6s linear 0s; } #{{main_el_id}} .progress_exo_wrapper:hover .exo_progressbar { background: rgb(255, 205, 55); } #{{main_el_id}}_replay_button { top:50%; left:50%; transform: translate(-50%, -50%); height: 70px; width: 70px; position: absolute; border-radius: 50%; background: rgba(0, 0, 0, 0.7); display: none; } #{{main_el_id}}_mute_button { border-radius: 5px; position: absolute; left: 15px; bottom: 28px; background: rgba(0, 0, 0, 0.7); height: 30px; width: 30px; opacity: 0.85; } #{{main_el_id}}_mute_button:hover { opacity: 1; } #{{main_el_id}}_mute_button svg { position: absolute; top:50%; left:50%; transform: translate(-50%, -50%); fill: #FFFFFF; display: none; width: calc(100% - 10px); height: calc(100% - 10px); } #{{main_el_id}}.exo_notransition, #{{main_el_id}} .exo_notransition { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important; } video::-webkit-media-controls-start-playback-button { display: none !important; } @media only screen and (max-device-width: 480px) { #{{main_el_id}}.exo_wrapper { max-width: calc((16 * {{screen_density}}vh) / 9); width: 100%; height: auto !important; } #{{main_el_id}}.exo_wrapper video { max-height: calc({{screen_density}}vh); } #{{main_el_id}} .exo_link { display:none; } #{{main_el_id}} .exo_close{ height: 3vh; padding: 0; } #{{main_el_id}}.ucBrowser .exo_close{ top:-3vh; } #{{main_el_id}} .exo_close_text{ font-size: 2vh; height: 3vh; } #{{main_el_id}} .exo_close svg { height: 3vh; width: 3vw; } #{{main_el_id}} .exo_close img { height: 3vh; } #{{main_el_id}} .progress_exo_wrapper{ width: calc(100% - 6vw); height: 0.5vh; left: 3vw; bottom: 2vh; } #{{main_el_id}}_mute_button { border-radius: 1vw; position: absolute; right: 2vw; top: 1vw; height: 6.5vw; width: 6.5vw; left: 5px; margin: 5px; } #{{main_el_id}}_mute_button svg { height: 6vw; width: 6vw; } #{{main_el_id}}_replay_button { height: 13vw; width: 13vw; } #{{main_el_id}}_cta_wrapper { padding: 3px; position: relative; } #{{main_el_id}}_exo_display_url_box { display: none; } #{{main_el_id}}_exo_cta_text_box { width: 100%; z-index: 9999; } #{{main_el_id}}_cta_text { font-size: 3vw; } #{{main_el_id}}_cta_text_link_icon { width: 2.5vw; height: 2.5vh; } } @media only screen and (max-device-height: 480px) and (orientation:landscape), only screen and (max-device-width: 480px) and (orientation:landscape){ #{{main_el_id}}.exo_wrapper { max-width: calc({{screen_density}}vw); height: auto !important; } #{{main_el_id}}.exo_wrapper video { max-height: calc(50vh - ({{screen_density}}vh - 10vh) * -1); } #{{main_el_id}} .exo_link { display:none; } #{{main_el_id}} .exo_close{ height: 3vw; padding: 0.5vw 1vw; } #{{main_el_id}}.ucBrowser .exo_close{ top: -3vw; } #{{main_el_id}} .exo_close svg { height: 3vw; width: 3vh; } #{{main_el_id}} .progress_exo_wrapper{ width: calc(100% - 6vh); height: 0.5vw; left: 3vh; bottom: 2vw; } #{{main_el_id}}_replay_button { height: 13vh; width: 13vh; } #{{main_el_id}}_cta_wrapper { padding: 3px 2px; } #{{main_el_id}}_exo_cta_text_box { width: 100%; } #{{main_el_id}}_exo_display_url_box { display: none; } } ",ExoSlider.prototype.tplMain='
{{branding}}
Close Ad
{{displayUrl}} {{ctaText}}
',ExoSlider.prototype.tplBrand='',ExoSlider.prototype.tplDisplayUrl='
',ExoSlider.prototype.tplCtaText='
',ExoSlider.prototype.scriptElement=document.body,ExoSlider.prototype.videoStyle=function(i,e){this.scriptElement.appendChild(i),this.scriptElement.appendChild(e)},ExoSlider.prototype.containerHasRoom=function(){return!0},ExoSlider.prototype.calculateWrapperByDensityToMobile=function(i,e,t){if(!this.isMobileDevice())return;if(this.isMobileDeviceLandscape())return void this.resizeHorizontalVideoStyle(i);const o=document.getElementById(this.main_el_id+"_cta_wrapper");this.resizeWrapperForVerticalVideo(i,e,o,t),this.resizeWrapperWidth(i,t,o,e)},ExoSlider.prototype.resizeHorizontalVideoStyle=function(i){if(i.offsetHeight<100){let i=document.getElementById(this.main_el_id+"_mute_button");i.style.height="4.5vh",i.style.width="4.5vh";let e=document.getElementById(this.main_el_id+"_replay_button");e.style.height="30px",e.style.width="30px",document.getElementsByClassName("progress_exo_wrapper")[0].style.bottom="1vh"}},ExoSlider.prototype.resizeWrapperWidth=function(i,e,t,o){const n=null!==t?t.offsetHeight:0,a=i.offsetWidth/i.offsetHeight;let l=(window.outerHeight-n)*(o/100)*a;l>e.offsetWidth&&(l=e.offsetWidth),i.style.maxWidth=l+"px"},ExoSlider.prototype.resizeWrapperForVerticalVideo=function(i,e,t,o){const n=null!==t?t.offsetHeight:0;if(o.videoHeight<=o.videoWidth||0===n)return;const a=document.getElementById(this.main_el_id+"_cta_text"),l=window.outerHeight*(e/100);o.style.height=l-n+"px",a.style.fontSize="1.7vw",i.style.height=l+"px"},ExoSlider.prototype.displayCta=function(i,e){var t=document.getElementById(this.main_el_id+"_cta_wrapper"),o=document.getElementById(this.main_el_id+"_display_url");if(this.ctaEnabled&&t&&""!==i&&(t.style.display="block"),this.ctaEnabled&&!o&&(t.style.justifyContent="flex-end"),!1===this.ctaEnabled&&(t.style.padding="0px"),this.ctaEnabled&&!this.isMobileDevice()){var n=document.getElementById(this.main_el_id),a=e.videoWidth/e.videoHeight,l=t.offsetHeight,d=null;if(e.videoHeight<100)return;if(e.videoWidth>e.videoHeight)d=n.offsetWidth-l*a;else{var r=document.getElementById(this.main_el_id+"_network_link"),_=0;null!==r&&(_=r.offsetHeight),d=(240-(l/2-_))*a}l*awindow.innerHeight&&this.isMobileDevice()},ExoSlider.prototype.init=function(i){var e=[];for(var t in i)t.search("ex_")>=0&&(e[t]=i[t]);this.displayAd(i.idzone,parseInt(i.close_after),parseInt(i.frequency_period),i.on_complete,parseInt(i.branding_enabled),parseInt(i.sub),parseInt(i.sub2),parseInt(i.sub3),parseInt(i.cat),parseInt(i.screen_density),i.tags,null,i.cookieconsent,parseInt(i.cta_enabled),e)},ExoSlider.prototype.bindClick=function(i){return!0},ExoSlider.prototype.playPromise=function(i,e,t){var o=document.getElementById(i+"_mute_on"),n=document.getElementById(i+"_mute_off");enableInlineVideo(e,{iPad:!0});var a=e.play();void 0===a||void 0===a.then?e.addEventListener("loadedmetadata",t):a.then(t).catch((function(i){let a=setInterval((()=>{e.muted=!0,o.style.display="block",n.style.display="none",e.play().then(t).then((()=>{clearInterval(a)}))}),1e3)}))},ExoSlider.prototype.resizeWrapper=function(i,e){i.classList.add("exo_notransition");var t=e.videoWidth/e.videoHeight,o=16/9;if(e.videoWidth.2*o){i.style.removeProperty("height"),i.style.removeProperty("width");var n=i.offsetHeight*t,a=window.innerWidth>window.innerHeight?window.innerHeight:window.innerWidth;if(n>a&&e.videoWidth>e.videoHeight){var l=(n=a)/t;i.style.height=l+"px"}}},ExoSlider.prototype.closeDivAnnimation=function(i){i.style.right="-"+i.offsetWidth+"px"},window.ExoVideoSlider=new ExoSlider,window.VideoSlider=window.ExoVideoSlider;})({"syndicationDomain":"s.magsrv.com","network":"RXhvQ2xpY2s=","networkDomain":"","brandingName":"","showBranding":false,"adsSubdomain":"a.magsrv.com","closeImgCircle":"\/\/s3t3d2y8.afcdn.net\/images\/close-icon-circle.png"})