1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[180],{94863(e,t,r){r.r(t),r.d(t,{default:()=>v}),r(96414);var s=r(2631),n=r.n(s),i=r(7299),o=r.n(i),a=r(64889),l=r(48450),d=r(36793),c=r(31523),h=r(58303),E=r(93312),A=r(45479),_=r(44959),u=r(91902),S=r(63739);const{Km:T,_Z:I}=c.eo,{$9:g}=c.LY;class C extends d.b{constructor(...e){super(...e),this.slots={},this.errorsAsWarning=[tv.freewheel.SDK.ERROR_NO_AD_AVAILABLE,"_e_security","_e_timeout"]}init(){return super.init().then(()=>{this.slots={},this.overrideFreeWheelSDK(),tv.freewheel.SDK.setLogLevel(this.config.options.debug?tv.freewheel.SDK.LOG_LEVEL_INFO:tv.freewheel.SDK.LOG_LEVEL_QUIET),this.adManager||(this.adManager=new tv.freewheel.SDK.AdManager);const e=n().get(this.config,"host","");this.adManager.setNetwork(this.config.nw),this.adManager.setServer(e),this.requestAds()})}release(){this.reload(this.config)}reload(e){super.reload(e),this.stop();try{this.currentAdContext&&(this.currentAdContext.removeEventListener(tv.freewheel.SDK.EVENT_REQUEST_COMPLETE,this.onRequestComplete),this.currentAdContext.removeEventListener(tv.freewheel.SDK.EVENT_SLOT_ENDED,this.onSlotEnded),this.currentAdContext.removeEventListener(tv.freewheel.SDK.EVENT_AD,this.onAdEvent),this.currentAdContext.dispose())}catch(e){A.A.error("freewheel.bridge","reload",e)}this.currentAdContext=null,this.currentAdSlot=null}getCreativeParameter(e,t,r){const s=this.currentAdContext._adResponse.getCreative(e,t);return s?s.getParameter(r):null}getBaseAdData(e){const t=this.getCreativeParameter(e.getAdId(),e._creativeId,"ias_parameters");return{id:e.getAdId(),placementId:(0,u.nP)(t,"placementId"),campaignId:(0,u.nP)(t,"campaignId"),creativeId:e._creativeId,publisherId:this.getCreativeParameter(e.getAdId(),e._creativeId,"advertVideoId"),chanId:this.currentAdContext._adResponse.getSiteSectionCustomId()}}sanitizeWrapperUrl(e){const t=new URL(e.getWrapperUrl()),r=t.hostname.includes("adsafeprotected.com"),s=t.searchParams.get("IAS_VID_OPTS")||"";!r||s.includes("hidecountdown")&&s.includes("hideplaybutton")||(t.searchParams.delete("IAS_VID_OPTS"),t.search=`IAS_VID_OPTS=hidecountdown|hideplaybutton&${t.searchParams.toString()}`,e.setWrapperUrl(t.toString()))}async onAdError(e,t=T){if(e.errorCode===tv.freewheel.SDK.ERROR_DEVICE_LIMIT)return void A.A.debug("freewheel.bridge","onAdError","Silenced error",e);const r=(e.response?.errors?.errors||[]).some(({severity:e})=>["WARN"].includes(e));if(-1===this.errorsAsWarning.indexOf(e.errorCode)){const s=new c.Mk(g,t,!1,e.errorModule,e.errorCode);if(e.slot){const t=e.slot.getCurrentAdInstance(),r=t.getActiveCreativeRendition(),n=r.getPrimaryCreativeRenditionAsset();s.content={subType:e.subType,ad:{creativeId:t._creativeId,...this.getBaseAdData(t),mediaFile:{url:n.getUrl()||r.getWrapperUrl(),mimeType:n.getMimeType()||r.getWrapperType()}}}}s.severity=r?"warning":"fatal",s.errors=e?.response?.errors?.errors;const i=this.currentAdContext?._adManager?._serverURL||"";s.adRequestUrl=`${i}${"/"===i.at(-1)?"":"/"}crossdomain.xml`,s.urlParams=n().get(this.currentAdContext,"_adRequest._urlParam
1s"),s.keyValues=n().get(this.currentAdContext,"_adRequest._keyValues"),s.adRequest=n().get(e,"response.errors.errors",[]),this.eventsHandlers.onError(s)}}onAdEvent=e=>{const{subType:t,slot:r}=e,{EVENT_TYPE_CLICK:s,EVENT_AD_INITIATED:n,EVENT_ERROR:i,EVENT_AD_SKIPPED:o,EVENT_AD_PAUSE:a,EVENT_AD_IMPRESSION:l,EVENT_AD_FIRST_QUARTILE:d,EVENT_AD_MIDPOINT:c,EVENT_AD_THIRD_QUARTILE:A,EVENT_AD_IMPRESSION_END:u,EVENT_AD_RESUME:S,EVENT_AD_EXPAND:T,EVENT_AD_COLLAPSE:I,EVENT_AD_CLICK:g,EVENT_AD_CLOSE:C,SLOT_TYPE_TEMPORAL:v}=tv.freewheel.SDK;if(r.getType()!==v)return;const p=this.isSlotLinear(r);switch(t){case i:this.onAdError(e);break;case T:case I:this.eventsHandlers.onExpandToggle(t===T);break;case n:{const e=r.getCurrentAdInstance(),t=e.getActiveCreativeRendition(),n=t.getPrimaryCreativeRenditionAsset(),i=t.getWrapperType(),o=this.getBaseAdData(e);let a=!!e.getCompanionAdInstances().length;if(this.interruptedBreak=!1,this.getAdType(r,e)===h.jW&&window.innerWidth<this.config.minOverlayWidth)break;this.config.options.vastOverride&&(t.setWrapperType("external/vast-2"),t.setWrapperUrl(this.config.options.vastOverride),a=!1),"external/vast-2"===i&&this.sanitizeWrapperUrl(t),p&&(_.I.setOptions({"ad.campaign":o.placementId}),_.I.setOptions({"ad.title":e._creativeId}),_.I.setOptions({"content.customDimension.19":e.getDealId()}),_.I.setOptions({"content.customDimension.20":e.getMarketUnifiedAdId()})),this.eventsHandlers.onStarted({...o,linear:p,duration:e.getDuration(),type:this.getAdType(r,e),clickThroughUrl:e.getEventCallbackUrls(g,s)[0],mimeType:n.getMimeType(),hasCompanions:a})}}if(p)switch(t){case a:this.eventsHandlers.onPaused();break;case l:this.eventsHandlers.onPlaying(),this.resize();break;case d:this.eventsHandlers.onFirstQuartile();break;case c:this.eventsHandlers.onMidPoint();break;case A:this.eventsHandlers.onThirdQuartile();break;case u:{const e=r.getCurrentAdInstance();this.eventsHandlers.onEnded({type:this.getAdType(r,e)});const{HTMLRenderer:t}=tv.freewheel.SDK;r.getCurrentAdInstance().getCompanionAdInstances().forEach(e=>{const r=e.getRendererController().getRenderer();r instanceof t&&r.hide()})}(0,E.UJ)(this.videoRef);break;case S:this.eventsHandlers.onPlaying();break;case g:{const e=r.getCurrentAdInstance().getEventCallbackUrls(g,s)[0];this.eventsHandlers.onClicked(e,null,!this.isRequestModeLive());break}}if(!p)switch(t){case u:case C:{const e=r.getCurrentAdInstance();this.eventsHandlers.onEnded({type:this.getAdType(r,e)})}break;case o:{const e=r.getCurrentAdInstance();this.eventsHandlers.onSkipped({type:this.getAdType(r,e)})}break;case g:this.eventsHandlers.onClicked()}};isSlotLinear(e){const{TIME_POSITION_CLASS_PREROLL:t,TIME_POSITION_CLASS_MIDROLL:r,TIME_POSITION_CLASS_POSTROLL:s}=tv.freewheel.SDK;return[t,r,s].includes(e.getTimePositionClass())}onRequestComplete=e=>{if(this.cuePoints=[],n().get(e,"response.errors.errors",[]).length&&this.onAdError(e),e.success){this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_ENABLE_JS_TRANSPORT,!1,tv.freewheel.SDK.PARAMETER_LEVEL_GLOBAL),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_ENABLE_ACCESS_CONTROL_ALLOW_CREDENTIALS,!1,tv.freewheel.SDK.PARAMETER_LEVEL_GLOBAL),tv.freewheel.SDK.PLATFORM_SEND_REQUEST_BY_JS=!1;const{TIME_POSITION_CLASS_PREROLL:e,TIME_POSITION_CLASS_MIDROLL:t,TIME_POSITION_CLASS_DISPLAY:r,TIME_POSITION_CLASS_OVERLAY:s}=tv.freewheel.SDK;[e,t,r,s].reduce((e,t)=>[...e,...this.currentAdContext.getSlotsByTimePositionClass(t)],[]).forEach(t=>{const r=parseInt(t.getTimePosition(),10),s=t.getTimePositionClass();A.A.debug("freewheel.bridge","onRequestComplete",`Fetched slot ${s}.${r} has a duration of ${t.getTotalDuration()}`),s&&(n().set(this.slots,`${s}.${r}`,t),s!==e&&r&&this.cuePoints.push(r))}),this.shouldAutoPlay&&(this.eventsHandlers.onProviderLoaded(),this.startBreak(e,0),this.startNonLinearBreaks(0))}else this.eventsHandlers.onProviderLoaded(),this.onAdError(e,I),this.shouldAutoPlay&&this.contentHandlers.playerPlay()};onRequestCompleteChromecast=e=>{if(e.success)try{const e=[],t=[],{EVENT_AD_CLICK:r,EVENT_AD_IMPRESSION:s,EVENT_AD_IMPRESSION_END:n,EVENT_AD_PAUSE:i,EVENT_AD_RESUME:o,EVENT_AD_FIRST_QUARTILE:a,EVENT_AD_MIDPOINT:l,EVENT_AD_THIRD_QUARTILE:d,EVENT_AD_COMPLETE:c,EVENT_TYPE_CLICK:h,EVENT_TYPE_STANDARD:E,EVENT_TYPE_IMPRESSION:A,EVENT_SLOT_IMPRESSION:_,EVENT_SLOT_END:u}=tv.freewheel.SDK;
1return this.currentAdContext.getTemporalSlots().forEach(S=>{const T=parseInt(S.getTimePosition(),10),I={id:`${S.getTimePositionClass()}-${T}`,breakClipIds:[],position:T,duration:S.getTotalDuration(),customData:{tracking:{impression:S.getEventCallbackUrls(_,A),impressionEnd:S.getEventCallbackUrls(u,A)}}};S.getAdInstances().forEach(e=>{const _=e._creativeId;if(t.find(({id:e})=>e===_))I.breakClipIds.push(_);else{const u=e.getRenderableCreativeRenditions().map(e=>(e.fillSpaceRatio=e.getWidth()*e.getHeight()/(window.innerWidth*window.innerHeight),e)).filter(({fillSpaceRatio:e})=>e<=1);u.sort((e,t)=>t.fillSpaceRatio-e.fillSpaceRatio);const T=u.find(e=>{const t=e.getPrimaryCreativeRenditionAsset();return!t.getMimeType().includes("javascript")&&t.getUrl()});if(T){const u=T.getPrimaryCreativeRenditionAsset();t.push({id:_,contentId:u.getUrl(),contentType:u.getMimeType(),duration:T.getDuration(),customData:{...this.getBaseAdData(e),duration:e.getDuration(),type:e.isBillBoard()?"sponsor":S.getTimePositionClass().toLowerCase(),clickThroughUrl:e.getEventCallbackUrls(r,h)[0],mimeType:u.getMimeType(),tracking:{impression:e.getEventCallbackUrls(s,A),impressionEnd:e.getEventCallbackUrls(n,A),firstQuartile:e.getEventCallbackUrls(a,A),midpoint:e.getEventCallbackUrls(l,A),thirdQuartile:e.getEventCallbackUrls(d,A),complete:e.getEventCallbackUrls(c,A),pause:e.getEventCallbackUrls(i,E),resume:e.getEventCallbackUrls(o,E)}}}),I.breakClipIds.push(_)}}}),e.push(I)}),this.eventsHandlers.onProviderLoaded({breaks:e,breakClips:t})}catch(e){(0,l.eG)(e,{context:"player"})}return this.eventsHandlers.onProviderLoaded({}),this.onAdError(e,I)};getSlot(e,t){return n().get(this.slots,`${e}.${t}`)}getNonEndedSlot(e,t){const r=this.getSlot(e,t);return r&&r.ended?null:r}onSlotEnded=({slot:e})=>{const t=e.getAdInstances(),r=t.filter(e=>e.isBillBoard()).map(this.getAdCreativeId);n().difference(t.map(this.getAdCreativeId),r).length>0&&!this.interruptedBreak&&this.capping.saveLastBreak(),e&&this.isSlotLinear(e)&&this.endBreak()};overrideFreeWheelSDK(){if(tv.freewheel.SDK.Slot.overrided)return;tv.freewheel.SDK.HTMLRenderer=function({minOverlayWidth:e}){const{TIME_POSITION_CLASS_DISPLAY:t,TIME_POSITION_CLASS_OVERLAY:r,HTMLRenderer:s,ERROR_DEVICE_LIMIT:n}=tv.freewheel.SDK;return class extends s{_setupParameters(){return this._rendererController.getAdInstance().getSlot().getTimePositionClass()===r&&window.innerWidth<e?(this._onRendererFailed(n,"Window is not large enough"),!1):super._setupParameters()}_cleanup(){if(this._rendererController.getAdInstance().getSlot().getTimePositionClass()===r){const{closeButton:e}=this.getOverlayNodes();e.removeEventListener("click",this.onOverlayButtonClose)}return super._cleanup()}getOverlayNodes(){const e=document.getElementById("ad-overlay-container");return{container:e,closeButton:e.querySelector("#ad-overlay-close")}}start(e,...t){const s=e.getAdInstance().getSlot();if(s.getTimePositionClass()===r){const{container:e,closeButton:t}=this.getOverlayNodes();s.setBase(e),e.style="visibility: visible;",t.addEventListener("click",this.onOverlayButtonClose)}super.start(e,...t)}onOverlayButtonClose=()=>{const e=this._rendererController.getAdInstance().getSlot(),{container:t}=this.getOverlayNodes();e.skipCurrentAd(),t.style="visibility: hidden;"};presentInline(...e){super.presentInline(...e);const{defaultAdElement:{style:t,contentDocument:r}}=this;if(!this.isControlledSlot())return;t.display="block",t.position="absolute",t.top="0",t.left="0",t.width="100%",t.height="100%";const s=r.querySelector("img");s&&(0,S.v)(s)}isControlledSlot=()=>{const e=this._rendererController.getAdInstance().getSlot().getTimePositionClass();return e===t||e===r};hide(){this.isControlledSlot()&&(this.defaultAdElement.style.display="none")}}}(this.config);const{adUnitBillboard:e}=this.config;tv.freewheel.SDK.AdInstance.prototype.isBillBoard=function(){return e.includes(Number(this.getSoAdUnit()))};const t=this,r=tv.freewheel.SDK.Slot;tv.freewheel.SDK.Util.pingURLWithXMLHTTPRequest=e=>{const t=tv.freewheel.SDK.Util.transformUrlToProxy(e);return fetch(t).catch(e=>{e.details="TRACKING_ERROR",e.trackingUrl=t,this.eventsHandlers.onTrackingError(e)})},tv.freewheel.SDK.Util.pingURLWithImage=e=>{const t=tv.freewheel.SDK.Util.transformUrlToProxy(e),r=new Image(1,1);r.src=t,r.onerror=e=>{e.details="TRACKING_ERROR",e.trackingUrl=t,this.eventsHandlers.onTrackingError(e)}},tv.freewheel.SDK.Slot=function(...e){const s=new r(...e);return s.__tp_playNextAdInstance=s.playNextAdInstance,s.playNextAdInstance=(...e)=>{const r=s.getCurrentAdInstance();if(r&&(r._isInitiatedSent&&!r._isImpressionSent||!r._isInitiatedSent))return s.__tp_playNextAdInstance(...e);const n=s._nextPlayableAdInstance();return n&&n.isBillBoard()&&!t.jingles.sponsorDisplayed?(t.jingles.sponsorDisplayed=!0,t.contentHandlers.jingleDisplay("sponsor").then(s.__tp_playNextAdInstance.bind(s,...e))):s.__tp_playNextAdInstance(...e)},s.__tp_parse=s.parse,s.parse=e=>(s.eventCallbacks=e.eventCallbacks||[],s.getEventCallbackUrls||(s.getEventCallbackUrls=(e,t)=>s.eventCallbacks.filter(({name:r,type:s})=>e===r&&t===s).map(({url:e})=>e)),s.__tp_parse(e)),s.__getTotalDuration=s.getTotalDuration,s.getTotalDuration=()=>{try{return s.__getTotalDuration()}catch(e){return A.A.error("freewheel.bridge","__getTotalDuration",e),0}},s},tv.freewheel.SDK.Slot.overrided=!0}populateKeyValues({visitor:e,csid:t,analytics:r,consentString:s}){this.currentAdContext.addKeyValue("sitesection",a.T.IS_MOBILE?t.replace("Desktop","WebMobile"):t),e&&this.currentAdContext.setVisitor(e);const{"heartbeat-v2":i}=r;n().get(i,"view.sessionId")&&this.currentAdContext.addKeyValue("heartbeat-sessionid",n().get(i,"view.sessionId")),n().forOwn(this.config.targeting,(e,t)=>{this.currentAdContext.addKeyValue(t,e)}),s&&(this.currentAdContext.addKeyValue("_fw_gdpr","1"),this.currentAdContext.addKeyValue("_fw_gdpr_consent",s))}requestAds(e={},{duration:t,start:r}={}){const s=n().merge({},this.config,e),{prof:i,volume:l,features:d,caid:c,afid:h,csid:E,sfid:A}=s,{timeout:u}=d||{},S=u?Math.round(u/1e3):tv.freewheel.SDK.CONTEXT_REQUEST_TIMEOUT||5;this.currentAdContext=this.adManager.newContext(),this.currentAdContext.setProfile(i),this.currentAdContext.setRequestMode(t?tv.freewheel.SDK.REQUEST_MODE_LIVE:tv.freewheel.SDK.REQUEST_MODE_ON_DEMAND),this.currentAdContext.setAdVolume(l),this.currentAdContext.setVideoAsset(c,null,null,null,this.shouldAutoPlay?tv.freewheel.SDK.VIDEO_ASSET_AUTO_PLAY_TYPE_NONE:tv.freewheel.SDK.VIDEO_ASSET_AUTO_PLAY_TYPE_ATTENDED,null,null,h,t?tv.freewheel.SDK.VIDEO_ASSET_DURATION_TYPE_VARIABLE:tv.freewheel.SDK.VIDEO_ASSET_DURATION_TYPE_EXACT),(E||A)&&this.currentAdContext.setSiteSection(a.T.IS_MOBILE?E.replace("Desktop","WebMobile"):E,null,null,null,A),this.populateKeyValues(s),this.currentAdContext.addEventListener(tv.freewheel.SDK.EVENT_REQUEST_COMPLETE,a.T.IS_CHROMECAST?this.onRequestCompleteChromecast:this.onRequestComplete),this.currentAdContext.addEventListener(tv.freewheel.SDK.EVENT_SLOT_ENDED,this.onSlotEnded),this.currentAdContext.addEventListener(tv.freewheel.SDK.EVENT_AD,this.onAdEvent),a.T.IS_CHROMECAST||this.currentAdContext.registerVideoDisplayBase(this.containerRef.id),this.currentAdContext.setCapability("scpv",tv.freewheel.SDK.CAPABILITY_STATUS_ON),this.currentAdContext.setCapability(tv.freewheel.SDK.CAPABILITY_SLOT_TEMPLATE,tv.freewheel.SDK.CAPABILITY_STATUS_ON),this.currentAdContext.setCapability(tv.freewheel.SDK.CAPABILITY_SLOT_CALLBACK,tv.freewheel.SDK.CAPABILITY_STATUS_ON),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_ENABLE_FORM_TRANSPORT,!1,tv.freewheel.SDK.PARAMETER_LEVEL_GLOBAL),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_ENABLE_JS_TRANSPORT,!0,tv.freewheel.SDK.PARAMETER_LEVEL_GLOBAL),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_ENABLE_ACCESS_CONTROL_ALLOW_CREDENTIALS,!0,tv.freewheel.SDK.PARAMETER_LEVEL_GLOBAL),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_VPAID_CREATIVE_TIMEOUT_DELAY,5e3,tv.freewheel.SDK.PARAMETER_LEVEL_GLOBAL),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_RENDERER_VIDEO_DISPLAY_CONTROLS_WHEN_PAUSE,!1,tv.freewheel.SDK.PARAMETER_LEVEL_OVERRIDE),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_DESIRED_BITRATE,this.desiredBitrate,tv.freewheel.SDK.PARAMETER_LEVEL_OVERRIDE),this.currentAdContext.setParameter(tv.freewheel.SDK.PARAMETER_USE_GDPR_TCFAPI,!1,tv.freewheel.SDK.PARAMETER_LEVEL_OVERRIDE),t&&(this.currentAdContext.setRequestDuration(t),this.currentAdContext.addTemporalSlot(`DAI_${Math.round(r)}`,tv.freewheel.SDK.ADUNIT_MIDROLL,r,null,null,t,t)),a.T.IS_CHROMECAST||_.I.setAdsAdapter(o(),this),this.resize(),this.currentAdContext.submitRequest(S)}isRequestModeLive=()=>this.currentAdContext._adRequest._requestMode===tv.freewheel.SDK.REQUEST_MODE_LIVE;getSlotType=e=>this.isRequestModeLive()?"dai":e.getTimePositionClass().toLowerCase();getAdType=(e,t)=>this.isRequestModeLive()?"dai":t.isBillBoard()?h.zd:this.getSlotType(e);getAdCreativeId=({_creativeId:e})=>e;async startBreak(e,t){const{TIME_POSITION_CLASS_MIDROLL:r,TIME_POSITION_CLASS_PREROLL:s}=tv.freewheel.SDK,i=this.getSlot(e,t);
1if(i&&this.canBreak()){if(i.getAdInstances().length){const t=this.isRequestModeLive();t||(await this.contentHandlers.jingleDisplay("ads"),e===r&&this.contentHandlers.playerPause());const s=i.getAdInstances(),o=s.filter(e=>e.isBillBoard()).map(this.getAdCreativeId),a=n().difference(s.map(this.getAdCreativeId),o);this.eventsHandlers.onBreakStarted({type:t?"dai":e.toLowerCase(),creativeIds:a,sponsorIds:o})}return this.playNextSlot(e,t)}return e===s?this.contentHandlers.playerPlay():null}startNonLinearBreaks(e){const{TIME_POSITION_CLASS_DISPLAY:t,TIME_POSITION_CLASS_OVERLAY:r}=tv.freewheel.SDK;[t,r].forEach(t=>{const r=this.getSlot(t,e);r&&r.play()})}playNextSlot(e,t){const r=this.getSlot(e,t);this.resize(),r&&(this.currentAdSlot=r,this.currentAdSlot.play())}endBreak(){const e=this.currentAdSlot.getAdInstances(),t=this.currentAdSlot.getTimePositionClass().toLowerCase(),{csid:r,caid:s}=this.config,n=[];e.filter(t=>e.find(e=>e!==t&&e._creativeId===t._creativeId)).forEach(e=>{n.find(({_creativeId:t})=>t===e._creativeId)||n.push(e)}),this.eventsHandlers.onBreakEnded(n.map(e=>{const n=e.getActiveCreativeRendition(),i=n.getPrimaryCreativeRenditionAsset();return{siteSection:r,videoAsset:s,slot:t,creativeId:e._creativeId,wrapperUrl:n.getWrapperUrl(),assetUrl:i&&i.getUrl()}})),this.currentAdSlot.ended=!0,this.currentAdSlot=null,this.contentHandlers.playerPlay()}play(){this.currentAdSlot?this.isEnded()?this.currentAdSlot.skipCurrentAd():this.currentAdSlot.resume():this.currentAdContext&&(1===this.currentAdContext._requestState?this.shouldAutoPlay=!0:this.getNonEndedSlot(tv.freewheel.SDK.TIME_POSITION_CLASS_PREROLL,0)?(this.eventsHandlers.onProviderLoaded(),this.startBreak(tv.freewheel.SDK.TIME_POSITION_CLASS_PREROLL,0),this.startNonLinearBreaks(0)):(this.eventsHandlers.onProviderLoaded(),this.contentHandlers.playerPlay()))}isEnded(){if(this.currentAdSlot){const e=this.currentAdSlot.getCurrentAdInstance();if(e)return e.getPlayheadTime()>=e.getDuration()}return!1}isPaused(){const{VPAIDRenderer:e}=tv.freewheel.SDK;if(this.currentAdSlot){const t=this.currentAdSlot.getCurrentAdInstance();if(t){const r=t.getRendererController().getRenderer();return r instanceof e?"pausing"===r.adPlaybackState||"paused"===r.adPlaybackState:this.videoRef.paused}}return!0}pause(){this.currentAdSlot&&this.currentAdSlot.pause()}stop(){if(this.currentAdSlot){try{this.interruptedBreak=!0,this.currentAdSlot.stop()}catch(e){A.A.error("freewheel.bridge","stop",e)}this.currentAdSlot=null}}setVolume(e){super.setVolume(e),this.currentAdContext&&this.currentAdContext.setAdVolume(e)}resize(){if(this.currentAdContext&&this.containerRef)try{const{offsetWidth:e,offsetHeight:t}=this.containerRef;this.currentAdContext.resize(e,t)}catch(e){A.A.error("freewheel.bridge","resize",e)}}contentHasProgressed(e){if(this.currentAdContext){this.currentAdContext.setVideoAssetCurrentTimePosition(e);const t=this.cuePoints.indexOf(Math.round(e));if(-1!==t){const e=this.cuePoints.splice(t,1)[0];this.startNonLinearBreaks(e),this.canBreak()&&this.startBreak(tv.freewheel.SDK.TIME_POSITION_CLASS_MIDROLL,e)}}}contentHasEnded(){this.currentAdContext&&this.currentAdContext.setVideoState(tv.freewheel.SDK.VIDEO_STATE_COMPLETED)}contentHasPaused(){this.currentAdContext&&this.currentAdContext.setVideoState(tv.freewheel.SDK.VIDEO_STATE_PAUSED)}contentHasStarted(){this.currentAdContext&&this.currentAdContext.setVideoState(tv.freewheel.SDK.VIDEO_STATE_PLAYING)}getSlotsDuration(){return 0}getEndedAdsDuration(){return 0}}const v=C}}]); 2//# sourceMappingURL=sourcemaps/player-fw-01bfb42ac5033843.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.